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

115 lines
3.5 KiB
Java

package o;
import o.C0690Mh;
import o.C15715hv;
import o.InterfaceC9246dgB;
import o.ZI;
import o.wRi;
/* renamed from: o.bmb, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractC5096bmb<T extends InterfaceC9246dgB> extends ZI<T> {
public final C17171uWJ a;
final C17112ty b;
final DRg c;
final zWC d;
public String e;
final CQ g;
public OVB i;
public abstract void a();
public abstract void d();
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public AbstractC5096bmb(CQ cq, C17112ty c17112ty, C17171uWJ c17171uWJ, zWC zwc, DRg dRg, C16903sI c16903sI) {
super(c16903sI);
C14957gcv.e(cq, "");
C14957gcv.e(c17112ty, "");
C14957gcv.e(c17171uWJ, "");
C14957gcv.e(zwc, "");
C14957gcv.e(dRg, "");
C14957gcv.e(c16903sI, "");
this.g = cq;
this.b = c17112ty;
this.a = c17171uWJ;
this.d = zwc;
this.c = dRg;
}
/* renamed from: o.bmb$HBt */
/* loaded from: classes4.dex */
public static final class HBt extends wRi.LWm<C16387nrD> {
private AbstractC5096bmb<T> a;
private OVB c;
public HBt(AbstractC5096bmb<T> abstractC5096bmb, OVB ovb) {
this.a = abstractC5096bmb;
this.c = ovb;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
C0371Fd e;
C16387nrD c16387nrD = (C16387nrD) obj;
C14957gcv.e(c16387nrD, "");
super.onNext(c16387nrD);
AbstractC5096bmb<T> abstractC5096bmb = this.a;
e = abstractC5096bmb.g.e(null, c16387nrD, this.c != OVB.SALE_SHEET, false, null, (r18 & 32) != 0 ? false : false, null, null, (r18 & 256) != 0 ? C15715hv.LWm.transparent : 0);
C5103bmi c5103bmi = new C5103bmi(e);
if (abstractC5096bmb.f != 0) {
c5103bmi.e(abstractC5096bmb.f);
}
AbstractC5096bmb<T> abstractC5096bmb2 = this.a;
if (abstractC5096bmb2.f != 0) {
abstractC5096bmb2.f.ar_();
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C14957gcv.e(th, "");
super.onError(th);
AbstractC5096bmb<T> abstractC5096bmb = this.a;
C0690Mh.IeS ieS = C0690Mh.IeS.NAVIGATE_BACK;
if (abstractC5096bmb.b(th)) {
abstractC5096bmb.d(abstractC5096bmb.j.d(th, ieS));
}
}
}
public final void c() {
if (this.d.a.f() == bTI.CONSUMER) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.bme
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9246dgB) obj).b();
}
};
if (this.f != 0) {
ieS.e(this.f);
return;
}
return;
}
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.bmc
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9246dgB) obj).d();
}
};
if (this.f != 0) {
ieS2.e(this.f);
}
}
@Override // o.ZI
public void w_() {
C17171uWJ c17171uWJ = this.a;
if (!c17171uWJ.h.isDisposed()) {
c17171uWJ.h.dispose();
}
super.w_();
}
}