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

206 lines
6.5 KiB
Java

package o;
import com.scb.phone.domain.errors.RetrofitException;
import o.AbstractC15351go;
import o.C5466bta;
import o.ZI;
import o.wRi;
/* renamed from: o.bta, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C5466bta extends C5592bvv {
private final Aog b;
private final C15767iT d;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C5466bta(C15767iT c15767iT, C16903sI c16903sI, Aog aog) {
super(c16903sI, aog);
C14957gcv.e(c15767iT, "");
C14957gcv.e(c16903sI, "");
C14957gcv.e(aog, "");
this.d = c15767iT;
this.b = aog;
}
/* renamed from: o.bta$Sts */
/* loaded from: classes4.dex */
public static final class Sts extends wRi.LWm<C14866gag> {
private C5466bta e;
Sts(C5466bta c5466bta) {
this.e = c5466bta;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
super.onComplete();
C5466bta.e(this.e);
C5466bta c5466bta = this.e;
ZI.IeS ieS = new ZI.IeS() { // from class: o.btg
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9307dhK) obj).d();
}
};
if (c5466bta.f != 0) {
ieS.e(c5466bta.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(final Throwable th) {
C14957gcv.e(th, "");
super.onError(th);
C5466bta.e(this.e);
if (th instanceof RetrofitException) {
String str = ((RetrofitException) th).e.c.e;
if (C14957gcv.b((Object) str, (Object) "1087") || C14957gcv.b((Object) str, (Object) "1089")) {
C5466bta c5466bta = this.e;
ZI.IeS ieS = new ZI.IeS() { // from class: o.bte
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9307dhK) obj).b();
}
};
if (c5466bta.f != 0) {
ieS.e(c5466bta.f);
return;
}
return;
}
final C5466bta c5466bta2 = this.e;
ZI.IeS ieS2 = new ZI.IeS(c5466bta2, th) { // from class: o.bti
private C5466bta a;
private Throwable c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5466bta.Sts.e(this.a, this.c, (InterfaceC9307dhK) obj);
}
{
this.a = c5466bta2;
this.c = th;
}
};
if (c5466bta2.f != 0) {
ieS2.e(c5466bta2.f);
}
}
}
public static /* synthetic */ void e(C5466bta c5466bta, Throwable th, InterfaceC9307dhK interfaceC9307dhK) {
C14957gcv.e(c5466bta, "");
C14957gcv.e(th, "");
String str = c5466bta.j.e(th).c;
C14957gcv.c((Object) str, "");
interfaceC9307dhK.b(str);
interfaceC9307dhK.c();
}
}
/* renamed from: o.bta$HBt */
/* loaded from: classes4.dex */
static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C5466bta a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
final Throwable th2 = th;
C14957gcv.e(th2, "");
final C5466bta c5466bta = this.a;
ZI.IeS ieS = new ZI.IeS(c5466bta, th2) { // from class: o.btf
private C5466bta b;
private Throwable d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5466bta.HBt.d(this.b, this.d);
}
{
this.b = c5466bta;
this.d = th2;
}
};
if (c5466bta.f != 0) {
ieS.e(c5466bta.f);
}
return C14866gag.c;
}
public static /* synthetic */ void d(C5466bta c5466bta, Throwable th) {
C14957gcv.e(c5466bta, "");
C14957gcv.e(th, "");
C5466bta.d(c5466bta, th);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(C5466bta c5466bta) {
super(1);
this.a = c5466bta;
}
}
/* renamed from: o.bta$IeS */
/* loaded from: classes4.dex */
static final class IeS extends AbstractC14961gcz implements InterfaceC14890gbN<C14866gag> {
private C5466bta a;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C14866gag invoke() {
C5466bta c5466bta = this.a;
ZI.IeS ieS = new ZI.IeS() { // from class: o.btj
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9307dhK) obj).a();
}
};
if (c5466bta.f != 0) {
ieS.e(c5466bta.f);
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
IeS(C5466bta c5466bta) {
super(0);
this.a = c5466bta;
}
}
@Override // o.C5592bvv
public final void c() {
C15767iT c15767iT = this.d;
IeS ieS = new IeS(this);
HBt hBt = new HBt(this);
C14957gcv.e(ieS, "");
C14957gcv.e(hBt, "");
c15767iT.d(c15767iT.b, ieS, hBt, new AbstractC15351go.LWm());
}
public static final /* synthetic */ void e(C5466bta c5466bta) {
if (c5466bta.f != 0) {
c5466bta.f.ar_();
}
}
public static final /* synthetic */ void d(C5466bta c5466bta, Throwable th) {
if (c5466bta.b(th)) {
c5466bta.d(c5466bta.j.e(th));
}
}
@Override // o.C5592bvv
public final void b(String str) {
C14957gcv.e(str, "");
if (this.f != 0) {
this.f.y();
}
this.b.d(str);
Aog aog = this.b;
aog.d(aog.i, new Sts(this));
}
}