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

236 lines
8.2 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import o.C0690Mh;
import o.C7628crs;
import o.InterfaceC9559dly;
import o.ZI;
/* renamed from: o.crs, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C7628crs extends ZI<InterfaceC9559dly.HBt> {
public final C15861jH b;
final C17754zW d;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C7628crs(C16903sI c16903sI, C17754zW c17754zW, C15861jH c15861jH) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(c17754zW, "");
C14957gcv.e(c15861jH, "");
this.d = c17754zW;
this.b = c15861jH;
}
/* renamed from: o.crs$IeS */
/* loaded from: classes4.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
/* renamed from: o.crs$LWm */
/* loaded from: classes4.dex */
public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C7628crs d;
/* JADX WARN: Code restructure failed: missing block: B:11:0x003b, code lost:
if (r0 == null) goto L15;
*/
@Override // o.InterfaceC14894gbR
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final /* synthetic */ o.C14866gag invoke(java.lang.Throwable r4) {
/*
r3 = this;
java.lang.Throwable r4 = (java.lang.Throwable) r4
java.lang.String r0 = ""
o.C14957gcv.e(r4, r0)
boolean r0 = r4 instanceof com.scb.phone.domain.errors.RetrofitException
if (r0 == 0) goto L3d
r0 = r4
com.scb.phone.domain.errors.RetrofitException r0 = (com.scb.phone.domain.errors.RetrofitException) r0
o.VCl r0 = r0.e
if (r0 == 0) goto L3a
o.crs r1 = r3.d
o.ggV r0 = r0.c
java.lang.String r0 = r0.e
java.lang.String r2 = "9100"
boolean r0 = o.C14957gcv.b(r0, r2)
if (r0 == 0) goto L32
o.C7628crs.e(r1)
o.crq r0 = new o.crq
r0.<init>()
T extends o.cYp r2 = r1.f
if (r2 == 0) goto L37
T extends o.cYp r1 = r1.f
r0.e(r1)
goto L37
L32:
o.Mh$IeS r0 = o.C0690Mh.IeS.NAVIGATE_BACK
o.C7628crs.a(r1, r4, r0)
L37:
o.gag r0 = o.C14866gag.c
goto L3b
L3a:
r0 = 0
L3b:
if (r0 != 0) goto L44
L3d:
o.crs r0 = r3.d
o.Mh$IeS r1 = o.C0690Mh.IeS.NAVIGATE_BACK
o.C7628crs.a(r0, r4, r1)
L44:
o.gag r4 = o.C14866gag.c
return r4
*/
throw new UnsupportedOperationException("Method not decompiled: o.C7628crs.LWm.invoke(java.lang.Object):java.lang.Object");
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public LWm(C7628crs c7628crs) {
super(1);
this.d = c7628crs;
}
}
/* renamed from: o.crs$RVV */
/* loaded from: classes4.dex */
public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<Grc, C14866gag> {
private C7628crs a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Grc grc) {
final Grc grc2 = grc;
C14957gcv.e(grc2, "");
C7628crs.e(this.a);
final C7628crs c7628crs = this.a;
ZI.IeS ieS = new ZI.IeS(c7628crs, grc2) { // from class: o.crr
private C7628crs b;
private Grc e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C7628crs.RVV.e(this.b, this.e, (InterfaceC9559dly.HBt) obj);
}
{
this.b = c7628crs;
this.e = grc2;
}
};
if (c7628crs.f != 0) {
ieS.e(c7628crs.f);
}
return C14866gag.c;
}
public static /* synthetic */ void e(C7628crs c7628crs, Grc grc, InterfaceC9559dly.HBt hBt) {
String concat;
C14957gcv.e(c7628crs, "");
C14957gcv.e(grc, "");
C17754zW c17754zW = c7628crs.d;
C14957gcv.e(grc, "");
List<YNb> list = grc.c;
C14957gcv.e(list, "");
ArrayList arrayList = new ArrayList(list instanceof Collection ? list.size() : 10);
Iterator it = list.iterator();
while (it.hasNext()) {
YNb yNb = (YNb) it.next();
int i = yNb.v;
String str = yNb.k;
gnR gnr = yNb.p;
C1055Uq c1055Uq = new C1055Uq(gnr.b, gnr.a);
String str2 = yNb.i;
String str3 = yNb.f;
String str4 = yNb.j;
List<String> list2 = yNb.c;
String str5 = yNb.f8462o;
String str6 = yNb.q;
String c = C17754zW.c(Double.valueOf(Double.parseDouble(yNb.r)));
C14957gcv.c((Object) c, "");
String b_ = c17754zW.b_(yNb.g);
String str7 = yNb.m;
Iterator it2 = it;
int i2 = yNb.w;
ArrayList arrayList2 = arrayList;
int i3 = yNb.x;
int i4 = yNb.h;
String str8 = yNb.t;
String str9 = yNb.l;
String str10 = yNb.b;
List<QUl> list3 = yNb.y;
C14957gcv.e(list3, "");
ArrayList arrayList3 = new ArrayList(list3 instanceof Collection ? list3.size() : 10);
Iterator it3 = list3.iterator();
while (it3.hasNext()) {
QUl qUl = (QUl) it3.next();
Iterator it4 = it3;
String c2 = C17754zW.c(Double.valueOf(Double.parseDouble(qUl.c)));
String str11 = str7;
String str12 = str6;
String str13 = str5;
if (gdZ.a(qUl.b, "C", true)) {
concat = "+".concat(String.valueOf(c2));
} else {
concat = "-".concat(String.valueOf(c2));
}
String e = c17754zW.e(qUl.e);
C14957gcv.c((Object) e, "");
String str14 = qUl.b;
String str15 = qUl.d;
arrayList3.add(new C1059Us(e, concat, null, ""));
it3 = it4;
str7 = str11;
str6 = str12;
str5 = str13;
}
C1049Un c1049Un = new C1049Un(i, str, c1055Uq, str2, str3, str4, list2, str5, str6, c, b_, str7, i2, i3, i4, str8, str9, str10, arrayList3, true, yNb.s, yNb.n, yNb.d, yNb.a, yNb.u);
arrayList = arrayList2;
arrayList.add(c1049Un);
it = it2;
}
hBt.a(new C1068Ux(arrayList));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public RVV(C7628crs c7628crs) {
super(1);
this.a = c7628crs;
}
}
@Override // o.ZI
public final void w_() {
this.b.a();
super.w_();
}
public static final /* synthetic */ void e(C7628crs c7628crs) {
if (c7628crs.f != 0) {
c7628crs.f.ar_();
}
}
public static final /* synthetic */ void a(C7628crs c7628crs, Throwable th, C0690Mh.IeS ieS) {
if (c7628crs.b(th)) {
c7628crs.d(c7628crs.j.d(th, ieS));
}
}
static {
new IeS((byte) 0);
}
}