package o; import com.scb.phone.domain.errors.RetrofitException; import o.C5934cDn; import o.MC; import o.ZI; /* renamed from: o.cDn, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public final class C5934cDn extends ZI { private final String a; private final C16065kq d; private final C0231Bx e; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C5934cDn(C16065kq c16065kq, C0231Bx c0231Bx, String str, C16903sI c16903sI) { super(c16903sI); C14957gcv.e(c16065kq, ""); C14957gcv.e(c0231Bx, ""); C14957gcv.e(str, ""); C14957gcv.e(c16903sI, ""); this.d = c16065kq; this.e = c0231Bx; this.a = str; } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.cDn$HBt */ /* loaded from: classes4.dex */ public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR { private C5934cDn e; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { Throwable th2 = th; C14957gcv.e(th2, ""); C5934cDn.c(this.e); final ggV g = C5934cDn.g(th2); if (!ZI.j(th2)) { if (!this.e.b(th2, "8103") || g == null) { if (this.e.b(th2, "3011") && g != null) { final C5934cDn c5934cDn = this.e; C5934cDn.a(c5934cDn, th2, new Runnable(c5934cDn) { // from class: o.cDt private C5934cDn d; @Override // java.lang.Runnable public final void run() { C5934cDn.HBt.d(this.d); } { this.d = c5934cDn; } }); } else { final C5934cDn c5934cDn2 = this.e; C5934cDn.a(c5934cDn2, th2, new Runnable(c5934cDn2) { // from class: o.cDv private C5934cDn e; @Override // java.lang.Runnable public final void run() { C5934cDn.HBt.a(this.e); } { this.e = c5934cDn2; } }); } } else { C5934cDn c5934cDn3 = this.e; ZI.IeS ieS = new ZI.IeS(g) { // from class: o.cDs private ggV c; @Override // o.ZI.IeS public final void e(Object obj) { C5934cDn.HBt.a(this.c, (InterfaceC9624dnK) obj); } { this.c = g; } }; if (c5934cDn3.f != 0) { ieS.e(c5934cDn3.f); } } } else { C5934cDn c5934cDn4 = this.e; ZI.IeS ieS2 = new ZI.IeS() { // from class: o.cDo @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9624dnK) obj).a(); } }; if (c5934cDn4.f != 0) { ieS2.e(c5934cDn4.f); } } return C14866gag.c; } public static /* synthetic */ void a(ggV ggv, InterfaceC9624dnK interfaceC9624dnK) { String str = ggv.d; C14957gcv.c((Object) str, ""); String str2 = ggv.c; C14957gcv.c((Object) str2, ""); interfaceC9624dnK.b(str, str2); } public static /* synthetic */ void d(C5934cDn c5934cDn) { C14957gcv.e(c5934cDn, ""); ZI.IeS ieS = new ZI.IeS() { // from class: o.cDw @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9624dnK) obj).d(); } }; if (c5934cDn.f != 0) { ieS.e(c5934cDn.f); } } public static /* synthetic */ void a(C5934cDn c5934cDn) { C14957gcv.e(c5934cDn, ""); ZI.IeS ieS = new ZI.IeS() { // from class: o.cDu @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9624dnK) obj).e(); } }; if (c5934cDn.f != 0) { ieS.e(c5934cDn.f); } } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ HBt(C5934cDn c5934cDn) { super(1); this.e = c5934cDn; } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.cDn$RVV */ /* loaded from: classes4.dex */ public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR { private C1114Vy b; private C5934cDn c; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(ZVj zVj) { final ZVj zVj2 = zVj; C14957gcv.e(zVj2, ""); C5934cDn.c(this.c); final iJI iji = zVj2.g; final C5934cDn c5934cDn = this.c; final C1114Vy c1114Vy = this.b; ZI.IeS ieS = new ZI.IeS(iji, zVj2, c1114Vy, c5934cDn) { // from class: o.cDp private iJI b; private C5934cDn c; private ZVj d; private C1114Vy e; @Override // o.ZI.IeS public final void e(Object obj) { C5934cDn.RVV.e(this.b, this.d, this.e, this.c, (InterfaceC9624dnK) obj); } { this.b = iji; this.d = zVj2; this.e = c1114Vy; this.c = c5934cDn; } }; if (c5934cDn.f != 0) { ieS.e(c5934cDn.f); } return C14866gag.c; } public static /* synthetic */ void e(iJI iji, ZVj zVj, C1114Vy c1114Vy, C5934cDn c5934cDn, InterfaceC9624dnK interfaceC9624dnK) { C14957gcv.e(zVj, ""); C14957gcv.e(c1114Vy, ""); C14957gcv.e(c5934cDn, ""); String str = iji != null ? iji.a : null; if (!C14957gcv.b((Object) str, (Object) "8101") && !C14957gcv.b((Object) str, (Object) "8102")) { interfaceC9624dnK.a(c5934cDn.e.c(zVj, c1114Vy)); return; } String str2 = zVj.d; String str3 = zVj.a; String str4 = zVj.c; String str5 = iji.d; String str6 = zVj.b; String str7 = zVj.e; String str8 = str7 == null ? "" : str7; String str9 = iji.b; String str10 = c1114Vy.p; String str11 = c1114Vy.q; interfaceC9624dnK.a(new MC.tOB(str2, str3, str4, str5, str6, str8, str9, str10, str11 == null ? "" : str11, zVj.h)); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ RVV(C5934cDn c5934cDn, C1114Vy c1114Vy) { super(1); this.c = c5934cDn; this.b = c1114Vy; } } @Override // o.ZI public final void w_() { this.d.a(); super.w_(); } public static final /* synthetic */ ggV g(Throwable th) { if (!(th instanceof RetrofitException)) { return null; } RetrofitException retrofitException = (RetrofitException) th; if (retrofitException.e != null) { return retrofitException.e.c; } return null; } public static final /* synthetic */ void c(C5934cDn c5934cDn) { if (c5934cDn.f != 0) { c5934cDn.f.ar_(); } } public static final /* synthetic */ void a(C5934cDn c5934cDn, Throwable th, Runnable runnable) { if (c5934cDn.b(th)) { c5934cDn.d(c5934cDn.j.c(th, runnable)); } } public final void b(C1114Vy c1114Vy, boolean z) { C14957gcv.e(c1114Vy, ""); if (this.f != 0) { this.f.y(); } C16065kq c16065kq = this.d; String str = c1114Vy.p; c16065kq.c(str == null ? "" : str, z, this.a, null, null, new RVV(this, c1114Vy), new HBt(this)); } }