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,14 @@
package o0;
import android.os.Bundle;
/* renamed from: o0.i, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0532i {
/* renamed from: a, reason: collision with root package name */
public static final Class[] f7994a = {Bundle.class};
/* renamed from: b, reason: collision with root package name */
public static final s.e f7995b = new s.j(0);
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,236 @@
package o0;
import android.net.Uri;
import android.os.Bundle;
import com.google.firebase.sessions.settings.RemoteSettings;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.ListIterator;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import kotlin.Lazy;
import kotlin.LazyKt;
import kotlin.collections.CollectionsKt;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.Regex;
import kotlin.text.StringsKt__StringsJVMKt;
import kotlin.text.StringsKt__StringsKt;
/* renamed from: o0.A, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0521A {
/* renamed from: m, reason: collision with root package name */
public static final Pattern f7898m = Pattern.compile("^[a-zA-Z]+[+\\w\\-.]*:");
/* renamed from: a, reason: collision with root package name */
public final String f7899a;
/* renamed from: b, reason: collision with root package name */
public final String f7900b;
/* renamed from: c, reason: collision with root package name */
public final String f7901c;
/* renamed from: f, reason: collision with root package name */
public final String f7904f;
public final boolean h;
public final boolean i;
/* renamed from: j, reason: collision with root package name */
public final String f7906j;
/* renamed from: l, reason: collision with root package name */
public final boolean f7908l;
/* renamed from: d, reason: collision with root package name */
public final ArrayList f7902d = new ArrayList();
/* renamed from: e, reason: collision with root package name */
public final LinkedHashMap f7903e = new LinkedHashMap();
/* renamed from: g, reason: collision with root package name */
public final Lazy f7905g = LazyKt.lazy(new z(this, 1));
/* renamed from: k, reason: collision with root package name */
public final Lazy f7907k = LazyKt.lazy(new z(this, 0));
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r13v0, types: [java.util.regex.Matcher] */
/* JADX WARN: Type inference failed for: r17v0, types: [o0.A] */
/* JADX WARN: Type inference failed for: r3v14, types: [int] */
/* JADX WARN: Type inference failed for: r3v18 */
/* JADX WARN: Type inference failed for: r3v20 */
public C0521A(String str, String str2, String str3) {
int i;
List emptyList;
String replace$default;
String replace$default2;
String replace$default3;
this.f7899a = str;
this.f7900b = str2;
this.f7901c = str3;
int i4 = 0;
boolean z3 = true;
if (str != null) {
Uri parse = Uri.parse(str);
boolean z4 = parse.getQuery() != null;
this.h = z4;
StringBuilder sb = new StringBuilder("^");
if (!f7898m.matcher(str).find()) {
sb.append("http[s]?://");
}
Pattern fillInPattern = Pattern.compile("\\{(.+?)\\}");
if (z4) {
Matcher matcher = Pattern.compile("(\\?)").matcher(str);
if (matcher.find()) {
String substring = str.substring(0, matcher.start());
Intrinsics.checkNotNullExpressionValue(substring, "this as java.lang.String…ing(startIndex, endIndex)");
Intrinsics.checkNotNullExpressionValue(fillInPattern, "fillInPattern");
this.f7908l = a(substring, sb, fillInPattern);
}
Iterator<String> it = parse.getQueryParameterNames().iterator();
while (it.hasNext()) {
String paramName = it.next();
StringBuilder sb2 = new StringBuilder();
String queryParam = parse.getQueryParameter(paramName);
if (queryParam == null) {
this.i = z3;
queryParam = paramName;
}
?? matcher2 = fillInPattern.matcher(queryParam);
C0547y c0547y = new C0547y();
int i5 = i4;
boolean z5 = z3;
while (matcher2.find()) {
Iterator<String> it2 = it;
String name = matcher2.group(z5);
if (name == null) {
throw new NullPointerException("null cannot be cast to non-null type kotlin.String");
}
Intrinsics.checkNotNullParameter(name, "name");
c0547y.f8076b.add(name);
Intrinsics.checkNotNullExpressionValue(queryParam, "queryParam");
String substring2 = queryParam.substring(i5, matcher2.start());
Intrinsics.checkNotNullExpressionValue(substring2, "this as java.lang.String…ing(startIndex, endIndex)");
sb2.append(Pattern.quote(substring2));
sb2.append("(.+?)?");
i5 = matcher2.end();
it = it2;
z5 = z5;
}
Iterator<String> it3 = it;
boolean z6 = z5;
if (i5 < queryParam.length()) {
Intrinsics.checkNotNullExpressionValue(queryParam, "queryParam");
String substring3 = queryParam.substring(i5);
Intrinsics.checkNotNullExpressionValue(substring3, "this as java.lang.String).substring(startIndex)");
sb2.append(Pattern.quote(substring3));
}
String sb3 = sb2.toString();
Intrinsics.checkNotNullExpressionValue(sb3, "argRegex.toString()");
replace$default3 = StringsKt__StringsJVMKt.replace$default(sb3, ".*", "\\E.*\\Q", false, 4, (Object) null);
c0547y.f8075a = replace$default3;
LinkedHashMap linkedHashMap = this.f7903e;
Intrinsics.checkNotNullExpressionValue(paramName, "paramName");
linkedHashMap.put(paramName, c0547y);
it = it3;
z3 = z6;
i4 = 0;
}
i = z3 ? 1 : 0;
} else {
i = 1;
Intrinsics.checkNotNullExpressionValue(fillInPattern, "fillInPattern");
this.f7908l = a(str, sb, fillInPattern);
}
String sb4 = sb.toString();
Intrinsics.checkNotNullExpressionValue(sb4, "uriRegex.toString()");
replace$default2 = StringsKt__StringsJVMKt.replace$default(sb4, ".*", "\\E.*\\Q", false, 4, (Object) null);
this.f7904f = replace$default2;
} else {
i = 1;
}
if (this.f7901c != null) {
if (!Pattern.compile("^[\\s\\S]+/[\\s\\S]+$").matcher(this.f7901c).matches()) {
throw new IllegalArgumentException(C.w.r(new StringBuilder("The given mimeType "), this.f7901c, " does not match to required \"type/subtype\" format").toString());
}
String mimeType = this.f7901c;
Intrinsics.checkNotNullParameter(mimeType, "mimeType");
List<String> split = new Regex(RemoteSettings.FORWARD_SLASH_STRING).split(mimeType, 0);
if (!split.isEmpty()) {
ListIterator<String> listIterator = split.listIterator(split.size());
while (listIterator.hasPrevious()) {
if (listIterator.previous().length() != 0) {
emptyList = CollectionsKt.take(split, listIterator.nextIndex() + 1);
break;
}
}
}
emptyList = CollectionsKt.emptyList();
replace$default = StringsKt__StringsJVMKt.replace$default("^(" + ((String) emptyList.get(0)) + "|[*]+)/(" + ((String) emptyList.get(i)) + "|[*]+)$", "*|[*]", "[\\s\\S]", false, 4, (Object) null);
this.f7906j = replace$default;
}
}
public static void b(Bundle bundle, String key, String value, C0533j c0533j) {
if (c0533j == null) {
bundle.putString(key, value);
return;
}
T t2 = c0533j.f7996a;
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
Intrinsics.checkNotNullParameter(value, "value");
t2.d(bundle, key, t2.c(value));
}
public final boolean a(String str, StringBuilder sb, Pattern pattern) {
boolean contains$default;
Matcher matcher = pattern.matcher(str);
contains$default = StringsKt__StringsKt.contains$default(str, (CharSequence) ".*", false, 2, (Object) null);
boolean z3 = !contains$default;
int i = 0;
while (matcher.find()) {
String group = matcher.group(1);
if (group == null) {
throw new NullPointerException("null cannot be cast to non-null type kotlin.String");
}
this.f7902d.add(group);
String substring = str.substring(i, matcher.start());
Intrinsics.checkNotNullExpressionValue(substring, "this as java.lang.String…ing(startIndex, endIndex)");
sb.append(Pattern.quote(substring));
sb.append("([^/]+?)");
i = matcher.end();
z3 = false;
}
if (i < str.length()) {
String substring2 = str.substring(i);
Intrinsics.checkNotNullExpressionValue(substring2, "this as java.lang.String).substring(startIndex)");
sb.append(Pattern.quote(substring2));
}
sb.append("($|(\\?(.)*)|(\\#(.)*))");
return z3;
}
public final boolean equals(Object obj) {
if (obj != null && (obj instanceof C0521A)) {
C0521A c0521a = (C0521A) obj;
if (Intrinsics.areEqual(this.f7899a, c0521a.f7899a) && Intrinsics.areEqual(this.f7900b, c0521a.f7900b) && Intrinsics.areEqual(this.f7901c, c0521a.f7901c)) {
return true;
}
}
return false;
}
public final int hashCode() {
String str = this.f7899a;
int hashCode = (str != null ? str.hashCode() : 0) * 31;
String str2 = this.f7900b;
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
String str3 = this.f7901c;
return hashCode2 + (str3 != null ? str3.hashCode() : 0);
}
}

View File

@@ -0,0 +1,19 @@
package o0;
import android.os.Bundle;
/* renamed from: o0.B, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0522B {
/* renamed from: a, reason: collision with root package name */
public final int f7909a;
/* renamed from: b, reason: collision with root package name */
public final Bundle f7910b;
public C0522B(int i, Bundle bundle) {
this.f7909a = i;
this.f7910b = bundle;
}
}

View File

@@ -0,0 +1,54 @@
package o0;
import android.content.Intent;
import android.net.Uri;
import kotlin.jvm.internal.Intrinsics;
/* renamed from: o0.C, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0523C {
/* renamed from: a, reason: collision with root package name */
public final Uri f7911a;
/* renamed from: b, reason: collision with root package name */
public final String f7912b;
/* renamed from: c, reason: collision with root package name */
public final String f7913c;
public C0523C(Uri uri, String str, String str2) {
this.f7911a = uri;
this.f7912b = str;
this.f7913c = str2;
}
public final String toString() {
StringBuilder sb = new StringBuilder("NavDeepLinkRequest{");
Uri uri = this.f7911a;
if (uri != null) {
sb.append(" uri=");
sb.append(String.valueOf(uri));
}
String str = this.f7912b;
if (str != null) {
sb.append(" action=");
sb.append(str);
}
String str2 = this.f7913c;
if (str2 != null) {
sb.append(" mimetype=");
sb.append(str2);
}
sb.append(" }");
String sb2 = sb.toString();
Intrinsics.checkNotNullExpressionValue(sb2, "sb.toString()");
return sb2;
}
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
public C0523C(Intent intent) {
this(intent.getData(), intent.getAction(), intent.getType());
Intrinsics.checkNotNullParameter(intent, "intent");
}
}

View File

@@ -0,0 +1,44 @@
package o0;
import android.os.Bundle;
import kotlin.jvm.internal.Intrinsics;
/* renamed from: o0.a, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0524a implements F {
/* renamed from: a, reason: collision with root package name */
public final int f7972a;
/* renamed from: b, reason: collision with root package name */
public final Bundle f7973b = new Bundle();
public C0524a(int i) {
this.f7972a = i;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
return obj != null && Intrinsics.areEqual(C0524a.class, obj.getClass()) && this.f7972a == ((C0524a) obj).f7972a;
}
@Override // o0.F
public final int getActionId() {
return this.f7972a;
}
@Override // o0.F
public final Bundle getArguments() {
return this.f7973b;
}
public final int hashCode() {
return 31 + this.f7972a;
}
public final String toString() {
return C.w.p(new StringBuilder("ActionOnlyNavDirections(actionId="), this.f7972a, ')');
}
}

View File

@@ -0,0 +1,116 @@
package o0;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.res.TypedArray;
import android.net.Uri;
import android.util.AttributeSet;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.StringsKt__StringsJVMKt;
/* renamed from: o0.b, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0525b extends E {
/* renamed from: k, reason: collision with root package name */
public Intent f7974k;
/* renamed from: l, reason: collision with root package name */
public String f7975l;
@Override // o0.E
public final boolean equals(Object obj) {
if (obj != null && (obj instanceof C0525b) && super.equals(obj)) {
Intent intent = this.f7974k;
if ((intent != null ? intent.filterEquals(((C0525b) obj).f7974k) : ((C0525b) obj).f7974k == null) && Intrinsics.areEqual(this.f7975l, ((C0525b) obj).f7975l)) {
return true;
}
}
return false;
}
@Override // o0.E
public final void h(Context context, AttributeSet attrs) {
Intrinsics.checkNotNullParameter(context, "context");
Intrinsics.checkNotNullParameter(attrs, "attrs");
super.h(context, attrs);
TypedArray obtainAttributes = context.getResources().obtainAttributes(attrs, Y.f7969a);
Intrinsics.checkNotNullExpressionValue(obtainAttributes, "context.resources.obtain…tyNavigator\n )");
String string = obtainAttributes.getString(4);
if (string != null) {
String packageName = context.getPackageName();
Intrinsics.checkNotNullExpressionValue(packageName, "context.packageName");
string = StringsKt__StringsJVMKt.replace$default(string, "${applicationId}", packageName, false, 4, (Object) null);
}
if (this.f7974k == null) {
this.f7974k = new Intent();
}
Intent intent = this.f7974k;
Intrinsics.checkNotNull(intent);
intent.setPackage(string);
String string2 = obtainAttributes.getString(0);
if (string2 != null) {
if (string2.charAt(0) == '.') {
string2 = context.getPackageName() + string2;
}
ComponentName componentName = new ComponentName(context, string2);
if (this.f7974k == null) {
this.f7974k = new Intent();
}
Intent intent2 = this.f7974k;
Intrinsics.checkNotNull(intent2);
intent2.setComponent(componentName);
}
String string3 = obtainAttributes.getString(1);
if (this.f7974k == null) {
this.f7974k = new Intent();
}
Intent intent3 = this.f7974k;
Intrinsics.checkNotNull(intent3);
intent3.setAction(string3);
String string4 = obtainAttributes.getString(2);
if (string4 != null) {
Uri parse = Uri.parse(string4);
if (this.f7974k == null) {
this.f7974k = new Intent();
}
Intent intent4 = this.f7974k;
Intrinsics.checkNotNull(intent4);
intent4.setData(parse);
}
this.f7975l = obtainAttributes.getString(3);
obtainAttributes.recycle();
}
@Override // o0.E
public final int hashCode() {
int hashCode = super.hashCode() * 31;
Intent intent = this.f7974k;
int filterHashCode = (hashCode + (intent != null ? intent.filterHashCode() : 0)) * 31;
String str = this.f7975l;
return filterHashCode + (str != null ? str.hashCode() : 0);
}
@Override // o0.E
public final String toString() {
Intent intent = this.f7974k;
ComponentName component = intent != null ? intent.getComponent() : null;
StringBuilder sb = new StringBuilder();
sb.append(super.toString());
if (component != null) {
sb.append(" class=");
sb.append(component.getClassName());
} else {
Intent intent2 = this.f7974k;
String action = intent2 != null ? intent2.getAction() : null;
if (action != null) {
sb.append(" action=");
sb.append(action);
}
}
String sb2 = sb.toString();
Intrinsics.checkNotNullExpressionValue(sb2, "sb.toString()");
return sb2;
}
}

