APK反编译源代码展示 - 南明离火平台提供

应用版本信息
应用名称:GPS Status
版本号:11.3.314
包名称:com.eclipsim.gpsstatus2

MD5 校验值:1307767a726185fc43c57c361d8f8db9

反编译源代码说明

c.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。


package i7;

import a1.j;
import a3.d0;
import a3.g;
import a3.h0;
import a5.i;
import android.app.Application;
import android.content.Context;
import android.content.IntentFilter;
import android.content.SharedPreferences;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.res.Resources;
import android.graphics.Typeface;
import android.os.Build;
import android.os.Bundle;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.os.RemoteException;
import android.text.TextUtils;
import android.util.Log;
import android.util.SparseArray;
import android.view.View;
import androidx.constraintlayout.helper.widget.gPY.TVfZ;
import b.cji.qmnbRDyvSYT;
import b5.k;
import c3.r;
import c3.u;
import com.google.android.gms.ads.internal.util.client.pZ.kshuYJeM;
import com.google.android.gms.ads.internal.util.client.zzp;
import com.google.android.material.behavior.SwipeDismissBehavior;
import ea.h;
import ea.hQm.zsoGWHxMxTNrZ;
import i2.KQ.dixlqwylpDnb;
import java.lang.reflect.Method;
import java.security.SecureRandom;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.EnumMap;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import java.util.WeakHashMap;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.Future;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicReference;
import k5.d2;
import k5.f2;
import k5.w0;
import k5.x1;
import m4.e1;
import m4.m;
import o0.p0;
import p5.d1;
import p5.f0;
import p5.g9;
import p5.i0;
import p5.j4;
import p5.s6;
import q5.o0;
import q5.v;
import q5.y;
import r7.l;
import t5.ElGR.YNJEQVNRJQQWb;
import u3.QO.JkEzJnEnT;
import v5.a1;
import v5.b0;
import v5.b1;
import v5.b2;
import v5.c3;
import v5.e;
import v5.e4;
import v5.f4;
import v5.g0;
import v5.g1;
import v5.h2;
import v5.j0;
import v5.k1;
import v5.l0;
import v5.l1;
import v5.l3;
import v5.n0;
import v5.n1;
import v5.o;
import v5.q3;
import v5.r1;
import v5.t1;
import v5.u1;
import v5.v0;
import v5.v1;
import v5.w;
import v5.w1;
import v5.x0;
import v5.x2;
import v5.y0;
import v5.y1;
import v5.z1;
import v5.z3;
import x5.f;

public final class c implements Runnable {

    public final int f3326q;

    public Object f3327r;

    public Object f3328s;

    public c(int i10) {
        this.f3326q = i10;
    }

    public c(SwipeDismissBehavior swipeDismissBehavior, View view, boolean z2) {
        this.f3326q = 12;
        this.f3328s = swipeDismissBehavior;
        this.f3327r = view;
    }

    public c(Object obj, int i10, Object obj2) {
        this.f3326q = i10;
        this.f3327r = obj;
        this.f3328s = obj2;
    }

    public c(Object obj, Object obj2, int i10, boolean z2) {
        this.f3326q = i10;
        this.f3328s = obj;
        this.f3327r = obj2;
    }

    public c(l lVar) {
        this.f3326q = 22;
        this.f3328s = lVar;
    }

    public c(a1 a1Var, i0 i0Var, a1 a1Var2) {
        this.f3326q = 25;
        this.f3327r = i0Var;
        this.f3328s = a1Var;
    }

