package o; import android.text.TextUtils; import java.util.List; import java.util.NoSuchElementException; import o.C0690Mh; import o.C1168Xb; import o.C15715hv; import o.C6425cSh; import o.InterfaceC9010dbe; import o.ZI; import o.wRi; /* renamed from: o.cSh, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public class C6425cSh extends ZI { public XB a; public RwL b; private DN c; private C0297Dm d; private List e; private C17361wD g; private DS h; @InterfaceC13391fZD public C6425cSh(RwL rwL, C17361wD c17361wD, C16903sI c16903sI, DS ds, DN dn, C0297Dm c0297Dm) { super(c16903sI); this.b = rwL; this.g = c17361wD; this.h = ds; this.c = dn; this.d = c0297Dm; } /* renamed from: o.cSh$LWm */ /* loaded from: classes4.dex */ public class LWm extends wRi.LWm { private C6425cSh c; private LWm(C6425cSh c6425cSh) { this.c = c6425cSh; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { final HNz hNz = (HNz) obj; C6425cSh c6425cSh = this.c; ZI.IeS ieS = new ZI.IeS(this, hNz) { // from class: o.cSj private C6425cSh.LWm b; private HNz e; @Override // o.ZI.IeS public final void e(Object obj2) { C6425cSh.LWm.d(this.b, this.e, (InterfaceC9010dbe.qPj) obj2); } { this.b = this; this.e = hNz; } }; if (c6425cSh.f != 0) { ieS.e(c6425cSh.f); } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { if (this.c.i(th)) { return; } C6425cSh c6425cSh = this.c; ZI.IeS ieS = new ZI.IeS() { // from class: o.cSi @Override // o.ZI.IeS public final void e(Object obj) { C6425cSh.LWm.b((InterfaceC9010dbe.qPj) obj); } }; if (c6425cSh.f != 0) { ieS.e(c6425cSh.f); } } /* JADX INFO: Access modifiers changed from: package-private */ public static /* synthetic */ void b(InterfaceC9010dbe.qPj qpj) { qpj.aq_(); qpj.e(); } public static /* synthetic */ void d(LWm lWm, HNz hNz, InterfaceC9010dbe.qPj qpj) { qpj.aq_(); qpj.c(lWm.c.g.d(hNz)); } public /* synthetic */ LWm(C6425cSh c6425cSh, byte b) { this(c6425cSh); } } /* renamed from: o.cSh$RVV */ /* loaded from: classes4.dex */ public class RVV extends wRi.LWm { private C6425cSh b; private final String c; @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { String str; final C1189Xo e; xkv xkvVar = (xkv) obj; DS ds = this.b.h; DN dn = this.b.c; XB xb = this.b.a; C6425cSh c6425cSh = this.b; XB c = dn.c(xb, C6425cSh.d(c6425cSh, c6425cSh.a.c), false); String str2 = this.c; if (xkvVar == null) { e = null; } else { C1189Xo d = C1189Xo.h().d(xkvVar.t); d.ac = c.u; d.Z = DS.b(c.C, c.y, false); d.ab = c.C; if (TextUtils.isEmpty(xkvVar.i)) { str = c.f; } else { str = xkvVar.i; } d.m = str; d.aj = c.G; d.ai = c.J; d.am = c.L; d.al = ds.c(C15715hv.tOB.ebill_selected_reference, c.I, xkvVar.f9314o); d.ak = ds.c(C15715hv.tOB.ebill_selected_reference, c.H, xkvVar.p); d.ap = ds.c(C15715hv.tOB.ebill_selected_reference, c.F, xkvVar.s); C1168Xb.LWm lWm = new C1168Xb.LWm(); lWm.b = DS.c(xkvVar.d); d.j = new C1168Xb(lWm, (byte) 0); d.n = xkvVar.c; C1189Xo h = d.h(DS.c(xkvVar.j)); h.D = xkvVar.k; h.O = str2; h.l = c.h; e = h.e("RTP_EBILL_PAYMENT_FUNCTION"); e.v = ds.c(C15715hv.tOB.biller_id, c.c); } C6425cSh c6425cSh2 = this.b; ZI.IeS ieS = new ZI.IeS(e) { // from class: o.cSm private C1189Xo e; @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC9010dbe.qPj) obj2).e(this.e); } { this.e = e; } }; if (c6425cSh2.f != 0) { ieS.e(c6425cSh2.f); } C6425cSh.i(this.b); } public RVV(C6425cSh c6425cSh, String str) { this.b = c6425cSh; this.c = str; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { if (this.b.i(th)) { return; } C6425cSh c6425cSh = this.b; c6425cSh.d(c6425cSh.j.e(th)); } } /* renamed from: o.cSh$HBt */ /* loaded from: classes4.dex */ public final class HBt extends wRi.LWm { private C6425cSh b; private HBt(C6425cSh c6425cSh) { this.b = c6425cSh; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { C6425cSh c6425cSh = this.b; c6425cSh.e = c6425cSh.d.c(((C17671ymh) obj).c, this.b.b.a.M()); C6425cSh c6425cSh2 = this.b; ZI.IeS ieS = new ZI.IeS(this) { // from class: o.cSg private C6425cSh.HBt c; @Override // o.ZI.IeS public final void e(Object obj2) { C6425cSh.HBt.b(this.c, (InterfaceC9010dbe.qPj) obj2); } { this.c = this; } }; if (c6425cSh2.f != 0) { ieS.e(c6425cSh2.f); } C6425cSh.j(this.b); } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onComplete() { C6425cSh.f(this.b); } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C6425cSh.c(this.b, th, C0690Mh.IeS.NAVIGATE_BACK); } public static /* synthetic */ void b(HBt hBt, InterfaceC9010dbe.qPj qpj) { DN dn = hBt.b.c; XB xb = hBt.b.a; C6425cSh c6425cSh = hBt.b; qpj.b(dn.c(xb, C6425cSh.d(c6425cSh, c6425cSh.a.c), hBt.b.b.a.T())); } public /* synthetic */ HBt(C6425cSh c6425cSh, byte b) { this(c6425cSh); } } /* JADX WARN: Multi-variable type inference failed */ static /* synthetic */ C1193Xr d(C6425cSh c6425cSh, final String str) { zEQ d; YKU yku = new YKU(c6425cSh.e); YKU yku2 = new YKU(yku.a, new GEP(yku.b, new Jel(str) { // from class: o.cSd private String e; @Override // o.Jel public final boolean e(Object obj) { return C6425cSh.b(this.e, (C1193Xr) obj); } { this.e = str; } })); if (yku2.b.hasNext()) { d = zEQ.a(yku2.b.next()); } else { d = zEQ.d(); } if (d.d == 0) { return null; } T t = d.d; if (t != 0) { return (C1193Xr) t; } throw new NoSuchElementException("No value present"); } static /* synthetic */ void i(C6425cSh c6425cSh) { if (c6425cSh.f != 0) { c6425cSh.f.ar_(); } } static /* synthetic */ void f(C6425cSh c6425cSh) { if (c6425cSh.f != 0) { c6425cSh.f.ar_(); } } static /* synthetic */ void c(C6425cSh c6425cSh, Throwable th, C0690Mh.IeS ieS) { if (c6425cSh.b(th)) { c6425cSh.d(c6425cSh.j.d(th, ieS)); } } static /* synthetic */ void j(C6425cSh c6425cSh) { if (c6425cSh.f != 0) { c6425cSh.f.ar_(); } } /* JADX INFO: Access modifiers changed from: package-private */ public static /* synthetic */ boolean b(String str, C1193Xr c1193Xr) { return str != null && str.equals(c1193Xr.g); } }