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.uiMoreAdif;
/* loaded from: classes2.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.uiMoreAdif";
}

View File

@@ -0,0 +1,20 @@
package com.adif.elcanomovil.uiMoreAdif;
import com.google.firebase.analytics.FirebaseAnalytics;
import java.util.List;
import kotlin.Lazy;
import kotlin.LazyKt;
import kotlin.Metadata;
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0005\u0018\u00002\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0002R!\u0010\u0003\u001a\b\u0012\u0004\u0012\u00020\u00050\u00048VX\u0096\u0084\u0002¢\u0006\f\n\u0004\b\b\u0010\t\u001a\u0004\b\u0006\u0010\u0007¨\u0006\n"}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/DefaultHelpItemsProvider;", "Lcom/adif/elcanomovil/uiMoreAdif/HelpItemsProvider;", "()V", FirebaseAnalytics.Param.ITEMS, "", "Lcom/adif/elcanomovil/uiMoreAdif/HelpItem;", "getItems", "()Ljava/util/List;", "items$delegate", "Lkotlin/Lazy;", "ui-more-adif_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes2.dex */
public final class DefaultHelpItemsProvider implements HelpItemsProvider {
/* renamed from: items$delegate, reason: from kotlin metadata */
private final Lazy items = LazyKt.lazy(a.f5154a);
@Override // com.adif.elcanomovil.uiMoreAdif.HelpItemsProvider
public List<HelpItem> getItems() {
return (List) this.items.getValue();
}
}

View File

@@ -0,0 +1,20 @@
package com.adif.elcanomovil.uiMoreAdif;
import com.google.firebase.analytics.FirebaseAnalytics;
import java.util.List;
import kotlin.Lazy;
import kotlin.LazyKt;
import kotlin.Metadata;
@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0005\u0018\u00002\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0002R!\u0010\u0003\u001a\b\u0012\u0004\u0012\u00020\u00050\u00048VX\u0096\u0084\u0002¢\u0006\f\n\u0004\b\b\u0010\t\u001a\u0004\b\u0006\u0010\u0007¨\u0006\n"}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/DefaultOptionsProvider;", "Lcom/adif/elcanomovil/uiMoreAdif/OptionsProvider;", "()V", FirebaseAnalytics.Param.ITEMS, "", "Lcom/adif/elcanomovil/uiMoreAdif/MoreItem;", "getItems", "()Ljava/util/List;", "items$delegate", "Lkotlin/Lazy;", "ui-more-adif_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes2.dex */
public final class DefaultOptionsProvider implements OptionsProvider {
/* renamed from: items$delegate, reason: from kotlin metadata */
private final Lazy items = LazyKt.lazy(b.f5167a);
@Override // com.adif.elcanomovil.uiMoreAdif.OptionsProvider
public List<MoreItem> getItems() {
return (List) this.items.getValue();
}
}

View File

@@ -0,0 +1,59 @@
package com.adif.elcanomovil.uiMoreAdif;
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\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0000\n\u0002\u0010\b\n\u0002\b\r\b\u0086\u0081\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0011\b\u0002\u0012\b\b\u0002\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\nj\u0002\b\u000bj\u0002\b\fj\u0002\b\rj\u0002\b\u000ej\u0002\b\u000f¨\u0006\u0010"}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/HelpActions;", "", "title", "", "(Ljava/lang/String;II)V", "getTitle", "()I", "HOME_DRAG", "HOME_MENU", "DEPARTURES_SHARE", "DEPARTURES_NOT_SELECTED_FAV", "DEPARTURES_SELECTED_FAV", "DEPARTURES_CREATE_SUSCRIPTION", "DIRECTION_CHANGE", "CIRCULATION_POSITION_BETWEEN_STATIONS", "CIRCULATION_POSITION_IN_STATION", "ui-more-adif_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes2.dex */
public final class HelpActions {
private static final /* synthetic */ EnumEntries $ENTRIES;
private static final /* synthetic */ HelpActions[] $VALUES;
private final int title;
public static final HelpActions HOME_DRAG = new HelpActions("HOME_DRAG", 0, R.string.help_home_drag);
public static final HelpActions HOME_MENU = new HelpActions("HOME_MENU", 1, R.string.help_home_menu);
public static final HelpActions DEPARTURES_SHARE = new HelpActions("DEPARTURES_SHARE", 2, R.string.help_departures_share);
public static final HelpActions DEPARTURES_NOT_SELECTED_FAV = new HelpActions("DEPARTURES_NOT_SELECTED_FAV", 3, R.string.help_departures_not_selected_fav);
public static final HelpActions DEPARTURES_SELECTED_FAV = new HelpActions("DEPARTURES_SELECTED_FAV", 4, R.string.help_departures_selected_fav);
public static final HelpActions DEPARTURES_CREATE_SUSCRIPTION = new HelpActions("DEPARTURES_CREATE_SUSCRIPTION", 5, R.string.help_departures_create_suscription);
public static final HelpActions DIRECTION_CHANGE = new HelpActions("DIRECTION_CHANGE", 6, R.string.help_direction_change);
public static final HelpActions CIRCULATION_POSITION_BETWEEN_STATIONS = new HelpActions("CIRCULATION_POSITION_BETWEEN_STATIONS", 7, R.string.help_circulation_between_stations);
public static final HelpActions CIRCULATION_POSITION_IN_STATION = new HelpActions("CIRCULATION_POSITION_IN_STATION", 8, R.string.help_circulation_in_station);
private static final /* synthetic */ HelpActions[] $values() {
return new HelpActions[]{HOME_DRAG, HOME_MENU, DEPARTURES_SHARE, DEPARTURES_NOT_SELECTED_FAV, DEPARTURES_SELECTED_FAV, DEPARTURES_CREATE_SUSCRIPTION, DIRECTION_CHANGE, CIRCULATION_POSITION_BETWEEN_STATIONS, CIRCULATION_POSITION_IN_STATION};
}
static {
HelpActions[] $values = $values();
$VALUES = $values;
$ENTRIES = EnumEntriesKt.enumEntries($values);
}
private HelpActions(String str, int i, int i4) {
this.title = i4;
}
public static EnumEntries<HelpActions> getEntries() {
return $ENTRIES;
}
public static HelpActions valueOf(String str) {
return (HelpActions) Enum.valueOf(HelpActions.class, str);
}
public static HelpActions[] values() {
return (HelpActions[]) $VALUES.clone();
}
public final int getTitle() {
return this.title;
}
public /* synthetic */ HelpActions(String str, int i, int i4, int i5, DefaultConstructorMarker defaultConstructorMarker) {
this(str, i, (i5 & 1) != 0 ? 0 : i4);
}
}

View File

@@ -0,0 +1,73 @@
package com.adif.elcanomovil.uiMoreAdif;
import C.w;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0000\b\u0086\b\u0018\u00002\u00020\u0001B\u0017\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0001\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\u0003\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\u0005HÖ\u0001J\t\u0010\u0012\u001a\u00020\u0013HÖ\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\u0014"}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/HelpItem;", "", "type", "Lcom/adif/elcanomovil/uiMoreAdif/HelpActions;", "icon", "", "(Lcom/adif/elcanomovil/uiMoreAdif/HelpActions;I)V", "getIcon", "()I", "getType", "()Lcom/adif/elcanomovil/uiMoreAdif/HelpActions;", "component1", "component2", "copy", "equals", "", "other", "hashCode", "toString", "", "ui-more-adif_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes2.dex */
public final /* data */ class HelpItem {
private final int icon;
private final HelpActions type;
public HelpItem(HelpActions type, int i) {
Intrinsics.checkNotNullParameter(type, "type");
this.type = type;
this.icon = i;
}
public static /* synthetic */ HelpItem copy$default(HelpItem helpItem, HelpActions helpActions, int i, int i4, Object obj) {
if ((i4 & 1) != 0) {
helpActions = helpItem.type;
}
if ((i4 & 2) != 0) {
i = helpItem.icon;
}
return helpItem.copy(helpActions, i);
}
/* renamed from: component1, reason: from getter */
public final HelpActions getType() {
return this.type;
}
/* renamed from: component2, reason: from getter */
public final int getIcon() {
return this.icon;
}
public final HelpItem copy(HelpActions type, int icon) {
Intrinsics.checkNotNullParameter(type, "type");
return new HelpItem(type, icon);
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof HelpItem)) {
return false;
}
HelpItem helpItem = (HelpItem) other;
return this.type == helpItem.type && this.icon == helpItem.icon;
}
public final int getIcon() {
return this.icon;
}
public final HelpActions getType() {
return this.type;
}
public int hashCode() {
return Integer.hashCode(this.icon) + (this.type.hashCode() * 31);
}
public String toString() {
StringBuilder sb = new StringBuilder("HelpItem(type=");
sb.append(this.type);
sb.append(", icon=");
return w.p(sb, this.icon, ')');
}
}

View File

@@ -0,0 +1,11 @@
package com.adif.elcanomovil.uiMoreAdif;
import com.google.firebase.analytics.FirebaseAnalytics;
import java.util.List;
import kotlin.Metadata;
@Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0003\bf\u0018\u00002\u00020\u0001R\u0018\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/HelpItemsProvider;", "", FirebaseAnalytics.Param.ITEMS, "", "Lcom/adif/elcanomovil/uiMoreAdif/HelpItem;", "getItems", "()Ljava/util/List;", "ui-more-adif_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes2.dex */
public interface HelpItemsProvider {
List<HelpItem> getItems();
}

View File

@@ -0,0 +1,60 @@
package com.adif.elcanomovil.uiMoreAdif;
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\u0012\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0000\n\u0002\u0010\b\n\u0002\b\u000e\b\u0086\u0081\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0011\b\u0002\u0012\b\b\u0002\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\nj\u0002\b\u000bj\u0002\b\fj\u0002\b\rj\u0002\b\u000ej\u0002\b\u000fj\u0002\b\u0010¨\u0006\u0011"}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/MoreActions;", "", "title", "", "(Ljava/lang/String;II)V", "getTitle", "()I", "SUBSCRIPTIONS", "TRAIN", "FAVOURITES", "NOTICES", "HELP", "CONTACT", "ABOUT", "LOST_OBJECTS", "NETWORK_STATUS", "ACCESSIBILITY", "ui-more-adif_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes2.dex */
public final class MoreActions {
private static final /* synthetic */ EnumEntries $ENTRIES;
private static final /* synthetic */ MoreActions[] $VALUES;
private final int title;
public static final MoreActions SUBSCRIPTIONS = new MoreActions("SUBSCRIPTIONS", 0, R.string.option_subscriptions);
public static final MoreActions TRAIN = new MoreActions("TRAIN", 1, R.string.option_train);
public static final MoreActions FAVOURITES = new MoreActions("FAVOURITES", 2, R.string.option_favourites);
public static final MoreActions NOTICES = new MoreActions("NOTICES", 3, R.string.option_notices);
public static final MoreActions HELP = new MoreActions("HELP", 4, R.string.option_help);
public static final MoreActions CONTACT = new MoreActions("CONTACT", 5, R.string.option_contact);
public static final MoreActions ABOUT = new MoreActions("ABOUT", 6, R.string.option_about);
public static final MoreActions LOST_OBJECTS = new MoreActions("LOST_OBJECTS", 7, R.string.option_lost_objects);
public static final MoreActions NETWORK_STATUS = new MoreActions("NETWORK_STATUS", 8, R.string.option_network_status);
public static final MoreActions ACCESSIBILITY = new MoreActions("ACCESSIBILITY", 9, R.string.option_accessibility);
private static final /* synthetic */ MoreActions[] $values() {
return new MoreActions[]{SUBSCRIPTIONS, TRAIN, FAVOURITES, NOTICES, HELP, CONTACT, ABOUT, LOST_OBJECTS, NETWORK_STATUS, ACCESSIBILITY};
}
static {
MoreActions[] $values = $values();
$VALUES = $values;
$ENTRIES = EnumEntriesKt.enumEntries($values);
}
private MoreActions(String str, int i, int i4) {
this.title = i4;
}
public static EnumEntries<MoreActions> getEntries() {
return $ENTRIES;
}
public static MoreActions valueOf(String str) {
return (MoreActions) Enum.valueOf(MoreActions.class, str);
}
public static MoreActions[] values() {
return (MoreActions[]) $VALUES.clone();
}
public final int getTitle() {
return this.title;
}
public /* synthetic */ MoreActions(String str, int i, int i4, int i5, DefaultConstructorMarker defaultConstructorMarker) {
this(str, i, (i5 & 1) != 0 ? 0 : i4);
}
}

View File

@@ -0,0 +1,73 @@
package com.adif.elcanomovil.uiMoreAdif;
import C.w;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0000\b\u0086\b\u0018\u00002\u00020\u0001B\u0017\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\b\b\u0001\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\u0003\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\u0005HÖ\u0001J\t\u0010\u0012\u001a\u00020\u0013HÖ\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\u0014"}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/MoreItem;", "", "type", "Lcom/adif/elcanomovil/uiMoreAdif/MoreActions;", "icon", "", "(Lcom/adif/elcanomovil/uiMoreAdif/MoreActions;I)V", "getIcon", "()I", "getType", "()Lcom/adif/elcanomovil/uiMoreAdif/MoreActions;", "component1", "component2", "copy", "equals", "", "other", "hashCode", "toString", "", "ui-more-adif_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes2.dex */
public final /* data */ class MoreItem {
private final int icon;
private final MoreActions type;
public MoreItem(MoreActions type, int i) {
Intrinsics.checkNotNullParameter(type, "type");
this.type = type;
this.icon = i;
}
public static /* synthetic */ MoreItem copy$default(MoreItem moreItem, MoreActions moreActions, int i, int i4, Object obj) {
if ((i4 & 1) != 0) {
moreActions = moreItem.type;
}
if ((i4 & 2) != 0) {
i = moreItem.icon;
}
return moreItem.copy(moreActions, i);
}
/* renamed from: component1, reason: from getter */
public final MoreActions getType() {
return this.type;
}
/* renamed from: component2, reason: from getter */
public final int getIcon() {
return this.icon;
}
public final MoreItem copy(MoreActions type, int icon) {
Intrinsics.checkNotNullParameter(type, "type");
return new MoreItem(type, icon);
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof MoreItem)) {
return false;
}
MoreItem moreItem = (MoreItem) other;
return this.type == moreItem.type && this.icon == moreItem.icon;
}
public final int getIcon() {
return this.icon;
}
public final MoreActions getType() {
return this.type;
}
public int hashCode() {
return Integer.hashCode(this.icon) + (this.type.hashCode() * 31);
}
public String toString() {
StringBuilder sb = new StringBuilder("MoreItem(type=");
sb.append(this.type);
sb.append(", icon=");
return w.p(sb, this.icon, ')');
}
}

View File

