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

253 lines
8.3 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.List;
import o.AbstractC3737bFP;
import o.ZI;
import o.cZG;
import o.wRi;
/* renamed from: o.bFP, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractC3737bFP extends ZI<cZG.tOB> {
C11805emK a;
final C17227ux b;
public final C17809ztu c;
public OH d;
protected abstract List<tAL> b(C11805emK c11805emK);
protected abstract List<OM> c();
protected abstract String d();
public AbstractC3737bFP(C17809ztu c17809ztu, C17227ux c17227ux, C16903sI c16903sI) {
super(c16903sI);
this.c = c17809ztu;
this.b = c17227ux;
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.bFP$LWm */
/* loaded from: classes4.dex */
public final class LWm extends wRi.LWm<C11805emK> {
private AbstractC3737bFP e;
private LWm(AbstractC3737bFP abstractC3737bFP) {
this.e = abstractC3737bFP;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
C11805emK c11805emK = (C11805emK) obj;
this.e.a = c11805emK;
if (this.e.f != 0) {
AbstractC3737bFP abstractC3737bFP = this.e;
abstractC3737bFP.d = abstractC3737bFP.b.b(c11805emK, this.e.c.a.T());
if (this.e.b(c11805emK).isEmpty()) {
AbstractC3737bFP abstractC3737bFP2 = this.e;
bFN bfn = new bFN();
if (abstractC3737bFP2.f != 0) {
bfn.e(abstractC3737bFP2.f);
}
} else {
AbstractC3737bFP abstractC3737bFP3 = this.e;
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.bFT
private AbstractC3737bFP.LWm c;
@Override // o.ZI.IeS
public final void e(Object obj2) {
((cZG.tOB) obj2).b(this.c.e.c());
}
{
this.c = this;
}
};
if (abstractC3737bFP3.f != 0) {
ieS.e(abstractC3737bFP3.f);
}
}
}
AbstractC3737bFP abstractC3737bFP4 = this.e;
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.bFV
@Override // o.ZI.IeS
public final void e(Object obj2) {
((cZG.tOB) obj2).e();
}
};
if (abstractC3737bFP4.f != 0) {
ieS2.e(abstractC3737bFP4.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
AbstractC3737bFP abstractC3737bFP = this.e;
if (abstractC3737bFP.f != 0) {
abstractC3737bFP.f.aq_();
}
AbstractC3737bFP abstractC3737bFP2 = this.e;
ZI.IeS ieS = new ZI.IeS() { // from class: o.bFU
@Override // o.ZI.IeS
public final void e(Object obj) {
((cZG.tOB) obj).c();
}
};
if (abstractC3737bFP2.f != 0) {
ieS.e(abstractC3737bFP2.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(final Throwable th) {
AbstractC3737bFP abstractC3737bFP = this.e;
if (abstractC3737bFP.f != 0) {
abstractC3737bFP.f.aq_();
}
if (this.e.f == 0 || this.e.i(th)) {
return;
}
AbstractC3737bFP abstractC3737bFP2 = this.e;
ZI.IeS ieS = new ZI.IeS(this, th) { // from class: o.bFW
private Throwable b;
private AbstractC3737bFP.LWm e;
@Override // o.ZI.IeS
public final void e(Object obj) {
cZG.tOB tob = (cZG.tOB) obj;
tob.a(this.e.e.j.e(this.b).c);
}
{
this.e = this;
this.b = th;
}
};
if (abstractC3737bFP2.f != 0) {
ieS.e(abstractC3737bFP2.f);
}
AbstractC3737bFP abstractC3737bFP3 = this.e;
abstractC3737bFP3.d = abstractC3737bFP3.b.b(this.e.a, this.e.c.a.T());
AbstractC3737bFP abstractC3737bFP4 = this.e;
if (abstractC3737bFP4.b(abstractC3737bFP4.a).isEmpty()) {
AbstractC3737bFP abstractC3737bFP5 = this.e;
bFN bfn = new bFN();
if (abstractC3737bFP5.f != 0) {
bfn.e(abstractC3737bFP5.f);
return;
}
return;
}
AbstractC3737bFP abstractC3737bFP6 = this.e;
ZI.IeS ieS2 = new ZI.IeS(this) { // from class: o.bFX
private AbstractC3737bFP.LWm b;
@Override // o.ZI.IeS
public final void e(Object obj) {
((cZG.tOB) obj).b(this.b.e.c());
}
{
this.b = this;
}
};
if (abstractC3737bFP6.f != 0) {
ieS2.e(abstractC3737bFP6.f);
}
}
/* synthetic */ LWm(AbstractC3737bFP abstractC3737bFP, byte b) {
this(abstractC3737bFP);
}
}
/* renamed from: o.bFP$IeS */
/* loaded from: classes4.dex */
public final class IeS extends wRi.LWm<C11805emK> {
private AbstractC3737bFP d;
private IeS(AbstractC3737bFP abstractC3737bFP) {
this.d = abstractC3737bFP;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
C11805emK c11805emK = (C11805emK) obj;
this.d.a = c11805emK;
if (this.d.f != 0) {
AbstractC3737bFP abstractC3737bFP = this.d;
abstractC3737bFP.d = abstractC3737bFP.b.b(c11805emK, this.d.c.a.T());
if (this.d.b(c11805emK).isEmpty()) {
AbstractC3737bFP abstractC3737bFP2 = this.d;
bFN bfn = new bFN();
if (abstractC3737bFP2.f != 0) {
bfn.e(abstractC3737bFP2.f);
return;
}
return;
}
AbstractC3737bFP abstractC3737bFP3 = this.d;
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.bFS
private AbstractC3737bFP.IeS c;
@Override // o.ZI.IeS
public final void e(Object obj2) {
((cZG.tOB) obj2).b(this.c.d.c());
}
{
this.c = this;
}
};
if (abstractC3737bFP3.f != 0) {
ieS.e(abstractC3737bFP3.f);
}
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
AbstractC3737bFP abstractC3737bFP = this.d;
if (abstractC3737bFP.f != 0) {
abstractC3737bFP.f.aq_();
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
AbstractC3737bFP abstractC3737bFP = this.d;
if (abstractC3737bFP.f != 0) {
abstractC3737bFP.f.aq_();
}
if (this.d.f == 0 || this.d.i(th)) {
return;
}
AbstractC3737bFP abstractC3737bFP2 = this.d;
bFN bfn = new bFN();
if (abstractC3737bFP2.f != 0) {
bfn.e(abstractC3737bFP2.f);
}
}
public /* synthetic */ IeS(AbstractC3737bFP abstractC3737bFP, byte b) {
this(abstractC3737bFP);
}
}
public final void a(int i) {
if (this.f != 0) {
this.f.v();
}
OM om = c().get(i);
C17809ztu c17809ztu = this.c;
C2409ae e = C2409ae.e();
e.c = om.i;
e.a = om.l;
e.e = om.s;
e.d = om.d;
c17809ztu.a(e, d());
C17809ztu c17809ztu2 = this.c;
c17809ztu2.d(c17809ztu2.i, new LWm(this, (byte) 0));
}
}