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

245 lines
6.9 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.scb.phone.domain.errors.RetrofitException;
import o.C0690Mh;
import o.C4625bdh;
import o.DeI;
import o.InterfaceC6621cYR;
import o.LHd;
import o.ZI;
import o.wRi;
/* renamed from: o.bdh, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C4625bdh extends C4619bdb<InterfaceC6621cYR.jbe> {
public LU g;
final C16949se h;
private final YHs n;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C4625bdh(C16903sI c16903sI, C16706qX c16706qX, fKT fkt, Wqj wqj, YHs yHs, C16949se c16949se, CQ cq, C15829iu c15829iu, iRT irt, String str) {
super(c16903sI, c16706qX, fkt, wqj, cq, c15829iu, irt, str);
C14957gcv.e(c16706qX, "");
C14957gcv.e(fkt, "");
C14957gcv.e(wqj, "");
C14957gcv.e(yHs, "");
C14957gcv.e(c16949se, "");
C14957gcv.e(cq, "");
C14957gcv.e(c15829iu, "");
C14957gcv.e(irt, "");
C14957gcv.e(str, "");
this.n = yHs;
this.h = c16949se;
}
/* renamed from: o.bdh$LWm */
/* loaded from: classes4.dex */
final class LWm extends wRi.LWm<xtZ> {
private C4625bdh c;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
xtZ xtz = (xtZ) obj;
C14957gcv.e(xtz, "");
C4625bdh.b(this.c);
if (xtz.d) {
final C4625bdh c4625bdh = this.c;
ZI.IeS ieS = new ZI.IeS(c4625bdh) { // from class: o.bdn
private C4625bdh c;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C4625bdh.LWm.c(this.c, (InterfaceC6621cYR.jbe) obj2);
}
{
this.c = c4625bdh;
}
};
if (c4625bdh.f != 0) {
ieS.e(c4625bdh.f);
}
}
}
public LWm(C4625bdh c4625bdh) {
this.c = c4625bdh;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
String str = "";
C14957gcv.e(th, "");
if (th instanceof RetrofitException) {
String str2 = ((RetrofitException) th).e.c.e;
C14957gcv.c((Object) str2, "");
str = str2;
}
if (gdZ.a("3013", str, true)) {
C4625bdh.e(this.c, th, C0690Mh.IeS.NAVIGATE_BACK);
return;
}
if (gdZ.a("9200", str, true)) {
final C4625bdh c4625bdh = this.c;
ZI.IeS ieS = new ZI.IeS(c4625bdh) { // from class: o.bdm
private C4625bdh a;
@Override // o.ZI.IeS
public final void e(Object obj) {
C4625bdh.LWm.e(this.a, (InterfaceC6621cYR.jbe) obj);
}
{
this.a = c4625bdh;
}
};
if (c4625bdh.f != 0) {
ieS.e(c4625bdh.f);
return;
}
return;
}
final C4625bdh c4625bdh2 = this.c;
C4625bdh.a(c4625bdh2, th, new Runnable(c4625bdh2) { // from class: o.bdi
private C4625bdh c;
@Override // java.lang.Runnable
public final void run() {
C4625bdh.LWm.a(this.c);
}
{
this.c = c4625bdh2;
}
});
}
public static /* synthetic */ void a(C4625bdh c4625bdh) {
C14957gcv.e(c4625bdh, "");
C4624bdg c4624bdg = new C4624bdg(c4625bdh);
if (c4625bdh.f != 0) {
c4624bdg.e(c4625bdh.f);
}
}
public static /* synthetic */ void c(C4625bdh c4625bdh, InterfaceC6621cYR.jbe jbeVar) {
C14957gcv.e(c4625bdh, "");
jbeVar.b(c4625bdh.h.f());
}
public static /* synthetic */ void e(C4625bdh c4625bdh, InterfaceC6621cYR.jbe jbeVar) {
C14957gcv.e(c4625bdh, "");
jbeVar.b(c4625bdh.h.f());
}
}
public static final /* synthetic */ void b(C4625bdh c4625bdh) {
if (c4625bdh.f != 0) {
c4625bdh.f.ar_();
}
}
public static final /* synthetic */ void e(C4625bdh c4625bdh, Throwable th, C0690Mh.IeS ieS) {
if (c4625bdh.b(th)) {
c4625bdh.d(c4625bdh.j.d(th, ieS));
}
}
public static final /* synthetic */ void a(C4625bdh c4625bdh, Throwable th, Runnable runnable) {
if (c4625bdh.b(th)) {
c4625bdh.d(c4625bdh.j.c(th, runnable));
}
}
@Override // o.C4619bdb, o.ZI
public final void w_() {
YHs yHs = this.n;
if (!yHs.h.isDisposed()) {
yHs.h.dispose();
}
super.w_();
}
@Override // o.C4619bdb
public final void a() {
if (this.f != 0) {
this.f.y();
}
YHs yHs = this.n;
LHd.IeS ieS = new LHd.IeS();
String str = this.i;
LU lu = null;
if (str == null) {
C14957gcv.a("");
str = null;
}
ieS.f8249o = str;
LU lu2 = this.g;
if (lu2 == null) {
C14957gcv.a("");
lu2 = null;
}
ieS.b = lu2.e;
LU lu3 = this.g;
if (lu3 == null) {
C14957gcv.a("");
lu3 = null;
}
ieS.c = lu3.a;
LU lu4 = this.g;
if (lu4 == null) {
C14957gcv.a("");
lu4 = null;
}
ieS.g = lu4.i;
LU lu5 = this.g;
if (lu5 == null) {
C14957gcv.a("");
lu5 = null;
}
ieS.f = lu5.g;
LU lu6 = this.g;
if (lu6 == null) {
C14957gcv.a("");
lu6 = null;
}
ieS.j = lu6.j;
LU lu7 = this.g;
if (lu7 == null) {
C14957gcv.a("");
lu7 = null;
}
ieS.i = lu7.c;
LU lu8 = this.g;
if (lu8 == null) {
C14957gcv.a("");
lu8 = null;
}
ieS.h = lu8.f;
LU lu9 = this.g;
if (lu9 == null) {
C14957gcv.a("");
lu9 = null;
}
ieS.a = lu9.b;
LU lu10 = this.g;
if (lu10 == null) {
C14957gcv.a("");
lu10 = null;
}
ieS.d = lu10.d;
ieS.e = new DeI(new DeI.HBt(), (byte) 0);
LU lu11 = this.g;
if (lu11 != null) {
lu = lu11;
} else {
C14957gcv.a("");
}
ieS.l = lu.h;
yHs.e(new LHd(ieS, (byte) 0));
YHs yHs2 = this.n;
yHs2.d(yHs2.i, new LWm(this));
}
}