package u5;

import android.util.SparseIntArray;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.constraintlayout.widget.ConstraintLayout;
import com.martsnew.tv.R;
import com.martsnew.tv.ui.base.view.OnsVerticalGridView;

/* JADX INFO: loaded from: classes.dex */
public final class r extends AbstractC1644q {

    /* JADX INFO: renamed from: T, reason: collision with root package name */
    public static final SparseIntArray f17793T;

    /* JADX INFO: renamed from: S, reason: collision with root package name */
    public long f17794S;

    static {
        SparseIntArray sparseIntArray = new SparseIntArray();
        f17793T = sparseIntArray;
        sparseIntArray.put(R.id.buttonBack, 1);
        sparseIntArray.put(R.id.guideline, 2);
        sparseIntArray.put(R.id.textMovieName, 3);
        sparseIntArray.put(R.id.layoutMovieInfo, 4);
        sparseIntArray.put(R.id.textRating, 5);
        sparseIntArray.put(R.id.textNumberSeason, 6);
        sparseIntArray.put(R.id.textYear, 7);
        sparseIntArray.put(R.id.recyclerSeason, 8);
        sparseIntArray.put(R.id.recyclerEpisode, 9);
    }

    /* JADX WARN: Illegal instructions before constructor call */
    public r(View view) {
        Object[] objArrI = U.g.I(view, 10, null, f17793T);
        ImageView imageView = (ImageView) objArrI[1];
        super(null, view, imageView, (LinearLayout) objArrI[4], (OnsVerticalGridView) objArrI[9], (OnsVerticalGridView) objArrI[8], (TextView) objArrI[3], (TextView) objArrI[6], (TextView) objArrI[5], (TextView) objArrI[7]);
        this.f17794S = -1L;
        ((ConstraintLayout) objArrI[0]).setTag(null);
        L(view);
        G();
    }

    @Override // U.g
    public final void C() {
        synchronized (this) {
            this.f17794S = 0L;
        }
    }

    @Override // U.g
    public final boolean F() {
        synchronized (this) {
            try {
                return this.f17794S != 0;
            } catch (Throwable th) {
                throw th;
            }
        }
    }

    @Override // U.g
    public final void G() {
        synchronized (this) {
            this.f17794S = 1L;
        }
        J();
    }
}
