package o;

import com.google.android.gms.common.api.Api;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Z40 implements InterfaceC1547j50 {
    public static final C1390hY i = new C1390hY(11, new C2494t40(14), new C2304r40(26));
    public final JV a;
    public float e;
    public final C0095Dr g;
    public final C0095Dr h;
    public final JV b = new JV(0);
    public final KQ c = new KQ();
    public final JV d = new JV(Api.BaseClientBuilder.API_PRIORITY_OTHER);
    public final C2848wq f = new C2848wq(new S1(16, this));

    public Z40(int i2) {
        this.a = new JV(i2);
        final int i3 = 0;
        this.g = AbstractC0752ap.E(new NC(this) { // from class: o.Y40
            public final /* synthetic */ Z40 m;

            {
                this.m = this;
            }

            @Override // o.NC
            public final Object a() {
                switch (i3) {
                    case 0:
                        Z40 z40 = this.m;
                        return Boolean.valueOf(z40.a.g() < z40.d.g());
                    default:
                        return Boolean.valueOf(this.m.a.g() > 0);
                }
            }
        });
        final int i4 = 1;
        this.h = AbstractC0752ap.E(new NC(this) { // from class: o.Y40
            public final /* synthetic */ Z40 m;

            {
                this.m = this;
            }

            @Override // o.NC
            public final Object a() {
                switch (i4) {
                    case 0:
                        Z40 z40 = this.m;
                        return Boolean.valueOf(z40.a.g() < z40.d.g());
                    default:
                        return Boolean.valueOf(this.m.a.g() > 0);
                }
            }
        });
    }

    @Override // o.InterfaceC1547j50
    public final boolean a() {
        return ((Boolean) this.h.getValue()).booleanValue();
    }

    @Override // o.InterfaceC1547j50
    public final boolean b() {
        return this.f.b();
    }

    @Override // o.InterfaceC1547j50
    public final boolean c() {
        return ((Boolean) this.g.getValue()).booleanValue();
    }

    @Override // o.InterfaceC1547j50
    public final Object d(int i2, C2484t c2484t, AbstractC0298Lm abstractC0298Lm) {
        Object objD = this.f.d(i2, c2484t, abstractC0298Lm);
        return objD == EnumC0091Dn.l ? objD : Oh0.a;
    }

    @Override // o.InterfaceC1547j50
    public final float e(float f) {
        return this.f.e(f);
    }
}
