package i2;

import L1.F;
import L1.InterfaceC0095f;
import L1.InterfaceC0145w;
import android.content.Context;
import com.google.android.gms.internal.measurement.C0352b3;
import com.google.android.gms.internal.measurement.C0357c3;
import com.google.android.gms.internal.measurement.C0367e3;
import com.google.android.gms.internal.measurement.C0427q3;
import com.google.android.gms.internal.measurement.M3;
import com.google.android.gms.internal.measurement.O3;
import com.google.android.gms.internal.measurement.a4;
import io.flutter.Build;
import io.flutter.embedding.android.AndroidTouchProcessor;
import io.flutter.plugin.editing.FlutterTextUtils;
import io.sentry.flutter.SentryFlutterPluginKt;
import java.security.KeyFactory;
import java.security.MessageDigest;
import java.security.Provider;
import java.util.List;

/* JADX INFO: renamed from: i2.e, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public class C0628e implements A1.e, G2.j, InterfaceC0095f, InterfaceC0145w {

    /* JADX INFO: renamed from: k, reason: collision with root package name */
    public final /* synthetic */ int f6560k;

    /* JADX INFO: renamed from: l, reason: collision with root package name */
    public static final /* synthetic */ C0628e f6547l = new C0628e(6);

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public static final /* synthetic */ C0628e f6548m = new C0628e(7);

    /* JADX INFO: renamed from: n, reason: collision with root package name */
    public static final /* synthetic */ C0628e f6549n = new C0628e(8);

    /* JADX INFO: renamed from: o, reason: collision with root package name */
    public static final /* synthetic */ C0628e f6550o = new C0628e(9);
    public static final /* synthetic */ C0628e p = new C0628e(10);
    public static final /* synthetic */ C0628e q = new C0628e(11);

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public static final /* synthetic */ C0628e f6551r = new C0628e(12);

    /* JADX INFO: renamed from: s, reason: collision with root package name */
    public static final /* synthetic */ C0628e f6552s = new C0628e(13);

    /* JADX INFO: renamed from: t, reason: collision with root package name */
    public static final /* synthetic */ C0628e f6553t = new C0628e(14);

    /* JADX INFO: renamed from: u, reason: collision with root package name */
    public static final /* synthetic */ C0628e f6554u = new C0628e(15);

    /* JADX INFO: renamed from: v, reason: collision with root package name */
    public static final /* synthetic */ C0628e f6555v = new C0628e(16);

    /* JADX INFO: renamed from: w, reason: collision with root package name */
    public static final /* synthetic */ C0628e f6556w = new C0628e(17);

    /* JADX INFO: renamed from: x, reason: collision with root package name */
    public static final /* synthetic */ C0628e f6557x = new C0628e(18);

    /* JADX INFO: renamed from: y, reason: collision with root package name */
    public static final /* synthetic */ C0628e f6558y = new C0628e(19);

    /* JADX INFO: renamed from: z, reason: collision with root package name */
    public static final /* synthetic */ C0628e f6559z = new C0628e(20);

    /* JADX INFO: renamed from: A, reason: collision with root package name */
    public static final /* synthetic */ C0628e f6539A = new C0628e(21);

    /* JADX INFO: renamed from: B, reason: collision with root package name */
    public static final /* synthetic */ C0628e f6540B = new C0628e(22);

    /* JADX INFO: renamed from: C, reason: collision with root package name */
    public static final /* synthetic */ C0628e f6541C = new C0628e(23);

    /* JADX INFO: renamed from: D, reason: collision with root package name */
    public static final /* synthetic */ C0628e f6542D = new C0628e(24);

    /* JADX INFO: renamed from: E, reason: collision with root package name */
    public static final /* synthetic */ C0628e f6543E = new C0628e(25);

    /* JADX INFO: renamed from: F, reason: collision with root package name */
    public static final /* synthetic */ C0628e f6544F = new C0628e(26);

    /* JADX INFO: renamed from: G, reason: collision with root package name */
    public static final /* synthetic */ C0628e f6545G = new C0628e(27);

    /* JADX INFO: renamed from: H, reason: collision with root package name */
    public static final /* synthetic */ C0628e f6546H = new C0628e(28);
    public static final /* synthetic */ C0628e I = new C0628e(29);

    public /* synthetic */ C0628e(int i) {
        this.f6560k = i;
    }

    @Override // L1.InterfaceC0145w
    public Object a() {
        switch (this.f6560k) {
            case 7:
                return new Boolean(((Boolean) C0427q3.f5203a.b()).booleanValue());
            case 8:
                List list = F.f1393a;
                C0357c3.f5048l.get();
                Long l5 = (Long) C0367e3.f5085b.b();
                l5.getClass();
                return l5;
            case AndroidTouchProcessor.PointerChange.PAN_ZOOM_END /* 9 */:
                List list2 = F.f1393a;
                Boolean bool = (Boolean) a4.f5031a.b();
                bool.getClass();
                return bool;
            case FlutterTextUtils.LINE_FEED /* 10 */:
                List list3 = F.f1393a;
                Boolean bool2 = (Boolean) C0352b3.f5039a.b();
                bool2.getClass();
                return bool2;
            case 11:
                List list4 = F.f1393a;
                C0357c3.f5048l.get();
                return Integer.valueOf((int) ((Long) C0367e3.f5103k0.b()).longValue());
            case 12:
                List list5 = F.f1393a;
                C0357c3.f5048l.get();
                return (String) C0367e3.f5120u0.b();
            case FlutterTextUtils.CARRIAGE_RETURN /* 13 */:
                List list6 = F.f1393a;
                C0357c3.f5048l.get();
                return (String) C0367e3.f5071N.b();
            case 14:
                List list7 = F.f1393a;
                C0357c3.f5048l.get();
                Long l6 = (Long) C0367e3.f5078U.b();
                l6.getClass();
                return l6;
            case 15:
                List list8 = F.f1393a;
                C0357c3.f5048l.get();
                return Integer.valueOf((int) ((Long) C0367e3.K.b()).longValue());
            case SentryFlutterPluginKt.VIDEO_BLOCK_SIZE /* 16 */:
                List list9 = F.f1393a;
                C0357c3.f5048l.get();
                Long l7 = (Long) C0367e3.f5076S.b();
                l7.getClass();
                return l7;
            case 17:
                List list10 = F.f1393a;
                C0357c3.f5048l.get();
                Long l8 = (Long) C0367e3.I.b();
                l8.getClass();
                return l8;
            case 18:
                List list11 = F.f1393a;
                C0357c3.f5048l.get();
                Long l9 = (Long) C0367e3.f5122v0.b();
                l9.getClass();
                return l9;
            case 19:
                List list12 = F.f1393a;
                C0357c3.f5048l.get();
                Long l10 = (Long) C0367e3.i.b();
                l10.getClass();
                return l10;
            case 20:
                List list13 = F.f1393a;
                C0357c3.f5048l.get();
                Long l11 = (Long) C0367e3.f5079V.b();
                l11.getClass();
                return l11;
            case Build.API_LEVELS.API_21 /* 21 */:
                List list14 = F.f1393a;
                C0357c3.f5048l.get();
                return (String) C0367e3.f5097h.b();
            case Build.API_LEVELS.API_22 /* 22 */:
                List list15 = F.f1393a;
                C0357c3.f5048l.get();
                Long l12 = (Long) C0367e3.f5111p0.b();
                l12.getClass();
                return l12;
            case Build.API_LEVELS.API_23 /* 23 */:
                List list16 = F.f1393a;
                C0357c3.f5048l.get();
                return Integer.valueOf((int) ((Long) C0367e3.f5117t.b()).longValue());
            case 24:
                List list17 = F.f1393a;
                M3.f4915l.get();
                Boolean bool3 = (Boolean) O3.f4928a.b();
                bool3.getClass();
                return bool3;
            case Build.API_LEVELS.API_25 /* 25 */:
                List list18 = F.f1393a;
                M3.f4915l.get();
                Long l13 = (Long) O3.f4932e.b();
                l13.getClass();
                return l13;
            case Build.API_LEVELS.API_26 /* 26 */:
                List list19 = F.f1393a;
                M3.f4915l.get();
                Double d3 = (Double) O3.f4930c.b();
                d3.getClass();
                return d3;
            case Build.API_LEVELS.API_27 /* 27 */:
                List list20 = F.f1393a;
                C0357c3.f5048l.get();
                return Integer.valueOf((int) ((Long) C0367e3.q.b()).longValue());
            case Build.API_LEVELS.API_28 /* 28 */:
                List list21 = F.f1393a;
                C0357c3.f5048l.get();
                Long l14 = (Long) C0367e3.f5092e0.b();
                l14.getClass();
                return l14;
            default:
                List list22 = F.f1393a;
                C0357c3.f5048l.get();
                return Integer.valueOf((int) ((Long) C0367e3.p.b()).longValue());
        }
    }

    @Override // G2.j
    public Object b(String str, Provider provider) {
        switch (this.f6560k) {
            case 4:
                return provider == null ? KeyFactory.getInstance(str) : KeyFactory.getInstance(str, provider);
            default:
                return provider == null ? MessageDigest.getInstance(str) : MessageDigest.getInstance(str, provider);
        }
    }

    @Override // L1.InterfaceC0095f
    public /* synthetic */ String c(String str, String str2) {
        return null;
    }

    @Override // A1.e
    public A1.d d(Context context, String str, A1.c cVar) {
        A1.d dVar = new A1.d();
        int iC = cVar.c(context, str);
        dVar.f2a = iC;
        if (iC != 0) {
            dVar.f4c = -1;
            return dVar;
        }
        int iE = cVar.e(context, str, true);
        dVar.f3b = iE;
        if (iE != 0) {
            dVar.f4c = 1;
        }
        return dVar;
    }
}
