package o; import com.google.gson.JsonElement; import com.scb.phone.domain.errors.RetrofitException; import o.C1551aHd; import o.InterfaceC9175dek; import o.ZI; /* renamed from: o.aHd, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public final class C1551aHd extends ZI { public final C15784ib a; private final xNu b; final C16597pb e; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C1551aHd(C16903sI c16903sI, xNu xnu, C16597pb c16597pb, C15784ib c15784ib) { super(c16903sI); C14957gcv.e(c16903sI, ""); C14957gcv.e(xnu, ""); C14957gcv.e(c16597pb, ""); C14957gcv.e(c15784ib, ""); this.b = xnu; this.e = c16597pb; this.a = c15784ib; } /* renamed from: o.aHd$HBt */ /* loaded from: classes4.dex */ public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR { private C1551aHd a; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Throwable th) { final Throwable th2 = th; C14957gcv.e(th2, ""); C1551aHd.d(this.a); final C1551aHd c1551aHd = this.a; ZI.IeS ieS = new ZI.IeS(th2, c1551aHd) { // from class: o.aHl private Throwable a; private C1551aHd d; @Override // o.ZI.IeS public final void e(Object obj) { C1551aHd.HBt.d(this.a, this.d, (InterfaceC9175dek.Sts) obj); } { this.a = th2; this.d = c1551aHd; } }; if (c1551aHd.f != 0) { ieS.e(c1551aHd.f); } return C14866gag.c; } public static /* synthetic */ void d(Throwable th, C1551aHd c1551aHd, InterfaceC9175dek.Sts sts) { C14957gcv.e(th, ""); C14957gcv.e(c1551aHd, ""); if (!(th instanceof RetrofitException)) { sts.c(th); return; } VCl vCl = ((RetrofitException) th).e; ggV ggv = vCl != null ? vCl.c : null; if (C14957gcv.b((Object) (ggv != null ? ggv.e : null), (Object) "3000")) { C1551aHd.a(c1551aHd, ggv); } else { sts.c(th); } } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public HBt(C1551aHd c1551aHd) { super(1); this.a = c1551aHd; } } /* renamed from: o.aHd$IeS */ /* loaded from: classes4.dex */ public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR { private C1551aHd c; @Override // o.InterfaceC14894gbR public final /* synthetic */ C14866gag invoke(Rzc rzc) { Rzc rzc2 = rzc; C14957gcv.e(rzc2, ""); C1551aHd.d(this.c); C16597pb c16597pb = this.c.e; C14957gcv.e(rzc2, ""); final ID id = new ID(rzc2.c, c16597pb.b.toJson((JsonElement) rzc2.e)); C1551aHd c1551aHd = this.c; ZI.IeS ieS = new ZI.IeS(id) { // from class: o.aHf private ID d; @Override // o.ZI.IeS public final void e(Object obj) { C1551aHd.IeS.e(this.d, (InterfaceC9175dek.Sts) obj); } { this.d = id; } }; if (c1551aHd.f != 0) { ieS.e(c1551aHd.f); } return C14866gag.c; } public static /* synthetic */ void e(ID id, InterfaceC9175dek.Sts sts) { C14957gcv.e(id, ""); sts.d(id, id.a); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public IeS(C1551aHd c1551aHd) { super(1); this.c = c1551aHd; } } public static /* synthetic */ void b(C1551aHd c1551aHd) { C14957gcv.e(c1551aHd, ""); ZI.IeS ieS = new ZI.IeS() { // from class: o.aHc @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9175dek.Sts) obj).c(); } }; if (c1551aHd.f != 0) { ieS.e(c1551aHd.f); } } public static final /* synthetic */ void d(C1551aHd c1551aHd) { if (c1551aHd.f != 0) { c1551aHd.f.ar_(); } } public static final /* synthetic */ void a(final C1551aHd c1551aHd, ggV ggv) { String str = ggv.d; if (str == null) { str = ""; } String str2 = ggv.c; c1551aHd.d(c1551aHd.j.d(str, str2 != null ? str2 : "", new Runnable(c1551aHd) { // from class: o.aHe private C1551aHd d; @Override // java.lang.Runnable public final void run() { C1551aHd.b(this.d); } { this.d = c1551aHd; } })); } @Override // o.ZI public final void w_() { xNu xnu = this.b; if (!xnu.h.isDisposed()) { xnu.h.dispose(); } super.w_(); } }