package o; import android.content.SharedPreferences; import android.content.res.Resources; import o.C15715hv; import o.QK; import o.QO; /* renamed from: o.zl, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C17792zl extends AbstractC17771zd { /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C17792zl(Resources resources, SharedPreferences sharedPreferences) { super(resources, sharedPreferences); C14957gcv.e(resources, ""); C14957gcv.e(sharedPreferences, ""); } @Override // o.AbstractC17771zd public final QK d(InterfaceC1027Ua interfaceC1027Ua, boolean z) { C14957gcv.e(interfaceC1027Ua, ""); QK.LWm e = QK.e(); e.g = e(C15715hv.tOB.to); e.h = interfaceC1027Ua.e(); StringBuilder sb = new StringBuilder(); sb.append(interfaceC1027Ua.c()); if (interfaceC1027Ua instanceof TY) { TY ty = (TY) interfaceC1027Ua; String str = ty.d; if (!(str == null || gdZ.d((CharSequence) str))) { String string = this.e.getString(C15715hv.tOB.reference_1); String str2 = ty.d; StringBuilder sb2 = new StringBuilder("\n"); sb2.append(string); sb2.append(" : "); sb2.append(str2); sb.append(sb2.toString()); } String str3 = ty.e; if (!(str3 == null || gdZ.d((CharSequence) str3))) { String string2 = this.e.getString(C15715hv.tOB.merchant_terminal_label); String str4 = ty.e; StringBuilder sb3 = new StringBuilder("\n"); sb3.append(string2); sb3.append(" : "); sb3.append(str4); sb.append(sb3.toString()); } } String obj = sb.toString(); C14957gcv.c((Object) obj, ""); e.a = obj; e.c = interfaceC1027Ua.b(); e.d = C15715hv.IeS.ic_biller_default; QK qk = new QK(e, (byte) 0); C14957gcv.c(qk, ""); return qk; } @Override // o.AbstractC17771zd public final void c(InterfaceC1027Ua interfaceC1027Ua, boolean z) { String obj; C14957gcv.e(interfaceC1027Ua, ""); if (interfaceC1027Ua instanceof TY) { TY ty = (TY) interfaceC1027Ua; String str = ty.a; if (!(str == null || gdZ.d((CharSequence) str))) { obj = ty.a; QK.LWm e = QK.e(); e.h = interfaceC1027Ua.a(); e.a = c(interfaceC1027Ua.d(), z); e.c = obj; e.d = C15715hv.IeS.ic_bill_credit_card; e.k = true; this.a.add(new QK(e, (byte) 0)); this.a.add(new QQ()); } } obj = C6583cXR.VR_(C15715hv.IeS.ic_bill_credit_card).toString(); QK.LWm e2 = QK.e(); e2.h = interfaceC1027Ua.a(); e2.a = c(interfaceC1027Ua.d(), z); e2.c = obj; e2.d = C15715hv.IeS.ic_bill_credit_card; e2.k = true; this.a.add(new QK(e2, (byte) 0)); this.a.add(new QQ()); } @Override // o.AbstractC17771zd public final void e(InterfaceC1027Ua interfaceC1027Ua) { C14957gcv.e(interfaceC1027Ua, ""); String h = interfaceC1027Ua.h(); if (!(h == null || gdZ.d((CharSequence) h))) { QO.IeS d = QO.d(); String e = e(C15715hv.tOB.point_x_pay_with_account_card); C14957gcv.c((Object) e, ""); d.g = C2974aoj.b(e); String h2 = interfaceC1027Ua.h(); d.h = c(h2 != null ? Double.valueOf(Double.parseDouble(h2)) : null); this.a.add(d.d()); this.a.add(new QQ()); } } }