Primer paso de la investigacion. Se aportan el .apk, las carpetas con el apk extraido y el apk descompilado. El archivo API_DOCUMENTATION.md es un archivo donde se anotaran los descubrimientos del funcionamiento de la API, y los .py son scripts para probar la funcionalidad de la API con los métodos que vayamos encontrando. Finalmente, los archivos .js son scripts de Frida para extraer informacion de la APP durante la ejecucion.

This commit is contained in:
2025-12-04 13:59:54 +01:00
parent f2fd1c3bf5
commit e0133d2ca2
10432 changed files with 1019085 additions and 1 deletions

View File

@@ -0,0 +1,35 @@
package I0;
import android.content.Context;
/* loaded from: classes.dex */
public final class a {
/* renamed from: a, reason: collision with root package name */
public static final a f736a = new Object();
/* renamed from: b, reason: collision with root package name */
public static h f737b;
public static final h a(Context context) {
h hVar = f737b;
if (hVar != null) {
return hVar;
}
synchronized (f736a) {
try {
h hVar2 = f737b;
if (hVar2 != null) {
return hVar2;
}
Object applicationContext = context.getApplicationContext();
i iVar = applicationContext instanceof i ? (i) applicationContext : null;
h newImageLoader = iVar != null ? iVar.newImageLoader() : new g(context).c();
f737b = newImageLoader;
return newImageLoader;
} catch (Throwable th) {
throw th;
}
}
}
}

View File

@@ -0,0 +1,139 @@
package I0;
import android.util.Base64;
import androidx.lifecycle.C0;
import androidx.lifecycle.w0;
import androidx.lifecycle.y0;
import java.util.Collection;
import java.util.List;
import kotlin.Lazy;
import kotlin.TuplesKt;
import kotlin.collections.CollectionsKt;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Lambda;
import kotlin.reflect.KClass;
/* loaded from: classes.dex */
public final class b implements Lazy {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ int f738a = 0;
/* renamed from: b, reason: collision with root package name */
public final Object f739b;
/* renamed from: c, reason: collision with root package name */
public final Object f740c;
/* renamed from: d, reason: collision with root package name */
public final Object f741d;
/* renamed from: e, reason: collision with root package name */
public final Object f742e;
/* renamed from: f, reason: collision with root package name */
public Object f743f;
/* JADX WARN: Multi-variable type inference failed */
public b(KClass viewModelClass, Function0 storeProducer, Function0 factoryProducer, Function0 extrasProducer) {
Intrinsics.checkNotNullParameter(viewModelClass, "viewModelClass");
Intrinsics.checkNotNullParameter(storeProducer, "storeProducer");
Intrinsics.checkNotNullParameter(factoryProducer, "factoryProducer");
Intrinsics.checkNotNullParameter(extrasProducer, "extrasProducer");
this.f739b = viewModelClass;
this.f740c = (Lambda) storeProducer;
this.f741d = factoryProducer;
this.f742e = (Lambda) extrasProducer;
}
public void a(M0.f fVar, Class cls) {
((List) this.f742e).add(TuplesKt.to(fVar, cls));
}
public void b(P0.a aVar, Class cls) {
((List) this.f740c).add(TuplesKt.to(aVar, cls));
}
/* JADX WARN: Type inference failed for: r0v3, types: [kotlin.jvm.functions.Function0, kotlin.jvm.internal.Lambda] */
/* JADX WARN: Type inference failed for: r2v1, types: [kotlin.jvm.functions.Function0, kotlin.jvm.internal.Lambda] */
@Override // kotlin.Lazy
public Object getValue() {
w0 w0Var = (w0) this.f743f;
if (w0Var != null) {
return w0Var;
}
C0 store = (C0) ((Lambda) this.f740c).invoke();
y0 factory = (y0) ((Function0) this.f741d).invoke();
l0.c defaultCreationExtras = (l0.c) ((Lambda) this.f742e).invoke();
Intrinsics.checkNotNullParameter(store, "store");
Intrinsics.checkNotNullParameter(factory, "factory");
Intrinsics.checkNotNullParameter(defaultCreationExtras, "extras");
Intrinsics.checkNotNullParameter(store, "store");
Intrinsics.checkNotNullParameter(factory, "factory");
Intrinsics.checkNotNullParameter(defaultCreationExtras, "defaultCreationExtras");
R0.h hVar = new R0.h(store, factory, defaultCreationExtras);
KClass modelClass = (KClass) this.f739b;
Intrinsics.checkNotNullParameter(modelClass, "modelClass");
Intrinsics.checkNotNullParameter(modelClass, "modelClass");
Intrinsics.checkNotNullParameter(modelClass, "<this>");
String qualifiedName = modelClass.getQualifiedName();
if (qualifiedName == null) {
throw new IllegalArgumentException("Local and anonymous classes can not be ViewModels");
}
w0 i = hVar.i(modelClass, "androidx.lifecycle.ViewModelProvider.DefaultKey:".concat(qualifiedName));
this.f743f = i;
return i;
}
@Override // kotlin.Lazy
public boolean isInitialized() {
return ((w0) this.f743f) != null;
}
public String toString() {
switch (this.f738a) {
case 1:
StringBuilder sb = new StringBuilder();
sb.append("FontRequest {mProviderAuthority: " + ((String) this.f740c) + ", mProviderPackage: " + ((String) this.f741d) + ", mQuery: " + ((String) this.f742e) + ", mCertificates:");
int i = 0;
while (true) {
List list = (List) this.f739b;
if (i >= list.size()) {
sb.append("}mCertificatesArray: 0");
return sb.toString();
}
sb.append(" [");
List list2 = (List) list.get(i);
for (int i4 = 0; i4 < list2.size(); i4++) {
sb.append(" \"");
sb.append(Base64.encodeToString((byte[]) list2.get(i4), 0));
sb.append("\"");
}
sb.append(" ]");
i++;
}
default:
return super.toString();
}
}
public b(String str, String str2, String str3, List list) {
str.getClass();
this.f740c = str;
str2.getClass();
this.f741d = str2;
this.f742e = str3;
list.getClass();
this.f739b = list;
this.f743f = str + "-" + str2 + "-" + str3;
}
public b(c cVar) {
this.f739b = CollectionsKt.toMutableList((Collection) cVar.f744a);
this.f740c = CollectionsKt.toMutableList((Collection) cVar.f745b);
this.f741d = CollectionsKt.toMutableList((Collection) cVar.f746c);
this.f742e = CollectionsKt.toMutableList((Collection) cVar.f747d);
this.f743f = CollectionsKt.toMutableList((Collection) cVar.f748e);
}
}

