package n7;

import android.content.Context;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.view.View;
import com.google.android.gms.ads.internal.ClientApi;
import com.google.android.gms.internal.ads.a80;
import com.google.android.gms.internal.ads.aj;
import com.google.android.gms.internal.ads.an0;
import com.google.android.gms.internal.ads.h20;
import com.google.android.gms.internal.ads.h70;
import com.google.android.gms.internal.ads.iy;
import com.google.android.gms.internal.ads.l80;
import com.google.android.gms.internal.ads.og2;
import com.google.android.gms.internal.ads.ot;
import com.google.android.gms.internal.ads.pt;
import com.google.android.gms.internal.ads.py;
import com.google.android.gms.internal.ads.q80;
import com.google.android.gms.internal.ads.s00;
import com.google.android.gms.internal.ads.ua1;
import com.google.android.gms.internal.ads.uv;
import com.google.android.gms.internal.ads.vj1;
import com.google.android.gms.internal.ads.vr0;
import com.google.android.gms.internal.ads.vu0;
import com.google.android.gms.internal.ads.wq;
import com.google.android.gms.internal.ads.wv;
import com.google.android.gms.internal.ads.zi;
import java.util.HashMap;

/* JADX INFO: loaded from: classes2.dex */
public abstract class i1 extends zi implements j1 {
    @Override // com.google.android.gms.internal.ads.zi
    public final boolean Q2(int i10, Parcel parcel, Parcel parcel2) {
        pt otVar = null;
        switch (i10) {
            case 1:
                k8.a aVarM = k8.b.M(parcel.readStrongBinder());
                f4 f4Var = (f4) aj.a(parcel, f4.CREATOR);
                String string = parcel.readString();
                wv wvVarR2 = uv.R2(parcel.readStrongBinder());
                int i11 = parcel.readInt();
                aj.e(parcel);
                r0 r0VarR2 = ((ClientApi) this).r2(aVarM, f4Var, string, wvVarR2, i11);
                parcel2.writeNoException();
                aj.d(parcel2, r0VarR2);
                return true;
            case 2:
                k8.a aVarM2 = k8.b.M(parcel.readStrongBinder());
                f4 f4Var2 = (f4) aj.a(parcel, f4.CREATOR);
                String string2 = parcel.readString();
                wv wvVarR22 = uv.R2(parcel.readStrongBinder());
                int i12 = parcel.readInt();
                aj.e(parcel);
                r0 r0VarQ0 = ((ClientApi) this).q0(aVarM2, f4Var2, string2, wvVarR22, i12);
                parcel2.writeNoException();
                aj.d(parcel2, r0VarQ0);
                return true;
            case 3:
                k8.a aVarM3 = k8.b.M(parcel.readStrongBinder());
                String string3 = parcel.readString();
                wv wvVarR23 = uv.R2(parcel.readStrongBinder());
                int i13 = parcel.readInt();
                aj.e(parcel);
                n0 n0VarE1 = ((ClientApi) this).e1(aVarM3, string3, wvVarR23, i13);
                parcel2.writeNoException();
                aj.d(parcel2, n0VarE1);
                return true;
            case 4:
                k8.b.M(parcel.readStrongBinder());
                aj.e(parcel);
                parcel2.writeNoException();
                aj.d(parcel2, null);
                return true;
            case 5:
                wq wqVarU0 = ((ClientApi) this).U0(k8.b.M(parcel.readStrongBinder()), com.google.android.gms.measurement.internal.u1.r(parcel, parcel));
                parcel2.writeNoException();
                aj.d(parcel2, wqVarU0);
                return true;
            case 6:
                k8.a aVarM4 = k8.b.M(parcel.readStrongBinder());
                wv wvVarR24 = uv.R2(parcel.readStrongBinder());
                int i14 = parcel.readInt();
                aj.e(parcel);
                Context context = (Context) k8.b.O(aVarM4);
                q80 q80Var = new q80(h70.a(context, wvVarR24, i14).f8525c);
                context.getClass();
                q80Var.f15619b = context;
                ua1 ua1Var = (ua1) ((og2) q80Var.a().f25492g).zzb();
                parcel2.writeNoException();
                aj.d(parcel2, ua1Var);
                return true;
            case 7:
                k8.b.M(parcel.readStrongBinder());
                aj.e(parcel);
                parcel2.writeNoException();
                aj.d(parcel2, null);
                return true;
            case 8:
                py pyVarJ = ((ClientApi) this).j(com.google.android.gms.measurement.internal.u1.r(parcel, parcel));
                parcel2.writeNoException();
                aj.d(parcel2, pyVarJ);
                return true;
            case 9:
                k8.a aVarM5 = k8.b.M(parcel.readStrongBinder());
                int i15 = parcel.readInt();
                aj.e(parcel);
                s1 s1VarI1 = ((ClientApi) this).I1(aVarM5, i15);
                parcel2.writeNoException();
                aj.d(parcel2, s1VarI1);
                return true;
            case 10:
                k8.a aVarM6 = k8.b.M(parcel.readStrongBinder());
                f4 f4Var3 = (f4) aj.a(parcel, f4.CREATOR);
                String string4 = parcel.readString();
                int i16 = parcel.readInt();
                aj.e(parcel);
                r0 r0VarG1 = ((ClientApi) this).g1(aVarM6, f4Var3, string4, i16);
                parcel2.writeNoException();
                aj.d(parcel2, r0VarG1);
                return true;
            case 11:
                an0 an0Var = new an0((View) k8.b.O(k8.b.M(parcel.readStrongBinder())), (HashMap) k8.b.O(k8.b.M(parcel.readStrongBinder())), (HashMap) k8.b.O(com.google.android.gms.measurement.internal.u1.r(parcel, parcel)));
                parcel2.writeNoException();
                aj.d(parcel2, an0Var);
                return true;
            case 12:
                k8.a aVarM7 = k8.b.M(parcel.readStrongBinder());
                String string5 = parcel.readString();
                wv wvVarR25 = uv.R2(parcel.readStrongBinder());
                int i17 = parcel.readInt();
                aj.e(parcel);
                s00 s00VarG1 = ((ClientApi) this).G1(aVarM7, string5, wvVarR25, i17);
                parcel2.writeNoException();
                aj.d(parcel2, s00VarG1);
                return true;
            case 13:
                k8.a aVarM8 = k8.b.M(parcel.readStrongBinder());
                f4 f4Var4 = (f4) aj.a(parcel, f4.CREATOR);
                String string6 = parcel.readString();
                wv wvVarR26 = uv.R2(parcel.readStrongBinder());
                int i18 = parcel.readInt();
                aj.e(parcel);
                r0 r0VarL = ((ClientApi) this).L(aVarM8, f4Var4, string6, wvVarR26, i18);
                parcel2.writeNoException();
                aj.d(parcel2, r0VarL);
                return true;
            case 14:
                k8.a aVarM9 = k8.b.M(parcel.readStrongBinder());
                wv wvVarR27 = uv.R2(parcel.readStrongBinder());
                int i19 = parcel.readInt();
                aj.e(parcel);
                h20 h20VarP2 = ((ClientApi) this).P2(aVarM9, wvVarR27, i19);
                parcel2.writeNoException();
                aj.d(parcel2, h20VarP2);
                return true;
            case 15:
                k8.a aVarM10 = k8.b.M(parcel.readStrongBinder());
                wv wvVarR28 = uv.R2(parcel.readStrongBinder());
                int i20 = parcel.readInt();
                aj.e(parcel);
                iy iyVarU2 = ((ClientApi) this).u2(aVarM10, wvVarR28, i20);
                parcel2.writeNoException();
                aj.d(parcel2, iyVarU2);
                return true;
            case 16:
                k8.a aVarM11 = k8.b.M(parcel.readStrongBinder());
                wv wvVarR29 = uv.R2(parcel.readStrongBinder());
                int i21 = parcel.readInt();
                IBinder strongBinder = parcel.readStrongBinder();
                if (strongBinder != null) {
                    IInterface iInterfaceQueryLocalInterface = strongBinder.queryLocalInterface("com.google.android.gms.ads.internal.h5.client.IH5AdsEventListener");
                    otVar = iInterfaceQueryLocalInterface instanceof pt ? (pt) iInterfaceQueryLocalInterface : new ot(strongBinder, "com.google.android.gms.ads.internal.h5.client.IH5AdsEventListener", 0);
                }
                aj.e(parcel);
                Context context2 = (Context) k8.b.O(aVarM11);
                vu0 vu0Var = new vu0(h70.a(context2, wvVarR29, i21).f8525c, 8);
                context2.getClass();
                vu0Var.f17779c = context2;
                otVar.getClass();
                vu0Var.f17780d = otVar;
                vj1.k(Context.class, (Context) vu0Var.f17779c);
                vj1.k(pt.class, (pt) vu0Var.f17780d);
                vr0 vr0Var = (vr0) new l80((a80) vu0Var.f17778b, (Context) vu0Var.f17779c, (pt) vu0Var.f17780d).f13536e.zzb();
                parcel2.writeNoException();
                aj.d(parcel2, vr0Var);
                return true;
            case 17:
                k8.a aVarM12 = k8.b.M(parcel.readStrongBinder());
                wv wvVarR210 = uv.R2(parcel.readStrongBinder());
                int i22 = parcel.readInt();
                aj.e(parcel);
                h2 h2VarY1 = ((ClientApi) this).y1(aVarM12, wvVarR210, i22);
                parcel2.writeNoException();
                aj.d(parcel2, h2VarY1);
                return true;
            case 18:
                k8.a aVarM13 = k8.b.M(parcel.readStrongBinder());
                wv wvVarR211 = uv.R2(parcel.readStrongBinder());
                int i23 = parcel.readInt();
                aj.e(parcel);
                c1 c1VarR1 = ((ClientApi) this).r1(aVarM13, wvVarR211, i23);
                parcel2.writeNoException();
                aj.d(parcel2, c1VarR1);
                return true;
            default:
                return false;
        }
    }
}
