package o; import com.scb.phone.domain.errors.RetrofitException; import com.scb.phone.domain.interactor.emailverification.EmailMeVerificationCodeUseCase; /* renamed from: o.qZO, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C16709qZO extends wRi { final tQD a; final InterfaceC0773Ogw b; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ @InterfaceC13391fZD public C16709qZO(yRw yrw, yRw yrw2, InterfaceC0773Ogw interfaceC0773Ogw, tQD tqd) { super(yrw, yrw2); C14957gcv.e(yrw, ""); C14957gcv.e(yrw2, ""); C14957gcv.e(interfaceC0773Ogw, ""); C14957gcv.e(tqd, ""); this.b = interfaceC0773Ogw; this.a = tqd; } public final AbstractC13163fSk d() { fUY fuy; if (Sts.e[this.a.f().ordinal()] == 1) { AbstractC13175fSw n = this.b.n(); final LWm lWm = new LWm(this); fuy = new fUY(n, new fSS(lWm) { // from class: o.aUc private InterfaceC14894gbR e; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.e; C14957gcv.e(interfaceC14894gbR, ""); return (InterfaceC13169fSq) interfaceC14894gbR.invoke(obj); } { this.e = lWm; } }); } else { AbstractC13175fSw n2 = this.b.n(); final HBt hBt = new HBt(this); fuy = new fUY(n2, new fSS(hBt) { // from class: o.KMb private InterfaceC14894gbR d; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.d; C14957gcv.e(interfaceC14894gbR, ""); return (InterfaceC13169fSq) interfaceC14894gbR.invoke(obj); } { this.d = hBt; } }); } final IeS ieS = IeS.c; AbstractC13163fSk onErrorResumeNext = fuy.onErrorResumeNext(new fSS(ieS) { // from class: o.cnL private InterfaceC14894gbR c; @Override // o.fSS public final Object a(Object obj) { InterfaceC14894gbR interfaceC14894gbR = this.c; C14957gcv.e(interfaceC14894gbR, ""); return (InterfaceC13169fSq) interfaceC14894gbR.invoke(obj); } { this.c = ieS; } }); C14957gcv.c(onErrorResumeNext, ""); e(onErrorResumeNext); return onErrorResumeNext; } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.qZO$LWm */ /* loaded from: classes3.dex */ public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR> { private C16709qZO a; @Override // o.InterfaceC14894gbR public final /* synthetic */ InterfaceC13169fSq invoke(String str) { String str2 = str; tQD tqd = this.a.a; C14957gcv.c((Object) str2, ""); return new C13377fYp(tqd.c(str2)); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ LWm(C16709qZO c16709qZO) { super(1); this.a = c16709qZO; } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.qZO$HBt */ /* loaded from: classes3.dex */ public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR> { private C16709qZO a; @Override // o.InterfaceC14894gbR public final /* synthetic */ InterfaceC13169fSq invoke(String str) { return this.a.b.d(str); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ HBt(C16709qZO c16709qZO) { super(1); this.a = c16709qZO; } } /* JADX INFO: Access modifiers changed from: package-private */ /* renamed from: o.qZO$IeS */ /* loaded from: classes3.dex */ public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR> { public static final IeS c = new IeS(); @Override // o.InterfaceC14894gbR public final /* synthetic */ InterfaceC13169fSq invoke(Throwable th) { Throwable th2 = th; C14957gcv.e(th2, ""); if ((th2 instanceof RetrofitException) && C14957gcv.b((Object) "3017", (Object) ((RetrofitException) th2).e.c.e)) { return AbstractC13163fSk.error(new EmailMeVerificationCodeUseCase.EmailVerificationCodeNotSendException()); } return AbstractC13163fSk.error(th2); } IeS() { super(1); } } /* renamed from: o.qZO$Sts */ /* loaded from: classes3.dex */ public final /* synthetic */ class Sts { public static final int[] e; static { int[] iArr = new int[bTI.values().length]; try { iArr[bTI.BUSINESS_OWNER.ordinal()] = 1; } catch (NoSuchFieldError unused) { } e = iArr; } } }