package uf;

import android.view.View;
import java.util.ArrayList;
import java.util.List;

/* JADX INFO: loaded from: classes3.dex */
public final /* synthetic */ class b implements View.OnClickListener {

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

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

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ pf.j f33449c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final /* synthetic */ e.m f33450d;

    public /* synthetic */ b(ArrayList arrayList, pf.j jVar, e.m mVar) {
        this.f33448b = arrayList;
        this.f33449c = jVar;
        this.f33450d = mVar;
    }

    @Override // android.view.View.OnClickListener
    public final void onClick(View view) {
        int i10 = this.f33447a;
        e.m mVar = this.f33450d;
        pf.j jVar = this.f33449c;
        List list = this.f33448b;
        switch (i10) {
            case 0:
                if (jVar != null) {
                    jVar.b(list);
                }
                mVar.dismiss();
                break;
            default:
                if (!list.isEmpty()) {
                    if (jVar != null) {
                        jVar.b(list);
                    }
                    mVar.dismiss();
                    break;
                }
                break;
        }
    }

    public /* synthetic */ b(pf.j jVar, ArrayList arrayList, e.m mVar) {
        this.f33449c = jVar;
        this.f33448b = arrayList;
        this.f33450d = mVar;
    }
}
