package zb;

import android.util.SparseIntArray;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.RadioGroup;
import android.widget.TextView;
import androidx.appcompat.widget.Toolbar;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.databinding.n;
import bc.b;

/* loaded from: classes4.dex */
public class p3 extends o3 implements b.a {
    private static final n.i K = null;
    private static final SparseIntArray L;
    private final ConstraintLayout G;
    private final Button H;
    private final View.OnClickListener I;
    private long J;

    static {
        SparseIntArray sparseIntArray = new SparseIntArray();
        L = sparseIntArray;
        sparseIntArray.put(ob.i.f31151d1, 2);
        sparseIntArray.put(ob.i.P0, 3);
        sparseIntArray.put(ob.i.X0, 4);
        sparseIntArray.put(ob.i.W0, 5);
        sparseIntArray.put(ob.i.B0, 6);
    }

    public p3(androidx.databinding.e eVar, View view) {
        this(eVar, view, androidx.databinding.n.E(eVar, view, 7, K, L));
    }

    @Override // androidx.databinding.n
    public void B() {
        synchronized (this) {
            this.J = 2L;
        }
        J();
    }

    @Override // androidx.databinding.n
    protected boolean F(int i10, Object obj, int i11) {
        return false;
    }

    @Override // androidx.databinding.n
    public boolean Q(int i10, Object obj) {
        if (ob.a.f31100i != i10) {
            return false;
        }
        U((cc.y3) obj);
        return true;
    }

    @Override // zb.o3
    public void U(cc.y3 y3Var) {
        this.F = y3Var;
        synchronized (this) {
            this.J |= 1;
        }
        f(ob.a.f31100i);
        super.J();
    }

    @Override // bc.b.a
    public final void a(int i10, View view) {
        cc.y3 y3Var = this.F;
        if (y3Var != null) {
            y3Var.t0();
        }
    }

    @Override // androidx.databinding.n
    protected void n() {
        long j10;
        synchronized (this) {
            j10 = this.J;
            this.J = 0L;
        }
        if ((j10 & 2) != 0) {
            this.H.setOnClickListener(this.I);
        }
    }

    @Override // androidx.databinding.n
    public boolean z() {
        synchronized (this) {
            return this.J != 0;
        }
    }

    private p3(androidx.databinding.e eVar, View view, Object[] objArr) {
        super(eVar, view, 0, (RadioGroup) objArr[6], (Toolbar) objArr[3], (TextView) objArr[5], (TextView) objArr[4], (LinearLayout) objArr[2]);
        this.J = -1L;
        ConstraintLayout constraintLayout = (ConstraintLayout) objArr[0];
        this.G = constraintLayout;
        constraintLayout.setTag(null);
        Button button = (Button) objArr[1];
        this.H = button;
        button.setTag(null);
        P(view);
        this.I = new bc.b(this, 1);
        B();
    }
}
