what-the-bank/sources/o/C1663aKm.java

300 lines
9.7 KiB
Java

package o;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import o.C15715hv;
import o.C1663aKm;
import o.InterfaceC9149deK;
import o.ZI;
/* renamed from: o.aKm, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C1663aKm extends ZI<InterfaceC9149deK.IeS> {
public final C15857jF b;
private final C16903sI c;
private final C17624yR d;
public final hZv e;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C1663aKm(C16903sI c16903sI, hZv hzv, C15857jF c15857jF, C17624yR c17624yR) {
super(c16903sI);
C14957gcv.e(hzv, "");
C14957gcv.e(c15857jF, "");
C14957gcv.e(c17624yR, "");
this.c = c16903sI;
this.e = hzv;
this.b = c15857jF;
this.d = c17624yR;
}
/* renamed from: o.aKm$IeS */
/* loaded from: classes4.dex */
public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<DKv, C14866gag> {
private C1663aKm c;
private String e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(DKv dKv) {
final DKv dKv2 = dKv;
C14957gcv.e(dKv2, "");
C1663aKm.b(this.c);
final C1663aKm c1663aKm = this.c;
final String str = this.e;
ZI.IeS ieS = new ZI.IeS(c1663aKm, dKv2, str) { // from class: o.aKs
private DKv b;
private C1663aKm c;
private String d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C1663aKm.IeS.c(this.c, this.b, this.d, (InterfaceC9149deK.IeS) obj);
}
{
this.c = c1663aKm;
this.b = dKv2;
this.d = str;
}
};
if (c1663aKm.f != 0) {
ieS.e(c1663aKm.f);
}
return C14866gag.c;
}
public static /* synthetic */ void c(C1663aKm c1663aKm, DKv dKv, String str, InterfaceC9149deK.IeS ieS) {
String str2;
String str3;
String str4;
String str5;
String str6;
String str7;
List list;
XH xh;
C14957gcv.e(c1663aKm, "");
C14957gcv.e(dKv, "");
C14957gcv.e(str, "");
C17624yR c17624yR = c1663aKm.d;
C14957gcv.e(dKv, "");
String str8 = dKv.d;
String str9 = dKv.f;
String str10 = dKv.j;
double d = dKv.a;
String c = C17624yR.c(Double.valueOf(dKv.a));
C14957gcv.c((Object) c, "");
String str11 = dKv.b;
String str12 = str11 == null ? "" : str11;
String str13 = dKv.c;
String str14 = str13 == null ? "" : str13;
gcH gch = gcH.d;
String e = c17624yR.e(C15715hv.tOB.biller_ac);
C14957gcv.c((Object) e, "");
Object[] objArr = new Object[1];
String str15 = dKv.c;
if (str15 == null) {
str15 = "";
}
objArr[0] = C6583cXR.u(str15);
String format = String.format(e, Arrays.copyOf(objArr, 1));
C14957gcv.c((Object) format, "");
String str16 = dKv.f8129o;
String str17 = str16 == null ? "" : str16;
String str18 = dKv.n;
String str19 = str18 == null ? "" : str18;
String str20 = dKv.t;
String str21 = str20 == null ? "" : str20;
String str22 = dKv.k;
String str23 = dKv.l;
String str24 = str23 == null ? "" : str23;
String str25 = dKv.m;
String str26 = str25 == null ? "" : str25;
String str27 = dKv.i;
String str28 = dKv.g;
List<jSX> list2 = dKv.h;
if (list2 != null) {
List<jSX> list3 = list2;
str4 = str27;
C14957gcv.e(list3, "");
str2 = "";
List arrayList = new ArrayList(list3 instanceof Collection ? list3.size() : 10);
Iterator it = list3.iterator();
while (it.hasNext()) {
jSX jsx = (jSX) it.next();
arrayList.add(new XL(jsx.f, jsx.i, jsx.d, jsx.c, jsx.e, jsx.b));
it = it;
str22 = str22;
str17 = str17;
format = format;
str14 = str14;
}
str3 = str22;
str5 = str14;
str6 = format;
str7 = str17;
list = arrayList;
} else {
str2 = "";
str3 = str22;
str4 = str27;
str5 = str14;
str6 = format;
str7 = str17;
list = C14851gaI.c;
}
KsP ksP = dKv.e;
if (ksP == null) {
xh = new XH("", "", "", "", "");
} else {
String str29 = ksP.c;
String str30 = str29 == null ? str2 : str29;
String str31 = ksP.b;
String str32 = str31 == null ? str2 : str31;
String str33 = ksP.d;
String str34 = str33 == null ? str2 : str33;
String str35 = ksP.e;
String str36 = str35 == null ? str2 : str35;
String str37 = ksP.a;
xh = new XH(str30, str32, str34, str36, str37 == null ? str2 : str37);
}
ieS.e(new TI(str8, str9, str10, d, c, "", str12, str5, str6, str7, str19, str21, str3, str24, str26, str4, str28, list, xh), str);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public IeS(C1663aKm c1663aKm, String str) {
super(1);
this.c = c1663aKm;
this.e = str;
}
}
/* renamed from: o.aKm$Sts */
/* loaded from: classes4.dex */
public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C1663aKm a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
final C1663aKm c1663aKm = this.a;
C1663aKm.d(c1663aKm, th2, new Runnable(c1663aKm) { // from class: o.aKy
private C1663aKm c;
@Override // java.lang.Runnable
public final void run() {
C1663aKm.Sts.e(this.c);
}
{
this.c = c1663aKm;
}
});
return C14866gag.c;
}
public static /* synthetic */ void e(C1663aKm c1663aKm) {
C14957gcv.e(c1663aKm, "");
ZI.IeS ieS = new ZI.IeS() { // from class: o.aKw
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9149deK.IeS) obj).b();
}
};
if (c1663aKm.f != 0) {
ieS.e(c1663aKm.f);
}
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public Sts(C1663aKm c1663aKm) {
super(1);
this.a = c1663aKm;
}
}
public static /* synthetic */ void e(String str, InterfaceC9149deK.IeS ieS) {
C14957gcv.e(str, "");
ieS.c(str);
}
public static /* synthetic */ void a(String str, InterfaceC9149deK.IeS ieS) {
C14957gcv.e(str, "");
ieS.c(str);
}
public static /* synthetic */ void d(C1663aKm c1663aKm, final String str) {
C14957gcv.e(c1663aKm, "");
C14957gcv.e(str, "");
if (c1663aKm.f != 0) {
c1663aKm.f.ar_();
}
ZI.IeS ieS = new ZI.IeS(str) { // from class: o.aKr
private String c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C1663aKm.e(this.c, (InterfaceC9149deK.IeS) obj);
}
{
this.c = str;
}
};
if (c1663aKm.f != 0) {
ieS.e(c1663aKm.f);
}
}
public static /* synthetic */ void a(C1663aKm c1663aKm, final String str, List list) {
C14957gcv.e(c1663aKm, "");
C14957gcv.e(str, "");
if (c1663aKm.f != 0) {
c1663aKm.f.ar_();
}
if (list.isEmpty()) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.aKk
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9149deK.IeS) obj).d();
}
};
if (c1663aKm.f != 0) {
ieS.e(c1663aKm.f);
return;
}
return;
}
ZI.IeS ieS2 = new ZI.IeS(str) { // from class: o.aKp
private String d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C1663aKm.a(this.d, (InterfaceC9149deK.IeS) obj);
}
{
this.d = str;
}
};
if (c1663aKm.f != 0) {
ieS2.e(c1663aKm.f);
}
}
public static final /* synthetic */ void b(C1663aKm c1663aKm) {
if (c1663aKm.f != 0) {
c1663aKm.f.ar_();
}
}
public static final /* synthetic */ void d(C1663aKm c1663aKm, Throwable th, Runnable runnable) {
if (c1663aKm.b(th)) {
c1663aKm.d(c1663aKm.j.c(th, runnable));
}
}
}