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

683 lines
21 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.Arrays;
import java.util.List;
import o.C0690Mh;
import o.C15715hv;
import o.InterfaceC9094ddI;
import o.ZI;
/* loaded from: classes4.dex */
public class aCN extends ZI<InterfaceC9094ddI.LWm> {
public IW a;
public final Ndz b;
public IW c;
public IU d;
public C0547Je e;
public IW g;
public IW h;
public IW i;
private final Ydl k;
public String l;
public String m;
public IW n;
/* renamed from: o, reason: collision with root package name */
public String f8490o;
private final C17361wD t;
@InterfaceC13391fZD
public aCN(C16903sI c16903sI, Ndz ndz, Ydl ydl, C17361wD c17361wD) {
super(c16903sI);
this.b = ndz;
this.k = ydl;
this.t = c17361wD;
}
public final void c(String str) {
C1417aDj c1417aDj = new C1417aDj();
if (this.f != 0) {
c1417aDj.e(this.f);
}
Lhh lhh = new Lhh(str, null, null, null, null);
Ndz ndz = this.b;
ndz.d(ndz.c.e(lhh), new fSQ(this) { // from class: o.aDk
private aCN c;
@Override // o.fSQ
public final void c(Object obj) {
aCN.c(this.c, (SOJ) obj);
}
{
this.c = this;
}
}, new fSQ(this) { // from class: o.aDi
private aCN e;
@Override // o.fSQ
public final void c(Object obj) {
aCN.b(this.e, (Throwable) obj);
}
{
this.e = this;
}
});
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ void d(EnumC0543Ja enumC0543Ja, InterfaceC9094ddI.LWm lWm, boolean z, boolean z2) throws Throwable {
if (enumC0543Ja == EnumC0543Ja.ONSHORE) {
lWm.d(!z);
} else if (enumC0543Ja == EnumC0543Ja.OFFSHORE) {
lWm.b(!z2);
}
lWm.b();
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ void a(InterfaceC9094ddI.LWm lWm, boolean z) throws Throwable {
lWm.a(!z);
lWm.b();
}
private IW a(C0545Jc c0545Jc) {
IU iu = this.d;
if ("Y".equals((String) IU.e(new Object[]{iu}, 1130200500, -1130200500, System.identityHashCode(iu)))) {
return c0545Jc.a.get(1);
}
return c0545Jc.a.get(0);
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ void a(String str, InterfaceC9094ddI.LWm lWm) {
if ("BLACK".equals(str)) {
lWm.b(C15715hv.LWm.black);
} else {
lWm.b(C15715hv.LWm.gray);
}
}
@Override // o.ZI
public final void w_() {
super.w_();
Ndz ndz = this.b;
if (!ndz.h.isDisposed()) {
ndz.h.dispose();
}
Ydl ydl = this.k;
if (ydl.h.isDisposed()) {
return;
}
ydl.h.dispose();
}
public static /* synthetic */ void e(aCN acn, boolean z, Boolean bool, Boolean bool2, String str, InterfaceC9094ddI.LWm lWm) {
lWm.a(!z ? 0 : 8);
if (bool != null && bool2 != null) {
lWm.d(!bool.booleanValue());
lWm.b(!bool2.booleanValue());
lWm.e(false, false);
} else {
lWm.c(str);
IU iu = acn.d;
lWm.e(true, ((Boolean) IU.e(new Object[]{iu}, 581166673, -581166670, System.identityHashCode(iu))).booleanValue());
}
}
public static /* synthetic */ void c(aCN acn, C0917Rn c0917Rn, boolean z, InterfaceC9094ddI.LWm lWm) {
if (c0917Rn.f8348o != null && "1000".equals(c0917Rn.f8348o.c) && z) {
lWm.e(c0917Rn);
} else if (c0917Rn.f8348o != null && "426".equals(c0917Rn.f8348o.c)) {
lWm.a(c0917Rn.f8348o.d, c0917Rn.f8348o.b, c0917Rn.n);
} else {
lWm.e(acn.j.c(c0917Rn.f8348o.d, c0917Rn.f8348o.b, C0690Mh.IeS.JUST_DISMISS));
}
}
public static /* synthetic */ void d(final aCN acn, InterfaceC9094ddI.LWm lWm) {
if (acn.b.c.c().booleanValue()) {
IU iu = acn.d;
if ("Y".equals((String) IU.e(new Object[]{iu}, 1130200500, -1130200500, System.identityHashCode(iu)))) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.aDy
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9094ddI.LWm) obj).j();
}
};
if (acn.f != 0) {
ieS.e(acn.f);
}
ZI.IeS ieS2 = new ZI.IeS(acn) { // from class: o.aDf
private aCN b;
@Override // o.ZI.IeS
public final void e(Object obj) {
aCN.e(this.b, (InterfaceC9094ddI.LWm) obj);
}
{
this.b = acn;
}
};
if (acn.f != 0) {
ieS2.e(acn.f);
}
ZI.IeS ieS3 = new ZI.IeS(acn) { // from class: o.aDb
private aCN d;
@Override // o.ZI.IeS
public final void e(Object obj) {
aCN.i(this.d, (InterfaceC9094ddI.LWm) obj);
}
{
this.d = acn;
}
};
if (acn.f != 0) {
ieS3.e(acn.f);
}
ZI.IeS ieS4 = new ZI.IeS(acn) { // from class: o.aDm
private aCN e;
@Override // o.ZI.IeS
public final void e(Object obj) {
aCN.b(this.e);
}
{
this.e = acn;
}
};
if (acn.f != 0) {
ieS4.e(acn.f);
}
ZI.IeS ieS5 = new ZI.IeS(acn) { // from class: o.aCI
private aCN d;
@Override // o.ZI.IeS
public final void e(Object obj) {
aCN acn2 = this.d;
((InterfaceC9094ddI.LWm) obj).c(r1.d.u() != null && "Y".equals(r1.d.u().a));
}
{
this.d = acn;
}
};
if (acn.f != 0) {
ieS5.e(acn.f);
return;
}
return;
}
lWm.c();
return;
}
if (acn.d.u() == null || acn.d.u().b == null || acn.d.u().b.length <= 0 || acn.d.u().c == null || acn.d.u().c.length <= 0) {
return;
}
lWm.b(acn.d.u().b[0], acn.d.u().c[0], C15715hv.LWm.gray);
lWm.c(false);
ZI.IeS ieS6 = new ZI.IeS(acn) { // from class: o.aDm
private aCN e;
@Override // o.ZI.IeS
public final void e(Object obj) {
aCN.b(this.e);
}
{
this.e = acn;
}
};
if (acn.f != 0) {
ieS6.e(acn.f);
}
}
public static /* synthetic */ void b(final aCN acn, final String[] strArr, boolean z, final Boolean bool, final Boolean bool2, final String str, InterfaceC9094ddI.LWm lWm) {
final boolean z2 = true;
final boolean z3 = strArr != null && Arrays.asList(strArr).contains("CARD_UNLOCK");
if (z) {
IU iu = acn.d;
lWm.b(z3, "Y".equals((String) IU.e(new Object[]{iu}, 1130200500, -1130200500, System.identityHashCode(iu))) ? acn.m : acn.f8490o);
final boolean z4 = z3;
ZI.IeS ieS = new ZI.IeS(acn, z4, bool, bool2, str) { // from class: o.aCQ
private aCN a;
private Boolean b;
private String c;
private Boolean d;
private boolean e;
@Override // o.ZI.IeS
public final void e(Object obj) {
aCN.e(this.a, this.e, this.b, this.d, this.c, (InterfaceC9094ddI.LWm) obj);
}
{
this.a = acn;
this.e = z4;
this.b = bool;
this.d = bool2;
this.c = str;
}
};
if (acn.f != 0) {
ieS.e(acn.f);
}
if (strArr == null || (!Arrays.asList(strArr).contains("CARD_PLASTIC_LOCK") && !Arrays.asList(strArr).contains("CARD_PLASTIC_UNLOCK"))) {
z2 = false;
}
ZI.IeS ieS2 = new ZI.IeS(acn, z3, z2, strArr) { // from class: o.aCS
private String[] b;
private aCN c;
private boolean d;
private boolean e;
@Override // o.ZI.IeS
public final void e(Object obj) {
aCN.a(this.d, this.e, this.b, (InterfaceC9094ddI.LWm) obj);
}
{
this.c = acn;
this.d = z3;
this.e = z2;
this.b = strArr;
}
};
if (acn.f != 0) {
ieS2.e(acn.f);
}
} else {
lWm.b(acn.l);
lWm.a(8);
lWm.e(8);
}
lWm.e(z3);
}
public static /* synthetic */ void c(final aCN acn, final C9088ddC c9088ddC) {
if (acn.f != 0) {
acn.f.ar_();
}
ZI.IeS ieS = new ZI.IeS(acn, c9088ddC) { // from class: o.aDt
private aCN b;
private C9088ddC d;
@Override // o.ZI.IeS
public final void e(Object obj) {
InterfaceC9094ddI.LWm lWm = (InterfaceC9094ddI.LWm) obj;
lWm.e(this.d.b, r0.a(this.b.e.c));
}
{
this.b = acn;
this.d = c9088ddC;
}
};
if (acn.f != 0) {
ieS.e(acn.f);
}
}
public static /* synthetic */ void a(aCN acn, boolean z, InterfaceC9094ddI.LWm lWm) {
if (z) {
lWm.b(acn.a(acn.e.d));
} else {
lWm.f(acn.e.a.a.get(0));
}
}
public static /* synthetic */ void e(aCN acn, SOJ soj, InterfaceC9094ddI.LWm lWm) {
if (soj.b == null || !soj.b.contains("CARD_UNLOCK")) {
if (soj.b != null && soj.b.contains("CARD_LOCK")) {
lWm.e(false);
IU iu = acn.d;
lWm.b(false, "Y".equals((String) IU.e(new Object[]{iu}, 1130200500, -1130200500, System.identityHashCode(iu))) ? acn.m : acn.f8490o);
lWm.a(0);
}
} else {
lWm.e(true);
IU iu2 = acn.d;
lWm.b(true, "Y".equals((String) IU.e(new Object[]{iu2}, 1130200500, -1130200500, System.identityHashCode(iu2))) ? acn.m : acn.f8490o);
lWm.a(8);
lWm.e(8);
}
lWm.b();
}
public static /* synthetic */ void a(aCN acn, InterfaceC9094ddI.LWm lWm) {
if (acn.b.b.v().booleanValue()) {
lWm.i();
} else {
lWm.d();
}
}
public static /* synthetic */ void c(aCN acn, boolean z, InterfaceC9094ddI.LWm lWm) {
if (z) {
lWm.d(acn.a);
} else {
lWm.e(acn.i);
}
}
public static /* synthetic */ void a(boolean z, boolean z2, String[] strArr, InterfaceC9094ddI.LWm lWm) {
if (!z && z2) {
boolean z3 = false;
lWm.e(0);
if (strArr != null && Arrays.asList(strArr).contains("CARD_PLASTIC_UNLOCK")) {
z3 = true;
}
lWm.a(z3);
return;
}
lWm.e(8);
}
public static /* synthetic */ void d(aCN acn, boolean z, InterfaceC9094ddI.LWm lWm) {
if (z) {
lWm.a(acn.c);
} else {
lWm.j(acn.h);
}
}
public static /* synthetic */ void a(final aCN acn, String str, final boolean z, final boolean z2, final EnumC0543Ja enumC0543Ja, final InterfaceC9094ddI.LWm lWm) {
lWm.y();
Lhh lhh = new Lhh(str, Boolean.valueOf(z), Boolean.valueOf(z2), enumC0543Ja.name(), null);
Ndz ndz = acn.b;
ndz.d(ndz.c.e(lhh), new fSQ(enumC0543Ja, lWm, z, z2) { // from class: o.aCW
private InterfaceC9094ddI.LWm b;
private EnumC0543Ja c;
private boolean d;
private boolean e;
@Override // o.fSQ
public final void c(Object obj) {
aCN.d(this.c, this.b, this.d, this.e);
}
{
this.c = enumC0543Ja;
this.b = lWm;
this.d = z;
this.e = z2;
}
}, new fSQ(acn, lWm) { // from class: o.aCX
private aCN c;
private InterfaceC9094ddI.LWm d;
@Override // o.fSQ
public final void c(Object obj) {
aCN.d(this.c, this.d, (Throwable) obj);
}
{
this.c = acn;
this.d = lWm;
}
});
}
public static /* synthetic */ void c(aCN acn, Throwable th, InterfaceC9094ddI.LWm lWm) {
lWm.ar_();
lWm.e(acn.j.e(th));
}
public static /* synthetic */ void c(final aCN acn, final SOJ soj) {
ZI.IeS ieS = new ZI.IeS(acn, soj) { // from class: o.aCY
private SOJ a;
private aCN e;
@Override // o.ZI.IeS
public final void e(Object obj) {
aCN.e(this.e, this.a, (InterfaceC9094ddI.LWm) obj);
}
{
this.e = acn;
this.a = soj;
}
};
if (acn.f != 0) {
ieS.e(acn.f);
}
}
public static /* synthetic */ void b(final aCN acn, final Throwable th) {
ZI.IeS ieS = new ZI.IeS(acn, th) { // from class: o.aDo
private aCN c;
private Throwable d;
@Override // o.ZI.IeS
public final void e(Object obj) {
aCN.c(this.c, this.d, (InterfaceC9094ddI.LWm) obj);
}
{
this.c = acn;
this.d = th;
}
};
if (acn.f != 0) {
ieS.e(acn.f);
}
}
public static /* synthetic */ void b(aCN acn, boolean z, InterfaceC9094ddI.LWm lWm) {
if (z) {
lWm.c(acn.g);
} else {
lWm.g(acn.n);
}
}
public static /* synthetic */ void b(final aCN acn, String str, final boolean z, final InterfaceC9094ddI.LWm lWm) {
lWm.y();
Lhh lhh = new Lhh(str, null, null, null, Boolean.valueOf(z));
Ndz ndz = acn.b;
ndz.d(ndz.c.e(lhh), new fSQ(lWm, z) { // from class: o.aCR
private boolean a;
private InterfaceC9094ddI.LWm c;
@Override // o.fSQ
public final void c(Object obj) {
aCN.a(this.c, this.a);
}
{
this.c = lWm;
this.a = z;
}
}, new fSQ(acn, lWm) { // from class: o.aCU
private InterfaceC9094ddI.LWm a;
private aCN c;
@Override // o.fSQ
public final void c(Object obj) {
aCN.a(this.c, this.a, (Throwable) obj);
}
{
this.c = acn;
this.a = lWm;
}
});
}
public static /* synthetic */ void d(aCN acn, InterfaceC9094ddI.LWm lWm, Throwable th) {
lWm.ar_();
lWm.e(acn.j.e(th));
}
public static /* synthetic */ void a(final aCN acn, final Throwable th) {
ZI.IeS ieS = new ZI.IeS(acn, th) { // from class: o.aCO
private aCN a;
private Throwable c;
@Override // o.ZI.IeS
public final void e(Object obj) {
aCN.a(this.a, this.c, (InterfaceC9094ddI.LWm) obj);
}
{
this.a = acn;
this.c = th;
}
};
if (acn.f != 0) {
ieS.e(acn.f);
}
}
public static /* synthetic */ void c(aCN acn, Throwable th) {
if (acn.i(th) || !acn.b(th)) {
return;
}
acn.d(acn.j.e(th));
}
public static /* synthetic */ void e(final aCN acn, List list) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.aDu
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9094ddI.LWm) obj).ar_();
}
};
if (acn.f != 0) {
ieS.e(acn.f);
}
for (final C0917Rn c0917Rn : acn.t.e((List<C15966jxa>) list)) {
if (c0917Rn.a != null && c0917Rn.a.equalsIgnoreCase(acn.d.c())) {
List<String> list2 = c0917Rn.d;
final boolean z = list2 != null && (list2.contains("CARD_LIMIT_WITHDRAWAL") || list2.contains("CARD_LIMIT_PURCHASE") || list2.contains("CARD_LIMIT_ECOM"));
ZI.IeS ieS2 = new ZI.IeS(acn, c0917Rn, z) { // from class: o.aCV
private C0917Rn b;
private boolean d;
private aCN e;
@Override // o.ZI.IeS
public final void e(Object obj) {
aCN.c(this.e, this.b, this.d, (InterfaceC9094ddI.LWm) obj);
}
{
this.e = acn;
this.b = c0917Rn;
this.d = z;
}
};
if (acn.f != 0) {
ieS2.e(acn.f);
return;
}
return;
}
}
}
public static /* synthetic */ void a(aCN acn, InterfaceC9094ddI.LWm lWm, Throwable th) {
lWm.ar_();
lWm.e(acn.j.e(th));
}
public static /* synthetic */ void a(aCN acn, Throwable th, InterfaceC9094ddI.LWm lWm) {
lWm.ar_();
lWm.e(acn.j.e(th));
}
public static /* synthetic */ void b(final aCN acn) {
if (acn.d.u() == null || acn.d.u().c == null || acn.d.u().c.length <= 1) {
return;
}
final String str = acn.d.u().c[1];
final String str2 = acn.d.u().c[2];
ZI.IeS ieS = new ZI.IeS(acn, str2, str) { // from class: o.aCZ
private aCN a;
private String b;
private String e;
@Override // o.ZI.IeS
public final void e(Object obj) {
aCN.a(this.a, this.e, this.b, (InterfaceC9094ddI.LWm) obj);
}
{
this.a = acn;
this.e = str2;
this.b = str;
}
};
if (acn.f != 0) {
ieS.e(acn.f);
}
}
public static /* synthetic */ void a(aCN acn, String str, final String str2, InterfaceC9094ddI.LWm lWm) {
if ("R".equals(str)) {
if (!acn.b.c.c().booleanValue()) {
lWm.b(C15715hv.LWm.gray);
return;
}
ZI.IeS ieS = new ZI.IeS(str2) { // from class: o.aDr
private String a;
@Override // o.ZI.IeS
public final void e(Object obj) {
aCN.a(this.a, (InterfaceC9094ddI.LWm) obj);
}
{
this.a = str2;
}
};
if (acn.f != 0) {
ieS.e(acn.f);
return;
}
return;
}
lWm.e();
}
public static /* synthetic */ void e(aCN acn, InterfaceC9094ddI.LWm lWm) {
if (acn.d.u() == null || acn.d.u().b == null || acn.d.u().b.length <= 0) {
return;
}
String str = acn.d.u().b[0];
if ("BLACK".equals(acn.d.u().b[1])) {
lWm.a(str, C15715hv.LWm.black);
} else {
lWm.a(str, C15715hv.LWm.gray);
}
}
public static /* synthetic */ void b(aCN acn, InterfaceC9094ddI.LWm lWm) {
if (acn.d.u() != null && gjJ.a(acn.d.u().d)) {
lWm.d(acn.d.u().d);
} else {
lWm.a();
}
}
public static /* synthetic */ void i(aCN acn, InterfaceC9094ddI.LWm lWm) {
if (acn.d.u() == null || acn.d.u().c == null || acn.d.u().c.length <= 0) {
return;
}
String str = acn.d.u().c[0];
String str2 = acn.d.u().c[1];
if ("BLACK".equals(str2)) {
lWm.e(str, C15715hv.LWm.black);
} else if ("GREEN".equals(str2)) {
lWm.e(str, C15715hv.LWm.light_green);
} else {
lWm.e(str, C15715hv.LWm.gray);
}
}
}