View File

@@ -0,0 +1,137 @@
package o0;
import android.content.Context;
import android.content.ContextWrapper;
import android.view.View;
import com.adif.elcanomovil.R;
import java.lang.ref.WeakReference;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Lambda;
/* renamed from: o0.c, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0526c extends Lambda implements Function1 {
/* renamed from: b, reason: collision with root package name */
public static final C0526c f7976b = new C0526c(1, 0);
/* renamed from: c, reason: collision with root package name */
public static final C0526c f7977c = new C0526c(1, 1);
/* renamed from: d, reason: collision with root package name */
public static final C0526c f7978d = new C0526c(1, 2);
/* renamed from: e, reason: collision with root package name */
public static final C0526c f7979e = new C0526c(1, 3);
/* renamed from: f, reason: collision with root package name */
public static final C0526c f7980f = new C0526c(1, 4);
/* renamed from: g, reason: collision with root package name */
public static final C0526c f7981g = new C0526c(1, 5);
public static final C0526c h = new C0526c(1, 6);
public static final C0526c i = new C0526c(1, 7);
/* renamed from: j, reason: collision with root package name */
public static final C0526c f7982j = new C0526c(1, 8);
/* renamed from: k, reason: collision with root package name */
public static final C0526c f7983k = new C0526c(1, 9);
/* renamed from: l, reason: collision with root package name */
public static final C0526c f7984l = new C0526c(1, 10);
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ int f7985a;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public /* synthetic */ C0526c(int i4, int i5) {
super(i4);
this.f7985a = i5;
}
@Override // kotlin.jvm.functions.Function1
public final Object invoke(Object obj) {
switch (this.f7985a) {
case 0:
Context it = (Context) obj;
Intrinsics.checkNotNullParameter(it, "it");
if (it instanceof ContextWrapper) {
return ((ContextWrapper) it).getBaseContext();
}
return null;
case 1:
Context it2 = (Context) obj;
Intrinsics.checkNotNullParameter(it2, "it");
if (it2 instanceof ContextWrapper) {
return ((ContextWrapper) it2).getBaseContext();
}
return null;
case 2:
C0527d anim = (C0527d) obj;
Intrinsics.checkNotNullParameter(anim, "$this$anim");
anim.f7986a = 0;
anim.f7987b = 0;
return Unit.INSTANCE;
case 3:
X popUpTo = (X) obj;
Intrinsics.checkNotNullParameter(popUpTo, "$this$popUpTo");
popUpTo.f7968a = true;
return Unit.INSTANCE;
case 4:
E destination = (E) obj;
Intrinsics.checkNotNullParameter(destination, "destination");
H h4 = destination.f7921b;
if (h4 == null || h4.f7932l != destination.h) {
return null;
}
return h4;
case 5:
E destination2 = (E) obj;
Intrinsics.checkNotNullParameter(destination2, "destination");
H h5 = destination2.f7921b;
if (h5 == null || h5.f7932l != destination2.h) {
return null;
}
return h5;
case 6:
E it3 = (E) obj;
Intrinsics.checkNotNullParameter(it3, "it");
return it3.f7921b;
case 7:
E it4 = (E) obj;
Intrinsics.checkNotNullParameter(it4, "it");
if (!(it4 instanceof H)) {
return null;
}
H h6 = (H) it4;
return h6.j(h6.f7932l, true);
case 8:
View it5 = (View) obj;
Intrinsics.checkNotNullParameter(it5, "it");
Object parent = it5.getParent();
if (parent instanceof View) {
return (View) parent;
}
return null;
case 9:
View it6 = (View) obj;
Intrinsics.checkNotNullParameter(it6, "it");
Object tag = it6.getTag(R.id.nav_controller_view_tag);
if (tag instanceof WeakReference) {
return (AbstractC0544v) ((WeakReference) tag).get();
}
if (tag instanceof AbstractC0544v) {
return (AbstractC0544v) tag;
}
return null;
default:
L navOptions = (L) obj;
Intrinsics.checkNotNullParameter(navOptions, "$this$navOptions");
navOptions.f7945b = true;
return Unit.INSTANCE;
}
}
}

View File

@@ -0,0 +1,12 @@
package o0;
/* renamed from: o0.d, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0527d {
/* renamed from: a, reason: collision with root package name */
public int f7986a;
/* renamed from: b, reason: collision with root package name */
public int f7987b;
}

View File

@@ -0,0 +1,21 @@
package o0;
import android.os.Bundle;
/* renamed from: o0.f, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0529f {
/* renamed from: a, reason: collision with root package name */
public final int f7988a;
/* renamed from: b, reason: collision with root package name */
public K f7989b = null;
/* renamed from: c, reason: collision with root package name */
public Bundle f7990c = null;
public C0529f(int i) {
this.f7988a = i;
}
}

View File

@@ -0,0 +1,63 @@
package o0;
import android.os.Bundle;
import java.lang.reflect.Method;
import java.util.Arrays;
import kotlin.Lazy;
import kotlin.jvm.JvmClassMappingKt;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Lambda;
import kotlin.reflect.KClass;
/* renamed from: o0.h, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0531h implements Lazy {
/* renamed from: a, reason: collision with root package name */
public final KClass f7991a;
/* renamed from: b, reason: collision with root package name */
public final Lambda f7992b;
/* renamed from: c, reason: collision with root package name */
public InterfaceC0530g f7993c;
/* JADX WARN: Multi-variable type inference failed */
public C0531h(KClass navArgsClass, Function0 argumentProducer) {
Intrinsics.checkNotNullParameter(navArgsClass, "navArgsClass");
Intrinsics.checkNotNullParameter(argumentProducer, "argumentProducer");
this.f7991a = navArgsClass;
this.f7992b = (Lambda) argumentProducer;
}
/* JADX WARN: Type inference failed for: r0v1, types: [kotlin.jvm.functions.Function0, kotlin.jvm.internal.Lambda] */
@Override // kotlin.Lazy
public final Object getValue() {
InterfaceC0530g interfaceC0530g = this.f7993c;
if (interfaceC0530g != null) {
return interfaceC0530g;
}
Bundle bundle = (Bundle) this.f7992b.invoke();
s.e eVar = AbstractC0532i.f7995b;
KClass kClass = this.f7991a;
Method method = (Method) eVar.get(kClass);
if (method == null) {
method = JvmClassMappingKt.getJavaClass(kClass).getMethod("fromBundle", (Class[]) Arrays.copyOf(AbstractC0532i.f7994a, 1));
eVar.put(kClass, method);
Intrinsics.checkNotNullExpressionValue(method, "navArgsClass.java.getMet…hod\n }");
}
Object invoke = method.invoke(null, bundle);
if (invoke == null) {
throw new NullPointerException("null cannot be cast to non-null type Args of androidx.navigation.NavArgsLazy");
}
InterfaceC0530g interfaceC0530g2 = (InterfaceC0530g) invoke;
this.f7993c = interfaceC0530g2;
return interfaceC0530g2;
}
@Override // kotlin.Lazy
public final boolean isInitialized() {
return this.f7993c != null;
}
}

View File

@@ -0,0 +1,74 @@
package o0;
import kotlin.jvm.internal.Intrinsics;
/* renamed from: o0.j, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0533j {
/* renamed from: a, reason: collision with root package name */
public final T f7996a;
/* renamed from: b, reason: collision with root package name */
public final boolean f7997b;
/* renamed from: c, reason: collision with root package name */
public final boolean f7998c;
/* renamed from: d, reason: collision with root package name */
public final Object f7999d;
public C0533j(T type, boolean z3, Object obj, boolean z4) {
Intrinsics.checkNotNullParameter(type, "type");
if (!type.f7963a && z3) {
throw new IllegalArgumentException(type.b().concat(" does not allow nullable values").toString());
}
if (!z3 && z4 && obj == null) {
throw new IllegalArgumentException(("Argument with type " + type.b() + " has null value but is not nullable.").toString());
}
this.f7996a = type;
this.f7997b = z3;
this.f7999d = obj;
this.f7998c = z4;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj != null && Intrinsics.areEqual(C0533j.class, obj.getClass())) {
C0533j c0533j = (C0533j) obj;
if (this.f7997b != c0533j.f7997b || this.f7998c != c0533j.f7998c || !Intrinsics.areEqual(this.f7996a, c0533j.f7996a)) {
return false;
}
Object obj2 = c0533j.f7999d;
Object obj3 = this.f7999d;
if (obj3 != null) {
return Intrinsics.areEqual(obj3, obj2);
}
if (obj2 == null) {
return true;
}
}
return false;
}
public final int hashCode() {
int hashCode = ((((this.f7996a.hashCode() * 31) + (this.f7997b ? 1 : 0)) * 31) + (this.f7998c ? 1 : 0)) * 31;
Object obj = this.f7999d;
return hashCode + (obj != null ? obj.hashCode() : 0);
}
public final String toString() {
StringBuilder sb = new StringBuilder();
sb.append(C0533j.class.getSimpleName());
sb.append(" Type: " + this.f7996a);
sb.append(" Nullable: " + this.f7997b);
if (this.f7998c) {
sb.append(" DefaultValue: " + this.f7999d);
}
String sb2 = sb.toString();
Intrinsics.checkNotNullExpressionValue(sb2, "sb.toString()");
return sb2;
}
}

View File

@@ -0,0 +1,87 @@
package o0;
import androidx.lifecycle.A0;
import androidx.lifecycle.n0;
import androidx.lifecycle.o0;
import androidx.lifecycle.q0;
import androidx.lifecycle.w0;
import androidx.lifecycle.y0;
import kotlin.jvm.internal.Intrinsics;
import m0.C0503c;
import v0.C0639d;
/* renamed from: o0.k, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0534k extends A0 implements y0 {
/* renamed from: a, reason: collision with root package name */
public C0639d f8000a;
/* renamed from: b, reason: collision with root package name */
public androidx.lifecycle.C f8001b;
@Override // androidx.lifecycle.A0
public final void a(w0 viewModel) {
Intrinsics.checkNotNullParameter(viewModel, "viewModel");
C0639d c0639d = this.f8000a;
if (c0639d != null) {
Intrinsics.checkNotNull(c0639d);
androidx.lifecycle.C c4 = this.f8001b;
Intrinsics.checkNotNull(c4);
q0.b(viewModel, c0639d, c4);
}
}
@Override // androidx.lifecycle.y0
public final w0 create(Class modelClass, l0.c extras) {
Intrinsics.checkNotNullParameter(modelClass, "modelClass");
Intrinsics.checkNotNullParameter(extras, "extras");
String key = (String) extras.a(C0503c.f7792a);
if (key != null) {
C0639d c0639d = this.f8000a;
if (c0639d != null) {
Intrinsics.checkNotNull(c0639d);
androidx.lifecycle.C c4 = this.f8001b;
Intrinsics.checkNotNull(c4);
o0 c5 = q0.c(c0639d, c4, key, null);
n0 handle = c5.f3413b;
Intrinsics.checkNotNullParameter(key, "key");
Intrinsics.checkNotNullParameter(modelClass, "modelClass");
Intrinsics.checkNotNullParameter(handle, "handle");
C0535l c0535l = new C0535l(handle);
c0535l.addCloseable("androidx.lifecycle.savedstate.vm.tag", c5);
return c0535l;
}
n0 handle2 = q0.e(extras);
Intrinsics.checkNotNullParameter(key, "key");
Intrinsics.checkNotNullParameter(modelClass, "modelClass");
Intrinsics.checkNotNullParameter(handle2, "handle");
return new C0535l(handle2);
}
throw new IllegalStateException("VIEW_MODEL_KEY must always be provided by ViewModelProvider");
}
@Override // androidx.lifecycle.y0
public final w0 create(Class modelClass) {
Intrinsics.checkNotNullParameter(modelClass, "modelClass");
String key = modelClass.getCanonicalName();
if (key != null) {
if (this.f8001b != null) {
C0639d c0639d = this.f8000a;
Intrinsics.checkNotNull(c0639d);
androidx.lifecycle.C c4 = this.f8001b;
Intrinsics.checkNotNull(c4);
o0 c5 = q0.c(c0639d, c4, key, null);
n0 handle = c5.f3413b;
Intrinsics.checkNotNullParameter(key, "key");
Intrinsics.checkNotNullParameter(modelClass, "modelClass");
Intrinsics.checkNotNullParameter(handle, "handle");
C0535l c0535l = new C0535l(handle);
c0535l.addCloseable("androidx.lifecycle.savedstate.vm.tag", c5);
return c0535l;
}
throw new UnsupportedOperationException("AbstractSavedStateViewModelFactory constructed with empty constructor supports only calls to create(modelClass: Class<T>, extras: CreationExtras).");
}
throw new IllegalArgumentException("Local and anonymous classes can not be ViewModels");
}
}

View File

@@ -0,0 +1,18 @@
package o0;
import androidx.lifecycle.n0;
import androidx.lifecycle.w0;
import kotlin.jvm.internal.Intrinsics;
/* renamed from: o0.l, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0535l extends w0 {
/* renamed from: a, reason: collision with root package name */
public final n0 f8002a;
public C0535l(n0 handle) {
Intrinsics.checkNotNullParameter(handle, "handle");
this.f8002a = handle;
}
}

View File

@@ -0,0 +1,74 @@
package o0;
import android.app.Application;
import android.content.Context;
import androidx.lifecycle.C0;
import androidx.lifecycle.t0;
import androidx.lifecycle.y0;
import kotlin.jvm.JvmClassMappingKt;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Lambda;
import kotlin.reflect.KClass;
/* renamed from: o0.m, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0536m extends Lambda implements Function0 {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ int f8003a;
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ C0537n f8004b;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public /* synthetic */ C0536m(C0537n c0537n, int i) {
super(0);
this.f8003a = i;
this.f8004b = c0537n;
}
/* JADX WARN: Type inference failed for: r0v7, types: [java.lang.Object, o0.k, androidx.lifecycle.y0] */
@Override // kotlin.jvm.functions.Function0
public final Object invoke() {
switch (this.f8003a) {
case 0:
C0537n c0537n = this.f8004b;
Context context = c0537n.f8005a;
Context applicationContext = context != null ? context.getApplicationContext() : null;
return new t0(applicationContext instanceof Application ? (Application) applicationContext : null, c0537n, c0537n.f8007c);
default:
C0537n owner = this.f8004b;
if (!owner.f8012j) {
throw new IllegalStateException("You cannot access the NavBackStackEntry's SavedStateHandle until it is added to the NavController's back stack (i.e., the Lifecycle of the NavBackStackEntry reaches the CREATED state).");
}
if (owner.h.f3298d == androidx.lifecycle.B.f3280a) {
throw new IllegalStateException("You cannot access the NavBackStackEntry's SavedStateHandle after the NavBackStackEntry is destroyed.");
}
Intrinsics.checkNotNullParameter(owner, "owner");
Intrinsics.checkNotNullParameter(owner, "owner");
?? factory = new Object();
factory.f8000a = owner.i.f8636b;
factory.f8001b = owner.h;
Intrinsics.checkNotNullParameter(owner, "owner");
Intrinsics.checkNotNullParameter(factory, "factory");
C0 store = owner.getViewModelStore();
Intrinsics.checkNotNullParameter(owner, "owner");
l0.c defaultCreationExtras = owner.getDefaultViewModelCreationExtras();
Intrinsics.checkNotNullParameter(store, "store");
Intrinsics.checkNotNullParameter(factory, "factory");
Intrinsics.checkNotNullParameter(defaultCreationExtras, "defaultCreationExtras");
R0.h hVar = new R0.h(store, (y0) factory, defaultCreationExtras);
Intrinsics.checkNotNullParameter(C0535l.class, "modelClass");
KClass modelClass = JvmClassMappingKt.getKotlinClass(C0535l.class);
Intrinsics.checkNotNullParameter(modelClass, "modelClass");
Intrinsics.checkNotNullParameter(modelClass, "modelClass");
Intrinsics.checkNotNullParameter(modelClass, "<this>");
String qualifiedName = modelClass.getQualifiedName();
if (qualifiedName != null) {
return ((C0535l) hVar.i(modelClass, "androidx.lifecycle.ViewModelProvider.DefaultKey:".concat(qualifiedName))).f8002a;
}
throw new IllegalArgumentException("Local and anonymous classes can not be ViewModels");
}
}
}

