380 lines
12 KiB
Java
380 lines
12 KiB
Java
package o;
|
|
|
|
import com.scb.phone.domain.errors.RetrofitException;
|
|
import o.C0217Bo;
|
|
import o.C6535cVs;
|
|
import o.InterfaceC9010dbe;
|
|
import o.ZI;
|
|
import o.wRi;
|
|
|
|
/* renamed from: o.cVs, reason: case insensitive filesystem */
|
|
/* loaded from: classes4.dex */
|
|
public final class C6535cVs extends AbstractC6226cMj {
|
|
final C17515xRi a;
|
|
final C0217Bo b;
|
|
final C0359Ex c;
|
|
private C17434wjF d;
|
|
private int e;
|
|
private final yGw h;
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
@InterfaceC13391fZD
|
|
public C6535cVs(yGw ygw, C0359Ex c0359Ex, C0217Bo c0217Bo, C17515xRi c17515xRi, C16903sI c16903sI) {
|
|
super(c16903sI);
|
|
C14957gcv.e(ygw, "");
|
|
C14957gcv.e(c0359Ex, "");
|
|
C14957gcv.e(c0217Bo, "");
|
|
C14957gcv.e(c17515xRi, "");
|
|
C14957gcv.e(c16903sI, "");
|
|
this.h = ygw;
|
|
this.c = c0359Ex;
|
|
this.b = c0217Bo;
|
|
this.a = c17515xRi;
|
|
}
|
|
|
|
@Override // o.AbstractC6226cMj
|
|
public final void c() {
|
|
this.e = 0;
|
|
if (this.d == null) {
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.cVC
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC9010dbe.IeS) obj).v();
|
|
}
|
|
};
|
|
if (this.f != 0) {
|
|
ieS.e(this.f);
|
|
}
|
|
C0217Bo c0217Bo = this.b;
|
|
C0217Bo.Sts sts = C0217Bo.Sts.TRANSFER;
|
|
C14957gcv.e(sts, "");
|
|
c0217Bo.b = sts;
|
|
this.h.e(Integer.valueOf(this.e));
|
|
yGw ygw = this.h;
|
|
ygw.d(ygw.i, new RVV(this));
|
|
}
|
|
}
|
|
|
|
@Override // o.ZI
|
|
public final void w_() {
|
|
super.w_();
|
|
this.d = null;
|
|
yGw ygw = this.h;
|
|
if (ygw.h.isDisposed()) {
|
|
return;
|
|
}
|
|
ygw.h.dispose();
|
|
}
|
|
|
|
@Override // o.AbstractC6226cMj
|
|
public final void b() {
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.cVw
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC9010dbe.IeS) obj).e();
|
|
}
|
|
};
|
|
if (this.f != 0) {
|
|
ieS.e(this.f);
|
|
}
|
|
this.h.e(Integer.valueOf(this.e));
|
|
yGw ygw = this.h;
|
|
ygw.d(ygw.i, new RVV(this));
|
|
}
|
|
|
|
@Override // o.AbstractC6226cMj
|
|
public final void b(C1089Vj c1089Vj) {
|
|
C14957gcv.e(c1089Vj, "");
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.cVu
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC9010dbe.IeS) obj).y();
|
|
}
|
|
};
|
|
if (this.f != 0) {
|
|
ieS.e(this.f);
|
|
}
|
|
yGw ygw = this.h;
|
|
C13014fO c13014fO = new C13014fO();
|
|
String str = c1089Vj.f;
|
|
C14957gcv.e(str, "");
|
|
c13014fO.b = str;
|
|
ygw.e(c13014fO);
|
|
yGw ygw2 = this.h;
|
|
ygw2.d(ygw2.i, new LWm(this));
|
|
}
|
|
|
|
@Override // o.AbstractC6226cMj
|
|
public final void a(final C1089Vj c1089Vj) {
|
|
C14957gcv.e(c1089Vj, "");
|
|
ZI.IeS ieS = new ZI.IeS(c1089Vj) { // from class: o.cVv
|
|
private C1089Vj e;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C6535cVs.d(this.e, (InterfaceC9010dbe.IeS) obj);
|
|
}
|
|
|
|
{
|
|
this.e = c1089Vj;
|
|
}
|
|
};
|
|
if (this.f != 0) {
|
|
ieS.e(this.f);
|
|
}
|
|
}
|
|
|
|
/* renamed from: o.cVs$RVV */
|
|
/* loaded from: classes4.dex */
|
|
public final class RVV extends wRi.LWm<C17434wjF> {
|
|
private C6535cVs e;
|
|
|
|
public RVV(C6535cVs c6535cVs) {
|
|
this.e = c6535cVs;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
C17434wjF c17434wjF = (C17434wjF) obj;
|
|
C14957gcv.e(c17434wjF, "");
|
|
this.e.d = c17434wjF;
|
|
if (this.e.f != 0) {
|
|
final C1093Vl b = this.e.b.b(c17434wjF);
|
|
if (b.d == 0) {
|
|
if (this.e.e == 0) {
|
|
C6535cVs c6535cVs = this.e;
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.cVx
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
((InterfaceC9010dbe.IeS) obj2).c();
|
|
}
|
|
};
|
|
if (c6535cVs.f != 0) {
|
|
ieS.e(c6535cVs.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
C6535cVs c6535cVs2 = this.e;
|
|
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.cVy
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
((InterfaceC9010dbe.IeS) obj2).b();
|
|
}
|
|
};
|
|
if (c6535cVs2.f != 0) {
|
|
ieS2.e(c6535cVs2.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
if (this.e.e > 0) {
|
|
C6535cVs c6535cVs3 = this.e;
|
|
ZI.IeS ieS3 = new ZI.IeS(b) { // from class: o.cVB
|
|
private C1093Vl c;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
C6535cVs.RVV.c(this.c, (InterfaceC9010dbe.IeS) obj2);
|
|
}
|
|
|
|
{
|
|
this.c = b;
|
|
}
|
|
};
|
|
if (c6535cVs3.f != 0) {
|
|
ieS3.e(c6535cVs3.f);
|
|
}
|
|
} else {
|
|
C6535cVs c6535cVs4 = this.e;
|
|
ZI.IeS ieS4 = new ZI.IeS(b) { // from class: o.cVA
|
|
private C1093Vl a;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
C6535cVs.RVV.b(this.a, (InterfaceC9010dbe.IeS) obj2);
|
|
}
|
|
|
|
{
|
|
this.a = b;
|
|
}
|
|
};
|
|
if (c6535cVs4.f != 0) {
|
|
ieS4.e(c6535cVs4.f);
|
|
}
|
|
}
|
|
this.e.e += b.c.size();
|
|
}
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onComplete() {
|
|
C6535cVs.c(this.e);
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(final Throwable th) {
|
|
C14957gcv.e(th, "");
|
|
final C6535cVs c6535cVs = this.e;
|
|
ZI.IeS ieS = new ZI.IeS(c6535cVs, th) { // from class: o.cVE
|
|
private C6535cVs a;
|
|
private Throwable b;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C6535cVs.RVV.b(this.a, this.b, (InterfaceC9010dbe.IeS) obj);
|
|
}
|
|
|
|
{
|
|
this.a = c6535cVs;
|
|
this.b = th;
|
|
}
|
|
};
|
|
if (c6535cVs.f != 0) {
|
|
ieS.e(c6535cVs.f);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void c(C1093Vl c1093Vl, InterfaceC9010dbe.IeS ieS) {
|
|
C14957gcv.e(c1093Vl, "");
|
|
ieS.a(c1093Vl);
|
|
}
|
|
|
|
public static /* synthetic */ void b(C6535cVs c6535cVs, Throwable th, InterfaceC9010dbe.IeS ieS) {
|
|
C14957gcv.e(c6535cVs, "");
|
|
C14957gcv.e(th, "");
|
|
C6535cVs.c(c6535cVs);
|
|
if (c6535cVs.i(th)) {
|
|
return;
|
|
}
|
|
if (!(th instanceof RetrofitException)) {
|
|
ieS.a();
|
|
return;
|
|
}
|
|
VCl vCl = ((RetrofitException) th).e;
|
|
if (vCl != null) {
|
|
ggV ggv = vCl.c;
|
|
String str = ggv != null ? ggv.d : null;
|
|
if (str == null) {
|
|
str = "";
|
|
}
|
|
String str2 = ggv != null ? ggv.c : null;
|
|
ieS.d(str, str2 != null ? str2 : "");
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void b(C1093Vl c1093Vl, InterfaceC9010dbe.IeS ieS) {
|
|
C14957gcv.e(c1093Vl, "");
|
|
ieS.d(c1093Vl);
|
|
}
|
|
}
|
|
|
|
/* renamed from: o.cVs$LWm */
|
|
/* loaded from: classes4.dex */
|
|
public final class LWm extends wRi.LWm<Zit> {
|
|
private C6535cVs b;
|
|
|
|
public LWm(C6535cVs c6535cVs) {
|
|
this.b = c6535cVs;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
Zit zit = (Zit) obj;
|
|
C14957gcv.e(zit, "");
|
|
C6535cVs.e(this.b);
|
|
C0359Ex c0359Ex = this.b.c;
|
|
C1252Yz b = C0359Ex.b(zit);
|
|
C1019Twi c1019Twi = new C1019Twi();
|
|
c1019Twi.x = b.e;
|
|
c1019Twi.a = b.c;
|
|
c1019Twi.b = b.b;
|
|
c1019Twi.t = "TRANSFER";
|
|
c1019Twi.z = b.g;
|
|
c1019Twi.w = zit.e;
|
|
C14957gcv.c(c1019Twi, "");
|
|
if (qhK.PROMPTPAY == C6583cXR.G(b.g)) {
|
|
c1019Twi.x = b.a;
|
|
c1019Twi.b = b.d;
|
|
}
|
|
String str = b.j;
|
|
if (str != null) {
|
|
c1019Twi.h = Double.parseDouble(str);
|
|
C14957gcv.c(c1019Twi, "");
|
|
}
|
|
this.b.a.e.d(c1019Twi);
|
|
C6535cVs c6535cVs = this.b;
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.cVD
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
((InterfaceC9010dbe.IeS) obj2).bq_();
|
|
}
|
|
};
|
|
if (c6535cVs.f != 0) {
|
|
ieS.e(c6535cVs.f);
|
|
}
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onComplete() {
|
|
C6535cVs.e(this.b);
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(final Throwable th) {
|
|
C14957gcv.e(th, "");
|
|
if (this.b.i(th)) {
|
|
return;
|
|
}
|
|
C6535cVs.e(this.b);
|
|
final C6535cVs c6535cVs = this.b;
|
|
ZI.IeS ieS = new ZI.IeS(c6535cVs, th) { // from class: o.cVG
|
|
private Throwable b;
|
|
private C6535cVs d;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C6535cVs.LWm.b(this.d, this.b);
|
|
}
|
|
|
|
{
|
|
this.d = c6535cVs;
|
|
this.b = th;
|
|
}
|
|
};
|
|
if (c6535cVs.f != 0) {
|
|
ieS.e(c6535cVs.f);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void b(C6535cVs c6535cVs, Throwable th) {
|
|
C14957gcv.e(c6535cVs, "");
|
|
C14957gcv.e(th, "");
|
|
C6535cVs.c(c6535cVs, th);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void d(C1089Vj c1089Vj, InterfaceC9010dbe.IeS ieS) {
|
|
C14957gcv.e(c1089Vj, "");
|
|
ieS.a(c1089Vj.f, QJy.TRANSFER);
|
|
}
|
|
|
|
public static final /* synthetic */ void e(C6535cVs c6535cVs) {
|
|
if (c6535cVs.f != 0) {
|
|
c6535cVs.f.ar_();
|
|
}
|
|
}
|
|
|
|
public static final /* synthetic */ void c(C6535cVs c6535cVs) {
|
|
if (c6535cVs.f != 0) {
|
|
c6535cVs.f.aq_();
|
|
}
|
|
}
|
|
|
|
public static final /* synthetic */ void c(C6535cVs c6535cVs, Throwable th) {
|
|
if (c6535cVs.b(th)) {
|
|
c6535cVs.d(c6535cVs.j.e(th));
|
|
}
|
|
}
|
|
}
|