@@ -0,0 +1,11 @@
package com.adif.elcanomovil.uiMoreAdif;
import com.google.firebase.analytics.FirebaseAnalytics;
import java.util.List;
import kotlin.Metadata;
@Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0003\bf\u0018\u00002\u00020\u0001R\u0018\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003X¦\u0004¢\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u0007"}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/OptionsProvider;", "", FirebaseAnalytics.Param.ITEMS, "", "Lcom/adif/elcanomovil/uiMoreAdif/MoreItem;", "getItems", "()Ljava/util/List;", "ui-more-adif_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes2.dex */
public interface OptionsProvider {
List<MoreItem> getItems();
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,17 @@
package com.adif.elcanomovil.uiMoreAdif;
import kotlin.collections.CollectionsKt;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Lambda;
/* loaded from: classes2.dex */
public final class a extends Lambda implements Function0 {
/* renamed from: a, reason: collision with root package name */
public static final a f5154a = new Lambda(0);
@Override // kotlin.jvm.functions.Function0
public final Object invoke() {
return CollectionsKt.listOf((Object[]) new HelpItem[]{new HelpItem(HelpActions.HOME_DRAG, R.drawable.img_home_detail_controller), new HelpItem(HelpActions.HOME_MENU, R.drawable.ic_action_more), new HelpItem(HelpActions.DEPARTURES_SHARE, R.drawable.ic_share), new HelpItem(HelpActions.DEPARTURES_NOT_SELECTED_FAV, R.drawable.ic_favourite_off), new HelpItem(HelpActions.DEPARTURES_SELECTED_FAV, R.drawable.ic_favourite_on), new HelpItem(HelpActions.DEPARTURES_CREATE_SUSCRIPTION, R.drawable.ic_subscription), new HelpItem(HelpActions.DIRECTION_CHANGE, R.drawable.ic_between_stations_switch), new HelpItem(HelpActions.CIRCULATION_POSITION_BETWEEN_STATIONS, R.drawable.circle_train_yellow), new HelpItem(HelpActions.CIRCULATION_POSITION_IN_STATION, R.drawable.circle_train_green)});
}
}

View File

@@ -0,0 +1,217 @@
package com.adif.elcanomovil.uiMoreAdif.about;
import android.os.Bundle;
import android.view.View;
import androidx.fragment.app.K;
import androidx.lifecycle.C0;
import androidx.lifecycle.D0;
import androidx.lifecycle.InterfaceC0200v;
import androidx.lifecycle.J;
import androidx.lifecycle.y0;
import b1.InterfaceC0266a;
import b1.f;
import com.adif.elcanomovil.commonNavGraph.navigation.NavigationHandler;
import com.adif.elcanomovil.commonViews.data.InfoHeaderData;
import com.adif.elcanomovil.uiMoreAdif.R;
import com.adif.elcanomovil.uiMoreAdif.databinding.FragmentAboutBinding;
import dagger.hilt.android.AndroidEntryPoint;
import kotlin.Lazy;
import kotlin.LazyKt;
import kotlin.LazyThreadSafetyMode;
import kotlin.Metadata;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Reflection;
import kotlin.jvm.internal.SourceDebugExtension;
import l0.C0435a;
@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0006\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003J\u0013\u0010\u0006\u001a\u00020\u0005*\u00020\u0004H\u0002¢\u0006\u0004\b\u0006\u0010\u0007J\u0013\u0010\b\u001a\u00020\u0005*\u00020\u0004H\u0002¢\u0006\u0004\b\b\u0010\u0007J!\u0010\r\u001a\u00020\u00052\u0006\u0010\n\u001a\u00020\t2\b\u0010\f\u001a\u0004\u0018\u00010\u000bH\u0016¢\u0006\u0004\b\r\u0010\u000eR\u0016\u0010\u000f\u001a\u00020\u00048\u0002@\u0002X\u0082.¢\u0006\u0006\n\u0004\b\u000f\u0010\u0010R\u001b\u0010\u0016\u001a\u00020\u00118BX\u0082\u0084\u0002¢\u0006\f\n\u0004\b\u0012\u0010\u0013\u001a\u0004\b\u0014\u0010\u0015¨\u0006\u0017"}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/about/AboutFragment;", "Landroidx/fragment/app/K;", "<init>", "()V", "Lcom/adif/elcanomovil/uiMoreAdif/databinding/FragmentAboutBinding;", "", "configureHeaderView", "(Lcom/adif/elcanomovil/uiMoreAdif/databinding/FragmentAboutBinding;)V", "configureListeners", "Landroid/view/View;", "view", "Landroid/os/Bundle;", "savedInstanceState", "onViewCreated", "(Landroid/view/View;Landroid/os/Bundle;)V", "binding", "Lcom/adif/elcanomovil/uiMoreAdif/databinding/FragmentAboutBinding;", "Lcom/adif/elcanomovil/uiMoreAdif/about/AboutViewModel;", "viewModel$delegate", "Lkotlin/Lazy;", "getViewModel", "()Lcom/adif/elcanomovil/uiMoreAdif/about/AboutViewModel;", "viewModel", "ui-more-adif_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
@AndroidEntryPoint
@SourceDebugExtension({"SMAP\nAboutFragment.kt\nKotlin\n*S Kotlin\n*F\n+ 1 AboutFragment.kt\ncom/adif/elcanomovil/uiMoreAdif/about/AboutFragment\n+ 2 FragmentViewModelLazy.kt\nandroidx/fragment/app/FragmentViewModelLazyKt\n*L\n1#1,45:1\n106#2,15:46\n*S KotlinDebug\n*F\n+ 1 AboutFragment.kt\ncom/adif/elcanomovil/uiMoreAdif/about/AboutFragment\n*L\n16#1:46,15\n*E\n"})
/* loaded from: classes2.dex */
public final class AboutFragment extends Hilt_AboutFragment {
private FragmentAboutBinding binding;
/* renamed from: viewModel$delegate, reason: from kotlin metadata */
private final Lazy viewModel;
public AboutFragment() {
super(R.layout.fragment_about);
final Function0<K> function0 = new Function0<K>() { // from class: com.adif.elcanomovil.uiMoreAdif.about.AboutFragment$special$$inlined$viewModels$default$1
{
super(0);
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // kotlin.jvm.functions.Function0
public final K invoke() {
return K.this;
}
};
final Lazy lazy = LazyKt.lazy(LazyThreadSafetyMode.NONE, (Function0) new Function0<D0>() { // from class: com.adif.elcanomovil.uiMoreAdif.about.AboutFragment$special$$inlined$viewModels$default$2
{
super(0);
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // kotlin.jvm.functions.Function0
public final D0 invoke() {
return (D0) Function0.this.invoke();
}
});
final Function0 function02 = null;
this.viewModel = m3.d.n(this, Reflection.getOrCreateKotlinClass(AboutViewModel.class), new Function0<C0>() { // from class: com.adif.elcanomovil.uiMoreAdif.about.AboutFragment$special$$inlined$viewModels$default$3
{
super(0);
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // kotlin.jvm.functions.Function0
public final C0 invoke() {
return ((D0) Lazy.this.getValue()).getViewModelStore();
}
}, new Function0<l0.c>() { // from class: com.adif.elcanomovil.uiMoreAdif.about.AboutFragment$special$$inlined$viewModels$default$4
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
{
super(0);
}
@Override // kotlin.jvm.functions.Function0
public final l0.c invoke() {
l0.c cVar;
Function0 function03 = Function0.this;
if (function03 != null && (cVar = (l0.c) function03.invoke()) != null) {
return cVar;
}
D0 d02 = (D0) lazy.getValue();
InterfaceC0200v interfaceC0200v = d02 instanceof InterfaceC0200v ? (InterfaceC0200v) d02 : null;
return interfaceC0200v != null ? interfaceC0200v.getDefaultViewModelCreationExtras() : C0435a.f7312b;
}
}, new Function0<y0>() { // from class: com.adif.elcanomovil.uiMoreAdif.about.AboutFragment$special$$inlined$viewModels$default$5
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
{
super(0);
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // kotlin.jvm.functions.Function0
public final y0 invoke() {
y0 defaultViewModelProviderFactory;
D0 d02 = (D0) lazy.getValue();
InterfaceC0200v interfaceC0200v = d02 instanceof InterfaceC0200v ? (InterfaceC0200v) d02 : null;
if (interfaceC0200v != null && (defaultViewModelProviderFactory = interfaceC0200v.getDefaultViewModelProviderFactory()) != null) {
return defaultViewModelProviderFactory;
}
y0 defaultViewModelProviderFactory2 = K.this.getDefaultViewModelProviderFactory();
Intrinsics.checkNotNullExpressionValue(defaultViewModelProviderFactory2, "defaultViewModelProviderFactory");
return defaultViewModelProviderFactory2;
}
});
}
private final void configureHeaderView(FragmentAboutBinding fragmentAboutBinding) {
fragmentAboutBinding.headerViewAbout.updateHeaderInfo(new InfoHeaderData(getString(R.string.about_title), Integer.valueOf(R.drawable.ic_arrow_back), null, 4, null));
fragmentAboutBinding.headerViewAbout.setOnBackActionListener(new b(this, 0));
fragmentAboutBinding.headerViewAbout.setOnCloseActionListener(new b(this, 1));
}
private final void configureListeners(FragmentAboutBinding fragmentAboutBinding) {
final int i = 0;
fragmentAboutBinding.conditionsButton.setOnClickListener(new View.OnClickListener(this) { // from class: com.adif.elcanomovil.uiMoreAdif.about.a
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ AboutFragment f5156b;
{
this.f5156b = this;
}
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
int i4 = i;
AboutFragment aboutFragment = this.f5156b;
switch (i4) {
case 0:
AboutFragment.configureListeners$lambda$0(aboutFragment, view);
return;
default:
AboutFragment.configureListeners$lambda$1(aboutFragment, view);
return;
}
}
});
final int i4 = 1;
fragmentAboutBinding.termsButton.setOnClickListener(new View.OnClickListener(this) { // from class: com.adif.elcanomovil.uiMoreAdif.about.a
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ AboutFragment f5156b;
{
this.f5156b = this;
}
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
int i42 = i4;
AboutFragment aboutFragment = this.f5156b;
switch (i42) {
case 0:
AboutFragment.configureListeners$lambda$0(aboutFragment, view);
return;
default:
AboutFragment.configureListeners$lambda$1(aboutFragment, view);
return;
}
}
});
}
/* JADX INFO: Access modifiers changed from: private */
public static final void configureListeners$lambda$0(AboutFragment this$0, View view) {
Intrinsics.checkNotNullParameter(this$0, "this$0");
this$0.getViewModel().legalConditionsButtonTapped(this$0.getContext());
}
/* JADX INFO: Access modifiers changed from: private */
public static final void configureListeners$lambda$1(AboutFragment this$0, View view) {
Intrinsics.checkNotNullParameter(this$0, "this$0");
this$0.getViewModel().termsButtonTapped(this$0.getContext());
}
/* JADX INFO: Access modifiers changed from: private */
public final AboutViewModel getViewModel() {
return (AboutViewModel) this.viewModel.getValue();
}
@Override // androidx.fragment.app.K
public void onViewCreated(View view, Bundle savedInstanceState) {
Intrinsics.checkNotNullParameter(view, "view");
super.onViewCreated(view, savedInstanceState);
FragmentAboutBinding bind = FragmentAboutBinding.bind(view);
Intrinsics.checkNotNullExpressionValue(bind, "bind(...)");
this.binding = bind;
FragmentAboutBinding fragmentAboutBinding = null;
if (bind == null) {
Intrinsics.throwUninitializedPropertyAccessException("binding");
bind = null;
}
configureHeaderView(bind);
FragmentAboutBinding fragmentAboutBinding2 = this.binding;
if (fragmentAboutBinding2 == null) {
Intrinsics.throwUninitializedPropertyAccessException("binding");
fragmentAboutBinding2 = null;
}
configureListeners(fragmentAboutBinding2);
FragmentAboutBinding fragmentAboutBinding3 = this.binding;
if (fragmentAboutBinding3 == null) {
Intrinsics.throwUninitializedPropertyAccessException("binding");
} else {
fragmentAboutBinding = fragmentAboutBinding3;
}
fragmentAboutBinding.versionTextview.setText(getString(R.string.about_version, getViewModel().getAppVersion()));
InterfaceC0266a navigation = getViewModel().getNavigation();
J viewLifecycleOwner = getViewLifecycleOwner();
Intrinsics.checkNotNullExpressionValue(viewLifecycleOwner, "getViewLifecycleOwner(...)");
((f) navigation).a(viewLifecycleOwner, new NavigationHandler(this));
}
}

View File

@@ -0,0 +1,14 @@
package com.adif.elcanomovil.uiMoreAdif.about;
import dagger.hilt.InstallIn;
import dagger.hilt.android.components.FragmentComponent;
import dagger.hilt.codegen.OriginatingElement;
import dagger.hilt.internal.GeneratedEntryPoint;
@OriginatingElement(topLevelClass = AboutFragment.class)
@GeneratedEntryPoint
@InstallIn({FragmentComponent.class})
/* loaded from: classes2.dex */
public interface AboutFragment_GeneratedInjector {
void injectAboutFragment(AboutFragment aboutFragment);
}

View File

@@ -0,0 +1,80 @@
package com.adif.elcanomovil.uiMoreAdif.about;
import D.h;
import android.content.Context;
import android.content.Intent;
import androidx.lifecycle.w0;
import b1.InterfaceC0266a;
import b1.f;
import com.adif.elcanomovil.commonNavGraph.arguments.AlertActions;
import com.adif.elcanomovil.commonNavGraph.arguments.AlertType;
import com.adif.elcanomovil.commonNavGraph.navigation.Navigation;
import com.adif.elcanomovil.domain.usecases.GetAppVersionUseCase;
import com.adif.elcanomovil.main.BottomNavFragmentDirections;
import com.adif.elcanomovil.uiMoreAdif.R;
import com.adif.elcanomovil.uiMoreAdif.wizard.WizardActivity;
import com.google.firebase.remoteconfig.RemoteConfigConstants;
import dagger.hilt.android.lifecycle.HiltViewModel;
import javax.inject.Inject;
import kotlin.Lazy;
import kotlin.LazyKt;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
@HiltViewModel
@Metadata(d1 = {"\u0000R\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0007\u0018\u00002\u00020\u0001B\u0011\b\u0007\u0012\u0006\u0010\u0003\u001a\u00020\u0002¢\u0006\u0004\b\u0004\u0010\u0005J-\u0010\f\u001a\u00020\u000b2\b\u0010\u0007\u001a\u0004\u0018\u00010\u00062\b\b\u0001\u0010\t\u001a\u00020\b2\b\b\u0001\u0010\n\u001a\u00020\bH\u0002¢\u0006\u0004\b\f\u0010\rJ\u0017\u0010\u000f\u001a\u00020\u000e2\b\u0010\u0007\u001a\u0004\u0018\u00010\u0006¢\u0006\u0004\b\u000f\u0010\u0010J\u0017\u0010\u0011\u001a\u00020\u000b2\b\u0010\u0007\u001a\u0004\u0018\u00010\u0006¢\u0006\u0004\b\u0011\u0010\u0012J\u0017\u0010\u0013\u001a\u00020\u000b2\b\u0010\u0007\u001a\u0004\u0018\u00010\u0006¢\u0006\u0004\b\u0013\u0010\u0012R\u0014\u0010\u0003\u001a\u00020\u00028\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0003\u0010\u0014R\u001a\u0010\u0017\u001a\b\u0012\u0004\u0012\u00020\u00160\u00158\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0017\u0010\u0018R\u001d\u0010\u001a\u001a\b\u0012\u0004\u0012\u00020\u00160\u00198\u0006¢\u0006\f\n\u0004\b\u001a\u0010\u001b\u001a\u0004\b\u001c\u0010\u001dR\u0011\u0010!\u001a\u00020\u001e8F¢\u0006\u0006\u001a\u0004\b\u001f\u0010 ¨\u0006$²\u0006\f\u0010#\u001a\u00020\"8\nX\u008a\u0084\u0002"}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/about/AboutViewModel;", "Landroidx/lifecycle/w0;", "Lcom/adif/elcanomovil/domain/usecases/GetAppVersionUseCase;", "getAppVersionUseCase", "<init>", "(Lcom/adif/elcanomovil/domain/usecases/GetAppVersionUseCase;)V", "Landroid/content/Context;", "context", "", "title", "message", "", "showAlertMessage", "(Landroid/content/Context;II)V", "", "wizardTapped", "(Landroid/content/Context;)Z", "termsButtonTapped", "(Landroid/content/Context;)V", "legalConditionsButtonTapped", "Lcom/adif/elcanomovil/domain/usecases/GetAppVersionUseCase;", "Lb1/f;", "Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation;", "navigationFlow", "Lb1/f;", "Lb1/a;", "navigation", "Lb1/a;", "getNavigation", "()Lb1/a;", "", "getAppVersion", "()Ljava/lang/String;", RemoteConfigConstants.RequestFieldKey.APP_VERSION, "Lcom/adif/elcanomovil/commonNavGraph/arguments/AlertActions;", "observationActions", "ui-more-adif_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes2.dex */
public final class AboutViewModel extends w0 {
private final GetAppVersionUseCase getAppVersionUseCase;
private final InterfaceC0266a navigation;
private final f navigationFlow;
@Inject
public AboutViewModel(GetAppVersionUseCase getAppVersionUseCase) {
Intrinsics.checkNotNullParameter(getAppVersionUseCase, "getAppVersionUseCase");
this.getAppVersionUseCase = getAppVersionUseCase;
f fVar = new f();
this.navigationFlow = fVar;
this.navigation = fVar;
}
private final void showAlertMessage(Context context, int title, int message) {
if (context != null) {
Lazy lazy = LazyKt.lazy(new c(context));
BottomNavFragmentDirections.Companion companion = BottomNavFragmentDirections.INSTANCE;
String string = context.getString(title);
Intrinsics.checkNotNullExpressionValue(string, "getString(...)");
String string2 = context.getString(message);
Intrinsics.checkNotNullExpressionValue(string2, "getString(...)");
this.navigationFlow.b(new Navigation.RootDirection(companion.toAlertDialog(false, true, string, string2, showAlertMessage$lambda$2$lambda$1(lazy), AlertType.INFO), null, 2, null));
}
}
private static final AlertActions showAlertMessage$lambda$2$lambda$1(Lazy<AlertActions> lazy) {
return lazy.getValue();
}
public final String getAppVersion() {
return this.getAppVersionUseCase.invoke();
}
public final InterfaceC0266a getNavigation() {
return this.navigation;
}
public final void legalConditionsButtonTapped(Context context) {
showAlertMessage(context, R.string.about_conditions, R.string.about_conditions_content);
}
public final void termsButtonTapped(Context context) {
showAlertMessage(context, R.string.about_terms, R.string.about_terms_content);
}
public final boolean wizardTapped(Context context) {
if (context == null) {
return false;
}
h.startActivity(context, new Intent(context, (Class<?>) WizardActivity.class), null);
return true;
}
}

View File

@@ -0,0 +1,9 @@
package com.adif.elcanomovil.uiMoreAdif.about;
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 = {"ALERT_KEY_OBSERVATION", "", "ui-more-adif_proNon_corporateRelease"}, k = 2, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes2.dex */
public final class AboutViewModelKt {
public static final String ALERT_KEY_OBSERVATION = "observation";
}

View File

@@ -0,0 +1,33 @@
package com.adif.elcanomovil.uiMoreAdif.about;
import com.adif.elcanomovil.domain.usecases.GetAppVersionUseCase;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import javax.inject.Provider;
@ScopeMetadata
@DaggerGenerated
@QualifierMetadata
/* loaded from: classes2.dex */
public final class AboutViewModel_Factory implements Factory<AboutViewModel> {
private final Provider<GetAppVersionUseCase> getAppVersionUseCaseProvider;
public AboutViewModel_Factory(Provider<GetAppVersionUseCase> provider) {
this.getAppVersionUseCaseProvider = provider;
}
public static AboutViewModel_Factory create(Provider<GetAppVersionUseCase> provider) {
return new AboutViewModel_Factory(provider);
}
public static AboutViewModel newInstance(GetAppVersionUseCase getAppVersionUseCase) {
return new AboutViewModel(getAppVersionUseCase);
}
@Override // javax.inject.Provider
public AboutViewModel get() {
return newInstance(this.getAppVersionUseCaseProvider.get());
}
}

View File

@@ -0,0 +1,51 @@
package com.adif.elcanomovil.uiMoreAdif.about;
import androidx.lifecycle.w0;
import dagger.Binds;
import dagger.Module;
import dagger.Provides;
import dagger.hilt.InstallIn;
import dagger.hilt.android.components.ActivityRetainedComponent;
import dagger.hilt.android.components.ViewModelComponent;
import dagger.hilt.android.internal.lifecycle.HiltViewModelMap;
import dagger.hilt.codegen.OriginatingElement;
import dagger.multibindings.IntoMap;
import dagger.multibindings.IntoSet;
import dagger.multibindings.StringKey;
@OriginatingElement(topLevelClass = AboutViewModel.class)
/* loaded from: classes2.dex */
public final class AboutViewModel_HiltModules {
@Module
@InstallIn({ViewModelComponent.class})
/* loaded from: classes2.dex */
public static abstract class BindsModule {
private BindsModule() {
}
@Binds
@StringKey("com.adif.elcanomovil.uiMoreAdif.about.AboutViewModel")
@HiltViewModelMap
@IntoMap
public abstract w0 binds(AboutViewModel aboutViewModel);
}
@Module
@InstallIn({ActivityRetainedComponent.class})
/* loaded from: classes2.dex */
public static final class KeyModule {
private KeyModule() {
}
@Provides
@HiltViewModelMap.KeySet
@IntoSet
public static String provide() {
return "com.adif.elcanomovil.uiMoreAdif.about.AboutViewModel";
}
}
private AboutViewModel_HiltModules() {
}
}

View File

@@ -0,0 +1,27 @@
package com.adif.elcanomovil.uiMoreAdif.about;
import com.adif.elcanomovil.uiMoreAdif.about.AboutViewModel_HiltModules;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
@ScopeMetadata
@DaggerGenerated
@QualifierMetadata({"dagger.hilt.android.internal.lifecycle.HiltViewModelMap.KeySet"})
/* loaded from: classes2.dex */
public final class AboutViewModel_HiltModules_KeyModule_ProvideFactory implements Factory<String> {
public static AboutViewModel_HiltModules_KeyModule_ProvideFactory create() {
return d.f5160a;
}
public static String provide() {
return (String) Preconditions.checkNotNullFromProvides(AboutViewModel_HiltModules.KeyModule.provide());
}
@Override // javax.inject.Provider
public String get() {
return provide();
}
}

View File

@@ -0,0 +1,110 @@
package com.adif.elcanomovil.uiMoreAdif.about;
import android.app.Activity;
import android.content.Context;
import android.content.ContextWrapper;
import android.os.Bundle;
import android.view.LayoutInflater;
import androidx.fragment.app.K;
import androidx.lifecycle.y0;
import dagger.hilt.android.flags.FragmentGetContextFix;
import dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories;
import dagger.hilt.android.internal.managers.FragmentComponentManager;
import dagger.hilt.internal.GeneratedComponentManagerHolder;
import dagger.hilt.internal.Preconditions;
import dagger.hilt.internal.UnsafeCasts;
/* loaded from: classes2.dex */
public abstract class Hilt_AboutFragment extends K implements GeneratedComponentManagerHolder {
private ContextWrapper componentContext;
private volatile FragmentComponentManager componentManager;
private final Object componentManagerLock;
private boolean disableGetContextFix;
private boolean injected;
public Hilt_AboutFragment() {
this.componentManagerLock = new Object();
this.injected = false;
}
private void initializeComponentContext() {
if (this.componentContext == null) {
this.componentContext = FragmentComponentManager.createContextWrapper(super.getContext(), this);
this.disableGetContextFix = FragmentGetContextFix.isFragmentGetContextFixDisabled(super.getContext());
}
}
public FragmentComponentManager createComponentManager() {
return new FragmentComponentManager(this);
}
@Override // dagger.hilt.internal.GeneratedComponentManager
public final Object generatedComponent() {
return componentManager().generatedComponent();
}
@Override // androidx.fragment.app.K
public Context getContext() {
if (super.getContext() == null && !this.disableGetContextFix) {
return null;
}
initializeComponentContext();
return this.componentContext;
}
@Override // androidx.fragment.app.K, androidx.lifecycle.InterfaceC0200v
public y0 getDefaultViewModelProviderFactory() {
return DefaultViewModelFactories.getFragmentFactory(this, super.getDefaultViewModelProviderFactory());
}
public void inject() {
if (this.injected) {
return;
}
this.injected = true;
((AboutFragment_GeneratedInjector) generatedComponent()).injectAboutFragment((AboutFragment) UnsafeCasts.unsafeCast(this));
}
@Override // androidx.fragment.app.K
public void onAttach(Context context) {
super.onAttach(context);
initializeComponentContext();
inject();
}
@Override // androidx.fragment.app.K
public LayoutInflater onGetLayoutInflater(Bundle bundle) {
LayoutInflater onGetLayoutInflater = super.onGetLayoutInflater(bundle);
return onGetLayoutInflater.cloneInContext(FragmentComponentManager.createContextWrapper(onGetLayoutInflater, this));
}
@Override // dagger.hilt.internal.GeneratedComponentManagerHolder
public final FragmentComponentManager componentManager() {
if (this.componentManager == null) {
synchronized (this.componentManagerLock) {
try {
if (this.componentManager == null) {
this.componentManager = createComponentManager();
}
} finally {
}
}
}
return this.componentManager;
}
public Hilt_AboutFragment(int i) {
super(i);
this.componentManagerLock = new Object();
this.injected = false;
}
@Override // androidx.fragment.app.K
public void onAttach(Activity activity) {
super.onAttach(activity);
ContextWrapper contextWrapper = this.componentContext;
Preconditions.checkState(contextWrapper == null || FragmentComponentManager.findActivity(contextWrapper) == activity, "onAttach called multiple times with different Context! Hilt Fragments should not be retained.", new Object[0]);
initializeComponentContext();
inject();
}
}

View File

@@ -0,0 +1,43 @@
package com.adif.elcanomovil.uiMoreAdif.about;
import com.adif.elcanomovil.commonViews.ButtonsEvents;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Lambda;
/* loaded from: classes2.dex */
public final class b extends Lambda implements Function1 {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ int f5157a;
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ AboutFragment f5158b;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public /* synthetic */ b(AboutFragment aboutFragment, int i) {
super(1);
this.f5157a = i;
this.f5158b = aboutFragment;
}
@Override // kotlin.jvm.functions.Function1
public final Object invoke(Object obj) {
AboutViewModel viewModel;
switch (this.f5157a) {
case 0:
ButtonsEvents it = (ButtonsEvents) obj;
Intrinsics.checkNotNullParameter(it, "it");
this.f5158b.requireActivity().onBackPressed();
return Unit.INSTANCE;
default:
ButtonsEvents it2 = (ButtonsEvents) obj;
Intrinsics.checkNotNullParameter(it2, "it");
AboutFragment aboutFragment = this.f5158b;
viewModel = aboutFragment.getViewModel();
viewModel.wizardTapped(aboutFragment.getContext());
return Unit.INSTANCE;
}
}
}

View File

@@ -0,0 +1,29 @@
package com.adif.elcanomovil.uiMoreAdif.about;
import android.content.Context;
import com.adif.elcanomovil.commonNavGraph.arguments.AlertAction;
import com.adif.elcanomovil.commonNavGraph.arguments.AlertActions;
import com.adif.elcanomovil.uiMoreAdif.R;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Lambda;
/* loaded from: classes2.dex */
public final class c extends Lambda implements Function0 {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ Context f5159a;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public c(Context context) {
super(0);
this.f5159a = context;
}
@Override // kotlin.jvm.functions.Function0
public final Object invoke() {
String string = this.f5159a.getString(R.string.dialog_action_close);
Intrinsics.checkNotNullExpressionValue(string, "getString(...)");
return new AlertActions("observation", new AlertAction(string, AlertAction.Style.POSITIVE));
}
}

View File

@@ -0,0 +1,8 @@
package com.adif.elcanomovil.uiMoreAdif.about;
/* loaded from: classes2.dex */
public abstract class d {
/* renamed from: a, reason: collision with root package name */
public static final AboutViewModel_HiltModules_KeyModule_ProvideFactory f5160a = new AboutViewModel_HiltModules_KeyModule_ProvideFactory();
}

View File

@@ -0,0 +1,262 @@
package com.adif.elcanomovil.uiMoreAdif.accessibility;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import androidx.fragment.app.K;
import androidx.lifecycle.C0;
import androidx.lifecycle.D0;
import androidx.lifecycle.InterfaceC0200v;
import androidx.lifecycle.J;
import androidx.lifecycle.y0;
import b1.InterfaceC0266a;
import b1.f;
import com.adif.elcanomovil.commonNavGraph.navigation.IntentAction;
import com.adif.elcanomovil.commonNavGraph.navigation.Navigation;
import com.adif.elcanomovil.commonNavGraph.navigation.NavigationHandler;
import com.adif.elcanomovil.commonViews.data.InfoHeaderData;
import com.adif.elcanomovil.uiMoreAdif.R;
import com.adif.elcanomovil.uiMoreAdif.databinding.FragmentAccessibilityBinding;
import com.google.android.gms.common.internal.ImagesContract;
import dagger.hilt.android.AndroidEntryPoint;
import kotlin.Lazy;
import kotlin.LazyKt;
import kotlin.LazyThreadSafetyMode;
import kotlin.Metadata;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Reflection;
import kotlin.jvm.internal.SourceDebugExtension;
import l0.C0435a;
@Metadata(d1 = {"\u00006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0006\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003J\u0013\u0010\u0006\u001a\u00020\u0005*\u00020\u0004H\u0002¢\u0006\u0004\b\u0006\u0010\u0007J\u0013\u0010\b\u001a\u00020\u0005*\u00020\u0004H\u0002¢\u0006\u0004\b\b\u0010\u0007J\u0017\u0010\u000b\u001a\u00020\u00052\u0006\u0010\n\u001a\u00020\tH\u0002¢\u0006\u0004\b\u000b\u0010\fJ!\u0010\u0011\u001a\u00020\u00052\u0006\u0010\u000e\u001a\u00020\r2\b\u0010\u0010\u001a\u0004\u0018\u00010\u000fH\u0016¢\u0006\u0004\b\u0011\u0010\u0012R\u0016\u0010\u0013\u001a\u00020\u00048\u0002@\u0002X\u0082.¢\u0006\u0006\n\u0004\b\u0013\u0010\u0014R\u001b\u0010\u001a\u001a\u00020\u00158BX\u0082\u0084\u0002¢\u0006\f\n\u0004\b\u0016\u0010\u0017\u001a\u0004\b\u0018\u0010\u0019¨\u0006\u001b"}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/accessibility/AccessibilityFragment;", "Landroidx/fragment/app/K;", "<init>", "()V", "Lcom/adif/elcanomovil/uiMoreAdif/databinding/FragmentAccessibilityBinding;", "", "configureHeaderView", "(Lcom/adif/elcanomovil/uiMoreAdif/databinding/FragmentAccessibilityBinding;)V", "configureListeners", "", ImagesContract.URL, "followLink", "(Ljava/lang/String;)V", "Landroid/view/View;", "view", "Landroid/os/Bundle;", "savedInstanceState", "onViewCreated", "(Landroid/view/View;Landroid/os/Bundle;)V", "binding", "Lcom/adif/elcanomovil/uiMoreAdif/databinding/FragmentAccessibilityBinding;", "Lcom/adif/elcanomovil/uiMoreAdif/accessibility/AccessibilityViewModel;", "viewModel$delegate", "Lkotlin/Lazy;", "getViewModel", "()Lcom/adif/elcanomovil/uiMoreAdif/accessibility/AccessibilityViewModel;", "viewModel", "ui-more-adif_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
@AndroidEntryPoint
@SourceDebugExtension({"SMAP\nAccessibilityFragment.kt\nKotlin\n*S Kotlin\n*F\n+ 1 AccessibilityFragment.kt\ncom/adif/elcanomovil/uiMoreAdif/accessibility/AccessibilityFragment\n+ 2 FragmentViewModelLazy.kt\nandroidx/fragment/app/FragmentViewModelLazyKt\n*L\n1#1,52:1\n106#2,15:53\n*S KotlinDebug\n*F\n+ 1 AccessibilityFragment.kt\ncom/adif/elcanomovil/uiMoreAdif/accessibility/AccessibilityFragment\n*L\n19#1:53,15\n*E\n"})
/* loaded from: classes2.dex */
public final class AccessibilityFragment extends Hilt_AccessibilityFragment {
private FragmentAccessibilityBinding binding;
/* renamed from: viewModel$delegate, reason: from kotlin metadata */
private final Lazy viewModel;
public AccessibilityFragment() {
super(R.layout.fragment_accessibility);
final Function0<K> function0 = new Function0<K>() { // from class: com.adif.elcanomovil.uiMoreAdif.accessibility.AccessibilityFragment$special$$inlined$viewModels$default$1
{
super(0);
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // kotlin.jvm.functions.Function0
public final K invoke() {
return K.this;
}
};
final Lazy lazy = LazyKt.lazy(LazyThreadSafetyMode.NONE, (Function0) new Function0<D0>() { // from class: com.adif.elcanomovil.uiMoreAdif.accessibility.AccessibilityFragment$special$$inlined$viewModels$default$2
{
super(0);
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // kotlin.jvm.functions.Function0
public final D0 invoke() {
return (D0) Function0.this.invoke();
}
});
final Function0 function02 = null;
this.viewModel = m3.d.n(this, Reflection.getOrCreateKotlinClass(AccessibilityViewModel.class), new Function0<C0>() { // from class: com.adif.elcanomovil.uiMoreAdif.accessibility.AccessibilityFragment$special$$inlined$viewModels$default$3
{
super(0);
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // kotlin.jvm.functions.Function0
public final C0 invoke() {
return ((D0) Lazy.this.getValue()).getViewModelStore();
}
}, new Function0<l0.c>() { // from class: com.adif.elcanomovil.uiMoreAdif.accessibility.AccessibilityFragment$special$$inlined$viewModels$default$4
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
{
super(0);
}
@Override // kotlin.jvm.functions.Function0
public final l0.c invoke() {
l0.c cVar;
Function0 function03 = Function0.this;
if (function03 != null && (cVar = (l0.c) function03.invoke()) != null) {
return cVar;
}
D0 d02 = (D0) lazy.getValue();
InterfaceC0200v interfaceC0200v = d02 instanceof InterfaceC0200v ? (InterfaceC0200v) d02 : null;
return interfaceC0200v != null ? interfaceC0200v.getDefaultViewModelCreationExtras() : C0435a.f7312b;
}
}, new Function0<y0>() { // from class: com.adif.elcanomovil.uiMoreAdif.accessibility.AccessibilityFragment$special$$inlined$viewModels$default$5
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
{
super(0);
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // kotlin.jvm.functions.Function0
public final y0 invoke() {
y0 defaultViewModelProviderFactory;
D0 d02 = (D0) lazy.getValue();
InterfaceC0200v interfaceC0200v = d02 instanceof InterfaceC0200v ? (InterfaceC0200v) d02 : null;
if (interfaceC0200v != null && (defaultViewModelProviderFactory = interfaceC0200v.getDefaultViewModelProviderFactory()) != null) {
return defaultViewModelProviderFactory;
}
y0 defaultViewModelProviderFactory2 = K.this.getDefaultViewModelProviderFactory();
Intrinsics.checkNotNullExpressionValue(defaultViewModelProviderFactory2, "defaultViewModelProviderFactory");
return defaultViewModelProviderFactory2;
}
});
}
private final void configureHeaderView(FragmentAccessibilityBinding fragmentAccessibilityBinding) {
fragmentAccessibilityBinding.headerViewAbout.updateHeaderInfo(new InfoHeaderData(getString(R.string.accessibility_title), Integer.valueOf(R.drawable.ic_arrow_back), null, 4, null));
fragmentAccessibilityBinding.headerViewAbout.setOnBackActionListener(new b(this, 0));
fragmentAccessibilityBinding.headerViewAbout.setOnCloseActionListener(new b(this, 1));
}
private final void configureListeners(FragmentAccessibilityBinding fragmentAccessibilityBinding) {
final int i = 0;
fragmentAccessibilityBinding.acercaButton.setOnClickListener(new View.OnClickListener(this) { // from class: com.adif.elcanomovil.uiMoreAdif.accessibility.a
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ AccessibilityFragment f5162b;
{
this.f5162b = this;
}
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
int i4 = i;
AccessibilityFragment accessibilityFragment = this.f5162b;
switch (i4) {
case 0:
AccessibilityFragment.configureListeners$lambda$0(accessibilityFragment, view);
return;
case 1:
AccessibilityFragment.configureListeners$lambda$1(accessibilityFragment, view);
return;
default:
AccessibilityFragment.configureListeners$lambda$2(accessibilityFragment, view);
return;
}
}
});
final int i4 = 1;
fragmentAccessibilityBinding.communicationsButton.setOnClickListener(new View.OnClickListener(this) { // from class: com.adif.elcanomovil.uiMoreAdif.accessibility.a
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ AccessibilityFragment f5162b;
{
this.f5162b = this;
}
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
int i42 = i4;
AccessibilityFragment accessibilityFragment = this.f5162b;
switch (i42) {
case 0:
AccessibilityFragment.configureListeners$lambda$0(accessibilityFragment, view);
return;
case 1:
AccessibilityFragment.configureListeners$lambda$1(accessibilityFragment, view);
return;
default:
AccessibilityFragment.configureListeners$lambda$2(accessibilityFragment, view);
return;
}
}
});
final int i5 = 2;
fragmentAccessibilityBinding.declarationButton.setOnClickListener(new View.OnClickListener(this) { // from class: com.adif.elcanomovil.uiMoreAdif.accessibility.a
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ AccessibilityFragment f5162b;
{
this.f5162b = this;
}
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
int i42 = i5;
AccessibilityFragment accessibilityFragment = this.f5162b;
switch (i42) {
case 0:
AccessibilityFragment.configureListeners$lambda$0(accessibilityFragment, view);
return;
case 1:
AccessibilityFragment.configureListeners$lambda$1(accessibilityFragment, view);
return;
default:
AccessibilityFragment.configureListeners$lambda$2(accessibilityFragment, view);
return;
}
}
});
}
/* JADX INFO: Access modifiers changed from: private */
public static final void configureListeners$lambda$0(AccessibilityFragment this$0, View view) {
Intrinsics.checkNotNullParameter(this$0, "this$0");
String string = this$0.getString(R.string.accessibility_acerca_website);
Intrinsics.checkNotNullExpressionValue(string, "getString(...)");
this$0.followLink(string);
}
/* JADX INFO: Access modifiers changed from: private */
public static final void configureListeners$lambda$1(AccessibilityFragment this$0, View view) {
Intrinsics.checkNotNullParameter(this$0, "this$0");
this$0.getViewModel().communicationButtonTapped(this$0.getContext());
}
/* JADX INFO: Access modifiers changed from: private */
public static final void configureListeners$lambda$2(AccessibilityFragment this$0, View view) {
Intrinsics.checkNotNullParameter(this$0, "this$0");
this$0.getViewModel().declarationButtonTapped(this$0.getContext());
}
private final void followLink(String url) {
Uri parse = Uri.parse(url);
Intrinsics.checkNotNullExpressionValue(parse, "parse(...)");
new NavigationHandler(this).invoke2((Navigation) new Navigation.Intent(new IntentAction.View(parse)));
}
/* JADX INFO: Access modifiers changed from: private */
public final AccessibilityViewModel getViewModel() {
return (AccessibilityViewModel) this.viewModel.getValue();
}
@Override // androidx.fragment.app.K
public void onViewCreated(View view, Bundle savedInstanceState) {
Intrinsics.checkNotNullParameter(view, "view");
super.onViewCreated(view, savedInstanceState);
FragmentAccessibilityBinding bind = FragmentAccessibilityBinding.bind(view);
Intrinsics.checkNotNullExpressionValue(bind, "bind(...)");
this.binding = bind;
FragmentAccessibilityBinding fragmentAccessibilityBinding = null;
if (bind == null) {
Intrinsics.throwUninitializedPropertyAccessException("binding");
bind = null;
}
configureHeaderView(bind);
FragmentAccessibilityBinding fragmentAccessibilityBinding2 = this.binding;
if (fragmentAccessibilityBinding2 == null) {
Intrinsics.throwUninitializedPropertyAccessException("binding");
} else {
fragmentAccessibilityBinding = fragmentAccessibilityBinding2;
}
configureListeners(fragmentAccessibilityBinding);
InterfaceC0266a navigation = getViewModel().getNavigation();
J viewLifecycleOwner = getViewLifecycleOwner();
Intrinsics.checkNotNullExpressionValue(viewLifecycleOwner, "getViewLifecycleOwner(...)");
((f) navigation).a(viewLifecycleOwner, new NavigationHandler(this));
}
}

View File

@@ -0,0 +1,14 @@
package com.adif.elcanomovil.uiMoreAdif.accessibility;
import dagger.hilt.InstallIn;
import dagger.hilt.android.components.FragmentComponent;
import dagger.hilt.codegen.OriginatingElement;
import dagger.hilt.internal.GeneratedEntryPoint;
@OriginatingElement(topLevelClass = AccessibilityFragment.class)
@GeneratedEntryPoint
@InstallIn({FragmentComponent.class})
/* loaded from: classes2.dex */
public interface AccessibilityFragment_GeneratedInjector {
void injectAccessibilityFragment(AccessibilityFragment accessibilityFragment);
}

View File

@@ -0,0 +1,80 @@
package com.adif.elcanomovil.uiMoreAdif.accessibility;
import D.h;
import android.content.Context;
import android.content.Intent;
import androidx.lifecycle.w0;
import b1.InterfaceC0266a;
import b1.f;
import com.adif.elcanomovil.commonNavGraph.arguments.AlertActions;
import com.adif.elcanomovil.commonNavGraph.arguments.AlertType;
import com.adif.elcanomovil.commonNavGraph.navigation.Navigation;
import com.adif.elcanomovil.domain.usecases.GetAppVersionUseCase;
import com.adif.elcanomovil.main.BottomNavFragmentDirections;
import com.adif.elcanomovil.uiMoreAdif.R;
import com.adif.elcanomovil.uiMoreAdif.wizard.WizardActivity;
import com.google.firebase.remoteconfig.RemoteConfigConstants;
import dagger.hilt.android.lifecycle.HiltViewModel;
import javax.inject.Inject;
import kotlin.Lazy;
import kotlin.LazyKt;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
@HiltViewModel
@Metadata(d1 = {"\u0000R\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0006\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\b\u0007\u0018\u00002\u00020\u0001B\u0011\b\u0007\u0012\u0006\u0010\u0003\u001a\u00020\u0002¢\u0006\u0004\b\u0004\u0010\u0005J-\u0010\f\u001a\u00020\u000b2\b\u0010\u0007\u001a\u0004\u0018\u00010\u00062\b\b\u0001\u0010\t\u001a\u00020\b2\b\b\u0001\u0010\n\u001a\u00020\bH\u0002¢\u0006\u0004\b\f\u0010\rJ\u0017\u0010\u000f\u001a\u00020\u000e2\b\u0010\u0007\u001a\u0004\u0018\u00010\u0006¢\u0006\u0004\b\u000f\u0010\u0010J\u0017\u0010\u0011\u001a\u00020\u000b2\b\u0010\u0007\u001a\u0004\u0018\u00010\u0006¢\u0006\u0004\b\u0011\u0010\u0012J\u0017\u0010\u0013\u001a\u00020\u000b2\b\u0010\u0007\u001a\u0004\u0018\u00010\u0006¢\u0006\u0004\b\u0013\u0010\u0012R\u0014\u0010\u0003\u001a\u00020\u00028\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0003\u0010\u0014R\u001a\u0010\u0017\u001a\b\u0012\u0004\u0012\u00020\u00160\u00158\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0017\u0010\u0018R\u001d\u0010\u001a\u001a\b\u0012\u0004\u0012\u00020\u00160\u00198\u0006¢\u0006\f\n\u0004\b\u001a\u0010\u001b\u001a\u0004\b\u001c\u0010\u001dR\u0011\u0010!\u001a\u00020\u001e8F¢\u0006\u0006\u001a\u0004\b\u001f\u0010 ¨\u0006$²\u0006\f\u0010#\u001a\u00020\"8\nX\u008a\u0084\u0002"}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/accessibility/AccessibilityViewModel;", "Landroidx/lifecycle/w0;", "Lcom/adif/elcanomovil/domain/usecases/GetAppVersionUseCase;", "getAppVersionUseCase", "<init>", "(Lcom/adif/elcanomovil/domain/usecases/GetAppVersionUseCase;)V", "Landroid/content/Context;", "context", "", "title", "message", "", "showAlertMessage", "(Landroid/content/Context;II)V", "", "wizardTapped", "(Landroid/content/Context;)Z", "declarationButtonTapped", "(Landroid/content/Context;)V", "communicationButtonTapped", "Lcom/adif/elcanomovil/domain/usecases/GetAppVersionUseCase;", "Lb1/f;", "Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation;", "navigationFlow", "Lb1/f;", "Lb1/a;", "navigation", "Lb1/a;", "getNavigation", "()Lb1/a;", "", "getAppVersion", "()Ljava/lang/String;", RemoteConfigConstants.RequestFieldKey.APP_VERSION, "Lcom/adif/elcanomovil/commonNavGraph/arguments/AlertActions;", "observationActions", "ui-more-adif_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes2.dex */
public final class AccessibilityViewModel extends w0 {
private final GetAppVersionUseCase getAppVersionUseCase;
private final InterfaceC0266a navigation;
private final f navigationFlow;
@Inject
public AccessibilityViewModel(GetAppVersionUseCase getAppVersionUseCase) {
Intrinsics.checkNotNullParameter(getAppVersionUseCase, "getAppVersionUseCase");
this.getAppVersionUseCase = getAppVersionUseCase;
f fVar = new f();
this.navigationFlow = fVar;
this.navigation = fVar;
}
private final void showAlertMessage(Context context, int title, int message) {
if (context != null) {
Lazy lazy = LazyKt.lazy(new c(context));
BottomNavFragmentDirections.Companion companion = BottomNavFragmentDirections.INSTANCE;
String string = context.getString(title);
Intrinsics.checkNotNullExpressionValue(string, "getString(...)");
String string2 = context.getString(message);
Intrinsics.checkNotNullExpressionValue(string2, "getString(...)");
this.navigationFlow.b(new Navigation.RootDirection(companion.toAlertDialog(false, true, string, string2, showAlertMessage$lambda$2$lambda$1(lazy), AlertType.INFO), null, 2, null));
}
}
private static final AlertActions showAlertMessage$lambda$2$lambda$1(Lazy<AlertActions> lazy) {
return lazy.getValue();
}
public final void communicationButtonTapped(Context context) {
showAlertMessage(context, R.string.communications_dialog_title, R.string.communications_dialog_message);
}
public final void declarationButtonTapped(Context context) {
showAlertMessage(context, R.string.declaration_dialog_title, R.string.declaration_dialog_message);
}
public final String getAppVersion() {
return this.getAppVersionUseCase.invoke();
}
public final InterfaceC0266a getNavigation() {
return this.navigation;
}
public final boolean wizardTapped(Context context) {
if (context == null) {
return false;
}
h.startActivity(context, new Intent(context, (Class<?>) WizardActivity.class), null);
return true;
}
}

View File

@@ -0,0 +1,33 @@
package com.adif.elcanomovil.uiMoreAdif.accessibility;
import com.adif.elcanomovil.domain.usecases.GetAppVersionUseCase;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import javax.inject.Provider;
@ScopeMetadata
@DaggerGenerated
@QualifierMetadata
/* loaded from: classes2.dex */
public final class AccessibilityViewModel_Factory implements Factory<AccessibilityViewModel> {
private final Provider<GetAppVersionUseCase> getAppVersionUseCaseProvider;
public AccessibilityViewModel_Factory(Provider<GetAppVersionUseCase> provider) {
this.getAppVersionUseCaseProvider = provider;
}
public static AccessibilityViewModel_Factory create(Provider<GetAppVersionUseCase> provider) {
return new AccessibilityViewModel_Factory(provider);
}
public static AccessibilityViewModel newInstance(GetAppVersionUseCase getAppVersionUseCase) {
return new AccessibilityViewModel(getAppVersionUseCase);
}
@Override // javax.inject.Provider
public AccessibilityViewModel get() {
return newInstance(this.getAppVersionUseCaseProvider.get());
}
}

View File

@@ -0,0 +1,51 @@
package com.adif.elcanomovil.uiMoreAdif.accessibility;
import androidx.lifecycle.w0;
import dagger.Binds;
import dagger.Module;
import dagger.Provides;
import dagger.hilt.InstallIn;
import dagger.hilt.android.components.ActivityRetainedComponent;
import dagger.hilt.android.components.ViewModelComponent;
import dagger.hilt.android.internal.lifecycle.HiltViewModelMap;
import dagger.hilt.codegen.OriginatingElement;
import dagger.multibindings.IntoMap;
import dagger.multibindings.IntoSet;
import dagger.multibindings.StringKey;
@OriginatingElement(topLevelClass = AccessibilityViewModel.class)
/* loaded from: classes2.dex */
public final class AccessibilityViewModel_HiltModules {
@Module
@InstallIn({ViewModelComponent.class})
/* loaded from: classes2.dex */
public static abstract class BindsModule {
private BindsModule() {
}
@Binds
@StringKey("com.adif.elcanomovil.uiMoreAdif.accessibility.AccessibilityViewModel")
@HiltViewModelMap
@IntoMap
public abstract w0 binds(AccessibilityViewModel accessibilityViewModel);
}
@Module
@InstallIn({ActivityRetainedComponent.class})
/* loaded from: classes2.dex */
public static final class KeyModule {
private KeyModule() {
}
@Provides
@HiltViewModelMap.KeySet
@IntoSet
public static String provide() {
return "com.adif.elcanomovil.uiMoreAdif.accessibility.AccessibilityViewModel";
}
}
private AccessibilityViewModel_HiltModules() {
}
}

View File

@@ -0,0 +1,27 @@
package com.adif.elcanomovil.uiMoreAdif.accessibility;
import com.adif.elcanomovil.uiMoreAdif.accessibility.AccessibilityViewModel_HiltModules;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
@ScopeMetadata
@DaggerGenerated
@QualifierMetadata({"dagger.hilt.android.internal.lifecycle.HiltViewModelMap.KeySet"})
/* loaded from: classes2.dex */
public final class AccessibilityViewModel_HiltModules_KeyModule_ProvideFactory implements Factory<String> {
public static AccessibilityViewModel_HiltModules_KeyModule_ProvideFactory create() {
return d.f5166a;
}
public static String provide() {
return (String) Preconditions.checkNotNullFromProvides(AccessibilityViewModel_HiltModules.KeyModule.provide());
}
@Override // javax.inject.Provider
public String get() {
return provide();
}
}

View File

@@ -0,0 +1,9 @@
package com.adif.elcanomovil.uiMoreAdif.accessibility;
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 = {"ALERT_KEY_OBSERVATION", "", "ui-more-adif_proNon_corporateRelease"}, k = 2, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes2.dex */
public final class HelpViewModelKt {
public static final String ALERT_KEY_OBSERVATION = "observation";
}

View File

@@ -0,0 +1,110 @@
package com.adif.elcanomovil.uiMoreAdif.accessibility;
import android.app.Activity;
import android.content.Context;
import android.content.ContextWrapper;
import android.os.Bundle;
import android.view.LayoutInflater;
import androidx.fragment.app.K;
import androidx.lifecycle.y0;
import dagger.hilt.android.flags.FragmentGetContextFix;
import dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories;
import dagger.hilt.android.internal.managers.FragmentComponentManager;
import dagger.hilt.internal.GeneratedComponentManagerHolder;
import dagger.hilt.internal.Preconditions;
import dagger.hilt.internal.UnsafeCasts;
/* loaded from: classes2.dex */
public abstract class Hilt_AccessibilityFragment extends K implements GeneratedComponentManagerHolder {
private ContextWrapper componentContext;
private volatile FragmentComponentManager componentManager;
private final Object componentManagerLock;
private boolean disableGetContextFix;
private boolean injected;
public Hilt_AccessibilityFragment() {
this.componentManagerLock = new Object();
this.injected = false;
}
private void initializeComponentContext() {
if (this.componentContext == null) {
this.componentContext = FragmentComponentManager.createContextWrapper(super.getContext(), this);
this.disableGetContextFix = FragmentGetContextFix.isFragmentGetContextFixDisabled(super.getContext());
}
}
public FragmentComponentManager createComponentManager() {
return new FragmentComponentManager(this);
}
@Override // dagger.hilt.internal.GeneratedComponentManager
public final Object generatedComponent() {
return componentManager().generatedComponent();
}
@Override // androidx.fragment.app.K
public Context getContext() {
if (super.getContext() == null && !this.disableGetContextFix) {
return null;
}
initializeComponentContext();
return this.componentContext;
}
@Override // androidx.fragment.app.K, androidx.lifecycle.InterfaceC0200v
public y0 getDefaultViewModelProviderFactory() {
return DefaultViewModelFactories.getFragmentFactory(this, super.getDefaultViewModelProviderFactory());
}
public void inject() {
if (this.injected) {
return;
}
this.injected = true;
((AccessibilityFragment_GeneratedInjector) generatedComponent()).injectAccessibilityFragment((AccessibilityFragment) UnsafeCasts.unsafeCast(this));
}
@Override // androidx.fragment.app.K
public void onAttach(Context context) {
super.onAttach(context);
initializeComponentContext();
inject();
}
@Override // androidx.fragment.app.K
public LayoutInflater onGetLayoutInflater(Bundle bundle) {
LayoutInflater onGetLayoutInflater = super.onGetLayoutInflater(bundle);
return onGetLayoutInflater.cloneInContext(FragmentComponentManager.createContextWrapper(onGetLayoutInflater, this));
}
@Override // dagger.hilt.internal.GeneratedComponentManagerHolder
public final FragmentComponentManager componentManager() {
if (this.componentManager == null) {
synchronized (this.componentManagerLock) {
try {
if (this.componentManager == null) {
this.componentManager = createComponentManager();
}
} finally {
}
}
}
return this.componentManager;
}
public Hilt_AccessibilityFragment(int i) {
super(i);
this.componentManagerLock = new Object();
this.injected = false;
}
@Override // androidx.fragment.app.K
public void onAttach(Activity activity) {
super.onAttach(activity);
ContextWrapper contextWrapper = this.componentContext;
Preconditions.checkState(contextWrapper == null || FragmentComponentManager.findActivity(contextWrapper) == activity, "onAttach called multiple times with different Context! Hilt Fragments should not be retained.", new Object[0]);
initializeComponentContext();
inject();
}
}

View File

@@ -0,0 +1,43 @@
package com.adif.elcanomovil.uiMoreAdif.accessibility;
import com.adif.elcanomovil.commonViews.ButtonsEvents;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Lambda;
/* loaded from: classes2.dex */
public final class b extends Lambda implements Function1 {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ int f5163a;
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ AccessibilityFragment f5164b;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public /* synthetic */ b(AccessibilityFragment accessibilityFragment, int i) {
super(1);
this.f5163a = i;
this.f5164b = accessibilityFragment;
}
@Override // kotlin.jvm.functions.Function1
public final Object invoke(Object obj) {
AccessibilityViewModel viewModel;
switch (this.f5163a) {
case 0:
ButtonsEvents it = (ButtonsEvents) obj;
Intrinsics.checkNotNullParameter(it, "it");
this.f5164b.requireActivity().onBackPressed();
return Unit.INSTANCE;
default:
ButtonsEvents it2 = (ButtonsEvents) obj;
Intrinsics.checkNotNullParameter(it2, "it");
AccessibilityFragment accessibilityFragment = this.f5164b;
viewModel = accessibilityFragment.getViewModel();
viewModel.wizardTapped(accessibilityFragment.getContext());
return Unit.INSTANCE;
}
}
}

View File

@@ -0,0 +1,29 @@
package com.adif.elcanomovil.uiMoreAdif.accessibility;
import android.content.Context;
import com.adif.elcanomovil.commonNavGraph.arguments.AlertAction;
import com.adif.elcanomovil.commonNavGraph.arguments.AlertActions;
import com.adif.elcanomovil.uiMoreAdif.R;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Lambda;
/* loaded from: classes2.dex */
public final class c extends Lambda implements Function0 {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ Context f5165a;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public c(Context context) {
super(0);
this.f5165a = context;
}
@Override // kotlin.jvm.functions.Function0
public final Object invoke() {
String string = this.f5165a.getString(R.string.dialog_action_close);
Intrinsics.checkNotNullExpressionValue(string, "getString(...)");
return new AlertActions("observation", new AlertAction(string, AlertAction.Style.POSITIVE));
}
}

View File

@@ -0,0 +1,8 @@
package com.adif.elcanomovil.uiMoreAdif.accessibility;
/* loaded from: classes2.dex */
public abstract class d {
/* renamed from: a, reason: collision with root package name */
public static final AccessibilityViewModel_HiltModules_KeyModule_ProvideFactory f5166a = new AccessibilityViewModel_HiltModules_KeyModule_ProvideFactory();
}

View File

@@ -0,0 +1,17 @@
package com.adif.elcanomovil.uiMoreAdif;
import kotlin.collections.CollectionsKt;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Lambda;
/* loaded from: classes2.dex */
public final class b extends Lambda implements Function0 {
/* renamed from: a, reason: collision with root package name */
public static final b f5167a = new Lambda(0);
@Override // kotlin.jvm.functions.Function0
public final Object invoke() {
return CollectionsKt.listOf((Object[]) new MoreItem[]{new MoreItem(MoreActions.TRAIN, R.drawable.ic_train), new MoreItem(MoreActions.SUBSCRIPTIONS, R.drawable.ic_subscription_filled), new MoreItem(MoreActions.FAVOURITES, R.drawable.ic_favourite_on), new MoreItem(MoreActions.NETWORK_STATUS, R.drawable.ic_network_status), new MoreItem(MoreActions.ACCESSIBILITY, R.drawable.ic_accessibility), new MoreItem(MoreActions.LOST_OBJECTS, R.drawable.ic_lost_objects), new MoreItem(MoreActions.NOTICES, R.drawable.ic_notices), new MoreItem(MoreActions.HELP, R.drawable.ic_help), new MoreItem(MoreActions.CONTACT, R.drawable.ic_contact), new MoreItem(MoreActions.ABOUT, R.drawable.ic_about)});
}
}

View File

@@ -0,0 +1,230 @@
package com.adif.elcanomovil.uiMoreAdif.contact;
import I1.b;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import androidx.fragment.app.K;
import com.adif.elcanomovil.commonNavGraph.navigation.IntentAction;
import com.adif.elcanomovil.commonNavGraph.navigation.Navigation;
import com.adif.elcanomovil.commonNavGraph.navigation.NavigationHandler;
import com.adif.elcanomovil.commonViews.data.InfoHeaderData;
import com.adif.elcanomovil.uiMoreAdif.R;
import com.adif.elcanomovil.uiMoreAdif.contact.ContactFragment;
import com.adif.elcanomovil.uiMoreAdif.databinding.FragmentContactBinding;
import com.google.android.gms.common.internal.ImagesContract;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003J\u0013\u0010\u0006\u001a\u00020\u0005*\u00020\u0004H\u0002¢\u0006\u0004\b\u0006\u0010\u0007J\u000f\u0010\b\u001a\u00020\u0005H\u0002¢\u0006\u0004\b\b\u0010\u0003J\u0017\u0010\u000b\u001a\u00020\u00052\u0006\u0010\n\u001a\u00020\tH\u0002¢\u0006\u0004\b\u000b\u0010\fJ!\u0010\u0011\u001a\u00020\u00052\u0006\u0010\u000e\u001a\u00020\r2\b\u0010\u0010\u001a\u0004\u0018\u00010\u000fH\u0016¢\u0006\u0004\b\u0011\u0010\u0012R\u0016\u0010\u0013\u001a\u00020\u00048\u0002@\u0002X\u0082.¢\u0006\u0006\n\u0004\b\u0013\u0010\u0014¨\u0006\u0015"}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/contact/ContactFragment;", "Landroidx/fragment/app/K;", "<init>", "()V", "Lcom/adif/elcanomovil/uiMoreAdif/databinding/FragmentContactBinding;", "", "configureHeaderView", "(Lcom/adif/elcanomovil/uiMoreAdif/databinding/FragmentContactBinding;)V", "configListeners", "", ImagesContract.URL, "followLink", "(Ljava/lang/String;)V", "Landroid/view/View;", "view", "Landroid/os/Bundle;", "savedInstanceState", "onViewCreated", "(Landroid/view/View;Landroid/os/Bundle;)V", "binding", "Lcom/adif/elcanomovil/uiMoreAdif/databinding/FragmentContactBinding;", "ui-more-adif_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes2.dex */
public final class ContactFragment extends K {
private FragmentContactBinding binding;
public ContactFragment() {
super(R.layout.fragment_contact);
}
private final void configListeners() {
FragmentContactBinding fragmentContactBinding = this.binding;
FragmentContactBinding fragmentContactBinding2 = null;
if (fragmentContactBinding == null) {
Intrinsics.throwUninitializedPropertyAccessException("binding");
fragmentContactBinding = null;
}
final int i = 0;
fragmentContactBinding.tvWeb.setOnClickListener(new View.OnClickListener(this) { // from class: I1.a
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ ContactFragment f791b;
{
this.f791b = this;
}
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
int i4 = i;
ContactFragment contactFragment = this.f791b;
switch (i4) {
case 0:
ContactFragment.configListeners$lambda$0(contactFragment, view);
return;
case 1:
ContactFragment.configListeners$lambda$1(contactFragment, view);
return;
case 2:
ContactFragment.configListeners$lambda$2(contactFragment, view);
return;
default:
ContactFragment.configListeners$lambda$3(contactFragment, view);
return;
}
}
});
FragmentContactBinding fragmentContactBinding3 = this.binding;
if (fragmentContactBinding3 == null) {
Intrinsics.throwUninitializedPropertyAccessException("binding");
fragmentContactBinding3 = null;
}
final int i4 = 1;
fragmentContactBinding3.ivFacebook.setOnClickListener(new View.OnClickListener(this) { // from class: I1.a
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ ContactFragment f791b;
{
this.f791b = this;
}
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
int i42 = i4;
ContactFragment contactFragment = this.f791b;
switch (i42) {
case 0:
ContactFragment.configListeners$lambda$0(contactFragment, view);
return;
case 1:
ContactFragment.configListeners$lambda$1(contactFragment, view);
return;
case 2:
ContactFragment.configListeners$lambda$2(contactFragment, view);
return;
default:
ContactFragment.configListeners$lambda$3(contactFragment, view);
return;
}
}
});
FragmentContactBinding fragmentContactBinding4 = this.binding;
if (fragmentContactBinding4 == null) {
Intrinsics.throwUninitializedPropertyAccessException("binding");
fragmentContactBinding4 = null;
}
final int i5 = 2;
fragmentContactBinding4.ivInstagram.setOnClickListener(new View.OnClickListener(this) { // from class: I1.a
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ ContactFragment f791b;
{
this.f791b = this;
}
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
int i42 = i5;
ContactFragment contactFragment = this.f791b;
switch (i42) {
case 0:
ContactFragment.configListeners$lambda$0(contactFragment, view);
return;
case 1:
ContactFragment.configListeners$lambda$1(contactFragment, view);
return;
case 2:
ContactFragment.configListeners$lambda$2(contactFragment, view);
return;
default:
ContactFragment.configListeners$lambda$3(contactFragment, view);
return;
}
}
});
FragmentContactBinding fragmentContactBinding5 = this.binding;
if (fragmentContactBinding5 == null) {
Intrinsics.throwUninitializedPropertyAccessException("binding");
} else {
fragmentContactBinding2 = fragmentContactBinding5;
}
final int i6 = 3;
fragmentContactBinding2.ivTwitter.setOnClickListener(new View.OnClickListener(this) { // from class: I1.a
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ ContactFragment f791b;
{
this.f791b = this;
}
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
int i42 = i6;
ContactFragment contactFragment = this.f791b;
switch (i42) {
case 0:
ContactFragment.configListeners$lambda$0(contactFragment, view);
return;
case 1:
ContactFragment.configListeners$lambda$1(contactFragment, view);
return;
case 2:
ContactFragment.configListeners$lambda$2(contactFragment, view);
return;
default:
ContactFragment.configListeners$lambda$3(contactFragment, view);
return;
}
}
});
}
/* JADX INFO: Access modifiers changed from: private */
public static final void configListeners$lambda$0(ContactFragment this$0, View view) {
Intrinsics.checkNotNullParameter(this$0, "this$0");
String string = this$0.getString(R.string.contact_info_website);
Intrinsics.checkNotNullExpressionValue(string, "getString(...)");
this$0.followLink(string);
}
/* JADX INFO: Access modifiers changed from: private */
public static final void configListeners$lambda$1(ContactFragment this$0, View view) {
Intrinsics.checkNotNullParameter(this$0, "this$0");
String string = this$0.getString(R.string.facebook_url);
Intrinsics.checkNotNullExpressionValue(string, "getString(...)");
this$0.followLink(string);
}
/* JADX INFO: Access modifiers changed from: private */
public static final void configListeners$lambda$2(ContactFragment this$0, View view) {
Intrinsics.checkNotNullParameter(this$0, "this$0");
String string = this$0.getString(R.string.instagram_url);
Intrinsics.checkNotNullExpressionValue(string, "getString(...)");
this$0.followLink(string);
}
/* JADX INFO: Access modifiers changed from: private */
public static final void configListeners$lambda$3(ContactFragment this$0, View view) {
Intrinsics.checkNotNullParameter(this$0, "this$0");
String string = this$0.getString(R.string.twitter_url);
Intrinsics.checkNotNullExpressionValue(string, "getString(...)");
this$0.followLink(string);
}
private final void configureHeaderView(FragmentContactBinding fragmentContactBinding) {
fragmentContactBinding.headerViewContact.updateHeaderInfo(new InfoHeaderData(getString(R.string.contact_info_title), Integer.valueOf(R.drawable.ic_arrow_back), null, 4, null));
fragmentContactBinding.headerViewContact.setOnBackActionListener(new b(this, 0));
}
private final void followLink(String url) {
Uri parse = Uri.parse(url);
Intrinsics.checkNotNullExpressionValue(parse, "parse(...)");
new NavigationHandler(this).invoke2((Navigation) new Navigation.Intent(new IntentAction.View(parse)));
}
@Override // androidx.fragment.app.K
public void onViewCreated(View view, Bundle savedInstanceState) {
Intrinsics.checkNotNullParameter(view, "view");
super.onViewCreated(view, savedInstanceState);
FragmentContactBinding bind = FragmentContactBinding.bind(view);
Intrinsics.checkNotNullExpressionValue(bind, "bind(...)");
this.binding = bind;
if (bind == null) {
Intrinsics.throwUninitializedPropertyAccessException("binding");
bind = null;
}
configureHeaderView(bind);
configListeners();
}
}

View File

@@ -0,0 +1,86 @@
package com.adif.elcanomovil.uiMoreAdif.databinding;
import a.AbstractC0105a;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.viewpager.widget.ViewPager;
import com.adif.elcanomovil.uiMoreAdif.R;
/* loaded from: classes2.dex */
public final class BActivityWizardMainScreenBinding {
public final LinearLayout WizardLayout;
public final ImageView circleScreen1;
public final ImageView circleScreen2;
public final ImageView circleScreen3;
public final ImageView circleScreen4;
public final ImageView circleScreen5;
public final ViewPager pager;
private final LinearLayout rootView;
public final TextView wizardReadyText;
private BActivityWizardMainScreenBinding(LinearLayout linearLayout, LinearLayout linearLayout2, ImageView imageView, ImageView imageView2, ImageView imageView3, ImageView imageView4, ImageView imageView5, ViewPager viewPager, TextView textView) {
this.rootView = linearLayout;
this.WizardLayout = linearLayout2;
this.circleScreen1 = imageView;
this.circleScreen2 = imageView2;
this.circleScreen3 = imageView3;
this.circleScreen4 = imageView4;
this.circleScreen5 = imageView5;
this.pager = viewPager;
this.wizardReadyText = textView;
}
public static BActivityWizardMainScreenBinding bind(View view) {
LinearLayout linearLayout = (LinearLayout) view;
int i = R.id.circle_screen1;
ImageView imageView = (ImageView) AbstractC0105a.t(view, i);
if (imageView != null) {
i = R.id.circle_screen2;
ImageView imageView2 = (ImageView) AbstractC0105a.t(view, i);
if (imageView2 != null) {
i = R.id.circle_screen3;
ImageView imageView3 = (ImageView) AbstractC0105a.t(view, i);
if (imageView3 != null) {
i = R.id.circle_screen4;
ImageView imageView4 = (ImageView) AbstractC0105a.t(view, i);
if (imageView4 != null) {
i = R.id.circle_screen5;
ImageView imageView5 = (ImageView) AbstractC0105a.t(view, i);
if (imageView5 != null) {
i = R.id.pager;
ViewPager viewPager = (ViewPager) AbstractC0105a.t(view, i);
if (viewPager != null) {
i = R.id.wizard_ready_text;
TextView textView = (TextView) AbstractC0105a.t(view, i);
if (textView != null) {
return new BActivityWizardMainScreenBinding(linearLayout, linearLayout, imageView, imageView2, imageView3, imageView4, imageView5, viewPager, textView);
}
}
}
}
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i)));
}
public static BActivityWizardMainScreenBinding inflate(LayoutInflater layoutInflater) {
return inflate(layoutInflater, null, false);
}
public static BActivityWizardMainScreenBinding inflate(LayoutInflater layoutInflater, ViewGroup viewGroup, boolean z3) {
View inflate = layoutInflater.inflate(R.layout.b_activity_wizard_main_screen, viewGroup, false);
if (z3) {
viewGroup.addView(inflate);
}
return bind(inflate);
}
public LinearLayout getRoot() {
return this.rootView;
}
}

View File

@@ -0,0 +1,89 @@
package com.adif.elcanomovil.uiMoreAdif.databinding;
import a.AbstractC0105a;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.constraintlayout.widget.Guideline;
import com.adif.elcanomovil.commonViews.HeaderView;
import com.adif.elcanomovil.uiMoreAdif.R;
/* loaded from: classes2.dex */
public final class FragmentAboutBinding {
public final TextView conditionsButton;
public final Guideline guideline;
public final TextView headerTextviewAbout;
public final HeaderView headerViewAbout;
public final ImageView imageView;
public final TextView messageTextview;
private final View rootView;
public final TextView termsButton;
public final TextView versionTextview;
private FragmentAboutBinding(View view, TextView textView, Guideline guideline, TextView textView2, HeaderView headerView, ImageView imageView, TextView textView3, TextView textView4, TextView textView5) {
this.rootView = view;
this.conditionsButton = textView;
this.guideline = guideline;
this.headerTextviewAbout = textView2;
this.headerViewAbout = headerView;
this.imageView = imageView;
this.messageTextview = textView3;
this.termsButton = textView4;
this.versionTextview = textView5;
}
public static FragmentAboutBinding bind(View view) {
int i = R.id.conditions_button;
TextView textView = (TextView) AbstractC0105a.t(view, i);
if (textView != null) {
i = R.id.guideline;
Guideline guideline = (Guideline) AbstractC0105a.t(view, i);
if (guideline != null) {
i = R.id.header_textview_about;
TextView textView2 = (TextView) AbstractC0105a.t(view, i);
if (textView2 != null) {
i = R.id.header_view_about;
HeaderView headerView = (HeaderView) AbstractC0105a.t(view, i);
if (headerView != null) {
i = R.id.imageView;
ImageView imageView = (ImageView) AbstractC0105a.t(view, i);
if (imageView != null) {
i = R.id.message_textview;
TextView textView3 = (TextView) AbstractC0105a.t(view, i);
if (textView3 != null) {
i = R.id.terms_button;
TextView textView4 = (TextView) AbstractC0105a.t(view, i);
if (textView4 != null) {
i = R.id.version_textview;
TextView textView5 = (TextView) AbstractC0105a.t(view, i);
if (textView5 != null) {
return new FragmentAboutBinding(view, textView, guideline, textView2, headerView, imageView, textView3, textView4, textView5);
}
}
}
}
}
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i)));
}
public static FragmentAboutBinding inflate(LayoutInflater layoutInflater) {
return inflate(layoutInflater, null, false);
}
public View getRoot() {
return this.rootView;
}
public static FragmentAboutBinding inflate(LayoutInflater layoutInflater, ViewGroup viewGroup, boolean z3) {
View inflate = layoutInflater.inflate(R.layout.fragment_about, viewGroup, false);
if (z3) {
viewGroup.addView(inflate);
}
return bind(inflate);
}
}

View File

@@ -0,0 +1,89 @@
package com.adif.elcanomovil.uiMoreAdif.databinding;
import a.AbstractC0105a;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.constraintlayout.widget.Guideline;
import com.adif.elcanomovil.commonViews.HeaderView;
import com.adif.elcanomovil.uiMoreAdif.R;
/* loaded from: classes2.dex */
public final class FragmentAccessibilityBinding {
public final TextView acercaButton;
public final TextView communicationsButton;
public final TextView declarationButton;
public final Guideline guideline;
public final TextView headerTextviewAbout;
public final HeaderView headerViewAbout;
public final ImageView imageView;
public final TextView messageTextview;
private final View rootView;
private FragmentAccessibilityBinding(View view, TextView textView, TextView textView2, TextView textView3, Guideline guideline, TextView textView4, HeaderView headerView, ImageView imageView, TextView textView5) {
this.rootView = view;
this.acercaButton = textView;
this.communicationsButton = textView2;
this.declarationButton = textView3;
this.guideline = guideline;
this.headerTextviewAbout = textView4;
this.headerViewAbout = headerView;
this.imageView = imageView;
this.messageTextview = textView5;
}
public static FragmentAccessibilityBinding bind(View view) {
int i = R.id.acerca_button;
TextView textView = (TextView) AbstractC0105a.t(view, i);
if (textView != null) {
i = R.id.communications_button;
TextView textView2 = (TextView) AbstractC0105a.t(view, i);
if (textView2 != null) {
i = R.id.declaration_button;
TextView textView3 = (TextView) AbstractC0105a.t(view, i);
if (textView3 != null) {
i = R.id.guideline;
Guideline guideline = (Guideline) AbstractC0105a.t(view, i);
if (guideline != null) {
i = R.id.header_textview_about;
TextView textView4 = (TextView) AbstractC0105a.t(view, i);
if (textView4 != null) {
i = R.id.header_view_about;
HeaderView headerView = (HeaderView) AbstractC0105a.t(view, i);
if (headerView != null) {
i = R.id.imageView;
ImageView imageView = (ImageView) AbstractC0105a.t(view, i);
if (imageView != null) {
i = R.id.message_textview;
TextView textView5 = (TextView) AbstractC0105a.t(view, i);
if (textView5 != null) {
return new FragmentAccessibilityBinding(view, textView, textView2, textView3, guideline, textView4, headerView, imageView, textView5);
}
}
}
}
}
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i)));
}
public static FragmentAccessibilityBinding inflate(LayoutInflater layoutInflater) {
return inflate(layoutInflater, null, false);
}
public View getRoot() {
return this.rootView;
}
public static FragmentAccessibilityBinding inflate(LayoutInflater layoutInflater, ViewGroup viewGroup, boolean z3) {
View inflate = layoutInflater.inflate(R.layout.fragment_accessibility, viewGroup, false);
if (z3) {
viewGroup.addView(inflate);
}
return bind(inflate);
}
}

View File

@@ -0,0 +1,94 @@
package com.adif.elcanomovil.uiMoreAdif.databinding;
import a.AbstractC0105a;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.adif.elcanomovil.commonViews.HeaderView;
import com.adif.elcanomovil.uiMoreAdif.R;
/* loaded from: classes2.dex */
public final class FragmentContactBinding {
public final TextView headerTextviewContact;
public final HeaderView headerViewContact;
public final TextView hours;
public final ImageView imageView;
public final ImageView ivFacebook;
public final ImageView ivInstagram;
public final ImageView ivTwitter;
private final View rootView;
public final TextView tvFollowUs;
public final TextView tvWeb;
private FragmentContactBinding(View view, TextView textView, HeaderView headerView, TextView textView2, ImageView imageView, ImageView imageView2, ImageView imageView3, ImageView imageView4, TextView textView3, TextView textView4) {
this.rootView = view;
this.headerTextviewContact = textView;
this.headerViewContact = headerView;
this.hours = textView2;
this.imageView = imageView;
this.ivFacebook = imageView2;
this.ivInstagram = imageView3;
this.ivTwitter = imageView4;
this.tvFollowUs = textView3;
this.tvWeb = textView4;
}
public static FragmentContactBinding bind(View view) {
int i = R.id.header_textview_contact;
TextView textView = (TextView) AbstractC0105a.t(view, i);
if (textView != null) {
i = R.id.header_view_contact;
HeaderView headerView = (HeaderView) AbstractC0105a.t(view, i);
if (headerView != null) {
i = R.id.hours;
TextView textView2 = (TextView) AbstractC0105a.t(view, i);
if (textView2 != null) {
i = R.id.imageView;
ImageView imageView = (ImageView) AbstractC0105a.t(view, i);
if (imageView != null) {
i = R.id.iv_facebook;
ImageView imageView2 = (ImageView) AbstractC0105a.t(view, i);
if (imageView2 != null) {
i = R.id.iv_instagram;
ImageView imageView3 = (ImageView) AbstractC0105a.t(view, i);
if (imageView3 != null) {
i = R.id.iv_twitter;
ImageView imageView4 = (ImageView) AbstractC0105a.t(view, i);
if (imageView4 != null) {
i = R.id.tv_follow_us;
TextView textView3 = (TextView) AbstractC0105a.t(view, i);
if (textView3 != null) {
i = R.id.tv_web;
TextView textView4 = (TextView) AbstractC0105a.t(view, i);
if (textView4 != null) {
return new FragmentContactBinding(view, textView, headerView, textView2, imageView, imageView2, imageView3, imageView4, textView3, textView4);
}
}
}
}
}
}
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i)));
}
public static FragmentContactBinding inflate(LayoutInflater layoutInflater) {
return inflate(layoutInflater, null, false);
}
public View getRoot() {
return this.rootView;
}
public static FragmentContactBinding inflate(LayoutInflater layoutInflater, ViewGroup viewGroup, boolean z3) {
View inflate = layoutInflater.inflate(R.layout.fragment_contact, viewGroup, false);
if (z3) {
viewGroup.addView(inflate);
}
return bind(inflate);
}
}

View File

@@ -0,0 +1,52 @@
package com.adif.elcanomovil.uiMoreAdif.databinding;
import a.AbstractC0105a;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import androidx.recyclerview.widget.RecyclerView;
import com.adif.elcanomovil.commonViews.HeaderView;
import com.adif.elcanomovil.uiMoreAdif.R;
/* loaded from: classes2.dex */
public final class FragmentHelpBinding {
public final HeaderView headerViewAbout;
public final RecyclerView optionsRecyclerView;
private final LinearLayout rootView;
private FragmentHelpBinding(LinearLayout linearLayout, HeaderView headerView, RecyclerView recyclerView) {
this.rootView = linearLayout;
this.headerViewAbout = headerView;
this.optionsRecyclerView = recyclerView;
}
public static FragmentHelpBinding bind(View view) {
int i = R.id.header_view_about;
HeaderView headerView = (HeaderView) AbstractC0105a.t(view, i);
if (headerView != null) {
i = R.id.options_recyclerView;
RecyclerView recyclerView = (RecyclerView) AbstractC0105a.t(view, i);
if (recyclerView != null) {
return new FragmentHelpBinding((LinearLayout) view, headerView, recyclerView);
}
}
throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i)));
}
public static FragmentHelpBinding inflate(LayoutInflater layoutInflater) {
return inflate(layoutInflater, null, false);
}
public static FragmentHelpBinding inflate(LayoutInflater layoutInflater, ViewGroup viewGroup, boolean z3) {
View inflate = layoutInflater.inflate(R.layout.fragment_help, viewGroup, false);
if (z3) {
viewGroup.addView(inflate);
}
return bind(inflate);
}
public LinearLayout getRoot() {
return this.rootView;
}
}

