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

202 lines
6.7 KiB
Java

package o;
import o.C16517owV;
import o.C5154bng;
import o.ZI;
import o.wRi;
/* renamed from: o.bng, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C5154bng extends ZI<InterfaceC9247dgC> {
private final zWC a;
public final C4780bgd e;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C5154bng(C16903sI c16903sI, C4780bgd c4780bgd, zWC zwc) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(c4780bgd, "");
C14957gcv.e(zwc, "");
this.e = c4780bgd;
this.a = zwc;
}
/* renamed from: o.bng$Sts */
/* loaded from: classes4.dex */
public static final class Sts extends wRi.LWm<C16517owV> {
private C5154bng d;
public Sts(C5154bng c5154bng) {
this.d = c5154bng;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
C16517owV c16517owV = (C16517owV) obj;
C14957gcv.e(c16517owV, "");
super.onNext(c16517owV);
C5154bng.e(this.d);
int i = IeS.a[c16517owV.b.ordinal()];
if (i == 1) {
C5154bng c5154bng = this.d;
ZI.IeS ieS = new ZI.IeS() { // from class: o.bno
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9247dgC) obj2).b();
}
};
if (c5154bng.f != 0) {
ieS.e(c5154bng.f);
return;
}
return;
}
if (i == 2) {
int i2 = IeS.d[this.d.a.a.f().ordinal()];
if (i2 == 1) {
C5154bng c5154bng2 = this.d;
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.bnp
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9247dgC) obj2).g();
}
};
if (c5154bng2.f != 0) {
ieS2.e(c5154bng2.f);
return;
}
return;
}
if (i2 == 2) {
C5154bng c5154bng3 = this.d;
ZI.IeS ieS3 = new ZI.IeS() { // from class: o.bnn
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9247dgC) obj2).e();
}
};
if (c5154bng3.f != 0) {
ieS3.e(c5154bng3.f);
return;
}
return;
}
return;
}
if (i == 3) {
int i3 = IeS.d[this.d.a.a.f().ordinal()];
if (i3 == 1) {
C5154bng c5154bng4 = this.d;
ZI.IeS ieS4 = new ZI.IeS() { // from class: o.bnv
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9247dgC) obj2).a();
}
};
if (c5154bng4.f != 0) {
ieS4.e(c5154bng4.f);
return;
}
return;
}
if (i3 == 2) {
C5154bng c5154bng5 = this.d;
ZI.IeS ieS5 = new ZI.IeS() { // from class: o.bnu
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9247dgC) obj2).e();
}
};
if (c5154bng5.f != 0) {
ieS5.e(c5154bng5.f);
}
}
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C14957gcv.e(th, "");
super.onError(th);
final C5154bng c5154bng = this.d;
C5154bng.e(c5154bng, th, new Runnable(c5154bng) { // from class: o.bnm
private C5154bng e;
@Override // java.lang.Runnable
public final void run() {
C5154bng.Sts.e(this.e);
}
{
this.e = c5154bng;
}
});
}
public static /* synthetic */ void e(C5154bng c5154bng) {
C14957gcv.e(c5154bng, "");
ZI.IeS ieS = new ZI.IeS() { // from class: o.bns
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9247dgC) obj).d();
}
};
if (c5154bng.f != 0) {
ieS.e(c5154bng.f);
}
}
/* renamed from: o.bng$Sts$IeS */
/* loaded from: classes4.dex */
public final /* synthetic */ class IeS {
public static final int[] a;
public static final int[] d;
static {
int[] iArr = new int[bTI.values().length];
try {
iArr[bTI.BUSINESS_OWNER.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
iArr[bTI.CONSUMER.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
d = iArr;
int[] iArr2 = new int[C16517owV.Sts.values().length];
try {
iArr2[C16517owV.Sts.SUCCESS.ordinal()] = 1;
} catch (NoSuchFieldError unused3) {
}
try {
iArr2[C16517owV.Sts.PROGRESS.ordinal()] = 2;
} catch (NoSuchFieldError unused4) {
}
try {
iArr2[C16517owV.Sts.PROGRESS_OFF_HOUR.ordinal()] = 3;
} catch (NoSuchFieldError unused5) {
}
a = iArr2;
}
}
}
public static /* synthetic */ void b(C5154bng c5154bng, InterfaceC9247dgC interfaceC9247dgC) {
C14957gcv.e(c5154bng, "");
interfaceC9247dgC.a(bTI.BUSINESS_OWNER == c5154bng.a.a.f());
}
public static final /* synthetic */ void e(C5154bng c5154bng) {
if (c5154bng.f != 0) {
c5154bng.f.ar_();
}
}
public static final /* synthetic */ void e(C5154bng c5154bng, Throwable th, Runnable runnable) {
if (c5154bng.b(th)) {
c5154bng.d(c5154bng.j.c(th, runnable));
}
}
}