package o; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import o.AbstractC5039blX; import o.C0690Mh; import o.C15658hZO; import o.MR; import o.ZI; import o.wRi; /* renamed from: o.blX, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public abstract class AbstractC5039blX extends ZI { public MR.LWm a; public boolean b; public final C0811PYo c; public MR.LWm d; public C15658hZO e; private final zWC g; private final gVT h; public abstract void b(); /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public AbstractC5039blX(C16903sI c16903sI, gVT gvt, C0811PYo c0811PYo, zWC zwc) { super(c16903sI); C14957gcv.e(c16903sI, ""); C14957gcv.e(gvt, ""); C14957gcv.e(c0811PYo, ""); C14957gcv.e(zwc, ""); this.h = gvt; this.c = c0811PYo; this.g = zwc; this.b = true; } /* renamed from: o.blX$IeS */ /* loaded from: classes4.dex */ public static final class IeS extends wRi.LWm { private AbstractC5039blX c; IeS(AbstractC5039blX abstractC5039blX) { this.c = abstractC5039blX; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { final MR mr = (MR) obj; C14957gcv.e(mr, ""); super.onNext(mr); AbstractC5039blX abstractC5039blX = this.c; ZI.IeS ieS = new ZI.IeS(mr) { // from class: o.bmd private MR c; @Override // o.ZI.IeS public final void e(Object obj2) { AbstractC5039blX.IeS.e(this.c, (InterfaceC9291dgv) obj2); } { this.c = mr; } }; if (abstractC5039blX.f != 0) { ieS.e(abstractC5039blX.f); } AbstractC5039blX.e(this.c); } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C14957gcv.e(th, ""); super.onError(th); AbstractC5039blX.c(this.c, th, C0690Mh.IeS.NAVIGATE_BACK); } public static /* synthetic */ void e(MR mr, InterfaceC9291dgv interfaceC9291dgv) { C14957gcv.e(mr, ""); interfaceC9291dgv.c(mr); } } public final void b(AbstractC13163fSk abstractC13163fSk) { C14957gcv.e(abstractC13163fSk, ""); this.h.d(abstractC13163fSk, new IeS(this)); ZI.IeS ieS = new ZI.IeS(this) { // from class: o.bma private AbstractC5039blX a; @Override // o.ZI.IeS public final void e(Object obj) { AbstractC5039blX.e(this.a, (InterfaceC9291dgv) obj); } { this.a = this; } }; if (this.f != 0) { ieS.e(this.f); } } /* renamed from: o.blX$LWm */ /* loaded from: classes4.dex */ public static final class LWm extends wRi.LWm { private AbstractC5039blX b; private String c; public LWm(AbstractC5039blX abstractC5039blX, String str) { this.b = abstractC5039blX; this.c = str; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C14957gcv.e(th, ""); super.onError(th); AbstractC5039blX.c(this.b, th, C0690Mh.IeS.JUST_DISMISS); } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onComplete() { super.onComplete(); C15658hZO c15658hZO = this.b.e; if (c15658hZO == null) { C14957gcv.a(""); c15658hZO = null; } String str = c15658hZO.i; C15658hZO c15658hZO2 = this.b.e; if (c15658hZO2 == null) { C14957gcv.a(""); c15658hZO2 = null; } int i = c15658hZO2.a; C15658hZO c15658hZO3 = this.b.e; if (c15658hZO3 == null) { C14957gcv.a(""); c15658hZO3 = null; } String str2 = c15658hZO3.g.e; C15658hZO c15658hZO4 = this.b.e; if (c15658hZO4 == null) { C14957gcv.a(""); c15658hZO4 = null; } String str3 = c15658hZO4.f; C15658hZO c15658hZO5 = this.b.e; if (c15658hZO5 == null) { C14957gcv.a(""); c15658hZO5 = null; } String str4 = c15658hZO5.g.a; C15658hZO c15658hZO6 = this.b.e; if (c15658hZO6 == null) { C14957gcv.a(""); c15658hZO6 = null; } String obj = c15658hZO6.n.toString(); C15658hZO c15658hZO7 = this.b.e; if (c15658hZO7 == null) { C14957gcv.a(""); c15658hZO7 = null; } String str5 = c15658hZO7.b.b; C15658hZO c15658hZO8 = this.b.e; if (c15658hZO8 == null) { C14957gcv.a(""); c15658hZO8 = null; } C15658hZO.Sts sts = c15658hZO8.d; String e = sts != null ? C15602gz.e(sts.a) : null; C15658hZO c15658hZO9 = this.b.e; if (c15658hZO9 == null) { C14957gcv.a(""); c15658hZO9 = null; } String e2 = C15602gz.e(c15658hZO9.b.a); C15658hZO c15658hZO10 = this.b.e; if (c15658hZO10 == null) { C14957gcv.a(""); c15658hZO10 = null; } String str6 = c15658hZO10.k; C15658hZO c15658hZO11 = this.b.e; if (c15658hZO11 == null) { C14957gcv.a(""); c15658hZO11 = null; } String str7 = c15658hZO11.h; MR.LWm lWm = this.b.d; if (lWm == null) { C14957gcv.a(""); lWm = null; } String str8 = lWm.a; C15658hZO c15658hZO12 = this.b.e; if (c15658hZO12 == null) { C14957gcv.a(""); c15658hZO12 = null; } String str9 = c15658hZO12.f9158o.b; C15658hZO c15658hZO13 = this.b.e; if (c15658hZO13 == null) { C14957gcv.a(""); c15658hZO13 = null; } String str10 = c15658hZO13.g.d; C15658hZO c15658hZO14 = this.b.e; if (c15658hZO14 == null) { C14957gcv.a(""); c15658hZO14 = null; } String str11 = c15658hZO14.e; C15658hZO c15658hZO15 = this.b.e; if (c15658hZO15 == null) { C14957gcv.a(""); c15658hZO15 = null; } List list = c15658hZO15.m; C14957gcv.e(list, ""); ArrayList arrayList = new ArrayList(list instanceof Collection ? list.size() : 10); Iterator it = list.iterator(); while (it.hasNext()) { C0393Fnz c0393Fnz = (C0393Fnz) it.next(); arrayList.add(new WY(c0393Fnz.a, c0393Fnz.d)); it = it; str7 = str7; } WZ wz = new WZ(false, null, arrayList, null); C14957gcv.c((Object) obj, ""); C14957gcv.c((Object) e2, ""); final NR nr = new NR(str, String.valueOf(i), str2, str3, str4, obj, e, str5, e2, str6, str7, str8, this.c, str9, str10, str11, null, wz); AbstractC5039blX abstractC5039blX = this.b; ZI.IeS ieS = new ZI.IeS(nr) { // from class: o.bmf private NR e; @Override // o.ZI.IeS public final void e(Object obj2) { AbstractC5039blX.LWm.a(this.e, (InterfaceC9291dgv) obj2); } { this.e = nr; } }; if (abstractC5039blX.f != 0) { ieS.e(abstractC5039blX.f); } AbstractC5039blX.e(this.b); } public static /* synthetic */ void a(NR nr, InterfaceC9291dgv interfaceC9291dgv) { C14957gcv.e(nr, ""); interfaceC9291dgv.a(nr); } } public static /* synthetic */ void e(AbstractC5039blX abstractC5039blX, InterfaceC9291dgv interfaceC9291dgv) { C14957gcv.e(abstractC5039blX, ""); interfaceC9291dgv.e(abstractC5039blX.g.a.f() == bTI.BUSINESS_OWNER); } public static final /* synthetic */ void e(AbstractC5039blX abstractC5039blX) { if (abstractC5039blX.f != 0) { abstractC5039blX.f.ar_(); } } public static final /* synthetic */ void c(AbstractC5039blX abstractC5039blX, Throwable th, C0690Mh.IeS ieS) { if (abstractC5039blX.b(th)) { abstractC5039blX.d(abstractC5039blX.j.d(th, ieS)); } } @Override // o.ZI public void w_() { gVT gvt = this.h; if (!gvt.h.isDisposed()) { gvt.h.dispose(); } C0811PYo c0811PYo = this.c; if (!c0811PYo.h.isDisposed()) { c0811PYo.h.dispose(); } super.w_(); } }