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

195 lines
6.0 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.scb.phone.domain.errors.RetrofitException;
import o.C15715hv;
import o.InterfaceC9152deN;
import o.ZI;
/* renamed from: o.aKi, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C1659aKi extends ZI<InterfaceC9152deN.IeS> {
public final C15926jg b;
private final C16075kv c;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C1659aKi(C15926jg c15926jg, C16075kv c16075kv, C16903sI c16903sI) {
super(c16903sI);
C14957gcv.e(c15926jg, "");
C14957gcv.e(c16075kv, "");
C14957gcv.e(c16903sI, "");
this.b = c15926jg;
this.c = c16075kv;
}
/* renamed from: o.aKi$HBt */
/* loaded from: classes4.dex */
public final /* synthetic */ class HBt extends C14954gcs implements InterfaceC14894gbR<OH, C14866gag> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(OH oh) {
C1659aKi.e((C1659aKi) this.f, oh);
return C14866gag.c;
}
public HBt(Object obj) {
super(1, obj, C1659aKi.class, "getMfSwitchTermFundSuccess", "getMfSwitchTermFundSuccess(Lcom/scb/phone/presentation/model/display/investment/InvestmentDetailsDisplay;)V");
}
}
/* renamed from: o.aKi$Sts */
/* loaded from: classes4.dex */
public final /* synthetic */ class Sts extends C14954gcs implements InterfaceC14894gbR<Throwable, C14866gag> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
C1659aKi.b((C1659aKi) this.f, th2);
return C14866gag.c;
}
public Sts(Object obj) {
super(1, obj, C1659aKi.class, "getMfSwitchTermFundError", "getMfSwitchTermFundError(Ljava/lang/Throwable;)V");
}
}
@Override // o.ZI
public final void w_() {
this.b.a();
super.w_();
}
/* renamed from: o.aKi$LWm */
/* loaded from: classes4.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
public static /* synthetic */ void e(Throwable th, final C1659aKi c1659aKi, final InterfaceC9152deN.IeS ieS) {
C14957gcv.e(th, "");
C14957gcv.e(c1659aKi, "");
ieS.c();
if (th instanceof RetrofitException) {
VCl vCl = ((RetrofitException) th).e;
ggV ggv = vCl != null ? vCl.c : null;
String str = ggv != null ? ggv.e : null;
if (str == null) {
str = "";
}
if (!C14957gcv.b((Object) str, (Object) "3190")) {
if (C14957gcv.b((Object) str, (Object) "3023")) {
ieS.g();
return;
}
Runnable runnable = new Runnable(ieS) { // from class: o.aKl
private InterfaceC9152deN.IeS a;
@Override // java.lang.Runnable
public final void run() {
this.a.W_();
}
{
this.a = ieS;
}
};
if (c1659aKi.b(th)) {
c1659aKi.d(c1659aKi.j.c(th, runnable));
return;
}
return;
}
String str2 = ggv != null ? ggv.d : null;
String str3 = str2 == null ? "" : str2;
String str4 = ggv != null ? ggv.c : null;
c1659aKi.d(c1659aKi.j.b(str3, str4 == null ? "" : str4, C15715hv.tOB.ok, C15715hv.tOB.cancel, new Runnable(c1659aKi, ieS) { // from class: o.aKe
private InterfaceC9152deN.IeS b;
private C1659aKi d;
@Override // java.lang.Runnable
public final void run() {
C1659aKi.e(this.d, this.b);
}
{
this.d = c1659aKi;
this.b = ieS;
}
}, new Runnable(ieS) { // from class: o.aKo
private InterfaceC9152deN.IeS b;
@Override // java.lang.Runnable
public final void run() {
this.b.W_();
}
{
this.b = ieS;
}
}));
}
}
public static /* synthetic */ void e(OH oh, InterfaceC9152deN.IeS ieS) {
ieS.c();
ieS.e(oh);
}
public static /* synthetic */ void e(C1659aKi c1659aKi, InterfaceC9152deN.IeS ieS) {
C14957gcv.e(c1659aKi, "");
C16075kv c16075kv = c1659aKi.c;
String str = EnumC1274Zk.MF_DEEPLINK.entryPoint;
C14957gcv.e(str, "");
Klc klc = c16075kv.d;
C14957gcv.e(str, "");
klc.e.d(str);
ieS.an_();
}
public static final /* synthetic */ void b(final C1659aKi c1659aKi, final Throwable th) {
ZI.IeS ieS = new ZI.IeS(th, c1659aKi) { // from class: o.aKn
private Throwable b;
private C1659aKi e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C1659aKi.e(this.b, this.e, (InterfaceC9152deN.IeS) obj);
}
{
this.b = th;
this.e = c1659aKi;
}
};
if (c1659aKi.f != 0) {
ieS.e(c1659aKi.f);
}
}
public static final /* synthetic */ void e(C1659aKi c1659aKi, final OH oh) {
ZI.IeS ieS = new ZI.IeS(oh) { // from class: o.aKj
private OH a;
@Override // o.ZI.IeS
public final void e(Object obj) {
C1659aKi.e(this.a, (InterfaceC9152deN.IeS) obj);
}
{
this.a = oh;
}
};
if (c1659aKi.f != 0) {
ieS.e(c1659aKi.f);
}
}
static {
new LWm((byte) 0);
}
}