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

492 lines
16 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.Objects;
import o.C0690Mh;
import o.InterfaceC9404djB;
import o.ZI;
/* renamed from: o.bUl, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C4254bUl extends ZI<InterfaceC9404djB.LWm> implements InterfaceC9404djB.Sts {
final mbe a;
private final C17586xy b;
C0951Sd c;
final YpL d;
final bTW e;
@Override // o.InterfaceC9404djB.Sts
public final /* synthetic */ void b(InterfaceC9404djB.LWm lWm) {
super.e((C4254bUl) lWm);
}
@InterfaceC13391fZD
public C4254bUl(C16903sI c16903sI, YpL ypL, C17586xy c17586xy, bTW btw, mbe mbeVar) {
super(c16903sI);
this.d = ypL;
this.b = c17586xy;
this.e = btw;
this.a = mbeVar;
}
@Override // o.InterfaceC9404djB.Sts
public final void h() {
ZI.IeS ieS = new ZI.IeS() { // from class: o.bUC
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9404djB.LWm) obj).n();
}
};
if (this.f != 0) {
ieS.e(this.f);
}
final YpL ypL = this.d;
AbstractC13163fSk<rzT> doOnNext = ypL.e.e().doOnNext(new fSQ(ypL) { // from class: o.vUS
private YpL a;
@Override // o.fSQ
public final void c(Object obj) {
this.a.a = null;
}
{
this.a = ypL;
}
});
final C17586xy c17586xy = this.b;
Objects.requireNonNull(c17586xy);
this.d.d(doOnNext.map(new fSS(c17586xy) { // from class: o.bUj
private C17586xy b;
@Override // o.fSS
public final Object a(Object obj) {
return this.b.d((rzT) obj);
}
{
this.b = c17586xy;
}
}), new fSQ(this) { // from class: o.bUx
private C4254bUl e;
@Override // o.fSQ
public final void c(Object obj) {
char c;
C8064dAG d;
YIo yIo;
YIo yIo2;
C4254bUl c4254bUl = this.e;
C0951Sd c0951Sd = (C0951Sd) obj;
String str = c0951Sd.e;
str.hashCode();
int hashCode = str.hashCode();
if (hashCode == -1953657741) {
if (str.equals("LINKWALLET")) {
c = 0;
}
c = 65535;
} else if (hashCode != -605208505) {
if (hashCode == 665830903 && str.equals("LANDING")) {
c = 2;
}
c = 65535;
} else {
if (str.equals("ONBOARD")) {
c = 1;
}
c = 65535;
}
if (c == 0) {
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.bUz
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9404djB.LWm) obj2).e();
}
};
if (c4254bUl.f != 0) {
ieS2.e(c4254bUl.f);
return;
}
return;
}
if (c == 1) {
ZI.IeS ieS3 = new ZI.IeS() { // from class: o.bUA
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9404djB.LWm) obj2).d();
}
};
if (c4254bUl.f != 0) {
ieS3.e(c4254bUl.f);
return;
}
return;
}
if (c != 2) {
bUG bug = new bUG();
if (c4254bUl.f != 0) {
bug.e(c4254bUl.f);
return;
}
return;
}
if (c4254bUl.d.e.d().h == 0) {
ZI.IeS ieS4 = new ZI.IeS() { // from class: o.bUB
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9404djB.LWm) obj2).a();
}
};
if (c4254bUl.f != 0) {
ieS4.e(c4254bUl.f);
return;
}
return;
}
bUG bug2 = new bUG();
if (c4254bUl.f != 0) {
bug2.e(c4254bUl.f);
}
ZI.IeS ieS5 = new ZI.IeS() { // from class: o.bUM
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9404djB.LWm) obj2).l();
}
};
if (c4254bUl.f != 0) {
ieS5.e(c4254bUl.f);
}
if (c0951Sd != null) {
c4254bUl.c = c0951Sd;
if (c0951Sd.d != null) {
C8064dAG d2 = c4254bUl.a.d();
boolean z = ((d2 == null || (yIo2 = d2.r) == null) ? false : yIo2.B) && c0951Sd.a != null && c0951Sd.a.e != null && c0951Sd.a.e.booleanValue();
for (int i = 0; i < c0951Sd.d.size(); i++) {
c0951Sd.d.get(i).c = Boolean.valueOf(z);
}
}
ZI.IeS ieS6 = new ZI.IeS(c4254bUl) { // from class: o.bUO
private C4254bUl a;
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9404djB.LWm) obj2).b(this.a.c.d);
}
{
this.a = c4254bUl;
}
};
if (c4254bUl.f != 0) {
ieS6.e(c4254bUl.f);
}
}
C0951Sd c0951Sd2 = c4254bUl.c;
if (c0951Sd2 != null && c0951Sd2.a != null && (d = c4254bUl.a.d()) != null && (yIo = d.r) != null && yIo.B && (c0951Sd2.a.e == null || !c0951Sd2.a.e.booleanValue())) {
ZI.IeS ieS7 = new ZI.IeS() { // from class: o.bUR
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9404djB.LWm) obj2).m();
}
};
if (c4254bUl.f != 0) {
ieS7.e(c4254bUl.f);
}
if (c4254bUl.c.a != null) {
ZI.IeS ieS8 = new ZI.IeS(c4254bUl) { // from class: o.bUr
private C4254bUl a;
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9404djB.LWm) obj2).d(this.a.c.a.c);
}
{
this.a = c4254bUl;
}
};
if (c4254bUl.f != 0) {
ieS8.e(c4254bUl.f);
}
}
} else {
C4257bUo c4257bUo = new C4257bUo();
if (c4254bUl.f != 0) {
c4257bUo.e(c4254bUl.f);
}
}
if (!c4254bUl.e.d().isEmpty()) {
ZI.IeS ieS9 = new ZI.IeS() { // from class: o.bUq
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9404djB.LWm) obj2).j();
}
};
if (c4254bUl.f != 0) {
ieS9.e(c4254bUl.f);
}
}
}
{
this.e = this;
}
}, new fSQ(this) { // from class: o.bUL
private C4254bUl b;
@Override // o.fSQ
public final void c(Object obj) {
C4254bUl c4254bUl = this.b;
Throwable th = (Throwable) obj;
bUG bug = new bUG();
if (c4254bUl.f != 0) {
bug.e(c4254bUl.f);
}
C4257bUo c4257bUo = new C4257bUo();
if (c4254bUl.f != 0) {
c4257bUo.e(c4254bUl.f);
}
C0690Mh.IeS ieS2 = C0690Mh.IeS.NAVIGATE_BACK;
if (c4254bUl.b(th)) {
c4254bUl.d(c4254bUl.j.d(th, ieS2));
}
}
{
this.b = this;
}
});
}
@Override // o.InterfaceC9404djB.Sts
public final void i() {
ZI.IeS ieS = new ZI.IeS() { // from class: o.bUi
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9404djB.LWm) obj).o();
}
};
if (this.f != 0) {
ieS.e(this.f);
}
}
@Override // o.InterfaceC9404djB.Sts
public final void g() {
ZI.IeS ieS = new ZI.IeS() { // from class: o.bUK
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9404djB.LWm) obj).g();
}
};
if (this.f != 0) {
ieS.e(this.f);
}
}
@Override // o.InterfaceC9404djB.Sts
public final void d(C0968So c0968So) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.bUD
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9404djB.LWm) obj).y();
}
};
if (this.f != 0) {
ieS.e(this.f);
}
C5756bz c5756bz = new C5756bz(c0968So.d, null, null);
YpL ypL = this.d;
ypL.d(ypL.e.c(c5756bz), new fSQ(this) { // from class: o.bUH
private C4254bUl a;
@Override // o.fSQ
public final void c(Object obj) {
final C4254bUl c4254bUl = this.a;
final C0646LgD c0646LgD = (C0646LgD) obj;
ZI.IeS ieS2 = new ZI.IeS(c4254bUl, c0646LgD) { // from class: o.bUw
private C0646LgD a;
private C4254bUl d;
@Override // o.ZI.IeS
public final void e(Object obj2) {
InterfaceC9404djB.LWm lWm = (InterfaceC9404djB.LWm) obj2;
this.d.d.c = this.a;
lWm.ar_();
lWm.i();
}
{
this.d = c4254bUl;
this.a = c0646LgD;
}
};
if (c4254bUl.f != 0) {
ieS2.e(c4254bUl.f);
}
}
{
this.a = this;
}
}, new fSQ(this) { // from class: o.bUE
private C4254bUl e;
@Override // o.fSQ
public final void c(Object obj) {
C4254bUl c4254bUl = this.e;
Throwable th = (Throwable) obj;
if (c4254bUl.b(th)) {
c4254bUl.d(c4254bUl.j.e(th));
}
}
{
this.e = this;
}
});
}
@Override // o.InterfaceC9404djB.Sts
public final void c() {
YpL ypL = this.d;
ypL.d(ypL.d.B(), new fSQ(this) { // from class: o.bUn
private C4254bUl a;
@Override // o.fSQ
public final void c(Object obj) {
C4254bUl c4254bUl = this.a;
C4258bUp c4258bUp = new C4258bUp();
if (c4254bUl.f != 0) {
c4258bUp.e(c4254bUl.f);
}
}
{
this.a = this;
}
}, new fSQ(this) { // from class: o.bUu
private C4254bUl b;
@Override // o.fSQ
public final void c(Object obj) {
C4254bUl c4254bUl = this.b;
C4258bUp c4258bUp = new C4258bUp();
if (c4254bUl.f != 0) {
c4258bUp.e(c4254bUl.f);
}
}
{
this.b = this;
}
});
}
@Override // o.InterfaceC9404djB.Sts
public final void b() {
b(this.c != null, new ZI.IeS(this) { // from class: o.bUI
private C4254bUl c;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9404djB.LWm) obj).b(this.c.c.c);
}
{
this.c = this;
}
});
}
@Override // o.InterfaceC9404djB.Sts
public final void j() {
b(this.c != null, new ZI.IeS(this) { // from class: o.bUJ
private C4254bUl a;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9404djB.LWm) obj).a(this.a.c.b);
}
{
this.a = this;
}
});
}
@Override // o.InterfaceC9404djB.Sts
public final void d() {
C0951Sd c0951Sd = this.c;
if (c0951Sd == null || c0951Sd.a == null || this.c.a.d == null) {
return;
}
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.bUt
private C4254bUl e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C4254bUl c4254bUl = this.e;
((InterfaceC9404djB.LWm) obj).c(c4254bUl.c.a.d.a, c4254bUl.c.a.d.d);
}
{
this.e = this;
}
};
if (this.f != 0) {
ieS.e(this.f);
}
}
@Override // o.InterfaceC9404djB.Sts
public final void a() {
C0951Sd c0951Sd = this.c;
if (c0951Sd != null) {
b((c0951Sd.a == null || this.c.a.a.trim().equals("")) ? false : true, new ZI.IeS(this) { // from class: o.bUs
private C4254bUl e;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9404djB.LWm) obj).e(this.e.c.a.a);
}
{
this.e = this;
}
});
}
}
@Override // o.InterfaceC9404djB.Sts
public final void f() {
C0951Sd c0951Sd = this.c;
if (c0951Sd == null || c0951Sd.a == null) {
return;
}
if (this.c.a.e == null) {
b(!this.c.a.a.trim().equals(""), new ZI.IeS(this) { // from class: o.bUv
private C4254bUl b;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9404djB.LWm) obj).e(this.b.c.a.a);
}
{
this.b = this;
}
});
} else if (Boolean.FALSE.equals(this.c.a.e)) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.bUy
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9404djB.LWm) obj).b();
}
};
if (this.f != 0) {
ieS.e(this.f);
}
}
}
}