View File

@@ -0,0 +1,198 @@
package o0;
import android.app.Application;
import android.content.Context;
import android.os.Bundle;
import androidx.lifecycle.C0;
import androidx.lifecycle.D0;
import androidx.lifecycle.InterfaceC0200v;
import androidx.lifecycle.q0;
import androidx.lifecycle.t0;
import androidx.lifecycle.x0;
import androidx.lifecycle.y0;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Set;
import kotlin.Lazy;
import kotlin.LazyKt;
import kotlin.jvm.internal.Intrinsics;
import v0.C0639d;
import v0.C0640e;
/* renamed from: o0.n, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0537n implements androidx.lifecycle.J, D0, InterfaceC0200v, v0.f {
/* renamed from: a, reason: collision with root package name */
public final Context f8005a;
/* renamed from: b, reason: collision with root package name */
public E f8006b;
/* renamed from: c, reason: collision with root package name */
public final Bundle f8007c;
/* renamed from: d, reason: collision with root package name */
public androidx.lifecycle.B f8008d;
/* renamed from: e, reason: collision with root package name */
public final C0545w f8009e;
/* renamed from: f, reason: collision with root package name */
public final String f8010f;
/* renamed from: g, reason: collision with root package name */
public final Bundle f8011g;
public final androidx.lifecycle.L h = new androidx.lifecycle.L(this);
public final C0640e i;
/* renamed from: j, reason: collision with root package name */
public boolean f8012j;
/* renamed from: k, reason: collision with root package name */
public final Lazy f8013k;
/* renamed from: l, reason: collision with root package name */
public final Lazy f8014l;
/* renamed from: m, reason: collision with root package name */
public androidx.lifecycle.B f8015m;
public C0537n(Context context, E e4, Bundle bundle, androidx.lifecycle.B b4, C0545w c0545w, String str, Bundle bundle2) {
this.f8005a = context;
this.f8006b = e4;
this.f8007c = bundle;
this.f8008d = b4;
this.f8009e = c0545w;
this.f8010f = str;
this.f8011g = bundle2;
Intrinsics.checkNotNullParameter(this, "owner");
this.i = new C0640e(this);
this.f8013k = LazyKt.lazy(new C0536m(this, 0));
this.f8014l = LazyKt.lazy(new C0536m(this, 1));
this.f8015m = androidx.lifecycle.B.f3281b;
}
public final void a(androidx.lifecycle.B maxState) {
Intrinsics.checkNotNullParameter(maxState, "maxState");
this.f8015m = maxState;
b();
}
public final void b() {
if (!this.f8012j) {
C0640e c0640e = this.i;
c0640e.a();
this.f8012j = true;
if (this.f8009e != null) {
q0.f(this);
}
c0640e.b(this.f8011g);
}
int ordinal = this.f8008d.ordinal();
int ordinal2 = this.f8015m.ordinal();
androidx.lifecycle.L l4 = this.h;
if (ordinal < ordinal2) {
l4.h(this.f8008d);
} else {
l4.h(this.f8015m);
}
}
public final boolean equals(Object obj) {
Set<String> keySet;
if (obj != null && (obj instanceof C0537n)) {
C0537n c0537n = (C0537n) obj;
if (Intrinsics.areEqual(this.f8010f, c0537n.f8010f) && Intrinsics.areEqual(this.f8006b, c0537n.f8006b) && Intrinsics.areEqual(this.h, c0537n.h) && Intrinsics.areEqual(this.i.f8636b, c0537n.i.f8636b)) {
Bundle bundle = this.f8007c;
Bundle bundle2 = c0537n.f8007c;
if (Intrinsics.areEqual(bundle, bundle2)) {
return true;
}
if (bundle != null && (keySet = bundle.keySet()) != null) {
if (keySet.isEmpty()) {
return true;
}
for (String str : keySet) {
if (!Intrinsics.areEqual(bundle.get(str), bundle2 != null ? bundle2.get(str) : null)) {
}
}
return true;
}
}
}
return false;
}
@Override // androidx.lifecycle.InterfaceC0200v
public final l0.c getDefaultViewModelCreationExtras() {
l0.d dVar = new l0.d(0);
Context context = this.f8005a;
Context applicationContext = context != null ? context.getApplicationContext() : null;
Application application = applicationContext instanceof Application ? (Application) applicationContext : null;
if (application != null) {
dVar.b(x0.f3440d, application);
}
dVar.b(q0.f3417a, this);
dVar.b(q0.f3418b, this);
Bundle bundle = this.f8007c;
if (bundle != null) {
dVar.b(q0.f3419c, bundle);
}
return dVar;
}
@Override // androidx.lifecycle.InterfaceC0200v
public final y0 getDefaultViewModelProviderFactory() {
return (t0) this.f8013k.getValue();
}
@Override // androidx.lifecycle.J
public final androidx.lifecycle.C getLifecycle() {
return this.h;
}
@Override // v0.f
public final C0639d getSavedStateRegistry() {
return this.i.f8636b;
}
@Override // androidx.lifecycle.D0
public final C0 getViewModelStore() {
if (!this.f8012j) {
throw new IllegalStateException("You cannot access the NavBackStackEntry's ViewModels until it is added to the NavController's back stack (i.e., the Lifecycle of the NavBackStackEntry reaches the CREATED state).");
}
if (this.h.f3298d == androidx.lifecycle.B.f3280a) {
throw new IllegalStateException("You cannot access the NavBackStackEntry's ViewModels after the NavBackStackEntry is destroyed.");
}
C0545w c0545w = this.f8009e;
if (c0545w == null) {
throw new IllegalStateException("You must call setViewModelStore() on your NavHostController before accessing the ViewModelStore of a navigation graph.");
}
String backStackEntryId = this.f8010f;
Intrinsics.checkNotNullParameter(backStackEntryId, "backStackEntryId");
LinkedHashMap linkedHashMap = c0545w.f8072a;
C0 c02 = (C0) linkedHashMap.get(backStackEntryId);
if (c02 != null) {
return c02;
}
C0 c03 = new C0();
linkedHashMap.put(backStackEntryId, c03);
return c03;
}
public final int hashCode() {
Set<String> keySet;
int hashCode = this.f8006b.hashCode() + (this.f8010f.hashCode() * 31);
Bundle bundle = this.f8007c;
if (bundle != null && (keySet = bundle.keySet()) != null) {
Iterator<T> it = keySet.iterator();
while (it.hasNext()) {
int i = hashCode * 31;
Object obj = bundle.get((String) it.next());
hashCode = i + (obj != null ? obj.hashCode() : 0);
}
}
return this.i.f8636b.hashCode() + ((this.h.hashCode() + (hashCode * 31)) * 31);
}
}

View File

@@ -0,0 +1,83 @@
package o0;
import android.content.Context;
import android.os.Bundle;
import android.os.Parcel;
import android.os.Parcelable;
import kotlin.jvm.JvmField;
import kotlin.jvm.internal.Intrinsics;
/* renamed from: o0.o, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0538o implements Parcelable {
@JvmField
public static final Parcelable.Creator<C0538o> CREATOR = new D0.a(16);
/* renamed from: a, reason: collision with root package name */
public final String f8016a;
/* renamed from: b, reason: collision with root package name */
public final int f8017b;
/* renamed from: c, reason: collision with root package name */
public final Bundle f8018c;
/* renamed from: d, reason: collision with root package name */
public final Bundle f8019d;
public C0538o(C0537n entry) {
Intrinsics.checkNotNullParameter(entry, "entry");
this.f8016a = entry.f8010f;
this.f8017b = entry.f8006b.h;
this.f8018c = entry.f8007c;
Bundle outBundle = new Bundle();
this.f8019d = outBundle;
Intrinsics.checkNotNullParameter(outBundle, "outBundle");
entry.i.c(outBundle);
}
public final C0537n a(Context context, E destination, androidx.lifecycle.B hostLifecycleState, C0545w c0545w) {
Intrinsics.checkNotNullParameter(context, "context");
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(hostLifecycleState, "hostLifecycleState");
Bundle bundle = this.f8018c;
if (bundle != null) {
bundle.setClassLoader(context.getClassLoader());
} else {
bundle = null;
}
Bundle bundle2 = bundle;
Intrinsics.checkNotNullParameter(destination, "destination");
Intrinsics.checkNotNullParameter(hostLifecycleState, "hostLifecycleState");
String id = this.f8016a;
Intrinsics.checkNotNullParameter(id, "id");
return new C0537n(context, destination, bundle2, hostLifecycleState, c0545w, id, this.f8019d);
}
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
Intrinsics.checkNotNullParameter(parcel, "parcel");
parcel.writeString(this.f8016a);
parcel.writeInt(this.f8017b);
parcel.writeBundle(this.f8018c);
parcel.writeBundle(this.f8019d);
}
public C0538o(Parcel inParcel) {
Intrinsics.checkNotNullParameter(inParcel, "inParcel");
String readString = inParcel.readString();
Intrinsics.checkNotNull(readString);
this.f8016a = readString;
this.f8017b = inParcel.readInt();
this.f8018c = inParcel.readBundle(C0538o.class.getClassLoader());
Bundle readBundle = inParcel.readBundle(C0538o.class.getClassLoader());
Intrinsics.checkNotNull(readBundle);
this.f8019d = readBundle;
}
}

View File

@@ -0,0 +1,118 @@
package o0;
import android.util.Log;
import androidx.fragment.app.DialogInterfaceOnCancelListenerC0174y;
import androidx.navigation.fragment.DialogFragmentNavigator;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
import kotlin.collections.CollectionsKt;
import kotlin.jvm.internal.Intrinsics;
import v0.C0639d;
/* renamed from: o0.p, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final /* synthetic */ class C0539p implements androidx.lifecycle.H {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ int f8020a;
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ Object f8021b;
public /* synthetic */ C0539p(Object obj, int i) {
this.f8020a = i;
this.f8021b = obj;
}
@Override // androidx.lifecycle.H
public final void onStateChanged(androidx.lifecycle.J source, androidx.lifecycle.A event) {
Object obj;
switch (this.f8020a) {
case 0:
AbstractC0544v this$0 = (AbstractC0544v) this.f8021b;
Intrinsics.checkNotNullParameter(this$0, "this$0");
Intrinsics.checkNotNullParameter(source, "<anonymous parameter 0>");
Intrinsics.checkNotNullParameter(event, "event");
androidx.lifecycle.B a2 = event.a();
Intrinsics.checkNotNullExpressionValue(a2, "event.targetState");
this$0.f8062r = a2;
if (this$0.f8050c != null) {
Iterator<E> it = this$0.f8054g.iterator();
while (it.hasNext()) {
C0537n c0537n = (C0537n) it.next();
c0537n.getClass();
Intrinsics.checkNotNullParameter(event, "event");
androidx.lifecycle.B a4 = event.a();
Intrinsics.checkNotNullExpressionValue(a4, "event.targetState");
c0537n.f8008d = a4;
c0537n.b();
}
return;
}
return;
case 1:
DialogFragmentNavigator this$02 = (DialogFragmentNavigator) this.f8021b;
Intrinsics.checkNotNullParameter(this$02, "this$0");
Intrinsics.checkNotNullParameter(source, "source");
Intrinsics.checkNotNullParameter(event, "event");
if (event == androidx.lifecycle.A.ON_CREATE) {
DialogInterfaceOnCancelListenerC0174y dialogInterfaceOnCancelListenerC0174y = (DialogInterfaceOnCancelListenerC0174y) source;
Iterable iterable = (Iterable) this$02.b().f8026e.getValue();
if (!(iterable instanceof Collection) || !((Collection) iterable).isEmpty()) {
Iterator it2 = iterable.iterator();
while (it2.hasNext()) {
if (Intrinsics.areEqual(((C0537n) it2.next()).f8010f, dialogInterfaceOnCancelListenerC0174y.getTag())) {
return;
}
}
}
dialogInterfaceOnCancelListenerC0174y.dismiss();
return;
}
if (event == androidx.lifecycle.A.ON_STOP) {
DialogInterfaceOnCancelListenerC0174y dialogInterfaceOnCancelListenerC0174y2 = (DialogInterfaceOnCancelListenerC0174y) source;
if (dialogInterfaceOnCancelListenerC0174y2.requireDialog().isShowing()) {
return;
}
List list = (List) this$02.b().f8026e.getValue();
ListIterator listIterator = list.listIterator(list.size());
while (true) {
if (listIterator.hasPrevious()) {
obj = listIterator.previous();
if (Intrinsics.areEqual(((C0537n) obj).f8010f, dialogInterfaceOnCancelListenerC0174y2.getTag())) {
}
} else {
obj = null;
}
}
if (obj == null) {
throw new IllegalStateException(("Dialog " + dialogInterfaceOnCancelListenerC0174y2 + " has already been popped off of the Navigation back stack").toString());
}
C0537n c0537n2 = (C0537n) obj;
if (!Intrinsics.areEqual(CollectionsKt.lastOrNull(list), c0537n2)) {
Log.i("DialogFragmentNavigator", "Dialog " + dialogInterfaceOnCancelListenerC0174y2 + " was dismissed while it was not the top of the back stack, popping all dialogs above this dismissed dialog");
}
this$02.i(c0537n2, false);
return;
}
return;
default:
C0639d this$03 = (C0639d) this.f8021b;
Intrinsics.checkNotNullParameter(this$03, "this$0");
Intrinsics.checkNotNullParameter(source, "<anonymous parameter 0>");
Intrinsics.checkNotNullParameter(event, "event");
if (event == androidx.lifecycle.A.ON_START) {
this$03.f8634f = true;
return;
} else {
if (event == androidx.lifecycle.A.ON_STOP) {
this$03.f8634f = false;
return;
}
return;
}
}
}
}

View File

