package o; import java.util.ArrayList; import java.util.Collections; import java.util.List; import o.C15715hv; import o.C4582bcr; import o.IV; import o.InterfaceC6621cYR; import o.LY; import o.ZI; import o.wRi; /* renamed from: o.bcr, reason: case insensitive filesystem */ /* loaded from: classes4.dex */ public class C4582bcr extends ZI { public C14834gUF a; public C0668Lu b; public LD c; public iGH d; private C16735qo e; private C16960sk g; private C16971so h; private C16953sh i; /* JADX INFO: Access modifiers changed from: package-private */ @InterfaceC13391fZD public C4582bcr(C16903sI c16903sI, C16960sk c16960sk, C16735qo c16735qo, iGH igh, C16953sh c16953sh, C16971so c16971so) { super(c16903sI); this.g = c16960sk; this.e = c16735qo; this.h = c16971so; this.i = c16953sh; this.d = igh; } /* renamed from: o.bcr$HBt */ /* loaded from: classes4.dex */ public class HBt extends wRi.LWm { private C4582bcr e; private HBt(C4582bcr c4582bcr) { this.e = c4582bcr; } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final /* synthetic */ void onNext(Object obj) { String str; final C16505osv c16505osv = (C16505osv) obj; C4582bcr.b(this.e); final LM d = this.e.i.d(c16505osv); this.e.c.a = d.a; LD ld = this.e.c; if (c16505osv.j == null) { str = ""; } else { str = c16505osv.j.d; } ld.s = str; if (c16505osv.j != null) { C4582bcr c4582bcr = this.e; ZI.IeS ieS = new ZI.IeS(this, d, c16505osv) { // from class: o.bco private LM a; private C16505osv b; private C4582bcr.HBt d; @Override // o.ZI.IeS public final void e(Object obj2) { C4582bcr.HBt.c(this.d, this.a, this.b, (InterfaceC6621cYR.jzh) obj2); } { this.d = this; this.a = d; this.b = c16505osv; } }; if (c4582bcr.f != 0) { ieS.e(c4582bcr.f); } } } @Override // o.wRi.LWm, o.InterfaceC13174fSv public final void onError(Throwable th) { C4582bcr.c(this.e, th); } public static /* synthetic */ void c(HBt hBt, LM lm, C16505osv c16505osv, InterfaceC6621cYR.jzh jzhVar) { C16971so c16971so = hBt.e.h; List list = lm.a; String str = c16505osv.j.d; List b = c16971so.b("COST", list); ArrayList arrayList = new ArrayList(); arrayList.add(new IV.Sts(c16971so.c(C15715hv.tOB.remark_value, str), nMh.getColor(c16971so.a, C15715hv.LWm.dark_gray))); arrayList.add(new IV.Sts(c16971so.e(C15715hv.tOB.remark_second_value), nMh.getColor(c16971so.a, C15715hv.LWm.dark_gray))); b.add(new IV(c16971so.e(C15715hv.tOB.remark_label), arrayList)); jzhVar.a(b); } public /* synthetic */ HBt(C4582bcr c4582bcr, byte b) { this(c4582bcr); } } public static /* synthetic */ void d(C4582bcr c4582bcr, C0666Lt c0666Lt, InterfaceC6621cYR.jzh jzhVar) { C16960sk c16960sk = c4582bcr.g; jzhVar.a(C16960sk.c(c0666Lt)); C16971so c16971so = c4582bcr.h; ArrayList arrayList = new ArrayList(); arrayList.add(new IV(c16971so.e.getString(C15715hv.tOB.refillable_feature_information_loan_type), c0666Lt.b)); if (c0666Lt.i != null) { arrayList.add(new IV(c16971so.e.getString(C15715hv.tOB.refillable_feature_information_borrower), C16971so.c(c0666Lt.j, c0666Lt.h, c0666Lt.i))); } arrayList.add(new IV(c16971so.e.getString(C15715hv.tOB.refillable_feature_information_mortgage_no), c0666Lt.f)); arrayList.add(new IV(c16971so.e.getString(C15715hv.tOB.refillable_feature_information_location), (List) Collections.singletonList(new IV.Sts(c0666Lt.f8257o)))); LY.IeS ieS = new LY.IeS(); ieS.b = arrayList; ieS.e = true; jzhVar.e(ieS.b()); } public static /* synthetic */ C1178Xg c(C4582bcr c4582bcr, C0666Lt c0666Lt) { C16735qo c16735qo = c4582bcr.e; return C16735qo.a(c0666Lt); } public static /* synthetic */ void e(final C4582bcr c4582bcr, C0668Lu c0668Lu, InterfaceC6621cYR.jzh jzhVar) { C16735qo c16735qo = c4582bcr.e; jzhVar.b((List) C16157lj.c(new Object[]{c0668Lu.j, new InterfaceC1244Ytw(c4582bcr) { // from class: o.bcs private C4582bcr c; @Override // o.InterfaceC1244Ytw public final Object d(Object obj) { return C4582bcr.c(this.c, (C0666Lt) obj); } { this.c = c4582bcr; } }}, -1846295624, 1846295631, (int) System.currentTimeMillis())); } static /* synthetic */ void b(C4582bcr c4582bcr) { if (c4582bcr.f != 0) { c4582bcr.f.ar_(); } } static /* synthetic */ void c(C4582bcr c4582bcr, Throwable th) { if (c4582bcr.b(th)) { c4582bcr.d(c4582bcr.j.e(th)); } } public final void d(int i) { final C0666Lt c0666Lt = this.b.j.get(i); LD ld = new LD(); this.c = ld; ld.l = c0666Lt.b; this.c.t = c0666Lt.d; this.c.r = ((C0653Ll) c0666Lt).c; this.c.n = c0666Lt.j; this.c.f8247o = c0666Lt.h; this.c.m = c0666Lt.i; this.c.p = c0666Lt.n; this.c.q = c0666Lt.f8257o; this.c.d = Integer.valueOf(c0666Lt.g); this.c.k = c0666Lt.f; C14834gUF c14834gUF = this.a; c14834gUF.c = c0666Lt.g; c14834gUF.a = c0666Lt.f; ZI.IeS ieS = new ZI.IeS(this, c0666Lt) { // from class: o.bcq private C4582bcr c; private C0666Lt d; @Override // o.ZI.IeS public final void e(Object obj) { C4582bcr.d(this.c, this.d, (InterfaceC6621cYR.jzh) obj); } { this.c = this; this.d = c0666Lt; } }; if (this.f != 0) { ieS.e(this.f); } } }