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

431 lines
14 KiB
Java

package o;
import java.util.List;
import java.util.NoSuchElementException;
import java.util.Objects;
import o.C0690Mh;
import o.C7509cpf;
import o.InterfaceC8928daB;
import o.PRA;
import o.ZI;
import o.wRi;
/* renamed from: o.cpf, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public class C7509cpf extends ZI<InterfaceC8928daB.IeS> {
private final C0289Dh a;
private final C0337Ej b;
protected final RFa c;
protected List<C1019Twi> d;
protected C1019Twi e;
private final C0290Di g;
private final C17361wD h;
private C1226Yl i;
private List<BOc> k;
/* renamed from: o, reason: collision with root package name */
private final C0334Ei f8659o;
protected int c() {
return 0;
}
@InterfaceC13391fZD
public C7509cpf(C16903sI c16903sI, C0289Dh c0289Dh, C0337Ej c0337Ej, RFa rFa, C0290Di c0290Di, C0334Ei c0334Ei, C17361wD c17361wD) {
super(c16903sI);
this.a = c0289Dh;
this.b = c0337Ej;
this.g = c0290Di;
this.f8659o = c0334Ei;
this.c = rFa;
this.h = c17361wD;
}
public final void d(Uro uro) {
if (uro == Uro.SETUP) {
g();
} else if (uro == Uro.WITHOUT_PRE_REQUISITE) {
C7507cpd c7507cpd = new C7507cpd();
if (this.f != 0) {
c7507cpd.e(this.f);
}
}
}
/* JADX WARN: Multi-variable type inference failed */
public final void a(int i) {
final zEQ d;
this.e = this.d.get(i);
YKU yku = new YKU(this.k);
YKU yku2 = new YKU(yku.a, new GEP(yku.b, new Jel(this) { // from class: o.cpg
private C7509cpf d;
@Override // o.Jel
public final boolean e(Object obj) {
boolean equals;
equals = String.valueOf(((BOc) obj).c).equals(this.d.e.x);
return equals;
}
{
this.d = this;
}
}));
if (yku2.b.hasNext()) {
d = zEQ.a(yku2.b.next());
} else {
d = zEQ.d();
}
if (d.d != 0) {
C0334Ei c0334Ei = this.f8659o;
T t = d.d;
if (t != 0) {
this.i = c0334Ei.a((BOc) t);
XAP xap = XAP.TYPE_DENOMINATION;
T t2 = d.d;
if (t2 == 0) {
throw new NoSuchElementException("No value present");
}
byte b = 0;
if (xap == ((BOc) t2).f) {
T t3 = d.d;
if (t3 != 0) {
String valueOf = String.valueOf(((BOc) t3).c);
if (this.f != 0) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.cph
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC8928daB.IeS) obj).d();
}
};
if (this.f != 0) {
ieS.e(this.f);
}
this.c.d(valueOf);
RFa rFa = this.c;
rFa.d(rFa.i, new RVV(this, b));
}
} else {
throw new NoSuchElementException("No value present");
}
} else {
T t4 = d.d;
if (t4 != 0) {
String valueOf2 = String.valueOf(((BOc) t4).c);
if (this.f != 0) {
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.cph
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC8928daB.IeS) obj).d();
}
};
if (this.f != 0) {
ieS2.e(this.f);
}
this.c.a(valueOf2);
RFa rFa2 = this.c;
rFa2.d(rFa2.i, new IeS(this, b));
}
} else {
throw new NoSuchElementException("No value present");
}
}
ZI.IeS ieS3 = new ZI.IeS(this, d) { // from class: o.cpl
private C7509cpf b;
private zEQ c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C7509cpf.b(this.b, this.c, (InterfaceC8928daB.IeS) obj);
}
{
this.b = this;
this.c = d;
}
};
if (this.f != 0) {
ieS3.e(this.f);
return;
}
return;
}
throw new NoSuchElementException("No value present");
}
ZI.IeS ieS4 = new ZI.IeS() { // from class: o.cpk
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC8928daB.IeS) obj).a();
}
};
if (this.f != 0) {
ieS4.e(this.f);
}
}
public final void a() {
C1189Xo d = C0290Di.d(this.i, this.c.c.L());
d.z = this.e.u;
d.B = String.valueOf(this.e.q);
final C1189Xo e = d.e("QTOPUPSETUP");
ZI.IeS ieS = new ZI.IeS(this, e) { // from class: o.cpi
private C7509cpf d;
private C1189Xo e;
@Override // o.ZI.IeS
public final void e(Object obj) {
InterfaceC8928daB.IeS ieS2 = (InterfaceC8928daB.IeS) obj;
ieS2.e(this.e, this.d.c.c.T());
}
{
this.d = this;
this.e = e;
}
};
if (this.f != 0) {
ieS.e(this.f);
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.cpf$LWm */
/* loaded from: classes4.dex */
public class LWm extends wRi.LWm<List<C1019Twi>> {
private C7509cpf d;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
}
private LWm(C7509cpf c7509cpf) {
this.d = c7509cpf;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
List<C1019Twi> list = (List) obj;
if (this.d.f != 0) {
this.d.d = list;
C0289Dh unused = this.d.a;
C0289Dh c0289Dh = this.d.a;
Objects.requireNonNull(c0289Dh);
final List list2 = (List) new YKU((List) C16157lj.c(new Object[]{list, new C17631yW(c0289Dh)}, -1846295624, 1846295631, (int) System.currentTimeMillis())).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()));
if (list2.isEmpty()) {
C7509cpf.c(this.d);
C7509cpf c7509cpf = this.d;
C7507cpd c7507cpd = new C7507cpd();
if (c7509cpf.f != 0) {
c7507cpd.e(c7509cpf.f);
return;
}
return;
}
this.d.c.c();
RFa rFa = this.d.c;
rFa.d(rFa.i, new Sts(this.d, (byte) 0));
C7509cpf c7509cpf2 = this.d;
ZI.IeS ieS = new ZI.IeS(list2) { // from class: o.cpj
private List c;
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC8928daB.IeS) obj2).e((List<AbstractC1181Xh>) this.c);
}
{
this.c = list2;
}
};
if (c7509cpf2.f != 0) {
ieS.e(c7509cpf2.f);
}
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C7509cpf.a(this.d, th, C0690Mh.IeS.NAVIGATE_BACK);
}
/* synthetic */ LWm(C7509cpf c7509cpf, byte b) {
this(c7509cpf);
}
}
/* renamed from: o.cpf$Sts */
/* loaded from: classes4.dex */
final class Sts extends wRi.LWm<List<BOc>> {
private C7509cpf e;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
}
private Sts(C7509cpf c7509cpf) {
this.e = c7509cpf;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
C7509cpf.d(this.e);
this.e.k = (List) obj;
C7509cpf c7509cpf = this.e;
c7509cpf.a(c7509cpf.c());
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C7509cpf.b(this.e, th, C0690Mh.IeS.NAVIGATE_BACK);
}
/* synthetic */ Sts(C7509cpf c7509cpf, byte b) {
this(c7509cpf);
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.cpf$IeS */
/* loaded from: classes4.dex */
public final class IeS extends wRi.LWm<C16876rxN> {
private C7509cpf a;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
}
private IeS(C7509cpf c7509cpf) {
this.a = c7509cpf;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
final C16876rxN c16876rxN = (C16876rxN) obj;
C7509cpf c7509cpf = this.a;
ZI.IeS ieS = new ZI.IeS(this, c16876rxN) { // from class: o.cpn
private C16876rxN b;
private C7509cpf.IeS d;
@Override // o.ZI.IeS
public final void e(Object obj2) {
InterfaceC8928daB.IeS ieS2 = (InterfaceC8928daB.IeS) obj2;
ieS2.d(this.d.a.b.d(this.b));
}
{
this.d = this;
this.b = c16876rxN;
}
};
if (c7509cpf.f != 0) {
ieS.e(c7509cpf.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C7509cpf.c(this.a, th, C0690Mh.IeS.NAVIGATE_BACK);
}
/* synthetic */ IeS(C7509cpf c7509cpf, byte b) {
this(c7509cpf);
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.cpf$RVV */
/* loaded from: classes4.dex */
public final class RVV extends wRi.LWm<List<Integer>> {
private C7509cpf d;
private RVV(C7509cpf c7509cpf) {
this.d = c7509cpf;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
final List list = (List) obj;
C7509cpf c7509cpf = this.d;
ZI.IeS ieS = new ZI.IeS(list) { // from class: o.cpo
private List d;
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC8928daB.IeS) obj2).a(this.d);
}
{
this.d = list;
}
};
if (c7509cpf.f != 0) {
ieS.e(c7509cpf.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C7509cpf.e(this.d, th, C0690Mh.IeS.NAVIGATE_BACK);
}
/* synthetic */ RVV(C7509cpf c7509cpf, byte b) {
this(c7509cpf);
}
}
/* JADX WARN: Multi-variable type inference failed */
public static /* synthetic */ void b(C7509cpf c7509cpf, zEQ zeq, InterfaceC8928daB.IeS ieS) {
T t = zeq.d;
if (t == 0) {
throw new NoSuchElementException("No value present");
}
ieS.a(((BOc) t).j, c7509cpf.e.C, c7509cpf.e.a);
ieS.e(c7509cpf.h.n(c7509cpf.i.k));
}
static /* synthetic */ void a(C7509cpf c7509cpf, Throwable th, C0690Mh.IeS ieS) {
if (c7509cpf.b(th)) {
c7509cpf.d(c7509cpf.j.d(th, ieS));
}
}
static /* synthetic */ void c(C7509cpf c7509cpf) {
if (c7509cpf.f != 0) {
c7509cpf.f.aq_();
}
}
static /* synthetic */ void b(C7509cpf c7509cpf, Throwable th, C0690Mh.IeS ieS) {
if (c7509cpf.b(th)) {
c7509cpf.d(c7509cpf.j.d(th, ieS));
}
}
static /* synthetic */ void d(C7509cpf c7509cpf) {
if (c7509cpf.f != 0) {
c7509cpf.f.aq_();
}
}
static /* synthetic */ void c(C7509cpf c7509cpf, Throwable th, C0690Mh.IeS ieS) {
if (c7509cpf.b(th)) {
c7509cpf.d(c7509cpf.j.d(th, ieS));
}
}
static /* synthetic */ void e(C7509cpf c7509cpf, Throwable th, C0690Mh.IeS ieS) {
if (c7509cpf.b(th)) {
c7509cpf.d(c7509cpf.j.d(th, ieS));
}
}
public final void g() {
if (this.f != 0) {
this.f.v();
}
this.c.a();
RFa rFa = this.c;
rFa.d(rFa.i, new LWm(this, (byte) 0));
}
}