@@ -0,0 +1,157 @@
package o0;
import android.util.Log;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.concurrent.locks.ReentrantLock;
import kotlin.Unit;
import kotlin.collections.ArrayDeque;
import kotlin.collections.CollectionsKt;
import kotlin.collections.SetsKt;
import kotlin.jvm.internal.Intrinsics;
import kotlinx.coroutines.flow.FlowKt;
import kotlinx.coroutines.flow.MutableStateFlow;
import kotlinx.coroutines.flow.StateFlow;
import kotlinx.coroutines.flow.StateFlowKt;
/* renamed from: o0.q, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0540q {
/* renamed from: a, reason: collision with root package name */
public final ReentrantLock f8022a;
/* renamed from: b, reason: collision with root package name */
public final MutableStateFlow f8023b;
/* renamed from: c, reason: collision with root package name */
public final MutableStateFlow f8024c;
/* renamed from: d, reason: collision with root package name */
public boolean f8025d;
/* renamed from: e, reason: collision with root package name */
public final StateFlow f8026e;
/* renamed from: f, reason: collision with root package name */
public final StateFlow f8027f;
/* renamed from: g, reason: collision with root package name */
public final V f8028g;
public final /* synthetic */ AbstractC0544v h;
public C0540q(AbstractC0544v abstractC0544v, V navigator) {
Intrinsics.checkNotNullParameter(navigator, "navigator");
this.h = abstractC0544v;
this.f8022a = new ReentrantLock(true);
MutableStateFlow MutableStateFlow = StateFlowKt.MutableStateFlow(CollectionsKt.emptyList());
this.f8023b = MutableStateFlow;
MutableStateFlow MutableStateFlow2 = StateFlowKt.MutableStateFlow(SetsKt.emptySet());
this.f8024c = MutableStateFlow2;
this.f8026e = FlowKt.asStateFlow(MutableStateFlow);
this.f8027f = FlowKt.asStateFlow(MutableStateFlow2);
this.f8028g = navigator;
}
public final void a(C0537n backStackEntry) {
Intrinsics.checkNotNullParameter(backStackEntry, "backStackEntry");
Intrinsics.checkNotNullParameter(backStackEntry, "backStackEntry");
ReentrantLock reentrantLock = this.f8022a;
reentrantLock.lock();
try {
MutableStateFlow mutableStateFlow = this.f8023b;
mutableStateFlow.setValue(CollectionsKt.plus((Collection<? extends C0537n>) mutableStateFlow.getValue(), backStackEntry));
Unit unit = Unit.INSTANCE;
} finally {
reentrantLock.unlock();
}
}
public final void b(C0537n backStackEntry) {
Intrinsics.checkNotNullParameter(backStackEntry, "backStackEntry");
MutableStateFlow mutableStateFlow = this.f8023b;
mutableStateFlow.setValue(CollectionsKt.plus((Collection<? extends C0537n>) CollectionsKt.minus((Iterable<? extends Object>) mutableStateFlow.getValue(), CollectionsKt.last((List) mutableStateFlow.getValue())), backStackEntry));
}
public final void c(C0537n popUpTo, boolean z3) {
Intrinsics.checkNotNullParameter(popUpTo, "popUpTo");
AbstractC0544v abstractC0544v = this.h;
V b4 = abstractC0544v.f8066v.b(popUpTo.f8006b.f7920a);
if (!Intrinsics.areEqual(b4, this.f8028g)) {
Object obj = abstractC0544v.f8067w.get(b4);
Intrinsics.checkNotNull(obj);
((C0540q) obj).c(popUpTo, z3);
return;
}
C0542t c0542t = abstractC0544v.f8069y;
if (c0542t != null) {
c0542t.invoke(popUpTo);
d(popUpTo);
return;
}
a0.b onComplete = new a0.b(this, popUpTo, z3);
Intrinsics.checkNotNullParameter(popUpTo, "popUpTo");
Intrinsics.checkNotNullParameter(onComplete, "onComplete");
ArrayDeque arrayDeque = abstractC0544v.f8054g;
int indexOf = arrayDeque.indexOf(popUpTo);
if (indexOf < 0) {
Log.i("NavController", "Ignoring pop of " + popUpTo + " as it was not found on the current back stack");
return;
}
int i = indexOf + 1;
if (i != arrayDeque.size()) {
abstractC0544v.r(((C0537n) arrayDeque.get(i)).f8006b.h, true, false);
}
AbstractC0544v.t(abstractC0544v, popUpTo);
onComplete.invoke();
abstractC0544v.z();
abstractC0544v.c();
}
public final void d(C0537n popUpTo) {
Intrinsics.checkNotNullParameter(popUpTo, "popUpTo");
ReentrantLock reentrantLock = this.f8022a;
reentrantLock.lock();
try {
MutableStateFlow mutableStateFlow = this.f8023b;
Iterable iterable = (Iterable) mutableStateFlow.getValue();
ArrayList arrayList = new ArrayList();
for (Object obj : iterable) {
if (Intrinsics.areEqual((C0537n) obj, popUpTo)) {
break;
} else {
arrayList.add(obj);
}
}
mutableStateFlow.setValue(arrayList);
Unit unit = Unit.INSTANCE;
reentrantLock.unlock();
} catch (Throwable th) {
reentrantLock.unlock();
throw th;
}
}
/* JADX WARN: Type inference failed for: r0v4, types: [kotlin.jvm.functions.Function1, kotlin.jvm.internal.Lambda] */
public final void e(C0537n backStackEntry) {
Intrinsics.checkNotNullParameter(backStackEntry, "backStackEntry");
AbstractC0544v abstractC0544v = this.h;
V b4 = abstractC0544v.f8066v.b(backStackEntry.f8006b.f7920a);
if (!Intrinsics.areEqual(b4, this.f8028g)) {
Object obj = abstractC0544v.f8067w.get(b4);
if (obj == null) {
throw new IllegalStateException(C.w.r(new StringBuilder("NavigatorBackStack for "), backStackEntry.f8006b.f7920a, " should already be created").toString());
}
((C0540q) obj).e(backStackEntry);
return;
}
?? r02 = abstractC0544v.f8068x;
if (r02 != 0) {
r02.invoke(backStackEntry);
a(backStackEntry);
} else {
Log.i("NavController", "Ignoring add of destination " + backStackEntry.f8006b + " outside of the call to navigate(). ");
}
}
}

View File

@@ -0,0 +1,46 @@
package o0;
import android.os.Bundle;
import java.util.List;
import kotlin.Unit;
import kotlin.collections.CollectionsKt;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Lambda;
import kotlin.jvm.internal.Ref;
/* renamed from: o0.s, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0541s extends Lambda implements Function1 {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ Ref.BooleanRef f8029a;
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ AbstractC0544v f8030b;
/* renamed from: c, reason: collision with root package name */
public final /* synthetic */ E f8031c;
/* renamed from: d, reason: collision with root package name */
public final /* synthetic */ Bundle f8032d;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public C0541s(Ref.BooleanRef booleanRef, AbstractC0544v abstractC0544v, E e4, Bundle bundle) {
super(1);
this.f8029a = booleanRef;
this.f8030b = abstractC0544v;
this.f8031c = e4;
this.f8032d = bundle;
}
@Override // kotlin.jvm.functions.Function1
public final Object invoke(Object obj) {
C0537n it = (C0537n) obj;
Intrinsics.checkNotNullParameter(it, "it");
this.f8029a.element = true;
List emptyList = CollectionsKt.emptyList();
this.f8030b.a(this.f8031c, this.f8032d, it, emptyList);
return Unit.INSTANCE;
}
}

View File

@@ -0,0 +1,48 @@
package o0;
import kotlin.Unit;
import kotlin.collections.ArrayDeque;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Lambda;
import kotlin.jvm.internal.Ref;
/* renamed from: o0.t, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0542t extends Lambda implements Function1 {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ Ref.BooleanRef f8033a;
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ Ref.BooleanRef f8034b;
/* renamed from: c, reason: collision with root package name */
public final /* synthetic */ AbstractC0544v f8035c;
/* renamed from: d, reason: collision with root package name */
public final /* synthetic */ boolean f8036d;
/* renamed from: e, reason: collision with root package name */
public final /* synthetic */ ArrayDeque f8037e;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public C0542t(Ref.BooleanRef booleanRef, Ref.BooleanRef booleanRef2, AbstractC0544v abstractC0544v, boolean z3, ArrayDeque arrayDeque) {
super(1);
this.f8033a = booleanRef;
this.f8034b = booleanRef2;
this.f8035c = abstractC0544v;
this.f8036d = z3;
this.f8037e = arrayDeque;
}
@Override // kotlin.jvm.functions.Function1
public final Object invoke(Object obj) {
C0537n entry = (C0537n) obj;
Intrinsics.checkNotNullParameter(entry, "entry");
this.f8033a.element = true;
this.f8034b.element = true;
this.f8035c.s(entry, this.f8036d, this.f8037e);
return Unit.INSTANCE;
}
}

View File

@@ -0,0 +1,61 @@
package o0;
import android.os.Bundle;
import java.util.ArrayList;
import java.util.List;
import kotlin.Unit;
import kotlin.collections.CollectionsKt;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Lambda;
import kotlin.jvm.internal.Ref;
/* renamed from: o0.u, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0543u extends Lambda implements Function1 {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ Ref.BooleanRef f8038a;
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ ArrayList f8039b;
/* renamed from: c, reason: collision with root package name */
public final /* synthetic */ Ref.IntRef f8040c;
/* renamed from: d, reason: collision with root package name */
public final /* synthetic */ AbstractC0544v f8041d;
/* renamed from: e, reason: collision with root package name */
public final /* synthetic */ Bundle f8042e;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public C0543u(Ref.BooleanRef booleanRef, ArrayList arrayList, Ref.IntRef intRef, AbstractC0544v abstractC0544v, Bundle bundle) {
super(1);
this.f8038a = booleanRef;
this.f8039b = arrayList;
this.f8040c = intRef;
this.f8041d = abstractC0544v;
this.f8042e = bundle;
}
@Override // kotlin.jvm.functions.Function1
public final Object invoke(Object obj) {
List emptyList;
C0537n entry = (C0537n) obj;
Intrinsics.checkNotNullParameter(entry, "entry");
this.f8038a.element = true;
ArrayList arrayList = this.f8039b;
int indexOf = arrayList.indexOf(entry);
if (indexOf != -1) {
Ref.IntRef intRef = this.f8040c;
int i = indexOf + 1;
emptyList = arrayList.subList(intRef.element, i);
intRef.element = i;
} else {
emptyList = CollectionsKt.emptyList();
}
this.f8041d.a(entry.f8006b, this.f8042e, entry, emptyList);
return Unit.INSTANCE;
}
}

View File

@@ -0,0 +1,46 @@
package o0;
import androidx.fragment.app.C0164o0;
import androidx.lifecycle.C0;
import androidx.lifecycle.w0;
import java.util.Iterator;
import java.util.LinkedHashMap;
import kotlin.jvm.internal.Intrinsics;
/* renamed from: o0.w, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0545w extends w0 {
/* renamed from: b, reason: collision with root package name */
public static final C0164o0 f8071b = new C0164o0(2);
/* renamed from: a, reason: collision with root package name */
public final LinkedHashMap f8072a = new LinkedHashMap();
@Override // androidx.lifecycle.w0
public final void onCleared() {
LinkedHashMap linkedHashMap = this.f8072a;
Iterator it = linkedHashMap.values().iterator();
while (it.hasNext()) {
((C0) it.next()).a();
}
linkedHashMap.clear();
}
public final String toString() {
StringBuilder sb = new StringBuilder("NavControllerViewModel{");
sb.append(Integer.toHexString(System.identityHashCode(this)));
sb.append("} ViewModelStores (");
Iterator it = this.f8072a.keySet().iterator();
while (it.hasNext()) {
sb.append((String) it.next());
if (it.hasNext()) {
sb.append(", ");
}
}
sb.append(')');
String sb2 = sb.toString();
Intrinsics.checkNotNullExpressionValue(sb2, "sb.toString()");
return sb2;
}
}

View File

@@ -0,0 +1,22 @@
package o0;
import kotlin.jvm.internal.Intrinsics;
/* renamed from: o0.x, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0546x implements Comparable {
/* renamed from: a, reason: collision with root package name */
public String f8073a;
/* renamed from: b, reason: collision with root package name */
public String f8074b;
@Override // java.lang.Comparable
public final int compareTo(Object obj) {
C0546x other = (C0546x) obj;
Intrinsics.checkNotNullParameter(other, "other");
int i = Intrinsics.areEqual(this.f8073a, other.f8073a) ? 2 : 0;
return Intrinsics.areEqual(this.f8074b, other.f8074b) ? i + 1 : i;
}
}

View File

@@ -0,0 +1,14 @@
package o0;
import java.util.ArrayList;
/* renamed from: o0.y, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0547y {
/* renamed from: a, reason: collision with root package name */
public String f8075a;
/* renamed from: b, reason: collision with root package name */
public final ArrayList f8076b = new ArrayList();
}

View File

@@ -0,0 +1,72 @@
package o0;
import android.os.Bundle;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public final class D implements Comparable {
/* renamed from: a, reason: collision with root package name */
public final E f7914a;
/* renamed from: b, reason: collision with root package name */
public final Bundle f7915b;
/* renamed from: c, reason: collision with root package name */
public final boolean f7916c;
/* renamed from: d, reason: collision with root package name */
public final boolean f7917d;
/* renamed from: e, reason: collision with root package name */
public final int f7918e;
public D(E destination, Bundle bundle, boolean z3, boolean z4, int i) {
Intrinsics.checkNotNullParameter(destination, "destination");
this.f7914a = destination;
this.f7915b = bundle;
this.f7916c = z3;
this.f7917d = z4;
this.f7918e = i;
}
@Override // java.lang.Comparable
/* renamed from: a, reason: merged with bridge method [inline-methods] */
public final int compareTo(D other) {
Intrinsics.checkNotNullParameter(other, "other");
boolean z3 = this.f7916c;
if (z3 && !other.f7916c) {
return 1;
}
if (!z3 && other.f7916c) {
return -1;
}
Bundle bundle = this.f7915b;
if (bundle != null && other.f7915b == null) {
return 1;
}
if (bundle == null && other.f7915b != null) {
return -1;
}
if (bundle != null) {
int size = bundle.size();
Bundle bundle2 = other.f7915b;
Intrinsics.checkNotNull(bundle2);
int size2 = size - bundle2.size();
if (size2 > 0) {
return 1;
}
if (size2 < 0) {
return -1;
}
}
boolean z4 = this.f7917d;
if (z4 && !other.f7917d) {
return 1;
}
if (z4 || !other.f7917d) {
return this.f7918e - other.f7918e;
}
return -1;
}
}

View File

