package androidx.browser.customtabs;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.google.android.material.bottomsheet.BottomSheetBehavior;

/* JADX INFO: loaded from: classes.dex */
public final class f implements Runnable {

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

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

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

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

    public /* synthetic */ f(Object obj, Intent intent, int i10) {
        this.f850a = 3;
        this.f852c = obj;
        this.f853d = intent;
        this.f851b = i10;
    }

    @Override // java.lang.Runnable
    public final void run() {
        int i10 = this.f850a;
        Object obj = this.f853d;
        int i11 = this.f851b;
        Object obj2 = this.f852c;
        switch (i10) {
            case 0:
                ((k) obj).f876b.onNavigationEvent(i11, (Bundle) obj2);
                break;
            case 1:
            default:
                int i12 = BottomSheetBehavior.C0;
                ((BottomSheetBehavior) obj).M((View) obj2, i11, false);
                break;
            case 2:
                ((n0.l) obj2).a(i11);
                break;
            case 3:
                ((i4.h) obj2).a(i11, (Intent) obj);
                break;
        }
    }

    public /* synthetic */ f(Object obj, Object obj2, int i10, int i11) {
        this.f850a = i11;
        this.f853d = obj;
        this.f852c = obj2;
        this.f851b = i10;
    }

    public f(int i10, Bundle bundle, k kVar) {
        this.f850a = 0;
        this.f853d = kVar;
        this.f851b = i10;
        this.f852c = bundle;
    }
}