View File

@@ -0,0 +1,52 @@
package com.adif.elcanomovil.uiMoreAdif.databinding;
import a.AbstractC0105a;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.LinearLayout;
import androidx.recyclerview.widget.RecyclerView;
import com.adif.elcanomovil.uiMoreAdif.R;
/* loaded from: classes2.dex */
public final class FragmentMoreAdifBinding {
public final RecyclerView optionsRecyclerView;
private final LinearLayout rootView;
public final ImageView stationOptionIcon;
private FragmentMoreAdifBinding(LinearLayout linearLayout, RecyclerView recyclerView, ImageView imageView) {
this.rootView = linearLayout;
this.optionsRecyclerView = recyclerView;
this.stationOptionIcon = imageView;
}
public static FragmentMoreAdifBinding bind(View view) {
int i = R.id.options_recyclerView;
RecyclerView recyclerView = (RecyclerView) AbstractC0105a.t(view, i);
if (recyclerView != null) {
i = R.id.stationOptionIcon;
ImageView imageView = (ImageView) AbstractC0105a.t(view, i);
if (imageView != null) {
return new FragmentMoreAdifBinding((LinearLayout) view, recyclerView, imageView);
}
}
throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i)));
}
public static FragmentMoreAdifBinding inflate(LayoutInflater layoutInflater) {
return inflate(layoutInflater, null, false);
}
public static FragmentMoreAdifBinding inflate(LayoutInflater layoutInflater, ViewGroup viewGroup, boolean z3) {
View inflate = layoutInflater.inflate(R.layout.fragment_more_adif, viewGroup, false);
if (z3) {
viewGroup.addView(inflate);
}
return bind(inflate);
}
public LinearLayout getRoot() {
return this.rootView;
}
}

