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

132 lines
3.6 KiB
Java

package o;
import o.ZI;
import o.bHJ;
import o.wRi;
/* loaded from: classes4.dex */
public class bHJ extends ZI<InterfaceC9357diH> {
private final C17267vO a;
public final C14250fpf b;
public C8712dTi c;
public final C0229Bvx e;
@InterfaceC13391fZD
public bHJ(C14250fpf c14250fpf, C0229Bvx c0229Bvx, C17267vO c17267vO, C16903sI c16903sI) {
super(c16903sI);
this.b = c14250fpf;
this.e = c0229Bvx;
this.a = c17267vO;
}
/* renamed from: o.bHJ$1, reason: invalid class name */
/* loaded from: classes4.dex */
public class AnonymousClass1 extends wRi.LWm<C8712dTi> {
private bHJ c;
public AnonymousClass1(bHJ bhj) {
this.c = bhj;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
final C8712dTi c8712dTi = (C8712dTi) obj;
bHJ.e(this.c);
this.c.c = c8712dTi;
bHJ bhj = this.c;
ZI.IeS ieS = new ZI.IeS(this, c8712dTi) { // from class: o.bHM
private C8712dTi b;
private bHJ.AnonymousClass1 c;
@Override // o.ZI.IeS
public final void e(Object obj2) {
bHJ.AnonymousClass1.a(this.c, this.b, (InterfaceC9357diH) obj2);
}
{
this.c = this;
this.b = c8712dTi;
}
};
if (bhj.f != 0) {
ieS.e(bhj.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
if (this.c.i(th)) {
return;
}
bHJ.b(this.c, th, new Runnable(this) { // from class: o.bHK
private bHJ.AnonymousClass1 a;
@Override // java.lang.Runnable
public final void run() {
bHJ.AnonymousClass1.b(this.a);
}
{
this.a = this;
}
});
}
public static /* synthetic */ void a(AnonymousClass1 anonymousClass1, C8712dTi c8712dTi, InterfaceC9357diH interfaceC9357diH) {
C17267vO unused = anonymousClass1.c.a;
interfaceC9357diH.c(C17267vO.b(c8712dTi));
}
public static /* synthetic */ void b(AnonymousClass1 anonymousClass1) {
bHJ bhj = anonymousClass1.c;
ZI.IeS ieS = new ZI.IeS() { // from class: o.bHR
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9357diH) obj).e();
}
};
if (bhj.f != 0) {
ieS.e(bhj.f);
}
}
}
@Override // o.ZI
public final void w_() {
super.w_();
C14250fpf c14250fpf = this.b;
if (!c14250fpf.h.isDisposed()) {
c14250fpf.h.dispose();
}
C0229Bvx c0229Bvx = this.e;
if (c0229Bvx.h.isDisposed()) {
return;
}
c0229Bvx.h.dispose();
}
static /* synthetic */ void e(bHJ bhj) {
if (bhj.f != 0) {
bhj.f.ar_();
}
}
static /* synthetic */ void b(bHJ bhj, Throwable th, Runnable runnable) {
if (bhj.b(th)) {
bhj.d(bhj.j.c(th, runnable));
}
}
static /* synthetic */ void b(bHJ bhj) {
if (bhj.f != 0) {
bhj.f.ar_();
}
}
static /* synthetic */ void d(bHJ bhj, Throwable th) {
if (bhj.b(th)) {
bhj.d(bhj.j.e(th));
}
}
}