307 lines
11 KiB
Java
307 lines
11 KiB
Java
package o;
|
|
|
|
import com.scb.phone.domain.errors.RetrofitException;
|
|
import java.util.List;
|
|
import o.C4359bXr;
|
|
import o.ZI;
|
|
import o.cXH;
|
|
import o.wRi;
|
|
|
|
/* renamed from: o.bXr, reason: case insensitive filesystem */
|
|
/* loaded from: classes4.dex */
|
|
public class C4359bXr extends ZI<InterfaceC9421djS> {
|
|
private final C17499xL a;
|
|
private GzJ b;
|
|
private final C7545cqO c;
|
|
private final Cld d;
|
|
private final C17501xM e;
|
|
private String g;
|
|
private List<String> i;
|
|
|
|
@InterfaceC13391fZD
|
|
public C4359bXr(C16903sI c16903sI, C7545cqO c7545cqO, Cld cld, C17499xL c17499xL, C17501xM c17501xM) {
|
|
super(c16903sI);
|
|
this.c = c7545cqO;
|
|
this.d = cld;
|
|
this.a = c17499xL;
|
|
this.e = c17501xM;
|
|
}
|
|
|
|
public final void d(String str, String str2, List<String> list) {
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.bXC
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC9421djS) obj).a(false);
|
|
}
|
|
};
|
|
if (this.f != 0) {
|
|
ieS.e(this.f);
|
|
}
|
|
if (gjJ.b((CharSequence) str) || gjJ.b((CharSequence) str2)) {
|
|
return;
|
|
}
|
|
this.g = str2;
|
|
this.i = list;
|
|
if (this.f != 0) {
|
|
this.f.y();
|
|
}
|
|
this.c.a(new C3964bM(str));
|
|
C7545cqO c7545cqO = this.c;
|
|
c7545cqO.d(c7545cqO.i, new AnonymousClass2(this));
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* renamed from: o.bXr$2, reason: invalid class name */
|
|
/* loaded from: classes4.dex */
|
|
public final class AnonymousClass2 extends wRi.LWm<GzJ> {
|
|
private C4359bXr e;
|
|
|
|
AnonymousClass2(C4359bXr c4359bXr) {
|
|
this.e = c4359bXr;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
final GzJ gzJ = (GzJ) obj;
|
|
super.onNext(gzJ);
|
|
C4359bXr c4359bXr = this.e;
|
|
ZI.IeS ieS = new ZI.IeS(this, gzJ) { // from class: o.bXE
|
|
private C4359bXr.AnonymousClass2 c;
|
|
private GzJ d;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
C4359bXr.AnonymousClass2.d(this.c, this.d, (InterfaceC9421djS) obj2);
|
|
}
|
|
|
|
{
|
|
this.c = this;
|
|
this.d = gzJ;
|
|
}
|
|
};
|
|
if (c4359bXr.f != 0) {
|
|
ieS.e(c4359bXr.f);
|
|
}
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(final Throwable th) {
|
|
super.onError(th);
|
|
C4359bXr c4359bXr = this.e;
|
|
ZI.IeS ieS = new ZI.IeS(this, th) { // from class: o.bXz
|
|
private C4359bXr.AnonymousClass2 c;
|
|
private Throwable e;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
InterfaceC9421djS interfaceC9421djS = (InterfaceC9421djS) obj;
|
|
interfaceC9421djS.d(this.c.e.j.e(this.e));
|
|
}
|
|
|
|
{
|
|
this.c = this;
|
|
this.e = th;
|
|
}
|
|
};
|
|
if (c4359bXr.f != 0) {
|
|
ieS.e(c4359bXr.f);
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:105:0x01cc */
|
|
/* JADX WARN: Removed duplicated region for block: B:106:0x01bc */
|
|
/* JADX WARN: Removed duplicated region for block: B:107:0x01ac */
|
|
/* JADX WARN: Removed duplicated region for block: B:108:0x019c */
|
|
/* JADX WARN: Removed duplicated region for block: B:109:0x0196 */
|
|
/* JADX WARN: Removed duplicated region for block: B:46:0x0193 */
|
|
/* JADX WARN: Removed duplicated region for block: B:48:0x0199 */
|
|
/* JADX WARN: Removed duplicated region for block: B:67:0x0201 A[ADDED_TO_REGION] */
|
|
/* JADX WARN: Removed duplicated region for block: B:70:0x0207 */
|
|
/* JADX WARN: Removed duplicated region for block: B:72:0x020d */
|
|
/* JADX WARN: Removed duplicated region for block: B:76:0x020a */
|
|
/* JADX WARN: Removed duplicated region for block: B:79:0x021e */
|
|
/* JADX WARN: Removed duplicated region for block: B:81:0x0221 */
|
|
/* JADX WARN: Removed duplicated region for block: B:87:0x01a9 */
|
|
/* JADX WARN: Removed duplicated region for block: B:93:0x01b9 */
|
|
/* JADX WARN: Removed duplicated region for block: B:99:0x01c9 */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public static /* synthetic */ void d(o.C4359bXr.AnonymousClass2 r18, o.GzJ r19, o.InterfaceC9421djS r20) {
|
|
/*
|
|
Method dump skipped, instructions count: 563
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.C4359bXr.AnonymousClass2.d(o.bXr$2, o.GzJ, o.djS):void");
|
|
}
|
|
}
|
|
|
|
public final void c(final String str, int i, cXH.HBt.Sts sts) {
|
|
GzJ gzJ;
|
|
if (gjJ.b((CharSequence) str)) {
|
|
return;
|
|
}
|
|
if ("IDP_AS".equals(this.g) && (((this.i.contains("001.bank_statement_001") && this.i.contains("001.cust_info_002")) || (this.i.contains("001.bank_statement_001") && this.i.contains("001.cust_info_001"))) && cXH.HBt.Sts.REJECTED != sts)) {
|
|
ZI.IeS ieS = new ZI.IeS(this, str) { // from class: o.bXy
|
|
private String a;
|
|
private C4359bXr b;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
InterfaceC9421djS interfaceC9421djS = (InterfaceC9421djS) obj;
|
|
interfaceC9421djS.a(this.a, this.b.i);
|
|
}
|
|
|
|
{
|
|
this.b = this;
|
|
this.a = str;
|
|
}
|
|
};
|
|
if (this.f != 0) {
|
|
ieS.e(this.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
if (this.f != 0) {
|
|
this.f.y();
|
|
}
|
|
this.d.c(new C3765bG(str, sts.toString(), (i < 0 || (gzJ = this.b) == null || gzJ.a == null || this.b.a.c == null || this.b.a.c.size() <= i) ? null : this.b.a.c.get(i)));
|
|
Cld cld = this.d;
|
|
cld.d(cld.i, new LWm(this, sts));
|
|
}
|
|
|
|
@Override // o.ZI
|
|
public final void w_() {
|
|
Cld cld = this.d;
|
|
if (!cld.h.isDisposed()) {
|
|
cld.h.dispose();
|
|
}
|
|
C7545cqO c7545cqO = this.c;
|
|
if (!c7545cqO.h.isDisposed()) {
|
|
c7545cqO.h.dispose();
|
|
}
|
|
super.w_();
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* renamed from: o.bXr$LWm */
|
|
/* loaded from: classes4.dex */
|
|
public class LWm extends wRi.LWm<Dqc> {
|
|
private C4359bXr d;
|
|
private cXH.HBt.Sts e;
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
final Dqc dqc = (Dqc) obj;
|
|
super.onNext(dqc);
|
|
C4359bXr c4359bXr = this.d;
|
|
ZI.IeS ieS = new ZI.IeS(this, dqc) { // from class: o.bXD
|
|
private Dqc b;
|
|
private C4359bXr.LWm c;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj2) {
|
|
C4359bXr.LWm.d(this.c, this.b, (InterfaceC9421djS) obj2);
|
|
}
|
|
|
|
{
|
|
this.c = this;
|
|
this.b = dqc;
|
|
}
|
|
};
|
|
if (c4359bXr.f != 0) {
|
|
ieS.e(c4359bXr.f);
|
|
}
|
|
}
|
|
|
|
public LWm(C4359bXr c4359bXr, cXH.HBt.Sts sts) {
|
|
this.d = c4359bXr;
|
|
this.e = sts;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
super.onError(th);
|
|
if (th instanceof RetrofitException) {
|
|
RetrofitException retrofitException = (RetrofitException) th;
|
|
if (retrofitException.e != null && retrofitException.e.c != null && retrofitException.e.c.e != null && "3063".equals(retrofitException.e.c.e)) {
|
|
C4359bXr c4359bXr = this.d;
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.bXG
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC9421djS) obj).c();
|
|
}
|
|
};
|
|
if (c4359bXr.f != 0) {
|
|
ieS.e(c4359bXr.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
C4359bXr.d(this.d, th);
|
|
return;
|
|
}
|
|
C4359bXr.e(this.d, th);
|
|
}
|
|
|
|
public static /* synthetic */ void d(LWm lWm, Dqc dqc, InterfaceC9421djS interfaceC9421djS) {
|
|
C0972Sq c = lWm.d.a.c(dqc);
|
|
interfaceC9421djS.ar_();
|
|
if (cXH.HBt.Sts.COMPLETED == lWm.e && "IDP_AS".equals(lWm.d.g)) {
|
|
interfaceC9421djS.d(c.a, c.e, c.b);
|
|
} else if (cXH.HBt.Sts.REJECTED == lWm.e) {
|
|
interfaceC9421djS.b();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void a(C4359bXr c4359bXr, C0971Sp c0971Sp, InterfaceC9421djS interfaceC9421djS) {
|
|
C17501xM c17501xM = c4359bXr.e;
|
|
List<String> a = C17501xM.a(c0971Sp);
|
|
if (a != null && !a.isEmpty()) {
|
|
if (a.size() == 1) {
|
|
interfaceC9421djS.b(a.get(0));
|
|
return;
|
|
} else {
|
|
interfaceC9421djS.b(a);
|
|
return;
|
|
}
|
|
}
|
|
interfaceC9421djS.d();
|
|
}
|
|
|
|
static /* synthetic */ void c(final C4359bXr c4359bXr, final C0971Sp c0971Sp) {
|
|
ZI.IeS ieS = new ZI.IeS(c4359bXr, c0971Sp) { // from class: o.bXA
|
|
private C0971Sp b;
|
|
private C4359bXr c;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C4359bXr.a(this.c, this.b, (InterfaceC9421djS) obj);
|
|
}
|
|
|
|
{
|
|
this.c = c4359bXr;
|
|
this.b = c0971Sp;
|
|
}
|
|
};
|
|
if (c4359bXr.f != 0) {
|
|
ieS.e(c4359bXr.f);
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void d(C4359bXr c4359bXr, Throwable th) {
|
|
if (c4359bXr.b(th)) {
|
|
c4359bXr.d(c4359bXr.j.e(th));
|
|
}
|
|
}
|
|
|
|
static /* synthetic */ void e(C4359bXr c4359bXr, Throwable th) {
|
|
if (c4359bXr.b(th)) {
|
|
c4359bXr.d(c4359bXr.j.e(th));
|
|
}
|
|
}
|
|
}
|