package n7;

import com.google.android.gms.ads.BaseAdView;
import com.google.android.gms.internal.ads.zs0;
import java.util.Objects;

/* JADX INFO: loaded from: classes2.dex */
public final class v2 extends g7.b {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ int f31067a = 1;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final Object f31068b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public Object f31069c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final /* synthetic */ Object f31070d;

    public v2(zs0 zs0Var, String str, BaseAdView baseAdView) {
        this.f31068b = str;
        this.f31069c = baseAdView;
        this.f31070d = zs0Var;
    }

    @Override // g7.b
    public final void a() {
        switch (this.f31067a) {
            case 0:
                synchronized (this.f31068b) {
                    try {
                        g7.b bVar = (g7.b) this.f31069c;
                        if (bVar != null) {
                            bVar.a();
                        }
                    } catch (Throwable th) {
                        throw th;
                    }
                    break;
                }
                return;
            default:
                return;
        }
    }

    @Override // g7.b
    public final void d(g7.k kVar) {
        switch (this.f31067a) {
            case 0:
                w2 w2Var = (w2) this.f31070d;
                w2Var.f31075c.zza(w2Var.zzz());
                synchronized (this.f31068b) {
                    try {
                        g7.b bVar = (g7.b) this.f31069c;
                        if (bVar != null) {
                            bVar.d(kVar);
                        }
                    } catch (Throwable th) {
                        throw th;
                    }
                    break;
                }
                return;
            default:
                ((zs0) this.f31070d).S2(zs0.V2(kVar));
                return;
        }
    }

    @Override // g7.b
    public final void e() {
        switch (this.f31067a) {
            case 0:
                synchronized (this.f31068b) {
                    try {
                        g7.b bVar = (g7.b) this.f31069c;
                        if (bVar != null) {
                            bVar.e();
                        }
                    } catch (Throwable th) {
                        throw th;
                    }
                    break;
                }
                return;
            default:
                return;
        }
    }

    @Override // g7.b
    public final void g() {
        switch (this.f31067a) {
            case 0:
                w2 w2Var = (w2) this.f31070d;
                w2Var.f31075c.zza(w2Var.zzz());
                synchronized (this.f31068b) {
                    try {
                        g7.b bVar = (g7.b) this.f31069c;
                        if (bVar != null) {
                            bVar.g();
                        }
                    } catch (Throwable th) {
                        throw th;
                    }
                    break;
                }
                return;
            default:
                ((zs0) this.f31070d).R2((BaseAdView) this.f31069c, (String) this.f31068b);
                return;
        }
    }

    @Override // g7.b
    public final void h() {
        switch (this.f31067a) {
            case 0:
                synchronized (this.f31068b) {
                    try {
                        g7.b bVar = (g7.b) this.f31069c;
                        if (bVar != null) {
                            bVar.h();
                        }
                    } catch (Throwable th) {
                        throw th;
                    }
                    break;
                }
                return;
            default:
                return;
        }
    }

    @Override // g7.b, n7.a
    public final void onAdClicked() {
        switch (this.f31067a) {
            case 0:
                synchronized (this.f31068b) {
                    try {
                        g7.b bVar = (g7.b) this.f31069c;
                        if (bVar != null) {
                            bVar.onAdClicked();
                        }
                    } catch (Throwable th) {
                        throw th;
                    }
                    break;
                }
                return;
            default:
                return;
        }
    }

    public v2(w2 w2Var) {
        Objects.requireNonNull(w2Var);
        this.f31070d = w2Var;
        this.f31068b = new Object();
    }
}