View File

@@ -0,0 +1,30 @@
package I0;
import java.util.List;
/* loaded from: classes.dex */
public final class c {
/* renamed from: a, reason: collision with root package name */
public final List f744a;
/* renamed from: b, reason: collision with root package name */
public final List f745b;
/* renamed from: c, reason: collision with root package name */
public final List f746c;
/* renamed from: d, reason: collision with root package name */
public final List f747d;
/* renamed from: e, reason: collision with root package name */
public final List f748e;
public c(List list, List list2, List list3, List list4, List list5) {
this.f744a = list;
this.f745b = list2;
this.f746c = list3;
this.f747d = list4;
this.f748e = list5;
}
}

View File

@@ -0,0 +1,8 @@
package I0;
/* loaded from: classes.dex */
public final class d {
/* renamed from: a, reason: collision with root package name */
public static final d f749a = new Object();
}

View File

@@ -0,0 +1,62 @@
package I0;
import android.content.Context;
import android.graphics.Bitmap;
import f0.C0338b;
import java.io.File;
import kotlin.io.FilesKt__UtilsKt;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Lambda;
import r3.z;
/* loaded from: classes.dex */
public final class e extends Lambda implements Function0 {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ int f750a;
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ g f751b;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public /* synthetic */ e(g gVar, int i) {
super(0);
this.f750a = i;
this.f751b = gVar;
}
@Override // kotlin.jvm.functions.Function0
public final Object invoke() {
K0.j jVar;
File resolve;
switch (this.f750a) {
case 0:
return new Q0.a((Context) this.f751b.f753a).a();
default:
W0.i iVar = W0.i.f1897a;
Context context = (Context) this.f751b.f753a;
synchronized (iVar) {
try {
jVar = W0.i.f1898b;
if (jVar == null) {
K0.a aVar = new K0.a();
Bitmap.Config[] configArr = W0.f.f1887a;
File cacheDir = context.getCacheDir();
if (cacheDir == null) {
throw new IllegalStateException("cacheDir == null");
}
cacheDir.mkdirs();
resolve = FilesKt__UtilsKt.resolve(cacheDir, "image_cache");
String str = z.f8321b;
aVar.f974a = C0338b.p(resolve);
jVar = aVar.a();
W0.i.f1898b = jVar;
}
} catch (Throwable th) {
throw th;
}
}
return jVar;
}
}
}

View File

@@ -0,0 +1,17 @@
package I0;
import e3.F;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Lambda;
/* loaded from: classes.dex */
public final class f extends Lambda implements Function0 {
/* renamed from: a, reason: collision with root package name */
public static final f f752a = new Lambda(0);
@Override // kotlin.jvm.functions.Function0
public final Object invoke() {
return new F();
}
}

