package pb;

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

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

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

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

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

    /* renamed from: s, reason: collision with root package name */
    private final boolean f32415s;

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

    /* renamed from: u, reason: collision with root package name */
    private final boolean f32417u;

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

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

    /* renamed from: x, reason: collision with root package name */
    private final boolean f32420x;

    public d(String title, String str, int i10, boolean z10, boolean z11, boolean z12, dn.a onSelected) {
        t.g(title, "title");
        t.g(onSelected, "onSelected");
        this.f32412p = title;
        this.f32413q = str;
        this.f32414r = i10;
        this.f32415s = z10;
        this.f32416t = z11;
        this.f32417u = z12;
        this.f32418v = onSelected;
        this.f32419w = ob.j.f31214h;
        this.f32420x = z11 && !z12;
    }

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

    public final int d() {
        return this.f32414r;
    }

    public final Drawable e(Context context) {
        t.g(context, "context");
        return context.getDrawable(this.f32415s ? ob.h.f31127n : ob.h.f31128o);
    }

    public final dn.a f() {
        return this.f32418v;
    }

    public final boolean g() {
        return this.f32420x;
    }

    public final String h() {
        return this.f32413q;
    }

    public final String i() {
        return this.f32412p;
    }

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

    public /* synthetic */ d(String str, String str2, int i10, boolean z10, boolean z11, boolean z12, dn.a aVar, int i11, kotlin.jvm.internal.k kVar) {
        this(str, (i11 & 2) != 0 ? null : str2, (i11 & 4) != 0 ? 0 : i10, (i11 & 8) != 0 ? true : z10, (i11 & 16) != 0 ? false : z11, (i11 & 32) != 0 ? false : z12, aVar);
    }
}