@@ -0,0 +1,595 @@
package o0;
import a.AbstractC0105a;
import android.content.Context;
import android.content.res.TypedArray;
import android.net.Uri;
import android.os.Bundle;
import android.util.AttributeSet;
import com.google.firebase.sessions.settings.RemoteSettings;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.ListIterator;
import java.util.Map;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import kotlin.Unit;
import kotlin.collections.ArrayDeque;
import kotlin.collections.CollectionsKt;
import kotlin.collections.CollectionsKt__IterablesKt;
import kotlin.collections.CollectionsKt__MutableCollectionsKt;
import kotlin.collections.CollectionsKt___CollectionsKt;
import kotlin.collections.MapsKt;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.TypeIntrinsics;
import kotlin.sequences.SequencesKt;
import kotlin.text.Regex;
import kotlin.text.StringsKt;
import kotlin.text.StringsKt__StringsKt;
import p0.AbstractC0549a;
/* loaded from: classes.dex */
public class E {
/* renamed from: j, reason: collision with root package name */
public static final /* synthetic */ int f7919j = 0;
/* renamed from: a, reason: collision with root package name */
public final String f7920a;
/* renamed from: b, reason: collision with root package name */
public H f7921b;
/* renamed from: c, reason: collision with root package name */
public String f7922c;
/* renamed from: d, reason: collision with root package name */
public CharSequence f7923d;
/* renamed from: e, reason: collision with root package name */
public final ArrayList f7924e;
/* renamed from: f, reason: collision with root package name */
public final s.k f7925f;
/* renamed from: g, reason: collision with root package name */
public final LinkedHashMap f7926g;
public int h;
public String i;
static {
new LinkedHashMap();
}
public E(String navigatorName) {
Intrinsics.checkNotNullParameter(navigatorName, "navigatorName");
this.f7920a = navigatorName;
this.f7924e = new ArrayList();
this.f7925f = new s.k();
this.f7926g = new LinkedHashMap();
}
public final void a(C0521A navDeepLink) {
Intrinsics.checkNotNullParameter(navDeepLink, "navDeepLink");
Map map = MapsKt.toMap(this.f7926g);
LinkedHashMap linkedHashMap = new LinkedHashMap();
for (Map.Entry entry : map.entrySet()) {
C0533j c0533j = (C0533j) entry.getValue();
if (!c0533j.f7997b && !c0533j.f7998c) {
linkedHashMap.put(entry.getKey(), entry.getValue());
}
}
Set keySet = linkedHashMap.keySet();
ArrayList arrayList = new ArrayList();
for (Object obj : keySet) {
String str = (String) obj;
ArrayList arrayList2 = navDeepLink.f7902d;
Collection values = navDeepLink.f7903e.values();
ArrayList arrayList3 = new ArrayList();
Iterator it = values.iterator();
while (it.hasNext()) {
CollectionsKt__MutableCollectionsKt.addAll(arrayList3, ((C0547y) it.next()).f8076b);
}
if (!CollectionsKt.plus((Collection) arrayList2, (Iterable) arrayList3).contains(str)) {
arrayList.add(obj);
}
}
if (arrayList.isEmpty()) {
this.f7924e.add(navDeepLink);
return;
}
throw new IllegalArgumentException(("Deep link " + navDeepLink.f7899a + " can't be used to open destination " + this + ".\nFollowing required arguments are missing: " + arrayList).toString());
}
public final Bundle b(Bundle bundle) {
LinkedHashMap linkedHashMap = this.f7926g;
if (bundle == null && (linkedHashMap == null || linkedHashMap.isEmpty())) {
return null;
}
Bundle bundle2 = new Bundle();
for (Map.Entry entry : linkedHashMap.entrySet()) {
String name = (String) entry.getKey();
C0533j c0533j = (C0533j) entry.getValue();
c0533j.getClass();
Intrinsics.checkNotNullParameter(name, "name");
Intrinsics.checkNotNullParameter(bundle2, "bundle");
if (c0533j.f7998c) {
c0533j.f7996a.d(bundle2, name, c0533j.f7999d);
}
}
if (bundle != null) {
bundle2.putAll(bundle);
for (Map.Entry entry2 : linkedHashMap.entrySet()) {
String name2 = (String) entry2.getKey();
C0533j c0533j2 = (C0533j) entry2.getValue();
c0533j2.getClass();
Intrinsics.checkNotNullParameter(name2, "name");
Intrinsics.checkNotNullParameter(bundle2, "bundle");
T t2 = c0533j2.f7996a;
if (c0533j2.f7997b || !bundle2.containsKey(name2) || bundle2.get(name2) != null) {
try {
t2.a(bundle2, name2);
} catch (ClassCastException unused) {
}
}
StringBuilder p = com.google.android.gms.measurement.internal.a.p("Wrong argument type for '", name2, "' in argument bundle. ");
p.append(t2.b());
p.append(" expected.");
throw new IllegalArgumentException(p.toString().toString());
}
}
return bundle2;
}
public final int[] c(E e4) {
int collectionSizeOrDefault;
int[] intArray;
ArrayDeque arrayDeque = new ArrayDeque();
while (true) {
Intrinsics.checkNotNull(this);
H h = this.f7921b;
if ((e4 != null ? e4.f7921b : null) != null) {
H h4 = e4.f7921b;
Intrinsics.checkNotNull(h4);
if (h4.j(this.h, true) == this) {
arrayDeque.addFirst(this);
break;
}
}
if (h == null || h.f7932l != this.h) {
arrayDeque.addFirst(this);
}
if (Intrinsics.areEqual(h, e4) || h == null) {
break;
}
this = h;
}
List list = CollectionsKt.toList(arrayDeque);
collectionSizeOrDefault = CollectionsKt__IterablesKt.collectionSizeOrDefault(list, 10);
ArrayList arrayList = new ArrayList(collectionSizeOrDefault);
Iterator it = list.iterator();
while (it.hasNext()) {
arrayList.add(Integer.valueOf(((E) it.next()).h));
}
intArray = CollectionsKt___CollectionsKt.toIntArray(arrayList);
return intArray;
}
public boolean equals(Object obj) {
Set intersect;
boolean z3;
boolean z4;
if (obj != null && (obj instanceof E)) {
ArrayList arrayList = this.f7924e;
E e4 = (E) obj;
intersect = CollectionsKt___CollectionsKt.intersect(arrayList, e4.f7924e);
boolean z5 = intersect.size() == arrayList.size();
s.k kVar = this.f7925f;
int f2 = kVar.f();
s.k kVar2 = e4.f7925f;
if (f2 == kVar2.f()) {
Iterator it = SequencesKt.asSequence(s.h.d(kVar)).iterator();
while (true) {
if (it.hasNext()) {
if (!kVar2.b((C0529f) it.next())) {
break;
}
} else {
Iterator it2 = SequencesKt.asSequence(s.h.d(kVar2)).iterator();
while (it2.hasNext()) {
if (!kVar.b((C0529f) it2.next())) {
}
}
z3 = true;
}
}
}
z3 = false;
LinkedHashMap linkedHashMap = this.f7926g;
int size = MapsKt.toMap(linkedHashMap).size();
LinkedHashMap linkedHashMap2 = e4.f7926g;
if (size == MapsKt.toMap(linkedHashMap2).size()) {
Iterator it3 = MapsKt.asSequence(MapsKt.toMap(linkedHashMap)).iterator();
while (true) {
if (it3.hasNext()) {
Map.Entry entry = (Map.Entry) it3.next();
if (!MapsKt.toMap(linkedHashMap2).containsKey(entry.getKey()) || !Intrinsics.areEqual(MapsKt.toMap(linkedHashMap2).get(entry.getKey()), entry.getValue())) {
break;
}
} else {
for (Map.Entry entry2 : MapsKt.asSequence(MapsKt.toMap(linkedHashMap2))) {
if (MapsKt.toMap(linkedHashMap).containsKey(entry2.getKey()) && Intrinsics.areEqual(MapsKt.toMap(linkedHashMap).get(entry2.getKey()), entry2.getValue())) {
}
}
z4 = true;
}
}
}
z4 = false;
if (this.h == e4.h && Intrinsics.areEqual(this.i, e4.i) && z5 && z3 && z4) {
return true;
}
}
return false;
}
public final C0529f f(int i) {
s.k kVar = this.f7925f;
C0529f c0529f = kVar.f() == 0 ? null : (C0529f) kVar.c(i);
if (c0529f != null) {
return c0529f;
}
H h = this.f7921b;
if (h != null) {
return h.f(i);
}
return null;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r14v0, types: [o0.x, java.lang.Object] */
public D g(C0523C navDeepLinkRequest) {
Bundle bundle;
int i;
int i4;
List emptyList;
List emptyList2;
Bundle bundle2;
Matcher matcher;
Uri uri;
LinkedHashMap linkedHashMap;
Map map;
String str;
String substringAfter$default;
E e4 = this;
Intrinsics.checkNotNullParameter(navDeepLinkRequest, "navDeepLinkRequest");
ArrayList arrayList = e4.f7924e;
Bundle bundle3 = null;
if (arrayList.isEmpty()) {
return null;
}
Iterator it = arrayList.iterator();
D d4 = null;
while (it.hasNext()) {
C0521A c0521a = (C0521A) it.next();
Uri deepLink = navDeepLinkRequest.f7911a;
if (deepLink != null) {
Map arguments = MapsKt.toMap(e4.f7926g);
c0521a.getClass();
Intrinsics.checkNotNullParameter(deepLink, "deepLink");
Intrinsics.checkNotNullParameter(arguments, "arguments");
Pattern pattern = (Pattern) c0521a.f7905g.getValue();
Matcher matcher2 = pattern != null ? pattern.matcher(deepLink.toString()) : bundle3;
if (matcher2 != 0 && matcher2.matches()) {
bundle2 = new Bundle();
ArrayList arrayList2 = c0521a.f7902d;
int size = arrayList2.size();
int i5 = 0;
while (i5 < size) {
String str2 = (String) arrayList2.get(i5);
i5++;
String value = Uri.decode(matcher2.group(i5));
C0533j c0533j = (C0533j) arguments.get(str2);
try {
Intrinsics.checkNotNullExpressionValue(value, "value");
C0521A.b(bundle2, str2, value, c0533j);
} catch (IllegalArgumentException unused) {
}
}
if (c0521a.h) {
LinkedHashMap linkedHashMap2 = c0521a.f7903e;
for (String str3 : linkedHashMap2.keySet()) {
C0547y c0547y = (C0547y) linkedHashMap2.get(str3);
String queryParameter = deepLink.getQueryParameter(str3);
if (c0521a.i) {
String uri2 = deepLink.toString();
Intrinsics.checkNotNullExpressionValue(uri2, "deepLink.toString()");
substringAfter$default = StringsKt__StringsKt.substringAfter$default(uri2, '?', (String) null, 2, (Object) null);
if (!Intrinsics.areEqual(substringAfter$default, uri2)) {
queryParameter = substringAfter$default;
}
}
if (queryParameter != null) {
Intrinsics.checkNotNull(c0547y);
matcher = Pattern.compile(c0547y.f8075a, 32).matcher(queryParameter);
if (!matcher.matches()) {
break;
}
} else {
matcher = null;
}
Bundle bundle4 = new Bundle();
try {
Intrinsics.checkNotNull(c0547y);
int size2 = c0547y.f8076b.size();
int i6 = 0;
while (i6 < size2) {
if (matcher != null) {
str = matcher.group(i6 + 1);
if (str == null) {
str = "";
}
} else {
str = null;
}
String str4 = (String) c0547y.f8076b.get(i6);
uri = deepLink;
try {
C0533j c0533j2 = (C0533j) arguments.get(str4);
if (str != null) {
linkedHashMap = linkedHashMap2;
try {
StringBuilder sb = new StringBuilder();
map = arguments;
try {
sb.append('{');
sb.append(str4);
sb.append('}');
if (!Intrinsics.areEqual(str, sb.toString())) {
C0521A.b(bundle4, str4, str, c0533j2);
}
} catch (IllegalArgumentException unused2) {
}
} catch (IllegalArgumentException unused3) {
map = arguments;
linkedHashMap2 = linkedHashMap;
deepLink = uri;
arguments = map;
}
} else {
linkedHashMap = linkedHashMap2;
map = arguments;
}
i6++;
linkedHashMap2 = linkedHashMap;
deepLink = uri;
arguments = map;
} catch (IllegalArgumentException unused4) {
linkedHashMap = linkedHashMap2;
map = arguments;
linkedHashMap2 = linkedHashMap;
deepLink = uri;
arguments = map;
}
}
uri = deepLink;
linkedHashMap = linkedHashMap2;
map = arguments;
bundle2.putAll(bundle4);
} catch (IllegalArgumentException unused5) {
uri = deepLink;
}
linkedHashMap2 = linkedHashMap;
deepLink = uri;
arguments = map;
}
}
for (Map.Entry entry : arguments.entrySet()) {
String str5 = (String) entry.getKey();
C0533j c0533j3 = (C0533j) entry.getValue();
if (c0533j3 != null && !c0533j3.f7997b && !c0533j3.f7998c && !bundle2.containsKey(str5)) {
bundle2 = null;
}
}
} else {
bundle2 = bundle3;
}
bundle = bundle2;
} else {
bundle = null;
}
String str6 = navDeepLinkRequest.f7912b;
boolean z3 = str6 != null && Intrinsics.areEqual(str6, c0521a.f7900b);
String mimeType = navDeepLinkRequest.f7913c;
if (mimeType != null) {
c0521a.getClass();
Intrinsics.checkNotNullParameter(mimeType, "mimeType");
String mimeType2 = c0521a.f7901c;
if (mimeType2 != null) {
Pattern pattern2 = (Pattern) c0521a.f7907k.getValue();
Intrinsics.checkNotNull(pattern2);
if (pattern2.matcher(mimeType).matches()) {
Intrinsics.checkNotNullParameter(mimeType2, "mimeType");
List<String> split = new Regex(RemoteSettings.FORWARD_SLASH_STRING).split(mimeType2, 0);
if (!split.isEmpty()) {
ListIterator<String> listIterator = split.listIterator(split.size());
while (listIterator.hasPrevious()) {
if (listIterator.previous().length() != 0) {
emptyList = CollectionsKt.take(split, listIterator.nextIndex() + 1);
break;
}
}
}
emptyList = CollectionsKt.emptyList();
String str7 = (String) emptyList.get(0);
String str8 = (String) emptyList.get(1);
Intrinsics.checkNotNullParameter(mimeType, "mimeType");
?? other = new Object();
List<String> split2 = new Regex(RemoteSettings.FORWARD_SLASH_STRING).split(mimeType, 0);
if (!split2.isEmpty()) {
ListIterator<String> listIterator2 = split2.listIterator(split2.size());
while (listIterator2.hasPrevious()) {
if (listIterator2.previous().length() != 0) {
emptyList2 = CollectionsKt.take(split2, listIterator2.nextIndex() + 1);
break;
}
}
}
emptyList2 = CollectionsKt.emptyList();
other.f8073a = (String) emptyList2.get(0);
other.f8074b = (String) emptyList2.get(1);
Intrinsics.checkNotNullParameter(other, "other");
i4 = Intrinsics.areEqual(str7, other.f8073a) ? 2 : 0;
if (Intrinsics.areEqual(str8, other.f8074b)) {
i4++;
}
i = i4;
}
}
i4 = -1;
i = i4;
} else {
i = -1;
}
if (bundle != null || z3 || i > -1) {
D d5 = new D(this, bundle, c0521a.f7908l, z3, i);
if (d4 == null || d5.compareTo(d4) > 0) {
bundle3 = null;
e4 = this;
d4 = d5;
}
}
bundle3 = null;
e4 = this;
}
return d4;
}
public void h(Context context, AttributeSet attrs) {
Object obj;
Intrinsics.checkNotNullParameter(context, "context");
Intrinsics.checkNotNullParameter(attrs, "attrs");
TypedArray obtainAttributes = context.getResources().obtainAttributes(attrs, AbstractC0549a.f8112e);
Intrinsics.checkNotNullExpressionValue(obtainAttributes, "context.resources.obtain…s, R.styleable.Navigator)");
String string = obtainAttributes.getString(2);
if (string == null) {
this.h = 0;
this.f7922c = null;
} else {
if (StringsKt.isBlank(string)) {
throw new IllegalArgumentException("Cannot have an empty route");
}
String uriPattern = "android-app://androidx.navigation/".concat(string);
this.h = uriPattern.hashCode();
this.f7922c = null;
Intrinsics.checkNotNullParameter(uriPattern, "uriPattern");
Intrinsics.checkNotNullParameter(uriPattern, "uriPattern");
a(new C0521A(uriPattern, null, null));
}
ArrayList arrayList = this.f7924e;
Iterator it = arrayList.iterator();
while (true) {
if (!it.hasNext()) {
obj = null;
break;
}
obj = it.next();
String str = ((C0521A) obj).f7899a;
String str2 = this.i;
if (Intrinsics.areEqual(str, str2 != null ? "android-app://androidx.navigation/".concat(str2) : "")) {
break;
}
}
TypeIntrinsics.asMutableCollection(arrayList).remove(obj);
this.i = string;
if (obtainAttributes.hasValue(1)) {
int resourceId = obtainAttributes.getResourceId(1, 0);
this.h = resourceId;
this.f7922c = null;
this.f7922c = AbstractC0105a.x(context, resourceId);
}
this.f7923d = obtainAttributes.getText(0);
Unit unit = Unit.INSTANCE;
obtainAttributes.recycle();
}
public int hashCode() {
Set<String> keySet;
int i = this.h * 31;
String str = this.i;
int hashCode = i + (str != null ? str.hashCode() : 0);
Iterator it = this.f7924e.iterator();
while (it.hasNext()) {
C0521A c0521a = (C0521A) it.next();
int i4 = hashCode * 31;
String str2 = c0521a.f7899a;
int hashCode2 = (i4 + (str2 != null ? str2.hashCode() : 0)) * 31;
String str3 = c0521a.f7900b;
int hashCode3 = (hashCode2 + (str3 != null ? str3.hashCode() : 0)) * 31;
String str4 = c0521a.f7901c;
hashCode = hashCode3 + (str4 != null ? str4.hashCode() : 0);
}
s.l d4 = s.h.d(this.f7925f);
while (d4.hasNext()) {
C0529f c0529f = (C0529f) d4.next();
int i5 = ((hashCode * 31) + c0529f.f7988a) * 31;
K k4 = c0529f.f7989b;
hashCode = i5 + (k4 != null ? k4.hashCode() : 0);
Bundle bundle = c0529f.f7990c;
if (bundle != null && (keySet = bundle.keySet()) != null) {
Intrinsics.checkNotNullExpressionValue(keySet, "keySet()");
for (String str5 : keySet) {
int i6 = hashCode * 31;
Bundle bundle2 = c0529f.f7990c;
Intrinsics.checkNotNull(bundle2);
Object obj = bundle2.get(str5);
hashCode = i6 + (obj != null ? obj.hashCode() : 0);
}
}
}
LinkedHashMap linkedHashMap = this.f7926g;
for (String str6 : MapsKt.toMap(linkedHashMap).keySet()) {
int d5 = com.google.android.gms.measurement.internal.a.d(str6, hashCode * 31, 31);
Object obj2 = MapsKt.toMap(linkedHashMap).get(str6);
hashCode = d5 + (obj2 != null ? obj2.hashCode() : 0);
}
return hashCode;
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append("(");
String str = this.f7922c;
if (str == null) {
sb.append("0x");
sb.append(Integer.toHexString(this.h));
} else {
sb.append(str);
}
sb.append(")");
String str2 = this.i;
if (str2 != null && !StringsKt.isBlank(str2)) {
sb.append(" route=");
sb.append(this.i);
}
if (this.f7923d != null) {
sb.append(" label=");
sb.append(this.f7923d);
}
String sb2 = sb.toString();
Intrinsics.checkNotNullExpressionValue(sb2, "sb.toString()");
return sb2;
}
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
public E(V navigator) {
this(m3.d.u(navigator.getClass()));
Intrinsics.checkNotNullParameter(navigator, "navigator");
LinkedHashMap linkedHashMap = W.f7966b;
}
}

View File

@@ -0,0 +1,10 @@
package o0;
import android.os.Bundle;
/* loaded from: classes.dex */
public interface F {
int getActionId();
Bundle getArguments();
}

View File

@@ -0,0 +1,63 @@
package o0;
import java.util.Iterator;
import java.util.NoSuchElementException;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.markers.KMutableIterator;
/* loaded from: classes.dex */
public final class G implements Iterator, KMutableIterator {
/* renamed from: a, reason: collision with root package name */
public int f7927a = -1;
/* renamed from: b, reason: collision with root package name */
public boolean f7928b;
/* renamed from: c, reason: collision with root package name */
public final /* synthetic */ H f7929c;
public G(H h) {
this.f7929c = h;
}
@Override // java.util.Iterator
public final boolean hasNext() {
return this.f7927a + 1 < this.f7929c.f7931k.f();
}
@Override // java.util.Iterator
public final Object next() {
if (!hasNext()) {
throw new NoSuchElementException();
}
this.f7928b = true;
s.k kVar = this.f7929c.f7931k;
int i = this.f7927a + 1;
this.f7927a = i;
Object g4 = kVar.g(i);
Intrinsics.checkNotNullExpressionValue(g4, "nodes.valueAt(++index)");
return (E) g4;
}
@Override // java.util.Iterator
public final void remove() {
if (!this.f7928b) {
throw new IllegalStateException("You must call next() before you can remove an element");
}
H h = this.f7929c;
int i = this.f7927a;
s.k kVar = h.f7931k;
((E) kVar.g(i)).f7921b = null;
int i4 = this.f7927a;
Object[] objArr = kVar.f8355c;
Object obj = objArr[i4];
Object obj2 = s.h.f8349b;
if (obj != obj2) {
objArr[i4] = obj2;
kVar.f8353a = true;
}
this.f7927a = i4 - 1;
this.f7928b = false;
}
}

View File

@@ -0,0 +1,181 @@
package o0;
import android.content.Context;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import androidx.navigation.NavGraphNavigator;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import kotlin.Unit;
import kotlin.collections.CollectionsKt;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.markers.KMappedMarker;
import kotlin.sequences.SequencesKt;
import p0.AbstractC0549a;
/* loaded from: classes.dex */
public final class H extends E implements Iterable, KMappedMarker {
/* renamed from: n, reason: collision with root package name */
public static final /* synthetic */ int f7930n = 0;
/* renamed from: k, reason: collision with root package name */
public final s.k f7931k;
/* renamed from: l, reason: collision with root package name */
public int f7932l;
/* renamed from: m, reason: collision with root package name */
public String f7933m;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public H(NavGraphNavigator navGraphNavigator) {
super(navGraphNavigator);
Intrinsics.checkNotNullParameter(navGraphNavigator, "navGraphNavigator");
this.f7931k = new s.k();
}
@Override // o0.E
public final boolean equals(Object obj) {
if (obj == null || !(obj instanceof H)) {
return false;
}
s.k kVar = this.f7931k;
List mutableList = SequencesKt.toMutableList(SequencesKt.asSequence(s.h.d(kVar)));
H h = (H) obj;
s.k kVar2 = h.f7931k;
s.l d4 = s.h.d(kVar2);
while (d4.hasNext()) {
mutableList.remove((E) d4.next());
}
return super.equals(obj) && kVar.f() == kVar2.f() && this.f7932l == h.f7932l && mutableList.isEmpty();
}
@Override // o0.E
public final D g(C0523C navDeepLinkRequest) {
Intrinsics.checkNotNullParameter(navDeepLinkRequest, "navDeepLinkRequest");
D g4 = super.g(navDeepLinkRequest);
ArrayList arrayList = new ArrayList();
G g5 = new G(this);
while (g5.hasNext()) {
D g6 = ((E) g5.next()).g(navDeepLinkRequest);
if (g6 != null) {
arrayList.add(g6);
}
}
return (D) CollectionsKt.maxOrNull((Iterable) CollectionsKt.listOfNotNull((Object[]) new D[]{g4, (D) CollectionsKt.maxOrNull((Iterable) arrayList)}));
}
@Override // o0.E
public final void h(Context context, AttributeSet attrs) {
String valueOf;
Intrinsics.checkNotNullParameter(context, "context");
Intrinsics.checkNotNullParameter(attrs, "attrs");
super.h(context, attrs);
TypedArray obtainAttributes = context.getResources().obtainAttributes(attrs, AbstractC0549a.f8111d);
Intrinsics.checkNotNullExpressionValue(obtainAttributes, "context.resources.obtain…vGraphNavigator\n )");
int resourceId = obtainAttributes.getResourceId(0, 0);
if (resourceId == this.h) {
throw new IllegalArgumentException(("Start destination " + resourceId + " cannot use the same id as the graph " + this).toString());
}
this.f7932l = resourceId;
this.f7933m = null;
Intrinsics.checkNotNullParameter(context, "context");
if (resourceId <= 16777215) {
valueOf = String.valueOf(resourceId);
} else {
try {
valueOf = context.getResources().getResourceName(resourceId);
} catch (Resources.NotFoundException unused) {
valueOf = String.valueOf(resourceId);
}
Intrinsics.checkNotNullExpressionValue(valueOf, "try {\n co….toString()\n }");
}
this.f7933m = valueOf;
Unit unit = Unit.INSTANCE;
obtainAttributes.recycle();
}
@Override // o0.E
public final int hashCode() {
int i = this.f7932l;
s.k kVar = this.f7931k;
int f2 = kVar.f();
for (int i4 = 0; i4 < f2; i4++) {
i = (((i * 31) + kVar.d(i4)) * 31) + ((E) kVar.g(i4)).hashCode();
}
return i;
}
public final void i(E node) {
Intrinsics.checkNotNullParameter(node, "node");
int i = node.h;
String str = node.i;
if (i == 0 && str == null) {
throw new IllegalArgumentException("Destinations must have an id or route. Call setId(), setRoute(), or include an android:id or app:route in your navigation XML.");
}
String str2 = this.i;
if (str2 != null && Intrinsics.areEqual(str, str2)) {
throw new IllegalArgumentException(("Destination " + node + " cannot have the same route as graph " + this).toString());
}
if (i == this.h) {
throw new IllegalArgumentException(("Destination " + node + " cannot have the same id as graph " + this).toString());
}
s.k kVar = this.f7931k;
E e4 = (E) kVar.c(i);
if (e4 == node) {
return;
}
if (node.f7921b != null) {
throw new IllegalStateException("Destination already has a parent set. Call NavGraph.remove() to remove the previous parent.");
}
if (e4 != null) {
e4.f7921b = null;
}
node.f7921b = this;
kVar.e(node.h, node);
}
@Override // java.lang.Iterable
public final Iterator iterator() {
return new G(this);
}
public final E j(int i, boolean z3) {
H h;
E e4 = (E) this.f7931k.c(i);
if (e4 != null) {
return e4;
}
if (!z3 || (h = this.f7921b) == null) {
return null;
}
Intrinsics.checkNotNull(h);
return h.j(i, true);
}
@Override // o0.E
public final String toString() {
StringBuilder sb = new StringBuilder();
sb.append(super.toString());
E j4 = j(this.f7932l, true);
sb.append(" startDestination=");
if (j4 == null) {
String str = this.f7933m;
if (str != null) {
sb.append(str);
} else {
sb.append("0x" + Integer.toHexString(this.f7932l));
}
} else {
sb.append("{");
sb.append(j4.toString());
sb.append("}");
}
String sb2 = sb.toString();
Intrinsics.checkNotNullExpressionValue(sb2, "sb.toString()");
return sb2;
}
}

View File

@@ -0,0 +1,5 @@
package o0;
/* loaded from: classes.dex */
public final class I extends AbstractC0544v {
}

View File

@@ -0,0 +1,6 @@
package o0;
/* renamed from: o0.e, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public interface InterfaceC0528e {
}

View File

@@ -0,0 +1,6 @@
package o0;
/* renamed from: o0.g, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public interface InterfaceC0530g {
}

View File

@@ -0,0 +1,269 @@
package o0;
import a.AbstractC0105a;
import android.content.Context;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.content.res.XmlResourceParser;
import android.os.Parcelable;
import android.util.AttributeSet;
import android.util.TypedValue;
import android.util.Xml;
import java.io.Serializable;
import kotlin.jvm.internal.Intrinsics;
import org.xmlpull.v1.XmlPullParserException;
/* loaded from: classes.dex */
public final class J {
/* renamed from: c, reason: collision with root package name */
public static final ThreadLocal f7934c = new ThreadLocal();
/* renamed from: a, reason: collision with root package name */
public final Context f7935a;
/* renamed from: b, reason: collision with root package name */
public final W f7936b;
public J(Context context, W navigatorProvider) {
Intrinsics.checkNotNullParameter(context, "context");
Intrinsics.checkNotNullParameter(navigatorProvider, "navigatorProvider");
this.f7935a = context;
this.f7936b = navigatorProvider;
}
public static C0533j c(TypedArray typedArray, Resources resources, int i) {
T type;
Object obj;
boolean z3;
T t2;
boolean z4 = typedArray.getBoolean(3, false);
ThreadLocal threadLocal = f7934c;
TypedValue typedValue = (TypedValue) threadLocal.get();
if (typedValue == null) {
typedValue = new TypedValue();
threadLocal.set(typedValue);
}
String string = typedArray.getString(2);
if (string != null) {
String resourcePackageName = resources.getResourcePackageName(i);
if (string.startsWith("java")) {
try {
type = AbstractC0105a.u("j$" + string.substring(4), resourcePackageName);
} catch (RuntimeException e4) {
if (!(e4.getCause() instanceof ClassNotFoundException)) {
throw e4;
}
}
}
type = AbstractC0105a.u(string, resourcePackageName);
} else {
type = null;
}
boolean value = typedArray.getValue(1, typedValue);
T t4 = T.f7957e;
M m4 = T.i;
M m5 = T.f7961k;
M m6 = T.f7954b;
M m7 = T.f7959g;
if (value) {
M m8 = T.f7955c;
if (type == m8) {
int i4 = typedValue.resourceId;
if (i4 == 0) {
if (typedValue.type != 16 || typedValue.data != 0) {
throw new XmlPullParserException("unsupported value '" + ((Object) typedValue.string) + "' for " + type.b() + ". Must be a reference to a resource.");
}
i4 = 0;
}
obj = Integer.valueOf(i4);
} else {
int i5 = typedValue.resourceId;
if (i5 != 0) {
if (type != null) {
throw new XmlPullParserException("unsupported value '" + ((Object) typedValue.string) + "' for " + type.b() + ". You must use a \"reference\" type to reference other resources.");
}
obj = Integer.valueOf(i5);
type = m8;
} else if (type == m5) {
obj = typedArray.getString(1);
} else {
int i6 = typedValue.type;
if (i6 == 3) {
String value2 = typedValue.string.toString();
if (type == null) {
Intrinsics.checkNotNullParameter(value2, "value");
try {
try {
try {
try {
m6.c(value2);
type = m6;
} catch (IllegalArgumentException unused) {
m7.c(value2);
type = m7;
}
} catch (IllegalArgumentException unused2) {
type = m5;
}
} catch (IllegalArgumentException unused3) {
t4.c(value2);
type = t4;
}
} catch (IllegalArgumentException unused4) {
m4.c(value2);
type = m4;
}
}
obj = type.c(value2);
} else if (i6 == 4) {
type = m3.d.h(typedValue, type, m7, string, "float");
obj = Float.valueOf(typedValue.getFloat());
} else if (i6 == 5) {
type = m3.d.h(typedValue, type, m6, string, "dimension");
obj = Integer.valueOf((int) typedValue.getDimension(resources.getDisplayMetrics()));
} else if (i6 == 18) {
type = m3.d.h(typedValue, type, m4, string, "boolean");
obj = Boolean.valueOf(typedValue.data != 0);
} else {
if (i6 < 16 || i6 > 31) {
throw new XmlPullParserException("unsupported argument type " + typedValue.type);
}
if (type == m7) {
type = m3.d.h(typedValue, type, m7, string, "float");
obj = Float.valueOf(typedValue.data);
} else {
type = m3.d.h(typedValue, type, m6, string, "integer");
obj = Integer.valueOf(typedValue.data);
}
}
}
}
} else {
obj = null;
}
if (obj != null) {
z3 = true;
} else {
obj = null;
z3 = false;
}
if (type != null) {
Intrinsics.checkNotNullParameter(type, "type");
t2 = type;
} else {
t2 = null;
}
if (t2 == null) {
if (obj instanceof Integer) {
t4 = m6;
} else if (obj instanceof int[]) {
t4 = T.f7956d;
} else if (!(obj instanceof Long)) {
if (obj instanceof long[]) {
t4 = T.f7958f;
} else if (obj instanceof Float) {
t4 = m7;
} else if (obj instanceof float[]) {
t4 = T.h;
} else if (obj instanceof Boolean) {
t4 = m4;
} else if (obj instanceof boolean[]) {
t4 = T.f7960j;
} else if ((obj instanceof String) || obj == null) {
t4 = m5;
} else if ((obj instanceof Object[]) && (((Object[]) obj) instanceof String[])) {
t4 = T.f7962l;
} else {
if (obj.getClass().isArray()) {
Class<?> componentType = obj.getClass().getComponentType();
Intrinsics.checkNotNull(componentType);
if (Parcelable.class.isAssignableFrom(componentType)) {
Class<?> componentType2 = obj.getClass().getComponentType();
if (componentType2 == null) {
throw new NullPointerException("null cannot be cast to non-null type java.lang.Class<android.os.Parcelable>");
}
t4 = new O(componentType2);
}
}
if (obj.getClass().isArray()) {
Class<?> componentType3 = obj.getClass().getComponentType();
Intrinsics.checkNotNull(componentType3);
if (Serializable.class.isAssignableFrom(componentType3)) {
Class<?> componentType4 = obj.getClass().getComponentType();
if (componentType4 == null) {
throw new NullPointerException("null cannot be cast to non-null type java.lang.Class<java.io.Serializable>");
}
t4 = new Q(componentType4);
}
}
if (obj instanceof Parcelable) {
t4 = new P(obj.getClass());
} else if (obj instanceof Enum) {
t4 = new N(obj.getClass());
} else {
if (!(obj instanceof Serializable)) {
throw new IllegalArgumentException("Object of type " + obj.getClass().getName() + " is not supported for navigation arguments.");
}
t4 = new S(obj.getClass());
}
}
}
t2 = t4;
}
return new C0533j(t2, z4, obj, z3);
}
/* JADX WARN: Code restructure failed: missing block: B:109:0x0122, code lost:
throw new org.xmlpull.v1.XmlPullParserException("Every <deepLink> must include at least one of app:uri, app:action, or app:mimeType");
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x0294, code lost:
return r4;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final o0.E a(android.content.res.Resources r30, android.content.res.XmlResourceParser r31, android.util.AttributeSet r32, int r33) {
/*
Method dump skipped, instructions count: 661
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o0.J.a(android.content.res.Resources, android.content.res.XmlResourceParser, android.util.AttributeSet, int):o0.E");
}
public final H b(int i) {
int next;
Resources res = this.f7935a.getResources();
XmlResourceParser xml = res.getXml(i);
Intrinsics.checkNotNullExpressionValue(xml, "res.getXml(graphResId)");
AttributeSet attrs = Xml.asAttributeSet(xml);
do {
try {
try {
next = xml.next();
if (next == 2) {
break;
}
} catch (Exception e4) {
throw new RuntimeException("Exception inflating " + res.getResourceName(i) + " line " + xml.getLineNumber(), e4);
}
} finally {
xml.close();
}
} while (next != 1);
if (next != 2) {
throw new XmlPullParserException("No start tag found");
}
String name = xml.getName();
Intrinsics.checkNotNullExpressionValue(res, "res");
Intrinsics.checkNotNullExpressionValue(attrs, "attrs");
E a2 = a(res, xml, attrs, i);
if (a2 instanceof H) {
return (H) a2;
}
throw new IllegalArgumentException(("Root element <" + name + "> did not inflate into a NavGraph").toString());
}
}

View File

@@ -0,0 +1,57 @@
package o0;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public final class K {
/* renamed from: a, reason: collision with root package name */
public final boolean f7937a;
/* renamed from: b, reason: collision with root package name */
public final boolean f7938b;
/* renamed from: c, reason: collision with root package name */
public final int f7939c;
/* renamed from: d, reason: collision with root package name */
public final boolean f7940d;
/* renamed from: e, reason: collision with root package name */
public final boolean f7941e;
/* renamed from: f, reason: collision with root package name */
public final int f7942f;
/* renamed from: g, reason: collision with root package name */
public final int f7943g;
public final int h;
public final int i;
public K(boolean z3, boolean z4, int i, boolean z5, boolean z6, int i4, int i5, int i6, int i7) {
this.f7937a = z3;
this.f7938b = z4;
this.f7939c = i;
this.f7940d = z5;
this.f7941e = z6;
this.f7942f = i4;
this.f7943g = i5;
this.h = i6;
this.i = i7;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || !Intrinsics.areEqual(K.class, obj.getClass())) {
return false;
}
K k4 = (K) obj;
return this.f7937a == k4.f7937a && this.f7938b == k4.f7938b && this.f7939c == k4.f7939c && Intrinsics.areEqual((Object) null, (Object) null) && this.f7940d == k4.f7940d && this.f7941e == k4.f7941e && this.f7942f == k4.f7942f && this.f7943g == k4.f7943g && this.h == k4.h && this.i == k4.i;
}
public final int hashCode() {
return ((((((((((((((((this.f7937a ? 1 : 0) * 31) + (this.f7938b ? 1 : 0)) * 31) + this.f7939c) * 961) + (this.f7940d ? 1 : 0)) * 31) + (this.f7941e ? 1 : 0)) * 31) + this.f7942f) * 31) + this.f7943g) * 31) + this.h) * 31) + this.i;
}
}

