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

234 lines
7.4 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.text.TextUtils;
import java.util.ArrayList;
import o.C1168Xb;
import o.C15715hv;
import o.C4080bPc;
import o.ZI;
import o.wRi;
/* renamed from: o.bPc, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C4080bPc extends ZI<InterfaceC6652cZH> {
public String a;
public String b;
public double c;
public String d;
public String e;
public C0385Fj g;
public boolean h;
public String i;
private C1189Xo k;
public final C1121Wam m;
private final yGw n;
/* renamed from: o, reason: collision with root package name */
private final C17388wO f8549o;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C4080bPc(C16903sI c16903sI, yGw ygw, C1121Wam c1121Wam, C17388wO c17388wO) {
super(c16903sI);
C14957gcv.e(ygw, "");
C14957gcv.e(c1121Wam, "");
C14957gcv.e(c17388wO, "");
this.n = ygw;
this.m = c1121Wam;
this.f8549o = c17388wO;
}
/* renamed from: o.bPc$Sts */
/* loaded from: classes4.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
/* renamed from: o.bPc$LWm */
/* loaded from: classes4.dex */
public final class LWm extends wRi.LWm<wsN> {
private final String a;
private final String b;
private final String c;
private final String d;
private final String e;
private C4080bPc f;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
final wsN wsn = (wsN) obj;
C14957gcv.e(wsn, "");
final C4080bPc c4080bPc = this.f;
ZI.IeS ieS = new ZI.IeS(c4080bPc, wsn, this) { // from class: o.bPo
private wsN c;
private C4080bPc d;
private C4080bPc.LWm e;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C4080bPc.LWm.d(this.d, this.c, this.e, (InterfaceC6652cZH) obj2);
}
{
this.d = c4080bPc;
this.c = wsn;
this.e = this;
}
};
if (c4080bPc.f != 0) {
ieS.e(c4080bPc.f);
}
}
public LWm(C4080bPc c4080bPc, String str, String str2, String str3, String str4, String str5) {
this.f = c4080bPc;
this.c = str;
this.d = str2;
this.a = str3;
this.b = str4;
this.e = str5;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C14957gcv.e(th, "");
C4080bPc.b(this.f, th);
this.f.h = false;
}
public static /* synthetic */ void d(C4080bPc c4080bPc, wsN wsn, LWm lWm, InterfaceC6652cZH interfaceC6652cZH) {
C14957gcv.e(c4080bPc, "");
C14957gcv.e(wsn, "");
C14957gcv.e(lWm, "");
interfaceC6652cZH.ar_();
final C17388wO c17388wO = c4080bPc.f8549o;
String str = lWm.c;
boolean T = c4080bPc.n.b.T();
String str2 = lWm.d;
EKc L = c4080bPc.m.a.L();
String str3 = lWm.a;
String str4 = lWm.b;
String str5 = lWm.e;
C1189Xo h = C1189Xo.h();
h.ax = c17388wO.e(C15715hv.tOB.review_loan);
C1189Xo e = h.d(wsn.f).e("LOANPAYMENT");
e.Q = C6583cXR.VR_(C15715hv.IeS.bankicon_scb);
C1189Xo b = e.b(C17388wO.b(L));
b.S = str2;
C1189Xo a = b.a((String) C16157lj.c(new Object[]{str2, Boolean.valueOf(T)}, 1230925834, -1230925834, (int) System.currentTimeMillis()));
a.y = str4;
a.t = str3;
a.s = (String) C16157lj.c(new Object[]{str3, Boolean.valueOf(T)}, 1230925834, -1230925834, (int) System.currentTimeMillis());
a.x = TextUtils.isEmpty(str5) ? "" : str5;
a.aH = str;
final ArrayList arrayList = new ArrayList();
new YKU(wsn.a).d(new qsu(c17388wO, arrayList) { // from class: o.wP
private C17388wO a;
private ArrayList d;
@Override // o.qsu
public final void d(Object obj) {
C17388wO.b(this.d, (RnN) obj);
}
{
this.a = c17388wO;
this.d = arrayList;
}
});
C1168Xb.LWm lWm2 = new C1168Xb.LWm();
lWm2.a = arrayList;
lWm2.b = C17388wO.c(C6583cXR.c(wsn.c));
a.j = new C1168Xb(lWm2, (byte) 0);
a.ao = wsn.d;
c4080bPc.k = a;
if (!wsn.b) {
interfaceC6652cZH.d(c4080bPc.k);
} else {
interfaceC6652cZH.d();
}
c4080bPc.h = false;
}
}
public static /* synthetic */ void a(C4080bPc c4080bPc, InterfaceC6652cZH interfaceC6652cZH) {
C14957gcv.e(c4080bPc, "");
interfaceC6652cZH.d(c4080bPc.k);
}
public static /* synthetic */ void a(C4080bPc c4080bPc, String str, InterfaceC6652cZH interfaceC6652cZH) {
C14957gcv.e(c4080bPc, "");
interfaceC6652cZH.a_(c(str, c4080bPc.d, c4080bPc.c));
}
public static /* synthetic */ void e(double d, C4080bPc c4080bPc, String str, InterfaceC6652cZH interfaceC6652cZH) {
C14957gcv.e(c4080bPc, "");
interfaceC6652cZH.a(d);
interfaceC6652cZH.a_(c(c4080bPc.b, str, d));
}
public static /* synthetic */ void a(InterfaceC6652cZH interfaceC6652cZH) {
C14957gcv.e(interfaceC6652cZH, "");
interfaceC6652cZH.aN_();
interfaceC6652cZH.y();
}
public static /* synthetic */ void c(C0385Fj c0385Fj, InterfaceC6652cZH interfaceC6652cZH) {
C14957gcv.e(c0385Fj, "");
interfaceC6652cZH.a_(false);
interfaceC6652cZH.c(c0385Fj);
}
public static /* synthetic */ void e(C4080bPc c4080bPc, int i, InterfaceC6652cZH interfaceC6652cZH) {
C14957gcv.e(c4080bPc, "");
C0385Fj c0385Fj = c4080bPc.g;
String str = c0385Fj != null ? c0385Fj.U : null;
String str2 = str != null ? str : "";
if (i == 1) {
String str3 = str2;
if (true ^ (str3 == null || gdZ.d((CharSequence) str3))) {
interfaceC6652cZH.d(str2);
return;
}
}
interfaceC6652cZH.e();
}
public static final /* synthetic */ void b(C4080bPc c4080bPc, Throwable th) {
if (c4080bPc.b(th)) {
c4080bPc.d(c4080bPc.j.e(th));
}
}
private static boolean c(String str, String str2, double d) {
if (str == null) {
return false;
}
String str3 = str;
if (!(!(str3 == null || gdZ.d((CharSequence) str3))) || str2 == null) {
return false;
}
String str4 = str2;
if (!(!(str4 == null || gdZ.d((CharSequence) str4)))) {
return false;
}
Double c = C6583cXR.c(str);
C14957gcv.c(c, "");
if (d < c.doubleValue()) {
return false;
}
Double c2 = C6583cXR.c(str);
C14957gcv.c(c2, "");
return c2.doubleValue() > 0.0d;
}
static {
new Sts((byte) 0);
}
}