package pb;

import android.content.Context;
import android.graphics.drawable.Drawable;
import kotlin.jvm.internal.t;

/* loaded from: classes4.dex */
public final class e implements v7.d {

    /* renamed from: p, reason: collision with root package name */
    private final String f32421p;

    /* renamed from: q, reason: collision with root package name */
    private final String f32422q;

    /* renamed from: r, reason: collision with root package name */
    private final int f32423r;

    /* renamed from: s, reason: collision with root package name */
    private final dn.a f32424s;

    /* renamed from: t, reason: collision with root package name */
    private final int f32425t;

    public e(String title, String str, int i10, dn.a onSelected) {
        t.g(title, "title");
        t.g(onSelected, "onSelected");
        this.f32421p = title;
        this.f32422q = str;
        this.f32423r = i10;
        this.f32424s = onSelected;
        this.f32425t = ob.j.f31212g;
    }

    public final Drawable c(Context context) {
        t.g(context, "context");
        int i10 = this.f32423r;
        if (i10 != 0) {
            return context.getDrawable(i10);
        }
        return null;
    }

    public final dn.a d() {
        return this.f32424s;
    }

    public final String e() {
        return this.f32421p;
    }

    @Override // v7.d
    public int q() {
        return this.f32425t;
    }

    public /* synthetic */ e(String str, String str2, int i10, dn.a aVar, int i11, kotlin.jvm.internal.k kVar) {
        this(str, (i11 & 2) != 0 ? null : str2, (i11 & 4) != 0 ? 0 : i10, aVar);
    }
}
