package o; import android.content.SharedPreferences; import android.content.res.Resources; import com.scb.phone.presentation.mapper.transferandpay.BaseAssetsDisplayMapper; import o.C15715hv; /* loaded from: classes3.dex */ public final class CQ extends BaseAssetsDisplayMapper { public final String b; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public CQ(Resources resources, SharedPreferences sharedPreferences, String str, String str2) { super(resources, sharedPreferences, str); C14957gcv.e(str, ""); C14957gcv.e(str2, ""); this.b = str2; } public final C0371Fd a(String str, boolean z) { return new C0371Fd("TERMS_N_CONDITIONS", (String) null, str, (String) null, (String) null, e(C15715hv.tOB.ccr_btn_accerpt), e(C15715hv.tOB.ccr_btn_decline), z, true, false, (C0369Fc) null, 0, 7680); } public static C0371Fd b(String str, String str2, String str3) { C14957gcv.e(str2, ""); C14957gcv.e(str3, ""); return new C0371Fd("TERMS_N_CONDITIONS", (String) null, str, (String) null, (String) null, str3, str2, true, true, false, (C0369Fc) null, 0, 7680); } public static /* synthetic */ C0371Fd d(CQ cq, C16387nrD c16387nrD, boolean z, boolean z2, boolean z3, int i, int i2) { return cq.e(null, c16387nrD, z, z2, null, (i2 & 32) != 0 ? false : z3, null, null, (i2 & 256) != 0 ? C15715hv.LWm.transparent : i); } public static /* synthetic */ C0371Fd e(CQ cq, LT lt, boolean z) { C14957gcv.e(lt, ""); String str = lt.c; String str2 = lt.d; if (C14957gcv.b((Object) str2, (Object) Dae.STATIC_CONTENT.name())) { return d(cq, cq.b_(str), null, null, null, z, false, false, "TERMS_N_CONDITIONS", null, null, 0, 1860); } if (C14957gcv.b((Object) str2, (Object) Dae.EXTERNAL.name())) { return d(cq, str, null, null, null, z, false, false, "TERMS_N_CONDITIONS", null, null, 0, 1860); } return d(cq, null, null, str == null ? "" : str, null, z, false, false, "TERMS_N_CONDITIONS", null, null, 0, 1859); } public static /* synthetic */ C0371Fd d(CQ cq, String str, String str2, String str3, String str4, boolean z, boolean z2, boolean z3, String str5, Integer num, Integer num2, int i, int i2) { String str6 = (i2 & 1) != 0 ? null : str; String str7 = (i2 & 2) != 0 ? null : str2; String str8 = (i2 & 4) != 0 ? null : str3; String str9 = (i2 & 8) != 0 ? null : str4; boolean z4 = (i2 & 64) != 0 ? false : z3; String str10 = (i2 & 128) != 0 ? "TERMS_N_CONDITIONS" : str5; Integer num3 = (i2 & 256) != 0 ? null : num; Integer num4 = (i2 & 512) == 0 ? num2 : null; return new C0371Fd(str10, str6, str7, str8, str9, cq.e(num3 != null ? num3.intValue() : C15715hv.tOB.partner_consent_allow_button), cq.e(num4 != null ? num4.intValue() : C15715hv.tOB.partner_consent_deny_button), z, z2, z4, (C0369Fc) null, (i2 & 1024) != 0 ? C15715hv.LWm.transparent : i, 3072); } public final C0371Fd k(String str) { return new C0371Fd("TERMS_N_CONDITIONS", str, (String) null, (String) null, (String) null, e(C15715hv.tOB.ccr_btn_accerpt), e(C15715hv.tOB.ccr_btn_decline), true, true, true, (C0369Fc) null, 0, 7168); } public final C0371Fd e(String str, C16387nrD c16387nrD, boolean z, boolean z2, String str2, boolean z3, Integer num, Integer num2, int i) { C0371Fd d; C14957gcv.e(c16387nrD, ""); String str3 = str2 == null ? "TERMS_N_CONDITIONS" : str2; int i2 = LWm.b[c16387nrD.e.ordinal()]; if (i2 == 1) { return d(this, b_(c16387nrD.d), null, null, str, z, z2, z3, str3, num, num2, i, 4); } if (i2 == 2 || i2 == 3) { d = d(this, c16387nrD.d, null, null, str, z, z2, z3, str3, num, num2, i, 4); } else { String str4 = c16387nrD.b; d = d(this, null, null, str4 == null ? "" : str4, str, z, z2, z3, str3, num, num2, i, 3); } return d; } /* loaded from: classes3.dex */ public final /* synthetic */ class LWm { public static final int[] b; static { int[] iArr = new int[Dae.values().length]; try { iArr[Dae.STATIC_CONTENT.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { iArr[Dae.EXTERNAL.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } try { iArr[Dae.PDF.ordinal()] = 3; } catch (NoSuchFieldError unused3) { } b = iArr; } } }