View File

@@ -0,0 +1,48 @@
package com.adif.elcanomovil.uiMoreAdif.databinding;
import a.AbstractC0105a;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.LinearLayout;
import com.adif.elcanomovil.uiMoreAdif.R;
/* loaded from: classes2.dex */
public final class FragmentWizardFirstBinding {
public final ImageView imgWizard;
private final LinearLayout rootView;
public final LinearLayout wizardBackground;
private FragmentWizardFirstBinding(LinearLayout linearLayout, ImageView imageView, LinearLayout linearLayout2) {
this.rootView = linearLayout;
this.imgWizard = imageView;
this.wizardBackground = linearLayout2;
}
public static FragmentWizardFirstBinding bind(View view) {
int i = R.id.imgWizard;
ImageView imageView = (ImageView) AbstractC0105a.t(view, i);
if (imageView == null) {
throw new NullPointerException("Missing required view with ID: ".concat(view.getResources().getResourceName(i)));
}
LinearLayout linearLayout = (LinearLayout) view;
return new FragmentWizardFirstBinding(linearLayout, imageView, linearLayout);
}
public static FragmentWizardFirstBinding inflate(LayoutInflater layoutInflater) {
return inflate(layoutInflater, null, false);
}
public static FragmentWizardFirstBinding inflate(LayoutInflater layoutInflater, ViewGroup viewGroup, boolean z3) {
View inflate = layoutInflater.inflate(R.layout.fragment_wizard_first, viewGroup, false);
if (z3) {
viewGroup.addView(inflate);
}
return bind(inflate);
}
public LinearLayout getRoot() {
return this.rootView;
}
}

