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

385 lines
12 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.scb.phone.domain.errors.RetrofitException;
import java.util.ArrayList;
import java.util.concurrent.atomic.AtomicBoolean;
import o.InterfaceC9040dcH;
import o.ZI;
/* renamed from: o.asE, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C3154asE extends ZI<InterfaceC9040dcH.jbe> {
private AtomicBoolean a;
private final C15641hP b;
public ArrayList<C0484Hp> c;
public boolean d;
public String e;
private C0479Hn g;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C3154asE(C16903sI c16903sI, C15641hP c15641hP) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(c15641hP, "");
this.b = c15641hP;
this.a = new AtomicBoolean();
this.c = new ArrayList<>();
}
/* renamed from: o.asE$IeS */
/* loaded from: classes4.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.asE$HBt */
/* loaded from: classes4.dex */
public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C3154asE d;
private InterfaceC9040dcH.jbe e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
this.e.ar_();
C3154asE.a(this.d, th2);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(InterfaceC9040dcH.jbe jbeVar, C3154asE c3154asE) {
super(1);
this.e = jbeVar;
this.d = c3154asE;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.asE$Sts */
/* loaded from: classes4.dex */
public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<C0479Hn, C14866gag> {
private C3154asE b;
private InterfaceC9040dcH.jbe c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(C0479Hn c0479Hn) {
C0479Hn c0479Hn2 = c0479Hn;
C14957gcv.e(c0479Hn2, "");
this.c.ar_();
C3154asE.a(this.b, c0479Hn2);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
Sts(InterfaceC9040dcH.jbe jbeVar, C3154asE c3154asE) {
super(1);
this.c = jbeVar;
this.b = c3154asE;
}
}
public final void d() {
C0479Hn c0479Hn = this.g;
C0479Hn c0479Hn2 = null;
if (c0479Hn == null) {
C14957gcv.a("");
c0479Hn = null;
}
if (!c0479Hn.d.e || this.a.get()) {
return;
}
this.a.set(true);
ZI.IeS ieS = new ZI.IeS() { // from class: o.asK
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9040dcH.jbe) obj).k();
}
};
if (this.f != 0) {
ieS.e(this.f);
}
C15641hP c15641hP = this.b;
String str = this.e;
if (str == null) {
C14957gcv.a("");
str = null;
}
String str2 = this.d ? "valid" : "invalid";
C0479Hn c0479Hn3 = this.g;
if (c0479Hn3 == null) {
C14957gcv.a("");
} else {
c0479Hn2 = c0479Hn3;
}
c15641hP.a(new C0719NOk(str, str2, c0479Hn2.d.a + 1), new RVV(this), new LWm(this));
}
/* renamed from: o.asE$LWm */
/* loaded from: classes4.dex */
static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C3154asE d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
C14957gcv.e(th, "");
this.d.a.set(false);
C3154asE.e(this.d);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
LWm(C3154asE c3154asE) {
super(1);
this.d = c3154asE;
}
}
/* renamed from: o.asE$RVV */
/* loaded from: classes4.dex */
static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<C0479Hn, C14866gag> {
private C3154asE b;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(C0479Hn c0479Hn) {
C0479Hn c0479Hn2 = c0479Hn;
C14957gcv.e(c0479Hn2, "");
this.b.a.set(false);
C3154asE.a(this.b);
C3154asE.b(this.b, c0479Hn2);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
RVV(C3154asE c3154asE) {
super(1);
this.b = c3154asE;
}
}
public static /* synthetic */ void d(C3154asE c3154asE, InterfaceC9040dcH.jbe jbeVar) {
C14957gcv.e(c3154asE, "");
jbeVar.a();
jbeVar.y();
C15641hP c15641hP = c3154asE.b;
String str = c3154asE.e;
if (str == null) {
C14957gcv.a("");
str = null;
}
c15641hP.a(new C0719NOk(str, c3154asE.d ? "valid" : "invalid", 0), new Sts(jbeVar, c3154asE), new HBt(jbeVar, c3154asE));
}
/* JADX WARN: Removed duplicated region for block: B:10:0x002c */
/* JADX WARN: Removed duplicated region for block: B:13:0x0030 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static /* synthetic */ void a(o.C3154asE r1, com.scb.phone.domain.errors.RetrofitException r2, o.InterfaceC9040dcH.jbe r3) {
/*
java.lang.String r0 = ""
o.C14957gcv.e(r1, r0)
o.C14957gcv.e(r2, r0)
r1 = r2
java.lang.Throwable r1 = (java.lang.Throwable) r1
boolean r0 = r1 instanceof com.scb.phone.domain.errors.RetrofitException
if (r0 == 0) goto L22
com.scb.phone.domain.errors.RetrofitException r1 = (com.scb.phone.domain.errors.RetrofitException) r1
o.VCl r0 = r1.e
if (r0 == 0) goto L18
o.ggV r0 = r0.c
goto L19
L18:
r0 = 0
L19:
if (r0 == 0) goto L22
o.VCl r1 = r1.e
o.ggV r1 = r1.c
java.lang.String r1 = r1.e
goto L24
L22:
java.lang.String r1 = "OTHER_ERROR"
L24:
java.lang.String r0 = "3006"
boolean r1 = o.C14957gcv.b(r1, r0)
if (r1 == 0) goto L30
r3.i()
return
L30:
com.scb.phone.domain.errors.RetrofitException$RVV r1 = r2.d
com.scb.phone.domain.errors.RetrofitException$RVV r2 = com.scb.phone.domain.errors.RetrofitException.RVV.SESSION_EXPIRED
if (r1 == r2) goto L39
r3.g()
L39:
return
*/
throw new UnsupportedOperationException("Method not decompiled: o.C3154asE.a(o.asE, com.scb.phone.domain.errors.RetrofitException, o.dcH$jbe):void");
}
public static /* synthetic */ void a(C3154asE c3154asE, C0479Hn c0479Hn, InterfaceC9040dcH.jbe jbeVar) {
C14957gcv.e(c3154asE, "");
C14957gcv.e(c0479Hn, "");
c3154asE.g = c0479Hn;
c3154asE.c.addAll(c0479Hn.e);
jbeVar.a(c0479Hn.e);
}
public static /* synthetic */ void d(Throwable th, final C3154asE c3154asE, InterfaceC9040dcH.jbe jbeVar) {
C14957gcv.e(th, "");
C14957gcv.e(c3154asE, "");
if (th instanceof RetrofitException) {
final RetrofitException retrofitException = (RetrofitException) th;
ZI.IeS ieS = new ZI.IeS(c3154asE, retrofitException) { // from class: o.asQ
private C3154asE b;
private RetrofitException e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C3154asE.a(this.b, this.e, (InterfaceC9040dcH.jbe) obj);
}
{
this.b = c3154asE;
this.e = retrofitException;
}
};
if (c3154asE.f != 0) {
ieS.e(c3154asE.f);
return;
}
return;
}
jbeVar.g();
}
public static /* synthetic */ void a(C0484Hp c0484Hp, InterfaceC9040dcH.jbe jbeVar) {
C14957gcv.e(c0484Hp, "");
jbeVar.c(c0484Hp);
}
public static /* synthetic */ void c(C3154asE c3154asE, InterfaceC9040dcH.jbe jbeVar) {
C14957gcv.e(c3154asE, "");
if (c3154asE.d) {
jbeVar.c();
} else {
jbeVar.b();
}
jbeVar.e();
jbeVar.h();
jbeVar.j();
}
public static /* synthetic */ void d(C3154asE c3154asE, C0479Hn c0479Hn, InterfaceC9040dcH.jbe jbeVar) {
C14957gcv.e(c3154asE, "");
C14957gcv.e(c0479Hn, "");
c3154asE.g = c0479Hn;
c3154asE.c.clear();
c3154asE.c.addAll(c0479Hn.e);
jbeVar.a(c0479Hn.e);
}
public static final /* synthetic */ void a(C3154asE c3154asE) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.asD
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9040dcH.jbe) obj).l();
}
};
if (c3154asE.f != 0) {
ieS.e(c3154asE.f);
}
C3155asF c3155asF = new C3155asF();
if (c3154asE.f != 0) {
c3155asF.e(c3154asE.f);
}
}
public static final /* synthetic */ void e(C3154asE c3154asE) {
C3155asF c3155asF = new C3155asF();
if (c3154asE.f != 0) {
c3155asF.e(c3154asE.f);
}
ZI.IeS ieS = new ZI.IeS() { // from class: o.asJ
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9040dcH.jbe) obj).m();
}
};
if (c3154asE.f != 0) {
ieS.e(c3154asE.f);
}
}
public static final /* synthetic */ void a(final C3154asE c3154asE, final Throwable th) {
ZI.IeS ieS = new ZI.IeS(th, c3154asE) { // from class: o.asS
private Throwable d;
private C3154asE e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C3154asE.d(this.d, this.e, (InterfaceC9040dcH.jbe) obj);
}
{
this.d = th;
this.e = c3154asE;
}
};
if (c3154asE.f != 0) {
ieS.e(c3154asE.f);
}
}
public static final /* synthetic */ void b(final C3154asE c3154asE, final C0479Hn c0479Hn) {
ZI.IeS ieS = new ZI.IeS(c3154asE, c0479Hn) { // from class: o.asR
private C0479Hn a;
private C3154asE e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C3154asE.a(this.e, this.a, (InterfaceC9040dcH.jbe) obj);
}
{
this.e = c3154asE;
this.a = c0479Hn;
}
};
if (c3154asE.f != 0) {
ieS.e(c3154asE.f);
}
}
public static final /* synthetic */ void a(final C3154asE c3154asE, final C0479Hn c0479Hn) {
ZI.IeS ieS = new ZI.IeS(c3154asE, c0479Hn) { // from class: o.asI
private C3154asE b;
private C0479Hn d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C3154asE.d(this.b, this.d, (InterfaceC9040dcH.jbe) obj);
}
{
this.b = c3154asE;
this.d = c0479Hn;
}
};
if (c3154asE.f != 0) {
ieS.e(c3154asE.f);
}
}
static {
new IeS((byte) 0);
}
}