package L1;

import android.text.TextUtils;
import com.google.android.gms.internal.measurement.C0426q2;
import com.google.android.gms.internal.measurement.C0449v1;
import com.google.android.gms.internal.measurement.C0450v2;
import com.google.android.gms.internal.measurement.C0454w1;
import com.google.android.gms.internal.measurement.C0463y0;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Set;
import r.C0966e;
import r4.AbstractC0983h;

/* JADX INFO: renamed from: L1.p0, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0126p0 extends Q1 implements InterfaceC0095f {

    /* JADX INFO: renamed from: n, reason: collision with root package name */
    public final C0966e f1946n;

    /* JADX INFO: renamed from: o, reason: collision with root package name */
    public final C0966e f1947o;
    public final C0966e p;
    public final C0966e q;

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public final C0966e f1948r;

    /* JADX INFO: renamed from: s, reason: collision with root package name */
    public final C0966e f1949s;

    /* JADX INFO: renamed from: t, reason: collision with root package name */
    public final C0117m0 f1950t;

    /* JADX INFO: renamed from: u, reason: collision with root package name */
    public final g3.c f1951u;

    /* JADX INFO: renamed from: v, reason: collision with root package name */
    public final C0966e f1952v;

    /* JADX INFO: renamed from: w, reason: collision with root package name */
    public final C0966e f1953w;

    /* JADX INFO: renamed from: x, reason: collision with root package name */
    public final C0966e f1954x;

    public C0126p0(W1 w12) {
        super(w12);
        this.f1946n = new C0966e(0);
        this.f1947o = new C0966e(0);
        this.p = new C0966e(0);
        this.q = new C0966e(0);
        this.f1948r = new C0966e(0);
        this.f1952v = new C0966e(0);
        this.f1953w = new C0966e(0);
        this.f1954x = new C0966e(0);
        this.f1949s = new C0966e(0);
        this.f1950t = new C0117m0(this);
        this.f1951u = new g3.c(this);
    }

    public static final C0966e u(com.google.android.gms.internal.measurement.G0 g02) {
        C0966e c0966e = new C0966e(0);
        for (com.google.android.gms.internal.measurement.K0 k02 : g02.t()) {
            c0966e.put(k02.p(), k02.q());
        }
        return c0966e;
    }

    public static final K0 v(int i) {
        int i5 = i - 1;
        if (i5 == 1) {
            return K0.AD_STORAGE;
        }
        if (i5 == 2) {
            return K0.ANALYTICS_STORAGE;
        }
        if (i5 == 3) {
            return K0.AD_USER_DATA;
        }
        if (i5 != 4) {
            return null;
        }
        return K0.AD_PERSONALIZATION;
    }

    public final boolean A(String str, String str2) {
        Boolean bool;
        k();
        q(str);
        if ("ecommerce_purchase".equals(str2) || "purchase".equals(str2) || "refund".equals(str2)) {
            return true;
        }
        Map map = (Map) this.q.get(str);
        if (map == null || (bool = (Boolean) map.get(str2)) == null) {
            return false;
        }
        return bool.booleanValue();
    }

    public final int B(String str, String str2) {
        Integer num;
        k();
        q(str);
        Map map = (Map) this.f1949s.get(str);
        if (map == null || (num = (Integer) map.get(str2)) == null) {
            return 1;
        }
        return num.intValue();
    }

    public final boolean C(String str) {
        k();
        q(str);
        C0966e c0966e = this.f1947o;
        if (c0966e.get(str) != null) {
            return ((Set) c0966e.get(str)).contains("os_version") || ((Set) c0966e.get(str)).contains("device_info");
        }
        return false;
    }

    public final boolean D(String str) {
        k();
        q(str);
        C0966e c0966e = this.f1947o;
        return c0966e.get(str) != null && ((Set) c0966e.get(str)).contains("app_instance_id");
    }

    public final boolean E(String str, K0 k02) {
        k();
        q(str);
        com.google.android.gms.internal.measurement.B0 b0F = F(str);
        if (b0F == null) {
            return false;
        }
        for (C0463y0 c0463y0 : b0F.p()) {
            if (k02 == v(c0463y0.p())) {
                return c0463y0.q() == 2;
            }
        }
        return false;
    }

    public final com.google.android.gms.internal.measurement.B0 F(String str) {
        k();
        q(str);
        com.google.android.gms.internal.measurement.G0 g0W = w(str);
        if (g0W == null || !g0W.B()) {
            return null;
        }
        return g0W.C();
    }

    @Override // L1.InterfaceC0095f
    public final String c(String str, String str2) {
        k();
        q(str);
        Map map = (Map) this.f1946n.get(str);
        if (map != null) {
            return (String) map.get(str2);
        }
        return null;
    }

    public final I0 o(String str, K0 k02) {
        k();
        q(str);
        com.google.android.gms.internal.measurement.B0 b0F = F(str);
        I0 i02 = I0.UNINITIALIZED;
        if (b0F != null) {
            Iterator it = b0F.u().iterator();
            while (true) {
                if (!it.hasNext()) {
                    break;
                }
                C0463y0 c0463y0 = (C0463y0) it.next();
                if (v(c0463y0.p()) == k02) {
                    int iQ = c0463y0.q() - 1;
                    if (iQ == 1) {
                        return I0.GRANTED;
                    }
                    if (iQ == 2) {
                        return I0.DENIED;
                    }
                }
            }
        }
        return i02;
    }

    public final boolean p(String str) {
        k();
        q(str);
        com.google.android.gms.internal.measurement.B0 b0F = F(str);
        if (b0F == null) {
            return false;
        }
        for (C0463y0 c0463y0 : b0F.p()) {
            if (c0463y0.p() == 3 && c0463y0.r() == 3) {
                return true;
            }
        }
        return false;
    }

    public final void q(String str) {
        l();
        k();
        s1.z.d(str);
        C0966e c0966e = this.f1948r;
        if (c0966e.get(str) == null) {
            C0119n c0119n = this.f1500l.f1610m;
            W1.T(c0119n);
            B2.a aVarQ0 = c0119n.q0(str);
            C0966e c0966e2 = this.f1954x;
            C0966e c0966e3 = this.f1953w;
            C0966e c0966e4 = this.f1952v;
            C0966e c0966e5 = this.f1946n;
            if (aVarQ0 != null) {
                com.google.android.gms.internal.measurement.F0 f02 = (com.google.android.gms.internal.measurement.F0) t(str, (byte[]) aVarQ0.f135m).i();
                r(str, f02);
                c0966e5.put(str, u((com.google.android.gms.internal.measurement.G0) f02.e()));
                c0966e.put(str, (com.google.android.gms.internal.measurement.G0) f02.e());
                s(str, (com.google.android.gms.internal.measurement.G0) f02.e());
                c0966e4.put(str, ((com.google.android.gms.internal.measurement.G0) f02.f5142l).A());
                c0966e3.put(str, (String) aVarQ0.f136n);
                c0966e2.put(str, (String) aVarQ0.f134l);
                return;
            }
            c0966e5.put(str, null);
            this.p.put(str, null);
            this.f1947o.put(str, null);
            this.q.put(str, null);
            c0966e.put(str, null);
            c0966e4.put(str, null);
            c0966e3.put(str, null);
            c0966e2.put(str, null);
            this.f1949s.put(str, null);
        }
    }

    public final void r(String str, com.google.android.gms.internal.measurement.F0 f02) {
        HashSet hashSet = new HashSet();
        C0966e c0966e = new C0966e(0);
        C0966e c0966e2 = new C0966e(0);
        C0966e c0966e3 = new C0966e(0);
        Iterator it = Collections.unmodifiableList(((com.google.android.gms.internal.measurement.G0) f02.f5142l).z()).iterator();
        while (it.hasNext()) {
            hashSet.add(((com.google.android.gms.internal.measurement.C0) it.next()).p());
        }
        for (int i = 0; i < ((com.google.android.gms.internal.measurement.G0) f02.f5142l).u(); i++) {
            com.google.android.gms.internal.measurement.D0 d02 = (com.google.android.gms.internal.measurement.D0) ((com.google.android.gms.internal.measurement.G0) f02.f5142l).v(i).i();
            boolean zIsEmpty = d02.h().isEmpty();
            C0146w0 c0146w0 = (C0146w0) this.f29k;
            if (zIsEmpty) {
                X x5 = c0146w0.p;
                C0146w0.l(x5);
                x5.f1626s.b("EventConfig contained null event name");
            } else {
                String strH = d02.h();
                String strG = M0.g(d02.h(), M0.f1490a, M0.f1492c);
                if (!TextUtils.isEmpty(strG)) {
                    d02.b();
                    ((com.google.android.gms.internal.measurement.E0) d02.f5142l).w(strG);
                    f02.b();
                    ((com.google.android.gms.internal.measurement.G0) f02.f5142l).H(i, (com.google.android.gms.internal.measurement.E0) d02.e());
                }
                if (((com.google.android.gms.internal.measurement.E0) d02.f5142l).q() && ((com.google.android.gms.internal.measurement.E0) d02.f5142l).r()) {
                    c0966e.put(strH, Boolean.TRUE);
                }
                if (((com.google.android.gms.internal.measurement.E0) d02.f5142l).s() && ((com.google.android.gms.internal.measurement.E0) d02.f5142l).t()) {
                    c0966e2.put(d02.h(), Boolean.TRUE);
                }
                if (((com.google.android.gms.internal.measurement.E0) d02.f5142l).u()) {
                    if (((com.google.android.gms.internal.measurement.E0) d02.f5142l).v() < 2 || ((com.google.android.gms.internal.measurement.E0) d02.f5142l).v() > 65535) {
                        X x6 = c0146w0.p;
                        C0146w0.l(x6);
                        x6.f1626s.d(d02.h(), Integer.valueOf(((com.google.android.gms.internal.measurement.E0) d02.f5142l).v()), "Invalid sampling rate. Event name, sample rate");
                    } else {
                        c0966e3.put(d02.h(), Integer.valueOf(((com.google.android.gms.internal.measurement.E0) d02.f5142l).v()));
                    }
                }
            }
        }
        this.f1947o.put(str, hashSet);
        this.p.put(str, c0966e);
        this.q.put(str, c0966e2);
        this.f1949s.put(str, c0966e3);
    }

    public final void s(String str, com.google.android.gms.internal.measurement.G0 g02) {
        if (g02.y() == 0) {
            C0117m0 c0117m0 = this.f1950t;
            c0117m0.getClass();
            AbstractC0983h.e("key", str);
            synchronized (((n0.a) c0117m0.f9615g)) {
                k3.g gVar = (k3.g) c0117m0.f9614f;
                gVar.getClass();
                Object objRemove = ((LinkedHashMap) gVar.f8628k).remove(str);
                if (objRemove != null) {
                    int i = c0117m0.f9611c;
                    r.i.l(str, objRemove);
                    c0117m0.f9611c = i - 1;
                }
            }
            return;
        }
        C0146w0 c0146w0 = (C0146w0) this.f29k;
        X x5 = c0146w0.p;
        C0146w0.l(x5);
        x5.f1631x.c("EES programs found", Integer.valueOf(g02.y()));
        C0454w1 c0454w1 = (C0454w1) g02.x().get(0);
        try {
            com.google.android.gms.internal.measurement.D d3 = new com.google.android.gms.internal.measurement.D();
            ((HashMap) ((C0450v2) d3.f4845a.f5946n).f5257k).put("internal.remoteConfig", new CallableC0120n0(this, str, 2));
            ((HashMap) ((C0450v2) d3.f4845a.f5946n).f5257k).put("internal.appMetadata", new CallableC0120n0(this, str, 0));
            ((HashMap) ((C0450v2) d3.f4845a.f5946n).f5257k).put("internal.logger", new CallableC0123o0(this));
            d3.b(c0454w1);
            this.f1950t.k(str, d3);
            X x6 = c0146w0.p;
            C0146w0.l(x6);
            x6.f1631x.d(str, Integer.valueOf(c0454w1.q().q()), "EES program loaded for appId, activities");
            for (C0449v1 c0449v1 : c0454w1.q().p()) {
                X x7 = c0146w0.p;
                C0146w0.l(x7);
                x7.f1631x.c("EES program activity", c0449v1.p());
            }
        } catch (com.google.android.gms.internal.measurement.P unused) {
            X x8 = ((C0146w0) this.f29k).p;
            C0146w0.l(x8);
            x8.p.c("Failed to load EES program. appId", str);
        }
    }

    public final com.google.android.gms.internal.measurement.G0 t(String str, byte[] bArr) {
        C0146w0 c0146w0 = (C0146w0) this.f29k;
        if (bArr == null) {
            return com.google.android.gms.internal.measurement.G0.G();
        }
        try {
            com.google.android.gms.internal.measurement.G0 g02 = (com.google.android.gms.internal.measurement.G0) ((com.google.android.gms.internal.measurement.F0) C0084b0.X(com.google.android.gms.internal.measurement.G0.F(), bArr)).e();
            X x5 = c0146w0.p;
            C0146w0.l(x5);
            x5.f1631x.d(g02.p() ? Long.valueOf(g02.q()) : null, g02.r() ? g02.s() : null, "Parsed config. version, gmp_app_id");
            return g02;
        } catch (C0426q2 e2) {
            X x6 = c0146w0.p;
            C0146w0.l(x6);
            x6.f1626s.d(X.s(str), e2, "Unable to merge remote config. appId");
            return com.google.android.gms.internal.measurement.G0.G();
        } catch (RuntimeException e6) {
            X x7 = c0146w0.p;
            C0146w0.l(x7);
            x7.f1626s.d(X.s(str), e6, "Unable to merge remote config. appId");
            return com.google.android.gms.internal.measurement.G0.G();
        }
    }

    public final com.google.android.gms.internal.measurement.G0 w(String str) {
        l();
        k();
        s1.z.d(str);
        q(str);
        return (com.google.android.gms.internal.measurement.G0) this.f1948r.get(str);
    }

    public final String x(String str) {
        k();
        q(str);
        return (String) this.f1952v.get(str);
    }

    /* JADX WARN: Code restructure failed: missing block: B:100:0x03ff, code lost:
    
        r3 = null;
     */
    /* JADX WARN: Code restructure failed: missing block: B:101:0x0400, code lost:
    
        r14.put(r0, r3);
        r27 = r0;
        r14.put("property_name", r9.r());
     */
    /* JADX WARN: Code restructure failed: missing block: B:102:0x0412, code lost:
    
        if (r9.v() == false) goto L104;
     */
    /* JADX WARN: Code restructure failed: missing block: B:103:0x0414, code lost:
    
        r0 = java.lang.Boolean.valueOf(r9.w());
     */
    /* JADX WARN: Code restructure failed: missing block: B:104:0x041d, code lost:
    
        r0 = null;
     */
    /* JADX WARN: Code restructure failed: missing block: B:105:0x041e, code lost:
    
        r14.put("session_scoped", r0);
        r14.put("data", r13);
     */
    /* JADX WARN: Code restructure failed: missing block: B:107:0x0430, code lost:
    
        if (r8.Z().insertWithOnConflict("property_filters", null, r14, 5) != (-1)) goto L112;
     */
    /* JADX WARN: Code restructure failed: missing block: B:108:0x0432, code lost:
    
        r0 = r6.p;
        L1.C0146w0.l(r0);
        r0.p.c("Failed to insert property filter (got -1). appId", L1.X.s(r29));
     */
    /* JADX WARN: Code restructure failed: missing block: B:110:0x0443, code lost:
    
        r0 = move-exception;
     */
    /* JADX WARN: Code restructure failed: missing block: B:112:0x0445, code lost:
    
        r3 = r22;
        r0 = r27;
     */
    /* JADX WARN: Code restructure failed: missing block: B:113:0x044b, code lost:
    
        r1 = r6.p;
        L1.C0146w0.l(r1);
        r1.p.d(L1.X.s(r29), r0, "Error storing property filter. appId");
     */
    /* JADX WARN: Code restructure failed: missing block: B:114:0x045b, code lost:
    
        r8.l();
        r8.k();
        s1.z.d(r29);
        r0 = r8.Z();
        r0.delete("property_filters", "app_id=? and audience_id=?", new java.lang.String[]{r29, java.lang.String.valueOf(r25)});
        r0.delete("event_filters", "app_id=? and audience_id=?", new java.lang.String[]{r29, java.lang.String.valueOf(r25)});
     */
    /* JADX WARN: Code restructure failed: missing block: B:115:0x047e, code lost:
    
        r1 = r23;
        r3 = r24;
        r9 = r26;
     */
    /* JADX WARN: Code restructure failed: missing block: B:53:0x025a, code lost:
    
        r13 = r0.r().iterator();
     */
    /* JADX WARN: Code restructure failed: missing block: B:55:0x0266, code lost:
    
        if (r13.hasNext() == false) goto L186;
     */
    /* JADX WARN: Code restructure failed: missing block: B:57:0x0272, code lost:
    
        if (((com.google.android.gms.internal.measurement.C0453w0) r13.next()).p() != false) goto L194;
     */
    /* JADX WARN: Code restructure failed: missing block: B:58:0x0274, code lost:
    
        r0 = r6.p;
        L1.C0146w0.l(r0);
        r0.f1626s.d(L1.X.s(r29), java.lang.Integer.valueOf(r7), "Property filter with no ID. Audience definition ignored. appId, audienceId");
     */
    /* JADX WARN: Code restructure failed: missing block: B:59:0x028a, code lost:
    
        r13 = r0.u().iterator();
     */
    /* JADX WARN: Code restructure failed: missing block: B:61:0x0296, code lost:
    
        r22 = r0;
        r0 = "filter_id";
        r23 = r1;
        r24 = r3;
        r3 = "app_id";
     */
    /* JADX WARN: Code restructure failed: missing block: B:62:0x02a8, code lost:
    
        if (r13.hasNext() == false) goto L196;
     */
    /* JADX WARN: Code restructure failed: missing block: B:63:0x02aa, code lost:
    
        r14 = (com.google.android.gms.internal.measurement.C0419p0) r13.next();
        r8.l();
        r8.k();
        s1.z.d(r29);
        s1.z.g(r14);
     */
    /* JADX WARN: Code restructure failed: missing block: B:64:0x02c4, code lost:
    
        if (r14.r().isEmpty() == false) goto L72;
     */
    /* JADX WARN: Code restructure failed: missing block: B:65:0x02c6, code lost:
    
        r0 = r6.p;
        L1.C0146w0.l(r0);
        r0 = r0.f1626s;
        r3 = L1.X.s(r29);
        r4 = java.lang.Integer.valueOf(r7);
     */
    /* JADX WARN: Code restructure failed: missing block: B:66:0x02db, code lost:
    
        if (r14.p() == false) goto L70;
     */
    /* JADX WARN: Code restructure failed: missing block: B:67:0x02dd, code lost:
    
        r20 = java.lang.Integer.valueOf(r14.q());
     */
    /* JADX WARN: Code restructure failed: missing block: B:70:0x02eb, code lost:
    
        r20 = null;
     */
    /* JADX WARN: Code restructure failed: missing block: B:71:0x02ed, code lost:
    
        r0.e("Event filter had no event name. Audience definition ignored. appId, audienceId, filterId", r3, r4, java.lang.String.valueOf(r20));
        r25 = r7;
        r26 = r9;
     */
    /* JADX WARN: Code restructure failed: missing block: B:72:0x02fa, code lost:
    
        r25 = r7;
        r7 = r14.a();
        r26 = r9;
        r9 = new android.content.ContentValues();
        r9.put("app_id", r29);
        r9.put("audience_id", java.lang.Integer.valueOf(r25));
     */
    /* JADX WARN: Code restructure failed: missing block: B:73:0x0315, code lost:
    
        if (r14.p() == false) goto L75;
     */
    /* JADX WARN: Code restructure failed: missing block: B:74:0x0317, code lost:
    
        r1 = java.lang.Integer.valueOf(r14.q());
     */
    /* JADX WARN: Code restructure failed: missing block: B:75:0x0320, code lost:
    
        r1 = null;
     */
    /* JADX WARN: Code restructure failed: missing block: B:76:0x0321, code lost:
    
        r9.put("filter_id", r1);
        r9.put("event_name", r14.r());
     */
    /* JADX WARN: Code restructure failed: missing block: B:77:0x0331, code lost:
    
        if (r14.z() == false) goto L79;
     */
    /* JADX WARN: Code restructure failed: missing block: B:78:0x0333, code lost:
    
        r0 = java.lang.Boolean.valueOf(r14.A());
     */
    /* JADX WARN: Code restructure failed: missing block: B:79:0x033c, code lost:
    
        r0 = null;
     */
    /* JADX WARN: Code restructure failed: missing block: B:80:0x033d, code lost:
    
        r9.put("session_scoped", r0);
        r9.put("data", r7);
     */
    /* JADX WARN: Code restructure failed: missing block: B:82:0x034f, code lost:
    
        if (r8.Z().insertWithOnConflict("event_filters", null, r9, 5) != (-1)) goto L198;
     */
    /* JADX WARN: Code restructure failed: missing block: B:83:0x0351, code lost:
    
        r0 = r6.p;
        L1.C0146w0.l(r0);
        r0.p.c("Failed to insert event filter (got -1). appId", L1.X.s(r29));
     */
    /* JADX WARN: Code restructure failed: missing block: B:84:0x0361, code lost:
    
        r0 = r22;
        r1 = r23;
        r3 = r24;
        r7 = r25;
        r9 = r26;
     */
    /* JADX WARN: Code restructure failed: missing block: B:85:0x036d, code lost:
    
        r0 = move-exception;
     */
    /* JADX WARN: Code restructure failed: missing block: B:86:0x036e, code lost:
    
        r1 = r6.p;
        L1.C0146w0.l(r1);
        r1.p.d(L1.X.s(r29), r0, "Error storing event filter. appId");
     */
    /* JADX WARN: Code restructure failed: missing block: B:87:0x0380, code lost:
    
        r25 = r7;
        r26 = r9;
        r7 = r22.r().iterator();
     */
    /* JADX WARN: Code restructure failed: missing block: B:89:0x0390, code lost:
    
        if (r7.hasNext() == false) goto L200;
     */
    /* JADX WARN: Code restructure failed: missing block: B:90:0x0392, code lost:
    
        r9 = (com.google.android.gms.internal.measurement.C0453w0) r7.next();
        r8.l();
        r8.k();
        s1.z.d(r29);
        s1.z.g(r9);
     */
    /* JADX WARN: Code restructure failed: missing block: B:91:0x03ac, code lost:
    
        if (r9.r().isEmpty() == false) goto L97;
     */
    /* JADX WARN: Code restructure failed: missing block: B:92:0x03ae, code lost:
    
        r0 = r6.p;
        L1.C0146w0.l(r0);
        r0 = r0.f1626s;
        r3 = L1.X.s(r29);
        r4 = java.lang.Integer.valueOf(r25);
     */
    /* JADX WARN: Code restructure failed: missing block: B:93:0x03c3, code lost:
    
        if (r9.p() == false) goto L95;
     */
    /* JADX WARN: Code restructure failed: missing block: B:94:0x03c5, code lost:
    
        r20 = java.lang.Integer.valueOf(r9.q());
     */
    /* JADX WARN: Code restructure failed: missing block: B:95:0x03d0, code lost:
    
        r20 = null;
     */
    /* JADX WARN: Code restructure failed: missing block: B:96:0x03d2, code lost:
    
        r0.e("Property filter had no property name. Audience definition ignored. appId, audienceId, filterId", r3, r4, java.lang.String.valueOf(r20));
     */
    /* JADX WARN: Code restructure failed: missing block: B:97:0x03db, code lost:
    
        r13 = r9.a();
        r14 = new android.content.ContentValues();
        r14.put(r3, r29);
        r22 = r3;
        r14.put("audience_id", java.lang.Integer.valueOf(r25));
     */
    /* JADX WARN: Code restructure failed: missing block: B:98:0x03f4, code lost:
    
        if (r9.p() == false) goto L100;
     */
    /* JADX WARN: Code restructure failed: missing block: B:99:0x03f6, code lost:
    
        r3 = java.lang.Integer.valueOf(r9.q());
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
        To view partially-correct code enable 'Show inconsistent code' option in preferences
    */
    public final void y(java.lang.String r29, byte[] r30, java.lang.String r31, java.lang.String r32) throws java.lang.Throwable {
        /*
            Method dump skipped, instruction units count: 1566
            To view this dump change 'Code comments level' option to 'DEBUG'
        */
        throw new UnsupportedOperationException("Method not decompiled: L1.C0126p0.y(java.lang.String, byte[], java.lang.String, java.lang.String):void");
    }

    public final boolean z(String str, String str2) {
        Boolean bool;
        k();
        q(str);
        if ("1".equals(c(str, "measurement.upload.blacklist_internal")) && c2.I(str2)) {
            return true;
        }
        if ("1".equals(c(str, "measurement.upload.blacklist_public")) && c2.i0(str2)) {
            return true;
        }
        Map map = (Map) this.p.get(str);
        if (map == null || (bool = (Boolean) map.get(str2)) == null) {
            return false;
        }
        return bool.booleanValue();
    }

    @Override // L1.Q1
    public final void n() {
    }
}