View File

@@ -0,0 +1,28 @@
package o0;
import O.C0079u;
/* loaded from: classes.dex */
public final class L {
/* renamed from: a, reason: collision with root package name */
public final C0079u f7944a;
/* renamed from: b, reason: collision with root package name */
public boolean f7945b;
/* renamed from: c, reason: collision with root package name */
public int f7946c;
/* renamed from: d, reason: collision with root package name */
public boolean f7947d;
/* JADX WARN: Type inference failed for: r0v0, types: [O.u, java.lang.Object] */
public L() {
?? obj = new Object();
obj.f1298a = -1;
obj.f1299b = -1;
this.f7944a = obj;
this.f7946c = -1;
}
}

View File

@@ -0,0 +1,266 @@
package o0;
import android.os.Bundle;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.CharsKt;
import kotlin.text.StringsKt__StringsJVMKt;
/* loaded from: classes.dex */
public final class M extends T {
/* renamed from: m, reason: collision with root package name */
public final /* synthetic */ int f7948m;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public /* synthetic */ M(boolean z3, int i) {
super(z3);
this.f7948m = i;
}
@Override // o0.T
public final Object a(Bundle bundle, String key) {
switch (this.f7948m) {
case 0:
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
return (boolean[]) bundle.get(key);
case 1:
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
return (Boolean) bundle.get(key);
case 2:
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
return (float[]) bundle.get(key);
case 3:
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
Object obj = bundle.get(key);
if (obj != null) {
return (Float) obj;
}
throw new NullPointerException("null cannot be cast to non-null type kotlin.Float");
case 4:
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
return (int[]) bundle.get(key);
case 5:
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
Object obj2 = bundle.get(key);
if (obj2 != null) {
return (Integer) obj2;
}
throw new NullPointerException("null cannot be cast to non-null type kotlin.Int");
case 6:
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
return (long[]) bundle.get(key);
case 7:
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
Object obj3 = bundle.get(key);
if (obj3 != null) {
return (Long) obj3;
}
throw new NullPointerException("null cannot be cast to non-null type kotlin.Long");
case 8:
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
Object obj4 = bundle.get(key);
if (obj4 != null) {
return (Integer) obj4;
}
throw new NullPointerException("null cannot be cast to non-null type kotlin.Int");
case 9:
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
return (String[]) bundle.get(key);
default:
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
return (String) bundle.get(key);
}
}
@Override // o0.T
public final String b() {
switch (this.f7948m) {
case 0:
return "boolean[]";
case 1:
return "boolean";
case 2:
return "float[]";
case 3:
return "float";
case 4:
return "integer[]";
case 5:
return "integer";
case 6:
return "long[]";
case 7:
return "long";
case 8:
return "reference";
case 9:
return "string[]";
default:
return "string";
}
}
@Override // o0.T
public final Object c(String value) {
boolean z3;
boolean startsWith$default;
int parseInt;
boolean endsWith$default;
String str;
boolean startsWith$default2;
long parseLong;
boolean startsWith$default3;
int parseInt2;
switch (this.f7948m) {
case 0:
Intrinsics.checkNotNullParameter(value, "value");
throw new UnsupportedOperationException("Arrays don't support default values.");
case 1:
Intrinsics.checkNotNullParameter(value, "value");
if (Intrinsics.areEqual(value, "true")) {
z3 = true;
} else {
if (!Intrinsics.areEqual(value, "false")) {
throw new IllegalArgumentException("A boolean NavType only accepts \"true\" or \"false\" values.");
}
z3 = false;
}
return Boolean.valueOf(z3);
case 2:
Intrinsics.checkNotNullParameter(value, "value");
throw new UnsupportedOperationException("Arrays don't support default values.");
case 3:
Intrinsics.checkNotNullParameter(value, "value");
return Float.valueOf(Float.parseFloat(value));
case 4:
Intrinsics.checkNotNullParameter(value, "value");
throw new UnsupportedOperationException("Arrays don't support default values.");
case 5:
Intrinsics.checkNotNullParameter(value, "value");
startsWith$default = StringsKt__StringsJVMKt.startsWith$default(value, "0x", false, 2, null);
if (startsWith$default) {
String substring = value.substring(2);
Intrinsics.checkNotNullExpressionValue(substring, "this as java.lang.String).substring(startIndex)");
parseInt = Integer.parseInt(substring, CharsKt.checkRadix(16));
} else {
parseInt = Integer.parseInt(value);
}
return Integer.valueOf(parseInt);
case 6:
Intrinsics.checkNotNullParameter(value, "value");
throw new UnsupportedOperationException("Arrays don't support default values.");
case 7:
Intrinsics.checkNotNullParameter(value, "value");
endsWith$default = StringsKt__StringsJVMKt.endsWith$default(value, "L", false, 2, null);
if (endsWith$default) {
str = value.substring(0, value.length() - 1);
Intrinsics.checkNotNullExpressionValue(str, "this as java.lang.String…ing(startIndex, endIndex)");
} else {
str = value;
}
startsWith$default2 = StringsKt__StringsJVMKt.startsWith$default(value, "0x", false, 2, null);
if (startsWith$default2) {
String substring2 = str.substring(2);
Intrinsics.checkNotNullExpressionValue(substring2, "this as java.lang.String).substring(startIndex)");
parseLong = Long.parseLong(substring2, CharsKt.checkRadix(16));
} else {
parseLong = Long.parseLong(str);
}
return Long.valueOf(parseLong);
case 8:
Intrinsics.checkNotNullParameter(value, "value");
startsWith$default3 = StringsKt__StringsJVMKt.startsWith$default(value, "0x", false, 2, null);
if (startsWith$default3) {
String substring3 = value.substring(2);
Intrinsics.checkNotNullExpressionValue(substring3, "this as java.lang.String).substring(startIndex)");
parseInt2 = Integer.parseInt(substring3, CharsKt.checkRadix(16));
} else {
parseInt2 = Integer.parseInt(value);
}
return Integer.valueOf(parseInt2);
case 9:
Intrinsics.checkNotNullParameter(value, "value");
throw new UnsupportedOperationException("Arrays don't support default values.");
default:
Intrinsics.checkNotNullParameter(value, "value");
return value;
}
}
@Override // o0.T
public final void d(Bundle bundle, String key, Object obj) {
switch (this.f7948m) {
case 0:
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
bundle.putBooleanArray(key, (boolean[]) obj);
return;
case 1:
boolean booleanValue = ((Boolean) obj).booleanValue();
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
bundle.putBoolean(key, booleanValue);
return;
case 2:
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
bundle.putFloatArray(key, (float[]) obj);
return;
case 3:
float floatValue = ((Number) obj).floatValue();
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
bundle.putFloat(key, floatValue);
return;
case 4:
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
bundle.putIntArray(key, (int[]) obj);
return;
case 5:
int intValue = ((Number) obj).intValue();
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
bundle.putInt(key, intValue);
return;
case 6:
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
bundle.putLongArray(key, (long[]) obj);
return;
case 7:
long longValue = ((Number) obj).longValue();
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
bundle.putLong(key, longValue);
return;
case 8:
int intValue2 = ((Number) obj).intValue();
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
bundle.putInt(key, intValue2);
return;
case 9:
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
bundle.putStringArray(key, (String[]) obj);
return;
default:
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
bundle.putString(key, (String) obj);
return;
}
}
}

