266 lines
8.7 KiB
Java
266 lines
8.7 KiB
Java
|
package o;
|
||
|
|
||
|
import com.scb.phone.domain.errors.RetrofitException;
|
||
|
import o.C3907bKe;
|
||
|
import o.ZI;
|
||
|
import o.wRi;
|
||
|
|
||
|
/* renamed from: o.bKe, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public class C3907bKe extends ZI<InterfaceC9431djc> {
|
||
|
public final Iqx a;
|
||
|
public final hzd b;
|
||
|
public final C17281vW c;
|
||
|
public final Wse d;
|
||
|
public final C17273vS e;
|
||
|
private final FxZ h;
|
||
|
private final C8493dMu i;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public C3907bKe(hzd hzdVar, Iqx iqx, C8493dMu c8493dMu, Wse wse, C17281vW c17281vW, C17273vS c17273vS, C16903sI c16903sI, FxZ fxZ) {
|
||
|
super(c16903sI);
|
||
|
this.b = hzdVar;
|
||
|
this.a = iqx;
|
||
|
this.i = c8493dMu;
|
||
|
this.d = wse;
|
||
|
this.c = c17281vW;
|
||
|
this.e = c17273vS;
|
||
|
this.h = fxZ;
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.bKe$3, reason: invalid class name */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public class AnonymousClass3 extends wRi.LWm<UuT> {
|
||
|
private C3907bKe a;
|
||
|
|
||
|
public AnonymousClass3(C3907bKe c3907bKe) {
|
||
|
this.a = c3907bKe;
|
||
|
}
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final /* synthetic */ void onNext(Object obj) {
|
||
|
final UuT uuT = (UuT) obj;
|
||
|
C3907bKe.e(this.a);
|
||
|
C3907bKe c3907bKe = this.a;
|
||
|
ZI.IeS ieS = new ZI.IeS(this, uuT) { // from class: o.bKf
|
||
|
private UuT a;
|
||
|
private C3907bKe.AnonymousClass3 b;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj2) {
|
||
|
C3907bKe.AnonymousClass3.c(this.b, this.a, (InterfaceC9431djc) obj2);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = this;
|
||
|
this.a = uuT;
|
||
|
}
|
||
|
};
|
||
|
if (c3907bKe.f != 0) {
|
||
|
ieS.e(c3907bKe.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final void onError(Throwable th) {
|
||
|
char c;
|
||
|
if (th instanceof RetrofitException) {
|
||
|
RetrofitException retrofitException = (RetrofitException) th;
|
||
|
if (retrofitException.e != null) {
|
||
|
String str = retrofitException.e.c.e;
|
||
|
int hashCode = str.hashCode();
|
||
|
if (hashCode != 1537282) {
|
||
|
switch (hashCode) {
|
||
|
case 1747673:
|
||
|
if (str.equals("9200")) {
|
||
|
c = 0;
|
||
|
break;
|
||
|
}
|
||
|
c = 65535;
|
||
|
break;
|
||
|
case 1747674:
|
||
|
if (str.equals("9201")) {
|
||
|
c = 1;
|
||
|
break;
|
||
|
}
|
||
|
c = 65535;
|
||
|
break;
|
||
|
case 1747675:
|
||
|
if (str.equals("9202")) {
|
||
|
c = 2;
|
||
|
break;
|
||
|
}
|
||
|
c = 65535;
|
||
|
break;
|
||
|
default:
|
||
|
c = 65535;
|
||
|
break;
|
||
|
}
|
||
|
} else {
|
||
|
if (str.equals("2026")) {
|
||
|
c = 3;
|
||
|
}
|
||
|
c = 65535;
|
||
|
}
|
||
|
if (c == 0) {
|
||
|
C3907bKe.b(this.a);
|
||
|
C3907bKe c3907bKe = this.a;
|
||
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.bKd
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
((InterfaceC9431djc) obj).c();
|
||
|
}
|
||
|
};
|
||
|
if (c3907bKe.f != 0) {
|
||
|
ieS.e(c3907bKe.f);
|
||
|
return;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
if (c == 1) {
|
||
|
C3907bKe.a(this.a);
|
||
|
C3907bKe c3907bKe2 = this.a;
|
||
|
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.bKg
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
((InterfaceC9431djc) obj).d();
|
||
|
}
|
||
|
};
|
||
|
if (c3907bKe2.f != 0) {
|
||
|
ieS2.e(c3907bKe2.f);
|
||
|
return;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
if (c == 2) {
|
||
|
C3907bKe.c(this.a);
|
||
|
C3907bKe c3907bKe3 = this.a;
|
||
|
ZI.IeS ieS3 = new ZI.IeS() { // from class: o.bKl
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
((InterfaceC9431djc) obj).e();
|
||
|
}
|
||
|
};
|
||
|
if (c3907bKe3.f != 0) {
|
||
|
ieS3.e(c3907bKe3.f);
|
||
|
return;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
C3907bKe.e(this.a, th);
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
C3907bKe.c(this.a, th);
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void c(AnonymousClass3 anonymousClass3, UuT uuT, InterfaceC9431djc interfaceC9431djc) {
|
||
|
FxZ fxZ = anonymousClass3.a.h;
|
||
|
fxZ.e.b(new C14603fwN(uuT.e, uuT.a, uuT.d));
|
||
|
interfaceC9431djc.a();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
/* renamed from: o.bKe$5, reason: invalid class name */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public final class AnonymousClass5 extends wRi.LWm<UuT> {
|
||
|
private C3907bKe e;
|
||
|
|
||
|
AnonymousClass5(C3907bKe c3907bKe) {
|
||
|
this.e = c3907bKe;
|
||
|
}
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final /* synthetic */ void onNext(Object obj) {
|
||
|
final UuT uuT = (UuT) obj;
|
||
|
C3907bKe.h(this.e);
|
||
|
C3907bKe c3907bKe = this.e;
|
||
|
ZI.IeS ieS = new ZI.IeS(this, uuT) { // from class: o.bKm
|
||
|
private UuT b;
|
||
|
private C3907bKe.AnonymousClass5 c;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj2) {
|
||
|
C3907bKe.AnonymousClass5.b(this.c, this.b, (InterfaceC9431djc) obj2);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.c = this;
|
||
|
this.b = uuT;
|
||
|
}
|
||
|
};
|
||
|
if (c3907bKe.f != 0) {
|
||
|
ieS.e(c3907bKe.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
||
|
public final void onError(Throwable th) {
|
||
|
C3907bKe.b(this.e, th);
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void b(AnonymousClass5 anonymousClass5, UuT uuT, InterfaceC9431djc interfaceC9431djc) {
|
||
|
FxZ fxZ = anonymousClass5.e.h;
|
||
|
fxZ.e.b(new C14603fwN(uuT.e, uuT.a, uuT.d));
|
||
|
interfaceC9431djc.a();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void e(C3907bKe c3907bKe) {
|
||
|
if (c3907bKe.f != 0) {
|
||
|
c3907bKe.f.ar_();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void b(C3907bKe c3907bKe) {
|
||
|
if (c3907bKe.f != 0) {
|
||
|
c3907bKe.f.ar_();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void a(C3907bKe c3907bKe) {
|
||
|
if (c3907bKe.f != 0) {
|
||
|
c3907bKe.f.ar_();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void c(C3907bKe c3907bKe) {
|
||
|
if (c3907bKe.f != 0) {
|
||
|
c3907bKe.f.ar_();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void e(C3907bKe c3907bKe, Throwable th) {
|
||
|
if (c3907bKe.b(th)) {
|
||
|
c3907bKe.d(c3907bKe.j.e(th));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void c(C3907bKe c3907bKe, Throwable th) {
|
||
|
if (c3907bKe.b(th)) {
|
||
|
c3907bKe.d(c3907bKe.j.e(th));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void h(C3907bKe c3907bKe) {
|
||
|
if (c3907bKe.f != 0) {
|
||
|
c3907bKe.f.ar_();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
static /* synthetic */ void b(C3907bKe c3907bKe, Throwable th) {
|
||
|
if (c3907bKe.b(th)) {
|
||
|
c3907bKe.d(c3907bKe.j.e(th));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final void d() {
|
||
|
if (this.f != 0) {
|
||
|
this.f.y();
|
||
|
}
|
||
|
this.i.d(this.i.d(), new AnonymousClass5(this));
|
||
|
}
|
||
|
}
|