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

463 lines
14 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.ArrayList;
import java.util.List;
import o.C15716hvG;
import o.C6006cFm;
import o.InterfaceC9573dmL;
import o.ZI;
/* renamed from: o.cFm, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C6006cFm extends ZI<InterfaceC9573dmL.RVV> {
private final C16059ko a;
public final InterfaceC13393fZL b;
private final C0243Cd c;
private final C16077kw d;
public C1138Wl e;
public static final /* synthetic */ boolean e(C6006cFm c6006cFm) {
return ((Boolean) c6006cFm.b.e()).booleanValue();
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C6006cFm(C16059ko c16059ko, C0243Cd c0243Cd, C16077kw c16077kw, C16903sI c16903sI) {
super(c16903sI);
C14957gcv.e(c16059ko, "");
C14957gcv.e(c0243Cd, "");
C14957gcv.e(c16077kw, "");
C14957gcv.e(c16903sI, "");
this.a = c16059ko;
this.c = c0243Cd;
this.d = c16077kw;
LWm lWm = new LWm(this);
C14957gcv.e(lWm, "");
this.b = new fZZ(lWm);
}
/* renamed from: o.cFm$LWm */
/* loaded from: classes4.dex */
static final class LWm extends AbstractC14961gcz implements InterfaceC14890gbN<Boolean> {
private C6006cFm a;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ Boolean invoke() {
return Boolean.valueOf(this.a.d.e());
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
LWm(C6006cFm c6006cFm) {
super(0);
this.a = c6006cFm;
}
}
/* renamed from: o.cFm$RVV */
/* loaded from: classes4.dex */
static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C6006cFm a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
final C6006cFm c6006cFm = this.a;
C6006cFm.b(c6006cFm, th2, new Runnable(c6006cFm) { // from class: o.cFw
private C6006cFm c;
@Override // java.lang.Runnable
public final void run() {
C6006cFm.RVV.d(this.c);
}
{
this.c = c6006cFm;
}
});
return C14866gag.c;
}
public static /* synthetic */ void d(C6006cFm c6006cFm) {
C14957gcv.e(c6006cFm, "");
ZI.IeS ieS = new ZI.IeS() { // from class: o.cFz
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9573dmL.RVV) obj).c();
}
};
if (c6006cFm.f != 0) {
ieS.e(c6006cFm.f);
}
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
RVV(C6006cFm c6006cFm) {
super(1);
this.a = c6006cFm;
}
}
/* renamed from: o.cFm$Sts */
/* loaded from: classes4.dex */
static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<C1138Wl, C14866gag> {
private C6006cFm d;
/* JADX WARN: Code restructure failed: missing block: B:19:0x0045, code lost:
if (r6.m == false) goto L24;
*/
/* JADX WARN: Removed duplicated region for block: B:16:0x003f */
/* JADX WARN: Removed duplicated region for block: B:22:0x0051 */
@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(o.C1138Wl r6) {
/*
r5 = this;
o.Wl r6 = (o.C1138Wl) r6
java.lang.String r0 = ""
o.C14957gcv.e(r6, r0)
o.cFm r1 = r5.d
o.C6006cFm.a(r1)
o.cFm r1 = r5.d
o.SP r2 = r6.c
r3 = 1
r4 = 0
if (r2 == 0) goto L29
java.lang.String r2 = r2.j
if (r2 == 0) goto L29
o.C14957gcv.c(r2, r0)
java.lang.CharSequence r2 = (java.lang.CharSequence) r2
int r2 = r2.length()
if (r2 <= 0) goto L29
boolean r2 = r6.b
if (r2 != 0) goto L29
r2 = r3
goto L2a
L29:
r2 = r4
L2a:
r6.e = r2
o.SP r2 = r6.f8435o
if (r2 == 0) goto L48
java.lang.String r2 = r2.j
if (r2 == 0) goto L48
o.C14957gcv.c(r2, r0)
java.lang.CharSequence r2 = (java.lang.CharSequence) r2
int r0 = r2.length()
if (r0 <= 0) goto L48
boolean r0 = r6.l
if (r0 != 0) goto L48
boolean r0 = r6.m
if (r0 != 0) goto L48
goto L49
L48:
r3 = r4
L49:
r6.i = r3
boolean r0 = o.C6006cFm.e(r1)
if (r0 == 0) goto L57
r6.f = r4
r6.g = r4
r6.j = r4
L57:
o.C6006cFm.a(r1, r6)
o.cFm r0 = r5.d
o.C6006cFm.b(r0, r6)
o.cFm r6 = r5.d
o.C6006cFm.b(r6)
o.gag r6 = o.C14866gag.c
return r6
*/
throw new UnsupportedOperationException("Method not decompiled: o.C6006cFm.Sts.invoke(java.lang.Object):java.lang.Object");
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
Sts(C6006cFm c6006cFm) {
super(1);
this.d = c6006cFm;
}
}
private final List<Integer> c() {
ArrayList arrayList = new ArrayList();
C1138Wl c1138Wl = this.e;
if ((c1138Wl != null ? c1138Wl.a : null) == null) {
arrayList.add(3);
}
C1138Wl c1138Wl2 = this.e;
if ((c1138Wl2 != null ? c1138Wl2.c : null) == null) {
arrayList.add(5);
}
C1138Wl c1138Wl3 = this.e;
if (c1138Wl3 != null && c1138Wl3.d) {
C1138Wl c1138Wl4 = this.e;
if ((c1138Wl4 != null ? c1138Wl4.f8435o : null) == null) {
arrayList.add(4);
}
}
return C14881gav.d((Iterable) arrayList);
}
public final void b() {
final boolean z;
if (this.e == null) {
z = false;
} else if (((Boolean) this.b.e()).booleanValue()) {
z = h();
} else {
z = a();
}
ZI.IeS ieS = new ZI.IeS(z) { // from class: o.cFs
private boolean d;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9573dmL.RVV) obj).c(this.d);
}
{
this.d = z;
}
};
if (this.f != 0) {
ieS.e(this.f);
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.cFm$IeS */
/* loaded from: classes4.dex */
public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<Boolean, C14866gag> {
private C6006cFm c;
private InterfaceC9573dmL.RVV e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Boolean bool) {
C6006cFm.a(this.c);
this.e.b();
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
IeS(C6006cFm c6006cFm, InterfaceC9573dmL.RVV rvv) {
super(1);
this.c = c6006cFm;
this.e = rvv;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.cFm$jbe */
/* loaded from: classes4.dex */
public final /* synthetic */ class jbe extends C14954gcs implements InterfaceC14894gbR<Throwable, C14866gag> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
C6006cFm.c((C6006cFm) this.f, th);
return C14866gag.c;
}
jbe(Object obj) {
super(1, obj, C6006cFm.class, "showErrorDialog", "showErrorDialog(Ljava/lang/Throwable;)V");
}
}
@Override // o.ZI
public final void w_() {
this.a.a();
super.w_();
}
/* renamed from: o.cFm$HBt */
/* loaded from: classes4.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
public static /* synthetic */ void a(C6006cFm c6006cFm, C1138Wl c1138Wl, InterfaceC9573dmL.RVV rvv) {
boolean z;
boolean z2;
boolean z3;
C14957gcv.e(c6006cFm, "");
C14957gcv.e(c1138Wl, "");
if (((Boolean) c6006cFm.b.e()).booleanValue()) {
if (c1138Wl.d) {
rvv.a(c6006cFm.c());
return;
} else {
rvv.d(c6006cFm.c());
return;
}
}
if (c1138Wl.d) {
rvv.d(c1138Wl);
} else {
rvv.e(c1138Wl);
}
C15716hvG.RVV rvv2 = C15716hvG.d;
z = C15716hvG.a;
z2 = C15716hvG.e;
z3 = C15716hvG.b;
rvv.c(C15716hvG.RVV.d("investment_onboard_addressinfo", z, z2, z3, null));
}
public static /* synthetic */ void d(C1138Wl c1138Wl, InterfaceC9573dmL.RVV rvv) {
C14957gcv.e(c1138Wl, "");
SP sp = c1138Wl.h;
String str = sp != null ? sp.j : null;
rvv.b(str != null ? str : "", false);
}
public static /* synthetic */ void d(C1138Wl c1138Wl, C6006cFm c6006cFm, InterfaceC9573dmL.RVV rvv) {
C14957gcv.e(c1138Wl, "");
C14957gcv.e(c6006cFm, "");
SP sp = c1138Wl.h;
String str = sp != null ? sp.j : null;
rvv.b(str != null ? str : "", true);
c6006cFm.b();
}
public static /* synthetic */ void a(int i, C1138Wl c1138Wl, InterfaceC9573dmL.RVV rvv) {
C14957gcv.e(c1138Wl, "");
rvv.c(i, c1138Wl);
}
public static /* synthetic */ void a(C6006cFm c6006cFm, InterfaceC9573dmL.RVV rvv) {
C14866gag c14866gag;
C14957gcv.e(c6006cFm, "");
if (c6006cFm.f != 0) {
c6006cFm.f.y();
}
if (((Boolean) c6006cFm.b.e()).booleanValue()) {
C15716hvG.RVV rvv2 = C15716hvG.d;
rvv.c(new C13396fZU<>("omnibus_onboard_mailingaddress", new C15716hvG()));
}
C1138Wl c1138Wl = c6006cFm.e;
if (c1138Wl != null) {
c6006cFm.a.c(c6006cFm.c.b(c1138Wl, true, ((Boolean) c6006cFm.b.e()).booleanValue()), new IeS(c6006cFm, rvv), new jbe(c6006cFm));
c14866gag = C14866gag.c;
} else {
c14866gag = null;
}
if (c14866gag != null || c6006cFm.f == 0) {
return;
}
c6006cFm.f.ar_();
}
public static final /* synthetic */ void a(C6006cFm c6006cFm) {
if (c6006cFm.f != 0) {
c6006cFm.f.ar_();
}
}
public static final /* synthetic */ void b(final C6006cFm c6006cFm, final C1138Wl c1138Wl) {
ZI.IeS ieS = new ZI.IeS(c6006cFm, c1138Wl) { // from class: o.cFt
private C1138Wl b;
private C6006cFm d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C6006cFm.a(this.d, this.b, (InterfaceC9573dmL.RVV) obj);
}
{
this.d = c6006cFm;
this.b = c1138Wl;
}
};
if (c6006cFm.f != 0) {
ieS.e(c6006cFm.f);
}
}
public static final /* synthetic */ void c(C6006cFm c6006cFm, Throwable th) {
if (c6006cFm.b(th)) {
c6006cFm.d(c6006cFm.j.e(th));
}
}
public static final /* synthetic */ void b(C6006cFm c6006cFm, Throwable th, Runnable runnable) {
if (c6006cFm.b(th)) {
c6006cFm.d(c6006cFm.j.c(th, runnable));
}
}
private final boolean a() {
SP sp;
String str;
C1138Wl c1138Wl = this.e;
if (c1138Wl == null || (sp = c1138Wl.a) == null || (str = sp.j) == null) {
return false;
}
C14957gcv.c((Object) str, "");
if (str.length() <= 0) {
return false;
}
if (!c1138Wl.e && !c1138Wl.b) {
return false;
}
if (c1138Wl.f || c1138Wl.j || c1138Wl.g) {
return !c1138Wl.d || c1138Wl.i || c1138Wl.l || c1138Wl.m;
}
return false;
}
/* JADX WARN: Code restructure failed: missing block: B:8:0x0018, code lost:
if (r2.length() <= 0) goto L10;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private final boolean h() {
/*
r4 = this;
o.Wl r0 = r4.e
r1 = 0
if (r0 == 0) goto L27
o.SP r2 = r0.h
if (r2 == 0) goto L1a
java.lang.String r2 = r2.j
if (r2 == 0) goto L1a
java.lang.String r3 = ""
o.C14957gcv.c(r2, r3)
java.lang.CharSequence r2 = (java.lang.CharSequence) r2
int r2 = r2.length()
if (r2 > 0) goto L26
L1a:
boolean r2 = r0.f
if (r2 != 0) goto L26
boolean r2 = r0.g
if (r2 != 0) goto L26
boolean r0 = r0.j
if (r0 == 0) goto L27
L26:
r1 = 1
L27:
return r1
*/
throw new UnsupportedOperationException("Method not decompiled: o.C6006cFm.h():boolean");
}
public final void d() {
if (this.f != 0) {
this.f.y();
}
this.a.b(((Boolean) this.b.e()).booleanValue(), new Sts(this), new RVV(this));
}
static {
new HBt((byte) 0);
}
}