92 lines
4.8 KiB
Java
92 lines
4.8 KiB
Java
package com.sistemasolton.itranvias.home.presentation.utils;
|
|
|
|
import androidx.compose.ui.graphics.vector.ImageVector;
|
|
import kotlin.Metadata;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function0;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* JADX INFO: compiled from: UtilsScreen.kt */
|
|
/* JADX INFO: loaded from: classes2.dex */
|
|
@Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\r\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B%\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\f\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\b0\u0007¢\u0006\u0004\b\t\u0010\nJ\t\u0010\u0011\u001a\u00020\u0003HÆ\u0003J\t\u0010\u0012\u001a\u00020\u0005HÆ\u0003J\u000f\u0010\u0013\u001a\b\u0012\u0004\u0012\u00020\b0\u0007HÆ\u0003J-\u0010\u0014\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\u000e\b\u0002\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\b0\u0007HÆ\u0001J\u0013\u0010\u0015\u001a\u00020\u00162\b\u0010\u0017\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0018\u001a\u00020\u0019HÖ\u0001J\t\u0010\u001a\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0017\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\b0\u0007¢\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010¨\u0006\u001b"}, d2 = {"Lcom/sistemasolton/itranvias/home/presentation/utils/UtilAction;", "", "label", "", "icon", "Landroidx/compose/ui/graphics/vector/ImageVector;", "action", "Lkotlin/Function0;", "", "<init>", "(Ljava/lang/String;Landroidx/compose/ui/graphics/vector/ImageVector;Lkotlin/jvm/functions/Function0;)V", "getLabel", "()Ljava/lang/String;", "getIcon", "()Landroidx/compose/ui/graphics/vector/ImageVector;", "getAction", "()Lkotlin/jvm/functions/Function0;", "component1", "component2", "component3", "copy", "equals", "", "other", "hashCode", "", "toString", "composeApp_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
|
|
public final /* data */ class UtilAction {
|
|
public static final int $stable = 0;
|
|
private final Function0<Unit> action;
|
|
private final ImageVector icon;
|
|
private final String label;
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public static /* synthetic */ UtilAction copy$default(UtilAction utilAction, String str, ImageVector imageVector, Function0 function0, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
str = utilAction.label;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
imageVector = utilAction.icon;
|
|
}
|
|
if ((i & 4) != 0) {
|
|
function0 = utilAction.action;
|
|
}
|
|
return utilAction.copy(str, imageVector, function0);
|
|
}
|
|
|
|
/* JADX INFO: renamed from: component1, reason: from getter */
|
|
public final String getLabel() {
|
|
return this.label;
|
|
}
|
|
|
|
/* JADX INFO: renamed from: component2, reason: from getter */
|
|
public final ImageVector getIcon() {
|
|
return this.icon;
|
|
}
|
|
|
|
public final Function0<Unit> component3() {
|
|
return this.action;
|
|
}
|
|
|
|
public final UtilAction copy(String label, ImageVector icon, Function0<Unit> action) {
|
|
Intrinsics.checkNotNullParameter(label, "label");
|
|
Intrinsics.checkNotNullParameter(icon, "icon");
|
|
Intrinsics.checkNotNullParameter(action, "action");
|
|
return new UtilAction(label, icon, action);
|
|
}
|
|
|
|
public boolean equals(Object other) {
|
|
if (this == other) {
|
|
return true;
|
|
}
|
|
if (!(other instanceof UtilAction)) {
|
|
return false;
|
|
}
|
|
UtilAction utilAction = (UtilAction) other;
|
|
return Intrinsics.areEqual(this.label, utilAction.label) && Intrinsics.areEqual(this.icon, utilAction.icon) && Intrinsics.areEqual(this.action, utilAction.action);
|
|
}
|
|
|
|
public int hashCode() {
|
|
return (((this.label.hashCode() * 31) + this.icon.hashCode()) * 31) + this.action.hashCode();
|
|
}
|
|
|
|
public String toString() {
|
|
return "UtilAction(label=" + this.label + ", icon=" + this.icon + ", action=" + this.action + ")";
|
|
}
|
|
|
|
public UtilAction(String label, ImageVector icon, Function0<Unit> action) {
|
|
Intrinsics.checkNotNullParameter(label, "label");
|
|
Intrinsics.checkNotNullParameter(icon, "icon");
|
|
Intrinsics.checkNotNullParameter(action, "action");
|
|
this.label = label;
|
|
this.icon = icon;
|
|
this.action = action;
|
|
}
|
|
|
|
public final String getLabel() {
|
|
return this.label;
|
|
}
|
|
|
|
public final ImageVector getIcon() {
|
|
return this.icon;
|
|
}
|
|
|
|
public final Function0<Unit> getAction() {
|
|
return this.action;
|
|
}
|
|
} |