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

153 lines
4.6 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.ArrayList;
import java.util.List;
import o.InterfaceC9010dbe;
import o.ZI;
import o.wRi;
/* renamed from: o.cUu, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public class C6503cUu extends ZI<InterfaceC9010dbe.ZKJ> {
public List<BOc> a;
public final tLY b;
private C1019Twi c;
public final C0334Ei d;
public List<C1226Yl> e;
@InterfaceC13391fZD
public C6503cUu(C0334Ei c0334Ei, tLY tly, C16903sI c16903sI) {
super(c16903sI);
this.d = c0334Ei;
this.b = tly;
this.c = tly.a.n();
}
/* renamed from: o.cUu$HBt */
/* loaded from: classes4.dex */
final class HBt extends wRi.LWm<List<BOc>> {
private C6503cUu a;
private HBt(C6503cUu c6503cUu) {
this.a = c6503cUu;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
List<BOc> list = (List) obj;
this.a.a = list;
if (this.a.f != 0) {
if (this.a.c == null) {
final ArrayList arrayList = new ArrayList();
C6503cUu c6503cUu = this.a;
c6503cUu.e = (List) C16157lj.c(new Object[]{list, new C0338Ek(c6503cUu.d)}, -1846295624, 1846295631, (int) System.currentTimeMillis());
new YKU(this.a.e).d(new qsu(arrayList) { // from class: o.cUA
private ArrayList c;
@Override // o.qsu
public final void d(Object obj2) {
this.c.add((C1226Yl) obj2);
}
{
this.c = arrayList;
}
});
C6503cUu c6503cUu2 = this.a;
ZI.IeS ieS = new ZI.IeS(arrayList) { // from class: o.cUw
private ArrayList a;
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9010dbe.ZKJ) obj2).c(this.a);
}
{
this.a = arrayList;
}
};
if (c6503cUu2.f != 0) {
ieS.e(c6503cUu2.f);
return;
}
return;
}
final C1226Yl c = this.a.d.c(list, this.a.c);
if (c != null) {
C6503cUu c6503cUu3 = this.a;
ZI.IeS ieS2 = new ZI.IeS(c) { // from class: o.cUx
private C1226Yl b;
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9010dbe.ZKJ) obj2).d(this.b);
}
{
this.b = c;
}
};
if (c6503cUu3.f != 0) {
ieS2.e(c6503cUu3.f);
return;
}
return;
}
C6503cUu c6503cUu4 = this.a;
C6508cUz c6508cUz = new C6508cUz();
if (c6503cUu4.f != 0) {
c6508cUz.e(c6503cUu4.f);
}
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
C6503cUu.c(this.a);
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
if (this.a.f == 0 || this.a.i(th)) {
return;
}
C6503cUu.b(this.a);
C6503cUu c6503cUu = this.a;
ZI.IeS ieS = new ZI.IeS() { // from class: o.cUv
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9010dbe.ZKJ) obj).e();
}
};
if (c6503cUu.f != 0) {
ieS.e(c6503cUu.f);
}
}
/* synthetic */ HBt(C6503cUu c6503cUu, byte b) {
this(c6503cUu);
}
}
static /* synthetic */ void c(C6503cUu c6503cUu) {
if (c6503cUu.f != 0) {
c6503cUu.f.aq_();
}
}
static /* synthetic */ void b(C6503cUu c6503cUu) {
if (c6503cUu.f != 0) {
c6503cUu.f.aq_();
}
}
public final void b() {
if (this.f != 0) {
this.f.v();
}
this.b.c();
tLY tly = this.b;
tly.d(tly.i, new HBt(this, (byte) 0));
}
}