View File

@@ -0,0 +1,35 @@
package com.adif.elcanomovil.uiMoreAdif.di;
import com.adif.elcanomovil.uiMoreAdif.DefaultHelpItemsProvider;
import com.adif.elcanomovil.uiMoreAdif.DefaultOptionsProvider;
import com.adif.elcanomovil.uiMoreAdif.HelpItemsProvider;
import com.adif.elcanomovil.uiMoreAdif.OptionsProvider;
import dagger.Module;
import dagger.Provides;
import dagger.hilt.InstallIn;
import dagger.hilt.components.SingletonComponent;
import javax.inject.Singleton;
import kotlin.Metadata;
@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\\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\b\u0010\u0003\u001a\u00020\u0004H\u0007J\b\u0010\u0005\u001a\u00020\u0006H\u0007¨\u0006\u0007"}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/di/MoreAdifModule;", "", "()V", "provideHelpItemsProvider", "Lcom/adif/elcanomovil/uiMoreAdif/HelpItemsProvider;", "provideOptionsProvider", "Lcom/adif/elcanomovil/uiMoreAdif/OptionsProvider;", "ui-more-adif_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
@Module
@InstallIn({SingletonComponent.class})
/* loaded from: classes2.dex */
public final class MoreAdifModule {
public static final MoreAdifModule INSTANCE = new MoreAdifModule();
private MoreAdifModule() {
}
@Provides
@Singleton
public final HelpItemsProvider provideHelpItemsProvider() {
return new DefaultHelpItemsProvider();
}
@Provides
@Singleton
public final OptionsProvider provideOptionsProvider() {
return new DefaultOptionsProvider();
}
}

View File

@@ -0,0 +1,28 @@
package com.adif.elcanomovil.uiMoreAdif.di;
import J1.a;
import com.adif.elcanomovil.uiMoreAdif.HelpItemsProvider;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
@ScopeMetadata("javax.inject.Singleton")
@DaggerGenerated
@QualifierMetadata
/* loaded from: classes2.dex */
public final class MoreAdifModule_ProvideHelpItemsProviderFactory implements Factory<HelpItemsProvider> {
public static MoreAdifModule_ProvideHelpItemsProviderFactory create() {
return a.f963a;
}
public static HelpItemsProvider provideHelpItemsProvider() {
return (HelpItemsProvider) Preconditions.checkNotNullFromProvides(MoreAdifModule.INSTANCE.provideHelpItemsProvider());
}
@Override // javax.inject.Provider
public HelpItemsProvider get() {
return provideHelpItemsProvider();
}
}

View File

@@ -0,0 +1,28 @@
package com.adif.elcanomovil.uiMoreAdif.di;
import J1.b;
import com.adif.elcanomovil.uiMoreAdif.OptionsProvider;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
@ScopeMetadata("javax.inject.Singleton")
@DaggerGenerated
@QualifierMetadata
/* loaded from: classes2.dex */
public final class MoreAdifModule_ProvideOptionsProviderFactory implements Factory<OptionsProvider> {
public static MoreAdifModule_ProvideOptionsProviderFactory create() {
return b.f964a;
}
public static OptionsProvider provideOptionsProvider() {
return (OptionsProvider) Preconditions.checkNotNullFromProvides(MoreAdifModule.INSTANCE.provideOptionsProvider());
}
@Override // javax.inject.Provider
public OptionsProvider get() {
return provideOptionsProvider();
}
}

View File

@@ -0,0 +1,53 @@
package com.adif.elcanomovil.uiMoreAdif.help;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.recyclerview.widget.AbstractC0220h0;
import androidx.recyclerview.widget.I0;
import com.adif.elcanomovil.uiMoreAdif.HelpItem;
import com.adif.elcanomovil.uiMoreAdif.R;
import com.google.firebase.analytics.FirebaseAnalytics;
import java.util.List;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0007\n\u0002\u0010\u0002\n\u0002\b\u0005\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001:\u0001\u0016B\u0015\u0012\f\u0010\u0005\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003¢\u0006\u0004\b\u0006\u0010\u0007J\u001f\u0010\f\u001a\u00020\u00022\u0006\u0010\t\u001a\u00020\b2\u0006\u0010\u000b\u001a\u00020\nH\u0016¢\u0006\u0004\b\f\u0010\rJ\u000f\u0010\u000e\u001a\u00020\nH\u0016¢\u0006\u0004\b\u000e\u0010\u000fJ\u001f\u0010\u0013\u001a\u00020\u00122\u0006\u0010\u0010\u001a\u00020\u00022\u0006\u0010\u0011\u001a\u00020\nH\u0016¢\u0006\u0004\b\u0013\u0010\u0014R\u001a\u0010\u0005\u001a\b\u0012\u0004\u0012\u00020\u00040\u00038\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0005\u0010\u0015¨\u0006\u0017"}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/help/HelpAdapter;", "Landroidx/recyclerview/widget/h0;", "Landroidx/recyclerview/widget/I0;", "", "Lcom/adif/elcanomovil/uiMoreAdif/HelpItem;", FirebaseAnalytics.Param.ITEMS, "<init>", "(Ljava/util/List;)V", "Landroid/view/ViewGroup;", "parent", "", "viewType", "onCreateViewHolder", "(Landroid/view/ViewGroup;I)Landroidx/recyclerview/widget/I0;", "getItemCount", "()I", "holder", "position", "", "onBindViewHolder", "(Landroidx/recyclerview/widget/I0;I)V", "Ljava/util/List;", "com/adif/elcanomovil/uiMoreAdif/help/a", "ui-more-adif_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes2.dex */
public final class HelpAdapter extends AbstractC0220h0 {
private final List<HelpItem> items;
public HelpAdapter(List<HelpItem> items) {
Intrinsics.checkNotNullParameter(items, "items");
this.items = items;
}
@Override // androidx.recyclerview.widget.AbstractC0220h0
public int getItemCount() {
return this.items.size();
}
@Override // androidx.recyclerview.widget.AbstractC0220h0
public void onBindViewHolder(I0 holder, int position) {
Intrinsics.checkNotNullParameter(holder, "holder");
if (holder instanceof a) {
a aVar = (a) holder;
HelpItem item = this.items.get(position);
aVar.getClass();
Intrinsics.checkNotNullParameter(item, "item");
((TextView) aVar.itemView.findViewById(R.id.title)).setText(aVar.itemView.getContext().getString(item.getType().getTitle()));
((ImageView) aVar.itemView.findViewById(R.id.icon)).setImageResource(item.getIcon());
}
}
@Override // androidx.recyclerview.widget.AbstractC0220h0
public I0 onCreateViewHolder(ViewGroup parent, int viewType) {
Intrinsics.checkNotNullParameter(parent, "parent");
View itemView = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_explanations, parent, false);
Intrinsics.checkNotNull(itemView);
Intrinsics.checkNotNullParameter(itemView, "itemView");
return new I0(itemView);
}
}

View File