View File

@@ -0,0 +1,62 @@
package o0;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.StringsKt__StringsJVMKt;
/* loaded from: classes.dex */
public final class N extends S {
/* renamed from: n, reason: collision with root package name */
public final Class f7949n;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public N(Class type) {
super(type, 0);
Intrinsics.checkNotNullParameter(type, "type");
if (type.isEnum()) {
this.f7949n = type;
return;
}
throw new IllegalArgumentException((type + " is not an Enum type.").toString());
}
@Override // o0.S, o0.T
public final String b() {
String name = this.f7949n.getName();
Intrinsics.checkNotNullExpressionValue(name, "type.name");
return name;
}
@Override // o0.S
/* renamed from: f, reason: merged with bridge method [inline-methods] */
public final Enum c(String value) {
Object obj;
boolean equals;
Intrinsics.checkNotNullParameter(value, "value");
Class cls = this.f7949n;
Object[] enumConstants = cls.getEnumConstants();
Intrinsics.checkNotNullExpressionValue(enumConstants, "type.enumConstants");
int length = enumConstants.length;
int i = 0;
while (true) {
if (i >= length) {
obj = null;
break;
}
obj = enumConstants[i];
equals = StringsKt__StringsJVMKt.equals(((Enum) obj).name(), value, true);
if (equals) {
break;
}
i++;
}
Enum r32 = (Enum) obj;
if (r32 != null) {
return r32;
}
StringBuilder p = com.google.android.gms.measurement.internal.a.p("Enum value ", value, " not found for type ");
p.append(cls.getName());
p.append('.');
throw new IllegalArgumentException(p.toString());
}
}