    private final void a() {
        v0 v0Var;
        String str;
        z1 z1Var;
        PackageInfo packageInfo;
        String str2;
        boolean z2;
        int l10;
        e4 e4Var;
        boolean z10;
        Bundle o10;
        Integer valueOf;
        String[] stringArray;
        List asList;
        boolean isEmpty;
        e eVar;
        e4 e4Var2;
        int i10;
        AtomicInteger atomicInteger;
        boolean v10;
        v0 v0Var2;
        w1 w1Var;
        w1 w1Var2;
        Bundle bundle;
        Bundle bundle2;
        Boolean a10;
        Bundle bundle3;
        Iterator it;
        Boolean t10;
        y0 y0Var;
        b1 b1Var;
        e eVar2;
        e4 e4Var3;
        e4 e4Var4;
        boolean z11;
        boolean j;
        SharedPreferences sharedPreferences;
        boolean z12;
        e eVar3;
        boolean z13;
        boolean z14;
        Bundle bundle4;
        Resources resources;
        int identifier;
        String string;
        String string2;
        l1 l1Var = (l1) this.f3328s;
        g1 g1Var = l1Var.f7113z;
        l1.h(g1Var);
        g1Var.h();
        ?? r1Var = new r1(l1Var);
        r1Var.k();
        l1Var.L = r1Var;
        z1 z1Var2 = (z1) this.f3327r;
        long j6 = z1Var2.f7452f;
        ?? b0Var = new b0(l1Var);
        b0Var.E = 0L;
        b0Var.F = null;
        b0Var.f7077x = j6;
        b0Var.n();
        l1Var.M = b0Var;
        l0 l0Var = new l0(l1Var);
        l0Var.n();
        l1Var.J = l0Var;
        x2 x2Var = new x2(l1Var);
        x2Var.n();
        l1Var.K = x2Var;
        e4 e4Var5 = l1Var.B;
        if (e4Var5.f7232r) {
            throw new IllegalStateException("Can't initialize twice");
        }
        e4Var5.h();
        SecureRandom secureRandom = new SecureRandom();
        long nextLong = secureRandom.nextLong();
        if (nextLong == 0) {
            nextLong = secureRandom.nextLong();
            if (nextLong == 0) {
                e4Var5.b().f7154y.g("Utils falling back to Random for random id");
            }
        }
        e4Var5.f6972t.set(nextLong);
        ((l1) e4Var5.f4562q).W.incrementAndGet();
        e4Var5.f7232r = true;
        v0 v0Var3 = l1Var.f7111x;
        if (v0Var3.f7232r) {
            throw new IllegalStateException("Can't initialize twice");
        }
        SharedPreferences sharedPreferences2 = ((l1) v0Var3.f4562q).f7104q.getSharedPreferences("com.google.android.gms.measurement.prefs", 0);
        v0Var3.f7291s = sharedPreferences2;
        boolean z15 = sharedPreferences2.getBoolean("has_been_opened", false);
        v0Var3.I = z15;
        if (!z15) {
            SharedPreferences.Editor edit = v0Var3.f7291s.edit();
            edit.putBoolean("has_been_opened", true);
            edit.apply();
        }
        v0Var3.f7294v = new x0(v0Var3, Math.max(0L, ((Long) w.f7317d.a(null)).longValue()));
        ((l1) v0Var3.f4562q).W.incrementAndGet();
        v0Var3.f7232r = true;
        j0 j0Var = l1Var.M;
        if (j0Var.f6889r) {
            throw new IllegalStateException("Can't initialize twice");
        }
        l1 l1Var2 = (l1) j0Var.f4562q;
        Context context = l1Var2.f7104q;
        String str3 = l1Var2.I;
        String packageName = context.getPackageName();
        Context context2 = l1Var2.f7104q;
        PackageManager packageManager = context2.getPackageManager();
        String str4 = "";
        String str5 = "unknown";
        String str6 = "Unknown";
        int i11 = Integer.MIN_VALUE;
        if (packageManager == null) {
            v0Var = v0Var3;
            j0Var.b().f7151v.f(n0.o(packageName), "PackageManager is null, app identity information might be inaccurate. appId");
        } else {
            v0Var = v0Var3;
            try {
                packageManager.getInstallerPackageName(packageName);
                str5 = "com.android.vending";
            } catch (IllegalArgumentException unused) {
                j0Var.b().f7151v.f(n0.o(packageName), "Error retrieving app installer package name. appId");
            }
            String str7 = str5;
            try {
                if (str7 == null) {
                    str7 = "manual_install";
                } else if ("com.android.vending".equals(str7)) {
                    str5 = "";
                    packageInfo = packageManager.getPackageInfo(context2.getPackageName(), 0);
                    if (packageInfo != null) {
                        CharSequence applicationLabel = packageManager.getApplicationLabel(packageInfo.applicationInfo);
                        str = !TextUtils.isEmpty(applicationLabel) ? applicationLabel.toString() : "Unknown";
                        try {
                            str2 = packageInfo.versionName;
                        } catch (PackageManager.NameNotFoundException unused2) {
                        }
                        try {
                            i11 = packageInfo.versionCode;
                            str6 = str2;
                        } catch (PackageManager.NameNotFoundException unused3) {
                            str6 = str2;
                            z1Var = z1Var2;
                            j0Var.b().f7151v.e(n0.o(packageName), str, "Error retrieving package info. appId, appName");
                            String str8 = str5;
                            String str9 = str6;
                            int i12 = i11;
                            j0Var.f7072s = packageName;
                            j0Var.f7075v = str8;
                            j0Var.f7073t = str9;
                            j0Var.f7074u = i12;
                            j0Var.f7076w = 0L;
                            String str10 = l1Var2.f7105r;
                            if (TextUtils.isEmpty(str10)) {
                            }
                            l10 = l1Var2.l();
                            switch (l10) {
                            }
                            if (l10 != 0) {
                            }
                            j0Var.B = "";
                            j0Var.C = "";
                            if (z2) {
                            }
                            resources = context2.getResources();
                            identifier = resources.getIdentifier("google_app_id", "string", TextUtils.isEmpty(str3) ? str3 : y1.b(context2));
                            if (identifier != 0) {
                            }
                            string = null;
                            if (!TextUtils.isEmpty(string)) {
                            }
                            j0Var.B = str4;
                            if (!TextUtils.isEmpty(string)) {
                            }
                            if (z10) {
                            }
                            j0Var.f7078y = null;
                            e eVar4 = l1Var2.f7110w;
                            eVar4.getClass();
                            b5.b0.e("analytics.safelisted_events");
                            o10 = eVar4.o();
                            if (o10 == null) {
                            }
                            valueOf = null;
                            if (valueOf != null) {
                            }
                            asList = null;
                            if (asList != null) {
                            }
                            j0Var.f7078y = asList;
                            if (packageManager == null) {
                            }
                            l1Var2.W.incrementAndGet();
                            j0Var.f6889r = true;
                            n0 n0Var = l1Var.f7112y;
                            l1.h(n0Var);
                            w0 w0Var = n0Var.B;
                            w0Var.f(102001L, "App measurement initialized, version");
                            l1.h(n0Var);
                            w0Var.g("To enable debug logging run: adb shell setprop log.tag.FA VERBOSE");
                            String p10 = b0Var.p();
                            isEmpty = TextUtils.isEmpty(l1Var.f7105r);
                            eVar = l1Var.f7110w;
                            if (isEmpty) {
                            }
                            l1.h(n0Var);
                            n0Var.C.g("Debug-level message logging enabled");
                            i10 = l1Var.U;
                            atomicInteger = l1Var.W;
                            if (i10 != atomicInteger.get()) {
                            }
                            l1Var.N = true;
                            p5.y0 y0Var2 = z1Var.f7453g;
                            g1 g1Var2 = l1Var.f7113z;
                            l1.h(g1Var2);
                            g1Var2.h();
                            g9.a();
                            if (eVar.v(null, w.G0)) {
                            }
                            l1.e(v0Var);
                            w1 t11 = v0Var.t();
                            s6.a();
                            g0 g0Var = w.W0;
                            v10 = eVar.v(null, g0Var);
                            v1 v1Var = v1.ANALYTICS_STORAGE;
                            u1 u1Var = u1.UNINITIALIZED;
                            long j10 = l1Var.X;
                            b2 b2Var = l1Var.F;
                            e4 e4Var6 = e4Var2;
                            int i13 = t11.f7377b;
                            if (v10) {
                            }
                        }
                    }
                }
                packageInfo = packageManager.getPackageInfo(context2.getPackageName(), 0);
                if (packageInfo != null) {
                }
            } catch (PackageManager.NameNotFoundException unused4) {
                str = "Unknown";
            }
            str5 = str7;
        }
        z1Var = z1Var2;
        String str82 = str5;
        String str92 = str6;
        int i122 = i11;
        j0Var.f7072s = packageName;
        j0Var.f7075v = str82;
        j0Var.f7073t = str92;
        j0Var.f7074u = i122;
        j0Var.f7076w = 0L;
        String str102 = l1Var2.f7105r;
        z2 = TextUtils.isEmpty(str102) && "am".equals(l1Var2.f7106s);
        l10 = l1Var2.l();
        switch (l10) {
            case 0:
                e4Var = e4Var5;
                j0Var.b().D.g("App measurement collection enabled");
                break;
            case 1:
                e4Var = e4Var5;
                j0Var.b().B.g("App measurement deactivated via the manifest");
                break;
            case j.FLOAT_FIELD_NUMBER:
                e4Var = e4Var5;
                j0Var.b().D.g("App measurement deactivated via the init parameters");
                break;
            case j.INTEGER_FIELD_NUMBER:
                e4Var = e4Var5;
                j0Var.b().B.g("App measurement disabled by setAnalyticsCollectionEnabled(false)");
                break;
            case j.LONG_FIELD_NUMBER:
                e4Var = e4Var5;
                j0Var.b().B.g("App measurement disabled via the manifest");
                break;
            case j.STRING_FIELD_NUMBER:
                e4Var = e4Var5;
                j0Var.b().D.g("App measurement disabled via the init parameters");
                break;
            case j.STRING_SET_FIELD_NUMBER:
                e4Var = e4Var5;
                j0Var.b().A.g("App measurement deactivated via resources. This method is being deprecated. Please refer to https://firebase.google.com/support/guides/disable-analytics");
                break;
            case j.DOUBLE_FIELD_NUMBER:
                e4Var = e4Var5;
                j0Var.b().B.g(JkEzJnEnT.UCSeWPuaWFACQ);
                break;
            case 8:
                e4Var = e4Var5;
                j0Var.b().B.g("App measurement disabled due to denied storage consent");
                break;
            default:
                e4Var = e4Var5;
                j0Var.b().B.g("App measurement disabled");
                j0Var.b().f7152w.g("Invalid scion state in identity");
                break;
        }
        z10 = l10 != 0;
        j0Var.B = "";
        j0Var.C = "";
        if (z2) {
            j0Var.C = str102;
        }
        try {
            resources = context2.getResources();
            identifier = resources.getIdentifier("google_app_id", "string", TextUtils.isEmpty(str3) ? str3 : y1.b(context2));
        } catch (IllegalStateException e9) {
            j0Var.b().f7151v.e(n0.o(packageName), e9, "Fetching Google App Id failed with exception. appId");
        }
        if (identifier != 0) {
            try {
                string = resources.getString(identifier);
            } catch (Resources.NotFoundException unused5) {
            }
            if (!TextUtils.isEmpty(string)) {
                str4 = string;
            }
            j0Var.B = str4;
            if (!TextUtils.isEmpty(string)) {
                Resources resources2 = context2.getResources();
                if (TextUtils.isEmpty(str3)) {
                    str3 = y1.b(context2);
                }
                int identifier2 = resources2.getIdentifier("admob_app_id", "string", str3);
                if (identifier2 != 0) {
                    try {
                        string2 = resources2.getString(identifier2);
                    } catch (Resources.NotFoundException unused6) {
                    }
                    j0Var.C = string2;
                }
                string2 = null;
                j0Var.C = string2;
            }
            if (z10) {
                j0Var.b().D.e(j0Var.f7072s, TextUtils.isEmpty(j0Var.B) ? j0Var.C : j0Var.B, "App measurement enabled for app package, google app id");
            }
            j0Var.f7078y = null;
            e eVar42 = l1Var2.f7110w;
            eVar42.getClass();
            b5.b0.e("analytics.safelisted_events");
            o10 = eVar42.o();
            if (o10 == null) {
                eVar42.b().f7151v.g("Failed to load metadata: Metadata bundle is null");
            } else if (o10.containsKey("analytics.safelisted_events")) {
                valueOf = Integer.valueOf(o10.getInt("analytics.safelisted_events"));
                if (valueOf != null) {
                    try {
                        stringArray = ((l1) eVar42.f4562q).f7104q.getResources().getStringArray(valueOf.intValue());
                    } catch (Resources.NotFoundException e10) {
                        eVar42.b().f7151v.f(e10, "Failed to load string array from metadata: resource not found");
                    }
                    if (stringArray != null) {
                        asList = Arrays.asList(stringArray);
                        if (asList != null) {
                            if (asList.isEmpty()) {
                                j0Var.b().A.g("Safelisted event list is empty. Ignoring");
                            } else {
                                Iterator it2 = asList.iterator();
                                while (it2.hasNext()) {
                                    if (!j0Var.f().f0("safelisted event", (String) it2.next())) {
                                    }
                                }
                            }
                            if (packageManager == null) {
                                j0Var.A = h5.a.y(context2) ? 1 : 0;
                            } else {
                                j0Var.A = 0;
                            }
                            l1Var2.W.incrementAndGet();
                            j0Var.f6889r = true;
                            n0 n0Var2 = l1Var.f7112y;
                            l1.h(n0Var2);
                            w0 w0Var2 = n0Var2.B;
                            w0Var2.f(102001L, "App measurement initialized, version");
                            l1.h(n0Var2);
                            w0Var2.g("To enable debug logging run: adb shell setprop log.tag.FA VERBOSE");
                            String p102 = b0Var.p();
                            isEmpty = TextUtils.isEmpty(l1Var.f7105r);
                            eVar = l1Var.f7110w;
                            if (isEmpty) {
                                e4Var2 = e4Var;
                            } else {
                                e4Var2 = e4Var;
                                if (e4Var2.j0(p102, eVar.f6957s)) {
                                    l1.h(n0Var2);
                                    w0Var2.g("Faster debug mode event logging enabled. To disable, run:\n  adb shell setprop debug.firebase.analytics.app .none.");
                                } else {
                                    l1.h(n0Var2);
                                    w0Var2.g(YNJEQVNRJQQWb.udUg + p102);
                                }
                            }
                            l1.h(n0Var2);
                            n0Var2.C.g("Debug-level message logging enabled");
                            i10 = l1Var.U;
                            atomicInteger = l1Var.W;
                            if (i10 != atomicInteger.get()) {
                                l1.h(n0Var2);
                                n0Var2.f7151v.e(Integer.valueOf(l1Var.U), Integer.valueOf(atomicInteger.get()), "Not all components initialized");
                            }
                            l1Var.N = true;
                            p5.y0 y0Var22 = z1Var.f7453g;
                            g1 g1Var22 = l1Var.f7113z;
                            l1.h(g1Var22);
                            g1Var22.h();
                            g9.a();
                            if (eVar.v(null, w.G0)) {
                                l1.e(e4Var2);
                                e4Var2.h();
                                if (e4Var2.o0() == 1) {
                                    e4Var2.h();
                                    IntentFilter intentFilter = new IntentFilter();
                                    intentFilter.addAction("com.google.android.gms.measurement.TRIGGERS_AVAILABLE");
                                    l1 l1Var3 = (l1) e4Var2.f4562q;
                                    u uVar = new u(l1Var3);
                                    Context context3 = l1Var3.f7104q;
                                    if (Build.VERSION.SDK_INT >= 33) {
                                        c0.e.a(context3, uVar, intentFilter, null, null, 2);
                                    } else {
                                        c0.d.a(context3, uVar, intentFilter, null, null, 2);
                                    }
                                    e4Var2.b().C.g("Registered app receiver");
                                }
                            }
                            l1.e(v0Var);
                            w1 t112 = v0Var.t();
                            s6.a();
                            g0 g0Var2 = w.W0;
                            v10 = eVar.v(null, g0Var2);
                            v1 v1Var2 = v1.ANALYTICS_STORAGE;
                            u1 u1Var2 = u1.UNINITIALIZED;
                            long j102 = l1Var.X;
                            b2 b2Var2 = l1Var.F;
                            e4 e4Var62 = e4Var2;
                            int i132 = t112.f7377b;
                            if (v10) {
                                v0Var2 = v0Var;
                                w1Var = t112;
                                Boolean t12 = eVar.t("google_analytics_default_allow_ad_storage");
                                Boolean t13 = eVar.t("google_analytics_default_allow_analytics_storage");
                                if (!(t12 == null && t13 == null) && v0Var2.n(-10)) {
                                    w1Var2 = new w1(t12, t13, -10);
                                } else {
                                    if (!TextUtils.isEmpty(l1Var.o().q()) && (i132 == 0 || i132 == 30 || i132 == 10 || i132 == 30 || i132 == 30 || i132 == 40)) {
                                        l1.f(b2Var2);
                                        b2Var2.A(new w1(null, null, -10), j102, false);
                                    } else if (TextUtils.isEmpty(l1Var.o().q()) && y0Var22 != null && (bundle = y0Var22.f5698w) != null && v0Var2.n(30)) {
                                        w1Var2 = w1.e(30, bundle);
                                    }
                                    w1Var2 = null;
                                }
                                if (w1Var2 != null) {
                                }
                                l1.f(b2Var2);
                                b2Var2.z(w1Var2);
                                v0Var2.h();
                                int i14 = o.c(v0Var2.r().getString("dma_consent_settings", null)).f7168a;
                                s6.a();
                                if (eVar.v(null, g0Var2)) {
                                }
                                t10 = eVar.t("google_analytics_tcf_data_enabled");
                                if (t10 == null ? true : t10.booleanValue()) {
                                }
                                y0Var = v0Var2.f7295w;
                                if (y0Var.a() == 0) {
                                }
                                l1.f(b2Var2);
                                b1Var = b2Var2.G;
                                if (b1Var.c()) {
                                }
                                if (l1Var.k()) {
                                }
                                z13 = false;
                                g9.a();
                                if (eVar3.v(null, w.G0)) {
                                }
                                v0Var2.F.a(true);
                                return;
                            }
                            u1 r5 = eVar.r("google_analytics_default_allow_ad_storage", false);
                            u1 r10 = eVar.r("google_analytics_default_allow_analytics_storage", false);
                            if (r5 == u1Var2 && r10 == u1Var2) {
                                v0Var2 = v0Var;
                                w1Var = t112;
                            } else {
                                v0Var2 = v0Var;
                                w1Var = t112;
                                if (v0Var2.n(-10)) {
                                    EnumMap enumMap = new EnumMap(v1.class);
                                    enumMap.put((EnumMap) v1.AD_STORAGE, (v1) r5);
                                    enumMap.put((EnumMap) v1Var2, (v1) r10);
                                    w1Var2 = new w1(enumMap, -10);
                                    if (w1Var2 != null) {
                                        l1.f(b2Var2);
                                        b2Var2.A(w1Var2, j102, eVar.v(null, w.Z0));
                                    } else {
                                        w1Var2 = w1Var;
                                    }
                                    l1.f(b2Var2);
                                    b2Var2.z(w1Var2);
                                    v0Var2.h();
                                    int i142 = o.c(v0Var2.r().getString("dma_consent_settings", null)).f7168a;
                                    s6.a();
                                    if (eVar.v(null, g0Var2)) {
                                        u1 r11 = eVar.r("google_analytics_default_allow_ad_personalization_signals", true);
                                        if (r11 != u1Var2) {
                                            l1.h(n0Var2);
                                            n0Var2.D.f(r11, "Default ad personalization consent from Manifest");
                                            z14 = true;
                                        } else {
                                            z14 = true;
                                        }
                                        u1 r12 = eVar.r("google_analytics_default_allow_ad_user_data", z14);
                                        if (r12 != u1Var2 && w1.h(-10, i142)) {
                                            l1.f(b2Var2);
                                            EnumMap enumMap2 = new EnumMap(v1.class);
                                            enumMap2.put((EnumMap) v1.AD_USER_DATA, (v1) r12);
                                            b2Var2.y(new o(enumMap2, -10, (Boolean) null, (String) null), eVar.v(null, w.Z0));
                                        }
                                        if (TextUtils.isEmpty(l1Var.o().q()) && (i142 == 0 || i142 == 30)) {
                                            l1.f(b2Var2);
                                            b2Var2.y(new o(-10, (Boolean) null, (Boolean) null, (String) null), eVar.v(null, w.Z0));
                                        } else {
                                            if (TextUtils.isEmpty(l1Var.o().q()) && y0Var22 != null && (bundle3 = y0Var22.f5698w) != null && w1.h(30, i142)) {
                                                o b4 = o.b(30, bundle3);
                                                it = b4.f7172e.values().iterator();
                                                while (true) {
                                                    if (it.hasNext()) {
                                                        if (((u1) it.next()) != u1Var2) {
                                                            l1.f(b2Var2);
                                                            b2Var2.y(b4, eVar.v(null, w.Z0));
                                                        }
                                                    }
                                                }
                                            }
                                            if (TextUtils.isEmpty(l1Var.o().q()) && y0Var22 != null && (bundle2 = y0Var22.f5698w) != null && v0Var2.D.a() == null && (a10 = o.a(bundle2)) != null) {
                                                l1.f(b2Var2);
                                                b2Var2.w(y0Var22.f5696u, "allow_personalized_ads", a10.toString(), false);
                                            }
                                        }
                                    } else {
                                        Boolean t14 = eVar.t("google_analytics_default_allow_ad_user_data");
                                        if (t14 != null && w1.h(-10, i142)) {
                                            l1.f(b2Var2);
                                            b2Var2.y(new o(-10, t14, (Boolean) null, (String) null), eVar.v(null, w.Z0));
                                        }
                                        if (TextUtils.isEmpty(l1Var.o().q())) {
                                        }
                                        if (TextUtils.isEmpty(l1Var.o().q())) {
                                            o b42 = o.b(30, bundle3);
                                            it = b42.f7172e.values().iterator();
                                            while (true) {
                                                if (it.hasNext()) {
                                                }
                                            }
                                        }
                                        if (TextUtils.isEmpty(l1Var.o().q())) {
                                            l1.f(b2Var2);
                                            b2Var2.w(y0Var22.f5696u, "allow_personalized_ads", a10.toString(), false);
                                        }
                                    }
                                    t10 = eVar.t("google_analytics_tcf_data_enabled");
                                    if (t10 == null ? true : t10.booleanValue()) {
                                        l1.h(n0Var2);
                                        n0Var2.C.g("TCF client enabled.");
                                        l1.f(b2Var2);
                                        b2Var2.h();
                                        b2Var2.b().C.g("Register tcfPrefChangeListener.");
                                        if (b2Var2.J == null) {
                                            b2Var2.K = new h2(b2Var2, (l1) b2Var2.f4562q, 1);
                                            ?? obj = new Object();
                                            obj.f7011q = b2Var2;
                                            b2Var2.J = obj;
                                        }
                                        b2Var2.c().q().registerOnSharedPreferenceChangeListener(b2Var2.J);
                                        l1.f(b2Var2);
                                        b2Var2.I();
                                    }
                                    y0Var = v0Var2.f7295w;
                                    if (y0Var.a() == 0) {
                                        l1.h(n0Var2);
                                        n0Var2.D.f(Long.valueOf(j102), TVfZ.cAXkJn);
                                        y0Var.b(j102);
                                    }
                                    l1.f(b2Var2);
                                    b1Var = b2Var2.G;
                                    if (b1Var.c() && b1Var.d()) {
                                        v0 v0Var4 = b1Var.f6891b.f7111x;
                                        l1.e(v0Var4);
                                        v0Var4.N.e(null);
                                    }
                                    if (l1Var.k()) {
                                        boolean isEmpty2 = TextUtils.isEmpty(l1Var.o().q());
                                        a3.e eVar5 = v0Var2.f7296x;
                                        if (isEmpty2) {
                                            j0 o11 = l1Var.o();
                                            o11.m();
                                            if (TextUtils.isEmpty(o11.C)) {
                                                e4Var3 = e4Var62;
                                                eVar2 = eVar;
                                                if (!v0Var2.t().i(v1Var2)) {
                                                    eVar5.e(null);
                                                }
                                                l1.f(b2Var2);
                                                b2Var2.M(eVar5.a());
                                                l1.e(e4Var3);
                                                e4Var4 = e4Var3;
                                                ((l1) e4Var4.f4562q).f7104q.getClassLoader().loadClass("com.google.firebase.remoteconfig.FirebaseRemoteConfig");
                                                z11 = true;
                                                if (!z11) {
                                                    a3.e eVar6 = v0Var2.M;
                                                    if (!TextUtils.isEmpty(eVar6.a())) {
                                                        l1.h(n0Var2);
                                                        n0Var2.f7154y.g("Remote config removed with active feature rollouts");
                                                        eVar6.e(null);
                                                    }
                                                }
                                                if (TextUtils.isEmpty(l1Var.o().q())) {
                                                    j0 o12 = l1Var.o();
                                                    o12.m();
                                                    if (TextUtils.isEmpty(o12.C)) {
                                                        eVar3 = eVar2;
                                                    }
                                                }
                                                j = l1Var.j();
                                                sharedPreferences = v0Var2.f7291s;
                                                if (sharedPreferences != null) {
                                                    z12 = false;
                                                } else {
                                                    sharedPreferences.contains("deferred_analytics_collection");
                                                    z12 = false;
                                                }
                                                if (z12) {
                                                    eVar3 = eVar2;
                                                    Boolean t15 = eVar3.t("firebase_analytics_collection_deactivated");
                                                    if (!(t15 != null && t15.booleanValue())) {
                                                        v0Var2.p(!j);
                                                    }
                                                } else {
                                                    eVar3 = eVar2;
                                                }
                                                if (j) {
                                                    l1.f(b2Var2);
                                                    b2Var2.F();
                                                }
                                                l3 l3Var = l1Var.A;
                                                l1.f(l3Var);
                                                l3Var.f7124u.k();
                                                l1Var.r().q(new AtomicReference());
                                                x2 r13 = l1Var.r();
                                                Bundle e11 = v0Var2.P.e();
                                                r13.h();
                                                r13.m();
                                                z13 = false;
                                                r13.p(new c3(r13, r13.B(false), e11, 0));
                                                g9.a();
                                                if (eVar3.v(null, w.G0)) {
                                                    l1.e(e4Var4);
                                                    e4Var4.h();
                                                    if (e4Var4.o0() == 1) {
                                                        z13 = true;
                                                    }
                                                    if (z13) {
                                                        l1.f(b2Var2);
                                                        k1 k1Var = new k1(0);
                                                        k1Var.f7093r = b2Var2;
                                                        new Thread(k1Var).start();
                                                    }
                                                }
                                                v0Var2.F.a(true);
                                                return;
                                            }
                                        }
                                        l1Var.s();
                                        String q10 = l1Var.o().q();
                                        v0Var2.h();
                                        String string3 = v0Var2.r().getString("gmp_app_id", null);
                                        j0 o13 = l1Var.o();
                                        o13.m();
                                        String str11 = o13.C;
                                        v0Var2.h();
                                        eVar2 = eVar;
                                        e4Var3 = e4Var62;
                                        if (e4.V(q10, string3, str11, v0Var2.r().getString("admob_app_id", null))) {
                                            l1.h(n0Var2);
                                            n0Var2.B.g("Rechecking which service to use due to a GMP App Id change");
                                            v0Var2.h();
                                            v0Var2.h();
                                            v0Var2.r().contains("measurement_enabled");
                                            Boolean valueOf2 = 0 != 0 ? Boolean.valueOf(v0Var2.r().getBoolean("measurement_enabled", true)) : null;
                                            SharedPreferences.Editor edit2 = v0Var2.r().edit();
                                            edit2.clear();
                                            edit2.apply();
                                            if (valueOf2 != null) {
                                                v0Var2.h();
                                                SharedPreferences.Editor edit3 = v0Var2.r().edit();
                                                edit3.putBoolean("measurement_enabled", valueOf2.booleanValue());
                                                edit3.apply();
                                            }
                                            l1Var.p().r();
                                            l1Var.K.v();
                                            l1Var.K.u();
                                            y0Var.b(j102);
                                            eVar5.e(null);
                                        }
                                        String q11 = l1Var.o().q();
                                        v0Var2.h();
                                        SharedPreferences.Editor edit4 = v0Var2.r().edit();
                                        edit4.putString("gmp_app_id", q11);
                                        edit4.apply();
                                        j0 o14 = l1Var.o();
                                        o14.m();
                                        String str12 = o14.C;
                                        v0Var2.h();
                                        SharedPreferences.Editor edit5 = v0Var2.r().edit();
                                        edit5.putString("admob_app_id", str12);
                                        edit5.apply();
                                        if (!v0Var2.t().i(v1Var2)) {
                                        }
                                        l1.f(b2Var2);
                                        b2Var2.M(eVar5.a());
                                        l1.e(e4Var3);
                                        e4Var4 = e4Var3;
                                        ((l1) e4Var4.f4562q).f7104q.getClassLoader().loadClass("com.google.firebase.remoteconfig.FirebaseRemoteConfig");
                                        z11 = true;
                                        if (!z11) {
                                        }
                                        if (TextUtils.isEmpty(l1Var.o().q())) {
                                        }
                                        j = l1Var.j();
                                        sharedPreferences = v0Var2.f7291s;
                                        if (sharedPreferences != null) {
                                        }
                                        if (z12) {
                                        }
                                        if (j) {
                                        }
                                        l3 l3Var2 = l1Var.A;
                                        l1.f(l3Var2);
                                        l3Var2.f7124u.k();
                                        l1Var.r().q(new AtomicReference());
                                        x2 r132 = l1Var.r();
                                        Bundle e112 = v0Var2.P.e();
                                        r132.h();
                                        r132.m();
                                        z13 = false;
                                        r132.p(new c3(r132, r132.B(false), e112, 0));
                                        g9.a();
                                        if (eVar3.v(null, w.G0)) {
                                        }
                                        v0Var2.F.a(true);
                                        return;
                                    }
                                    if (l1Var.j()) {
                                        l1.e(e4Var62);
                                        if (!e4Var62.k0("android.permission.INTERNET")) {
                                            l1.h(n0Var2);
                                            n0Var2.f7151v.g("App is missing INTERNET permission");
                                        }
                                        if (!e4Var62.k0("android.permission.ACCESS_NETWORK_STATE")) {
                                            l1.h(n0Var2);
                                            n0Var2.f7151v.g("App is missing ACCESS_NETWORK_STATE permission");
                                        }
                                        Context context4 = l1Var.f7104q;
                                        if (!h5.c.a(context4).d() && !eVar.n()) {
                                            if (!e4.O(context4)) {
                                                l1.h(n0Var2);
                                                n0Var2.f7151v.g(dixlqwylpDnb.yAuwP);
                                            }
                                            if (!e4.h0(context4)) {
                                                l1.h(n0Var2);
                                                n0Var2.f7151v.g("AppMeasurementService not registered/enabled");
                                            }
                                        }
                                        l1.h(n0Var2);
                                        n0Var2.f7151v.g("Uploading is not possible. App measurement disabled");
                                        e4Var4 = e4Var62;
                                        eVar3 = eVar;
                                    } else {
                                        eVar3 = eVar;
                                        e4Var4 = e4Var62;
                                    }
                                    z13 = false;
                                    g9.a();
                                    if (eVar3.v(null, w.G0)) {
                                    }
                                    v0Var2.F.a(true);
                                    return;
                                }
                            }
                            if (!TextUtils.isEmpty(l1Var.o().q()) && (i132 == 0 || i132 == 30 || i132 == 10 || i132 == 30 || i132 == 30 || i132 == 40)) {
                                l1.f(b2Var2);
                                b2Var2.A(new w1(null, null, -10), j102, false);
                            } else if (TextUtils.isEmpty(l1Var.o().q()) && y0Var22 != null && (bundle4 = y0Var22.f5698w) != null && v0Var2.n(30)) {
                                w1Var2 = w1.e(30, bundle4);
                            }
                            w1Var2 = null;
                            if (w1Var2 != null) {
                            }
                            l1.f(b2Var2);
                            b2Var2.z(w1Var2);
                            v0Var2.h();
                            int i1422 = o.c(v0Var2.r().getString("dma_consent_settings", null)).f7168a;
                            s6.a();
                            if (eVar.v(null, g0Var2)) {
                            }
                            t10 = eVar.t("google_analytics_tcf_data_enabled");
                            if (t10 == null ? true : t10.booleanValue()) {
                            }
                            y0Var = v0Var2.f7295w;
                            if (y0Var.a() == 0) {
                            }
                            l1.f(b2Var2);
                            b1Var = b2Var2.G;
                            if (b1Var.c()) {
                                v0 v0Var42 = b1Var.f6891b.f7111x;
                                l1.e(v0Var42);
                                v0Var42.N.e(null);
                            }
                            if (l1Var.k()) {
                            }
                            z13 = false;
                            g9.a();
                            if (eVar3.v(null, w.G0)) {
                            }
                            v0Var2.F.a(true);
                            return;
                        }
                        j0Var.f7078y = asList;
                        if (packageManager == null) {
                        }
                        l1Var2.W.incrementAndGet();
                        j0Var.f6889r = true;
                        n0 n0Var22 = l1Var.f7112y;
                        l1.h(n0Var22);
                        w0 w0Var22 = n0Var22.B;
                        w0Var22.f(102001L, "App measurement initialized, version");
                        l1.h(n0Var22);
                        w0Var22.g("To enable debug logging run: adb shell setprop log.tag.FA VERBOSE");
                        String p1022 = b0Var.p();
                        isEmpty = TextUtils.isEmpty(l1Var.f7105r);
                        eVar = l1Var.f7110w;
                        if (isEmpty) {
                        }
                        l1.h(n0Var22);
                        n0Var22.C.g("Debug-level message logging enabled");
                        i10 = l1Var.U;
                        atomicInteger = l1Var.W;
                        if (i10 != atomicInteger.get()) {
                        }
                        l1Var.N = true;
                        p5.y0 y0Var222 = z1Var.f7453g;
                        g1 g1Var222 = l1Var.f7113z;
                        l1.h(g1Var222);
                        g1Var222.h();
                        g9.a();
                        if (eVar.v(null, w.G0)) {
                        }
                        l1.e(v0Var);
                        w1 t1122 = v0Var.t();
                        s6.a();
                        g0 g0Var22 = w.W0;
                        v10 = eVar.v(null, g0Var22);
                        v1 v1Var22 = v1.ANALYTICS_STORAGE;
                        u1 u1Var22 = u1.UNINITIALIZED;
                        long j1022 = l1Var.X;
                        b2 b2Var22 = l1Var.F;
                        e4 e4Var622 = e4Var2;
                        int i1322 = t1122.f7377b;
                        if (v10) {
                        }
                    }
                }
                asList = null;
                if (asList != null) {
                }
                j0Var.f7078y = asList;
                if (packageManager == null) {
                }
                l1Var2.W.incrementAndGet();
                j0Var.f6889r = true;
                n0 n0Var222 = l1Var.f7112y;
                l1.h(n0Var222);
                w0 w0Var222 = n0Var222.B;
                w0Var222.f(102001L, "App measurement initialized, version");
                l1.h(n0Var222);
                w0Var222.g("To enable debug logging run: adb shell setprop log.tag.FA VERBOSE");
                String p10222 = b0Var.p();
                isEmpty = TextUtils.isEmpty(l1Var.f7105r);
                eVar = l1Var.f7110w;
                if (isEmpty) {
                }
                l1.h(n0Var222);
                n0Var222.C.g("Debug-level message logging enabled");
                i10 = l1Var.U;
                atomicInteger = l1Var.W;
                if (i10 != atomicInteger.get()) {
                }
                l1Var.N = true;
                p5.y0 y0Var2222 = z1Var.f7453g;
                g1 g1Var2222 = l1Var.f7113z;
                l1.h(g1Var2222);
                g1Var2222.h();
                g9.a();
                if (eVar.v(null, w.G0)) {
                }
                l1.e(v0Var);
                w1 t11222 = v0Var.t();
                s6.a();
                g0 g0Var222 = w.W0;
                v10 = eVar.v(null, g0Var222);
                v1 v1Var222 = v1.ANALYTICS_STORAGE;
                u1 u1Var222 = u1.UNINITIALIZED;
                long j10222 = l1Var.X;
                b2 b2Var222 = l1Var.F;
                e4 e4Var6222 = e4Var2;
                int i13222 = t11222.f7377b;
                if (v10) {
                }
            }
            valueOf = null;
            if (valueOf != null) {
            }
            asList = null;
            if (asList != null) {
            }
            j0Var.f7078y = asList;
            if (packageManager == null) {
            }
            l1Var2.W.incrementAndGet();
            j0Var.f6889r = true;
            n0 n0Var2222 = l1Var.f7112y;
            l1.h(n0Var2222);
            w0 w0Var2222 = n0Var2222.B;
            w0Var2222.f(102001L, "App measurement initialized, version");
            l1.h(n0Var2222);
            w0Var2222.g("To enable debug logging run: adb shell setprop log.tag.FA VERBOSE");
            String p102222 = b0Var.p();
            isEmpty = TextUtils.isEmpty(l1Var.f7105r);
            eVar = l1Var.f7110w;
            if (isEmpty) {
            }
            l1.h(n0Var2222);
            n0Var2222.C.g("Debug-level message logging enabled");
            i10 = l1Var.U;
            atomicInteger = l1Var.W;
            if (i10 != atomicInteger.get()) {
            }
            l1Var.N = true;
            p5.y0 y0Var22222 = z1Var.f7453g;
            g1 g1Var22222 = l1Var.f7113z;
            l1.h(g1Var22222);
            g1Var22222.h();
            g9.a();
            if (eVar.v(null, w.G0)) {
            }
            l1.e(v0Var);
            w1 t112222 = v0Var.t();
            s6.a();
            g0 g0Var2222 = w.W0;
            v10 = eVar.v(null, g0Var2222);
            v1 v1Var2222 = v1.ANALYTICS_STORAGE;
            u1 u1Var2222 = u1.UNINITIALIZED;
            long j102222 = l1Var.X;
            b2 b2Var2222 = l1Var.F;
            e4 e4Var62222 = e4Var2;
            int i132222 = t112222.f7377b;
            if (v10) {
            }
        }
        string = null;
        if (!TextUtils.isEmpty(string)) {
        }
        j0Var.B = str4;
        if (!TextUtils.isEmpty(string)) {
        }
        if (z10) {
        }
        j0Var.f7078y = null;
        e eVar422 = l1Var2.f7110w;
        eVar422.getClass();
        b5.b0.e("analytics.safelisted_events");
        o10 = eVar422.o();
        if (o10 == null) {
        }
        valueOf = null;
        if (valueOf != null) {
        }
        asList = null;
        if (asList != null) {
        }
        j0Var.f7078y = asList;
        if (packageManager == null) {
        }
        l1Var2.W.incrementAndGet();
        j0Var.f6889r = true;
        n0 n0Var22222 = l1Var.f7112y;
        l1.h(n0Var22222);
        w0 w0Var22222 = n0Var22222.B;
        w0Var22222.f(102001L, "App measurement initialized, version");
        l1.h(n0Var22222);
        w0Var22222.g("To enable debug logging run: adb shell setprop log.tag.FA VERBOSE");
        String p1022222 = b0Var.p();
        isEmpty = TextUtils.isEmpty(l1Var.f7105r);
        eVar = l1Var.f7110w;
        if (isEmpty) {
        }
        l1.h(n0Var22222);
        n0Var22222.C.g("Debug-level message logging enabled");
        i10 = l1Var.U;
        atomicInteger = l1Var.W;
        if (i10 != atomicInteger.get()) {
        }
        l1Var.N = true;
        p5.y0 y0Var222222 = z1Var.f7453g;
        g1 g1Var222222 = l1Var.f7113z;
        l1.h(g1Var222222);
        g1Var222222.h();
        g9.a();
        if (eVar.v(null, w.G0)) {
        }
        l1.e(v0Var);
        w1 t1122222 = v0Var.t();
        s6.a();
        g0 g0Var22222 = w.W0;
        v10 = eVar.v(null, g0Var22222);
        v1 v1Var22222 = v1.ANALYTICS_STORAGE;
        u1 u1Var22222 = u1.UNINITIALIZED;
        long j1022222 = l1Var.X;
        b2 b2Var22222 = l1Var.F;
        e4 e4Var622222 = e4Var2;
        int i1322222 = t1122222.f7377b;
        if (v10) {
        }
    }

