package n7;

import android.content.Context;
import android.os.RemoteException;
import androidx.annotation.Nullable;
import com.google.android.gms.ads.internal.util.client.zzr;
import com.google.android.gms.dynamite.descriptors.com.google.android.gms.ads.dynamite.ModuleDescriptor;
import com.google.android.gms.internal.ads.ao;
import com.google.android.gms.internal.ads.dz;
import com.google.android.gms.internal.ads.wv;
import java.util.Objects;

/* JADX INFO: loaded from: classes2.dex */
public final class d extends w {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ Context f30934a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ wv f30935b;

    public d(u uVar, Context context, wv wvVar) {
        this.f30934a = context;
        this.f30935b = wvVar;
        Objects.requireNonNull(uVar);
    }

    @Override // n7.w
    @Nullable
    public final /* bridge */ /* synthetic */ Object zza() {
        u.a(this.f30934a, "out_of_context_tester");
        return null;
    }

    @Override // n7.w
    @Nullable
    public final Object zzb() throws RemoteException {
        Context context = this.f30934a;
        k8.b bVar = new k8.b(context);
        ao.a(context);
        if (!((Boolean) y.f31093e.f31096c.b(ao.Ea)).booleanValue()) {
            return null;
        }
        try {
            return ((i2) hb.a.K0(context, "com.google.android.gms.ads.DynamiteOutOfContextTesterCreatorImpl", com.google.android.material.shape.f.f23066a)).w1(bVar, this.f30935b);
        } catch (RemoteException | zzr | NullPointerException e10) {
            dz.a(context).d("ClientApiBroker.getOutOfContextTester", e10);
            return null;
        }
    }

    @Override // n7.w
    @Nullable
    public final Object zzc(j1 j1Var) throws RemoteException {
        Context context = this.f30934a;
        k8.b bVar = new k8.b(context);
        ao.a(context);
        if (((Boolean) y.f31093e.f31096c.b(ao.Ea)).booleanValue()) {
            return j1Var.y1(bVar, this.f30935b, ModuleDescriptor.MODULE_VERSION);
        }
        return null;
    }
}