View File

@@ -0,0 +1,69 @@
package o0;
import android.os.Bundle;
import android.os.Parcelable;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public final class O extends T {
/* renamed from: m, reason: collision with root package name */
public final Class f7950m;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public O(Class type) {
super(true);
Intrinsics.checkNotNullParameter(type, "type");
if (!Parcelable.class.isAssignableFrom(type)) {
throw new IllegalArgumentException((type + " does not implement Parcelable.").toString());
}
try {
this.f7950m = Class.forName("[L" + type.getName() + ';');
} catch (ClassNotFoundException e4) {
throw new RuntimeException(e4);
}
}
@Override // o0.T
public final Object a(Bundle bundle, String key) {
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
return (Parcelable[]) bundle.get(key);
}
@Override // o0.T
public final String b() {
String name = this.f7950m.getName();
Intrinsics.checkNotNullExpressionValue(name, "arrayType.name");
return name;
}
@Override // o0.T
public final Object c(String value) {
Intrinsics.checkNotNullParameter(value, "value");
throw new UnsupportedOperationException("Arrays don't support default values.");
}
@Override // o0.T
public final void d(Bundle bundle, String key, Object obj) {
Parcelable[] parcelableArr = (Parcelable[]) obj;
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
this.f7950m.cast(parcelableArr);
bundle.putParcelableArray(key, parcelableArr);
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || !Intrinsics.areEqual(O.class, obj.getClass())) {
return false;
}
return Intrinsics.areEqual(this.f7950m, ((O) obj).f7950m);
}
public final int hashCode() {
return this.f7950m.hashCode();
}
}

View File

@@ -0,0 +1,70 @@
package o0;
import android.os.Bundle;
import android.os.Parcelable;
import java.io.Serializable;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public final class P extends T {
/* renamed from: m, reason: collision with root package name */
public final Class f7951m;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public P(Class type) {
super(true);
Intrinsics.checkNotNullParameter(type, "type");
if (Parcelable.class.isAssignableFrom(type) || Serializable.class.isAssignableFrom(type)) {
this.f7951m = type;
return;
}
throw new IllegalArgumentException((type + " does not implement Parcelable or Serializable.").toString());
}
@Override // o0.T
public final Object a(Bundle bundle, String key) {
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
return bundle.get(key);
}
@Override // o0.T
public final String b() {
String name = this.f7951m.getName();
Intrinsics.checkNotNullExpressionValue(name, "type.name");
return name;
}
@Override // o0.T
public final Object c(String value) {
Intrinsics.checkNotNullParameter(value, "value");
throw new UnsupportedOperationException("Parcelables don't support default values.");
}
@Override // o0.T
public final void d(Bundle bundle, String key, Object obj) {
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
this.f7951m.cast(obj);
if (obj == null || (obj instanceof Parcelable)) {
bundle.putParcelable(key, (Parcelable) obj);
} else if (obj instanceof Serializable) {
bundle.putSerializable(key, (Serializable) obj);
}
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || !Intrinsics.areEqual(P.class, obj.getClass())) {
return false;
}
return Intrinsics.areEqual(this.f7951m, ((P) obj).f7951m);
}
public final int hashCode() {
return this.f7951m.hashCode();
}
}

View File

@@ -0,0 +1,71 @@
package o0;
import android.os.Bundle;
import java.io.Serializable;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public final class Q extends T {
/* renamed from: m, reason: collision with root package name */
public final Class f7952m;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public Q(Class type) {
super(true);
Intrinsics.checkNotNullParameter(type, "type");
if (!Serializable.class.isAssignableFrom(type)) {
throw new IllegalArgumentException((type + " does not implement Serializable.").toString());
}
try {
this.f7952m = Class.forName("[L" + type.getName() + ';');
} catch (ClassNotFoundException e4) {
throw new RuntimeException(e4);
}
}
@Override // o0.T
public final Object a(Bundle bundle, String key) {
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
return (Serializable[]) bundle.get(key);
}
@Override // o0.T
public final String b() {
String name = this.f7952m.getName();
Intrinsics.checkNotNullExpressionValue(name, "arrayType.name");
return name;
}
@Override // o0.T
public final Object c(String value) {
Intrinsics.checkNotNullParameter(value, "value");
throw new UnsupportedOperationException("Arrays don't support default values.");
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r4v1, types: [java.lang.Object, java.io.Serializable[], java.io.Serializable] */
@Override // o0.T
public final void d(Bundle bundle, String key, Object obj) {
?? r4 = (Serializable[]) obj;
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
this.f7952m.cast(r4);
bundle.putSerializable(key, r4);
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || !Intrinsics.areEqual(Q.class, obj.getClass())) {
return false;
}
return Intrinsics.areEqual(this.f7952m, ((Q) obj).f7952m);
}
public final int hashCode() {
return this.f7952m.hashCode();
}
}

View File

@@ -0,0 +1,82 @@
package o0;
import android.os.Bundle;
import java.io.Serializable;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public class S extends T {
/* renamed from: m, reason: collision with root package name */
public final Class f7953m;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public S(Class type) {
super(true);
Intrinsics.checkNotNullParameter(type, "type");
if (Serializable.class.isAssignableFrom(type)) {
if (!type.isEnum()) {
this.f7953m = type;
return;
}
throw new IllegalArgumentException((type + " is an Enum. You should use EnumType instead.").toString());
}
throw new IllegalArgumentException((type + " does not implement Serializable.").toString());
}
@Override // o0.T
public final Object a(Bundle bundle, String key) {
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
return (Serializable) bundle.get(key);
}
@Override // o0.T
public String b() {
String name = this.f7953m.getName();
Intrinsics.checkNotNullExpressionValue(name, "type.name");
return name;
}
@Override // o0.T
public final void d(Bundle bundle, String key, Object obj) {
Serializable value = (Serializable) obj;
Intrinsics.checkNotNullParameter(bundle, "bundle");
Intrinsics.checkNotNullParameter(key, "key");
Intrinsics.checkNotNullParameter(value, "value");
this.f7953m.cast(value);
bundle.putSerializable(key, value);
}
@Override // o0.T
/* renamed from: e, reason: merged with bridge method [inline-methods] */
public Serializable c(String value) {
Intrinsics.checkNotNullParameter(value, "value");
throw new UnsupportedOperationException("Serializables don't support default values.");
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof S)) {
return false;
}
return Intrinsics.areEqual(this.f7953m, ((S) obj).f7953m);
}
public final int hashCode() {
return this.f7953m.hashCode();
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public S(Class type, int i) {
super(false);
Intrinsics.checkNotNullParameter(type, "type");
if (Serializable.class.isAssignableFrom(type)) {
this.f7953m = type;
return;
}
throw new IllegalArgumentException((type + " does not implement Serializable.").toString());
}
}

View File

@@ -0,0 +1,55 @@
package o0;
import android.os.Bundle;
/* loaded from: classes.dex */
public abstract class T {
/* renamed from: b, reason: collision with root package name */
public static final M f7954b = new M(false, 5);
/* renamed from: c, reason: collision with root package name */
public static final M f7955c = new M(false, 8);
/* renamed from: d, reason: collision with root package name */
public static final M f7956d = new M(true, 4);
/* renamed from: e, reason: collision with root package name */
public static final M f7957e = new M(false, 7);
/* renamed from: f, reason: collision with root package name */
public static final M f7958f = new M(true, 6);
/* renamed from: g, reason: collision with root package name */
public static final M f7959g = new M(false, 3);
public static final M h = new M(true, 2);
public static final M i = new M(false, 1);
/* renamed from: j, reason: collision with root package name */
public static final M f7960j = new M(true, 0);
/* renamed from: k, reason: collision with root package name */
public static final M f7961k = new M(true, 10);
/* renamed from: l, reason: collision with root package name */
public static final M f7962l = new M(true, 9);
/* renamed from: a, reason: collision with root package name */
public final boolean f7963a;
public T(boolean z3) {
this.f7963a = z3;
}
public abstract Object a(Bundle bundle, String str);
public abstract String b();
public abstract Object c(String str);
public abstract void d(Bundle bundle, String str, Object obj);
public final String toString() {
return b();
}
}

View File

@@ -0,0 +1,10 @@
package o0;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@Retention(RetentionPolicy.RUNTIME)
/* loaded from: classes.dex */
public @interface U {
String value();
}

View File

@@ -0,0 +1,92 @@
package o0;
import android.os.Bundle;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;
import kotlin.collections.CollectionsKt;
import kotlin.jvm.internal.Intrinsics;
import kotlin.sequences.SequencesKt;
/* loaded from: classes.dex */
public abstract class V {
/* renamed from: a, reason: collision with root package name */
public C0540q f7964a;
/* renamed from: b, reason: collision with root package name */
public boolean f7965b;
public abstract E a();
public final C0540q b() {
C0540q c0540q = this.f7964a;
if (c0540q != null) {
return c0540q;
}
throw new IllegalStateException("You cannot access the Navigator's state until the Navigator is attached");
}
public E c(E destination, Bundle bundle, K k4) {
Intrinsics.checkNotNullParameter(destination, "destination");
return destination;
}
public void d(List entries, K k4) {
Intrinsics.checkNotNullParameter(entries, "entries");
Iterator it = SequencesKt.filterNotNull(SequencesKt.map(CollectionsKt.asSequence(entries), new b1.e(5, this, k4))).iterator();
while (it.hasNext()) {
b().e((C0537n) it.next());
}
}
public void e(C0540q state) {
Intrinsics.checkNotNullParameter(state, "state");
this.f7964a = state;
this.f7965b = true;
}
public void f(C0537n backStackEntry) {
Intrinsics.checkNotNullParameter(backStackEntry, "backStackEntry");
E e4 = backStackEntry.f8006b;
if (e4 == null) {
e4 = null;
}
if (e4 == null) {
return;
}
c(e4, null, m3.l.K(C0526c.f7984l));
b().b(backStackEntry);
}
public void g(Bundle savedState) {
Intrinsics.checkNotNullParameter(savedState, "savedState");
}
public Bundle h() {
return null;
}
public void i(C0537n popUpTo, boolean z3) {
Intrinsics.checkNotNullParameter(popUpTo, "popUpTo");
List list = (List) b().f8026e.getValue();
if (!list.contains(popUpTo)) {
throw new IllegalStateException(("popBackStack was called with " + popUpTo + " which does not exist in back stack " + list).toString());
}
ListIterator listIterator = list.listIterator(list.size());
C0537n c0537n = null;
while (j()) {
c0537n = (C0537n) listIterator.previous();
if (Intrinsics.areEqual(c0537n, popUpTo)) {
break;
}
}
if (c0537n != null) {
b().c(c0537n, z3);
}
}
public boolean j() {
return true;
}
}

View File

@@ -0,0 +1,52 @@
package o0;
import java.util.LinkedHashMap;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes.dex */
public final class W {
/* renamed from: b, reason: collision with root package name */
public static final LinkedHashMap f7966b = new LinkedHashMap();
/* renamed from: a, reason: collision with root package name */
public final LinkedHashMap f7967a = new LinkedHashMap();
public final void a(V navigator) {
Intrinsics.checkNotNullParameter(navigator, "navigator");
String name = m3.d.u(navigator.getClass());
Intrinsics.checkNotNullParameter(name, "name");
Intrinsics.checkNotNullParameter(navigator, "navigator");
if (name == null || name.length() <= 0) {
throw new IllegalArgumentException("navigator name cannot be an empty string");
}
LinkedHashMap linkedHashMap = this.f7967a;
V v3 = (V) linkedHashMap.get(name);
if (Intrinsics.areEqual(v3, navigator)) {
return;
}
boolean z3 = false;
if (v3 != null && v3.f7965b) {
z3 = true;
}
if (z3) {
throw new IllegalStateException(("Navigator " + navigator + " is replacing an already attached " + v3).toString());
}
if (!navigator.f7965b) {
return;
}
throw new IllegalStateException(("Navigator " + navigator + " is already attached to another NavController").toString());
}
public final V b(String name) {
Intrinsics.checkNotNullParameter(name, "name");
if (name == null || name.length() <= 0) {
throw new IllegalArgumentException("navigator name cannot be an empty string");
}
V v3 = (V) this.f7967a.get(name);
if (v3 != null) {
return v3;
}
throw new IllegalStateException(C.w.o("Could not find Navigator with name \"", name, "\". You must call NavController.addNavigator() for each navigation type."));
}
}

View File

@@ -0,0 +1,8 @@
package o0;
/* loaded from: classes.dex */
public final class X {
/* renamed from: a, reason: collision with root package name */
public boolean f7968a;
}

View File

@@ -0,0 +1,16 @@
package o0;
import android.R;
/* loaded from: classes.dex */
public abstract class Y {
/* renamed from: a, reason: collision with root package name */
public static final int[] f7969a = {R.attr.name, com.adif.elcanomovil.R.attr.action, com.adif.elcanomovil.R.attr.data, com.adif.elcanomovil.R.attr.dataPattern, com.adif.elcanomovil.R.attr.targetPackage};
/* renamed from: b, reason: collision with root package name */
public static final int[] f7970b = {com.adif.elcanomovil.R.attr.navGraph};
/* renamed from: c, reason: collision with root package name */
public static final int[] f7971c = {com.adif.elcanomovil.R.attr.graph};
}

View File

@@ -0,0 +1,8 @@
package o0;
import android.os.Bundle;
/* loaded from: classes.dex */
public interface r {
void a(AbstractC0544v abstractC0544v, E e4, Bundle bundle);
}

View File

@@ -0,0 +1,40 @@
package o0;
import java.util.regex.Pattern;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Lambda;
/* loaded from: classes.dex */
public final class z extends Lambda implements Function0 {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ int f8077a;
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ C0521A f8078b;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public /* synthetic */ z(C0521A c0521a, int i) {
super(0);
this.f8077a = i;
this.f8078b = c0521a;
}
@Override // kotlin.jvm.functions.Function0
public final Object invoke() {
switch (this.f8077a) {
case 0:
String str = this.f8078b.f7906j;
if (str != null) {
return Pattern.compile(str);
}
return null;
default:
String str2 = this.f8078b.f7904f;
if (str2 != null) {
return Pattern.compile(str2, 2);
}
return null;
}
}
}