View File

@@ -0,0 +1,210 @@
package I0;
import C.w;
import android.content.Context;
import android.content.res.ColorStateList;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.PorterDuff;
import android.graphics.Shader;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.LayerDrawable;
import com.adif.elcanomovil.R;
import java.util.HashMap;
import kotlin.Lazy;
import kotlin.LazyKt;
import kotlin.collections.CollectionsKt;
import m.C0487t;
import m.E0;
import m.K0;
/* loaded from: classes.dex */
public final class g {
/* renamed from: a, reason: collision with root package name */
public Object f753a;
/* renamed from: b, reason: collision with root package name */
public Object f754b = W0.d.f1886a;
/* renamed from: c, reason: collision with root package name */
public Object f755c = null;
/* renamed from: d, reason: collision with root package name */
public Object f756d = null;
/* renamed from: e, reason: collision with root package name */
public Object f757e = null;
/* renamed from: f, reason: collision with root package name */
public Object f758f = new W0.h(true, true, true, 4, J0.l.f946a);
public g(Context context) {
this.f753a = context.getApplicationContext();
}
public static boolean b(int[] iArr, int i) {
for (int i4 : iArr) {
if (i4 == i) {
return true;
}
}
return false;
}
public static ColorStateList e(Context context, int i) {
int c4 = K0.c(context, R.attr.colorControlHighlight);
int b4 = K0.b(context, R.attr.colorButtonNormal);
int[] iArr = K0.f7582b;
int[] iArr2 = K0.f7584d;
int b5 = G.a.b(c4, i);
return new ColorStateList(new int[][]{iArr, iArr2, K0.f7583c, K0.f7586f}, new int[]{b4, b5, G.a.b(c4, i), i});
}
public static LayerDrawable f(E0 e02, Context context, int i) {
BitmapDrawable bitmapDrawable;
BitmapDrawable bitmapDrawable2;
BitmapDrawable bitmapDrawable3;
int dimensionPixelSize = context.getResources().getDimensionPixelSize(i);
Drawable c4 = e02.c(context, R.drawable.abc_star_black_48dp);
Drawable c5 = e02.c(context, R.drawable.abc_star_half_black_48dp);
if ((c4 instanceof BitmapDrawable) && c4.getIntrinsicWidth() == dimensionPixelSize && c4.getIntrinsicHeight() == dimensionPixelSize) {
bitmapDrawable = (BitmapDrawable) c4;
bitmapDrawable2 = new BitmapDrawable(bitmapDrawable.getBitmap());
} else {
Bitmap createBitmap = Bitmap.createBitmap(dimensionPixelSize, dimensionPixelSize, Bitmap.Config.ARGB_8888);
Canvas canvas = new Canvas(createBitmap);
c4.setBounds(0, 0, dimensionPixelSize, dimensionPixelSize);
c4.draw(canvas);
bitmapDrawable = new BitmapDrawable(createBitmap);
bitmapDrawable2 = new BitmapDrawable(createBitmap);
}
bitmapDrawable2.setTileModeX(Shader.TileMode.REPEAT);
if ((c5 instanceof BitmapDrawable) && c5.getIntrinsicWidth() == dimensionPixelSize && c5.getIntrinsicHeight() == dimensionPixelSize) {
bitmapDrawable3 = (BitmapDrawable) c5;
} else {
Bitmap createBitmap2 = Bitmap.createBitmap(dimensionPixelSize, dimensionPixelSize, Bitmap.Config.ARGB_8888);
Canvas canvas2 = new Canvas(createBitmap2);
c5.setBounds(0, 0, dimensionPixelSize, dimensionPixelSize);
c5.draw(canvas2);
bitmapDrawable3 = new BitmapDrawable(createBitmap2);
}
LayerDrawable layerDrawable = new LayerDrawable(new Drawable[]{bitmapDrawable, bitmapDrawable3, bitmapDrawable2});
layerDrawable.setId(0, android.R.id.background);
layerDrawable.setId(1, android.R.id.secondaryProgress);
layerDrawable.setId(2, android.R.id.progress);
return layerDrawable;
}
public static void h(Drawable drawable, int i, PorterDuff.Mode mode) {
Drawable mutate = drawable.mutate();
if (mode == null) {
mode = C0487t.f7743b;
}
mutate.setColorFilter(C0487t.c(i, mode));
}
public void a(String str, String str2) {
HashMap hashMap = (HashMap) this.f758f;
if (hashMap == null) {
throw new IllegalStateException("Property \"autoMetadata\" has not been set");
}
hashMap.put(str, str2);
}
public p c() {
S0.c cVar = (S0.c) this.f754b;
Lazy lazy = (Lazy) this.f755c;
if (lazy == null) {
lazy = LazyKt.lazy(new e(this, 0));
}
Lazy lazy2 = lazy;
Lazy lazy3 = (Lazy) this.f756d;
if (lazy3 == null) {
lazy3 = LazyKt.lazy(new e(this, 1));
}
Lazy lazy4 = lazy3;
Lazy lazy5 = (Lazy) this.f757e;
if (lazy5 == null) {
lazy5 = LazyKt.lazy(f.f752a);
}
return new p((Context) this.f753a, cVar, lazy2, lazy4, lazy5, new c(CollectionsKt.emptyList(), CollectionsKt.emptyList(), CollectionsKt.emptyList(), CollectionsKt.emptyList(), CollectionsKt.emptyList()), (W0.h) this.f758f);
}
public W1.i d() {
String str = ((String) this.f753a) == null ? " transportName" : "";
if (((W1.m) this.f755c) == null) {
str = str.concat(" encodedPayload");
}
if (((Long) this.f756d) == null) {
str = w.n(str, " eventMillis");
}
if (((Long) this.f757e) == null) {
str = w.n(str, " uptimeMillis");
}
if (((HashMap) this.f758f) == null) {
str = w.n(str, " autoMetadata");
}
if (str.isEmpty()) {
return new W1.i((String) this.f753a, (Integer) this.f754b, (W1.m) this.f755c, ((Long) this.f756d).longValue(), ((Long) this.f757e).longValue(), (HashMap) this.f758f);
}
throw new IllegalStateException("Missing required properties:".concat(str));
}
public ColorStateList g(Context context, int i) {
if (i == R.drawable.abc_edit_text_material) {
return D.h.getColorStateList(context, R.color.abc_tint_edittext);
}
if (i == R.drawable.abc_switch_track_mtrl_alpha) {
return D.h.getColorStateList(context, R.color.abc_tint_switch_track);
}
if (i != R.drawable.abc_switch_thumb_material) {
if (i == R.drawable.abc_btn_default_mtrl_shape) {
return e(context, K0.c(context, R.attr.colorButtonNormal));
}
if (i == R.drawable.abc_btn_borderless_material) {
return e(context, 0);
}
if (i == R.drawable.abc_btn_colored_material) {
return e(context, K0.c(context, R.attr.colorAccent));
}
if (i == R.drawable.abc_spinner_mtrl_am_alpha || i == R.drawable.abc_spinner_textfield_background_material) {
return D.h.getColorStateList(context, R.color.abc_tint_spinner);
}
if (b((int[]) this.f754b, i)) {
return K0.d(context, R.attr.colorControlNormal);
}
if (b((int[]) this.f757e, i)) {
return D.h.getColorStateList(context, R.color.abc_tint_default);
}
if (b((int[]) this.f758f, i)) {
return D.h.getColorStateList(context, R.color.abc_tint_btn_checkable);
}
if (i == R.drawable.abc_seekbar_thumb_material) {
return D.h.getColorStateList(context, R.color.abc_tint_seek_thumb);
}
return null;
}
int[][] iArr = new int[3];
int[] iArr2 = new int[3];
ColorStateList d4 = K0.d(context, R.attr.colorSwitchThumbNormal);
if (d4 == null || !d4.isStateful()) {
iArr[0] = K0.f7582b;
iArr2[0] = K0.b(context, R.attr.colorSwitchThumbNormal);
iArr[1] = K0.f7585e;
iArr2[1] = K0.c(context, R.attr.colorControlActivated);
iArr[2] = K0.f7586f;
iArr2[2] = K0.c(context, R.attr.colorSwitchThumbNormal);
} else {
int[] iArr3 = K0.f7582b;
iArr[0] = iArr3;
iArr2[0] = d4.getColorForState(iArr3, 0);
iArr[1] = K0.f7585e;
iArr2[1] = K0.c(context, R.attr.colorControlActivated);
iArr[2] = K0.f7586f;
iArr2[2] = d4.getDefaultColor();
}
return new ColorStateList(iArr, iArr2);
}
}

