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

335 lines
11 KiB
Java

package o;
import com.scb.phone.domain.errors.RetrofitException;
import o.C0690Mh;
import o.InterfaceC9273dgd;
import o.ZI;
/* renamed from: o.bhd, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public class C4833bhd extends ZI<InterfaceC9273dgd.RVV> {
private C16921sR a;
public C0710Mv b;
public WjM c;
public String d;
@InterfaceC13391fZD
public C4833bhd(C16903sI c16903sI, WjM wjM, C16921sR c16921sR, String str) {
super(c16903sI);
this.c = wjM;
this.a = c16921sR;
this.d = str;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ void e(C0708Mt c0708Mt, InterfaceC9273dgd.RVV rvv) {
rvv.ar_();
rvv.c(c0708Mt);
}
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
public static /* synthetic */ void a(final C4833bhd c4833bhd, final Throwable th) {
char c;
if (c4833bhd.f != 0) {
c4833bhd.f.ar_();
}
if (ZI.c(th)) {
ZI.IeS ieS = new ZI.IeS(c4833bhd, th) { // from class: o.bhm
private Throwable c;
private C4833bhd d;
@Override // o.ZI.IeS
public final void e(Object obj) {
InterfaceC9273dgd.RVV rvv = (InterfaceC9273dgd.RVV) obj;
rvv.k_(this.d.j.e(this.c).c);
}
{
this.d = c4833bhd;
this.c = th;
}
};
if (c4833bhd.f != 0) {
ieS.e(c4833bhd.f);
return;
}
return;
}
if (ZI.d(th)) {
ZI.IeS ieS2 = new ZI.IeS(c4833bhd, th) { // from class: o.bhp
private Throwable a;
private C4833bhd e;
@Override // o.ZI.IeS
public final void e(Object obj) {
InterfaceC9273dgd.RVV rvv = (InterfaceC9273dgd.RVV) obj;
rvv.k_(this.e.j.e(this.a).c);
}
{
this.e = c4833bhd;
this.a = th;
}
};
if (c4833bhd.f != 0) {
ieS2.e(c4833bhd.f);
return;
}
return;
}
if (th instanceof RetrofitException) {
RetrofitException retrofitException = (RetrofitException) th;
if (retrofitException.e != null) {
final ggV ggv = retrofitException.e.c;
String str = ggv.e;
str.hashCode();
switch (str.hashCode()) {
case 1507524:
if (str.equals("1038")) {
c = 0;
break;
}
c = 65535;
break;
case 1515399:
if (str.equals("1899")) {
c = 1;
break;
}
c = 65535;
break;
case 1516360:
if (str.equals("1999")) {
c = 2;
break;
}
c = 65535;
break;
case 1567005:
if (str.equals("3000")) {
c = 3;
break;
}
c = 65535;
break;
case 1567006:
if (str.equals("3001")) {
c = 4;
break;
}
c = 65535;
break;
case 1567007:
if (str.equals("3002")) {
c = 5;
break;
}
c = 65535;
break;
case 1567037:
if (str.equals("3011")) {
c = 6;
break;
}
c = 65535;
break;
case 1686170:
if (str.equals("7001")) {
c = 7;
break;
}
c = 65535;
break;
case 1746712:
if (str.equals("9100")) {
c = '\b';
break;
}
c = 65535;
break;
default:
c = 65535;
break;
}
switch (c) {
case 0:
ZI.IeS ieS3 = new ZI.IeS(ggv) { // from class: o.bho
private ggV b;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9273dgd.RVV) obj).k_(this.b.c);
}
{
this.b = ggv;
}
};
if (c4833bhd.f != 0) {
ieS3.e(c4833bhd.f);
return;
}
return;
case 1:
Runnable runnable = new Runnable(c4833bhd) { // from class: o.bhi
private C4833bhd e;
@Override // java.lang.Runnable
public final void run() {
C4833bhd.c(this.e);
}
{
this.e = c4833bhd;
}
};
if (c4833bhd.b(th)) {
c4833bhd.d(c4833bhd.j.c(th, runnable));
return;
}
return;
case 2:
Runnable runnable2 = new Runnable(c4833bhd) { // from class: o.bhe
private C4833bhd c;
@Override // java.lang.Runnable
public final void run() {
C4833bhd.a(this.c);
}
{
this.c = c4833bhd;
}
};
if (c4833bhd.b(th)) {
c4833bhd.d(c4833bhd.j.c(th, runnable2));
return;
}
return;
case 3:
case 4:
case 5:
case 6:
Runnable runnable3 = new Runnable(c4833bhd) { // from class: o.bhn
private C4833bhd a;
@Override // java.lang.Runnable
public final void run() {
C4833bhd.b(this.a);
}
{
this.a = c4833bhd;
}
};
if (c4833bhd.b(th)) {
c4833bhd.d(c4833bhd.j.c(th, runnable3));
return;
}
return;
case 7:
Runnable runnable4 = new Runnable(c4833bhd) { // from class: o.bhf
private C4833bhd b;
@Override // java.lang.Runnable
public final void run() {
C4833bhd.d(this.b);
}
{
this.b = c4833bhd;
}
};
if (c4833bhd.b(th)) {
c4833bhd.d(c4833bhd.j.c(th, runnable4));
return;
}
return;
case '\b':
ZI.IeS ieS4 = new ZI.IeS() { // from class: o.bhc
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9273dgd.RVV) obj).b();
}
};
if (c4833bhd.f != 0) {
ieS4.e(c4833bhd.f);
return;
}
return;
default:
C0690Mh.IeS ieS5 = C0690Mh.IeS.NAVIGATE_BACK;
if (c4833bhd.b(th)) {
c4833bhd.d(c4833bhd.j.d(th, ieS5));
return;
}
return;
}
}
if (c4833bhd.b(th)) {
c4833bhd.d(c4833bhd.j.e(th));
return;
}
return;
}
if (c4833bhd.b(th)) {
c4833bhd.d(c4833bhd.j.e(th));
}
}
public static /* synthetic */ void c(C4833bhd c4833bhd) {
C4839bhj c4839bhj = new C4839bhj();
if (c4833bhd.f != 0) {
c4839bhj.e(c4833bhd.f);
}
}
public static /* synthetic */ void e(C4833bhd c4833bhd, KUd kUd) {
C16921sR c16921sR = c4833bhd.a;
final C0708Mt c0708Mt = kUd != null ? new C0708Mt((String) C16157lj.c(new Object[]{c16921sR, kUd.m}, 838289628, -838289623, System.identityHashCode(c16921sR)), kUd.a, kUd.e, kUd.b, kUd.g, kUd.f, kUd.j, kUd.d, kUd.c, kUd.f8236o, kUd.h, kUd.l, kUd.n, kUd.i) : null;
c0708Mt.f = c4833bhd.b.b;
c0708Mt.h = c4833bhd.b.f8279o;
ZI.IeS ieS = new ZI.IeS(c0708Mt) { // from class: o.bhl
private C0708Mt e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C4833bhd.e(this.e, (InterfaceC9273dgd.RVV) obj);
}
{
this.e = c0708Mt;
}
};
if (c4833bhd.f != 0) {
ieS.e(c4833bhd.f);
}
}
public static /* synthetic */ void a(C4833bhd c4833bhd) {
C4839bhj c4839bhj = new C4839bhj();
if (c4833bhd.f != 0) {
c4839bhj.e(c4833bhd.f);
}
}
public static /* synthetic */ void b(C4833bhd c4833bhd) {
C4839bhj c4839bhj = new C4839bhj();
if (c4833bhd.f != 0) {
c4839bhj.e(c4833bhd.f);
}
}
public static /* synthetic */ void d(C4833bhd c4833bhd) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.bhk
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9273dgd.RVV) obj).h();
}
};
if (c4833bhd.f != 0) {
ieS.e(c4833bhd.f);
}
}
}