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

216 lines
6.5 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import o.C0690Mh;
import o.C10635eK;
import o.C4877biU;
import o.C6348cQC;
import o.InterfaceC9010dbe;
import o.KiK;
import o.ZI;
import o.wRi;
/* renamed from: o.biU, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public class C4877biU extends C6348cQC {
private MjP a;
private final DH b;
private C16146le g;
private final C16165lo h;
private final C12143ese i;
private boolean k;
private String m;
/* renamed from: o, reason: collision with root package name */
private C1189Xo f8573o;
@InterfaceC13391fZD
public C4877biU(Jur jur, C12143ese c12143ese, Fnl fnl, DH dh, C16903sI c16903sI, C17391wQ c17391wQ, C16146le c16146le, C16165lo c16165lo, String str) {
super(jur, fnl, dh, c16903sI, c17391wQ, c16146le, c16165lo, str);
this.m = "";
this.i = c12143ese;
this.b = dh;
this.g = c16146le;
this.h = c16165lo;
}
@Override // o.C6348cQC
public final void a(C1189Xo c1189Xo) {
if (this.k) {
return;
}
c();
this.k = true;
C4878biV c4878biV = new C4878biV();
if (this.f != 0) {
c4878biV.e(this.f);
}
this.f8573o = c1189Xo;
this.i.d(new C10635eK(new C10635eK.HBt(c1189Xo.a())));
C12143ese c12143ese = this.i;
c12143ese.d(c12143ese.i, new IeS(this, (byte) 0));
}
@Override // o.C6348cQC
public final void a() {
this.g.d(new InterfaceC14894gbR(this) { // from class: o.biY
private C4877biU d;
@Override // o.InterfaceC14894gbR
public final Object invoke(Object obj) {
return C4877biU.a(this.d, (MjP) obj);
}
{
this.d = this;
}
}, new InterfaceC14894gbR(this) { // from class: o.biT
private C4877biU a;
@Override // o.InterfaceC14894gbR
public final Object invoke(Object obj) {
return C4877biU.b(this.a, (Throwable) obj);
}
{
this.a = this;
}
}, new KiK.HBt(this.m, false));
}
@Override // o.C6348cQC
public final void d(ER er) {
C4880biX c4880biX = new C4880biX(er);
if (this.f != 0) {
c4880biX.e(this.f);
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.biU$IeS */
/* loaded from: classes4.dex */
public final class IeS extends wRi.LWm<DpR> {
private C4877biU c;
private IeS(C4877biU c4877biU) {
this.c = c4877biU;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
final DpR dpR = (DpR) obj;
if (this.c.f != 0) {
final SBO a = this.c.i.c.a();
if ("3053".equals(dpR.w.a)) {
C4877biU.f(this.c);
this.c.m = dpR.n;
C4877biU c4877biU = this.c;
C4877biU.c(c4877biU, c4877biU.h.a(dpR.w, "v1/payments/fastpay/confirmation"));
} else {
C4877biU c4877biU2 = this.c;
ZI.IeS ieS = new ZI.IeS(this, dpR, a) { // from class: o.bja
private DpR a;
private SBO d;
private C4877biU.IeS e;
@Override // o.ZI.IeS
public final void e(Object obj2) {
InterfaceC9010dbe.ZqN zqN = (InterfaceC9010dbe.ZqN) obj2;
zqN.e(r0.c.b.d(this.a, r0.c.f8573o, this.d, this.e.c.d));
}
{
this.e = this;
this.a = dpR;
this.d = a;
}
};
if (c4877biU2.f != 0) {
ieS.e(c4877biU2.f);
}
C4877biU.j(this.c);
}
}
this.c.k = false;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C4877biU c4877biU = this.c;
C0690Mh.IeS ieS = C0690Mh.IeS.NAVIGATE_BACK;
if (c4877biU.b(th)) {
c4877biU.d(c4877biU.j.b(th, ieS));
}
this.c.k = false;
C4877biU c4877biU2 = this.c;
C4882biZ c4882biZ = new C4882biZ();
if (c4877biU2.f != 0) {
c4882biZ.e(c4877biU2.f);
}
}
/* synthetic */ IeS(C4877biU c4877biU, byte b) {
this(c4877biU);
}
}
public static /* synthetic */ C14866gag b(C4877biU c4877biU, Throwable th) {
C0690Mh.IeS ieS = C0690Mh.IeS.NAVIGATE_BACK;
if (c4877biU.b(th)) {
c4877biU.d(c4877biU.j.d(th, ieS));
}
return C14866gag.c;
}
public static /* synthetic */ C14866gag a(final C4877biU c4877biU, MjP mjP) {
if ("3053".equals(mjP.r.a)) {
C4880biX c4880biX = new C4880biX(c4877biU.h.a(mjP.r, "v1/payments/transactions/ISO/id/".concat(c4877biU.m)));
if (c4877biU.f != 0) {
c4880biX.e(c4877biU.f);
}
} else {
final SBO a = c4877biU.i.c.a();
c4877biU.a = mjP;
ZI.IeS ieS = new ZI.IeS(c4877biU, a) { // from class: o.bjb
private C4877biU a;
private SBO e;
@Override // o.ZI.IeS
public final void e(Object obj) {
InterfaceC9010dbe.ZqN zqN = (InterfaceC9010dbe.ZqN) obj;
zqN.e(r0.b.b(r0.a, r0.f8573o, this.e, this.a.d));
}
{
this.a = c4877biU;
this.e = a;
}
};
if (c4877biU.f != 0) {
ieS.e(c4877biU.f);
}
}
if (c4877biU.f != 0) {
c4877biU.f.ar_();
}
return C14866gag.c;
}
static /* synthetic */ void f(C4877biU c4877biU) {
if (c4877biU.f != 0) {
c4877biU.f.y();
}
}
static /* synthetic */ void c(C4877biU c4877biU, ER er) {
C6348cQC.AnonymousClass2 anonymousClass2 = new C6348cQC.AnonymousClass2(c4877biU, c4877biU.c, er);
c4877biU.e = anonymousClass2;
anonymousClass2.start();
}
static /* synthetic */ void j(C4877biU c4877biU) {
if (c4877biU.f != 0) {
c4877biU.f.ar_();
}
}
}