@@ -0,0 +1,148 @@
package com.adif.elcanomovil.uiMoreAdif.help;
import android.os.Bundle;
import android.view.View;
import androidx.fragment.app.K;
import androidx.lifecycle.C0;
import androidx.lifecycle.D0;
import androidx.lifecycle.InterfaceC0200v;
import androidx.lifecycle.y0;
import androidx.recyclerview.widget.AbstractC0220h0;
import com.adif.elcanomovil.commonViews.data.InfoHeaderData;
import com.adif.elcanomovil.uiMoreAdif.R;
import com.adif.elcanomovil.uiMoreAdif.databinding.FragmentHelpBinding;
import dagger.hilt.android.AndroidEntryPoint;
import kotlin.Lazy;
import kotlin.LazyKt;
import kotlin.LazyThreadSafetyMode;
import kotlin.Metadata;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Reflection;
import kotlin.jvm.internal.SourceDebugExtension;
import l0.C0435a;
import m3.d;
@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0006\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003J\u0013\u0010\u0006\u001a\u00020\u0005*\u00020\u0004H\u0002¢\u0006\u0004\b\u0006\u0010\u0007J\u000f\u0010\b\u001a\u00020\u0005H\u0002¢\u0006\u0004\b\b\u0010\u0003J!\u0010\r\u001a\u00020\u00052\u0006\u0010\n\u001a\u00020\t2\b\u0010\f\u001a\u0004\u0018\u00010\u000bH\u0016¢\u0006\u0004\b\r\u0010\u000eR\u0016\u0010\u000f\u001a\u00020\u00048\u0002@\u0002X\u0082.¢\u0006\u0006\n\u0004\b\u000f\u0010\u0010R\u001b\u0010\u0016\u001a\u00020\u00118BX\u0082\u0084\u0002¢\u0006\f\n\u0004\b\u0012\u0010\u0013\u001a\u0004\b\u0014\u0010\u0015¨\u0006\u0017"}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/help/HelpFragment;", "Landroidx/fragment/app/K;", "<init>", "()V", "Lcom/adif/elcanomovil/uiMoreAdif/databinding/FragmentHelpBinding;", "", "configureHeaderView", "(Lcom/adif/elcanomovil/uiMoreAdif/databinding/FragmentHelpBinding;)V", "configureRecyclerView", "Landroid/view/View;", "view", "Landroid/os/Bundle;", "savedInstanceState", "onViewCreated", "(Landroid/view/View;Landroid/os/Bundle;)V", "binding", "Lcom/adif/elcanomovil/uiMoreAdif/databinding/FragmentHelpBinding;", "Lcom/adif/elcanomovil/uiMoreAdif/help/HelpViewModel;", "viewModel$delegate", "Lkotlin/Lazy;", "getViewModel", "()Lcom/adif/elcanomovil/uiMoreAdif/help/HelpViewModel;", "viewModel", "ui-more-adif_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
@AndroidEntryPoint
@SourceDebugExtension({"SMAP\nHelpFragment.kt\nKotlin\n*S Kotlin\n*F\n+ 1 HelpFragment.kt\ncom/adif/elcanomovil/uiMoreAdif/help/HelpFragment\n+ 2 FragmentViewModelLazy.kt\nandroidx/fragment/app/FragmentViewModelLazyKt\n*L\n1#1,74:1\n106#2,15:75\n*S KotlinDebug\n*F\n+ 1 HelpFragment.kt\ncom/adif/elcanomovil/uiMoreAdif/help/HelpFragment\n*L\n21#1:75,15\n*E\n"})
/* loaded from: classes2.dex */
public final class HelpFragment extends Hilt_HelpFragment {
private FragmentHelpBinding binding;
/* renamed from: viewModel$delegate, reason: from kotlin metadata */
private final Lazy viewModel;
public HelpFragment() {
super(R.layout.fragment_help);
final Function0<K> function0 = new Function0<K>() { // from class: com.adif.elcanomovil.uiMoreAdif.help.HelpFragment$special$$inlined$viewModels$default$1
{
super(0);
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // kotlin.jvm.functions.Function0
public final K invoke() {
return K.this;
}
};
final Lazy lazy = LazyKt.lazy(LazyThreadSafetyMode.NONE, (Function0) new Function0<D0>() { // from class: com.adif.elcanomovil.uiMoreAdif.help.HelpFragment$special$$inlined$viewModels$default$2
{
super(0);
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // kotlin.jvm.functions.Function0
public final D0 invoke() {
return (D0) Function0.this.invoke();
}
});
final Function0 function02 = null;
this.viewModel = d.n(this, Reflection.getOrCreateKotlinClass(HelpViewModel.class), new Function0<C0>() { // from class: com.adif.elcanomovil.uiMoreAdif.help.HelpFragment$special$$inlined$viewModels$default$3
{
super(0);
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // kotlin.jvm.functions.Function0
public final C0 invoke() {
return ((D0) Lazy.this.getValue()).getViewModelStore();
}
}, new Function0<l0.c>() { // from class: com.adif.elcanomovil.uiMoreAdif.help.HelpFragment$special$$inlined$viewModels$default$4
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
{
super(0);
}
@Override // kotlin.jvm.functions.Function0
public final l0.c invoke() {
l0.c cVar;
Function0 function03 = Function0.this;
if (function03 != null && (cVar = (l0.c) function03.invoke()) != null) {
return cVar;
}
D0 d02 = (D0) lazy.getValue();
InterfaceC0200v interfaceC0200v = d02 instanceof InterfaceC0200v ? (InterfaceC0200v) d02 : null;
return interfaceC0200v != null ? interfaceC0200v.getDefaultViewModelCreationExtras() : C0435a.f7312b;
}
}, new Function0<y0>() { // from class: com.adif.elcanomovil.uiMoreAdif.help.HelpFragment$special$$inlined$viewModels$default$5
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
{
super(0);
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // kotlin.jvm.functions.Function0
public final y0 invoke() {
y0 defaultViewModelProviderFactory;
D0 d02 = (D0) lazy.getValue();
InterfaceC0200v interfaceC0200v = d02 instanceof InterfaceC0200v ? (InterfaceC0200v) d02 : null;
if (interfaceC0200v != null && (defaultViewModelProviderFactory = interfaceC0200v.getDefaultViewModelProviderFactory()) != null) {
return defaultViewModelProviderFactory;
}
y0 defaultViewModelProviderFactory2 = K.this.getDefaultViewModelProviderFactory();
Intrinsics.checkNotNullExpressionValue(defaultViewModelProviderFactory2, "defaultViewModelProviderFactory");
return defaultViewModelProviderFactory2;
}
});
}
private final void configureHeaderView(FragmentHelpBinding fragmentHelpBinding) {
fragmentHelpBinding.headerViewAbout.updateHeaderInfo(new InfoHeaderData(getString(R.string.help_title), Integer.valueOf(R.drawable.ic_arrow_back), null, 4, null));
fragmentHelpBinding.headerViewAbout.setOnBackActionListener(new b(this, 0));
fragmentHelpBinding.headerViewAbout.setOnCloseActionListener(new b(this, 1));
}
private final void configureRecyclerView() {
FragmentHelpBinding fragmentHelpBinding = this.binding;
if (fragmentHelpBinding == null) {
Intrinsics.throwUninitializedPropertyAccessException("binding");
fragmentHelpBinding = null;
}
fragmentHelpBinding.optionsRecyclerView.setAdapter(new HelpAdapter(getViewModel().getItems()));
AbstractC0220h0 adapter = fragmentHelpBinding.optionsRecyclerView.getAdapter();
if (adapter != null) {
adapter.notifyDataSetChanged();
}
}
/* JADX INFO: Access modifiers changed from: private */
public final HelpViewModel getViewModel() {
return (HelpViewModel) this.viewModel.getValue();
}
@Override // androidx.fragment.app.K
public void onViewCreated(View view, Bundle savedInstanceState) {
Intrinsics.checkNotNullParameter(view, "view");
super.onViewCreated(view, savedInstanceState);
FragmentHelpBinding bind = FragmentHelpBinding.bind(view);
Intrinsics.checkNotNullExpressionValue(bind, "bind(...)");
this.binding = bind;
if (bind == null) {
Intrinsics.throwUninitializedPropertyAccessException("binding");
bind = null;
}
configureHeaderView(bind);
configureRecyclerView();
}
}

View File

@@ -0,0 +1,9 @@
package com.adif.elcanomovil.uiMoreAdif.help;
import kotlin.Metadata;
@Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0010\u0007\n\u0000\"\u000e\u0010\u0000\u001a\u00020\u0001X\u0082T¢\u0006\u0002\n\u0000¨\u0006\u0002"}, d2 = {"DIVIDER_HEIGHT", "", "ui-more-adif_proNon_corporateRelease"}, k = 2, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes2.dex */
public final class HelpFragmentKt {
private static final float DIVIDER_HEIGHT = 0.7f;
}

View File

@@ -0,0 +1,14 @@
package com.adif.elcanomovil.uiMoreAdif.help;
import dagger.hilt.InstallIn;
import dagger.hilt.android.components.FragmentComponent;
import dagger.hilt.codegen.OriginatingElement;
import dagger.hilt.internal.GeneratedEntryPoint;
@OriginatingElement(topLevelClass = HelpFragment.class)
@GeneratedEntryPoint
@InstallIn({FragmentComponent.class})
/* loaded from: classes2.dex */
public interface HelpFragment_GeneratedInjector {
void injectHelpFragment(HelpFragment helpFragment);
}

View File

@@ -0,0 +1,40 @@
package com.adif.elcanomovil.uiMoreAdif.help;
import D.h;
import android.content.Context;
import android.content.Intent;
import androidx.lifecycle.w0;
import com.adif.elcanomovil.uiMoreAdif.HelpItem;
import com.adif.elcanomovil.uiMoreAdif.HelpItemsProvider;
import com.adif.elcanomovil.uiMoreAdif.wizard.WizardActivity;
import com.google.firebase.analytics.FirebaseAnalytics;
import dagger.hilt.android.lifecycle.HiltViewModel;
import java.util.List;
import javax.inject.Inject;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
@HiltViewModel
@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\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0004\b\u0007\u0018\u00002\u00020\u0001B\u0011\b\u0007\u0012\u0006\u0010\u0003\u001a\u00020\u0002¢\u0006\u0004\b\u0004\u0010\u0005J\u0017\u0010\t\u001a\u00020\b2\b\u0010\u0007\u001a\u0004\u0018\u00010\u0006¢\u0006\u0004\b\t\u0010\nR\u0014\u0010\u0003\u001a\u00020\u00028\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0003\u0010\u000bR\u0017\u0010\u0010\u001a\b\u0012\u0004\u0012\u00020\r0\f8F¢\u0006\u0006\u001a\u0004\b\u000e\u0010\u000f¨\u0006\u0011"}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/help/HelpViewModel;", "Landroidx/lifecycle/w0;", "Lcom/adif/elcanomovil/uiMoreAdif/HelpItemsProvider;", "provider", "<init>", "(Lcom/adif/elcanomovil/uiMoreAdif/HelpItemsProvider;)V", "Landroid/content/Context;", "context", "", "wizardTapped", "(Landroid/content/Context;)Z", "Lcom/adif/elcanomovil/uiMoreAdif/HelpItemsProvider;", "", "Lcom/adif/elcanomovil/uiMoreAdif/HelpItem;", "getItems", "()Ljava/util/List;", FirebaseAnalytics.Param.ITEMS, "ui-more-adif_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes2.dex */
public final class HelpViewModel extends w0 {
private final HelpItemsProvider provider;
@Inject
public HelpViewModel(HelpItemsProvider provider) {
Intrinsics.checkNotNullParameter(provider, "provider");
this.provider = provider;
}
public final List<HelpItem> getItems() {
return this.provider.getItems();
}
public final boolean wizardTapped(Context context) {
if (context == null) {
return false;
}
h.startActivity(context, new Intent(context, (Class<?>) WizardActivity.class), null);
return true;
}
}

View File

@@ -0,0 +1,33 @@
package com.adif.elcanomovil.uiMoreAdif.help;
import com.adif.elcanomovil.uiMoreAdif.HelpItemsProvider;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import javax.inject.Provider;
@ScopeMetadata
@DaggerGenerated
@QualifierMetadata
/* loaded from: classes2.dex */
public final class HelpViewModel_Factory implements Factory<HelpViewModel> {
private final Provider<HelpItemsProvider> providerProvider;
public HelpViewModel_Factory(Provider<HelpItemsProvider> provider) {
this.providerProvider = provider;
}
public static HelpViewModel_Factory create(Provider<HelpItemsProvider> provider) {
return new HelpViewModel_Factory(provider);
}
public static HelpViewModel newInstance(HelpItemsProvider helpItemsProvider) {
return new HelpViewModel(helpItemsProvider);
}
@Override // javax.inject.Provider
public HelpViewModel get() {
return newInstance(this.providerProvider.get());
}
}

View File

@@ -0,0 +1,51 @@
package com.adif.elcanomovil.uiMoreAdif.help;
import androidx.lifecycle.w0;
import dagger.Binds;
import dagger.Module;
import dagger.Provides;
import dagger.hilt.InstallIn;
import dagger.hilt.android.components.ActivityRetainedComponent;
import dagger.hilt.android.components.ViewModelComponent;
import dagger.hilt.android.internal.lifecycle.HiltViewModelMap;
import dagger.hilt.codegen.OriginatingElement;
import dagger.multibindings.IntoMap;
import dagger.multibindings.IntoSet;
import dagger.multibindings.StringKey;
@OriginatingElement(topLevelClass = HelpViewModel.class)
/* loaded from: classes2.dex */
public final class HelpViewModel_HiltModules {
@Module
@InstallIn({ViewModelComponent.class})
/* loaded from: classes2.dex */
public static abstract class BindsModule {
private BindsModule() {
}
@Binds
@StringKey("com.adif.elcanomovil.uiMoreAdif.help.HelpViewModel")
@HiltViewModelMap
@IntoMap
public abstract w0 binds(HelpViewModel helpViewModel);
}
@Module
@InstallIn({ActivityRetainedComponent.class})
/* loaded from: classes2.dex */
public static final class KeyModule {
private KeyModule() {
}
@Provides
@HiltViewModelMap.KeySet
@IntoSet
public static String provide() {
return "com.adif.elcanomovil.uiMoreAdif.help.HelpViewModel";
}
}
private HelpViewModel_HiltModules() {
}
}

View File

@@ -0,0 +1,27 @@
package com.adif.elcanomovil.uiMoreAdif.help;
import com.adif.elcanomovil.uiMoreAdif.help.HelpViewModel_HiltModules;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
@ScopeMetadata
@DaggerGenerated
@QualifierMetadata({"dagger.hilt.android.internal.lifecycle.HiltViewModelMap.KeySet"})
/* loaded from: classes2.dex */
public final class HelpViewModel_HiltModules_KeyModule_ProvideFactory implements Factory<String> {
public static HelpViewModel_HiltModules_KeyModule_ProvideFactory create() {
return c.f5170a;
}
public static String provide() {
return (String) Preconditions.checkNotNullFromProvides(HelpViewModel_HiltModules.KeyModule.provide());
}
@Override // javax.inject.Provider
public String get() {
return provide();
}
}

View File

@@ -0,0 +1,110 @@
package com.adif.elcanomovil.uiMoreAdif.help;
import android.app.Activity;
import android.content.Context;
import android.content.ContextWrapper;
import android.os.Bundle;
import android.view.LayoutInflater;
import androidx.fragment.app.K;
import androidx.lifecycle.y0;
import dagger.hilt.android.flags.FragmentGetContextFix;
import dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories;
import dagger.hilt.android.internal.managers.FragmentComponentManager;
import dagger.hilt.internal.GeneratedComponentManagerHolder;
import dagger.hilt.internal.Preconditions;
import dagger.hilt.internal.UnsafeCasts;
/* loaded from: classes2.dex */
public abstract class Hilt_HelpFragment extends K implements GeneratedComponentManagerHolder {
private ContextWrapper componentContext;
private volatile FragmentComponentManager componentManager;
private final Object componentManagerLock;
private boolean disableGetContextFix;
private boolean injected;
public Hilt_HelpFragment() {
this.componentManagerLock = new Object();
this.injected = false;
}
private void initializeComponentContext() {
if (this.componentContext == null) {
this.componentContext = FragmentComponentManager.createContextWrapper(super.getContext(), this);
this.disableGetContextFix = FragmentGetContextFix.isFragmentGetContextFixDisabled(super.getContext());
}
}
public FragmentComponentManager createComponentManager() {
return new FragmentComponentManager(this);
}
@Override // dagger.hilt.internal.GeneratedComponentManager
public final Object generatedComponent() {
return componentManager().generatedComponent();
}
@Override // androidx.fragment.app.K
public Context getContext() {
if (super.getContext() == null && !this.disableGetContextFix) {
return null;
}
initializeComponentContext();
return this.componentContext;
}
@Override // androidx.fragment.app.K, androidx.lifecycle.InterfaceC0200v
public y0 getDefaultViewModelProviderFactory() {
return DefaultViewModelFactories.getFragmentFactory(this, super.getDefaultViewModelProviderFactory());
}
public void inject() {
if (this.injected) {
return;
}
this.injected = true;
((HelpFragment_GeneratedInjector) generatedComponent()).injectHelpFragment((HelpFragment) UnsafeCasts.unsafeCast(this));
}
@Override // androidx.fragment.app.K
public void onAttach(Context context) {
super.onAttach(context);
initializeComponentContext();
inject();
}
@Override // androidx.fragment.app.K
public LayoutInflater onGetLayoutInflater(Bundle bundle) {
LayoutInflater onGetLayoutInflater = super.onGetLayoutInflater(bundle);
return onGetLayoutInflater.cloneInContext(FragmentComponentManager.createContextWrapper(onGetLayoutInflater, this));
}
@Override // dagger.hilt.internal.GeneratedComponentManagerHolder
public final FragmentComponentManager componentManager() {
if (this.componentManager == null) {
synchronized (this.componentManagerLock) {
try {
if (this.componentManager == null) {
this.componentManager = createComponentManager();
}
} finally {
}
}
}
return this.componentManager;
}
public Hilt_HelpFragment(int i) {
super(i);
this.componentManagerLock = new Object();
this.injected = false;
}
@Override // androidx.fragment.app.K
public void onAttach(Activity activity) {
super.onAttach(activity);
ContextWrapper contextWrapper = this.componentContext;
Preconditions.checkState(contextWrapper == null || FragmentComponentManager.findActivity(contextWrapper) == activity, "onAttach called multiple times with different Context! Hilt Fragments should not be retained.", new Object[0]);
initializeComponentContext();
inject();
}
}

View File

@@ -0,0 +1,7 @@
package com.adif.elcanomovil.uiMoreAdif.help;
import androidx.recyclerview.widget.I0;
/* loaded from: classes2.dex */
public final class a extends I0 {
}

View File

@@ -0,0 +1,43 @@
package com.adif.elcanomovil.uiMoreAdif.help;
import com.adif.elcanomovil.commonViews.ButtonsEvents;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Lambda;
/* loaded from: classes2.dex */
public final class b extends Lambda implements Function1 {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ int f5168a;
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ HelpFragment f5169b;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public /* synthetic */ b(HelpFragment helpFragment, int i) {
super(1);
this.f5168a = i;
this.f5169b = helpFragment;
}
@Override // kotlin.jvm.functions.Function1
public final Object invoke(Object obj) {
HelpViewModel viewModel;
switch (this.f5168a) {
case 0:
ButtonsEvents it = (ButtonsEvents) obj;
Intrinsics.checkNotNullParameter(it, "it");
this.f5169b.requireActivity().onBackPressed();
return Unit.INSTANCE;
default:
ButtonsEvents it2 = (ButtonsEvents) obj;
Intrinsics.checkNotNullParameter(it2, "it");
HelpFragment helpFragment = this.f5169b;
viewModel = helpFragment.getViewModel();
viewModel.wizardTapped(helpFragment.getContext());
return Unit.INSTANCE;
}
}
}

View File

@@ -0,0 +1,8 @@
package com.adif.elcanomovil.uiMoreAdif.help;
/* loaded from: classes2.dex */
public abstract class c {
/* renamed from: a, reason: collision with root package name */
public static final HelpViewModel_HiltModules_KeyModule_ProvideFactory f5170a = new HelpViewModel_HiltModules_KeyModule_ProvideFactory();
}

View File

@@ -0,0 +1,110 @@
package com.adif.elcanomovil.uiMoreAdif.main;
import android.app.Activity;
import android.content.Context;
import android.content.ContextWrapper;
import android.os.Bundle;
import android.view.LayoutInflater;
import androidx.fragment.app.K;
import androidx.lifecycle.y0;
import dagger.hilt.android.flags.FragmentGetContextFix;
import dagger.hilt.android.internal.lifecycle.DefaultViewModelFactories;
import dagger.hilt.android.internal.managers.FragmentComponentManager;
import dagger.hilt.internal.GeneratedComponentManagerHolder;
import dagger.hilt.internal.Preconditions;
import dagger.hilt.internal.UnsafeCasts;
/* loaded from: classes2.dex */
public abstract class Hilt_MoreAdifFragment extends K implements GeneratedComponentManagerHolder {
private ContextWrapper componentContext;
private volatile FragmentComponentManager componentManager;
private final Object componentManagerLock;
private boolean disableGetContextFix;
private boolean injected;
public Hilt_MoreAdifFragment() {
this.componentManagerLock = new Object();
this.injected = false;
}
private void initializeComponentContext() {
if (this.componentContext == null) {
this.componentContext = FragmentComponentManager.createContextWrapper(super.getContext(), this);
this.disableGetContextFix = FragmentGetContextFix.isFragmentGetContextFixDisabled(super.getContext());
}
}
public FragmentComponentManager createComponentManager() {
return new FragmentComponentManager(this);
}
@Override // dagger.hilt.internal.GeneratedComponentManager
public final Object generatedComponent() {
return componentManager().generatedComponent();
}
@Override // androidx.fragment.app.K
public Context getContext() {
if (super.getContext() == null && !this.disableGetContextFix) {
return null;
}
initializeComponentContext();
return this.componentContext;
}
@Override // androidx.fragment.app.K, androidx.lifecycle.InterfaceC0200v
public y0 getDefaultViewModelProviderFactory() {
return DefaultViewModelFactories.getFragmentFactory(this, super.getDefaultViewModelProviderFactory());
}
public void inject() {
if (this.injected) {
return;
}
this.injected = true;
((MoreAdifFragment_GeneratedInjector) generatedComponent()).injectMoreAdifFragment((MoreAdifFragment) UnsafeCasts.unsafeCast(this));
}
@Override // androidx.fragment.app.K
public void onAttach(Context context) {
super.onAttach(context);
initializeComponentContext();
inject();
}
@Override // androidx.fragment.app.K
public LayoutInflater onGetLayoutInflater(Bundle bundle) {
LayoutInflater onGetLayoutInflater = super.onGetLayoutInflater(bundle);
return onGetLayoutInflater.cloneInContext(FragmentComponentManager.createContextWrapper(onGetLayoutInflater, this));
}
@Override // dagger.hilt.internal.GeneratedComponentManagerHolder
public final FragmentComponentManager componentManager() {
if (this.componentManager == null) {
synchronized (this.componentManagerLock) {
try {
if (this.componentManager == null) {
this.componentManager = createComponentManager();
}
} finally {
}
}
}
return this.componentManager;
}
public Hilt_MoreAdifFragment(int i) {
super(i);
this.componentManagerLock = new Object();
this.injected = false;
}
@Override // androidx.fragment.app.K
public void onAttach(Activity activity) {
super.onAttach(activity);
ContextWrapper contextWrapper = this.componentContext;
Preconditions.checkState(contextWrapper == null || FragmentComponentManager.findActivity(contextWrapper) == activity, "onAttach called multiple times with different Context! Hilt Fragments should not be retained.", new Object[0]);
initializeComponentContext();
inject();
}
}

View File

@@ -0,0 +1,65 @@
package com.adif.elcanomovil.uiMoreAdif.main;
import G2.l;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.recyclerview.widget.AbstractC0220h0;
import androidx.recyclerview.widget.I0;
import com.adif.elcanomovil.uiMoreAdif.MoreActions;
import com.adif.elcanomovil.uiMoreAdif.MoreItem;
import com.adif.elcanomovil.uiMoreAdif.R;
import com.google.android.gms.common.internal.ServiceSpecificExtraArgs;
import com.google.firebase.analytics.FirebaseAnalytics;
import java.util.List;
import kotlin.Metadata;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.Intrinsics;
@Metadata(d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\r\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001:\u0001\u001aB)\u0012\f\u0010\u0005\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003\u0012\u0012\u0010\t\u001a\u000e\u0012\u0004\u0012\u00020\u0007\u0012\u0004\u0012\u00020\b0\u0006¢\u0006\u0004\b\n\u0010\u000bJ\u001f\u0010\u0010\u001a\u00020\u00022\u0006\u0010\r\u001a\u00020\f2\u0006\u0010\u000f\u001a\u00020\u000eH\u0016¢\u0006\u0004\b\u0010\u0010\u0011J\u000f\u0010\u0012\u001a\u00020\u000eH\u0016¢\u0006\u0004\b\u0012\u0010\u0013J\u001f\u0010\u0016\u001a\u00020\b2\u0006\u0010\u0014\u001a\u00020\u00022\u0006\u0010\u0015\u001a\u00020\u000eH\u0016¢\u0006\u0004\b\u0016\u0010\u0017R\u001a\u0010\u0005\u001a\b\u0012\u0004\u0012\u00020\u00040\u00038\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0005\u0010\u0018R \u0010\t\u001a\u000e\u0012\u0004\u0012\u00020\u0007\u0012\u0004\u0012\u00020\b0\u00068\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\t\u0010\u0019¨\u0006\u001b"}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/main/MoreAdifAdapter;", "Landroidx/recyclerview/widget/h0;", "Landroidx/recyclerview/widget/I0;", "", "Lcom/adif/elcanomovil/uiMoreAdif/MoreItem;", FirebaseAnalytics.Param.ITEMS, "Lkotlin/Function1;", "Lcom/adif/elcanomovil/uiMoreAdif/MoreActions;", "", ServiceSpecificExtraArgs.CastExtraArgs.LISTENER, "<init>", "(Ljava/util/List;Lkotlin/jvm/functions/Function1;)V", "Landroid/view/ViewGroup;", "parent", "", "viewType", "onCreateViewHolder", "(Landroid/view/ViewGroup;I)Landroidx/recyclerview/widget/I0;", "getItemCount", "()I", "holder", "position", "onBindViewHolder", "(Landroidx/recyclerview/widget/I0;I)V", "Ljava/util/List;", "Lkotlin/jvm/functions/Function1;", "com/adif/elcanomovil/uiMoreAdif/main/a", "ui-more-adif_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes2.dex */
public final class MoreAdifAdapter extends AbstractC0220h0 {
private final List<MoreItem> items;
private final Function1<MoreActions, Unit> listener;
/* JADX WARN: Multi-variable type inference failed */
public MoreAdifAdapter(List<MoreItem> items, Function1<? super MoreActions, Unit> listener) {
Intrinsics.checkNotNullParameter(items, "items");
Intrinsics.checkNotNullParameter(listener, "listener");
this.items = items;
this.listener = listener;
}
@Override // androidx.recyclerview.widget.AbstractC0220h0
public int getItemCount() {
return this.items.size();
}
@Override // androidx.recyclerview.widget.AbstractC0220h0
public void onBindViewHolder(I0 holder, int position) {
Intrinsics.checkNotNullParameter(holder, "holder");
if (holder instanceof a) {
a aVar = (a) holder;
MoreItem item = this.items.get(position);
Function1<MoreActions, Unit> listener = this.listener;
aVar.getClass();
Intrinsics.checkNotNullParameter(item, "item");
Intrinsics.checkNotNullParameter(listener, "listener");
((TextView) aVar.itemView.findViewById(R.id.title)).setText(aVar.itemView.getContext().getString(item.getType().getTitle()));
((ImageView) aVar.itemView.findViewById(R.id.icon)).setImageResource(item.getIcon());
aVar.itemView.setOnClickListener(new l(6, listener, item));
}
}
@Override // androidx.recyclerview.widget.AbstractC0220h0
public I0 onCreateViewHolder(ViewGroup parent, int viewType) {
Intrinsics.checkNotNullParameter(parent, "parent");
View itemView = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_option, parent, false);
Intrinsics.checkNotNull(itemView);
Intrinsics.checkNotNullParameter(itemView, "itemView");
return new I0(itemView);
}
}

View File

@@ -0,0 +1,185 @@
package com.adif.elcanomovil.uiMoreAdif.main;
import D.h;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.drawable.PaintDrawable;
import android.os.Bundle;
import android.view.View;
import androidx.fragment.app.K;
import androidx.lifecycle.C0;
import androidx.lifecycle.D0;
import androidx.lifecycle.InterfaceC0200v;
import androidx.lifecycle.J;
import androidx.lifecycle.y0;
import androidx.recyclerview.widget.AbstractC0220h0;
import androidx.recyclerview.widget.RecyclerView;
import b1.InterfaceC0266a;
import b1.f;
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
import com.adif.elcanomovil.commonNavGraph.navigation.NavigationHandler;
import com.adif.elcanomovil.commonViews.LinearDividerDecoration;
import com.adif.elcanomovil.commonViews.utils.ScreenUtils;
import com.adif.elcanomovil.uiMoreAdif.R;
import com.adif.elcanomovil.uiMoreAdif.databinding.FragmentMoreAdifBinding;
import dagger.hilt.android.AndroidEntryPoint;
import kotlin.Lazy;
import kotlin.LazyKt;
import kotlin.LazyThreadSafetyMode;
import kotlin.Metadata;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Reflection;
import kotlin.jvm.internal.SourceDebugExtension;
import l0.C0435a;
import m3.d;
@Metadata(d1 = {"\u00002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0006\b\u0007\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003J\u000f\u0010\u0005\u001a\u00020\u0004H\u0002¢\u0006\u0004\b\u0005\u0010\u0003J\u000f\u0010\u0006\u001a\u00020\u0004H\u0016¢\u0006\u0004\b\u0006\u0010\u0003J!\u0010\u000b\u001a\u00020\u00042\u0006\u0010\b\u001a\u00020\u00072\b\u0010\n\u001a\u0004\u0018\u00010\tH\u0016¢\u0006\u0004\b\u000b\u0010\fJ\u000f\u0010\r\u001a\u00020\u0004H\u0016¢\u0006\u0004\b\r\u0010\u0003R\u0018\u0010\u000f\u001a\u0004\u0018\u00010\u000e8\u0002@\u0002X\u0082\u000e¢\u0006\u0006\n\u0004\b\u000f\u0010\u0010R\u001b\u0010\u0016\u001a\u00020\u00118BX\u0082\u0084\u0002¢\u0006\f\n\u0004\b\u0012\u0010\u0013\u001a\u0004\b\u0014\u0010\u0015¨\u0006\u0017"}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/main/MoreAdifFragment;", "Landroidx/fragment/app/K;", "<init>", "()V", "", "configureRecyclerView", "onDestroyView", "Landroid/view/View;", "view", "Landroid/os/Bundle;", "savedInstanceState", "onViewCreated", "(Landroid/view/View;Landroid/os/Bundle;)V", "onDestroy", "Lcom/adif/elcanomovil/uiMoreAdif/databinding/FragmentMoreAdifBinding;", "binding", "Lcom/adif/elcanomovil/uiMoreAdif/databinding/FragmentMoreAdifBinding;", "Lcom/adif/elcanomovil/uiMoreAdif/main/MoreAdifViewModel;", "viewModel$delegate", "Lkotlin/Lazy;", "getViewModel", "()Lcom/adif/elcanomovil/uiMoreAdif/main/MoreAdifViewModel;", "viewModel", "ui-more-adif_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
@AndroidEntryPoint
@SourceDebugExtension({"SMAP\nMoreAdifFragment.kt\nKotlin\n*S Kotlin\n*F\n+ 1 MoreAdifFragment.kt\ncom/adif/elcanomovil/uiMoreAdif/main/MoreAdifFragment\n+ 2 FragmentViewModelLazy.kt\nandroidx/fragment/app/FragmentViewModelLazyKt\n*L\n1#1,75:1\n106#2,15:76\n*S KotlinDebug\n*F\n+ 1 MoreAdifFragment.kt\ncom/adif/elcanomovil/uiMoreAdif/main/MoreAdifFragment\n*L\n25#1:76,15\n*E\n"})
/* loaded from: classes2.dex */
public final class MoreAdifFragment extends Hilt_MoreAdifFragment {
private FragmentMoreAdifBinding binding;
/* renamed from: viewModel$delegate, reason: from kotlin metadata */
private final Lazy viewModel;
public MoreAdifFragment() {
super(R.layout.fragment_more_adif);
final Function0<K> function0 = new Function0<K>() { // from class: com.adif.elcanomovil.uiMoreAdif.main.MoreAdifFragment$special$$inlined$viewModels$default$1
{
super(0);
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // kotlin.jvm.functions.Function0
public final K invoke() {
return K.this;
}
};
final Lazy lazy = LazyKt.lazy(LazyThreadSafetyMode.NONE, (Function0) new Function0<D0>() { // from class: com.adif.elcanomovil.uiMoreAdif.main.MoreAdifFragment$special$$inlined$viewModels$default$2
{
super(0);
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // kotlin.jvm.functions.Function0
public final D0 invoke() {
return (D0) Function0.this.invoke();
}
});
final Function0 function02 = null;
this.viewModel = d.n(this, Reflection.getOrCreateKotlinClass(MoreAdifViewModel.class), new Function0<C0>() { // from class: com.adif.elcanomovil.uiMoreAdif.main.MoreAdifFragment$special$$inlined$viewModels$default$3
{
super(0);
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // kotlin.jvm.functions.Function0
public final C0 invoke() {
return ((D0) Lazy.this.getValue()).getViewModelStore();
}
}, new Function0<l0.c>() { // from class: com.adif.elcanomovil.uiMoreAdif.main.MoreAdifFragment$special$$inlined$viewModels$default$4
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
{
super(0);
}
@Override // kotlin.jvm.functions.Function0
public final l0.c invoke() {
l0.c cVar;
Function0 function03 = Function0.this;
if (function03 != null && (cVar = (l0.c) function03.invoke()) != null) {
return cVar;
}
D0 d02 = (D0) lazy.getValue();
InterfaceC0200v interfaceC0200v = d02 instanceof InterfaceC0200v ? (InterfaceC0200v) d02 : null;
return interfaceC0200v != null ? interfaceC0200v.getDefaultViewModelCreationExtras() : C0435a.f7312b;
}
}, new Function0<y0>() { // from class: com.adif.elcanomovil.uiMoreAdif.main.MoreAdifFragment$special$$inlined$viewModels$default$5
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
{
super(0);
}
/* JADX WARN: Can't rename method to resolve collision */
@Override // kotlin.jvm.functions.Function0
public final y0 invoke() {
y0 defaultViewModelProviderFactory;
D0 d02 = (D0) lazy.getValue();
InterfaceC0200v interfaceC0200v = d02 instanceof InterfaceC0200v ? (InterfaceC0200v) d02 : null;
if (interfaceC0200v != null && (defaultViewModelProviderFactory = interfaceC0200v.getDefaultViewModelProviderFactory()) != null) {
return defaultViewModelProviderFactory;
}
y0 defaultViewModelProviderFactory2 = K.this.getDefaultViewModelProviderFactory();
Intrinsics.checkNotNullExpressionValue(defaultViewModelProviderFactory2, "defaultViewModelProviderFactory");
return defaultViewModelProviderFactory2;
}
});
}
public static final /* synthetic */ MoreAdifViewModel access$getViewModel(MoreAdifFragment moreAdifFragment) {
return moreAdifFragment.getViewModel();
}
private final void configureRecyclerView() {
FragmentMoreAdifBinding fragmentMoreAdifBinding = this.binding;
if (fragmentMoreAdifBinding == null) {
return;
}
fragmentMoreAdifBinding.optionsRecyclerView.setAdapter(new MoreAdifAdapter(getViewModel().getItems(), new I1.b(this, 11)));
AbstractC0220h0 adapter = fragmentMoreAdifBinding.optionsRecyclerView.getAdapter();
if (adapter != null) {
adapter.notifyDataSetChanged();
}
Context context = getContext();
if (context != null) {
RecyclerView recyclerView = fragmentMoreAdifBinding.optionsRecyclerView;
PaintDrawable paintDrawable = new PaintDrawable(h.getColor(context, R.color.colorPrimary));
float dpToPx = ScreenUtils.INSTANCE.dpToPx(0.7f);
Resources resources = context.getResources();
int i = R.dimen.default_horizontal_padding;
recyclerView.i(new LinearDividerDecoration(paintDrawable, dpToPx, resources.getDimension(i), context.getResources().getDimension(i), false));
}
}
public final MoreAdifViewModel getViewModel() {
return (MoreAdifViewModel) this.viewModel.getValue();
}
@Override // androidx.fragment.app.K
public void onDestroy() {
super.onDestroy();
this.binding = null;
}
@Override // androidx.fragment.app.K
public void onDestroyView() {
super.onDestroyView();
}
@Override // androidx.fragment.app.K
public void onViewCreated(View view, Bundle savedInstanceState) {
Intrinsics.checkNotNullParameter(view, "view");
super.onViewCreated(view, savedInstanceState);
this.binding = FragmentMoreAdifBinding.bind(view);
configureRecyclerView();
MoreAdifViewModel viewModel = getViewModel();
Bundle arguments = getArguments();
String string = arguments != null ? arguments.getString(NavArguments.ARG_COMMERCIAL_NUMBER) : null;
Bundle arguments2 = getArguments();
String string2 = arguments2 != null ? arguments2.getString(NavArguments.ARG_ORIGIN_STATION_CODE) : null;
Bundle arguments3 = getArguments();
String string3 = arguments3 != null ? arguments3.getString(NavArguments.ARG_DESTINATION_STATION_CODE) : null;
Bundle arguments4 = getArguments();
viewModel.checkDestination(string, string2, string3, arguments4 != null ? Long.valueOf(arguments4.getLong(NavArguments.ARG_LAUNCHING_DATE)) : null);
Bundle arguments5 = getArguments();
if (arguments5 != null) {
arguments5.clear();
}
InterfaceC0266a navigation = getViewModel().getNavigation();
J viewLifecycleOwner = getViewLifecycleOwner();
Intrinsics.checkNotNullExpressionValue(viewLifecycleOwner, "getViewLifecycleOwner(...)");
((f) navigation).a(viewLifecycleOwner, new NavigationHandler(this));
}
}

View File

@@ -0,0 +1,86 @@
package com.adif.elcanomovil.uiMoreAdif.main;
import com.adif.elcanomovil.commonNavGraph.R;
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import o0.C0524a;
import o0.F;
@Metadata(d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0005\u0018\u0000 \u00042\u00020\u0001:\u0002\u0004\u0005B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003¨\u0006\u0006"}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/main/MoreAdifFragmentDirections;", "", "<init>", "()V", "Companion", "com/adif/elcanomovil/uiMoreAdif/main/b", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes2.dex */
public final class MoreAdifFragmentDirections {
/* renamed from: Companion, reason: from kotlin metadata */
public static final Companion INSTANCE = new Companion(null);
@Metadata(d1 = {"\u0000$\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\t\n\u0002\b\b\b\u0086\u0003\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u0002\u0010\u0003J\r\u0010\u0005\u001a\u00020\u0004¢\u0006\u0004\b\u0005\u0010\u0006J\r\u0010\u0007\u001a\u00020\u0004¢\u0006\u0004\b\u0007\u0010\u0006J\r\u0010\b\u001a\u00020\u0004¢\u0006\u0004\b\b\u0010\u0006J\r\u0010\t\u001a\u00020\u0004¢\u0006\u0004\b\t\u0010\u0006J\r\u0010\n\u001a\u00020\u0004¢\u0006\u0004\b\n\u0010\u0006J\r\u0010\u000b\u001a\u00020\u0004¢\u0006\u0004\b\u000b\u0010\u0006Jk\u0010\u0016\u001a\u00020\u00042\n\b\u0002\u0010\r\u001a\u0004\u0018\u00010\f2\n\b\u0002\u0010\u000e\u001a\u0004\u0018\u00010\f2\n\b\u0002\u0010\u000f\u001a\u0004\u0018\u00010\f2\b\b\u0002\u0010\u0011\u001a\u00020\u00102\n\b\u0002\u0010\u0012\u001a\u0004\u0018\u00010\f2\n\b\u0002\u0010\u0013\u001a\u0004\u0018\u00010\f2\n\b\u0002\u0010\u0014\u001a\u0004\u0018\u00010\f2\n\b\u0002\u0010\u0015\u001a\u0004\u0018\u00010\\u0006\u0004\b\u0016\u0010\u0017¨\u0006\u0018"}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/main/MoreAdifFragmentDirections$Companion;", "", "<init>", "()V", "Lo0/F;", "toHelpFragment", "()Lo0/F;", "toAccessibilityFragment", "toContactFragment", "toAboutFragment", "toAvisaHomeFragment", "toSubscriptionHomeFragment", "", NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER, NavArguments.ARG_DYNAMIC_LINKS_STATION_CODE, NavArguments.ARG_DYNAMIC_LINKS_STATION_TO_CODE, "", NavArguments.ARG_DYNAMIC_LINKS_LAUNCHDATE, "observation", NavArguments.ARG_DYNAMIC_LINKS_OPERATOR, NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_PRODUCT, NavArguments.ARG_DYNAMIC_LINKS_FRAGMENT_FROM, "toTrainSituationFragment", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lo0/F;", "common-nav-graph_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes2.dex */
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
public static /* synthetic */ F toTrainSituationFragment$default(Companion companion, String str, String str2, String str3, long j4, String str4, String str5, String str6, String str7, int i, Object obj) {
if ((i & 1) != 0) {
str = null;
}
if ((i & 2) != 0) {
str2 = null;
}
if ((i & 4) != 0) {
str3 = null;
}
if ((i & 8) != 0) {
j4 = 0;
}
if ((i & 16) != 0) {
str4 = null;
}
if ((i & 32) != 0) {
str5 = "";
}
if ((i & 64) != 0) {
str6 = "";
}
if ((i & 128) != 0) {
str7 = null;
}
return companion.toTrainSituationFragment(str, str2, str3, j4, str4, str5, str6, str7);
}
public final F toAboutFragment() {
return new C0524a(R.id.to_aboutFragment);
}
public final F toAccessibilityFragment() {
return new C0524a(R.id.to_accessibilityFragment);
}
public final F toAvisaHomeFragment() {
return new C0524a(R.id.to_avisaHomeFragment);
}
public final F toContactFragment() {
return new C0524a(R.id.to_contactFragment);
}
public final F toHelpFragment() {
return new C0524a(R.id.to_helpFragment);
}
public final F toSubscriptionHomeFragment() {
return new C0524a(R.id.to_subscriptionHomeFragment);
}
public final F toTrainSituationFragment(String commercialNumber, String originStationCode, String destinationStationCode, long launchingDate, String observation, String operator, String commercialProduct, String fragmentFrom) {
return new b(commercialNumber, originStationCode, destinationStationCode, launchingDate, observation, operator, commercialProduct, fragmentFrom);
}
private Companion() {
}
}
private MoreAdifFragmentDirections() {
}
}

View File

@@ -0,0 +1,9 @@
package com.adif.elcanomovil.uiMoreAdif.main;
import kotlin.Metadata;
@Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0010\u0007\n\u0000\"\u000e\u0010\u0000\u001a\u00020\u0001X\u0082T¢\u0006\u0002\n\u0000¨\u0006\u0002"}, d2 = {"DIVIDER_HEIGHT", "", "ui-more-adif_proNon_corporateRelease"}, k = 2, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes2.dex */
public final class MoreAdifFragmentKt {
private static final float DIVIDER_HEIGHT = 0.7f;
}

View File

@@ -0,0 +1,14 @@
package com.adif.elcanomovil.uiMoreAdif.main;
import dagger.hilt.InstallIn;
import dagger.hilt.android.components.FragmentComponent;
import dagger.hilt.codegen.OriginatingElement;
import dagger.hilt.internal.GeneratedEntryPoint;
@OriginatingElement(topLevelClass = MoreAdifFragment.class)
@GeneratedEntryPoint
@InstallIn({FragmentComponent.class})
/* loaded from: classes2.dex */
public interface MoreAdifFragment_GeneratedInjector {
void injectMoreAdifFragment(MoreAdifFragment moreAdifFragment);
}

View File

@@ -0,0 +1,152 @@
package com.adif.elcanomovil.uiMoreAdif.main;
import android.net.Uri;
import androidx.lifecycle.w0;
import b1.InterfaceC0266a;
import b1.f;
import com.adif.elcanomovil.commonNavGraph.arguments.BottomNavInitialTab;
import com.adif.elcanomovil.commonNavGraph.arguments.ChildDirections;
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
import com.adif.elcanomovil.commonNavGraph.navigation.DeeplinkRoutes;
import com.adif.elcanomovil.commonNavGraph.navigation.IntentAction;
import com.adif.elcanomovil.commonNavGraph.navigation.Navigation;
import com.adif.elcanomovil.uiMoreAdif.MoreActions;
import com.adif.elcanomovil.uiMoreAdif.MoreItem;
import com.adif.elcanomovil.uiMoreAdif.OptionsProvider;
import com.adif.elcanomovil.uiMoreAdif.main.MoreAdifFragmentDirections;
import com.google.firebase.analytics.FirebaseAnalytics;
import dagger.hilt.android.lifecycle.HiltViewModel;
import java.util.List;
import javax.inject.Inject;
import kotlin.Metadata;
import kotlin.NoWhenBranchMatchedException;
import kotlin.jvm.internal.Intrinsics;
import kotlinx.coroutines.scheduling.WorkQueueKt;
@HiltViewModel
@Metadata(d1 = {"\u0000N\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\t\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0004\b\u0007\u0018\u00002\u00020\u0001B\u0011\b\u0007\u0012\u0006\u0010\u0003\u001a\u00020\u0002¢\u0006\u0004\b\u0004\u0010\u0005J\u0015\u0010\t\u001a\u00020\b2\u0006\u0010\u0007\u001a\u00020\u0006¢\u0006\u0004\b\t\u0010\nJ5\u0010\u0011\u001a\u00020\b2\b\u0010\f\u001a\u0004\u0018\u00010\u000b2\b\u0010\r\u001a\u0004\u0018\u00010\u000b2\b\u0010\u000e\u001a\u0004\u0018\u00010\u000b2\b\u0010\u0010\u001a\u0004\u0018\u00010\u000f¢\u0006\u0004\b\u0011\u0010\u0012R\u0014\u0010\u0003\u001a\u00020\u00028\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0003\u0010\u0013R\u001a\u0010\u0016\u001a\b\u0012\u0004\u0012\u00020\u00150\u00148\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b\u0016\u0010\u0017R\u001d\u0010\u0019\u001a\b\u0012\u0004\u0012\u00020\u00150\u00188\u0006¢\u0006\f\n\u0004\b\u0019\u0010\u001a\u001a\u0004\b\u001b\u0010\u001cR\u0017\u0010!\u001a\b\u0012\u0004\u0012\u00020\u001e0\u001d8F¢\u0006\u0006\u001a\u0004\b\u001f\u0010 ¨\u0006\""}, d2 = {"Lcom/adif/elcanomovil/uiMoreAdif/main/MoreAdifViewModel;", "Landroidx/lifecycle/w0;", "Lcom/adif/elcanomovil/uiMoreAdif/OptionsProvider;", "provider", "<init>", "(Lcom/adif/elcanomovil/uiMoreAdif/OptionsProvider;)V", "Lcom/adif/elcanomovil/uiMoreAdif/MoreActions;", "item", "", "optionItemTapped", "(Lcom/adif/elcanomovil/uiMoreAdif/MoreActions;)V", "", NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER, NavArguments.ARG_DYNAMIC_LINKS_STATION_CODE, NavArguments.ARG_DYNAMIC_LINKS_STATION_TO_CODE, "", NavArguments.ARG_DYNAMIC_LINKS_LAUNCHDATE, "checkDestination", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;)V", "Lcom/adif/elcanomovil/uiMoreAdif/OptionsProvider;", "Lb1/f;", "Lcom/adif/elcanomovil/commonNavGraph/navigation/Navigation;", "navigationFlow", "Lb1/f;", "Lb1/a;", "navigation", "Lb1/a;", "getNavigation", "()Lb1/a;", "", "Lcom/adif/elcanomovil/uiMoreAdif/MoreItem;", "getItems", "()Ljava/util/List;", FirebaseAnalytics.Param.ITEMS, "ui-more-adif_proNon_corporateRelease"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes2.dex */
public final class MoreAdifViewModel extends w0 {
private final InterfaceC0266a navigation;
private final f navigationFlow;
private final OptionsProvider provider;
@Metadata(k = 3, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes2.dex */
public /* synthetic */ class WhenMappings {
public static final /* synthetic */ int[] $EnumSwitchMapping$0;
static {
int[] iArr = new int[MoreActions.values().length];
try {
iArr[MoreActions.HELP.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
iArr[MoreActions.ACCESSIBILITY.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
try {
iArr[MoreActions.CONTACT.ordinal()] = 3;
} catch (NoSuchFieldError unused3) {
}
try {
iArr[MoreActions.ABOUT.ordinal()] = 4;
} catch (NoSuchFieldError unused4) {
}
try {
iArr[MoreActions.NOTICES.ordinal()] = 5;
} catch (NoSuchFieldError unused5) {
}
try {
iArr[MoreActions.TRAIN.ordinal()] = 6;
} catch (NoSuchFieldError unused6) {
}
try {
iArr[MoreActions.FAVOURITES.ordinal()] = 7;
} catch (NoSuchFieldError unused7) {
}
try {
iArr[MoreActions.SUBSCRIPTIONS.ordinal()] = 8;
} catch (NoSuchFieldError unused8) {
}
try {
iArr[MoreActions.LOST_OBJECTS.ordinal()] = 9;
} catch (NoSuchFieldError unused9) {
}
try {
iArr[MoreActions.NETWORK_STATUS.ordinal()] = 10;
} catch (NoSuchFieldError unused10) {
}
$EnumSwitchMapping$0 = iArr;
}
}
@Inject
public MoreAdifViewModel(OptionsProvider provider) {
Intrinsics.checkNotNullParameter(provider, "provider");
this.provider = provider;
f fVar = new f();
this.navigationFlow = fVar;
this.navigation = fVar;
}
public final void checkDestination(String commercialNumber, String originStationCode, String destinationStationCode, Long launchingDate) {
}
public final List<MoreItem> getItems() {
return this.provider.getItems();
}
public final InterfaceC0266a getNavigation() {
return this.navigation;
}
public final void optionItemTapped(MoreActions item) {
Object direction;
Intrinsics.checkNotNullParameter(item, "item");
f fVar = this.navigationFlow;
switch (WhenMappings.$EnumSwitchMapping$0[item.ordinal()]) {
case 1:
direction = new Navigation.Direction(MoreAdifFragmentDirections.INSTANCE.toHelpFragment(), null, 2, null);
break;
case 2:
direction = new Navigation.Direction(MoreAdifFragmentDirections.INSTANCE.toAccessibilityFragment(), null, 2, null);
break;
case 3:
direction = new Navigation.Direction(MoreAdifFragmentDirections.INSTANCE.toContactFragment(), null, 2, null);
break;
case 4:
direction = new Navigation.Direction(MoreAdifFragmentDirections.INSTANCE.toAboutFragment(), null, 2, null);
break;
case 5:
direction = new Navigation.Direction(MoreAdifFragmentDirections.INSTANCE.toAvisaHomeFragment(), null, 2, null);
break;
case 6:
direction = new Navigation.Direction(MoreAdifFragmentDirections.Companion.toTrainSituationFragment$default(MoreAdifFragmentDirections.INSTANCE, null, null, null, 0L, null, null, null, NavArguments.ARG_DYNAMIC_MORE_ADIF, WorkQueueKt.MASK, null), null, 2, null);
break;
case 7:
ChildDirections.Companion companion = ChildDirections.INSTANCE;
Uri build = Uri.parse(DeeplinkRoutes.favourites).buildUpon().appendQueryParameter(NavArguments.ARG_FOCUS_FAVOURITES, "true").build();
Intrinsics.checkNotNullExpressionValue(build, "build(...)");
direction = new Navigation.TabDirection(new BottomNavInitialTab.MoreAdif(companion.fromRoutes(build)));
break;
case 8:
direction = new Navigation.Direction(MoreAdifFragmentDirections.INSTANCE.toSubscriptionHomeFragment(), null, 2, null);
break;
case 9:
Uri parse = Uri.parse("https://adif.findmylost.es");
Intrinsics.checkNotNullExpressionValue(parse, "parse(...)");
direction = new Navigation.Intent(new IntentAction.View(parse));
break;
case 10:
Uri parse2 = Uri.parse("https://www.adif.es/estado-de-la-red");
Intrinsics.checkNotNullExpressionValue(parse2, "parse(...)");
direction = new Navigation.Intent(new IntentAction.View(parse2));
break;
default:
throw new NoWhenBranchMatchedException();
}
fVar.b(direction);
}
}

View File

@@ -0,0 +1,33 @@
package com.adif.elcanomovil.uiMoreAdif.main;
import com.adif.elcanomovil.uiMoreAdif.OptionsProvider;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import javax.inject.Provider;
@ScopeMetadata
@DaggerGenerated
@QualifierMetadata
/* loaded from: classes2.dex */
public final class MoreAdifViewModel_Factory implements Factory<MoreAdifViewModel> {
private final Provider<OptionsProvider> providerProvider;
public MoreAdifViewModel_Factory(Provider<OptionsProvider> provider) {
this.providerProvider = provider;
}
public static MoreAdifViewModel_Factory create(Provider<OptionsProvider> provider) {
return new MoreAdifViewModel_Factory(provider);
}
public static MoreAdifViewModel newInstance(OptionsProvider optionsProvider) {
return new MoreAdifViewModel(optionsProvider);
}
@Override // javax.inject.Provider
public MoreAdifViewModel get() {
return newInstance(this.providerProvider.get());
}
}

View File

@@ -0,0 +1,51 @@
package com.adif.elcanomovil.uiMoreAdif.main;
import androidx.lifecycle.w0;
import dagger.Binds;
import dagger.Module;
import dagger.Provides;
import dagger.hilt.InstallIn;
import dagger.hilt.android.components.ActivityRetainedComponent;
import dagger.hilt.android.components.ViewModelComponent;
import dagger.hilt.android.internal.lifecycle.HiltViewModelMap;
import dagger.hilt.codegen.OriginatingElement;
import dagger.multibindings.IntoMap;
import dagger.multibindings.IntoSet;
import dagger.multibindings.StringKey;
@OriginatingElement(topLevelClass = MoreAdifViewModel.class)
/* loaded from: classes2.dex */
public final class MoreAdifViewModel_HiltModules {
@Module
@InstallIn({ViewModelComponent.class})
/* loaded from: classes2.dex */
public static abstract class BindsModule {
private BindsModule() {
}
@Binds
@StringKey("com.adif.elcanomovil.uiMoreAdif.main.MoreAdifViewModel")
@HiltViewModelMap
@IntoMap
public abstract w0 binds(MoreAdifViewModel moreAdifViewModel);
}
@Module
@InstallIn({ActivityRetainedComponent.class})
/* loaded from: classes2.dex */
public static final class KeyModule {
private KeyModule() {
}
@Provides
@HiltViewModelMap.KeySet
@IntoSet
public static String provide() {
return "com.adif.elcanomovil.uiMoreAdif.main.MoreAdifViewModel";
}
}
private MoreAdifViewModel_HiltModules() {
}
}

View File

@@ -0,0 +1,27 @@
package com.adif.elcanomovil.uiMoreAdif.main;
import com.adif.elcanomovil.uiMoreAdif.main.MoreAdifViewModel_HiltModules;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
@ScopeMetadata
@DaggerGenerated
@QualifierMetadata({"dagger.hilt.android.internal.lifecycle.HiltViewModelMap.KeySet"})
/* loaded from: classes2.dex */
public final class MoreAdifViewModel_HiltModules_KeyModule_ProvideFactory implements Factory<String> {
public static MoreAdifViewModel_HiltModules_KeyModule_ProvideFactory create() {
return c.f5178a;
}
public static String provide() {
return (String) Preconditions.checkNotNullFromProvides(MoreAdifViewModel_HiltModules.KeyModule.provide());
}
@Override // javax.inject.Provider
public String get() {
return provide();
}
}

View File

@@ -0,0 +1,7 @@
package com.adif.elcanomovil.uiMoreAdif.main;
import androidx.recyclerview.widget.I0;
/* loaded from: classes2.dex */
public final class a extends I0 {
}

View File

@@ -0,0 +1,111 @@
package com.adif.elcanomovil.uiMoreAdif.main;
import android.os.Bundle;
import com.adif.elcanomovil.commonNavGraph.R;
import com.adif.elcanomovil.commonNavGraph.arguments.NavArguments;
import kotlin.jvm.internal.Intrinsics;
import o0.F;
/* loaded from: classes2.dex */
public final class b implements F {
/* renamed from: a, reason: collision with root package name */
public final String f5171a;
/* renamed from: b, reason: collision with root package name */
public final String f5172b;
/* renamed from: c, reason: collision with root package name */
public final String f5173c;
/* renamed from: d, reason: collision with root package name */
public final long f5174d;
/* renamed from: e, reason: collision with root package name */
public final String f5175e;
/* renamed from: f, reason: collision with root package name */
public final String f5176f;
/* renamed from: g, reason: collision with root package name */
public final String f5177g;
public final String h;
public final int i = R.id.to_trainSituationFragment;
public b(String str, String str2, String str3, long j4, String str4, String str5, String str6, String str7) {
this.f5171a = str;
this.f5172b = str2;
this.f5173c = str3;
this.f5174d = j4;
this.f5175e = str4;
this.f5176f = str5;
this.f5177g = str6;
this.h = str7;
}
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.f5171a, bVar.f5171a) && Intrinsics.areEqual(this.f5172b, bVar.f5172b) && Intrinsics.areEqual(this.f5173c, bVar.f5173c) && this.f5174d == bVar.f5174d && Intrinsics.areEqual(this.f5175e, bVar.f5175e) && Intrinsics.areEqual(this.f5176f, bVar.f5176f) && Intrinsics.areEqual(this.f5177g, bVar.f5177g) && Intrinsics.areEqual(this.h, bVar.h);
}
@Override // o0.F
public final int getActionId() {
return this.i;
}
@Override // o0.F
public final Bundle getArguments() {
Bundle bundle = new Bundle();
bundle.putString(NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_NUMBER, this.f5171a);
bundle.putString(NavArguments.ARG_DYNAMIC_LINKS_STATION_CODE, this.f5172b);
bundle.putString(NavArguments.ARG_DYNAMIC_LINKS_STATION_TO_CODE, this.f5173c);
bundle.putLong(NavArguments.ARG_DYNAMIC_LINKS_LAUNCHDATE, this.f5174d);
bundle.putString("observation", this.f5175e);
bundle.putString(NavArguments.ARG_DYNAMIC_LINKS_OPERATOR, this.f5176f);
bundle.putString(NavArguments.ARG_DYNAMIC_LINKS_COMMERCIAL_PRODUCT, this.f5177g);
bundle.putString(NavArguments.ARG_DYNAMIC_LINKS_FRAGMENT_FROM, this.h);
return bundle;
}
public final int hashCode() {
String str = this.f5171a;
int hashCode = (str == null ? 0 : str.hashCode()) * 31;
String str2 = this.f5172b;
int hashCode2 = (hashCode + (str2 == null ? 0 : str2.hashCode())) * 31;
String str3 = this.f5173c;
int b4 = com.google.android.gms.measurement.internal.a.b(this.f5174d, (hashCode2 + (str3 == null ? 0 : str3.hashCode())) * 31, 31);
String str4 = this.f5175e;
int hashCode3 = (b4 + (str4 == null ? 0 : str4.hashCode())) * 31;
String str5 = this.f5176f;
int hashCode4 = (hashCode3 + (str5 == null ? 0 : str5.hashCode())) * 31;
String str6 = this.f5177g;
int hashCode5 = (hashCode4 + (str6 == null ? 0 : str6.hashCode())) * 31;
String str7 = this.h;
return hashCode5 + (str7 != null ? str7.hashCode() : 0);
}
public final String toString() {
StringBuilder sb = new StringBuilder("ToTrainSituationFragment(commercialNumber=");
sb.append(this.f5171a);
sb.append(", originStationCode=");
sb.append(this.f5172b);
sb.append(", destinationStationCode=");
sb.append(this.f5173c);
sb.append(", launchingDate=");
sb.append(this.f5174d);
sb.append(", observation=");
sb.append(this.f5175e);
sb.append(", operator=");
sb.append(this.f5176f);
sb.append(", commercialProduct=");
sb.append(this.f5177g);
sb.append(", fragmentFrom=");
return com.google.android.gms.measurement.internal.a.n(sb, this.h, ')');
}
}

View File

@@ -0,0 +1,8 @@
package com.adif.elcanomovil.uiMoreAdif.main;
/* loaded from: classes2.dex */
public abstract class c {
/* renamed from: a, reason: collision with root package name */
public static final MoreAdifViewModel_HiltModules_KeyModule_ProvideFactory f5178a = new MoreAdifViewModel_HiltModules_KeyModule_ProvideFactory();
}

View File

@@ -0,0 +1,104 @@
package com.adif.elcanomovil.uiMoreAdif.wizard;
import B0.w;
import I2.i;
import O.J;
import O.L;
import O.X;
import a.AbstractC0105a;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.viewpager.widget.ViewPager;
import com.adif.elcanomovil.uiMoreAdif.R;
import g.AbstractActivityC0364k;
import java.util.WeakHashMap;
import kotlin.KotlinVersion;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes2.dex */
public class WizardActivity extends AbstractActivityC0364k {
private int _xDelta;
private MyAdapter mAdapter;
private ViewPager mPager;
/* loaded from: classes2.dex */
public class MyAdapter extends F0.a {
WizardActivity mActivity;
public MyAdapter(WizardActivity wizardActivity) {
this.mActivity = wizardActivity;
}
@Override // F0.a
public void destroyItem(ViewGroup viewGroup, int i, Object obj) {
((ViewPager) viewGroup).removeView((LinearLayout) obj);
}
@Override // F0.a
public int getCount() {
return 5;
}
@Override // F0.a
public Object instantiateItem(ViewGroup viewGroup, int i) {
View inflate = ((LayoutInflater) this.mActivity.getSystemService("layout_inflater")).inflate(R.layout.fragment_wizard_first, viewGroup, false);
inflate.setTag("IMAGE");
((ImageView) inflate.findViewById(R.id.imgWizard)).setImageResource(R.drawable.image_wizard_1 + i);
((ViewPager) viewGroup).addView(inflate);
return inflate;
}
@Override // F0.a
public boolean isViewFromObject(View view, Object obj) {
return view == ((LinearLayout) obj);
}
}
public /* synthetic */ void lambda$onCreate$0(View view) {
finish();
}
public /* synthetic */ boolean lambda$onCreate$1(View view, MotionEvent motionEvent) {
if (((ViewPager) view).getCurrentItem() != 4) {
return false;
}
int rawX = (int) motionEvent.getRawX();
int action = motionEvent.getAction() & KotlinVersion.MAX_COMPONENT_VALUE;
if (action == 0) {
this._xDelta = rawX;
return false;
}
if (action != 2 || this._xDelta - rawX <= 100) {
return false;
}
finish();
return false;
}
@Override // androidx.fragment.app.P, b.o, C.AbstractActivityC0048l, android.app.Activity
public void onCreate(Bundle bundle) {
super.onCreate(bundle);
Intrinsics.checkNotNullParameter(this, "activity");
AbstractC0105a.O(getWindow(), false);
setContentView(R.layout.b_activity_wizard_main_screen);
View rootView = findViewById(android.R.id.content);
Intrinsics.checkNotNullParameter(rootView, "rootView");
w wVar = new w(20);
WeakHashMap weakHashMap = X.f1226a;
L.u(rootView, wVar);
J.c(rootView);
this.mAdapter = new MyAdapter(this);
((TextView) findViewById(R.id.wizard_ready_text)).setOnClickListener(new D1.a(this, 13));
ViewPager viewPager = (ViewPager) findViewById(R.id.pager);
this.mPager = viewPager;
viewPager.setAdapter(this.mAdapter);
this.mPager.setOnTouchListener(new i(this, 1));
this.mPager.setOnPageChangeListener(new a(this));
}
}

View File

@@ -0,0 +1,69 @@
package com.adif.elcanomovil.uiMoreAdif.wizard;
import F0.h;
import android.widget.ImageView;
import com.adif.elcanomovil.uiMoreAdif.R;
/* loaded from: classes2.dex */
public final class a implements h {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ WizardActivity f5179a;
public a(WizardActivity wizardActivity) {
this.f5179a = wizardActivity;
}
@Override // F0.h
public final void a(int i) {
}
@Override // F0.h
public final void b(int i) {
WizardActivity wizardActivity = this.f5179a;
if (i == 0) {
((ImageView) wizardActivity.findViewById(R.id.circle_screen1)).setImageDrawable(wizardActivity.getResources().getDrawable(R.drawable.image_wizard_page_1));
((ImageView) wizardActivity.findViewById(R.id.circle_screen2)).setImageDrawable(wizardActivity.getResources().getDrawable(R.drawable.image_wizard_page_2_off));
((ImageView) wizardActivity.findViewById(R.id.circle_screen3)).setImageDrawable(wizardActivity.getResources().getDrawable(R.drawable.image_wizard_page_3_off));
((ImageView) wizardActivity.findViewById(R.id.circle_screen4)).setImageDrawable(wizardActivity.getResources().getDrawable(R.drawable.image_wizard_page_4_off));
((ImageView) wizardActivity.findViewById(R.id.circle_screen5)).setImageDrawable(wizardActivity.getResources().getDrawable(R.drawable.image_wizard_page_5_off));
return;
}
if (i == 1) {
((ImageView) wizardActivity.findViewById(R.id.circle_screen1)).setImageDrawable(wizardActivity.getResources().getDrawable(R.drawable.image_wizard_page_1_off));
((ImageView) wizardActivity.findViewById(R.id.circle_screen2)).setImageDrawable(wizardActivity.getResources().getDrawable(R.drawable.image_wizard_page_2));
((ImageView) wizardActivity.findViewById(R.id.circle_screen3)).setImageDrawable(wizardActivity.getResources().getDrawable(R.drawable.image_wizard_page_3_off));
((ImageView) wizardActivity.findViewById(R.id.circle_screen4)).setImageDrawable(wizardActivity.getResources().getDrawable(R.drawable.image_wizard_page_4_off));
((ImageView) wizardActivity.findViewById(R.id.circle_screen5)).setImageDrawable(wizardActivity.getResources().getDrawable(R.drawable.image_wizard_page_5_off));
return;
}
if (i == 2) {
((ImageView) wizardActivity.findViewById(R.id.circle_screen1)).setImageDrawable(wizardActivity.getResources().getDrawable(R.drawable.image_wizard_page_1_off));
((ImageView) wizardActivity.findViewById(R.id.circle_screen2)).setImageDrawable(wizardActivity.getResources().getDrawable(R.drawable.image_wizard_page_2_off));
((ImageView) wizardActivity.findViewById(R.id.circle_screen3)).setImageDrawable(wizardActivity.getResources().getDrawable(R.drawable.image_wizard_page_3));
((ImageView) wizardActivity.findViewById(R.id.circle_screen4)).setImageDrawable(wizardActivity.getResources().getDrawable(R.drawable.image_wizard_page_4_off));
((ImageView) wizardActivity.findViewById(R.id.circle_screen5)).setImageDrawable(wizardActivity.getResources().getDrawable(R.drawable.image_wizard_page_5_off));
return;
}
if (i == 3) {
((ImageView) wizardActivity.findViewById(R.id.circle_screen1)).setImageDrawable(wizardActivity.getResources().getDrawable(R.drawable.image_wizard_page_1_off));
((ImageView) wizardActivity.findViewById(R.id.circle_screen2)).setImageDrawable(wizardActivity.getResources().getDrawable(R.drawable.image_wizard_page_2_off));
((ImageView) wizardActivity.findViewById(R.id.circle_screen3)).setImageDrawable(wizardActivity.getResources().getDrawable(R.drawable.image_wizard_page_3_off));
((ImageView) wizardActivity.findViewById(R.id.circle_screen4)).setImageDrawable(wizardActivity.getResources().getDrawable(R.drawable.image_wizard_page_4));
((ImageView) wizardActivity.findViewById(R.id.circle_screen5)).setImageDrawable(wizardActivity.getResources().getDrawable(R.drawable.image_wizard_page_5_off));
return;
}
if (i != 4) {
return;
}
((ImageView) wizardActivity.findViewById(R.id.circle_screen1)).setImageDrawable(wizardActivity.getResources().getDrawable(R.drawable.image_wizard_page_1_off));
((ImageView) wizardActivity.findViewById(R.id.circle_screen2)).setImageDrawable(wizardActivity.getResources().getDrawable(R.drawable.image_wizard_page_2_off));
((ImageView) wizardActivity.findViewById(R.id.circle_screen3)).setImageDrawable(wizardActivity.getResources().getDrawable(R.drawable.image_wizard_page_3_off));
((ImageView) wizardActivity.findViewById(R.id.circle_screen4)).setImageDrawable(wizardActivity.getResources().getDrawable(R.drawable.image_wizard_page_4_off));
((ImageView) wizardActivity.findViewById(R.id.circle_screen5)).setImageDrawable(wizardActivity.getResources().getDrawable(R.drawable.image_wizard_page_5));
}
@Override // F0.h
public final void c(int i, float f2) {
}
}