Initial import of ADIF API reverse-engineering toolkit

This commit is contained in:
2025-12-16 08:37:56 +01:00
commit 60388529c1
11486 changed files with 1086536 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
package com.adif.elcanomovil.commonNavGraph;
/* loaded from: classes.dex */
public final class BuildConfig {
public static final String BUILD_TYPE = "release";
public static final boolean DEBUG = false;
public static final String FLAVOR = "proNon_corporate";
public static final String FLAVOR_is_corporate = "non_corporate";
public static final String FLAVOR_version = "pro";
public static final String LIBRARY_PACKAGE_NAME = "com.adif.elcanomovil.commonNavGraph";
}

View File

@@ -0,0 +1,74 @@
package com.adif.elcanomovil.commonNavGraph;
import com.adif.elcanomovil.commonNavGraph.arguments.AlertActions;
import com.adif.elcanomovil.commonNavGraph.arguments.AlertType;
import com.adif.elcanomovil.commonNavGraph.arguments.Filters;
import com.adif.elcanomovil.commonNavGraph.arguments.StationObservationArg;
import com.google.android.gms.measurement.api.AppMeasurementSdk;
import com.google.firebase.analytics.FirebaseAnalytics;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import o0.F;
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u000b\u0018\u0000 \u00042\u00020\u0001:\b\u0004\u0005\u0006\u0007\b\t\n\u000bB\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003¨\u0006\f"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/MainNavigationDirections;", "", "<init>", "()V", "Companion", "com/adif/elcanomovil/commonNavGraph/a", "com/adif/elcanomovil/commonNavGraph/b", "com/adif/elcanomovil/commonNavGraph/c", "com/adif/elcanomovil/commonNavGraph/d", "com/adif/elcanomovil/commonNavGraph/e", "com/adif/elcanomovil/commonNavGraph/f", "com/adif/elcanomovil/commonNavGraph/g", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public final class MainNavigationDirections {
/* renamed from: Companion, reason: from kotlin metadata */
public static final Companion INSTANCE = new Companion(null);
@Metadata(d1 = {"\u0000H\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0011\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0013\b\u0086\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003J=\u0010\u000f\u001a\u00020\u000e2\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010\u0006\u001a\u00020\u00042\u0006\u0010\b\u001a\u00020\u00072\u0006\u0010\t\u001a\u00020\u00072\u0006\u0010\u000b\u001a\u00020\n2\u0006\u0010\r\u001a\u00020\\u0006\u0004\b\u000f\u0010\u0010J#\u0010\u0014\u001a\u00020\u000e2\u0006\u0010\u0011\u001a\u00020\u00072\f\u0010\u0013\u001a\b\u0012\u0004\u0012\u00020\u00070\u0012¢\u0006\u0004\b\u0014\u0010\u0015J\u001d\u0010\u0017\u001a\u00020\u000e2\u0006\u0010\u0011\u001a\u00020\u00072\u0006\u0010\u0013\u001a\u00020\u0016¢\u0006\u0004\b\u0017\u0010\u0018J\u0015\u0010\u001a\u001a\u00020\u000e2\u0006\u0010\u0019\u001a\u00020\u0007¢\u0006\u0004\b\u001a\u0010\u001bJ\u001d\u0010\u001d\u001a\u00020\u000e2\u0006\u0010\u0011\u001a\u00020\u00072\u0006\u0010\u0013\u001a\u00020\u001c¢\u0006\u0004\b\u001d\u0010\u001eJ\u0099\u0001\u0010,\u001a\u00020\u000e2\b\u0010\u001f\u001a\u0004\u0018\u00010\u00072\b\u0010 \u001a\u0004\u0018\u00010\u00072\b\u0010!\u001a\u0004\u0018\u00010\u00072\b\u0010\"\u001a\u0004\u0018\u00010\u00072\u0006\u0010#\u001a\u00020\u00042\u000e\u0010$\u001a\n\u0012\u0004\u0012\u00020\u0007\u0018\u00010\u00122\b\u0010%\u001a\u0004\u0018\u00010\u00072\u000e\u0010&\u001a\n\u0012\u0004\u0012\u00020\u0007\u0018\u00010\u00122\b\u0010'\u001a\u0004\u0018\u00010\u00072\b\u0010(\u001a\u0004\u0018\u00010\u00072\b\u0010)\u001a\u0004\u0018\u00010\u00072\b\u0010*\u001a\u0004\u0018\u00010\u00072\b\u0010+\u001a\u0004\u0018\u00010\u0007¢\u0006\u0004\b,\u0010-J\u0015\u0010.\u001a\u00020\u000e2\u0006\u0010\u0011\u001a\u00020\u0007¢\u0006\u0004\b.\u0010\u001b¨\u0006/"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/MainNavigationDirections$Companion;", "", "<init>", "()V", "", "blockOnback", "isCancelable", "", "title", "message", "Lcom/adif/elcanomovil/commonNavGraph/arguments/AlertActions;", "actions", "Lcom/adif/elcanomovil/commonNavGraph/arguments/AlertType;", "type", "Lo0/F;", "toAlertDialog", "(ZZLjava/lang/String;Ljava/lang/String;Lcom/adif/elcanomovil/commonNavGraph/arguments/AlertActions;Lcom/adif/elcanomovil/commonNavGraph/arguments/AlertType;)Lo0/F;", "key", "", "values", "toSelectableBottomSheet", "(Ljava/lang/String;[Ljava/lang/String;)Lo0/F;", "Lcom/adif/elcanomovil/commonNavGraph/arguments/StationObservationArg;", "toStationObservationsBottomSheet", "(Ljava/lang/String;Lcom/adif/elcanomovil/commonNavGraph/arguments/StationObservationArg;)Lo0/F;", "observation", "toTrainObservationBottomSheet", "(Ljava/lang/String;)Lo0/F;", "Lcom/adif/elcanomovil/commonNavGraph/arguments/Filters;", "toFilterListBottomSheet", "(Ljava/lang/String;Lcom/adif/elcanomovil/commonNavGraph/arguments/Filters;)Lo0/F;", "logo", AppMeasurementSdk.ConditionalUserProperty.NAME, "phone", "description", "accessible", "paymentWay", "offer", "correspondences", "web", FirebaseAnalytics.Param.LOCATION, "accessibleLabel", "openingHours", "playStore", "toStationsAlertDialog", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lo0/F;", "toSelectStationFragment", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
public final F toAlertDialog(boolean blockOnback, boolean isCancelable, String title, String message, AlertActions actions, AlertType type) {
Intrinsics.checkNotNullParameter(title, "title");
Intrinsics.checkNotNullParameter(message, "message");
Intrinsics.checkNotNullParameter(actions, "actions");
Intrinsics.checkNotNullParameter(type, "type");
return new a(blockOnback, isCancelable, title, message, actions, type);
}
public final F toFilterListBottomSheet(String key, Filters values) {
Intrinsics.checkNotNullParameter(key, "key");
Intrinsics.checkNotNullParameter(values, "values");
return new b(key, values);
}
public final F toSelectStationFragment(String key) {
Intrinsics.checkNotNullParameter(key, "key");
return new c(key);
}
public final F toSelectableBottomSheet(String key, String[] values) {
Intrinsics.checkNotNullParameter(key, "key");
Intrinsics.checkNotNullParameter(values, "values");
return new d(key, values);
}
public final F toStationObservationsBottomSheet(String key, StationObservationArg values) {
Intrinsics.checkNotNullParameter(key, "key");
Intrinsics.checkNotNullParameter(values, "values");
return new e(key, values);
}
public final F toStationsAlertDialog(String logo, String name, String phone, String description, boolean accessible, String[] paymentWay, String offer, String[] correspondences, String web, String location, String accessibleLabel, String openingHours, String playStore) {
return new f(logo, name, phone, description, accessible, paymentWay, offer, correspondences, web, location, accessibleLabel, openingHours, playStore);
}
public final F toTrainObservationBottomSheet(String observation) {
Intrinsics.checkNotNullParameter(observation, "observation");
return new g(observation);
}
private Companion() {
}
}
private MainNavigationDirections() {
}
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,107 @@
package com.adif.elcanomovil.commonNavGraph;
import C.w;
import android.os.Bundle;
import android.os.Parcelable;
import com.adif.elcanomovil.commonNavGraph.arguments.AlertActions;
import com.adif.elcanomovil.commonNavGraph.arguments.AlertType;
import java.io.Serializable;
import kotlin.jvm.internal.Intrinsics;
import o0.F;
/* loaded from: classes.dex */
public final class a implements F {
/* renamed from: a, reason: collision with root package name */
public final boolean f4406a;
/* renamed from: b, reason: collision with root package name */
public final boolean f4407b;
/* renamed from: c, reason: collision with root package name */
public final String f4408c;
/* renamed from: d, reason: collision with root package name */
public final String f4409d;
/* renamed from: e, reason: collision with root package name */
public final AlertActions f4410e;
/* renamed from: f, reason: collision with root package name */
public final AlertType f4411f;
/* renamed from: g, reason: collision with root package name */
public final int f4412g;
public a(boolean z3, boolean z4, String title, String message, AlertActions actions, AlertType type) {
Intrinsics.checkNotNullParameter(title, "title");
Intrinsics.checkNotNullParameter(message, "message");
Intrinsics.checkNotNullParameter(actions, "actions");
Intrinsics.checkNotNullParameter(type, "type");
this.f4406a = z3;
this.f4407b = z4;
this.f4408c = title;
this.f4409d = message;
this.f4410e = actions;
this.f4411f = type;
this.f4412g = R.id.to_alertDialog;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof a)) {
return false;
}
a aVar = (a) obj;
return this.f4406a == aVar.f4406a && this.f4407b == aVar.f4407b && Intrinsics.areEqual(this.f4408c, aVar.f4408c) && Intrinsics.areEqual(this.f4409d, aVar.f4409d) && Intrinsics.areEqual(this.f4410e, aVar.f4410e) && this.f4411f == aVar.f4411f;
}
@Override // o0.F
public final int getActionId() {
return this.f4412g;
}
@Override // o0.F
public final Bundle getArguments() {
Bundle bundle = new Bundle();
bundle.putBoolean("blockOnback", this.f4406a);
bundle.putBoolean("isCancelable", this.f4407b);
bundle.putString("title", this.f4408c);
bundle.putString("message", this.f4409d);
boolean isAssignableFrom = Parcelable.class.isAssignableFrom(AlertActions.class);
Serializable serializable = this.f4410e;
if (isAssignableFrom) {
Intrinsics.checkNotNull(serializable, "null cannot be cast to non-null type android.os.Parcelable");
bundle.putParcelable("actions", (Parcelable) serializable);
} else {
if (!Serializable.class.isAssignableFrom(AlertActions.class)) {
throw new UnsupportedOperationException(AlertActions.class.getName().concat(" must implement Parcelable or Serializable or must be an Enum."));
}
Intrinsics.checkNotNull(serializable, "null cannot be cast to non-null type java.io.Serializable");
bundle.putSerializable("actions", serializable);
}
boolean isAssignableFrom2 = Parcelable.class.isAssignableFrom(AlertType.class);
Serializable serializable2 = this.f4411f;
if (isAssignableFrom2) {
Intrinsics.checkNotNull(serializable2, "null cannot be cast to non-null type android.os.Parcelable");
bundle.putParcelable("type", (Parcelable) serializable2);
return bundle;
}
if (!Serializable.class.isAssignableFrom(AlertType.class)) {
throw new UnsupportedOperationException(AlertType.class.getName().concat(" must implement Parcelable or Serializable or must be an Enum."));
}
Intrinsics.checkNotNull(serializable2, "null cannot be cast to non-null type java.io.Serializable");
bundle.putSerializable("type", serializable2);
return bundle;
}
public final int hashCode() {
return this.f4411f.hashCode() + ((this.f4410e.hashCode() + com.google.android.gms.measurement.internal.a.d(this.f4409d, com.google.android.gms.measurement.internal.a.d(this.f4408c, w.c(Boolean.hashCode(this.f4406a) * 31, 31, this.f4407b), 31), 31)) * 31);
}
public final String toString() {
return "ToAlertDialog(blockOnback=" + this.f4406a + ", isCancelable=" + this.f4407b + ", title=" + this.f4408c + ", message=" + this.f4409d + ", actions=" + this.f4410e + ", type=" + this.f4411f + ')';
}
}

View File

@@ -0,0 +1,110 @@
package com.adif.elcanomovil.commonNavGraph.arguments;
import kotlin.Metadata;
import kotlin.enums.EnumEntries;
import kotlin.enums.EnumEntriesKt;
import kotlin.jvm.internal.Intrinsics;
@Metadata(d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0003\b\u0086\b\u0018\u00002\u00020\u0001:\u0001\u0014B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006J\t\u0010\u000b\u001a\u00020\u0003HÆ\u0003J\t\u0010\f\u001a\u00020\u0005HÆ\u0003J\u001d\u0010\r\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0005HÆ\u0001J\u0013\u0010\u000e\u001a\u00020\u000f2\b\u0010\u0010\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0011\u001a\u00020\u0012HÖ\u0001J\t\u0010\u0013\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\\u0006\u0015"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/arguments/AlertAction;", "", "title", "", "style", "Lcom/adif/elcanomovil/commonNavGraph/arguments/AlertAction$Style;", "(Ljava/lang/String;Lcom/adif/elcanomovil/commonNavGraph/arguments/AlertAction$Style;)V", "getStyle", "()Lcom/adif/elcanomovil/commonNavGraph/arguments/AlertAction$Style;", "getTitle", "()Ljava/lang/String;", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "Style", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public final /* data */ class AlertAction {
private final Style style;
private final String title;
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0005\b\u0086\u0081\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004j\u0002\b\u0005¨\u0006\u0006"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/arguments/AlertAction$Style;", "", "(Ljava/lang/String;I)V", "NEGATIVE", "POSITIVE", "NEUTRAL", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final class Style {
private static final /* synthetic */ EnumEntries $ENTRIES;
private static final /* synthetic */ Style[] $VALUES;
public static final Style NEGATIVE = new Style("NEGATIVE", 0);
public static final Style POSITIVE = new Style("POSITIVE", 1);
public static final Style NEUTRAL = new Style("NEUTRAL", 2);
private static final /* synthetic */ Style[] $values() {
return new Style[]{NEGATIVE, POSITIVE, NEUTRAL};
}
static {
Style[] $values = $values();
$VALUES = $values;
$ENTRIES = EnumEntriesKt.enumEntries($values);
}
private Style(String str, int i) {
}
public static EnumEntries<Style> getEntries() {
return $ENTRIES;
}
public static Style valueOf(String str) {
return (Style) Enum.valueOf(Style.class, str);
}
public static Style[] values() {
return (Style[]) $VALUES.clone();
}
}
public AlertAction(String title, Style style) {
Intrinsics.checkNotNullParameter(title, "title");
Intrinsics.checkNotNullParameter(style, "style");
this.title = title;
this.style = style;
}
public static /* synthetic */ AlertAction copy$default(AlertAction alertAction, String str, Style style, int i, Object obj) {
if ((i & 1) != 0) {
str = alertAction.title;
}
if ((i & 2) != 0) {
style = alertAction.style;
}
return alertAction.copy(str, style);
}
/* renamed from: component1, reason: from getter */
public final String getTitle() {
return this.title;
}
/* renamed from: component2, reason: from getter */
public final Style getStyle() {
return this.style;
}
public final AlertAction copy(String title, Style style) {
Intrinsics.checkNotNullParameter(title, "title");
Intrinsics.checkNotNullParameter(style, "style");
return new AlertAction(title, style);
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof AlertAction)) {
return false;
}
AlertAction alertAction = (AlertAction) other;
return Intrinsics.areEqual(this.title, alertAction.title) && this.style == alertAction.style;
}
public final Style getStyle() {
return this.style;
}
public final String getTitle() {
return this.title;
}
public int hashCode() {
return this.style.hashCode() + (this.title.hashCode() * 31);
}
public String toString() {
return "AlertAction(title=" + this.title + ", style=" + this.style + ')';
}
}

View File

