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

361 lines
12 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import o.C0690Mh;
import o.C1009Tos;
import o.C15715hv;
import o.C15716hvG;
import o.C16075kv;
import o.InterfaceC9576dmO;
import o.ZI;
/* loaded from: classes4.dex */
public final class cFU extends ZI<InterfaceC9576dmO.LWm> {
public String a;
private final C15970jz b;
private final C16075kv c;
public final C16077kw d;
public C1141Wn e;
private final BPs g;
private final String i;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public cFU(C16075kv c16075kv, C16077kw c16077kw, BPs bPs, C15970jz c15970jz, String str, C16903sI c16903sI) {
super(c16903sI);
C14957gcv.e(c16075kv, "");
C14957gcv.e(c16077kw, "");
C14957gcv.e(bPs, "");
C14957gcv.e(c15970jz, "");
C14957gcv.e(str, "");
C14957gcv.e(c16903sI, "");
this.c = c16075kv;
this.d = c16077kw;
this.g = bPs;
this.b = c15970jz;
this.i = str;
this.a = "";
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes4.dex */
public final /* synthetic */ class RVV extends C14954gcs implements InterfaceC14894gbR<C1140Wm, C14866gag> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(C1140Wm c1140Wm) {
C1140Wm c1140Wm2 = c1140Wm;
C14957gcv.e(c1140Wm2, "");
cFU.d((cFU) this.f, c1140Wm2);
return C14866gag.c;
}
RVV(Object obj) {
super(1, obj, cFU.class, "onEligibilitySuccess", "onEligibilitySuccess(Lcom/scb/phone/presentation/model/display/singleform/SingleFormEligibilityDisplay;)V");
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes4.dex */
public final /* synthetic */ class LWm extends C14954gcs implements InterfaceC14894gbR<Throwable, C14866gag> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
cFU.c((cFU) this.f, th2);
return C14866gag.c;
}
LWm(Object obj) {
super(1, obj, cFU.class, "onEligibilityError", "onEligibilityError(Ljava/lang/Throwable;)V");
}
}
public final void d() {
C15716hvG.RVV rvv = C15716hvG.d;
boolean b = C14957gcv.b((Object) this.d.e.e.d(), (Object) "Y");
boolean b2 = C14957gcv.b((Object) this.d.e.e.f(), (Object) "Y");
boolean b3 = C14957gcv.b((Object) this.d.e.e.i(), (Object) "Y");
C15716hvG.a = b;
C15716hvG.e = b2;
C15716hvG.b = b3;
}
@Override // o.ZI
public final void w_() {
this.c.a();
this.d.a();
super.w_();
}
/* loaded from: classes4.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
public static /* synthetic */ void b(cFU cfu, InterfaceC9576dmO.LWm lWm) {
C14957gcv.e(cfu, "");
if (C14957gcv.b((Object) cfu.d.e.e.d(), (Object) "Y") && C14957gcv.b((Object) cfu.d.e.e.i(), (Object) "Y")) {
lWm.d();
return;
}
if (C14957gcv.b((Object) cfu.d.e.e.d(), (Object) "Y") && C14957gcv.b((Object) cfu.d.e.e.i(), (Object) "N")) {
lWm.e();
} else if (C14957gcv.b((Object) cfu.d.e.e.d(), (Object) "N") && C14957gcv.b((Object) cfu.d.e.e.i(), (Object) "Y")) {
lWm.c();
} else {
cfu.c(C15715hv.tOB.error_generic, C0690Mh.IeS.NAVIGATE_BACK);
}
}
public static /* synthetic */ void a(InterfaceC9576dmO.LWm lWm, C1143Wo c1143Wo) {
C14957gcv.e(c1143Wo, "");
lWm.d(c1143Wo.b, c1143Wo.d);
}
public static /* synthetic */ void a(cFU cfu, InterfaceC9576dmO.LWm lWm) {
C14957gcv.e(cfu, "");
lWm.a(cfu.e);
}
/* JADX WARN: Code restructure failed: missing block: B:13:0x0049, code lost:
r8.d(r7.b, r7.d);
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x0050, code lost:
return;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static /* synthetic */ void c(o.C1143Wo r5, o.cFU r6, o.C1143Wo r7, o.InterfaceC9576dmO.LWm r8) {
/*
java.lang.String r0 = ""
o.C14957gcv.e(r6, r0)
o.C14957gcv.e(r7, r0)
r1 = 0
if (r5 == 0) goto L20
java.lang.String r2 = r7.b
java.lang.String r3 = r7.d
o.cFY r4 = new o.cFY
r4.<init>(r8, r5)
o.sI r5 = r6.j
o.Mj r5 = r5.d(r2, r3, r4)
r6.d(r5)
o.gag r5 = o.C14866gag.c
goto L21
L20:
r5 = r1
L21:
if (r5 != 0) goto Lac
java.lang.String r5 = r7.e
int r2 = r5.hashCode()
r3 = 1507423(0x17005f, float:2.11235E-39)
if (r2 == r3) goto L51
r0 = 1567008(0x17e920, float:2.195846E-39)
if (r2 == r0) goto L41
r0 = 1567010(0x17e922, float:2.195849E-39)
if (r2 != r0) goto La3
java.lang.String r0 = "3005"
boolean r5 = r5.equals(r0)
if (r5 != 0) goto L49
goto La3
L41:
java.lang.String r0 = "3003"
boolean r5 = r5.equals(r0)
if (r5 == 0) goto La3
L49:
java.lang.String r5 = r7.b
java.lang.String r6 = r7.d
r8.d(r5, r6)
return
L51:
java.lang.String r2 = "1000"
boolean r5 = r5.equals(r2)
if (r5 == 0) goto La3
r6.a = r0
o.BPs r5 = r6.g
o.VwS r5 = r5.b
java.lang.Boolean r5 = r5.m()
o.C14957gcv.c(r5, r0)
boolean r5 = r5.booleanValue()
if (r5 == 0) goto L94
o.jz r5 = r6.b
java.lang.String r7 = "SINGLE_FORM"
o.C14957gcv.e(r7, r0)
o.rpA r2 = r5.f
o.C14957gcv.e(r7, r0)
o.eRo r2 = r2.c
r2.b(r7)
o.Wn r6 = r6.e
if (r6 == 0) goto L83
java.lang.String r1 = r6.a
L83:
if (r1 != 0) goto L86
r1 = r0
L86:
o.C14957gcv.e(r1, r0)
o.Xeu r5 = r5.b
o.eRo r5 = r5.a
r5.c(r1)
r8.i()
return
L94:
o.cFZ r5 = new o.cFZ
r5.<init>(r6)
T extends o.cYp r7 = r6.f
if (r7 == 0) goto La2
T extends o.cYp r6 = r6.f
r5.e(r6)
La2:
return
La3:
java.lang.String r5 = r7.b
java.lang.String r7 = r7.d
o.Mh$IeS r8 = o.C0690Mh.IeS.JUST_DISMISS
r6.d(r5, r7, r8)
Lac:
return
*/
throw new UnsupportedOperationException("Method not decompiled: o.cFU.c(o.Wo, o.cFU, o.Wo, o.dmO$LWm):void");
}
public static /* synthetic */ void d(cFU cfu, InterfaceC9576dmO.LWm lWm) {
C14957gcv.e(cfu, "");
String b = cfu.c.e.b();
if (b == null) {
b = "";
}
if (!gdZ.d((CharSequence) b)) {
String M = cfu.c.c.c.M();
C14957gcv.c((Object) M, "");
lWm.b(C14957gcv.b((Object) M, (Object) "en") ? "." : "");
}
if (C14957gcv.b((Object) cfu.d.e.e.f(), (Object) "Y")) {
ZI.IeS ieS = new ZI.IeS(cfu) { // from class: o.cGe
private cFU a;
@Override // o.ZI.IeS
public final void e(Object obj) {
cFU.c(this.a, (InterfaceC9576dmO.LWm) obj);
}
{
this.a = cfu;
}
};
if (cfu.f != 0) {
ieS.e(cfu.f);
}
} else {
ZI.IeS ieS2 = new ZI.IeS(cfu) { // from class: o.cFX
private cFU d;
@Override // o.ZI.IeS
public final void e(Object obj) {
cFU.b(this.d, (InterfaceC9576dmO.LWm) obj);
}
{
this.d = cfu;
}
};
if (cfu.f != 0) {
ieS2.e(cfu.f);
}
}
cfu.d();
lWm.d("investment_onboard_checkeligibility");
}
public static final /* synthetic */ void d(cFU cfu, C1140Wm c1140Wm) {
if (cfu.f != 0) {
cfu.f.ar_();
}
C1143Wo c1143Wo = c1140Wm.c;
C1143Wo c1143Wo2 = c1140Wm.c.c;
cfu.e = c1140Wm.a;
ZI.IeS ieS = new ZI.IeS(c1143Wo2, cfu, c1143Wo) { // from class: o.cFT
private C1143Wo a;
private cFU b;
private C1143Wo e;
@Override // o.ZI.IeS
public final void e(Object obj) {
cFU.c(this.e, this.b, this.a, (InterfaceC9576dmO.LWm) obj);
}
{
this.e = c1143Wo2;
this.b = cfu;
this.a = c1143Wo;
}
};
if (cfu.f != 0) {
ieS.e(cfu.f);
}
}
public final void a() {
if (this.f != 0) {
this.f.y();
}
String i = this.d.e.e.i();
String d = this.d.e.e.d();
String f = this.d.e.e.f();
String str = this.a;
String c = this.c.d.e.c();
if (C14957gcv.b((Object) c, (Object) EnumC1274Zk.MF_INVEST_NOW.entryPoint) || C14957gcv.b((Object) c, (Object) EnumC1274Zk.SCBS_INVEST_NOW.entryPoint) || C14957gcv.b((Object) c, (Object) EnumC1274Zk.MF_COMPARE_INVEST_NOW.entryPoint) || C14957gcv.b((Object) c, (Object) EnumC1274Zk.SCBS_COMPARE_INVEST_NOW.entryPoint)) {
c = EnumC1274Zk.INVEST_NOW.entryPoint;
}
C13477fb c13477fb = new C13477fb(i, d, f, str, c, this.i);
C16075kv c16075kv = this.c;
RVV rvv = new RVV(this);
LWm lWm = new LWm(this);
C14957gcv.e(rvv, "");
C14957gcv.e(lWm, "");
C14957gcv.e(c13477fb, "");
c16075kv.b(c16075kv.j, rvv, lWm, new C1009Tos.Sts(c13477fb), new C16075kv.IeS(c16075kv));
}
public static /* synthetic */ void c(cFU cfu, InterfaceC9576dmO.LWm lWm) {
C14957gcv.e(cfu, "");
if (C14957gcv.b((Object) cfu.d.e.e.d(), (Object) "Y") && C14957gcv.b((Object) cfu.d.e.e.i(), (Object) "Y")) {
lWm.h();
return;
}
if (C14957gcv.b((Object) cfu.d.e.e.d(), (Object) "Y") && C14957gcv.b((Object) cfu.d.e.e.i(), (Object) "N")) {
lWm.b();
return;
}
if (C14957gcv.b((Object) cfu.d.e.e.d(), (Object) "N") && C14957gcv.b((Object) cfu.d.e.e.i(), (Object) "Y")) {
lWm.c();
} else if (C14957gcv.b((Object) cfu.d.e.e.d(), (Object) "N") && C14957gcv.b((Object) cfu.d.e.e.i(), (Object) "N")) {
lWm.a();
} else {
cfu.c(C15715hv.tOB.error_generic, C0690Mh.IeS.NAVIGATE_BACK);
}
}
public static /* synthetic */ void e(cFU cfu, InterfaceC9576dmO.LWm lWm) {
C14957gcv.e(cfu, "");
String b = cfu.c.e.b();
lWm.a(b != null ? b : "");
}
public static final /* synthetic */ void c(cFU cfu, Throwable th) {
C0690Mh.IeS ieS = C0690Mh.IeS.JUST_DISMISS;
if (cfu.b(th)) {
cfu.d(cfu.j.d(th, ieS));
}
}
static {
new Sts((byte) 0);
}
}