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

165 lines
4.5 KiB
Java

package o;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import o.ZI;
import o.bEP;
import o.wRi;
/* loaded from: classes4.dex */
public class bEP extends ZI<InterfaceC9368diS> {
public List<PL> a;
public C17337vsA b;
public hoc c;
private FHl d;
public int e;
private C17265vN g;
@InterfaceC13391fZD
public bEP(C16903sI c16903sI, FHl fHl, C17337vsA c17337vsA, hoc hocVar, C17265vN c17265vN) {
super(c16903sI);
this.d = fHl;
this.b = c17337vsA;
this.c = hocVar;
this.g = c17265vN;
}
@Override // o.ZI
public final void w_() {
C17337vsA c17337vsA = this.b;
if (!c17337vsA.h.isDisposed()) {
c17337vsA.h.dispose();
}
hoc hocVar = this.c;
if (!hocVar.h.isDisposed()) {
hocVar.h.dispose();
}
super.w_();
}
/* renamed from: o.bEP$2 */
/* loaded from: classes4.dex */
public class AnonymousClass2 extends wRi.LWm<OCc> {
private bEP b;
public AnonymousClass2(bEP bep) {
this.b = bep;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
OCc oCc = (OCc) obj;
super.onNext(oCc);
bEP.e(this.b);
bEP bep = this.b;
C17265vN unused = bep.g;
boolean z = this.b.d.a.K().m > 0;
C14957gcv.e(oCc, "");
List<siJ> list = oCc.b;
C14957gcv.e(list, "");
ArrayList arrayList = new ArrayList(list instanceof Collection ? list.size() : 10);
for (siJ sij : list) {
C0879Qp c0879Qp = new C0879Qp(sij.d, sij.e);
c0879Qp.j = sij.f;
c0879Qp.c = sij.b;
c0879Qp.d = (String) C16157lj.c(new Object[]{sij.c, Boolean.valueOf(z)}, 1230925834, -1230925834, (int) System.currentTimeMillis());
c0879Qp.a = sij.c;
c0879Qp.b = sij.a;
c0879Qp.h = false;
arrayList.add(c0879Qp);
}
bep.a = arrayList;
bEP bep2 = this.b;
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.bEO
private bEP.AnonymousClass2 d;
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9368diS) obj2).a(this.d.b.a);
}
{
this.d = this;
}
};
if (bep2.f != 0) {
ieS.e(bep2.f);
}
bEP bep3 = this.b;
C3702bEQ c3702bEQ = new C3702bEQ(bep3, 0);
if (bep3.f != 0) {
c3702bEQ.e(bep3.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
super.onError(th);
bEP.b(this.b, th);
}
}
/* renamed from: o.bEP$1 */
/* loaded from: classes4.dex */
public class AnonymousClass1 extends wRi.LWm<Boolean> {
private bEP c;
public AnonymousClass1(bEP bep) {
this.c = bep;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
super.onNext((Boolean) obj);
bEP.b(this.c);
bEP bep = this.c;
ZI.IeS ieS = new ZI.IeS() { // from class: o.bES
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9368diS) obj2).e();
}
};
if (bep.f != 0) {
ieS.e(bep.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
super.onError(th);
bEP.c(this.c, th);
}
}
public static /* synthetic */ void b(bEP bep, int i, InterfaceC9368diS interfaceC9368diS) {
bep.e = i;
interfaceC9368diS.d(i);
interfaceC9368diS.b();
}
static /* synthetic */ void e(bEP bep) {
if (bep.f != 0) {
bep.f.ar_();
}
}
static /* synthetic */ void b(bEP bep, Throwable th) {
if (bep.b(th)) {
bep.d(bep.j.e(th));
}
}
static /* synthetic */ void b(bEP bep) {
if (bep.f != 0) {
bep.f.ar_();
}
}
static /* synthetic */ void c(bEP bep, Throwable th) {
if (bep.b(th)) {
bep.d(bep.j.e(th));
}
}
}