@@ -0,0 +1,90 @@
package com.adif.elcanomovil.commonNavGraph.arguments;
import java.util.ArrayList;
import kotlin.Metadata;
import kotlin.collections.ArraysKt;
import kotlin.jvm.internal.Intrinsics;
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0011\n\u0002\b\u0004\u0018\u00002\u0012\u0012\u0004\u0012\u00020\u00020\u0001j\b\u0012\u0004\u0012\u00020\u0002`\u0003B!\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0012\u0010\u0006\u001a\n\u0012\u0006\b\u0001\u0012\u00020\u00020\u0007\"\u00020\u0002¢\u0006\u0002\u0010\bR\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\\u0006\u000b"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/arguments/AlertActions;", "Ljava/util/ArrayList;", "Lcom/adif/elcanomovil/commonNavGraph/arguments/AlertAction;", "Lkotlin/collections/ArrayList;", "key", "", "actions", "", "(Ljava/lang/String;[Lcom/adif/elcanomovil/commonNavGraph/arguments/AlertAction;)V", "getKey", "()Ljava/lang/String;", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public final class AlertActions extends ArrayList<AlertAction> {
private final String key;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public AlertActions(String key, AlertAction... actions) {
super(ArraysKt.asList(actions));
Intrinsics.checkNotNullParameter(key, "key");
Intrinsics.checkNotNullParameter(actions, "actions");
this.key = key;
}
public /* bridge */ boolean contains(AlertAction alertAction) {
return super.contains((Object) alertAction);
}
public final String getKey() {
return this.key;
}
public /* bridge */ int getSize() {
return super.size();
}
public /* bridge */ int indexOf(AlertAction alertAction) {
return super.indexOf((Object) alertAction);
}
public /* bridge */ int lastIndexOf(AlertAction alertAction) {
return super.lastIndexOf((Object) alertAction);
}
@Override // java.util.ArrayList, java.util.AbstractList, java.util.List
public final /* bridge */ AlertAction remove(int i) {
return removeAt(i);
}
public /* bridge */ AlertAction removeAt(int i) {
return remove(i);
}
@Override // java.util.ArrayList, java.util.AbstractCollection, java.util.Collection, java.util.List
public final /* bridge */ int size() {
return getSize();
}
@Override // java.util.ArrayList, java.util.AbstractCollection, java.util.Collection, java.util.List
public final /* bridge */ boolean contains(Object obj) {
if (obj instanceof AlertAction) {
return contains((AlertAction) obj);
}
return false;
}
@Override // java.util.ArrayList, java.util.AbstractList, java.util.List
public final /* bridge */ int indexOf(Object obj) {
if (obj instanceof AlertAction) {
return indexOf((AlertAction) obj);
}
return -1;
}
@Override // java.util.ArrayList, java.util.AbstractList, java.util.List
public final /* bridge */ int lastIndexOf(Object obj) {
if (obj instanceof AlertAction) {
return lastIndexOf((AlertAction) obj);
}
return -1;
}
public /* bridge */ boolean remove(AlertAction alertAction) {
return super.remove((Object) alertAction);
}
@Override // java.util.ArrayList, java.util.AbstractCollection, java.util.Collection, java.util.List
public final /* bridge */ boolean remove(Object obj) {
if (obj instanceof AlertAction) {
return remove((AlertAction) obj);
}
return false;
}
}

View File

@@ -0,0 +1,42 @@
package com.adif.elcanomovil.commonNavGraph.arguments;
import kotlin.Metadata;
import kotlin.enums.EnumEntries;
import kotlin.enums.EnumEntriesKt;
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0005\b\u0086\u0081\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004j\u0002\b\u0005¨\u0006\u0006"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/arguments/AlertType;", "", "(Ljava/lang/String;I)V", "WARNING", "INFO", "ERROR", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public final class AlertType {
private static final /* synthetic */ EnumEntries $ENTRIES;
private static final /* synthetic */ AlertType[] $VALUES;
public static final AlertType WARNING = new AlertType("WARNING", 0);
public static final AlertType INFO = new AlertType("INFO", 1);
public static final AlertType ERROR = new AlertType("ERROR", 2);
private static final /* synthetic */ AlertType[] $values() {
return new AlertType[]{WARNING, INFO, ERROR};
}
static {
AlertType[] $values = $values();
$VALUES = $values;
$ENTRIES = EnumEntriesKt.enumEntries($values);
}
private AlertType(String str, int i) {
}
public static EnumEntries<AlertType> getEntries() {
return $ENTRIES;
}
public static AlertType valueOf(String str) {
return (AlertType) Enum.valueOf(AlertType.class, str);
}
public static AlertType[] values() {
return (AlertType[]) $VALUES.clone();
}
}

View File

@@ -0,0 +1,456 @@
package com.adif.elcanomovil.commonNavGraph.arguments;
import android.os.Parcel;
import android.os.Parcelable;
import com.adif.elcanomovil.commonNavGraph.R;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlinx.parcelize.Parcelize;
@Metadata(d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b6\u0018\u0000 \u000b2\u00020\u0001:\u0005\u000b\f\r\u000e\u000fB\u000f\b\u0004\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004R\u0014\u0010\u0005\u001a\u0004\u0018\u00010\u0006X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0007\u0010\bR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\n\u0082\u0001\u0004\u0010\u0011\u0012\u0013¨\u0006\u0014"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab;", "Landroid/os/Parcelable;", "tabId", "", "(I)V", "directions", "Lcom/adif/elcanomovil/commonNavGraph/arguments/ChildDirections;", "getDirections", "()Lcom/adif/elcanomovil/commonNavGraph/arguments/ChildDirections;", "getTabId", "()I", "Companion", "Departures", "Home", "MoreAdif", "Station", "Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab$Departures;", "Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab$Home;", "Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab$MoreAdif;", "Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab$Station;", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public abstract class BottomNavInitialTab implements Parcelable {
/* renamed from: Companion, reason: from kotlin metadata */
public static final Companion INSTANCE = new Companion(null);
private static final Departures DEPARTURES;
private static final Home HOME;
private static final MoreAdif MORE_ADIF;
private static final Station STATIONS;
private final int tabId;
@Metadata(d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002R\u0011\u0010\u0003\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006R\u0011\u0010\u0007\u001a\u00020\\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0011\u0010\u000b\u001a\u00020\\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0011\u0010\u000f\u001a\u00020\u0010¢\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012¨\u0006\u0013"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab$Companion;", "", "()V", "DEPARTURES", "Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab$Departures;", "getDEPARTURES", "()Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab$Departures;", "HOME", "Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab$Home;", "getHOME", "()Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab$Home;", "MORE_ADIF", "Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab$MoreAdif;", "getMORE_ADIF", "()Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab$MoreAdif;", "STATIONS", "Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab$Station;", "getSTATIONS", "()Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab$Station;", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
public final Departures getDEPARTURES() {
return BottomNavInitialTab.DEPARTURES;
}
public final Home getHOME() {
return BottomNavInitialTab.HOME;
}
public final MoreAdif getMORE_ADIF() {
return BottomNavInitialTab.MORE_ADIF;
}
public final Station getSTATIONS() {
return BottomNavInitialTab.STATIONS;
}
private Companion() {
}
}
@Parcelize
@Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B\u0011\u0012\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\u0004J\u000b\u0010\u0007\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u0015\u0010\b\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003HÆ\u0001J\t\u0010\t\u001a\u00020\nHÖ\u0001J\u0013\u0010\u000b\u001a\u00020\f2\b\u0010\r\u001a\u0004\u0018\u00010\u000eHÖ\u0003J\t\u0010\u000f\u001a\u00020\nHÖ\u0001J\t\u0010\u0010\u001a\u00020\u0011HÖ\u0001J\u0019\u0010\u0012\u001a\u00020\u00132\u0006\u0010\u0014\u001a\u00020\u00152\u0006\u0010\u0016\u001a\u00020\nHÖ\u0001R\u0016\u0010\u0002\u001a\u0004\u0018\u00010\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0017"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab$Departures;", "Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab;", "directions", "Lcom/adif/elcanomovil/commonNavGraph/arguments/ChildDirections;", "(Lcom/adif/elcanomovil/commonNavGraph/arguments/ChildDirections;)V", "getDirections", "()Lcom/adif/elcanomovil/commonNavGraph/arguments/ChildDirections;", "component1", "copy", "describeContents", "", "equals", "", "other", "", "hashCode", "toString", "", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final /* data */ class Departures extends BottomNavInitialTab {
public static final Parcelable.Creator<Departures> CREATOR = new Creator();
private final ChildDirections directions;
@Metadata(k = 3, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final class Creator implements Parcelable.Creator<Departures> {
/* JADX WARN: Can't rename method to resolve collision */
@Override // android.os.Parcelable.Creator
public final Departures createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new Departures(parcel.readInt() == 0 ? null : ChildDirections.CREATOR.createFromParcel(parcel));
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // android.os.Parcelable.Creator
public final Departures[] newArray(int i) {
return new Departures[i];
}
}
/* JADX WARN: Multi-variable type inference failed */
public Departures() {
this(null, 1, 0 == true ? 1 : 0);
}
public static /* synthetic */ Departures copy$default(Departures departures, ChildDirections childDirections, int i, Object obj) {
if ((i & 1) != 0) {
childDirections = departures.directions;
}
return departures.copy(childDirections);
}
/* renamed from: component1, reason: from getter */
public final ChildDirections getDirections() {
return this.directions;
}
public final Departures copy(ChildDirections directions) {
return new Departures(directions);
}
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
return (other instanceof Departures) && Intrinsics.areEqual(this.directions, ((Departures) other).directions);
}
@Override // com.adif.elcanomovil.commonNavGraph.arguments.BottomNavInitialTab
public ChildDirections getDirections() {
return this.directions;
}
public int hashCode() {
ChildDirections childDirections = this.directions;
if (childDirections == null) {
return 0;
}
return childDirections.hashCode();
}
public String toString() {
return "Departures(directions=" + this.directions + ')';
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
ChildDirections childDirections = this.directions;
if (childDirections == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
childDirections.writeToParcel(parcel, flags);
}
}
public /* synthetic */ Departures(ChildDirections childDirections, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? null : childDirections);
}
public Departures(ChildDirections childDirections) {
super(R.id.departures_tab_navigation, null);
this.directions = childDirections;
}
}
@Parcelize
@Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B\u0011\u0012\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\u0004J\u000b\u0010\u0007\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u0015\u0010\b\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003HÆ\u0001J\t\u0010\t\u001a\u00020\nHÖ\u0001J\u0013\u0010\u000b\u001a\u00020\f2\b\u0010\r\u001a\u0004\u0018\u00010\u000eHÖ\u0003J\t\u0010\u000f\u001a\u00020\nHÖ\u0001J\t\u0010\u0010\u001a\u00020\u0011HÖ\u0001J\u0019\u0010\u0012\u001a\u00020\u00132\u0006\u0010\u0014\u001a\u00020\u00152\u0006\u0010\u0016\u001a\u00020\nHÖ\u0001R\u0016\u0010\u0002\u001a\u0004\u0018\u00010\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0017"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab$Home;", "Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab;", "directions", "Lcom/adif/elcanomovil/commonNavGraph/arguments/ChildDirections;", "(Lcom/adif/elcanomovil/commonNavGraph/arguments/ChildDirections;)V", "getDirections", "()Lcom/adif/elcanomovil/commonNavGraph/arguments/ChildDirections;", "component1", "copy", "describeContents", "", "equals", "", "other", "", "hashCode", "toString", "", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final /* data */ class Home extends BottomNavInitialTab {
public static final Parcelable.Creator<Home> CREATOR = new Creator();
private final ChildDirections directions;
@Metadata(k = 3, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final class Creator implements Parcelable.Creator<Home> {
/* JADX WARN: Can't rename method to resolve collision */
@Override // android.os.Parcelable.Creator
public final Home createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new Home(parcel.readInt() == 0 ? null : ChildDirections.CREATOR.createFromParcel(parcel));
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // android.os.Parcelable.Creator
public final Home[] newArray(int i) {
return new Home[i];
}
}
/* JADX WARN: Multi-variable type inference failed */
public Home() {
this(null, 1, 0 == true ? 1 : 0);
}
public static /* synthetic */ Home copy$default(Home home, ChildDirections childDirections, int i, Object obj) {
if ((i & 1) != 0) {
childDirections = home.directions;
}
return home.copy(childDirections);
}
/* renamed from: component1, reason: from getter */
public final ChildDirections getDirections() {
return this.directions;
}
public final Home copy(ChildDirections directions) {
return new Home(directions);
}
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
return (other instanceof Home) && Intrinsics.areEqual(this.directions, ((Home) other).directions);
}
@Override // com.adif.elcanomovil.commonNavGraph.arguments.BottomNavInitialTab
public ChildDirections getDirections() {
return this.directions;
}
public int hashCode() {
ChildDirections childDirections = this.directions;
if (childDirections == null) {
return 0;
}
return childDirections.hashCode();
}
public String toString() {
return "Home(directions=" + this.directions + ')';
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
ChildDirections childDirections = this.directions;
if (childDirections == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
childDirections.writeToParcel(parcel, flags);
}
}
public /* synthetic */ Home(ChildDirections childDirections, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? null : childDirections);
}
public Home(ChildDirections childDirections) {
super(R.id.home_tab_navigation, null);
this.directions = childDirections;
}
}
@Parcelize
@Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B\u0011\u0012\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\u0004J\u000b\u0010\u0007\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u0015\u0010\b\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003HÆ\u0001J\t\u0010\t\u001a\u00020\nHÖ\u0001J\u0013\u0010\u000b\u001a\u00020\f2\b\u0010\r\u001a\u0004\u0018\u00010\u000eHÖ\u0003J\t\u0010\u000f\u001a\u00020\nHÖ\u0001J\t\u0010\u0010\u001a\u00020\u0011HÖ\u0001J\u0019\u0010\u0012\u001a\u00020\u00132\u0006\u0010\u0014\u001a\u00020\u00152\u0006\u0010\u0016\u001a\u00020\nHÖ\u0001R\u0016\u0010\u0002\u001a\u0004\u0018\u00010\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0017"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab$MoreAdif;", "Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab;", "directions", "Lcom/adif/elcanomovil/commonNavGraph/arguments/ChildDirections;", "(Lcom/adif/elcanomovil/commonNavGraph/arguments/ChildDirections;)V", "getDirections", "()Lcom/adif/elcanomovil/commonNavGraph/arguments/ChildDirections;", "component1", "copy", "describeContents", "", "equals", "", "other", "", "hashCode", "toString", "", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final /* data */ class MoreAdif extends BottomNavInitialTab {
public static final Parcelable.Creator<MoreAdif> CREATOR = new Creator();
private final ChildDirections directions;
@Metadata(k = 3, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final class Creator implements Parcelable.Creator<MoreAdif> {
/* JADX WARN: Can't rename method to resolve collision */
@Override // android.os.Parcelable.Creator
public final MoreAdif createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new MoreAdif(parcel.readInt() == 0 ? null : ChildDirections.CREATOR.createFromParcel(parcel));
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // android.os.Parcelable.Creator
public final MoreAdif[] newArray(int i) {
return new MoreAdif[i];
}
}
/* JADX WARN: Multi-variable type inference failed */
public MoreAdif() {
this(null, 1, 0 == true ? 1 : 0);
}
public static /* synthetic */ MoreAdif copy$default(MoreAdif moreAdif, ChildDirections childDirections, int i, Object obj) {
if ((i & 1) != 0) {
childDirections = moreAdif.directions;
}
return moreAdif.copy(childDirections);
}
/* renamed from: component1, reason: from getter */
public final ChildDirections getDirections() {
return this.directions;
}
public final MoreAdif copy(ChildDirections directions) {
return new MoreAdif(directions);
}
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
return (other instanceof MoreAdif) && Intrinsics.areEqual(this.directions, ((MoreAdif) other).directions);
}
@Override // com.adif.elcanomovil.commonNavGraph.arguments.BottomNavInitialTab
public ChildDirections getDirections() {
return this.directions;
}
public int hashCode() {
ChildDirections childDirections = this.directions;
if (childDirections == null) {
return 0;
}
return childDirections.hashCode();
}
public String toString() {
return "MoreAdif(directions=" + this.directions + ')';
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
ChildDirections childDirections = this.directions;
if (childDirections == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
childDirections.writeToParcel(parcel, flags);
}
}
public /* synthetic */ MoreAdif(ChildDirections childDirections, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? null : childDirections);
}
public MoreAdif(ChildDirections childDirections) {
super(R.id.more_adif_tab_navigation, null);
this.directions = childDirections;
}
}
@Parcelize
@Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0087\b\u0018\u00002\u00020\u0001B\u0011\u0012\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003¢\u0006\u0002\u0010\u0004J\u000b\u0010\u0007\u001a\u0004\u0018\u00010\u0003HÆ\u0003J\u0015\u0010\b\u001a\u00020\u00002\n\b\u0002\u0010\u0002\u001a\u0004\u0018\u00010\u0003HÆ\u0001J\t\u0010\t\u001a\u00020\nHÖ\u0001J\u0013\u0010\u000b\u001a\u00020\f2\b\u0010\r\u001a\u0004\u0018\u00010\u000eHÖ\u0003J\t\u0010\u000f\u001a\u00020\nHÖ\u0001J\t\u0010\u0010\u001a\u00020\u0011HÖ\u0001J\u0019\u0010\u0012\u001a\u00020\u00132\u0006\u0010\u0014\u001a\u00020\u00152\u0006\u0010\u0016\u001a\u00020\nHÖ\u0001R\u0016\u0010\u0002\u001a\u0004\u0018\u00010\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0017"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab$Station;", "Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab;", "directions", "Lcom/adif/elcanomovil/commonNavGraph/arguments/ChildDirections;", "(Lcom/adif/elcanomovil/commonNavGraph/arguments/ChildDirections;)V", "getDirections", "()Lcom/adif/elcanomovil/commonNavGraph/arguments/ChildDirections;", "component1", "copy", "describeContents", "", "equals", "", "other", "", "hashCode", "toString", "", "writeToParcel", "", "parcel", "Landroid/os/Parcel;", "flags", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final /* data */ class Station extends BottomNavInitialTab {
public static final Parcelable.Creator<Station> CREATOR = new Creator();
private final ChildDirections directions;
@Metadata(k = 3, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final class Creator implements Parcelable.Creator<Station> {
/* JADX WARN: Can't rename method to resolve collision */
@Override // android.os.Parcelable.Creator
public final Station createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new Station(parcel.readInt() == 0 ? null : ChildDirections.CREATOR.createFromParcel(parcel));
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // android.os.Parcelable.Creator
public final Station[] newArray(int i) {
return new Station[i];
}
}
/* JADX WARN: Multi-variable type inference failed */
public Station() {
this(null, 1, 0 == true ? 1 : 0);
}
public static /* synthetic */ Station copy$default(Station station, ChildDirections childDirections, int i, Object obj) {
if ((i & 1) != 0) {
childDirections = station.directions;
}
return station.copy(childDirections);
}
/* renamed from: component1, reason: from getter */
public final ChildDirections getDirections() {
return this.directions;
}
public final Station copy(ChildDirections directions) {
return new Station(directions);
}
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
return (other instanceof Station) && Intrinsics.areEqual(this.directions, ((Station) other).directions);
}
@Override // com.adif.elcanomovil.commonNavGraph.arguments.BottomNavInitialTab
public ChildDirections getDirections() {
return this.directions;
}
public int hashCode() {
ChildDirections childDirections = this.directions;
if (childDirections == null) {
return 0;
}
return childDirections.hashCode();
}
public String toString() {
return "Station(directions=" + this.directions + ')';
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
ChildDirections childDirections = this.directions;
if (childDirections == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
childDirections.writeToParcel(parcel, flags);
}
}
public /* synthetic */ Station(ChildDirections childDirections, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? null : childDirections);
}
public Station(ChildDirections childDirections) {
super(R.id.stations_tab_navigation, null);
this.directions = childDirections;
}
}
/* JADX WARN: Multi-variable type inference failed */
static {
int i = 1;
HOME = new Home(0 == true ? 1 : 0, i, 0 == true ? 1 : 0);
DEPARTURES = new Departures(0 == true ? 1 : 0, i, 0 == true ? 1 : 0);
STATIONS = new Station(0 == true ? 1 : 0, i, 0 == true ? 1 : 0);
MORE_ADIF = new MoreAdif(0 == true ? 1 : 0, i, 0 == true ? 1 : 0);
}
public /* synthetic */ BottomNavInitialTab(int i, DefaultConstructorMarker defaultConstructorMarker) {
this(i);
}
public abstract ChildDirections getDirections();
public final int getTabId() {
return this.tabId;
}
private BottomNavInitialTab(int i) {
this.tabId = i;
}
}

View File

@@ -0,0 +1,108 @@
package com.adif.elcanomovil.commonNavGraph.arguments;
import android.net.Uri;
import android.os.Parcel;
import android.os.Parcelable;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlinx.parcelize.Parcelize;
import o0.C0523C;
@Parcelize
@Metadata(d1 = {"\u0000B\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0006\b\u0087\b\u0018\u0000 \u001f2\u00020\u0001:\u0001\u001fB\u0014\u0012\u000b\u0010\u0004\u001a\u00070\u0002¢\u0006\u0002\b\u0003¢\u0006\u0004\b\u0005\u0010\u0006J\u0015\u0010\u0007\u001a\u00070\u0002¢\u0006\u0002\b\u0003HÆ\u0003¢\u0006\u0004\b\u0007\u0010\bJ\u001f\u0010\t\u001a\u00020\u00002\r\b\u0002\u0010\u0004\u001a\u00070\u0002¢\u0006\u0002\b\u0003HÆ\u0001¢\u0006\u0004\b\t\u0010\nJ\u0010\u0010\f\u001a\u00020\u000bHÖ\u0001¢\u0006\u0004\b\f\u0010\rJ\u0010\u0010\u000f\u001a\u00020\u000eHÖ\u0001¢\u0006\u0004\b\u000f\u0010\u0010J\u001a\u0010\u0014\u001a\u00020\u00132\b\u0010\u0012\u001a\u0004\u0018\u00010\u0011HÖ\u0003¢\u0006\u0004\b\u0014\u0010\u0015J\u0010\u0010\u0016\u001a\u00020\u000eHÖ\u0001¢\u0006\u0004\b\u0016\u0010\u0010J \u0010\u001b\u001a\u00020\u001a2\u0006\u0010\u0018\u001a\u00020\u00172\u0006\u0010\u0019\u001a\u00020\u000eHÖ\u0001¢\u0006\u0004\b\u001b\u0010\u001cR\u001c\u0010\u0004\u001a\u00070\u0002¢\u0006\u0002\b\u00038\u0006¢\u0006\f\n\u0004\b\u0004\u0010\u001d\u001a\u0004\b\u001e\u0010\\u0006 "}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/arguments/ChildDirections;", "Landroid/os/Parcelable;", "Lo0/C;", "Lkotlinx/parcelize/RawValue;", "deeplinkRequest", "<init>", "(Lo0/C;)V", "component1", "()Lo0/C;", "copy", "(Lo0/C;)Lcom/adif/elcanomovil/commonNavGraph/arguments/ChildDirections;", "", "toString", "()Ljava/lang/String;", "", "hashCode", "()I", "", "other", "", "equals", "(Ljava/lang/Object;)Z", "describeContents", "Landroid/os/Parcel;", "parcel", "flags", "", "writeToParcel", "(Landroid/os/Parcel;I)V", "Lo0/C;", "getDeeplinkRequest", "Companion", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public final /* data */ class ChildDirections implements Parcelable {
private final C0523C deeplinkRequest;
/* renamed from: Companion, reason: from kotlin metadata */
public static final Companion INSTANCE = new Companion(null);
public static final Parcelable.Creator<ChildDirections> CREATOR = new Creator();
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u000e\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u0006¨\u0006\u0007"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/arguments/ChildDirections$Companion;", "", "()V", "fromRoutes", "Lcom/adif/elcanomovil/commonNavGraph/arguments/ChildDirections;", "route", "Landroid/net/Uri;", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
public final ChildDirections fromRoutes(Uri route) {
Intrinsics.checkNotNullParameter(route, "route");
Intrinsics.checkNotNullParameter(route, "uri");
Intrinsics.checkNotNullParameter(route, "uri");
return new ChildDirections(new C0523C(route, null, null));
}
private Companion() {
}
}
@Metadata(k = 3, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final class Creator implements Parcelable.Creator<ChildDirections> {
/* JADX WARN: Can't rename method to resolve collision */
@Override // android.os.Parcelable.Creator
public final ChildDirections createFromParcel(Parcel parcel) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
return new ChildDirections((C0523C) parcel.readValue(ChildDirections.class.getClassLoader()));
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // android.os.Parcelable.Creator
public final ChildDirections[] newArray(int i) {
return new ChildDirections[i];
}
}
public ChildDirections(C0523C deeplinkRequest) {
Intrinsics.checkNotNullParameter(deeplinkRequest, "deeplinkRequest");
this.deeplinkRequest = deeplinkRequest;
}
public static /* synthetic */ ChildDirections copy$default(ChildDirections childDirections, C0523C c0523c, int i, Object obj) {
if ((i & 1) != 0) {
c0523c = childDirections.deeplinkRequest;
}
return childDirections.copy(c0523c);
}
/* renamed from: component1, reason: from getter */
public final C0523C getDeeplinkRequest() {
return this.deeplinkRequest;
}
public final ChildDirections copy(C0523C deeplinkRequest) {
Intrinsics.checkNotNullParameter(deeplinkRequest, "deeplinkRequest");
return new ChildDirections(deeplinkRequest);
}
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
return (other instanceof ChildDirections) && Intrinsics.areEqual(this.deeplinkRequest, ((ChildDirections) other).deeplinkRequest);
}
public final C0523C getDeeplinkRequest() {
return this.deeplinkRequest;
}
public int hashCode() {
return this.deeplinkRequest.hashCode();
}
public String toString() {
return "ChildDirections(deeplinkRequest=" + this.deeplinkRequest + ')';
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int flags) {
Intrinsics.checkNotNullParameter(parcel, "out");
parcel.writeValue(this.deeplinkRequest);
}
}

View File

@@ -0,0 +1,84 @@
package com.adif.elcanomovil.commonNavGraph.arguments;
import com.adif.elcanomovil.commonNavGraph.R;
import java.io.Serializable;
import kotlin.Metadata;
import kotlin.enums.EnumEntries;
import kotlin.enums.EnumEntriesKt;
import kotlin.jvm.internal.DefaultConstructorMarker;
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
@Metadata(d1 = {"\u0000\u001e\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u000f\b\u0086\u0081\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u00012\u00020\u0002B)\b\u0002\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u0012\u0006\u0010\u0005\u001a\u00020\u0004\u0012\u0006\u0010\u0006\u001a\u00020\u0004\u0012\b\b\u0002\u0010\u0007\u001a\u00020\\u0006\u0002\u0010\tR\u001a\u0010\u0007\u001a\u00020\bX\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\n\u0010\u000b\"\u0004\b\f\u0010\rR\u0011\u0010\u0003\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u000e\u0010\u000fR\u0011\u0010\u0005\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u000fR\u001a\u0010\u0006\u001a\u00020\u0004X\u0086\u000e¢\u0006\u000e\n\u0000\u001a\u0004\b\u0011\u0010\u000f\"\u0004\b\u0012\u0010\u0013j\u0002\b\u0014j\u0002\b\u0015j\u0002\b\u0016¨\u0006\u0017"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/arguments/Filter;", "", "Ljava/io/Serializable;", NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN, "", "resource", "text", "enable", "", "(Ljava/lang/String;IIIIZ)V", "getEnable", "()Z", "setEnable", "(Z)V", "getId", "()I", "getResource", "getText", "setText", "(I)V", "FULL_DATA", "ALL_STATIONS", "ALL_STOPS", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public final class Filter implements Serializable {
private static final /* synthetic */ EnumEntries $ENTRIES;
private static final /* synthetic */ Filter[] $VALUES;
public static final Filter ALL_STATIONS;
public static final Filter ALL_STOPS;
public static final Filter FULL_DATA = new Filter("FULL_DATA", 0, 0, R.drawable.ic_baseline_add_chart, R.string.corporate_filter_full_data_option, true);
private boolean enable;
private final int id;
private final int resource;
private int text;
private static final /* synthetic */ Filter[] $values() {
return new Filter[]{FULL_DATA, ALL_STATIONS, ALL_STOPS};
}
static {
int i = R.drawable.ic_baseline_remove_road_24;
ALL_STATIONS = new Filter("ALL_STATIONS", 1, 1, i, R.string.corporate_filter_all_stations_option, true);
ALL_STOPS = new Filter("ALL_STOPS", 2, 1, i, R.string.corporate_filter_all_stops_option, true);
Filter[] $values = $values();
$VALUES = $values;
$ENTRIES = EnumEntriesKt.enumEntries($values);
}
private Filter(String str, int i, int i4, int i5, int i6, boolean z3) {
this.id = i4;
this.resource = i5;
this.text = i6;
this.enable = z3;
}
public static EnumEntries<Filter> getEntries() {
return $ENTRIES;
}
public static Filter valueOf(String str) {
return (Filter) Enum.valueOf(Filter.class, str);
}
public static Filter[] values() {
return (Filter[]) $VALUES.clone();
}
public final boolean getEnable() {
return this.enable;
}
public final int getId() {
return this.id;
}
public final int getResource() {
return this.resource;
}
public final int getText() {
return this.text;
}
public final void setEnable(boolean z3) {
this.enable = z3;
}
public final void setText(int i) {
this.text = i;
}
public /* synthetic */ Filter(String str, int i, int i4, int i5, int i6, boolean z3, int i7, DefaultConstructorMarker defaultConstructorMarker) {
this(str, i, i4, i5, i6, (i7 & 8) != 0 ? false : z3);
}
}

View File

@@ -0,0 +1,55 @@
package com.adif.elcanomovil.commonNavGraph.arguments;
import com.google.android.gms.measurement.internal.a;
import java.io.Serializable;
import java.util.List;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0086\b\u0018\u00002\u00020\u0001B\u0013\u0012\f\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003¢\u0006\u0002\u0010\u0005J\u000f\u0010\b\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003HÆ\u0003J\u0019\u0010\t\u001a\u00020\u00002\u000e\b\u0002\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003HÆ\u0001J\u0013\u0010\n\u001a\u00020\u000b2\b\u0010\f\u001a\u0004\u0018\u00010\rHÖ\u0003J\t\u0010\u000e\u001a\u00020\u000fHÖ\u0001J\t\u0010\u0010\u001a\u00020\u0011HÖ\u0001R\u0017\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007¨\u0006\u0012"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/arguments/Filters;", "Ljava/io/Serializable;", "values", "", "Lcom/adif/elcanomovil/commonNavGraph/arguments/Filter;", "(Ljava/util/List;)V", "getValues", "()Ljava/util/List;", "component1", "copy", "equals", "", "other", "", "hashCode", "", "toString", "", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public final /* data */ class Filters implements Serializable {
private final List<Filter> values;
/* JADX WARN: Multi-variable type inference failed */
public Filters(List<? extends Filter> values) {
Intrinsics.checkNotNullParameter(values, "values");
this.values = values;
}
/* JADX WARN: Multi-variable type inference failed */
public static /* synthetic */ Filters copy$default(Filters filters, List list, int i, Object obj) {
if ((i & 1) != 0) {
list = filters.values;
}
return filters.copy(list);
}
public final List<Filter> component1() {
return this.values;
}
public final Filters copy(List<? extends Filter> values) {
Intrinsics.checkNotNullParameter(values, "values");
return new Filters(values);
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
return (other instanceof Filters) && Intrinsics.areEqual(this.values, ((Filters) other).values);
}
public final List<Filter> getValues() {
return this.values;
}
public int hashCode() {
return this.values.hashCode();
}
public String toString() {
return a.o(new StringBuilder("Filters(values="), this.values, ')');
}
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,89 @@
package com.adif.elcanomovil.commonNavGraph.arguments;
import com.google.android.gms.measurement.internal.a;
import java.io.Serializable;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\n\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\u001d\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006¢\u0006\u0002\u0010\u0007J\t\u0010\f\u001a\u00020\u0003HÆ\u0003J\t\u0010\r\u001a\u00020\u0003HÆ\u0003J\t\u0010\u000e\u001a\u00020\u0006HÆ\u0003J'\u0010\u000f\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u0006HÆ\u0001J\u0013\u0010\u0010\u001a\u00020\u00112\b\u0010\u0012\u001a\u0004\u0018\u00010\u0013HÖ\u0003J\t\u0010\u0014\u001a\u00020\u0015HÖ\u0001J\t\u0010\u0016\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0005\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\bR\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\nR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\\u0006\u0017"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/arguments/Observation;", "Ljava/io/Serializable;", "stationName", "", "message", "isWarning", "Lcom/adif/elcanomovil/commonNavGraph/arguments/ObservationType;", "(Ljava/lang/String;Ljava/lang/String;Lcom/adif/elcanomovil/commonNavGraph/arguments/ObservationType;)V", "()Lcom/adif/elcanomovil/commonNavGraph/arguments/ObservationType;", "getMessage", "()Ljava/lang/String;", "getStationName", "component1", "component2", "component3", "copy", "equals", "", "other", "", "hashCode", "", "toString", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public final /* data */ class Observation implements Serializable {
private final ObservationType isWarning;
private final String message;
private final String stationName;
public Observation(String stationName, String message, ObservationType isWarning) {
Intrinsics.checkNotNullParameter(stationName, "stationName");
Intrinsics.checkNotNullParameter(message, "message");
Intrinsics.checkNotNullParameter(isWarning, "isWarning");
this.stationName = stationName;
this.message = message;
this.isWarning = isWarning;
}
public static /* synthetic */ Observation copy$default(Observation observation, String str, String str2, ObservationType observationType, int i, Object obj) {
if ((i & 1) != 0) {
str = observation.stationName;
}
if ((i & 2) != 0) {
str2 = observation.message;
}
if ((i & 4) != 0) {
observationType = observation.isWarning;
}
return observation.copy(str, str2, observationType);
}
/* renamed from: component1, reason: from getter */
public final String getStationName() {
return this.stationName;
}
/* renamed from: component2, reason: from getter */
public final String getMessage() {
return this.message;
}
/* renamed from: component3, reason: from getter */
public final ObservationType getIsWarning() {
return this.isWarning;
}
public final Observation copy(String stationName, String message, ObservationType isWarning) {
Intrinsics.checkNotNullParameter(stationName, "stationName");
Intrinsics.checkNotNullParameter(message, "message");
Intrinsics.checkNotNullParameter(isWarning, "isWarning");
return new Observation(stationName, message, isWarning);
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof Observation)) {
return false;
}
Observation observation = (Observation) other;
return Intrinsics.areEqual(this.stationName, observation.stationName) && Intrinsics.areEqual(this.message, observation.message) && this.isWarning == observation.isWarning;
}
public final String getMessage() {
return this.message;
}
public final String getStationName() {
return this.stationName;
}
public int hashCode() {
return this.isWarning.hashCode() + a.d(this.message, this.stationName.hashCode() * 31, 31);
}
public final ObservationType isWarning() {
return this.isWarning;
}
public String toString() {
return "Observation(stationName=" + this.stationName + ", message=" + this.message + ", isWarning=" + this.isWarning + ')';
}
}

View File

@@ -0,0 +1,41 @@
package com.adif.elcanomovil.commonNavGraph.arguments;
import kotlin.Metadata;
import kotlin.enums.EnumEntries;
import kotlin.enums.EnumEntriesKt;
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0004\b\u0086\u0081\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004¨\u0006\u0005"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/arguments/ObservationType;", "", "(Ljava/lang/String;I)V", "IS_WARNING", "IS_INFO", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public final class ObservationType {
private static final /* synthetic */ EnumEntries $ENTRIES;
private static final /* synthetic */ ObservationType[] $VALUES;
public static final ObservationType IS_WARNING = new ObservationType("IS_WARNING", 0);
public static final ObservationType IS_INFO = new ObservationType("IS_INFO", 1);
private static final /* synthetic */ ObservationType[] $values() {
return new ObservationType[]{IS_WARNING, IS_INFO};
}
static {
ObservationType[] $values = $values();
$VALUES = $values;
$ENTRIES = EnumEntriesKt.enumEntries($values);
}
private ObservationType(String str, int i) {
}
public static EnumEntries<ObservationType> getEntries() {
return $ENTRIES;
}
public static ObservationType valueOf(String str) {
return (ObservationType) Enum.valueOf(ObservationType.class, str);
}
public static ObservationType[] values() {
return (ObservationType[]) $VALUES.clone();
}
}

View File

@@ -0,0 +1,54 @@
package com.adif.elcanomovil.commonNavGraph.arguments;
import com.google.android.gms.measurement.internal.a;
import java.io.Serializable;
import java.util.List;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0086\b\u0018\u00002\u00020\u0001B\u0013\u0012\f\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003¢\u0006\u0002\u0010\u0005J\u000f\u0010\b\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003HÆ\u0003J\u0019\u0010\t\u001a\u00020\u00002\u000e\b\u0002\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003HÆ\u0001J\u0013\u0010\n\u001a\u00020\u000b2\b\u0010\f\u001a\u0004\u0018\u00010\rHÖ\u0003J\t\u0010\u000e\u001a\u00020\u000fHÖ\u0001J\t\u0010\u0010\u001a\u00020\u0011HÖ\u0001R\u0017\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007¨\u0006\u0012"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/arguments/StationObservationArg;", "Ljava/io/Serializable;", "observations", "", "Lcom/adif/elcanomovil/commonNavGraph/arguments/Observation;", "(Ljava/util/List;)V", "getObservations", "()Ljava/util/List;", "component1", "copy", "equals", "", "other", "", "hashCode", "", "toString", "", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public final /* data */ class StationObservationArg implements Serializable {
private final List<Observation> observations;
public StationObservationArg(List<Observation> observations) {
Intrinsics.checkNotNullParameter(observations, "observations");
this.observations = observations;
}
/* JADX WARN: Multi-variable type inference failed */
public static /* synthetic */ StationObservationArg copy$default(StationObservationArg stationObservationArg, List list, int i, Object obj) {
if ((i & 1) != 0) {
list = stationObservationArg.observations;
}
return stationObservationArg.copy(list);
}
public final List<Observation> component1() {
return this.observations;
}
public final StationObservationArg copy(List<Observation> observations) {
Intrinsics.checkNotNullParameter(observations, "observations");
return new StationObservationArg(observations);
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
return (other instanceof StationObservationArg) && Intrinsics.areEqual(this.observations, ((StationObservationArg) other).observations);
}
public final List<Observation> getObservations() {
return this.observations;
}
public int hashCode() {
return this.observations.hashCode();
}
public String toString() {
return a.o(new StringBuilder("StationObservationArg(observations="), this.observations, ')');
}
}

View File

@@ -0,0 +1,72 @@
package com.adif.elcanomovil.commonNavGraph;
import android.os.Bundle;
import android.os.Parcelable;
import com.adif.elcanomovil.commonNavGraph.arguments.Filters;
import java.io.Serializable;
import kotlin.jvm.internal.Intrinsics;
import o0.F;
/* loaded from: classes.dex */
public final class b implements F {
/* renamed from: a, reason: collision with root package name */
public final String f4413a;
/* renamed from: b, reason: collision with root package name */
public final Filters f4414b;
/* renamed from: c, reason: collision with root package name */
public final int f4415c;
public b(String key, Filters values) {
Intrinsics.checkNotNullParameter(key, "key");
Intrinsics.checkNotNullParameter(values, "values");
this.f4413a = key;
this.f4414b = values;
this.f4415c = R.id.to_filterListBottomSheet;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof b)) {
return false;
}
b bVar = (b) obj;
return Intrinsics.areEqual(this.f4413a, bVar.f4413a) && Intrinsics.areEqual(this.f4414b, bVar.f4414b);
}
@Override // o0.F
public final int getActionId() {
return this.f4415c;
}
@Override // o0.F
public final Bundle getArguments() {
Bundle bundle = new Bundle();
bundle.putString("key", this.f4413a);
boolean isAssignableFrom = Parcelable.class.isAssignableFrom(Filters.class);
Serializable serializable = this.f4414b;
if (isAssignableFrom) {
Intrinsics.checkNotNull(serializable, "null cannot be cast to non-null type android.os.Parcelable");
bundle.putParcelable("values", (Parcelable) serializable);
return bundle;
}
if (!Serializable.class.isAssignableFrom(Filters.class)) {
throw new UnsupportedOperationException(Filters.class.getName().concat(" must implement Parcelable or Serializable or must be an Enum."));
}
Intrinsics.checkNotNull(serializable, "null cannot be cast to non-null type java.io.Serializable");
bundle.putSerializable("values", serializable);
return bundle;
}
public final int hashCode() {
return this.f4414b.hashCode() + (this.f4413a.hashCode() * 31);
}
public final String toString() {
return "ToFilterListBottomSheet(key=" + this.f4413a + ", values=" + this.f4414b + ')';
}
}

View File

@@ -0,0 +1,48 @@
package com.adif.elcanomovil.commonNavGraph;
import android.os.Bundle;
import kotlin.jvm.internal.Intrinsics;
import o0.F;
/* loaded from: classes.dex */
public final class c implements F {
/* renamed from: a, reason: collision with root package name */
public final String f4416a;
/* renamed from: b, reason: collision with root package name */
public final int f4417b;
public c(String key) {
Intrinsics.checkNotNullParameter(key, "key");
this.f4416a = key;
this.f4417b = R.id.to_selectStationFragment;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
return (obj instanceof c) && Intrinsics.areEqual(this.f4416a, ((c) obj).f4416a);
}
@Override // o0.F
public final int getActionId() {
return this.f4417b;
}
@Override // o0.F
public final Bundle getArguments() {
Bundle bundle = new Bundle();
bundle.putString("key", this.f4416a);
return bundle;
}
public final int hashCode() {
return this.f4416a.hashCode();
}
public final String toString() {
return com.google.android.gms.measurement.internal.a.n(new StringBuilder("ToSelectStationFragment(key="), this.f4416a, ')');
}
}

View File

@@ -0,0 +1,62 @@
package com.adif.elcanomovil.commonNavGraph;
import android.os.Bundle;
import java.util.Arrays;
import kotlin.jvm.internal.Intrinsics;
import o0.F;
/* loaded from: classes.dex */
public final class d implements F {
/* renamed from: a, reason: collision with root package name */
public final String f4418a;
/* renamed from: b, reason: collision with root package name */
public final String[] f4419b;
/* renamed from: c, reason: collision with root package name */
public final int f4420c;
public d(String key, String[] values) {
Intrinsics.checkNotNullParameter(key, "key");
Intrinsics.checkNotNullParameter(values, "values");
this.f4418a = key;
this.f4419b = values;
this.f4420c = R.id.to_selectableBottomSheet;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof d)) {
return false;
}
d dVar = (d) obj;
return Intrinsics.areEqual(this.f4418a, dVar.f4418a) && Intrinsics.areEqual(this.f4419b, dVar.f4419b);
}
@Override // o0.F
public final int getActionId() {
return this.f4420c;
}
@Override // o0.F
public final Bundle getArguments() {
Bundle bundle = new Bundle();
bundle.putString("key", this.f4418a);
bundle.putStringArray("values", this.f4419b);
return bundle;
}
public final int hashCode() {
return (this.f4418a.hashCode() * 31) + Arrays.hashCode(this.f4419b);
}
public final String toString() {
StringBuilder sb = new StringBuilder("ToSelectableBottomSheet(key=");
sb.append(this.f4418a);
sb.append(", values=");
return com.google.android.gms.measurement.internal.a.n(sb, Arrays.toString(this.f4419b), ')');
}
}

View File

@@ -0,0 +1,72 @@
package com.adif.elcanomovil.commonNavGraph;
import android.os.Bundle;
import android.os.Parcelable;
import com.adif.elcanomovil.commonNavGraph.arguments.StationObservationArg;
import java.io.Serializable;
import kotlin.jvm.internal.Intrinsics;
import o0.F;
/* loaded from: classes.dex */
public final class e implements F {
/* renamed from: a, reason: collision with root package name */
public final String f4421a;
/* renamed from: b, reason: collision with root package name */
public final StationObservationArg f4422b;
/* renamed from: c, reason: collision with root package name */
public final int f4423c;
public e(String key, StationObservationArg values) {
Intrinsics.checkNotNullParameter(key, "key");
Intrinsics.checkNotNullParameter(values, "values");
this.f4421a = key;
this.f4422b = values;
this.f4423c = R.id.to_stationObservationsBottomSheet;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof e)) {
return false;
}
e eVar = (e) obj;
return Intrinsics.areEqual(this.f4421a, eVar.f4421a) && Intrinsics.areEqual(this.f4422b, eVar.f4422b);
}
@Override // o0.F
public final int getActionId() {
return this.f4423c;
}
@Override // o0.F
public final Bundle getArguments() {
Bundle bundle = new Bundle();
bundle.putString("key", this.f4421a);
boolean isAssignableFrom = Parcelable.class.isAssignableFrom(StationObservationArg.class);
Serializable serializable = this.f4422b;
if (isAssignableFrom) {
Intrinsics.checkNotNull(serializable, "null cannot be cast to non-null type android.os.Parcelable");
bundle.putParcelable("values", (Parcelable) serializable);
return bundle;
}
if (!Serializable.class.isAssignableFrom(StationObservationArg.class)) {
throw new UnsupportedOperationException(StationObservationArg.class.getName().concat(" must implement Parcelable or Serializable or must be an Enum."));
}
Intrinsics.checkNotNull(serializable, "null cannot be cast to non-null type java.io.Serializable");
bundle.putSerializable("values", serializable);
return bundle;
}
public final int hashCode() {
return this.f4422b.hashCode() + (this.f4421a.hashCode() * 31);
}
public final String toString() {
return "ToStationObservationsBottomSheet(key=" + this.f4421a + ", values=" + this.f4422b + ')';
}
}

View File

@@ -0,0 +1,100 @@
package com.adif.elcanomovil.commonNavGraph.extensions;
import T0.j;
import androidx.fragment.app.AbstractC0158l0;
import androidx.fragment.app.K;
import androidx.lifecycle.C0191l;
import androidx.lifecycle.J;
import androidx.lifecycle.Q;
import androidx.lifecycle.X;
import androidx.lifecycle.n0;
import androidx.navigation.fragment.NavHostFragment;
import com.adif.elcanomovil.commonNavGraph.R;
import g.AbstractActivityC0364k;
import java.util.LinkedHashMap;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.Intrinsics;
import o0.AbstractC0544v;
import o0.C0537n;
@Metadata(d1 = {"\u0000F\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\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\u0006\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u001a\u0011\u0010\u0002\u001a\u00020\u0001*\u00020\u0000¢\u0006\u0004\b\u0002\u0010\u0003\u001a\u0011\u0010\u0002\u001a\u00020\u0001*\u00020\u0004¢\u0006\u0004\b\u0002\u0010\u0005\u001a?\u0010\u000f\u001a\u00020\r\"\b\b\u0000\u0010\u0007*\u00020\u0006*\u00020\u00012\u0006\u0010\t\u001a\u00020\b2\u0006\u0010\u000b\u001a\u00020\n2\u0012\u0010\u000e\u001a\u000e\u0012\u0004\u0012\u00028\u0000\u0012\u0004\u0012\u00020\r0\\u0006\u0004\b\u000f\u0010\u0010\u001a'\u0010\u0012\u001a\u00020\r\"\u0004\b\u0000\u0010\u0007*\u00020\u00012\u0006\u0010\t\u001a\u00020\b2\u0006\u0010\u0011\u001a\u00028\u0000¢\u0006\u0004\b\u0012\u0010\u0013\u001a'\u0010\u0015\u001a\u00020\u0014\"\u0004\b\u0000\u0010\u0007*\u00020\u00012\u0006\u0010\t\u001a\u00020\b2\u0006\u0010\u0011\u001a\u00028\u0000¢\u0006\u0004\b\u0015\u0010\u0016*\n\u0010\u0018\"\u00020\u00172\u00020\u0017*\n\u0010\u001a\"\u00020\u00192\u00020\u0019¨\u0006\u001b"}, d2 = {"Landroidx/fragment/app/K;", "Lo0/v;", "findRootNavController", "(Landroidx/fragment/app/K;)Lo0/v;", "Lg/k;", "(Lg/k;)Lo0/v;", "", "T", "", "key", "Landroidx/lifecycle/J;", "lifecycleOwner", "Lkotlin/Function1;", "", "callback", "onDestinationResult", "(Lo0/v;Ljava/lang/String;Landroidx/lifecycle/J;Lkotlin/jvm/functions/Function1;)V", "value", "setDestinationResult", "(Lo0/v;Ljava/lang/String;Ljava/lang/Object;)V", "", "popBackStackWithResult", "(Lo0/v;Ljava/lang/String;Ljava/lang/Object;)Z", "Lcom/adif/elcanomovil/main/BottomNavFragmentDirections;", "FromBottomNav", "Lcom/adif/elcanomovil/commonNavGraph/MainNavigationDirections;", "FromMainNav", "common-nav-graph_proNon_corporateRelease"}, k = 2, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public final class NavigationExtensionsKt {
public static final AbstractC0544v findRootNavController(K k4) {
Intrinsics.checkNotNullParameter(k4, "<this>");
AbstractC0158l0 supportFragmentManager = k4.requireActivity().getSupportFragmentManager();
Intrinsics.checkNotNullExpressionValue(supportFragmentManager, "getSupportFragmentManager(...)");
String string = k4.getString(R.string.rootNavHostFragment);
Intrinsics.checkNotNullExpressionValue(string, "getString(...)");
K F3 = supportFragmentManager.F(string);
Intrinsics.checkNotNull(F3, "null cannot be cast to non-null type androidx.navigation.fragment.NavHostFragment");
return ((NavHostFragment) F3).f();
}
/* JADX WARN: Type inference failed for: r3v5, types: [androidx.lifecycle.m0, androidx.lifecycle.Q] */
/* JADX WARN: Type inference failed for: r4v2, types: [androidx.lifecycle.m0, androidx.lifecycle.Q] */
public static final <T> void onDestinationResult(AbstractC0544v abstractC0544v, String key, J lifecycleOwner, Function1<? super T, Unit> callback) {
n0 n0Var;
Intrinsics.checkNotNullParameter(abstractC0544v, "<this>");
Intrinsics.checkNotNullParameter(key, "key");
Intrinsics.checkNotNullParameter(lifecycleOwner, "lifecycleOwner");
Intrinsics.checkNotNullParameter(callback, "callback");
C0537n c0537n = (C0537n) abstractC0544v.f8054g.lastOrNull();
if (c0537n == null || (n0Var = (n0) c0537n.f8014l.getValue()) == null) {
return;
}
Intrinsics.checkNotNullParameter(key, "key");
LinkedHashMap linkedHashMap = n0Var.f3406c;
Object obj = linkedHashMap.get(key);
X x3 = obj instanceof X ? (X) obj : null;
if (x3 == null) {
LinkedHashMap linkedHashMap2 = n0Var.f3404a;
if (linkedHashMap2.containsKey(key)) {
Object obj2 = linkedHashMap2.get(key);
Intrinsics.checkNotNullParameter(key, "key");
?? q4 = new Q(obj2);
q4.f3401l = key;
q4.f3402m = n0Var;
x3 = q4;
} else {
Intrinsics.checkNotNullParameter(key, "key");
?? q5 = new Q();
q5.f3401l = key;
q5.f3402m = n0Var;
x3 = q5;
}
linkedHashMap.put(key, x3);
}
Intrinsics.checkNotNull(x3, "null cannot be cast to non-null type androidx.lifecycle.MutableLiveData<T of androidx.lifecycle.SavedStateHandle.getLiveData>");
x3.e(lifecycleOwner, new C0191l(new j(callback, abstractC0544v, key, 3)));
}
public static final <T> boolean popBackStackWithResult(AbstractC0544v abstractC0544v, String key, T t2) {
Intrinsics.checkNotNullParameter(abstractC0544v, "<this>");
Intrinsics.checkNotNullParameter(key, "key");
setDestinationResult(abstractC0544v, key, t2);
return abstractC0544v.q();
}
public static final <T> void setDestinationResult(AbstractC0544v abstractC0544v, String key, T t2) {
n0 n0Var;
Intrinsics.checkNotNullParameter(abstractC0544v, "<this>");
Intrinsics.checkNotNullParameter(key, "key");
C0537n k4 = abstractC0544v.k();
if (k4 == null || (n0Var = (n0) k4.f8014l.getValue()) == null) {
return;
}
n0Var.d(t2, key);
}
public static final AbstractC0544v findRootNavController(AbstractActivityC0364k abstractActivityC0364k) {
Intrinsics.checkNotNullParameter(abstractActivityC0364k, "<this>");
String string = abstractActivityC0364k.getString(R.string.rootNavHostFragment);
Intrinsics.checkNotNullExpressionValue(string, "getString(...)");
K F3 = abstractActivityC0364k.getSupportFragmentManager().F(string);
Intrinsics.checkNotNull(F3, "null cannot be cast to non-null type androidx.navigation.fragment.NavHostFragment");
return ((NavHostFragment) F3).f();
}
}

View File

@@ -0,0 +1,158 @@
package com.adif.elcanomovil.commonNavGraph;
import C.w;
import android.os.Bundle;
import com.google.android.gms.measurement.api.AppMeasurementSdk;
import com.google.firebase.analytics.FirebaseAnalytics;
import java.util.Arrays;
import kotlin.jvm.internal.Intrinsics;
import o0.F;
/* loaded from: classes.dex */
public final class f implements F {
/* renamed from: a, reason: collision with root package name */
public final String f4424a;
/* renamed from: b, reason: collision with root package name */
public final String f4425b;
/* renamed from: c, reason: collision with root package name */
public final String f4426c;
/* renamed from: d, reason: collision with root package name */
public final String f4427d;
/* renamed from: e, reason: collision with root package name */
public final boolean f4428e;
/* renamed from: f, reason: collision with root package name */
public final String[] f4429f;
/* renamed from: g, reason: collision with root package name */
public final String f4430g;
public final String[] h;
public final String i;
/* renamed from: j, reason: collision with root package name */
public final String f4431j;
/* renamed from: k, reason: collision with root package name */
public final String f4432k;
/* renamed from: l, reason: collision with root package name */
public final String f4433l;
/* renamed from: m, reason: collision with root package name */
public final String f4434m;
/* renamed from: n, reason: collision with root package name */
public final int f4435n = R.id.to_stations_alertDialog;
public f(String str, String str2, String str3, String str4, boolean z3, String[] strArr, String str5, String[] strArr2, String str6, String str7, String str8, String str9, String str10) {
this.f4424a = str;
this.f4425b = str2;
this.f4426c = str3;
this.f4427d = str4;
this.f4428e = z3;
this.f4429f = strArr;
this.f4430g = str5;
this.h = strArr2;
this.i = str6;
this.f4431j = str7;
this.f4432k = str8;
this.f4433l = str9;
this.f4434m = str10;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof f)) {
return false;
}
f fVar = (f) obj;
return Intrinsics.areEqual(this.f4424a, fVar.f4424a) && Intrinsics.areEqual(this.f4425b, fVar.f4425b) && Intrinsics.areEqual(this.f4426c, fVar.f4426c) && Intrinsics.areEqual(this.f4427d, fVar.f4427d) && this.f4428e == fVar.f4428e && Intrinsics.areEqual(this.f4429f, fVar.f4429f) && Intrinsics.areEqual(this.f4430g, fVar.f4430g) && Intrinsics.areEqual(this.h, fVar.h) && Intrinsics.areEqual(this.i, fVar.i) && Intrinsics.areEqual(this.f4431j, fVar.f4431j) && Intrinsics.areEqual(this.f4432k, fVar.f4432k) && Intrinsics.areEqual(this.f4433l, fVar.f4433l) && Intrinsics.areEqual(this.f4434m, fVar.f4434m);
}
@Override // o0.F
public final int getActionId() {
return this.f4435n;
}
@Override // o0.F
public final Bundle getArguments() {
Bundle bundle = new Bundle();
bundle.putString("logo", this.f4424a);
bundle.putString(AppMeasurementSdk.ConditionalUserProperty.NAME, this.f4425b);
bundle.putString("phone", this.f4426c);
bundle.putString("description", this.f4427d);
bundle.putBoolean("accessible", this.f4428e);
bundle.putStringArray("payment_way", this.f4429f);
bundle.putString("offer", this.f4430g);
bundle.putStringArray("correspondences", this.h);
bundle.putString("web", this.i);
bundle.putString(FirebaseAnalytics.Param.LOCATION, this.f4431j);
bundle.putString("accessible_label", this.f4432k);
bundle.putString("opening_hours", this.f4433l);
bundle.putString("play_store", this.f4434m);
return bundle;
}
public final int hashCode() {
String str = this.f4424a;
int hashCode = (str == null ? 0 : str.hashCode()) * 31;
String str2 = this.f4425b;
int hashCode2 = (hashCode + (str2 == null ? 0 : str2.hashCode())) * 31;
String str3 = this.f4426c;
int hashCode3 = (hashCode2 + (str3 == null ? 0 : str3.hashCode())) * 31;
String str4 = this.f4427d;
int c4 = w.c((hashCode3 + (str4 == null ? 0 : str4.hashCode())) * 31, 31, this.f4428e);
String[] strArr = this.f4429f;
int hashCode4 = (c4 + (strArr == null ? 0 : Arrays.hashCode(strArr))) * 31;
String str5 = this.f4430g;
int hashCode5 = (hashCode4 + (str5 == null ? 0 : str5.hashCode())) * 31;
String[] strArr2 = this.h;
int hashCode6 = (hashCode5 + (strArr2 == null ? 0 : Arrays.hashCode(strArr2))) * 31;
String str6 = this.i;
int hashCode7 = (hashCode6 + (str6 == null ? 0 : str6.hashCode())) * 31;
String str7 = this.f4431j;
int hashCode8 = (hashCode7 + (str7 == null ? 0 : str7.hashCode())) * 31;
String str8 = this.f4432k;
int hashCode9 = (hashCode8 + (str8 == null ? 0 : str8.hashCode())) * 31;
String str9 = this.f4433l;
int hashCode10 = (hashCode9 + (str9 == null ? 0 : str9.hashCode())) * 31;
String str10 = this.f4434m;
return hashCode10 + (str10 != null ? str10.hashCode() : 0);
}
public final String toString() {
StringBuilder sb = new StringBuilder("ToStationsAlertDialog(logo=");
sb.append(this.f4424a);
sb.append(", name=");
sb.append(this.f4425b);
sb.append(", phone=");
sb.append(this.f4426c);
sb.append(", description=");
sb.append(this.f4427d);
sb.append(", accessible=");
sb.append(this.f4428e);
sb.append(", paymentWay=");
sb.append(Arrays.toString(this.f4429f));
sb.append(", offer=");
sb.append(this.f4430g);
sb.append(", correspondences=");
sb.append(Arrays.toString(this.h));
sb.append(", web=");
sb.append(this.i);
sb.append(", location=");
sb.append(this.f4431j);
sb.append(", accessibleLabel=");
sb.append(this.f4432k);
sb.append(", openingHours=");
sb.append(this.f4433l);
sb.append(", playStore=");
return com.google.android.gms.measurement.internal.a.n(sb, this.f4434m, ')');
}
}

View File

@@ -0,0 +1,48 @@
package com.adif.elcanomovil.commonNavGraph;
import android.os.Bundle;
import kotlin.jvm.internal.Intrinsics;
import o0.F;
/* loaded from: classes.dex */
public final class g implements F {
/* renamed from: a, reason: collision with root package name */
public final String f4436a;
/* renamed from: b, reason: collision with root package name */
public final int f4437b;
public g(String observation) {
Intrinsics.checkNotNullParameter(observation, "observation");
this.f4436a = observation;
this.f4437b = R.id.to_trainObservationBottomSheet;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
return (obj instanceof g) && Intrinsics.areEqual(this.f4436a, ((g) obj).f4436a);
}
@Override // o0.F
public final int getActionId() {
return this.f4437b;
}
@Override // o0.F
public final Bundle getArguments() {
Bundle bundle = new Bundle();
bundle.putString("observation", this.f4436a);
return bundle;
}
public final int hashCode() {
return this.f4436a.hashCode();
}
public final String toString() {
return com.google.android.gms.measurement.internal.a.n(new StringBuilder("ToTrainObservationBottomSheet(observation="), this.f4436a, ')');
}
}

View File

@@ -0,0 +1,41 @@
package com.adif.elcanomovil.commonNavGraph.navigation;
import android.net.Uri;
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
@Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\f\n\u0002\u0018\u0002\n\u0002\b\u0003\\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u000e\u0010\u0010\u001a\u00020\u00112\u0006\u0010\u0012\u001a\u00020\u0004J\u000e\u0010\u0013\u001a\u00020\u00112\u0006\u0010\u0012\u001a\u00020\u0004R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082T¢\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u000e\u0010\u0006\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\u0004X\u0082T¢\u0006\u0002\n\u0000R\u000e\u0010\b\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u000e\u0010\t\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u000e\u0010\n\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u000e\u0010\u000b\u001a\u00020\u0004X\u0082T¢\u0006\u0002\n\u0000R\u000e\u0010\f\u001a\u00020\u0004X\u0082T¢\u0006\u0002\n\u0000R\u000e\u0010\r\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u000e\u0010\u000e\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000R\u000e\u0010\u000f\u001a\u00020\u0004X\u0082T¢\u0006\u0002\n\u0000¨\u0006\u0014"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/navigation/DeeplinkRoutes;", "", "()V", "authority", "", "avisa", "avisaIncidenceDetails", "base", NavArguments.ARG_DYNAMIC_DEPARTURES, "favourites", "home", "scheme", "selectTrainPath", "stations", DeeplinkRoutes.trainDetailsPath, "trainDetailsPath", "getSelectTrainLink", "Landroid/net/Uri;", NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER, "getTrainDetailsLink", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public final class DeeplinkRoutes {
public static final DeeplinkRoutes INSTANCE = new DeeplinkRoutes();
private static final String authority = "app";
public static final String avisa = "adifmovil://app/avisa";
public static final String avisaIncidenceDetails = "adifmovil://app/avisaIncidenceDetails";
private static final String base = "adifmovil://app/";
public static final String departures = "adifmovil://app/departures";
public static final String favourites = "adifmovil://app/favourites";
public static final String home = "adifmovil://app/home";
private static final String scheme = "adifmovil";
private static final String selectTrainPath = "selectTrain";
public static final String stations = "adifmovil://app/station";
public static final String trainDetails = "adifmovil://app/trainDetails";
private static final String trainDetailsPath = "trainDetails";
private DeeplinkRoutes() {
}
public final Uri getSelectTrainLink(String commercialNumber) {
Intrinsics.checkNotNullParameter(commercialNumber, "commercialNumber");
Uri build = new Uri.Builder().scheme(scheme).authority(authority).appendPath(selectTrainPath).appendQueryParameter(NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER, commercialNumber).appendQueryParameter("result_name", NavArguments.RESULT_TRAIN).build();
Intrinsics.checkNotNullExpressionValue(build, "build(...)");
return build;
}
public final Uri getTrainDetailsLink(String commercialNumber) {
Intrinsics.checkNotNullParameter(commercialNumber, "commercialNumber");
Uri build = new Uri.Builder().scheme(scheme).authority(authority).appendPath(trainDetailsPath).appendQueryParameter(NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER, commercialNumber).appendQueryParameter(NavArguments.ARG_DYNAMIC_LINKS_STATION_CODE, null).appendQueryParameter(NavArguments.ARG_DYNAMIC_LINKS_STATION_TO_CODE, null).appendQueryParameter(NavArguments.ARG_DYNAMIC_LINKS_LAUNCHDATE, null).appendQueryParameter("observation", null).build();
Intrinsics.checkNotNullExpressionValue(build, "build(...)");
return build;
}
}

View File

@@ -0,0 +1,117 @@
package com.adif.elcanomovil.commonNavGraph.navigation;
import android.net.Uri;
import com.google.android.gms.measurement.internal.a;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
@Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b6\u0018\u00002\u00020\u0001:\u0002\u0003\u0004B\u0007\b\u0004¢\u0006\u0002\u0010\u0002\u0082\u0001\u0002\u0005\u0006¨\u0006\u0007"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/navigation/IntentAction;", "", "()V", "Send", "View", "Lcom/adif/elcanomovil/commonNavGraph/navigation/IntentAction$Send;", "Lcom/adif/elcanomovil/commonNavGraph/navigation/IntentAction$View;", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public abstract class IntentAction {
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0006\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\t\u0010\u0007\u001a\u00020\u0003HÆ\u0003J\u0013\u0010\b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\t\u001a\u00020\n2\b\u0010\u000b\u001a\u0004\u0018\u00010\fHÖ\u0003J\t\u0010\r\u001a\u00020\u000eHÖ\u0001J\t\u0010\u000f\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0010"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/navigation/IntentAction$Send;", "Lcom/adif/elcanomovil/commonNavGraph/navigation/IntentAction;", "message", "", "(Ljava/lang/String;)V", "getMessage", "()Ljava/lang/String;", "component1", "copy", "equals", "", "other", "", "hashCode", "", "toString", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final /* data */ class Send extends IntentAction {
private final String message;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public Send(String message) {
super(null);
Intrinsics.checkNotNullParameter(message, "message");
this.message = message;
}
public static /* synthetic */ Send copy$default(Send send, String str, int i, Object obj) {
if ((i & 1) != 0) {
str = send.message;
}
return send.copy(str);
}
/* renamed from: component1, reason: from getter */
public final String getMessage() {
return this.message;
}
public final Send copy(String message) {
Intrinsics.checkNotNullParameter(message, "message");
return new Send(message);
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
return (other instanceof Send) && Intrinsics.areEqual(this.message, ((Send) other).message);
}
public final String getMessage() {
return this.message;
}
public int hashCode() {
return this.message.hashCode();
}
public String toString() {
return a.n(new StringBuilder("Send(message="), this.message, ')');
}
}
@Metadata(d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0086\b\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\t\u0010\u0007\u001a\u00020\u0003HÆ\u0003J\u0013\u0010\b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\t\u001a\u00020\n2\b\u0010\u000b\u001a\u0004\u0018\u00010\fHÖ\u0003J\t\u0010\r\u001a\u00020\u000eHÖ\u0001J\t\u0010\u000f\u001a\u00020\u0010HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0011"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/navigation/IntentAction$View;", "Lcom/adif/elcanomovil/commonNavGraph/navigation/IntentAction;", "uri", "Landroid/net/Uri;", "(Landroid/net/Uri;)V", "getUri", "()Landroid/net/Uri;", "component1", "copy", "equals", "", "other", "", "hashCode", "", "toString", "", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final /* data */ class View extends IntentAction {
private final Uri uri;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public View(Uri uri) {
super(null);
Intrinsics.checkNotNullParameter(uri, "uri");
this.uri = uri;
}
public static /* synthetic */ View copy$default(View view, Uri uri, int i, Object obj) {
if ((i & 1) != 0) {
uri = view.uri;
}
return view.copy(uri);
}
/* renamed from: component1, reason: from getter */
public final Uri getUri() {
return this.uri;
}
public final View copy(Uri uri) {
Intrinsics.checkNotNullParameter(uri, "uri");
return new View(uri);
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
return (other instanceof View) && Intrinsics.areEqual(this.uri, ((View) other).uri);
}
public final Uri getUri() {
return this.uri;
}
public int hashCode() {
return this.uri.hashCode();
}
public String toString() {
return "View(uri=" + this.uri + ')';
}
}
public /* synthetic */ IntentAction(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private IntentAction() {
}
}

View File

@@ -0,0 +1,250 @@
package com.adif.elcanomovil.commonNavGraph.navigation;
import com.adif.elcanomovil.commonNavGraph.arguments.BottomNavInitialTab;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import o0.F;
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b6\u0018\u00002\u00020\u0001:\u0006\u0003\u0004\u0005\u0006\u0007\bB\u0007\b\u0004¢\u0006\u0002\u0010\u0002\u0082\u0001\u0006\t\n\u000b\f\r\u000e¨\u0006\u000f"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation;", "", "()V", "Back", "BackWithResult", "Direction", "Intent", "RootDirection", "TabDirection", "Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation$Back;", "Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation$BackWithResult;", "Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation$Direction;", "Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation$Intent;", "Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation$RootDirection;", "Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation$TabDirection;", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public abstract class Navigation {
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002¨\u0006\u0003"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation$Back;", "Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation;", "()V", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final class Back extends Navigation {
public static final Back INSTANCE = new Back();
private Back() {
super(null);
}
}
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\b\u0018\u0000*\u0004\b\u0000\u0010\u00012\u00020\u0002B\u0015\u0012\u0006\u0010\u0003\u001a\u00020\u0004\u0012\u0006\u0010\u0005\u001a\u00028\u0000¢\u0006\u0002\u0010\u0006R\u0011\u0010\u0003\u001a\u00020\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0013\u0010\u0005\u001a\u00028\u0000¢\u0006\n\n\u0002\u0010\u000b\u001a\u0004\b\t\u0010\\u0006\f"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation$BackWithResult;", "T", "Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation;", "key", "", "value", "(Ljava/lang/String;Ljava/lang/Object;)V", "getKey", "()Ljava/lang/String;", "getValue", "()Ljava/lang/Object;", "Ljava/lang/Object;", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final class BackWithResult<T> extends Navigation {
private final String key;
private final T value;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public BackWithResult(String key, T t2) {
super(null);
Intrinsics.checkNotNullParameter(key, "key");
this.key = key;
this.value = t2;
}
public final String getKey() {
return this.key;
}
public final T getValue() {
return this.value;
}
}
@Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\n\u0018\u00002\u00020\u0001B\u001b\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u0004¢\u0006\u0004\b\u0006\u0010\u0007R\u0017\u0010\u0003\u001a\u00020\u00028\u0006¢\u0006\f\n\u0004\b\u0003\u0010\b\u001a\u0004\b\t\u0010\nR\u0019\u0010\u0005\u001a\u0004\u0018\u00010\u00048\u0006¢\u0006\f\n\u0004\b\u0005\u0010\u000b\u001a\u0004\b\f\u0010\\u0006\u000e"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation$Direction;", "Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation;", "Lo0/F;", "navDirections", "", "currentFragmentId", "<init>", "(Lo0/F;Ljava/lang/Integer;)V", "Lo0/F;", "getNavDirections", "()Lo0/F;", "Ljava/lang/Integer;", "getCurrentFragmentId", "()Ljava/lang/Integer;", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final class Direction extends Navigation {
private final Integer currentFragmentId;
private final F navDirections;
public /* synthetic */ Direction(F f2, Integer num, int i, DefaultConstructorMarker defaultConstructorMarker) {
this(f2, (i & 2) != 0 ? null : num);
}
public final Integer getCurrentFragmentId() {
return this.currentFragmentId;
}
public final F getNavDirections() {
return this.navDirections;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public Direction(F navDirections, Integer num) {
super(null);
Intrinsics.checkNotNullParameter(navDirections, "navDirections");
this.navDirections = navDirections;
this.currentFragmentId = num;
}
}
@Metadata(d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0086\b\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\t\u0010\u0007\u001a\u00020\u0003HÆ\u0003J\u0013\u0010\b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\t\u001a\u00020\n2\b\u0010\u000b\u001a\u0004\u0018\u00010\fHÖ\u0003J\t\u0010\r\u001a\u00020\u000eHÖ\u0001J\t\u0010\u000f\u001a\u00020\u0010HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0011"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation$Intent;", "Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation;", "action", "Lcom/adif/elcanomovil/commonNavGraph/navigation/IntentAction;", "(Lcom/adif/elcanomovil/commonNavGraph/navigation/IntentAction;)V", "getAction", "()Lcom/adif/elcanomovil/commonNavGraph/navigation/IntentAction;", "component1", "copy", "equals", "", "other", "", "hashCode", "", "toString", "", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final /* data */ class Intent extends Navigation {
private final IntentAction action;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public Intent(IntentAction action) {
super(null);
Intrinsics.checkNotNullParameter(action, "action");
this.action = action;
}
public static /* synthetic */ Intent copy$default(Intent intent, IntentAction intentAction, int i, Object obj) {
if ((i & 1) != 0) {
intentAction = intent.action;
}
return intent.copy(intentAction);
}
/* renamed from: component1, reason: from getter */
public final IntentAction getAction() {
return this.action;
}
public final Intent copy(IntentAction action) {
Intrinsics.checkNotNullParameter(action, "action");
return new Intent(action);
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
return (other instanceof Intent) && Intrinsics.areEqual(this.action, ((Intent) other).action);
}
public final IntentAction getAction() {
return this.action;
}
public int hashCode() {
return this.action.hashCode();
}
public String toString() {
return "Intent(action=" + this.action + ')';
}
}
@Metadata(d1 = {"\u0000,\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\t\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0007\b\u0086\b\u0018\u00002\u00020\u0001B\u001b\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u0004¢\u0006\u0004\b\u0006\u0010\u0007J\u0010\u0010\b\u001a\u00020\u0002HÆ\u0003¢\u0006\u0004\b\b\u0010\tJ\u0012\u0010\n\u001a\u0004\u0018\u00010\u0004HÆ\u0003¢\u0006\u0004\b\n\u0010\u000bJ&\u0010\f\u001a\u00020\u00002\b\b\u0002\u0010\u0003\u001a\u00020\u00022\n\b\u0002\u0010\u0005\u001a\u0004\u0018\u00010\u0004HÆ\u0001¢\u0006\u0004\b\f\u0010\rJ\u0010\u0010\u000f\u001a\u00020\u000eHÖ\u0001¢\u0006\u0004\b\u000f\u0010\u0010J\u0010\u0010\u0011\u001a\u00020\u0004HÖ\u0001¢\u0006\u0004\b\u0011\u0010\u0012J\u001a\u0010\u0016\u001a\u00020\u00152\b\u0010\u0014\u001a\u0004\u0018\u00010\u0013HÖ\u0003¢\u0006\u0004\b\u0016\u0010\u0017R\u0017\u0010\u0003\u001a\u00020\u00028\u0006¢\u0006\f\n\u0004\b\u0003\u0010\u0018\u001a\u0004\b\u0019\u0010\tR\u0019\u0010\u0005\u001a\u0004\u0018\u00010\u00048\u0006¢\u0006\f\n\u0004\b\u0005\u0010\u001a\u001a\u0004\b\u001b\u0010\u000b¨\u0006\u001c"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation$RootDirection;", "Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation;", "Lo0/F;", "navDirections", "", "currentFragmentId", "<init>", "(Lo0/F;Ljava/lang/Integer;)V", "component1", "()Lo0/F;", "component2", "()Ljava/lang/Integer;", "copy", "(Lo0/F;Ljava/lang/Integer;)Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation$RootDirection;", "", "toString", "()Ljava/lang/String;", "hashCode", "()I", "", "other", "", "equals", "(Ljava/lang/Object;)Z", "Lo0/F;", "getNavDirections", "Ljava/lang/Integer;", "getCurrentFragmentId", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final /* data */ class RootDirection extends Navigation {
private final Integer currentFragmentId;
private final F navDirections;
public /* synthetic */ RootDirection(F f2, Integer num, int i, DefaultConstructorMarker defaultConstructorMarker) {
this(f2, (i & 2) != 0 ? null : num);
}
public static /* synthetic */ RootDirection copy$default(RootDirection rootDirection, F f2, Integer num, int i, Object obj) {
if ((i & 1) != 0) {
f2 = rootDirection.navDirections;
}
if ((i & 2) != 0) {
num = rootDirection.currentFragmentId;
}
return rootDirection.copy(f2, num);
}
/* renamed from: component1, reason: from getter */
public final F getNavDirections() {
return this.navDirections;
}
/* renamed from: component2, reason: from getter */
public final Integer getCurrentFragmentId() {
return this.currentFragmentId;
}
public final RootDirection copy(F navDirections, Integer currentFragmentId) {
Intrinsics.checkNotNullParameter(navDirections, "navDirections");
return new RootDirection(navDirections, currentFragmentId);
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof RootDirection)) {
return false;
}
RootDirection rootDirection = (RootDirection) other;
return Intrinsics.areEqual(this.navDirections, rootDirection.navDirections) && Intrinsics.areEqual(this.currentFragmentId, rootDirection.currentFragmentId);
}
public final Integer getCurrentFragmentId() {
return this.currentFragmentId;
}
public final F getNavDirections() {
return this.navDirections;
}
public int hashCode() {
int hashCode = this.navDirections.hashCode() * 31;
Integer num = this.currentFragmentId;
return hashCode + (num == null ? 0 : num.hashCode());
}
public String toString() {
return "RootDirection(navDirections=" + this.navDirections + ", currentFragmentId=" + this.currentFragmentId + ')';
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public RootDirection(F navDirections, Integer num) {
super(null);
Intrinsics.checkNotNullParameter(navDirections, "navDirections");
this.navDirections = navDirections;
this.currentFragmentId = num;
}
}
@Metadata(d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u000e\n\u0000\b\u0086\b\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\t\u0010\u0007\u001a\u00020\u0003HÆ\u0003J\u0013\u0010\b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\t\u001a\u00020\n2\b\u0010\u000b\u001a\u0004\u0018\u00010\fHÖ\u0003J\t\u0010\r\u001a\u00020\u000eHÖ\u0001J\t\u0010\u000f\u001a\u00020\u0010HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0011"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation$TabDirection;", "Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation;", "initialTab", "Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab;", "(Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab;)V", "getInitialTab", "()Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab;", "component1", "copy", "equals", "", "other", "", "hashCode", "", "toString", "", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final /* data */ class TabDirection extends Navigation {
private final BottomNavInitialTab initialTab;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public TabDirection(BottomNavInitialTab initialTab) {
super(null);
Intrinsics.checkNotNullParameter(initialTab, "initialTab");
this.initialTab = initialTab;
}
public static /* synthetic */ TabDirection copy$default(TabDirection tabDirection, BottomNavInitialTab bottomNavInitialTab, int i, Object obj) {
if ((i & 1) != 0) {
bottomNavInitialTab = tabDirection.initialTab;
}
return tabDirection.copy(bottomNavInitialTab);
}
/* renamed from: component1, reason: from getter */
public final BottomNavInitialTab getInitialTab() {
return this.initialTab;
}
public final TabDirection copy(BottomNavInitialTab initialTab) {
Intrinsics.checkNotNullParameter(initialTab, "initialTab");
return new TabDirection(initialTab);
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
return (other instanceof TabDirection) && Intrinsics.areEqual(this.initialTab, ((TabDirection) other).initialTab);
}
public final BottomNavInitialTab getInitialTab() {
return this.initialTab;
}
public int hashCode() {
return this.initialTab.hashCode();
}
public String toString() {
return "TabDirection(initialTab=" + this.initialTab + ')';
}
}
public /* synthetic */ Navigation(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Navigation() {
}
}

View File

@@ -0,0 +1,168 @@
package com.adif.elcanomovil.commonNavGraph.navigation;
import C.w;
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
import com.google.android.gms.measurement.api.AppMeasurementSdk;
import com.google.firebase.messaging.Constants;
import kotlin.Metadata;
import kotlin.enums.EnumEntries;
import kotlin.enums.EnumEntriesKt;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\b\n\u0002\b\u000f\n\u0002\u0010\u000b\n\u0002\b\u0006\b\u0086\b\u0018\u0000 \u001a2\u00020\u0001:\u0002\u0019\u001aB\u001f\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0005¢\u0006\u0002\u0010\u0007J\t\u0010\u000f\u001a\u00020\u0003HÆ\u0003J\u0010\u0010\u0010\u001a\u0004\u0018\u00010\u0005HÆ\u0003¢\u0006\u0002\u0010\tJ\t\u0010\u0011\u001a\u00020\u0005HÆ\u0003J.\u0010\u0012\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\n\b\u0002\u0010\u0004\u001a\u0004\u0018\u00010\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u0005HÆ\u0001¢\u0006\u0002\u0010\u0013J\u0013\u0010\u0014\u001a\u00020\u00152\b\u0010\u0016\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0017\u001a\u00020\u0005HÖ\u0001J\t\u0010\u0018\u001a\u00020\u0003HÖ\u0001R\u0015\u0010\u0004\u001a\u0004\u0018\u00010\u0005¢\u0006\n\n\u0002\u0010\n\u001a\u0004\b\b\u0010\tR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0011\u0010\u0006\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000e¨\u0006\u001b"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/navigation/NavigationEvent;", "", AppMeasurementSdk.ConditionalUserProperty.NAME, "", Constants.MessagePayloadKeys.FROM, "", "to", "(Ljava/lang/String;Ljava/lang/Integer;I)V", "getFrom", "()Ljava/lang/Integer;", "Ljava/lang/Integer;", "getName", "()Ljava/lang/String;", "getTo", "()I", "component1", "component2", "component3", "copy", "(Ljava/lang/String;Ljava/lang/Integer;I)Lcom/adif/elcanomovil/commonNavGraph/navigation/NavigationEvent;", "equals", "", "other", "hashCode", "toString", "BottomNavTab", "Companion", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public final /* data */ class NavigationEvent {
/* renamed from: Companion, reason: from kotlin metadata */
public static final Companion INSTANCE = new Companion(null);
public static final String SCHEMA = "navigation_event";
private final Integer from;
private final String name;
private final int to;
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
@Metadata(d1 = {"\u0000\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0000\n\u0002\u0010\b\n\u0002\b\b\b\u0086\u0081\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u000f\b\u0002\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006j\u0002\b\u0007j\u0002\b\bj\u0002\b\tj\u0002\b\\u0006\u000b"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/navigation/NavigationEvent$BottomNavTab;", "", NavArguments.ARG_TYPE_NOTIFICATION_JSON_MESSAGE_TRAIN, "", "(Ljava/lang/String;II)V", "getId", "()I", "Home", "Departures", "Station", "MoreAdif", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final class BottomNavTab {
private static final /* synthetic */ EnumEntries $ENTRIES;
private static final /* synthetic */ BottomNavTab[] $VALUES;
private final int id;
public static final BottomNavTab Home = new BottomNavTab("Home", 0, 1);
public static final BottomNavTab Departures = new BottomNavTab("Departures", 1, 2);
public static final BottomNavTab Station = new BottomNavTab("Station", 2, 3);
public static final BottomNavTab MoreAdif = new BottomNavTab("MoreAdif", 3, 4);
private static final /* synthetic */ BottomNavTab[] $values() {
return new BottomNavTab[]{Home, Departures, Station, MoreAdif};
}
static {
BottomNavTab[] $values = $values();
$VALUES = $values;
$ENTRIES = EnumEntriesKt.enumEntries($values);
}
private BottomNavTab(String str, int i, int i4) {
this.id = i4;
}
public static EnumEntries<BottomNavTab> getEntries() {
return $ENTRIES;
}
public static BottomNavTab valueOf(String str) {
return (BottomNavTab) Enum.valueOf(BottomNavTab.class, str);
}
public static BottomNavTab[] values() {
return (BottomNavTab[]) $VALUES.clone();
}
public final int getId() {
return this.id;
}
}
@Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u001a\u0010\u0005\u001a\u00020\u00062\n\b\u0002\u0010\u0007\u001a\u0004\u0018\u00010\b2\u0006\u0010\t\u001a\u00020\bR\u000e\u0010\u0003\u001a\u00020\u0004X\u0086T¢\u0006\u0002\n\u0000¨\u0006\n"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/navigation/NavigationEvent$Companion;", "", "()V", "SCHEMA", "", "onNavigationChanged", "Lcom/adif/elcanomovil/commonNavGraph/navigation/NavigationEvent;", Constants.MessagePayloadKeys.FROM, "Lcom/adif/elcanomovil/commonNavGraph/navigation/NavigationEvent$BottomNavTab;", "to", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
public static /* synthetic */ NavigationEvent onNavigationChanged$default(Companion companion, BottomNavTab bottomNavTab, BottomNavTab bottomNavTab2, int i, Object obj) {
if ((i & 1) != 0) {
bottomNavTab = null;
}
return companion.onNavigationChanged(bottomNavTab, bottomNavTab2);
}
public final NavigationEvent onNavigationChanged(BottomNavTab from, BottomNavTab to) {
Intrinsics.checkNotNullParameter(to, "to");
return new NavigationEvent("navigation_bar/tab_switched", from != null ? Integer.valueOf(from.getId()) : null, to.getId());
}
private Companion() {
}
}
public NavigationEvent(String name, Integer num, int i) {
Intrinsics.checkNotNullParameter(name, "name");
this.name = name;
this.from = num;
this.to = i;
}
public static /* synthetic */ NavigationEvent copy$default(NavigationEvent navigationEvent, String str, Integer num, int i, int i4, Object obj) {
if ((i4 & 1) != 0) {
str = navigationEvent.name;
}
if ((i4 & 2) != 0) {
num = navigationEvent.from;
}
if ((i4 & 4) != 0) {
i = navigationEvent.to;
}
return navigationEvent.copy(str, num, i);
}
/* renamed from: component1, reason: from getter */
public final String getName() {
return this.name;
}
/* renamed from: component2, reason: from getter */
public final Integer getFrom() {
return this.from;
}
/* renamed from: component3, reason: from getter */
public final int getTo() {
return this.to;
}
public final NavigationEvent copy(String name, Integer from, int to) {
Intrinsics.checkNotNullParameter(name, "name");
return new NavigationEvent(name, from, to);
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof NavigationEvent)) {
return false;
}
NavigationEvent navigationEvent = (NavigationEvent) other;
return Intrinsics.areEqual(this.name, navigationEvent.name) && Intrinsics.areEqual(this.from, navigationEvent.from) && this.to == navigationEvent.to;
}
public final Integer getFrom() {
return this.from;
}
public final String getName() {
return this.name;
}
public final int getTo() {
return this.to;
}
public int hashCode() {
int hashCode = this.name.hashCode() * 31;
Integer num = this.from;
return Integer.hashCode(this.to) + ((hashCode + (num == null ? 0 : num.hashCode())) * 31);
}
public String toString() {
StringBuilder sb = new StringBuilder("NavigationEvent(name=");
sb.append(this.name);
sb.append(", from=");
sb.append(this.from);
sb.append(", to=");
return w.p(sb, this.to, ')');
}
}

View File

@@ -0,0 +1,129 @@
package com.adif.elcanomovil.commonNavGraph.navigation;
import android.content.Intent;
import androidx.fragment.app.K;
import androidx.lifecycle.InterfaceC0200v;
import com.adif.elcanomovil.commonNavGraph.extensions.NavigationExtensionsKt;
import com.adif.elcanomovil.commonNavGraph.navigation.IntentAction;
import com.adif.elcanomovil.commonNavGraph.navigation.Navigation;
import com.adif.elcanomovil.commonNavGraph.viewmodel.TabNavigator;
import kotlin.Metadata;
import kotlin.NoWhenBranchMatchedException;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.SourceDebugExtension;
import m3.l;
import o0.AbstractC0544v;
import o0.E;
import o0.F;
@Metadata(d1 = {"\u0000N\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\u0018\u0002\n\u0002\b\u0007\u0018\u00002\u000e\u0012\u0004\u0012\u00020\u0002\u0012\u0004\u0012\u00020\u00030\u0001B\u000f\u0012\u0006\u0010\u0005\u001a\u00020\u0004¢\u0006\u0004\b\u0006\u0010\u0007J)\u0010\u000e\u001a\u00020\u00032\u0006\u0010\t\u001a\u00020\b2\u0006\u0010\u000b\u001a\u00020\n2\b\u0010\r\u001a\u0004\u0018\u00010\fH\u0002¢\u0006\u0004\b\u000e\u0010\u000fJ\u0017\u0010\u0012\u001a\u00020\u00032\u0006\u0010\u0011\u001a\u00020\u0010H\u0002¢\u0006\u0004\b\u0012\u0010\u0013J\u0017\u0010\u0017\u001a\u00020\u00162\u0006\u0010\u0015\u001a\u00020\u0014H\u0002¢\u0006\u0004\b\u0017\u0010\u0018J1\u0010\u001b\u001a\u00020\u00032\u0006\u0010\u0005\u001a\u00020\u00042\u0017\u0010\u001b\u001a\u0013\u0012\u0004\u0012\u00020\b\u0012\u0004\u0012\u00020\u00190\u0001¢\u0006\u0002\b\u001aH\u0082\\u0006\u0004\b\u001b\u0010\u001cJ\u0018\u0010\u001e\u001a\u00020\u00032\u0006\u0010\u001d\u001a\u00020\u0002H\u0096\u0002¢\u0006\u0004\b\u001e\u0010\u001fR\u0014\u0010\u0005\u001a\u00020\u00048\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0005\u0010 ¨\u0006!"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/navigation/NavigationHandler;", "Lkotlin/Function1;", "Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation;", "", "Landroidx/fragment/app/K;", "fragment", "<init>", "(Landroidx/fragment/app/K;)V", "Lo0/v;", "navController", "Lo0/F;", "navDirections", "", "currentExpectedFragmentId", "safeNavigate", "(Lo0/v;Lo0/F;Ljava/lang/Integer;)V", "Lcom/adif/elcanomovil/commonNavGraph/navigation/IntentAction;", "action", "handleIntent", "(Lcom/adif/elcanomovil/commonNavGraph/navigation/IntentAction;)V", "Lcom/adif/elcanomovil/commonNavGraph/navigation/IntentAction$Send;", "send", "Landroid/content/Intent;", "generateSendIntent", "(Lcom/adif/elcanomovil/commonNavGraph/navigation/IntentAction$Send;)Landroid/content/Intent;", "", "Lkotlin/ExtensionFunctionType;", "navigateBack", "(Landroidx/fragment/app/K;Lkotlin/jvm/functions/Function1;)V", "navigation", "invoke", "(Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation;)V", "Landroidx/fragment/app/K;", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
@SourceDebugExtension({"SMAP\nNavigationHandler.kt\nKotlin\n*S Kotlin\n*F\n+ 1 NavigationHandler.kt\ncom/adif/elcanomovil/commonNavGraph/navigation/NavigationHandler\n*L\n1#1,97:1\n89#1,7:98\n89#1,7:105\n*S KotlinDebug\n*F\n+ 1 NavigationHandler.kt\ncom/adif/elcanomovil/commonNavGraph/navigation/NavigationHandler\n*L\n15#1:98,7\n18#1:105,7\n*E\n"})
/* loaded from: classes.dex */
public final class NavigationHandler implements Function1<Navigation, Unit> {
private final K fragment;
public NavigationHandler(K fragment) {
Intrinsics.checkNotNullParameter(fragment, "fragment");
this.fragment = fragment;
}
private final Intent generateSendIntent(IntentAction.Send send) {
Intent intent = new Intent("android.intent.action.SEND");
intent.putExtra("android.intent.extra.TEXT", send.getMessage());
intent.putExtra("android.intent.extra.SUBJECT", send.getMessage());
intent.setType("text/plain");
return intent;
}
private final void handleIntent(IntentAction action) {
Intent generateSendIntent;
if (action instanceof IntentAction.View) {
generateSendIntent = new Intent("android.intent.action.VIEW", ((IntentAction.View) action).getUri());
} else {
if (!(action instanceof IntentAction.Send)) {
throw new NoWhenBranchMatchedException();
}
generateSendIntent = generateSendIntent((IntentAction.Send) action);
}
this.fragment.requireActivity().startActivity(generateSendIntent);
}
private final void navigateBack(K fragment, Function1<? super AbstractC0544v, Boolean> navigateBack) {
if (navigateBack.invoke(l.n(fragment)).booleanValue() || navigateBack.invoke(NavigationExtensionsKt.findRootNavController(fragment)).booleanValue()) {
return;
}
fragment.requireActivity().finishAfterTransition();
}
private final void safeNavigate(AbstractC0544v navController, F navDirections, Integer currentExpectedFragmentId) {
E g4 = l.n(this.fragment).g();
Integer valueOf = g4 != null ? Integer.valueOf(g4.h) : null;
if (currentExpectedFragmentId == null) {
navController.p(navDirections);
} else if (Intrinsics.areEqual(valueOf, currentExpectedFragmentId)) {
navController.p(navDirections);
}
}
@Override // kotlin.jvm.functions.Function1
public /* bridge */ /* synthetic */ Unit invoke(Navigation navigation) {
invoke2(navigation);
return Unit.INSTANCE;
}
/* renamed from: invoke, reason: avoid collision after fix types in other method */
public void invoke2(Navigation navigation) {
K parentFragment;
Intrinsics.checkNotNullParameter(navigation, "navigation");
if (Intrinsics.areEqual(navigation, Navigation.Back.INSTANCE)) {
K k4 = this.fragment;
if (l.n(k4).q() || NavigationExtensionsKt.findRootNavController(k4).q()) {
return;
}
k4.requireActivity().finishAfterTransition();
return;
}
if (navigation instanceof Navigation.BackWithResult) {
K k5 = this.fragment;
Navigation.BackWithResult backWithResult = (Navigation.BackWithResult) navigation;
if (NavigationExtensionsKt.popBackStackWithResult(l.n(k5), backWithResult.getKey(), backWithResult.getValue()) || NavigationExtensionsKt.popBackStackWithResult(NavigationExtensionsKt.findRootNavController(k5), backWithResult.getKey(), backWithResult.getValue())) {
return;
}
k5.requireActivity().finishAfterTransition();
return;
}
if (navigation instanceof Navigation.Direction) {
Navigation.Direction direction = (Navigation.Direction) navigation;
safeNavigate(l.n(this.fragment), direction.getNavDirections(), direction.getCurrentFragmentId());
return;
}
if (navigation instanceof Navigation.TabDirection) {
K parentFragment2 = this.fragment.getParentFragment();
TabNavigator tabNavigator = null;
InterfaceC0200v parentFragment3 = parentFragment2 != null ? parentFragment2.getParentFragment() : null;
TabNavigator tabNavigator2 = parentFragment3 instanceof TabNavigator ? (TabNavigator) parentFragment3 : null;
if (tabNavigator2 == null) {
K parentFragment4 = this.fragment.getParentFragment();
Object parentFragment5 = (parentFragment4 == null || (parentFragment = parentFragment4.getParentFragment()) == null) ? null : parentFragment.getParentFragment();
if (parentFragment5 instanceof TabNavigator) {
tabNavigator = (TabNavigator) parentFragment5;
}
} else {
tabNavigator = tabNavigator2;
}
if (tabNavigator != null) {
tabNavigator.navigateTo(((Navigation.TabDirection) navigation).getInitialTab());
return;
}
return;
}
if (navigation instanceof Navigation.RootDirection) {
Navigation.RootDirection rootDirection = (Navigation.RootDirection) navigation;
safeNavigate(NavigationExtensionsKt.findRootNavController(this.fragment), rootDirection.getNavDirections(), rootDirection.getCurrentFragmentId());
} else if (navigation instanceof Navigation.Intent) {
handleIntent(((Navigation.Intent) navigation).getAction());
}
}
}

View File

@@ -0,0 +1,201 @@
package com.adif.elcanomovil.commonNavGraph.navigation;
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
import com.adif.elcanomovil.serviceNetworking.ServicePaths;
import com.google.android.gms.measurement.internal.a;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b6\u0018\u00002\u00020\u0001:\u0003\u0003\u0004\u0005B\u0007\b\u0004¢\u0006\u0002\u0010\u0002\u0082\u0001\u0003\u0006\u0007\\u0006\t"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/navigation/NavigationIntentDestination;", "", "()V", "AvisaView", "RoutesView", "TrainView", "Lcom/adif/elcanomovil/commonNavGraph/navigation/NavigationIntentDestination$AvisaView;", "Lcom/adif/elcanomovil/commonNavGraph/navigation/NavigationIntentDestination$RoutesView;", "Lcom/adif/elcanomovil/commonNavGraph/navigation/NavigationIntentDestination$TrainView;", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public abstract class NavigationIntentDestination {
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0006\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\t\u0010\u0007\u001a\u00020\u0003HÆ\u0003J\u0013\u0010\b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\t\u001a\u00020\n2\b\u0010\u000b\u001a\u0004\u0018\u00010\fHÖ\u0003J\t\u0010\r\u001a\u00020\u000eHÖ\u0001J\t\u0010\u000f\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0010"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/navigation/NavigationIntentDestination$AvisaView;", "Lcom/adif/elcanomovil/commonNavGraph/navigation/NavigationIntentDestination;", ServicePaths.IncidenceService.pathIncidenceId, "", "(Ljava/lang/String;)V", "getIncidenceId", "()Ljava/lang/String;", "component1", "copy", "equals", "", "other", "", "hashCode", "", "toString", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final /* data */ class AvisaView extends NavigationIntentDestination {
private final String incidenceId;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public AvisaView(String incidenceId) {
super(null);
Intrinsics.checkNotNullParameter(incidenceId, "incidenceId");
this.incidenceId = incidenceId;
}
public static /* synthetic */ AvisaView copy$default(AvisaView avisaView, String str, int i, Object obj) {
if ((i & 1) != 0) {
str = avisaView.incidenceId;
}
return avisaView.copy(str);
}
/* renamed from: component1, reason: from getter */
public final String getIncidenceId() {
return this.incidenceId;
}
public final AvisaView copy(String incidenceId) {
Intrinsics.checkNotNullParameter(incidenceId, "incidenceId");
return new AvisaView(incidenceId);
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
return (other instanceof AvisaView) && Intrinsics.areEqual(this.incidenceId, ((AvisaView) other).incidenceId);
}
public final String getIncidenceId() {
return this.incidenceId;
}
public int hashCode() {
return this.incidenceId.hashCode();
}
public String toString() {
return a.n(new StringBuilder("AvisaView(incidenceId="), this.incidenceId, ')');
}
}
@Metadata(d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u000b\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\u001d\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006¢\u0006\u0002\u0010\u0007J\t\u0010\f\u001a\u00020\u0003HÆ\u0003J\t\u0010\r\u001a\u00020\u0003HÆ\u0003J\t\u0010\u000e\u001a\u00020\u0006HÆ\u0003J'\u0010\u000f\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00032\b\b\u0002\u0010\u0005\u001a\u00020\u0006HÆ\u0001J\u0013\u0010\u0010\u001a\u00020\u00062\b\u0010\u0011\u001a\u0004\u0018\u00010\u0012HÖ\u0003J\t\u0010\u0013\u001a\u00020\u0014HÖ\u0001J\t\u0010\u0015\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0004\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\b\u0010\tR\u0011\u0010\u0005\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\nR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\\u0006\u0016"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/navigation/NavigationIntentDestination$RoutesView;", "Lcom/adif/elcanomovil/commonNavGraph/navigation/NavigationIntentDestination;", "originStationId", "", "destinationStationId", "isCercanias", "", "(Ljava/lang/String;Ljava/lang/String;Z)V", "getDestinationStationId", "()Ljava/lang/String;", "()Z", "getOriginStationId", "component1", "component2", "component3", "copy", "equals", "other", "", "hashCode", "", "toString", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final /* data */ class RoutesView extends NavigationIntentDestination {
private final String destinationStationId;
private final boolean isCercanias;
private final String originStationId;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public RoutesView(String originStationId, String destinationStationId, boolean z3) {
super(null);
Intrinsics.checkNotNullParameter(originStationId, "originStationId");
Intrinsics.checkNotNullParameter(destinationStationId, "destinationStationId");
this.originStationId = originStationId;
this.destinationStationId = destinationStationId;
this.isCercanias = z3;
}
public static /* synthetic */ RoutesView copy$default(RoutesView routesView, String str, String str2, boolean z3, int i, Object obj) {
if ((i & 1) != 0) {
str = routesView.originStationId;
}
if ((i & 2) != 0) {
str2 = routesView.destinationStationId;
}
if ((i & 4) != 0) {
z3 = routesView.isCercanias;
}
return routesView.copy(str, str2, z3);
}
/* renamed from: component1, reason: from getter */
public final String getOriginStationId() {
return this.originStationId;
}
/* renamed from: component2, reason: from getter */
public final String getDestinationStationId() {
return this.destinationStationId;
}
/* renamed from: component3, reason: from getter */
public final boolean getIsCercanias() {
return this.isCercanias;
}
public final RoutesView copy(String originStationId, String destinationStationId, boolean isCercanias) {
Intrinsics.checkNotNullParameter(originStationId, "originStationId");
Intrinsics.checkNotNullParameter(destinationStationId, "destinationStationId");
return new RoutesView(originStationId, destinationStationId, isCercanias);
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof RoutesView)) {
return false;
}
RoutesView routesView = (RoutesView) other;
return Intrinsics.areEqual(this.originStationId, routesView.originStationId) && Intrinsics.areEqual(this.destinationStationId, routesView.destinationStationId) && this.isCercanias == routesView.isCercanias;
}
public final String getDestinationStationId() {
return this.destinationStationId;
}
public final String getOriginStationId() {
return this.originStationId;
}
public int hashCode() {
return Boolean.hashCode(this.isCercanias) + a.d(this.destinationStationId, this.originStationId.hashCode() * 31, 31);
}
public final boolean isCercanias() {
return this.isCercanias;
}
public String toString() {
return "RoutesView(originStationId=" + this.originStationId + ", destinationStationId=" + this.destinationStationId + ", isCercanias=" + this.isCercanias + ')';
}
}
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0006\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\b\u0086\b\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\t\u0010\u0007\u001a\u00020\u0003HÆ\u0003J\u0013\u0010\b\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u0003HÆ\u0001J\u0013\u0010\t\u001a\u00020\n2\b\u0010\u000b\u001a\u0004\u0018\u00010\fHÖ\u0003J\t\u0010\r\u001a\u00020\u000eHÖ\u0001J\t\u0010\u000f\u001a\u00020\u0003HÖ\u0001R\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0010"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/navigation/NavigationIntentDestination$TrainView;", "Lcom/adif/elcanomovil/commonNavGraph/navigation/NavigationIntentDestination;", NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER, "", "(Ljava/lang/String;)V", "getCommercialNumber", "()Ljava/lang/String;", "component1", "copy", "equals", "", "other", "", "hashCode", "", "toString", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public static final /* data */ class TrainView extends NavigationIntentDestination {
private final String commercialNumber;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public TrainView(String commercialNumber) {
super(null);
Intrinsics.checkNotNullParameter(commercialNumber, "commercialNumber");
this.commercialNumber = commercialNumber;
}
public static /* synthetic */ TrainView copy$default(TrainView trainView, String str, int i, Object obj) {
if ((i & 1) != 0) {
str = trainView.commercialNumber;
}
return trainView.copy(str);
}
/* renamed from: component1, reason: from getter */
public final String getCommercialNumber() {
return this.commercialNumber;
}
public final TrainView copy(String commercialNumber) {
Intrinsics.checkNotNullParameter(commercialNumber, "commercialNumber");
return new TrainView(commercialNumber);
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
return (other instanceof TrainView) && Intrinsics.areEqual(this.commercialNumber, ((TrainView) other).commercialNumber);
}
public final String getCommercialNumber() {
return this.commercialNumber;
}
public int hashCode() {
return this.commercialNumber.hashCode();
}
public String toString() {
return a.n(new StringBuilder("TrainView(commercialNumber="), this.commercialNumber, ')');
}
}
public /* synthetic */ NavigationIntentDestination(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private NavigationIntentDestination() {
}
}

View File

@@ -0,0 +1,150 @@
package com.adif.elcanomovil.commonNavGraph.navigation;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
import com.adif.elcanomovil.commonNavGraph.navigation.NavigationIntentDestination;
import dagger.hilt.android.qualifiers.ApplicationContext;
import javax.inject.Inject;
import javax.inject.Singleton;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
@Singleton
@Metadata(d1 = {"\u0000T\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0004\n\u0002\u0010\u000b\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0007\u0018\u0000 2\u00020\u0001:\u0001 B\u0011\b\u0007\u0012\b\b\u0001\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\u0012\u0010\u0005\u001a\u0004\u0018\u00010\u00062\u0006\u0010\u0007\u001a\u00020\bH\u0002J\u0018\u0010\t\u001a\u0004\u0018\u00010\n2\u0006\u0010\u000b\u001a\u00020\f2\u0006\u0010\u0007\u001a\u00020\bJ \u0010\r\u001a\u0004\u0018\u00010\u00062\u0006\u0010\u000e\u001a\u00020\b2\u0006\u0010\u000f\u001a\u00020\b2\u0006\u0010\u0010\u001a\u00020\u0011J(\u0010\u0012\u001a\u0004\u0018\u00010\n2\u0006\u0010\u000b\u001a\u00020\f2\u0006\u0010\u000e\u001a\u00020\b2\u0006\u0010\u000f\u001a\u00020\b2\u0006\u0010\u0010\u001a\u00020\u0011J\u0012\u0010\u0013\u001a\u0004\u0018\u00010\u00062\u0006\u0010\u0014\u001a\u00020\bH\u0002J\u0018\u0010\u0015\u001a\u0004\u0018\u00010\n2\u0006\u0010\u000b\u001a\u00020\f2\u0006\u0010\u0014\u001a\u00020\bJ\u0012\u0010\u0016\u001a\u0004\u0018\u00010\u00172\u0006\u0010\u0018\u001a\u00020\u0019H\u0002J\u0010\u0010\u001a\u001a\u0004\u0018\u00010\u001b2\u0006\u0010\u0018\u001a\u00020\u0019J\u0012\u0010\u001c\u001a\u0004\u0018\u00010\u001d2\u0006\u0010\u0018\u001a\u00020\u0019H\u0002J\u0012\u0010\u001e\u001a\u0004\u0018\u00010\u001f2\u0006\u0010\u0018\u001a\u00020\u0019H\u0002R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000¨\u0006!"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/navigation/NavigationIntents;", "", "context", "Landroid/content/Context;", "(Landroid/content/Context;)V", "createOpenAvisaViewIntent", "Landroid/content/Intent;", "incidenceId", "", "createOpenAvisaViewPendingIntent", "Landroid/app/PendingIntent;", "requestCode", "", "createOpenRoutesViewIntent", "originStationId", "destinationStationId", "isCercanias", "", "createOpenRoutesViewPendingIntent", "createOpenTrainViewIntent", NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER, "createOpenTrainViewPendingIntent", "decodeAvisaNotification", "Lcom/adif/elcanomovil/commonNavGraph/navigation/NavigationIntentDestination$AvisaView;", "bundle", "Landroid/os/Bundle;", "decodePayload", "Lcom/adif/elcanomovil/commonNavGraph/navigation/NavigationIntentDestination;", "decodeRouteNotification", "Lcom/adif/elcanomovil/commonNavGraph/navigation/NavigationIntentDestination$RoutesView;", "decodeTrainNotification", "Lcom/adif/elcanomovil/commonNavGraph/navigation/NavigationIntentDestination$TrainView;", "Companion", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public final class NavigationIntents {
private static final String NOTIFICATION_JSON_AVISA_ID = "incidenceId";
private static final String NOTIFICATION_JSON_MESSAGE_DESTINATIONID = "d";
private static final String NOTIFICATION_JSON_MESSAGE_IS_CERCANIAS = "ce";
private static final String NOTIFICATION_JSON_MESSAGE_STATIONID = "o";
private static final String NOTIFICATION_JSON_MESSAGE_TRAIN_NUMBER = "trainNumber";
private static final String NOTIFICATION_JSON_MESSAGE_TYPE_AVISA = "300";
private static final String NOTIFICATION_JSON_MESSAGE_TYPE_ROUTE = "103";
private static final String NOTIFICATION_JSON_MESSAGE_TYPE_TRAIN = "202";
private static final String NOTIFICATION_JSON_TYPE = "t";
private final Context context;
@Inject
public NavigationIntents(@ApplicationContext Context context) {
Intrinsics.checkNotNullParameter(context, "context");
this.context = context;
}
private final Intent createOpenAvisaViewIntent(String incidenceId) {
Intent launchIntentForPackage = this.context.getApplicationContext().getPackageManager().getLaunchIntentForPackage(this.context.getPackageName());
if (launchIntentForPackage == null) {
return null;
}
launchIntentForPackage.setFlags(268435456);
launchIntentForPackage.putExtra("incidenceId", incidenceId);
launchIntentForPackage.putExtra(NOTIFICATION_JSON_TYPE, "300");
return launchIntentForPackage;
}
private final Intent createOpenTrainViewIntent(String commercialNumber) {
Intent launchIntentForPackage = this.context.getApplicationContext().getPackageManager().getLaunchIntentForPackage(this.context.getPackageName());
if (launchIntentForPackage == null) {
return null;
}
launchIntentForPackage.setFlags(268435456);
launchIntentForPackage.putExtra(NOTIFICATION_JSON_MESSAGE_TRAIN_NUMBER, commercialNumber);
launchIntentForPackage.putExtra(NOTIFICATION_JSON_TYPE, NOTIFICATION_JSON_MESSAGE_TYPE_TRAIN);
return launchIntentForPackage;
}
private final NavigationIntentDestination.AvisaView decodeAvisaNotification(Bundle bundle) {
String string = bundle.getString("incidenceId");
if (string == null) {
return null;
}
return new NavigationIntentDestination.AvisaView(string);
}
private final NavigationIntentDestination.RoutesView decodeRouteNotification(Bundle bundle) {
String string;
String string2 = bundle.getString("o");
if (string2 == null || (string = bundle.getString("d")) == null) {
return null;
}
return new NavigationIntentDestination.RoutesView(string2, string, bundle.getBoolean("ce"));
}
private final NavigationIntentDestination.TrainView decodeTrainNotification(Bundle bundle) {
String string = bundle.getString(NOTIFICATION_JSON_MESSAGE_TRAIN_NUMBER);
if (string == null) {
return null;
}
return new NavigationIntentDestination.TrainView(string);
}
public final PendingIntent createOpenAvisaViewPendingIntent(int requestCode, String incidenceId) {
Intrinsics.checkNotNullParameter(incidenceId, "incidenceId");
Intent createOpenAvisaViewIntent = createOpenAvisaViewIntent(incidenceId);
if (createOpenAvisaViewIntent != null) {
return NavigationIntentsKt.toPendingActivityIntent(createOpenAvisaViewIntent, this.context, requestCode);
}
return null;
}
public final Intent createOpenRoutesViewIntent(String originStationId, String destinationStationId, boolean isCercanias) {
Intrinsics.checkNotNullParameter(originStationId, "originStationId");
Intrinsics.checkNotNullParameter(destinationStationId, "destinationStationId");
Intent launchIntentForPackage = this.context.getApplicationContext().getPackageManager().getLaunchIntentForPackage(this.context.getPackageName());
if (launchIntentForPackage == null) {
return null;
}
launchIntentForPackage.setFlags(268435456);
launchIntentForPackage.putExtra("o", originStationId);
launchIntentForPackage.putExtra("d", destinationStationId);
launchIntentForPackage.putExtra("ce", isCercanias);
launchIntentForPackage.putExtra(NOTIFICATION_JSON_TYPE, NOTIFICATION_JSON_MESSAGE_TYPE_ROUTE);
return launchIntentForPackage;
}
public final PendingIntent createOpenRoutesViewPendingIntent(int requestCode, String originStationId, String destinationStationId, boolean isCercanias) {
Intrinsics.checkNotNullParameter(originStationId, "originStationId");
Intrinsics.checkNotNullParameter(destinationStationId, "destinationStationId");
Intent createOpenRoutesViewIntent = createOpenRoutesViewIntent(originStationId, destinationStationId, isCercanias);
if (createOpenRoutesViewIntent != null) {
return NavigationIntentsKt.toPendingActivityIntent(createOpenRoutesViewIntent, this.context, requestCode);
}
return null;
}
public final PendingIntent createOpenTrainViewPendingIntent(int requestCode, String commercialNumber) {
Intrinsics.checkNotNullParameter(commercialNumber, "commercialNumber");
Intent createOpenTrainViewIntent = createOpenTrainViewIntent(commercialNumber);
if (createOpenTrainViewIntent != null) {
return NavigationIntentsKt.toPendingActivityIntent(createOpenTrainViewIntent, this.context, requestCode);
}
return null;
}
public final NavigationIntentDestination decodePayload(Bundle bundle) {
Intrinsics.checkNotNullParameter(bundle, "bundle");
String string = bundle.getString(NOTIFICATION_JSON_TYPE);
if (string == null) {
return null;
}
int hashCode = string.hashCode();
if (hashCode == 48628) {
if (string.equals(NOTIFICATION_JSON_MESSAGE_TYPE_ROUTE)) {
return decodeRouteNotification(bundle);
}
return null;
}
if (hashCode == 49588) {
if (string.equals(NOTIFICATION_JSON_MESSAGE_TYPE_TRAIN)) {
return decodeTrainNotification(bundle);
}
return null;
}
if (hashCode == 50547 && string.equals("300")) {
return decodeAvisaNotification(bundle);
}
return null;
}
}

View File

@@ -0,0 +1,17 @@
package com.adif.elcanomovil.commonNavGraph.navigation;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
@Metadata(d1 = {"\u0000\u0018\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\u001a\u001c\u0010\u0000\u001a\u0004\u0018\u00010\u0001*\u00020\u00022\u0006\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u0006¨\u0006\u0007"}, d2 = {"toPendingActivityIntent", "Landroid/app/PendingIntent;", "Landroid/content/Intent;", "context", "Landroid/content/Context;", "requestCode", "", "common-nav-graph_proNon_corporateRelease"}, k = 2, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public final class NavigationIntentsKt {
public static final PendingIntent toPendingActivityIntent(Intent intent, Context context, int i) {
Intrinsics.checkNotNullParameter(intent, "<this>");
Intrinsics.checkNotNullParameter(context, "context");
return PendingIntent.getActivity(context, i, intent, 201326592);
}
}

View File

@@ -0,0 +1,33 @@
package com.adif.elcanomovil.commonNavGraph.navigation;
import android.content.Context;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import javax.inject.Provider;
@ScopeMetadata("javax.inject.Singleton")
@DaggerGenerated
@QualifierMetadata({"dagger.hilt.android.qualifiers.ApplicationContext"})
/* loaded from: classes.dex */
public final class NavigationIntents_Factory implements Factory<NavigationIntents> {
private final Provider<Context> contextProvider;
public NavigationIntents_Factory(Provider<Context> provider) {
this.contextProvider = provider;
}
public static NavigationIntents_Factory create(Provider<Context> provider) {
return new NavigationIntents_Factory(provider);
}
public static NavigationIntents newInstance(Context context) {
return new NavigationIntents(context);
}
@Override // javax.inject.Provider
public NavigationIntents get() {
return newInstance(this.contextProvider.get());
}
}

View File

@@ -0,0 +1,45 @@
package com.adif.elcanomovil.commonNavGraph.viewmodel;
import android.os.Bundle;
import androidx.lifecycle.n0;
import androidx.lifecycle.w0;
import kotlin.Metadata;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Reflection;
import o0.C0531h;
import o0.InterfaceC0530g;
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0004\b\u0016\u0018\u00002\u00020\u0001B\u000f\u0012\u0006\u0010\u0003\u001a\u00020\u0002¢\u0006\u0004\b\u0004\u0010\u0005J\"\u0010\t\u001a\b\u0012\u0004\u0012\u00028\u00000\b\"\n\b\u0000\u0010\u0007\u0018\u0001*\u00020\u0006H\u0087\\u0006\u0004\b\t\u0010\nR\u0014\u0010\u0003\u001a\u00020\u00028\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0003\u0010\u000bR\u0013\u0010\u000f\u001a\u0004\u0018\u00010\f8F¢\u0006\u0006\u001a\u0004\b\r\u0010\u000e¨\u0006\u0010"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/viewmodel/ArgsViewModel;", "Landroidx/lifecycle/w0;", "Landroidx/lifecycle/n0;", "savedStateHandle", "<init>", "(Landroidx/lifecycle/n0;)V", "Lo0/g;", "Args", "Lo0/h;", "navArgs", "()Lo0/h;", "Landroidx/lifecycle/n0;", "Landroid/os/Bundle;", "getArguments", "()Landroid/os/Bundle;", "arguments", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public class ArgsViewModel extends w0 {
private final n0 savedStateHandle;
public ArgsViewModel(n0 savedStateHandle) {
Intrinsics.checkNotNullParameter(savedStateHandle, "savedStateHandle");
this.savedStateHandle = savedStateHandle;
}
public final Bundle getArguments() {
return (Bundle) this.savedStateHandle.c(ArgsViewModelKt.BUNDLE_ARGS);
}
public final /* synthetic */ <Args extends InterfaceC0530g> C0531h navArgs() {
Intrinsics.reifiedOperationMarker(4, "Args");
return new C0531h(Reflection.getOrCreateKotlinClass(InterfaceC0530g.class), new Function0<Bundle>() { // from class: com.adif.elcanomovil.commonNavGraph.viewmodel.ArgsViewModel$navArgs$1
{
super(0);
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // kotlin.jvm.functions.Function0
public final Bundle invoke() {
Bundle arguments = ArgsViewModel.this.getArguments();
if (arguments != null) {
return arguments;
}
throw new IllegalStateException("ViewModel " + ArgsViewModel.this + " has null arguments");
}
});
}
}

View File

@@ -0,0 +1,9 @@
package com.adif.elcanomovil.commonNavGraph.viewmodel;
import kotlin.Metadata;
@Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0010\u000e\n\u0000\"\u000e\u0010\u0000\u001a\u00020\u0001X\u0080T¢\u0006\u0002\n\u0000¨\u0006\u0002"}, d2 = {ArgsViewModelKt.BUNDLE_ARGS, "", "common-nav-graph_proNon_corporateRelease"}, k = 2, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public final class ArgsViewModelKt {
public static final String BUNDLE_ARGS = "BUNDLE_ARGS";
}

View File

@@ -0,0 +1,24 @@
package com.adif.elcanomovil.commonNavGraph.viewmodel;
import android.os.Bundle;
import androidx.fragment.app.K;
import kotlin.Metadata;
@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0003\b\u0016\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003J\u0019\u0010\u0007\u001a\u00020\u00062\b\u0010\u0005\u001a\u0004\u0018\u00010\u0004H\u0016¢\u0006\u0004\b\u0007\u0010\\u0006\t"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/viewmodel/BaseFragment;", "Landroidx/fragment/app/K;", "<init>", "()V", "Landroid/os/Bundle;", "args", "", "setArguments", "(Landroid/os/Bundle;)V", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public class BaseFragment extends K {
@Override // androidx.fragment.app.K
public void setArguments(Bundle args) {
if (args == null) {
super.setArguments(null);
} else {
if (args.getBundle(ArgsViewModelKt.BUNDLE_ARGS) != null) {
super.setArguments(args);
return;
}
Bundle bundle = new Bundle(args);
bundle.putBundle(ArgsViewModelKt.BUNDLE_ARGS, args);
super.setArguments(bundle);
}
}
}

View File

@@ -0,0 +1,10 @@
package com.adif.elcanomovil.commonNavGraph.viewmodel;
import com.adif.elcanomovil.commonNavGraph.arguments.BottomNavInitialTab;
import kotlin.Metadata;
@Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\bf\u0018\u00002\u00020\u0001J\u0010\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0005H&¨\u0006\u0006"}, d2 = {"Lcom/adif/elcanomovil/commonNavGraph/viewmodel/TabNavigator;", "", "navigateTo", "", "tab", "Lcom/adif/elcanomovil/commonNavGraph/arguments/BottomNavInitialTab;", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes.dex */
public interface TabNavigator {
void navigateTo(BottomNavInitialTab tab);
}