package o;

import android.view.View;
import com.google.android.gms.common.R;
import java.util.WeakHashMap;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Pl0 {
    public static final WeakHashMap u = new WeakHashMap();
    public final C1262g6 a = C2616uQ.m(4, "captionBar");
    public final C1262g6 b;
    public final C1262g6 c;
    public final C1262g6 d;
    public final C1262g6 e;
    public final C1262g6 f;
    public final C1262g6 g;
    public final C1262g6 h;
    public final C1262g6 i;
    public final Ai0 j;
    public final Ai0 k;
    public final Ai0 l;
    public final Ai0 m;
    public final Ai0 n;

    /* renamed from: o, reason: collision with root package name */
    public final Ai0 f287o;
    public final Ai0 p;
    public final Ai0 q;
    public final boolean r;
    public int s;
    public final OH t;

    public Pl0(View view) {
        C1262g6 c1262g6M = C2616uQ.m(128, "displayCutout");
        this.b = c1262g6M;
        C1262g6 c1262g6M2 = C2616uQ.m(8, "ime");
        this.c = c1262g6M2;
        C1262g6 c1262g6M3 = C2616uQ.m(32, "mandatorySystemGestures");
        this.d = c1262g6M3;
        this.e = C2616uQ.m(2, "navigationBars");
        this.f = C2616uQ.m(1, "statusBars");
        C1262g6 c1262g6M4 = C2616uQ.m(519, "systemBars");
        this.g = c1262g6M4;
        C1262g6 c1262g6M5 = C2616uQ.m(16, "systemGestures");
        this.h = c1262g6M5;
        C1262g6 c1262g6M6 = C2616uQ.m(64, "tappableElement");
        this.i = c1262g6M6;
        Ai0 ai0 = new Ai0(new RH(0, 0, 0, 0), "waterfall");
        this.j = ai0;
        new Nh0(new Nh0(c1262g6M4, c1262g6M2), c1262g6M);
        new Nh0(new Nh0(new Nh0(c1262g6M6, c1262g6M3), c1262g6M5), ai0);
        this.k = C2616uQ.o(4, "captionBarIgnoringVisibility");
        this.l = C2616uQ.o(2, "navigationBarsIgnoringVisibility");
        this.m = C2616uQ.o(1, "statusBarsIgnoringVisibility");
        this.n = C2616uQ.o(519, "systemBarsIgnoringVisibility");
        this.f287o = C2616uQ.o(64, "tappableElementIgnoringVisibility");
        this.p = C2616uQ.o(8, "imeAnimationTarget");
        this.q = C2616uQ.o(8, "imeAnimationSource");
        Object parent = view.getParent();
        View view2 = parent instanceof View ? (View) parent : null;
        Object tag = view2 != null ? view2.getTag(R.id.consume_window_insets_tag) : null;
        Boolean bool = tag instanceof Boolean ? (Boolean) tag : null;
        this.r = bool != null ? bool.booleanValue() : false;
        this.t = new OH(this);
    }

    public static void a(Pl0 pl0, Kl0 kl0) {
        boolean z = false;
        pl0.a.f(kl0, 0);
        pl0.c.f(kl0, 0);
        pl0.b.f(kl0, 0);
        pl0.e.f(kl0, 0);
        pl0.f.f(kl0, 0);
        pl0.g.f(kl0, 0);
        pl0.h.f(kl0, 0);
        pl0.i.f(kl0, 0);
        pl0.d.f(kl0, 0);
        pl0.k.f(AbstractC0752ap.h0(kl0.a.h(4)));
        pl0.l.f(AbstractC0752ap.h0(kl0.a.h(2)));
        pl0.m.f(AbstractC0752ap.h0(kl0.a.h(1)));
        pl0.n.f(AbstractC0752ap.h0(kl0.a.h(519)));
        pl0.f287o.f(AbstractC0752ap.h0(kl0.a.h(64)));
        C1998ns c1998nsF = kl0.a.f();
        if (c1998nsF != null) {
            pl0.j.f(AbstractC0752ap.h0(c1998nsF.a()));
        }
        synchronized (AbstractC2884x90.c) {
            C0713aR c0713aR = AbstractC2884x90.j.h;
            if (c0713aR != null) {
                if (c0713aR.h()) {
                    z = true;
                }
            }
        }
        if (z) {
            AbstractC2884x90.a();
        }
    }
}