    public void b() {
        boolean z2 = false;
        boolean z10 = false;
        while (true) {
            try {
                synchronized (((l) this.f3328s).f6388r) {
                    if (!z2) {
                        try {
                            l lVar = (l) this.f3328s;
                            if (lVar.f6389s != 4) {
                                lVar.f6390t++;
                                lVar.f6389s = 4;
                                z2 = true;
                            }
                        } catch (Throwable th) {
                            throw th;
                        }
                    }
                    Runnable runnable = (Runnable) ((l) this.f3328s).f6388r.poll();
                    this.f3327r = runnable;
                    if (runnable == null) {
                        ((l) this.f3328s).f6389s = 1;
                    }
                }
                if (z10) {
                    Thread.currentThread().interrupt();
                }
                return;
                this.f3327r = null;
            } catch (Throwable th2) {
                if (z10) {
                    Thread.currentThread().interrupt();
                }
                throw th2;
            }
        }
    }

    @Override
    public final void run() {
        h hVar;
        k kVar;
        Set set;
        boolean contains;
        k kVar2 = null;
        switch (this.f3326q) {
            case 0:
                k6.c cVar = (k6.c) this.f3328s;
                try {
                    h5.a.r((d) this.f3327r);
                    b2 b2Var = (b2) cVar.f3902s;
                    b2Var.h();
                    boolean v10 = ((l1) b2Var.f4562q).f7110w.v(null, w.L0);
                    q3 q3Var = (q3) cVar.f3901r;
                    String str = q3Var.f7223q;
                    if (!v10) {
                        b2Var.f6898y = false;
                        b2Var.J();
                        b2Var.b().C.f(str, "registerTriggerAsync ran. uri");
                        return;
                    }
                    SparseArray s8 = b2Var.c().s();
                    s8.put(q3Var.f7225s, Long.valueOf(q3Var.f7224r));
                    b2Var.c().m(s8);
                    b2Var.f6898y = false;
                    b2Var.f6899z = 1;
                    b2Var.b().C.f(str, "Successfully registered trigger URI");
                    b2Var.J();
                    return;
                } catch (Error e9) {
                    e = e9;
                    cVar.m(e);
                    return;
                } catch (RuntimeException e10) {
                    e = e10;
                    cVar.m(e);
                    return;
                } catch (ExecutionException e11) {
                    cVar.m(e11.getCause());
                    return;
                }
            case 1:
                a3.c cVar2 = (a3.c) this.f3327r;
                cVar2.getClass();
                g gVar = d0.f91l;
                cVar2.s(24, 9, gVar);
                v vVar = y.f6095r;
                ((r) this.f3328s).c(gVar, o0.f5986u);
                return;
            case j.FLOAT_FIELD_NUMBER:
                Future future = (Future) this.f3327r;
                if (future.isDone() || future.isCancelled()) {
                    return;
                }
                future.cancel(true);
                q5.u1.f("BillingClient", "Async task is taking too long, cancel it!");
                Runnable runnable = (Runnable) this.f3328s;
                if (runnable != null) {
                    runnable.run();
                    return;
                }
                return;
            case j.INTEGER_FIELD_NUMBER:
                a3.c cVar3 = (a3.c) this.f3327r;
                g gVar2 = d0.f91l;
                cVar3.s(24, 7, gVar2);
                ((r) this.f3328s).b(gVar2, new ArrayList());
                return;
            case j.LONG_FIELD_NUMBER:
                a3.c cVar4 = (a3.c) this.f3327r;
                g gVar3 = (g) this.f3328s;
                if (((b5.g) cVar4.f58e.f119c) != null) {
                    ((b5.g) cVar4.f58e.f119c).y(gVar3, null);
                    return;
                } else {
                    q5.u1.f("BillingClient", "No valid listener is set in BroadcastManager");
                    return;
                }
            case j.STRING_FIELD_NUMBER:
                a3.c cVar5 = (a3.c) this.f3327r;
                cVar5.getClass();
                g gVar4 = d0.f91l;
                cVar5.s(24, 3, gVar4);
                ((r) this.f3328s).a(gVar4);
                return;
            case j.STRING_SET_FIELD_NUMBER:
                h0 h0Var = (h0) this.f3328s;
                a5.o oVar = (a5.o) ((a5.e) h0Var.f122f).j.get((a5.b) h0Var.f119c);
                if (oVar == null) {
                    return;
                }
                y4.b bVar = (y4.b) this.f3327r;
                if ((bVar.f8824r == 0 ? 1 : 0) == 0) {
                    oVar.o(bVar, null);
                    return;
                }
                h0Var.f117a = true;
                z4.c cVar6 = (z4.c) h0Var.f118b;
                if (cVar6.l()) {
                    if (!h0Var.f117a || (kVar = (k) h0Var.f120d) == null) {
                        return;
                    }
                    cVar6.h(kVar, (Set) h0Var.f121e);
                    return;
                }
                try {
                    cVar6.h(null, cVar6.g());
                    return;
                } catch (SecurityException e12) {
                    Log.e("GoogleApiManager", "Failed to get service from broker. ", e12);
                    cVar6.j("Failed to get service from broker.");
                    oVar.o(new y4.b(10), null);
                    return;
                }
            case j.DOUBLE_FIELD_NUMBER:
                a3.b bVar2 = (a3.b) this.f3327r;
                i iVar = (i) this.f3328s;
                Object obj = bVar2.f51b;
                if (obj == null) {
                    return;
                }
                iVar.c(obj);
                return;
            case 8:
                f fVar = (f) this.f3327r;
                y4.b bVar3 = fVar.f8146r;
                r3 = bVar3.f8824r == 0 ? 1 : 0;
                a5.y yVar = (a5.y) this.f3328s;
                if (r3 != 0) {
                    b5.u uVar = fVar.f8147s;
                    b5.b0.i(uVar);
                    y4.b bVar4 = uVar.f926s;
                    if (bVar4.f8824r != 0) {
                        Log.wtf(kshuYJeM.APCqZv, zsoGWHxMxTNrZ.CUw.concat(String.valueOf(bVar4)), new Exception());
                        yVar.f280h.b(bVar4);
                        yVar.f279g.i();
                        return;
                    }
                    h0 h0Var2 = yVar.f280h;
                    IBinder iBinder = uVar.f925r;
                    if (iBinder != null) {
                        int i10 = b5.a.f806b;
                        IInterface queryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.common.internal.IAccountAccessor");
                        kVar2 = queryLocalInterface instanceof k ? (k) queryLocalInterface : new k5.a(iBinder, "com.google.android.gms.common.internal.IAccountAccessor", 2);
                    }
                    h0Var2.getClass();
                    if (kVar2 == null || (set = yVar.f277e) == null) {
                        Log.wtf("GoogleApiManager", "Received null response from onSignInSuccess", new Exception());
                        h0Var2.b(new y4.b(4));
                    } else {
                        h0Var2.f120d = kVar2;
                        h0Var2.f121e = set;
                        if (h0Var2.f117a) {
                            ((z4.c) h0Var2.f118b).h(kVar2, set);
                        }
                    }
                } else {
                    yVar.f280h.b(bVar3);
                }
                yVar.f279g.i();
                return;
            case 9:
                ((b0.d) this.f3327r).f729q = this.f3328s;
                return;
            case 10:
                ((Application) this.f3327r).unregisterActivityLifecycleCallbacks((b0.d) this.f3328s);
                return;
            case 11:
                try {
                    Method method = b0.e.f738d;
                    Object obj2 = this.f3328s;
                    Object obj3 = this.f3327r;
                    if (method != null) {
                        method.invoke(obj3, obj2, Boolean.FALSE, "AppCompat recreation");
                    } else {
                        b0.e.f739e.invoke(obj3, obj2, Boolean.FALSE);
                    }
                    return;
                } catch (RuntimeException e13) {
                    if (e13.getClass() == RuntimeException.class && e13.getMessage() != null && e13.getMessage().startsWith("Unable to stop")) {
                        throw e13;
                    }
                    return;
                } catch (Throwable th) {
                    Log.e("ActivityRecreator", "Exception while invoking performStopActivity", th);
                    return;
                }
            case 12:
                x0.d dVar = ((SwipeDismissBehavior) this.f3328s).f1831q;
                if (dVar != null && dVar.g()) {
                    WeakHashMap weakHashMap = p0.f5008a;
                    ((View) this.f3327r).postOnAnimation(this);
                }
                return;
            case 13:
                break;
            case 14:
                m4.b1 b1Var = (m4.b1) this.f3328s;
                i4.c cVar7 = (i4.c) this.f3327r;
                try {
                    cVar7.f3244b.w(m4.w1.a(cVar7.f3243a, b1Var));
                    return;
                } catch (RemoteException e14) {
                    p4.e.f(qmnbRDyvSYT.QUSwpEsLEOj, e14);
                    return;
                }
            case 15:
                i4.h hVar2 = (i4.h) this.f3327r;
                try {
                    hVar2.f3259q.b(((i4.d) this.f3328s).f3245a);
                } catch (IllegalStateException e15) {
                    x1.a(hVar2.getContext()).g(e15, "BaseAdView.loadAd");
                }
                return;
            case 16:
                Context context = (Context) this.f3327r;
                k5.i.a(context);
                k5.f fVar2 = k5.i.f3770d;
                m mVar = m.f4361d;
                if (!((Boolean) mVar.f4364c.a(fVar2)).booleanValue()) {
                    Bundle bundle = new Bundle();
                    k5.f fVar3 = k5.i.f3768b;
                    k5.h hVar3 = mVar.f4364c;
                    bundle.putBoolean("measurementEnabled", ((Boolean) hVar3.a(fVar3)).booleanValue());
                    if (((Boolean) hVar3.a(k5.i.f3769c)).booleanValue()) {
                        bundle.putString("ad_storage", "denied");
                        bundle.putString("analytics_storage", "denied");
                    }
                    o7.b bVar5 = d1.e(context, "FA-Ads", "am", (String) this.f3328s, bundle).f5334d;
                    try {
                        f2 f2Var = (f2) p4.e.b(context, "com.google.android.gms.ads.measurement.DynamiteMeasurementManager", new s7.b(13));
                        i5.b bVar6 = new i5.b(context);
                        k5.p0 p0Var = new k5.p0(bVar5);
                        d2 d2Var = (d2) f2Var;
                        Parcel n10 = d2Var.n();
                        k5.c.e(n10, bVar6);
                        k5.c.e(n10, p0Var);
                        d2Var.w0(n10, 2);
                    } catch (RemoteException e16) {
                        e = e16;
                        p4.e.i(e);
                        return;
                    } catch (zzp e17) {
                        e = e17;
                        p4.e.i(e);
                        return;
                    } catch (NullPointerException e18) {
                        e = e18;
                        p4.e.i(e);
                        return;
                    }
                }
                return;
            case 17:
                ((s7.b) this.f3327r).n((String) this.f3328s);
                return;
            case 18:
                e0.b bVar7 = (e0.b) ((a3.j) this.f3327r).f134r;
                if (bVar7 != null) {
                    bVar7.j((Typeface) this.f3328s);
                }
                return;
            case 19:
                ((l0.c) this.f3327r).a(this.f3328s);
                return;
            case 20:
                e1 e1Var = (e1) this.f3327r;
                e1Var.getClass();
                e1Var.f4321k.addView((View) i5.b.w0((i5.a) this.f3328s));
                return;
            case 21:
                m2.m d10 = m2.m.d();
                int i11 = o2.a.f5045d;
                v2.i iVar2 = (v2.i) this.f3327r;
                d10.a(new Throwable[0]);
                ((o2.a) this.f3328s).f5046a.e(iVar2);
                return;
            case 22:
                try {
                    b();
                    return;
                } catch (Error e19) {
                    synchronized (((l) this.f3328s).f6388r) {
                        try {
                            ((l) this.f3328s).f6389s = 1;
                            throw e19;
                        } catch (Throwable th2) {
                            throw th2;
                        }
                    }
                }
            case 23:
                Iterator it = ((ArrayList) this.f3327r).iterator();
                while (it.hasNext()) {
                    s2.b bVar8 = (s2.b) it.next();
                    Object obj4 = ((t2.d) this.f3328s).f6505e;
                    bVar8.f6468b = obj4;
                    bVar8.d(bVar8.f6470d, obj4);
                }
                return;
            case 24:
                ((t1) this.f3327r).d();
                if (n8.e.n()) {
                    ((t1) this.f3327r).g().r(this);
                } else {
                    r3 = ((v5.m) this.f3328s).f7130c != 0 ? 1 : 0;
                    ((v5.m) this.f3328s).f7130c = 0L;
                    if (r3 != 0) {
                        ((v5.m) this.f3328s).c();
                    }
                }
                return;
            case 25:
                a1 a1Var = (a1) this.f3328s;
                b1 b1Var2 = a1Var.f6879b;
                l1 l1Var = b1Var2.f6891b;
                g1 g1Var = l1Var.f7113z;
                l1.h(g1Var);
                g1Var.h();
                i0 i0Var = (i0) this.f3327r;
                n0 n0Var = l1Var.f7112y;
                Bundle bundle2 = new Bundle();
                bundle2.putString("package_name", a1Var.f6878a);
                try {
                    p5.j0 j0Var = (p5.j0) i0Var;
                    Parcel j = j0Var.j();
                    f0.c(j, bundle2);
                    Parcel s02 = j0Var.s0(j, 1);
                    Bundle bundle3 = (Bundle) f0.a(s02, Bundle.CREATOR);
                    s02.recycle();
                    if (bundle3 == null) {
                        l1.h(n0Var);
                        n0Var.f7151v.g("Install Referrer Service returned a null response");
                    }
                } catch (Exception e20) {
                    l1.h(n0Var);
                    n0Var.f7151v.f(e20.getMessage(), "Exception occurred while retrieving the Install Referrer");
                }
                g1 g1Var2 = b1Var2.f6891b.f7113z;
                l1.h(g1Var2);
                g1Var2.h();
                throw new IllegalStateException("Unexpected call on client side");
            case 26:
                a();
                return;
            case 27:
                n1 n1Var = (n1) this.f3328s;
                n1Var.f7156a.d0();
                v5.d dVar2 = (v5.d) this.f3327r;
                Object a10 = dVar2.f6935s.a();
                z3 z3Var = n1Var.f7156a;
                if (a10 == null) {
                    z3Var.getClass();
                    String str2 = dVar2.f6933q;
                    b5.b0.i(str2);
                    f4 N = z3Var.N(str2);
                    if (N != null) {
                        z3Var.t(dVar2, N);
                        return;
                    }
                    return;
                }
                z3Var.getClass();
                String str3 = dVar2.f6933q;
                b5.b0.i(str3);
                f4 N2 = z3Var.N(str3);
                if (N2 != null) {
                    z3Var.J(dVar2, N2);
                    return;
                }
                return;
            case 28:
                b2 b2Var2 = (b2) this.f3327r;
                b2Var2.h();
                if (Build.VERSION.SDK_INT >= 30) {
                    SparseArray s10 = b2Var2.c().s();
                    for (q3 q3Var2 : (List) this.f3328s) {
                        contains = s10.contains(q3Var2.f7225s);
                        if (!contains || ((Long) s10.get(q3Var2.f7225s)).longValue() < q3Var2.f7224r) {
                            b2Var2.E().add(q3Var2);
                        }
                    }
                    b2Var2.J();
                }
                return;
            default:
                l1 l1Var2 = (l1) ((b2) this.f3327r).f4562q;
                j0 o10 = l1Var2.o();
                String str4 = o10.F;
                String str5 = (String) this.f3328s;
                if (str4 != null && !str4.equals(str5)) {
                    r3 = 1;
                }
                o10.F = str5;
                if (r3 != 0) {
                    l1Var2.o().r();
                    return;
                }
                return;
        }
        do {
            try {
                ((Runnable) this.f3327r).run();
            } catch (Throwable th3) {
                z9.v.f(i9.j.f3338q, th3);
            }
            hVar = (h) this.f3328s;
            Runnable f10 = hVar.f();
            if (f10 == null) {
                return;
            }
            this.f3327r = f10;
            r3++;
        } while (r3 < 16);
        ga.k kVar3 = hVar.f2405s;
        kVar3.getClass();
        kVar3.b(hVar, this);
    }

    public String toString() {
        String sb;
        switch (this.f3326q) {
            case 0:
                a8.a aVar = new a8.a(c.class.getSimpleName(), 5);
                j4 j4Var = new j4(21, false);
                ((j4) aVar.f305t).f5468s = j4Var;
                aVar.f305t = j4Var;
                j4Var.f5467r = (k6.c) this.f3328s;
                return aVar.toString();
            case 22:
                Runnable runnable = (Runnable) this.f3327r;
                if (runnable != null) {
                    sb = "SequentialExecutorWorker{running=" + runnable + "}";
                } else {
                    StringBuilder sb2 = new StringBuilder("SequentialExecutorWorker{state=");
                    int i10 = ((l) this.f3328s).f6389s;
                    sb2.append(i10 != 1 ? i10 != 2 ? i10 != 3 ? i10 != 4 ? "null" : "RUNNING" : "QUEUED" : "QUEUING" : "IDLE");
                    sb2.append("}");
                    sb = sb2.toString();
                }
                return sb;
            default:
                return super.toString();
        }
    }
}