what-the-bank/sources/o/AbstractC5117bmw.java

164 lines
6.4 KiB
Java

package o;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import o.AbstractC5117bmw;
import o.C15715hv;
import o.NS;
import o.ZI;
import o.wRi;
import org.threeten.bp.OffsetDateTime;
/* renamed from: o.bmw, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractC5117bmw extends C2252abB<InterfaceC9298dhB> {
private final C17003tB b;
private final iRl c;
private final zWC d;
private final C1312aAe e;
private final C17017tJ h;
public abstract void b();
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public AbstractC5117bmw(C16903sI c16903sI, C17003tB c17003tB, C17017tJ c17017tJ, iRl irl, C1312aAe c1312aAe, zWC zwc) {
super(c16903sI, irl);
C14957gcv.e(c16903sI, "");
C14957gcv.e(c17003tB, "");
C14957gcv.e(c17017tJ, "");
C14957gcv.e(irl, "");
C14957gcv.e(c1312aAe, "");
C14957gcv.e(zwc, "");
this.b = c17003tB;
this.h = c17017tJ;
this.c = irl;
this.e = c1312aAe;
this.d = zwc;
}
/* JADX INFO: Access modifiers changed from: protected */
public final void d(InterfaceC14937gcb<? super C16517owV, ? super iRl, C14866gag> interfaceC14937gcb, InterfaceC14894gbR<? super Throwable, C14866gag> interfaceC14894gbR, boolean z) {
C14957gcv.e(interfaceC14894gbR, "");
AbstractC13163fSk<C16517owV> d = this.e.d();
if (this.f != 0) {
this.f.y();
}
this.e.d(d, new HBt(z, this, interfaceC14937gcb, interfaceC14894gbR));
}
/* renamed from: o.bmw$HBt */
/* loaded from: classes4.dex */
public static final class HBt extends wRi.LWm<C16517owV> {
private InterfaceC14894gbR<Throwable, C14866gag> a;
private AbstractC5117bmw b;
private boolean c;
private InterfaceC14937gcb<C16517owV, iRl, C14866gag> e;
/* JADX WARN: Multi-variable type inference failed */
HBt(boolean z, AbstractC5117bmw abstractC5117bmw, InterfaceC14937gcb<? super C16517owV, ? super iRl, C14866gag> interfaceC14937gcb, InterfaceC14894gbR<? super Throwable, C14866gag> interfaceC14894gbR) {
this.c = z;
this.b = abstractC5117bmw;
this.e = interfaceC14937gcb;
this.a = interfaceC14894gbR;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
C16517owV c16517owV = (C16517owV) obj;
C14957gcv.e(c16517owV, "");
super.onNext(c16517owV);
if (!this.c) {
AbstractC5117bmw abstractC5117bmw = this.b;
abstractC5117bmw.a = abstractC5117bmw.b.d(c16517owV, this.b.d.a.f());
} else {
AbstractC5117bmw abstractC5117bmw2 = this.b;
abstractC5117bmw2.e(abstractC5117bmw2.b.d(c16517owV, this.b.d.a.f()), (List<QI>) null);
}
C17017tJ c17017tJ = this.b.h;
String str = c16517owV.j;
String str2 = str == null ? "" : str;
OffsetDateTime offsetDateTime = c16517owV.c;
C15658hZO c15658hZO = c16517owV.f;
C15890jRd c15890jRd = c16517owV.e;
String str3 = c15890jRd != null ? c15890jRd.c : null;
C15890jRd c15890jRd2 = c16517owV.e;
C17808ztl c17808ztl = new C17808ztl(str2, offsetDateTime, c15658hZO, str3, c15890jRd2 != null ? c15890jRd2.b : null);
C14957gcv.e(c17808ztl, "");
String c = c17017tJ.c(C15715hv.tOB.reference_id, c17808ztl.a);
C14957gcv.c((Object) c, "");
String str4 = (String) C16157lj.c(new Object[]{c17017tJ, c17808ztl.d}, 838289628, -838289623, System.identityHashCode(c17017tJ));
C14957gcv.c((Object) str4, "");
String b = C6583cXR.b(c17808ztl.c.i);
C14957gcv.c((Object) b, "");
String b2 = C6583cXR.b(c17808ztl.c.f);
C14957gcv.c((Object) b2, "");
String str5 = c17808ztl.c.g.a;
String e = c17017tJ.e(C15715hv.tOB.hml_review_confirmation_annual_interest_rate_title);
List<C0393Fnz> list = c17808ztl.c.m;
C14957gcv.e(list, "");
ArrayList arrayList = new ArrayList(list instanceof Collection ? list.size() : 10);
for (C0393Fnz c0393Fnz : list) {
C14957gcv.e(c0393Fnz, "");
arrayList.add(new WY(c0393Fnz.a, c0393Fnz.d));
}
NS.RVV rvv = new NS.RVV(b, b2, str5, new WZ(e, arrayList));
String str6 = (String) C16157lj.c(new Object[]{c17808ztl.e, true}, 1230925834, -1230925834, (int) System.currentTimeMillis());
C14957gcv.c((Object) str6, "");
final NS ns = new NS(c, str4, rvv, str6, c17808ztl.b);
AbstractC5117bmw abstractC5117bmw3 = this.b;
ZI.IeS ieS = new ZI.IeS(ns) { // from class: o.bmB
private NS b;
@Override // o.ZI.IeS
public final void e(Object obj2) {
AbstractC5117bmw.HBt.d(this.b, (InterfaceC9298dhB) obj2);
}
{
this.b = ns;
}
};
if (abstractC5117bmw3.f != 0) {
ieS.e(abstractC5117bmw3.f);
}
AbstractC5117bmw.e(this.b);
InterfaceC14937gcb<C16517owV, iRl, C14866gag> interfaceC14937gcb = this.e;
if (interfaceC14937gcb != null) {
interfaceC14937gcb.invoke(c16517owV, this.b.c);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C14957gcv.e(th, "");
super.onError(th);
this.a.invoke(th);
}
public static /* synthetic */ void d(NS ns, InterfaceC9298dhB interfaceC9298dhB) {
C14957gcv.e(ns, "");
interfaceC9298dhB.d(ns);
}
}
@Override // o.ZI
public final void w_() {
C1312aAe c1312aAe = this.e;
if (!c1312aAe.h.isDisposed()) {
c1312aAe.h.dispose();
}
iRl irl = this.c;
if (!irl.h.isDisposed()) {
irl.h.dispose();
}
super.w_();
}
public static final /* synthetic */ void e(AbstractC5117bmw abstractC5117bmw) {
if (abstractC5117bmw.f != 0) {
abstractC5117bmw.f.ar_();
}
}
}