package d3;

import android.os.Bundle;

/* JADX INFO: renamed from: d3.v0, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class RunnableC0829v0 implements Runnable {

    /* JADX INFO: renamed from: q, reason: collision with root package name */
    public final /* synthetic */ int f12197q;

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

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

    /* JADX INFO: renamed from: t, reason: collision with root package name */
    public final /* synthetic */ long f12200t;

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

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

    public /* synthetic */ RunnableC0829v0(Object obj, Object obj2, Object obj3, Object obj4, long j8, int i) {
        this.f12197q = i;
        this.f12198r = obj2;
        this.f12199s = obj3;
        this.f12201u = obj4;
        this.f12200t = j8;
        this.f12202v = obj;
    }

    @Override // java.lang.Runnable
    public final void run() {
        switch (this.f12197q) {
            case n4.u0.f15495q /* 0 */:
                String str = (String) this.f12199s;
                BinderC0841z0 binderC0841z0 = (BinderC0841z0) this.f12202v;
                String str2 = (String) this.f12198r;
                if (str2 != null) {
                    C0786g1 c0786g1 = new C0786g1(this.f12200t, (String) this.f12201u, str2);
                    Q1 q12 = binderC0841z0.f12234e;
                    q12.c().E();
                    String str3 = q12.f11678W;
                    if (str3 != null) {
                        str3.equals(str);
                    }
                    q12.f11678W = str;
                    q12.f11677V = c0786g1;
                } else {
                    Q1 q13 = binderC0841z0.f12234e;
                    q13.c().E();
                    String str4 = q13.f11678W;
                    if (str4 == null || str4.equals(str)) {
                        q13.f11678W = str;
                        q13.f11677V = null;
                    }
                }
                break;
            case 1:
                Object obj = this.f12201u;
                ((Y0) this.f12202v).Z(this.f12200t, obj, (String) this.f12198r, (String) this.f12199s);
                break;
            default:
                Bundle bundle = (Bundle) this.f12198r;
                bundle.remove("screen_name");
                bundle.remove("screen_class");
                C0795j1 c0795j1 = (C0795j1) this.f12202v;
                W1 w12 = ((C0817r0) c0795j1.f5146q).f12122B;
                C0817r0.i(w12);
                c0795j1.J((C0786g1) this.f12199s, (C0786g1) this.f12201u, this.f12200t, true, w12.I("screen_view", bundle, null, false));
                break;
        }
    }
}