View File

@@ -0,0 +1,5 @@
package I0;
/* loaded from: classes.dex */
public interface h {
}

View File

@@ -0,0 +1,6 @@
package I0;
/* loaded from: classes.dex */
public interface i {
h newImageLoader();
}

View File

@@ -0,0 +1,63 @@
package I0;
import kotlin.ResultKt;
import kotlin.Unit;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.intrinsics.IntrinsicsKt;
import kotlin.coroutines.jvm.internal.SuspendLambda;
import kotlin.jvm.functions.Function2;
import kotlinx.coroutines.CoroutineScope;
/* loaded from: classes.dex */
public final class j extends SuspendLambda implements Function2 {
/* renamed from: a, reason: collision with root package name */
public int f759a;
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ p f760b;
/* renamed from: c, reason: collision with root package name */
public final /* synthetic */ S0.j f761c;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public j(p pVar, S0.j jVar, Continuation continuation) {
super(2, continuation);
this.f760b = pVar;
this.f761c = jVar;
}
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
public final Continuation create(Object obj, Continuation continuation) {
return new j(this.f760b, this.f761c, continuation);
}
@Override // kotlin.jvm.functions.Function2
public final Object invoke(Object obj, Object obj2) {
return ((j) create((CoroutineScope) obj, (Continuation) obj2)).invokeSuspend(Unit.INSTANCE);
}
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
public final Object invokeSuspend(Object obj) {
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
int i = this.f759a;
p pVar = this.f760b;
if (i == 0) {
ResultKt.throwOnFailure(obj);
this.f759a = 1;
obj = p.a(pVar, this.f761c, 0, this);
if (obj == coroutine_suspended) {
return coroutine_suspended;
}
} else {
if (i != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
ResultKt.throwOnFailure(obj);
}
if (((S0.k) obj) instanceof S0.f) {
pVar.getClass();
}
return obj;
}
}

View File

@@ -0,0 +1,56 @@
package I0;
import kotlin.ResultKt;
import kotlin.Unit;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.intrinsics.IntrinsicsKt;
import kotlin.coroutines.jvm.internal.SuspendLambda;
import kotlin.jvm.functions.Function2;
import kotlinx.coroutines.CoroutineScope;
/* loaded from: classes.dex */
public final class k extends SuspendLambda implements Function2 {
/* renamed from: a, reason: collision with root package name */
public int f762a;
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ p f763b;
/* renamed from: c, reason: collision with root package name */
public final /* synthetic */ S0.j f764c;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public k(p pVar, S0.j jVar, Continuation continuation) {
super(2, continuation);
this.f763b = pVar;
this.f764c = jVar;
}
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
public final Continuation create(Object obj, Continuation continuation) {
return new k(this.f763b, this.f764c, continuation);
}
@Override // kotlin.jvm.functions.Function2
public final Object invoke(Object obj, Object obj2) {
return ((k) create((CoroutineScope) obj, (Continuation) obj2)).invokeSuspend(Unit.INSTANCE);
}
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
public final Object invokeSuspend(Object obj) {
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
int i = this.f762a;
if (i != 0) {
if (i != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
ResultKt.throwOnFailure(obj);
return obj;
}
ResultKt.throwOnFailure(obj);
this.f762a = 1;
Object a2 = p.a(this.f763b, this.f764c, 1, this);
return a2 == coroutine_suspended ? coroutine_suspended : a2;
}
}

View File

@@ -0,0 +1,75 @@
package I0;
import kotlin.ResultKt;
import kotlin.Unit;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.intrinsics.IntrinsicsKt;
import kotlin.coroutines.jvm.internal.SuspendLambda;
import kotlin.jvm.functions.Function2;
import kotlinx.coroutines.BuildersKt__Builders_commonKt;
import kotlinx.coroutines.CoroutineScope;
import kotlinx.coroutines.Deferred;
import kotlinx.coroutines.Dispatchers;
import kotlinx.coroutines.MainCoroutineDispatcher;
/* loaded from: classes.dex */
public final class l extends SuspendLambda implements Function2 {
/* renamed from: a, reason: collision with root package name */
public int f765a;
/* renamed from: b, reason: collision with root package name */
public /* synthetic */ Object f766b;
/* renamed from: c, reason: collision with root package name */
public final /* synthetic */ S0.j f767c;
/* renamed from: d, reason: collision with root package name */
public final /* synthetic */ p f768d;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public l(p pVar, S0.j jVar, Continuation continuation) {
super(2, continuation);
this.f767c = jVar;
this.f768d = pVar;
}
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
public final Continuation create(Object obj, Continuation continuation) {
l lVar = new l(this.f768d, this.f767c, continuation);
lVar.f766b = obj;
return lVar;
}
@Override // kotlin.jvm.functions.Function2
public final Object invoke(Object obj, Object obj2) {
return ((l) create((CoroutineScope) obj, (Continuation) obj2)).invokeSuspend(Unit.INSTANCE);
}
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
public final Object invokeSuspend(Object obj) {
Deferred async$default;
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
int i = this.f765a;
if (i != 0) {
if (i != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
ResultKt.throwOnFailure(obj);
return obj;
}
ResultKt.throwOnFailure(obj);
CoroutineScope coroutineScope = (CoroutineScope) this.f766b;
MainCoroutineDispatcher immediate = Dispatchers.getMain().getImmediate();
p pVar = this.f768d;
S0.j jVar = this.f767c;
async$default = BuildersKt__Builders_commonKt.async$default(coroutineScope, immediate, null, new k(pVar, jVar, null), 2, null);
U0.b bVar = jVar.f1479c;
if (bVar instanceof U0.a) {
W0.f.c(((U0.a) bVar).f1775b).a(async$default);
}
this.f765a = 1;
Object await = async$default.await(this);
return await == coroutine_suspended ? coroutine_suspended : await;
}
}

View File

@@ -0,0 +1,45 @@
package I0;
import S0.q;
import android.graphics.Bitmap;
import kotlin.coroutines.jvm.internal.ContinuationImpl;
import kotlin.jvm.internal.IntCompanionObject;
/* loaded from: classes.dex */
public final class m extends ContinuationImpl {
/* renamed from: a, reason: collision with root package name */
public p f769a;
/* renamed from: b, reason: collision with root package name */
public q f770b;
/* renamed from: c, reason: collision with root package name */
public S0.j f771c;
/* renamed from: d, reason: collision with root package name */
public d f772d;
/* renamed from: e, reason: collision with root package name */
public Bitmap f773e;
/* renamed from: f, reason: collision with root package name */
public /* synthetic */ Object f774f;
/* renamed from: g, reason: collision with root package name */
public final /* synthetic */ p f775g;
public int h;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public m(p pVar, ContinuationImpl continuationImpl) {
super(continuationImpl);
this.f775g = pVar;
}
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
public final Object invokeSuspend(Object obj) {
this.f774f = obj;
this.h |= IntCompanionObject.MIN_VALUE;
return p.a(this.f775g, null, 0, this);
}
}

View File

@@ -0,0 +1,74 @@
package I0;
import android.graphics.Bitmap;
import java.util.List;
import kotlin.ResultKt;
import kotlin.Unit;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.intrinsics.IntrinsicsKt;
import kotlin.coroutines.jvm.internal.SuspendLambda;
import kotlin.jvm.functions.Function2;
import kotlinx.coroutines.CoroutineScope;
/* loaded from: classes.dex */
public final class n extends SuspendLambda implements Function2 {
/* renamed from: a, reason: collision with root package name */
public int f776a;
/* renamed from: b, reason: collision with root package name */
public final /* synthetic */ S0.j f777b;
/* renamed from: c, reason: collision with root package name */
public final /* synthetic */ p f778c;
/* renamed from: d, reason: collision with root package name */
public final /* synthetic */ T0.h f779d;
/* renamed from: e, reason: collision with root package name */
public final /* synthetic */ d f780e;
/* renamed from: f, reason: collision with root package name */
public final /* synthetic */ Bitmap f781f;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public n(S0.j jVar, p pVar, T0.h hVar, d dVar, Bitmap bitmap, Continuation continuation) {
super(2, continuation);
this.f777b = jVar;
this.f778c = pVar;
this.f779d = hVar;
this.f780e = dVar;
this.f781f = bitmap;
}
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
public final Continuation create(Object obj, Continuation continuation) {
return new n(this.f777b, this.f778c, this.f779d, this.f780e, this.f781f, continuation);
}
@Override // kotlin.jvm.functions.Function2
public final Object invoke(Object obj, Object obj2) {
return ((n) create((CoroutineScope) obj, (Continuation) obj2)).invokeSuspend(Unit.INSTANCE);
}
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
public final Object invokeSuspend(Object obj) {
Object coroutine_suspended = IntrinsicsKt.getCOROUTINE_SUSPENDED();
int i = this.f776a;
if (i != 0) {
if (i != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
ResultKt.throwOnFailure(obj);
return obj;
}
ResultKt.throwOnFailure(obj);
List list = this.f778c.h;
boolean z3 = this.f781f != null;
S0.j jVar = this.f777b;
N0.l lVar = new N0.l(jVar, list, 0, jVar, this.f779d, this.f780e, z3);
this.f776a = 1;
Object b4 = lVar.b(jVar, this);
return b4 == coroutine_suspended ? coroutine_suspended : b4;
}
}

View File

@@ -0,0 +1,23 @@
package I0;
import kotlin.coroutines.AbstractCoroutineContextElement;
import kotlin.coroutines.CoroutineContext;
import kotlinx.coroutines.CoroutineExceptionHandler;
/* loaded from: classes.dex */
public final class o extends AbstractCoroutineContextElement implements CoroutineExceptionHandler {
/* renamed from: a, reason: collision with root package name */
public final /* synthetic */ p f782a;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public o(CoroutineExceptionHandler.Companion companion, p pVar) {
super(companion);
this.f782a = pVar;
}
@Override // kotlinx.coroutines.CoroutineExceptionHandler
public final void handleException(CoroutineContext coroutineContext, Throwable th) {
this.f782a.getClass();
}
}

View File

@@ -0,0 +1,152 @@
package I0;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import e3.w;
import java.io.File;
import java.nio.ByteBuffer;
import java.util.Collection;
import java.util.List;
import java.util.concurrent.atomic.AtomicBoolean;
import kotlin.Lazy;
import kotlin.TuplesKt;
import kotlin.collections.CollectionsKt;
import kotlinx.coroutines.BuildersKt;
import kotlinx.coroutines.CoroutineExceptionHandler;
import kotlinx.coroutines.CoroutineScope;
import kotlinx.coroutines.CoroutineScopeKt;
import kotlinx.coroutines.Deferred;
import kotlinx.coroutines.Dispatchers;
import kotlinx.coroutines.Job;
import kotlinx.coroutines.SupervisorKt;
/* loaded from: classes.dex */
public final class p implements h {
/* renamed from: a, reason: collision with root package name */
public final S0.c f783a;
/* renamed from: b, reason: collision with root package name */
public final Lazy f784b;
/* renamed from: c, reason: collision with root package name */
public final Lazy f785c;
/* renamed from: d, reason: collision with root package name */
public final Lazy f786d;
/* renamed from: e, reason: collision with root package name */
public final CoroutineScope f787e = CoroutineScopeKt.CoroutineScope(SupervisorKt.SupervisorJob$default((Job) null, 1, (Object) null).plus(Dispatchers.getMain().getImmediate()).plus(new o(CoroutineExceptionHandler.INSTANCE, this)));
/* renamed from: f, reason: collision with root package name */
public final F.i f788f;
/* renamed from: g, reason: collision with root package name */
public final c f789g;
public final List h;
public p(Context context, S0.c cVar, Lazy lazy, Lazy lazy2, Lazy lazy3, c cVar2, W0.h hVar) {
this.f783a = cVar;
this.f784b = lazy;
this.f785c = lazy2;
this.f786d = lazy3;
W0.j jVar = new W0.j(this, context, hVar.f1893b);
F.i iVar = new F.i(5, this, jVar);
this.f788f = iVar;
b bVar = new b(cVar2);
bVar.b(new P0.a(2), w.class);
bVar.b(new P0.a(5), String.class);
bVar.b(new P0.a(1), Uri.class);
bVar.b(new P0.a(4), Uri.class);
bVar.b(new P0.a(3), Integer.class);
bVar.b(new P0.a(0), byte[].class);
Object obj = new Object();
List list = (List) bVar.f741d;
list.add(TuplesKt.to(obj, Uri.class));
list.add(TuplesKt.to(new O0.a(hVar.f1892a), File.class));
bVar.a(new M0.i(lazy3, lazy2, hVar.f1894c), Uri.class);
bVar.a(new M0.a(5), File.class);
bVar.a(new M0.a(0), Uri.class);
bVar.a(new M0.a(3), Uri.class);
bVar.a(new M0.a(6), Uri.class);
bVar.a(new M0.a(4), Drawable.class);
bVar.a(new M0.a(1), Bitmap.class);
bVar.a(new M0.a(2), ByteBuffer.class);
J0.c cVar3 = new J0.c(hVar.f1895d, hVar.f1896e);
List list2 = (List) bVar.f743f;
list2.add(cVar3);
List Z = m3.l.Z((List) bVar.f739b);
this.f789g = new c(Z, m3.l.Z((List) bVar.f740c), m3.l.Z(list), m3.l.Z((List) bVar.f742e), m3.l.Z(list2));
this.h = CollectionsKt.plus((Collection<? extends N0.i>) Z, new N0.i(this, iVar));
new AtomicBoolean(false);
context.registerComponentCallbacks(jVar);
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Removed duplicated region for block: B:25:0x00ef A[Catch: all -> 0x00e2, TryCatch #0 {all -> 0x00e2, blocks: (B:23:0x00e5, B:25:0x00ef, B:26:0x00f2, B:28:0x00fd, B:29:0x0100, B:14:0x00c4, B:16:0x00ca, B:18:0x00cf, B:70:0x019e, B:71:0x01a5), top: B:13:0x00c4 }] */
/* JADX WARN: Removed duplicated region for block: B:28:0x00fd A[Catch: all -> 0x00e2, TryCatch #0 {all -> 0x00e2, blocks: (B:23:0x00e5, B:25:0x00ef, B:26:0x00f2, B:28:0x00fd, B:29:0x0100, B:14:0x00c4, B:16:0x00ca, B:18:0x00cf, B:70:0x019e, B:71:0x01a5), top: B:13:0x00c4 }] */
/* JADX WARN: Removed duplicated region for block: B:31:0x0118 */
/* JADX WARN: Removed duplicated region for block: B:35:0x0141 */
/* JADX WARN: Removed duplicated region for block: B:39:0x0149 A[Catch: all -> 0x0183, TryCatch #1 {all -> 0x0183, blocks: (B:37:0x0143, B:39:0x0149, B:42:0x015b, B:43:0x0178, B:46:0x015f, B:48:0x016c, B:49:0x0172, B:50:0x0185, B:52:0x0189), top: B:36:0x0143 }] */
/* JADX WARN: Removed duplicated region for block: B:50:0x0185 A[Catch: all -> 0x0183, TryCatch #1 {all -> 0x0183, blocks: (B:37:0x0143, B:39:0x0149, B:42:0x015b, B:43:0x0178, B:46:0x015f, B:48:0x016c, B:49:0x0172, B:50:0x0185, B:52:0x0189), top: B:36:0x0143 }] */
/* JADX WARN: Removed duplicated region for block: B:59:0x01aa A[Catch: all -> 0x01bc, TRY_LEAVE, TryCatch #5 {all -> 0x01bc, blocks: (B:57:0x01a6, B:59:0x01aa, B:62:0x01be, B:63:0x01c7), top: B:56:0x01a6 }] */
/* JADX WARN: Removed duplicated region for block: B:62:0x01be A[Catch: all -> 0x01bc, TRY_ENTER, TryCatch #5 {all -> 0x01bc, blocks: (B:57:0x01a6, B:59:0x01aa, B:62:0x01be, B:63:0x01c7), top: B:56:0x01a6 }] */
/* JADX WARN: Removed duplicated region for block: B:75:0x0031 A[EXC_TOP_SPLITTER, SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:9:0x007f */
/* JADX WARN: Type inference failed for: r2v12 */
/* JADX WARN: Type inference failed for: r2v29 */
/* JADX WARN: Type inference failed for: r2v4 */
/* JADX WARN: Type inference failed for: r2v6 */
/* JADX WARN: Type inference failed for: r2v7, types: [S0.q] */
/* JADX WARN: Type inference failed for: r2v9 */
/* JADX WARN: Type inference failed for: r3v21 */
/* JADX WARN: Type inference failed for: r3v22 */
/* JADX WARN: Type inference failed for: r3v23 */
/* JADX WARN: Type inference failed for: r3v3 */
/* JADX WARN: Type inference failed for: r3v5, types: [java.lang.Object, S0.j] */
/* JADX WARN: Type inference failed for: r3v7 */
/* JADX WARN: Type inference failed for: r4v1 */
/* JADX WARN: Type inference failed for: r4v10 */
/* JADX WARN: Type inference failed for: r4v12 */
/* JADX WARN: Type inference failed for: r4v19 */
/* JADX WARN: Type inference failed for: r4v5 */
/* JADX WARN: Type inference failed for: r4v8, types: [java.lang.Object, I0.d] */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static final java.lang.Object a(I0.p r19, S0.j r20, int r21, kotlin.coroutines.jvm.internal.ContinuationImpl r22) {
/*
Method dump skipped, instructions count: 460
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: I0.p.a(I0.p, S0.j, int, kotlin.coroutines.jvm.internal.ContinuationImpl):java.lang.Object");
}
public static void c(S0.f fVar, U0.b bVar, d dVar) {
S0.j jVar = fVar.f1458b;
boolean z3 = bVar instanceof U0.a;
Drawable drawable = fVar.f1457a;
if (z3) {
V0.e a2 = jVar.i.a((U0.a) bVar, fVar);
if (a2 instanceof V0.c) {
((U0.a) bVar).b(drawable);
} else {
dVar.getClass();
a2.a();
}
} else if (bVar != null) {
bVar.onError(drawable);
}
dVar.getClass();
jVar.getClass();
}
public final S0.e b(S0.j jVar) {
Deferred async$default = BuildersKt.async$default(this.f787e, null, null, new j(this, jVar, null), 3, null);
U0.b bVar = jVar.f1479c;
return bVar instanceof U0.a ? W0.f.c(((U0.a) bVar).f1775b).a(async$default) : new S0.n(async$default);
}
}