1545 lines
49 KiB
Java
1545 lines
49 KiB
Java
package o;
|
|
|
|
import android.content.res.Resources;
|
|
import android.util.Base64;
|
|
import java.math.BigDecimal;
|
|
import java.math.RoundingMode;
|
|
import java.nio.charset.StandardCharsets;
|
|
import java.util.ArrayList;
|
|
import java.util.Arrays;
|
|
import java.util.List;
|
|
import o.C15715hv;
|
|
import o.ZI;
|
|
import o.wRi;
|
|
|
|
/* renamed from: o.clZ */
|
|
/* loaded from: classes4.dex */
|
|
public final class C7293clZ extends ZI<InterfaceC9536dlb> {
|
|
private static int Y = 1;
|
|
private static int aa;
|
|
private static byte ab;
|
|
private String A;
|
|
private String B;
|
|
private double C;
|
|
public String D;
|
|
private C0367Fb E;
|
|
private String F;
|
|
private final CY G;
|
|
private final C17431wiQ H;
|
|
private WW I;
|
|
private boolean J;
|
|
private final uCX K;
|
|
private final C16184ly L;
|
|
private boolean M;
|
|
private String N;
|
|
private double O;
|
|
private double P;
|
|
private int Q;
|
|
private final C17765zb R;
|
|
private boolean S;
|
|
private String T;
|
|
private final Xky U;
|
|
private final C3447axi V;
|
|
private double W;
|
|
private int X;
|
|
public double a;
|
|
public String[] b;
|
|
public ArrayList<WW> c;
|
|
public C1203Xy d;
|
|
public C1202Xx e;
|
|
public ArrayList<C0367Fb> g;
|
|
public boolean h;
|
|
public boolean i;
|
|
public String k;
|
|
public boolean l;
|
|
public boolean m;
|
|
public boolean n;
|
|
|
|
/* renamed from: o */
|
|
public boolean f8654o;
|
|
public boolean p;
|
|
public boolean q;
|
|
public boolean r;
|
|
public boolean s;
|
|
public boolean t;
|
|
public TR u;
|
|
public final Resources v;
|
|
public boolean w;
|
|
public boolean x;
|
|
public TS y;
|
|
private String z;
|
|
|
|
private void Z(String str, Object[] objArr) {
|
|
byte[] decode = Base64.decode(str, 0);
|
|
byte[] bArr = new byte[decode.length];
|
|
for (int i = 0; i < decode.length; i++) {
|
|
bArr[i] = (byte) (decode[(decode.length - i) - 1] ^ ab);
|
|
}
|
|
objArr[0] = new String(bArr, StandardCharsets.UTF_8);
|
|
}
|
|
|
|
public static final /* synthetic */ void f(C7293clZ c7293clZ) {
|
|
c7293clZ.M = false;
|
|
C7358cml c7358cml = new C7358cml(c7293clZ);
|
|
if (c7293clZ.f != 0) {
|
|
c7358cml.e(c7293clZ.f);
|
|
}
|
|
}
|
|
|
|
public static final /* synthetic */ void k(C7293clZ c7293clZ) {
|
|
if (c7293clZ.c.isEmpty() || c7293clZ.g.isEmpty()) {
|
|
if (!c7293clZ.g.isEmpty()) {
|
|
ZI.IeS ieS = new ZI.IeS(c7293clZ) { // from class: o.cmk
|
|
private C7293clZ a;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7293clZ.k(this.a, (InterfaceC9536dlb) obj);
|
|
}
|
|
|
|
{
|
|
this.a = c7293clZ;
|
|
}
|
|
};
|
|
if (c7293clZ.f != 0) {
|
|
ieS.e(c7293clZ.f);
|
|
}
|
|
c7293clZ.n();
|
|
} else {
|
|
c7293clZ.n = true;
|
|
c7293clZ.p = true;
|
|
c7293clZ.m();
|
|
}
|
|
c7293clZ.c();
|
|
}
|
|
}
|
|
|
|
public static final /* synthetic */ void m(C7293clZ c7293clZ) {
|
|
if (c7293clZ.f8654o && c7293clZ.l) {
|
|
c7293clZ.M = false;
|
|
C7358cml c7358cml = new C7358cml(c7293clZ);
|
|
if (c7293clZ.f != 0) {
|
|
c7358cml.e(c7293clZ.f);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static final /* synthetic */ void o(C7293clZ c7293clZ) {
|
|
if (c7293clZ.g.isEmpty() || c7293clZ.c.isEmpty()) {
|
|
if (!c7293clZ.c.isEmpty()) {
|
|
ZI.IeS ieS = new ZI.IeS(c7293clZ) { // from class: o.cmq
|
|
private C7293clZ b;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7293clZ.a(this.b, (InterfaceC9536dlb) obj);
|
|
}
|
|
|
|
{
|
|
this.b = c7293clZ;
|
|
}
|
|
};
|
|
if (c7293clZ.f != 0) {
|
|
ieS.e(c7293clZ.f);
|
|
}
|
|
c7293clZ.n();
|
|
} else {
|
|
c7293clZ.n = false;
|
|
c7293clZ.t = true;
|
|
c7293clZ.m();
|
|
}
|
|
c7293clZ.d(c7293clZ.b);
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
@InterfaceC13391fZD
|
|
public C7293clZ(Resources resources, Xky xky, uCX ucx, CY cy, C17431wiQ c17431wiQ, C16184ly c16184ly, C3447axi c3447axi, C17765zb c17765zb, C16903sI c16903sI) {
|
|
super(c16903sI);
|
|
C14957gcv.e(resources, "");
|
|
C14957gcv.e(xky, "");
|
|
C14957gcv.e(ucx, "");
|
|
C14957gcv.e(cy, "");
|
|
C14957gcv.e(c17431wiQ, "");
|
|
C14957gcv.e(c16184ly, "");
|
|
C14957gcv.e(c3447axi, "");
|
|
C14957gcv.e(c17765zb, "");
|
|
C14957gcv.e(c16903sI, "");
|
|
this.v = resources;
|
|
this.U = xky;
|
|
this.K = ucx;
|
|
this.G = cy;
|
|
this.H = c17431wiQ;
|
|
this.L = c16184ly;
|
|
this.V = c3447axi;
|
|
this.R = c17765zb;
|
|
this.c = new ArrayList<>();
|
|
this.A = "";
|
|
this.z = "";
|
|
this.B = "";
|
|
this.g = new ArrayList<>();
|
|
this.b = new String[0];
|
|
this.F = "";
|
|
this.N = "";
|
|
this.T = "";
|
|
this.n = true;
|
|
this.k = "";
|
|
}
|
|
|
|
/* renamed from: o.clZ$HBt */
|
|
/* loaded from: classes4.dex */
|
|
public static final class HBt {
|
|
private HBt() {
|
|
}
|
|
|
|
public /* synthetic */ HBt(byte b) {
|
|
this();
|
|
}
|
|
}
|
|
|
|
private final String h() {
|
|
if (this.q) {
|
|
String string = this.v.getString(C15715hv.tOB.point_x_pay_with_account);
|
|
C14957gcv.c((Object) string, "");
|
|
return string;
|
|
}
|
|
String string2 = this.v.getString(C15715hv.tOB.point_x_pay_with_account_card);
|
|
C14957gcv.c((Object) string2, "");
|
|
return string2;
|
|
}
|
|
|
|
private final boolean j() {
|
|
return !this.w && (gdZ.a("PCC", this.k, true) || this.x);
|
|
}
|
|
|
|
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
|
|
/* JADX WARN: Code restructure failed: missing block: B:10:0x0047, code lost:
|
|
|
|
r4.J = false;
|
|
r4.n = false;
|
|
o();
|
|
d();
|
|
d(r4.b);
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:11:0x0056, code lost:
|
|
|
|
return;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:13:0x0033, code lost:
|
|
|
|
if (r0.equals("PTP") == false) goto L54;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:14:0x005f, code lost:
|
|
|
|
r4.J = true;
|
|
d();
|
|
c();
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:15:0x0067, code lost:
|
|
|
|
return;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:17:0x003c, code lost:
|
|
|
|
if (r0.equals("PPP") == false) goto L54;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:19:0x0045, code lost:
|
|
|
|
if (r0.equals("PCC") != false) goto L48;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:21:0x005d, code lost:
|
|
|
|
if (r0.equals("PBP") != false) goto L52;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:9:0x002a, code lost:
|
|
|
|
if (r0.equals("CCFA") == false) goto L54;
|
|
*/
|
|
/* JADX WARN: Failed to find 'out' block for switch in B:2:0x0008. Please report as an issue. */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
private final void b() {
|
|
/*
|
|
r4 = this;
|
|
java.lang.String r0 = r4.k
|
|
int r1 = r0.hashCode()
|
|
r2 = 1
|
|
r3 = 0
|
|
switch(r1) {
|
|
case 79006: goto L57;
|
|
case 79024: goto L3f;
|
|
case 79440: goto L36;
|
|
case 79564: goto L2d;
|
|
case 2062619: goto L24;
|
|
case 2145539580: goto Lc;
|
|
default: goto Lb;
|
|
}
|
|
Lb:
|
|
goto L68
|
|
Lc:
|
|
java.lang.String r1 = "HYBRID"
|
|
boolean r0 = r0.equals(r1)
|
|
if (r0 == 0) goto L68
|
|
r4.J = r2
|
|
r4.n = r3
|
|
r4.o()
|
|
r4.d()
|
|
java.lang.String[] r0 = r4.b
|
|
r4.d(r0)
|
|
return
|
|
L24:
|
|
java.lang.String r1 = "CCFA"
|
|
boolean r0 = r0.equals(r1)
|
|
if (r0 != 0) goto L47
|
|
goto L68
|
|
L2d:
|
|
java.lang.String r1 = "PTP"
|
|
boolean r0 = r0.equals(r1)
|
|
if (r0 != 0) goto L5f
|
|
goto L68
|
|
L36:
|
|
java.lang.String r1 = "PPP"
|
|
boolean r0 = r0.equals(r1)
|
|
if (r0 != 0) goto L5f
|
|
goto L68
|
|
L3f:
|
|
java.lang.String r1 = "PCC"
|
|
boolean r0 = r0.equals(r1)
|
|
if (r0 == 0) goto L68
|
|
L47:
|
|
r4.J = r3
|
|
r4.n = r3
|
|
r4.o()
|
|
r4.d()
|
|
java.lang.String[] r0 = r4.b
|
|
r4.d(r0)
|
|
return
|
|
L57:
|
|
java.lang.String r1 = "PBP"
|
|
boolean r0 = r0.equals(r1)
|
|
if (r0 == 0) goto L68
|
|
L5f:
|
|
r4.J = r2
|
|
r4.d()
|
|
r4.c()
|
|
return
|
|
L68:
|
|
r4.J = r3
|
|
r4.d()
|
|
r4.c()
|
|
return
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.C7293clZ.b():void");
|
|
}
|
|
|
|
private final String g() {
|
|
String str;
|
|
String f = f();
|
|
if (C14957gcv.b((Object) f, (Object) "skuId")) {
|
|
str = this.D;
|
|
if (str == null) {
|
|
return "";
|
|
}
|
|
} else {
|
|
if (C14957gcv.b((Object) f, (Object) "merchantPAN")) {
|
|
return i();
|
|
}
|
|
C1203Xy c1203Xy = this.d;
|
|
if (c1203Xy == null) {
|
|
C14957gcv.a("");
|
|
c1203Xy = null;
|
|
}
|
|
str = c1203Xy.a;
|
|
C14957gcv.c((Object) str, "");
|
|
}
|
|
return str;
|
|
}
|
|
|
|
private final void d() {
|
|
List<C1030Uc> list;
|
|
String g = g();
|
|
String f = f();
|
|
TR tr = this.u;
|
|
if (tr == null || (list = tr.e) == null) {
|
|
return;
|
|
}
|
|
for (C1030Uc c1030Uc : list) {
|
|
if (C14957gcv.b((Object) c1030Uc.b, (Object) g) && C14957gcv.b((Object) c1030Uc.d, (Object) f)) {
|
|
this.P = Double.parseDouble(c1030Uc.c);
|
|
this.T = c1030Uc.e;
|
|
}
|
|
}
|
|
}
|
|
|
|
private final String f() {
|
|
Boolean q = this.V.b.q();
|
|
C14957gcv.c(q, "");
|
|
if (q.booleanValue()) {
|
|
String str = this.D;
|
|
if (!(str == null || gdZ.d((CharSequence) str))) {
|
|
return "skuId";
|
|
}
|
|
}
|
|
if (!this.n) {
|
|
return "merchantPAN";
|
|
}
|
|
String str2 = this.k;
|
|
int hashCode = str2.hashCode();
|
|
return (hashCode == 2126 ? str2.equals("BP") : hashCode == 79006 ? str2.equals("PBP") : !(hashCode == 2038719571 ? !str2.equals("REPAYMENT") : !(hashCode == 2145539580 && str2.equals("HYBRID")))) ? "billerId" : C13001fNn.DEFAULT_IDENTIFIER;
|
|
}
|
|
|
|
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
|
|
/* JADX WARN: Failed to find 'out' block for switch in B:2:0x0004. Please report as an issue. */
|
|
/* JADX WARN: Removed duplicated region for block: B:11:0x0034 A[RETURN, SYNTHETIC] */
|
|
/* JADX WARN: Removed duplicated region for block: B:18:0x0042 A[ORIG_RETURN, RETURN] */
|
|
/* JADX WARN: Removed duplicated region for block: B:5:0x003f A[RETURN, SYNTHETIC] */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
private static java.lang.String a(java.lang.String r1) {
|
|
/*
|
|
int r0 = r1.hashCode()
|
|
switch(r0) {
|
|
case 2126: goto L37;
|
|
case 2684: goto L2c;
|
|
case 79006: goto L23;
|
|
case 79564: goto L1a;
|
|
case 2038719571: goto L11;
|
|
case 2145539580: goto L8;
|
|
default: goto L7;
|
|
}
|
|
L7:
|
|
goto L42
|
|
L8:
|
|
java.lang.String r0 = "HYBRID"
|
|
boolean r1 = r1.equals(r0)
|
|
if (r1 != 0) goto L3f
|
|
goto L42
|
|
L11:
|
|
java.lang.String r0 = "REPAYMENT"
|
|
boolean r1 = r1.equals(r0)
|
|
if (r1 != 0) goto L3f
|
|
goto L42
|
|
L1a:
|
|
java.lang.String r0 = "PTP"
|
|
boolean r1 = r1.equals(r0)
|
|
if (r1 != 0) goto L34
|
|
goto L42
|
|
L23:
|
|
java.lang.String r0 = "PBP"
|
|
boolean r1 = r1.equals(r0)
|
|
if (r1 == 0) goto L42
|
|
goto L3f
|
|
L2c:
|
|
java.lang.String r0 = "TP"
|
|
boolean r1 = r1.equals(r0)
|
|
if (r1 == 0) goto L42
|
|
L34:
|
|
java.lang.String r1 = "TOPUP"
|
|
goto L44
|
|
L37:
|
|
java.lang.String r0 = "BP"
|
|
boolean r1 = r1.equals(r0)
|
|
if (r1 == 0) goto L42
|
|
L3f:
|
|
java.lang.String r1 = "BILLPAYMENT"
|
|
goto L44
|
|
L42:
|
|
java.lang.String r1 = "TRANSFER"
|
|
L44:
|
|
return r1
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.C7293clZ.a(java.lang.String):java.lang.String");
|
|
}
|
|
|
|
public final void c() {
|
|
if (this.s) {
|
|
return;
|
|
}
|
|
this.s = true;
|
|
this.K.e(a(this.k));
|
|
uCX ucx = this.K;
|
|
ucx.d(ucx.i, new Sts(this));
|
|
}
|
|
|
|
/* renamed from: o.clZ$Sts */
|
|
/* loaded from: classes4.dex */
|
|
public final class Sts extends wRi.LWm<List<? extends C17480xBa>> {
|
|
private C7293clZ b;
|
|
|
|
public Sts(C7293clZ c7293clZ) {
|
|
this.b = c7293clZ;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
List<C17480xBa> list = (List) obj;
|
|
C14957gcv.e(list, "");
|
|
super.onNext(list);
|
|
C7293clZ c7293clZ = this.b;
|
|
List<WW> a = c7293clZ.G.a(list, this.b.U.T(), false);
|
|
C14957gcv.c(a, "");
|
|
List<WW> list2 = a;
|
|
C14957gcv.e(list2, "");
|
|
c7293clZ.c = new ArrayList(list2);
|
|
if (this.b.J) {
|
|
C7293clZ.o(this.b);
|
|
} else {
|
|
C7293clZ.g(this.b);
|
|
}
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
C14957gcv.e(th, "");
|
|
super.onError(th);
|
|
if (this.b.J) {
|
|
this.b.f8654o = true;
|
|
this.b.n = false;
|
|
this.b.n();
|
|
C7293clZ.m(this.b);
|
|
C7293clZ c7293clZ = this.b;
|
|
c7293clZ.d(c7293clZ.b);
|
|
return;
|
|
}
|
|
C7293clZ.f(this.b);
|
|
}
|
|
}
|
|
|
|
public final void n() {
|
|
String d;
|
|
if (j()) {
|
|
if (this.n) {
|
|
d = d(C15715hv.tOB.point_x_partner_payment_bill_payment_remark_message);
|
|
} else {
|
|
d = d(C15715hv.tOB.point_x_partner_payment_credit_card_remark_message);
|
|
}
|
|
ZI.IeS ieS = new ZI.IeS(d) { // from class: o.cmt
|
|
private String b;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7293clZ.b(this.b, (InterfaceC9536dlb) obj);
|
|
}
|
|
|
|
{
|
|
this.b = d;
|
|
}
|
|
};
|
|
if (this.f != 0) {
|
|
ieS.e(this.f);
|
|
}
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:10:0x0057, code lost:
|
|
|
|
if (r8.startsWith(",*,)") != false) goto L21;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:4:0x0035, code lost:
|
|
|
|
if (r8.startsWith(",*,)") != false) goto L21;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:8:0x0059, code lost:
|
|
|
|
r3 = new java.lang.Object[1];
|
|
Z(r8.substring(4), r3);
|
|
r8 = ((java.lang.String) r3[0]).intern();
|
|
*/
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
private final java.lang.String d(int r8) {
|
|
/*
|
|
r7 = this;
|
|
r0 = 2
|
|
int r1 = r0 % r0
|
|
int r1 = o.C7293clZ.Y
|
|
int r1 = r1 + 117
|
|
int r2 = r1 % 128
|
|
o.C7293clZ.aa = r2
|
|
int r1 = r1 % r0
|
|
r2 = 0
|
|
java.lang.String r3 = ",*,)"
|
|
java.lang.String r4 = ""
|
|
if (r1 == 0) goto L38
|
|
o.gcH r1 = o.gcH.d
|
|
android.content.res.Resources r1 = r7.v
|
|
int r5 = o.C15715hv.tOB.merchant_terminal_format
|
|
java.lang.String r1 = r1.getString(r5)
|
|
o.C14957gcv.c(r1, r4)
|
|
android.content.res.Resources r5 = r7.v
|
|
int r6 = o.C15715hv.tOB.point_x_partner_payment_remark
|
|
java.lang.String r5 = r5.getString(r6)
|
|
android.content.res.Resources r6 = r7.v
|
|
java.lang.String r8 = r6.getString(r8)
|
|
boolean r3 = r8.startsWith(r3)
|
|
r6 = 90
|
|
int r6 = r6 / r2
|
|
if (r3 == 0) goto L6c
|
|
goto L59
|
|
L38:
|
|
o.gcH r1 = o.gcH.d
|
|
android.content.res.Resources r1 = r7.v
|
|
int r5 = o.C15715hv.tOB.merchant_terminal_format
|
|
java.lang.String r1 = r1.getString(r5)
|
|
o.C14957gcv.c(r1, r4)
|
|
android.content.res.Resources r5 = r7.v
|
|
int r6 = o.C15715hv.tOB.point_x_partner_payment_remark
|
|
java.lang.String r5 = r5.getString(r6)
|
|
android.content.res.Resources r6 = r7.v
|
|
java.lang.String r8 = r6.getString(r8)
|
|
boolean r3 = r8.startsWith(r3)
|
|
if (r3 == 0) goto L6c
|
|
L59:
|
|
r3 = 4
|
|
java.lang.String r8 = r8.substring(r3)
|
|
r3 = 1
|
|
java.lang.Object[] r3 = new java.lang.Object[r3]
|
|
r7.Z(r8, r3)
|
|
r8 = r3[r2]
|
|
java.lang.String r8 = (java.lang.String) r8
|
|
java.lang.String r8 = r8.intern()
|
|
L6c:
|
|
java.lang.Object[] r8 = new java.lang.Object[]{r5, r8}
|
|
java.lang.Object[] r8 = java.util.Arrays.copyOf(r8, r0)
|
|
java.lang.String r8 = java.lang.String.format(r1, r8)
|
|
o.C14957gcv.c(r8, r4)
|
|
int r1 = o.C7293clZ.aa
|
|
int r1 = r1 + 97
|
|
int r2 = r1 % 128
|
|
o.C7293clZ.Y = r2
|
|
int r1 = r1 % r0
|
|
return r8
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.C7293clZ.d(int):java.lang.String");
|
|
}
|
|
|
|
private final void m() {
|
|
if ((C14957gcv.b((Object) this.k, (Object) "PBP") || C14957gcv.b((Object) this.k, (Object) "PPP") || C14957gcv.b((Object) this.k, (Object) "PTP") || C14957gcv.b((Object) this.k, (Object) "HYBRID")) && this.t && this.p) {
|
|
C7362cmp c7362cmp = new C7362cmp(this);
|
|
if (this.f != 0) {
|
|
c7362cmp.e(this.f);
|
|
}
|
|
}
|
|
}
|
|
|
|
public final void d(String[] strArr) {
|
|
if (this.m) {
|
|
return;
|
|
}
|
|
this.m = true;
|
|
C17431wiQ c17431wiQ = this.H;
|
|
C14957gcv.e(strArr, "");
|
|
List<String> asList = Arrays.asList(strArr);
|
|
C14957gcv.c(asList, "");
|
|
c17431wiQ.e(asList, true);
|
|
C17431wiQ c17431wiQ2 = this.H;
|
|
c17431wiQ2.d(c17431wiQ2.i, new LWm(this));
|
|
}
|
|
|
|
/* renamed from: o.clZ$LWm */
|
|
/* loaded from: classes4.dex */
|
|
public final class LWm extends wRi.LWm<List<? extends Dzn>> {
|
|
private C7293clZ b;
|
|
|
|
public LWm(C7293clZ c7293clZ) {
|
|
this.b = c7293clZ;
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final /* synthetic */ void onNext(Object obj) {
|
|
List list = (List) obj;
|
|
C14957gcv.e(list, "");
|
|
super.onNext(list);
|
|
ArrayList arrayList = new ArrayList();
|
|
for (Object obj2 : list) {
|
|
if (((Dzn) obj2).i) {
|
|
arrayList.add(obj2);
|
|
}
|
|
}
|
|
ArrayList arrayList2 = arrayList;
|
|
if (!arrayList2.isEmpty()) {
|
|
C7293clZ c7293clZ = this.b;
|
|
List<C0367Fb> e = c7293clZ.L.e(arrayList2);
|
|
C14957gcv.e(e, "");
|
|
c7293clZ.g = new ArrayList(e);
|
|
}
|
|
if (this.b.J) {
|
|
C7293clZ.k(this.b);
|
|
} else {
|
|
C7293clZ.j(this.b);
|
|
}
|
|
}
|
|
|
|
@Override // o.wRi.LWm, o.InterfaceC13174fSv
|
|
public final void onError(Throwable th) {
|
|
C14957gcv.e(th, "");
|
|
super.onError(th);
|
|
if (this.b.J) {
|
|
this.b.l = true;
|
|
this.b.n = true;
|
|
this.b.n();
|
|
C7293clZ.m(this.b);
|
|
this.b.c();
|
|
return;
|
|
}
|
|
C7293clZ.f(this.b);
|
|
}
|
|
}
|
|
|
|
public final void c(boolean z, WW ww, C0367Fb c0367Fb, String str, String str2) {
|
|
C14957gcv.e(str, "");
|
|
C14957gcv.e(str2, "");
|
|
if (j() || this.w) {
|
|
this.A = str;
|
|
this.z = str2;
|
|
this.n = z;
|
|
ZI.IeS ieS = new ZI.IeS(z, ww, this, c0367Fb, str, str2) { // from class: o.cmj
|
|
private WW a;
|
|
private C7293clZ b;
|
|
private String c;
|
|
private boolean d;
|
|
private C0367Fb e;
|
|
private String j;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7293clZ.c(this.d, this.a, this.b, this.e, this.c, this.j, (InterfaceC9536dlb) obj);
|
|
}
|
|
|
|
{
|
|
this.d = z;
|
|
this.a = ww;
|
|
this.b = this;
|
|
this.e = c0367Fb;
|
|
this.c = str;
|
|
this.j = str2;
|
|
}
|
|
};
|
|
if (this.f != 0) {
|
|
ieS.e(this.f);
|
|
}
|
|
n();
|
|
d();
|
|
C7359cmm c7359cmm = new C7359cmm(this);
|
|
if (this.f != 0) {
|
|
c7359cmm.e(this.f);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void c(C7293clZ c7293clZ, InterfaceC9536dlb interfaceC9536dlb) {
|
|
String string;
|
|
C14957gcv.e(c7293clZ, "");
|
|
c7293clZ.M = false;
|
|
c7293clZ.S = true;
|
|
if (!c7293clZ.j()) {
|
|
if (c7293clZ.n) {
|
|
string = c7293clZ.v.getString(C15715hv.tOB.error_do_not_have_account);
|
|
C14957gcv.c((Object) string, "");
|
|
} else {
|
|
string = c7293clZ.v.getString(C15715hv.tOB.msg_no_cards);
|
|
C14957gcv.c((Object) string, "");
|
|
}
|
|
} else if (C14957gcv.b((Object) c7293clZ.k, (Object) "BP")) {
|
|
string = c7293clZ.v.getString(C15715hv.tOB.error_do_not_have_deposit_paywise);
|
|
C14957gcv.c((Object) string, "");
|
|
} else {
|
|
string = c7293clZ.v.getString(C15715hv.tOB.error_do_not_have_credit_card);
|
|
C14957gcv.c((Object) string, "");
|
|
}
|
|
interfaceC9536dlb.s_(string);
|
|
C7354cmh c7354cmh = new C7354cmh(c7293clZ, false);
|
|
if (c7293clZ.f != 0) {
|
|
c7354cmh.e(c7293clZ.f);
|
|
}
|
|
if (!c7293clZ.w && C14957gcv.b((Object) c7293clZ.k, (Object) "HYBRID")) {
|
|
interfaceC9536dlb.c("", c7293clZ.e);
|
|
}
|
|
C7364cmr c7364cmr = new C7364cmr(c7293clZ);
|
|
if (c7293clZ.f != 0) {
|
|
c7364cmr.e(c7293clZ.f);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void a(C7293clZ c7293clZ, InterfaceC9536dlb interfaceC9536dlb) {
|
|
C14957gcv.e(c7293clZ, "");
|
|
ArrayList<WW> arrayList = c7293clZ.c;
|
|
C14957gcv.e(arrayList, "");
|
|
C1203Xy c1203Xy = null;
|
|
WW ww = arrayList.isEmpty() ? null : arrayList.get(0);
|
|
c7293clZ.I = ww;
|
|
if (ww != null) {
|
|
C17765zb c17765zb = c7293clZ.R;
|
|
String str = ww.h;
|
|
EKc L = c7293clZ.U.L();
|
|
C14957gcv.c(L, "");
|
|
c7293clZ.A = C17765zb.a(str, L);
|
|
Double d = ww.d;
|
|
C14957gcv.c(d, "");
|
|
c7293clZ.C = d.doubleValue();
|
|
String str2 = ww.t;
|
|
C14957gcv.c((Object) str2, "");
|
|
c7293clZ.z = str2;
|
|
C17765zb c17765zb2 = c7293clZ.R;
|
|
String str3 = ww.s;
|
|
C14957gcv.c((Object) str3, "");
|
|
c7293clZ.B = C17765zb.a(str3, c7293clZ.U.T());
|
|
}
|
|
c7293clZ.n = true;
|
|
C1203Xy c1203Xy2 = c7293clZ.d;
|
|
if (c1203Xy2 == null) {
|
|
C14957gcv.a("");
|
|
} else {
|
|
c1203Xy = c1203Xy2;
|
|
}
|
|
c7293clZ.a = c1203Xy.c;
|
|
c7293clZ.d();
|
|
interfaceC9536dlb.g();
|
|
String str4 = c7293clZ.A;
|
|
String str5 = c7293clZ.B;
|
|
C17765zb c17765zb3 = c7293clZ.R;
|
|
interfaceC9536dlb.c(str4, str5, C17765zb.a(c7293clZ.a), "", null, c7293clZ.n);
|
|
C7359cmm c7359cmm = new C7359cmm(c7293clZ);
|
|
if (c7293clZ.f != 0) {
|
|
c7359cmm.e(c7293clZ.f);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void b(C7293clZ c7293clZ, InterfaceC9536dlb interfaceC9536dlb) {
|
|
C14957gcv.e(c7293clZ, "");
|
|
if (c7293clZ.S) {
|
|
interfaceC9536dlb.m();
|
|
} else {
|
|
interfaceC9536dlb.bl_();
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void d(C7293clZ c7293clZ, InterfaceC9536dlb interfaceC9536dlb) {
|
|
List<C1030Uc> list;
|
|
C14957gcv.e(c7293clZ, "");
|
|
String f = c7293clZ.f();
|
|
String g = c7293clZ.g();
|
|
TR tr = c7293clZ.u;
|
|
if (tr != null && (list = tr.e) != null) {
|
|
boolean z = false;
|
|
for (C1030Uc c1030Uc : list) {
|
|
if (C14957gcv.b((Object) c1030Uc.b, (Object) g) && C14957gcv.b((Object) c1030Uc.d, (Object) f) && gdZ.a("special", c1030Uc.e, true)) {
|
|
z = true;
|
|
}
|
|
}
|
|
if (z) {
|
|
interfaceC9536dlb.c(c7293clZ.P);
|
|
return;
|
|
}
|
|
}
|
|
interfaceC9536dlb.e(c7293clZ.P);
|
|
}
|
|
|
|
public static /* synthetic */ void e(C7293clZ c7293clZ, InterfaceC9536dlb interfaceC9536dlb) {
|
|
C14957gcv.e(c7293clZ, "");
|
|
if (c7293clZ.r) {
|
|
interfaceC9536dlb.h();
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void f(C7293clZ c7293clZ, InterfaceC9536dlb interfaceC9536dlb) {
|
|
C14957gcv.e(c7293clZ, "");
|
|
double d = c7293clZ.O;
|
|
c7293clZ.M = d <= c7293clZ.C;
|
|
interfaceC9536dlb.a(c7293clZ.W, d);
|
|
C7353cmg c7353cmg = new C7353cmg(c7293clZ);
|
|
if (c7293clZ.f != 0) {
|
|
c7353cmg.e(c7293clZ.f);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void i(C7293clZ c7293clZ, InterfaceC9536dlb interfaceC9536dlb) {
|
|
C14957gcv.e(c7293clZ, "");
|
|
if (!c7293clZ.c.isEmpty()) {
|
|
ArrayList<WW> arrayList = c7293clZ.c;
|
|
C14957gcv.e(arrayList, "");
|
|
WW ww = arrayList.isEmpty() ? null : arrayList.get(0);
|
|
c7293clZ.I = ww;
|
|
if (ww != null) {
|
|
C17765zb c17765zb = c7293clZ.R;
|
|
String str = ww.h;
|
|
EKc L = c7293clZ.U.L();
|
|
C14957gcv.c(L, "");
|
|
c7293clZ.A = C17765zb.a(str, L);
|
|
Double d = ww.d;
|
|
C14957gcv.c(d, "");
|
|
c7293clZ.C = d.doubleValue();
|
|
String str2 = ww.t;
|
|
C14957gcv.c((Object) str2, "");
|
|
c7293clZ.z = str2;
|
|
C17765zb c17765zb2 = c7293clZ.R;
|
|
String str3 = ww.s;
|
|
C14957gcv.c((Object) str3, "");
|
|
c7293clZ.B = C17765zb.a(str3, c7293clZ.U.T());
|
|
}
|
|
c7293clZ.M = true;
|
|
interfaceC9536dlb.g();
|
|
String str4 = c7293clZ.A;
|
|
String str5 = c7293clZ.B;
|
|
C17765zb c17765zb3 = c7293clZ.R;
|
|
interfaceC9536dlb.c(str4, str5, C17765zb.a(c7293clZ.a), "", null, c7293clZ.n);
|
|
C7359cmm c7359cmm = new C7359cmm(c7293clZ);
|
|
if (c7293clZ.f != 0) {
|
|
c7359cmm.e(c7293clZ.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
C7362cmp c7362cmp = new C7362cmp(c7293clZ);
|
|
if (c7293clZ.f != 0) {
|
|
c7362cmp.e(c7293clZ.f);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void g(C7293clZ c7293clZ, InterfaceC9536dlb interfaceC9536dlb) {
|
|
C14957gcv.e(c7293clZ, "");
|
|
double d = c7293clZ.C;
|
|
double d2 = c7293clZ.O;
|
|
c7293clZ.M = d >= d2;
|
|
interfaceC9536dlb.d(c7293clZ.W, d2, c7293clZ.X);
|
|
C7353cmg c7353cmg = new C7353cmg(c7293clZ);
|
|
if (c7293clZ.f != 0) {
|
|
c7353cmg.e(c7293clZ.f);
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:22:0x002d, code lost:
|
|
|
|
if (r2 == false) goto L42;
|
|
*/
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
private final java.lang.String i() {
|
|
/*
|
|
r7 = this;
|
|
o.Xx r0 = r7.e
|
|
r1 = 0
|
|
if (r0 == 0) goto L36
|
|
java.util.List<o.XI> r0 = r0.i
|
|
if (r0 == 0) goto L36
|
|
java.lang.Iterable r0 = (java.lang.Iterable) r0
|
|
java.util.Iterator r0 = r0.iterator()
|
|
r2 = 0
|
|
r3 = r1
|
|
L11:
|
|
boolean r4 = r0.hasNext()
|
|
if (r4 == 0) goto L2d
|
|
java.lang.Object r4 = r0.next()
|
|
r5 = r4
|
|
o.XI r5 = (o.XI) r5
|
|
java.lang.String r5 = r5.b
|
|
java.lang.String r6 = r7.F
|
|
boolean r5 = r5.equals(r6)
|
|
if (r5 == 0) goto L11
|
|
if (r2 != 0) goto L2f
|
|
r2 = 1
|
|
r3 = r4
|
|
goto L11
|
|
L2d:
|
|
if (r2 != 0) goto L30
|
|
L2f:
|
|
r3 = r1
|
|
L30:
|
|
o.XI r3 = (o.XI) r3
|
|
if (r3 == 0) goto L36
|
|
java.lang.String r1 = r3.a
|
|
L36:
|
|
if (r1 != 0) goto L3a
|
|
java.lang.String r1 = ""
|
|
L3a:
|
|
return r1
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.C7293clZ.i():java.lang.String");
|
|
}
|
|
|
|
private final void o() {
|
|
List<XI> list;
|
|
C1202Xx c1202Xx = this.e;
|
|
String str = null;
|
|
if (c1202Xx != null && (list = c1202Xx.i) != null) {
|
|
C14957gcv.e(list, "");
|
|
XI xi = list.isEmpty() ? null : list.get(0);
|
|
if (xi != null) {
|
|
str = xi.b;
|
|
}
|
|
}
|
|
this.F = str != null ? str : "";
|
|
}
|
|
|
|
public static /* synthetic */ void h(C7293clZ c7293clZ, InterfaceC9536dlb interfaceC9536dlb) {
|
|
C14957gcv.e(c7293clZ, "");
|
|
if (c7293clZ.w) {
|
|
interfaceC9536dlb.j();
|
|
} else if (c7293clZ.j()) {
|
|
c7293clZ.n = C14957gcv.b((Object) c7293clZ.k, (Object) "BP") || C14957gcv.b((Object) c7293clZ.k, (Object) "REPAYMENT");
|
|
interfaceC9536dlb.j();
|
|
}
|
|
ZI.IeS ieS = new ZI.IeS(c7293clZ) { // from class: o.cmo
|
|
private C7293clZ e;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7293clZ.e(this.e, (InterfaceC9536dlb) obj);
|
|
}
|
|
|
|
{
|
|
this.e = c7293clZ;
|
|
}
|
|
};
|
|
if (c7293clZ.f != 0) {
|
|
ieS.e(c7293clZ.f);
|
|
}
|
|
C7354cmh c7354cmh = new C7354cmh(c7293clZ, false);
|
|
if (c7293clZ.f != 0) {
|
|
c7354cmh.e(c7293clZ.f);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void l(C7293clZ c7293clZ, InterfaceC9536dlb interfaceC9536dlb) {
|
|
C14957gcv.e(c7293clZ, "");
|
|
if (c7293clZ.w) {
|
|
interfaceC9536dlb.g(c7293clZ.h());
|
|
} else if (c7293clZ.j()) {
|
|
interfaceC9536dlb.d(c7293clZ.h());
|
|
} else {
|
|
interfaceC9536dlb.n();
|
|
}
|
|
if (c7293clZ.i) {
|
|
c7293clZ.M = false;
|
|
C7358cml c7358cml = new C7358cml(c7293clZ);
|
|
if (c7293clZ.f != 0) {
|
|
c7358cml.e(c7293clZ.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
if (c7293clZ.w) {
|
|
c7293clZ.b();
|
|
return;
|
|
}
|
|
if (c7293clZ.j()) {
|
|
c7293clZ.b();
|
|
c7293clZ.n();
|
|
return;
|
|
}
|
|
c7293clZ.d();
|
|
C7359cmm c7359cmm = new C7359cmm(c7293clZ);
|
|
if (c7293clZ.f != 0) {
|
|
c7359cmm.e(c7293clZ.f);
|
|
}
|
|
}
|
|
|
|
@Override // o.ZI
|
|
public final void w_() {
|
|
C17431wiQ c17431wiQ = this.H;
|
|
if (!c17431wiQ.h.isDisposed()) {
|
|
c17431wiQ.h.dispose();
|
|
}
|
|
uCX ucx = this.K;
|
|
if (!ucx.h.isDisposed()) {
|
|
ucx.h.dispose();
|
|
}
|
|
super.w_();
|
|
}
|
|
|
|
public static /* synthetic */ void c(C7293clZ c7293clZ, boolean z, InterfaceC9536dlb interfaceC9536dlb) {
|
|
TS ts;
|
|
C14957gcv.e(c7293clZ, "");
|
|
if (c7293clZ.P == 0.0d) {
|
|
c7293clZ.h = false;
|
|
interfaceC9536dlb.r();
|
|
} else {
|
|
ZI.IeS ieS = new ZI.IeS(c7293clZ) { // from class: o.cmn
|
|
private C7293clZ b;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7293clZ.d(this.b, (InterfaceC9536dlb) obj);
|
|
}
|
|
|
|
{
|
|
this.b = c7293clZ;
|
|
}
|
|
};
|
|
if (c7293clZ.f != 0) {
|
|
ieS.e(c7293clZ.f);
|
|
}
|
|
if (z && (ts = c7293clZ.y) != null) {
|
|
ZI.IeS ieS2 = new ZI.IeS(c7293clZ, ts.f) { // from class: o.cms
|
|
private int b;
|
|
private C7293clZ e;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7293clZ.e(this.e, this.b, (InterfaceC9536dlb) obj);
|
|
}
|
|
|
|
{
|
|
this.e = c7293clZ;
|
|
this.b = r2;
|
|
}
|
|
};
|
|
if (c7293clZ.f != 0) {
|
|
ieS2.e(c7293clZ.f);
|
|
}
|
|
}
|
|
}
|
|
C7364cmr c7364cmr = new C7364cmr(c7293clZ);
|
|
if (c7293clZ.f != 0) {
|
|
c7364cmr.e(c7293clZ.f);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void b(int i, C7293clZ c7293clZ, InterfaceC9536dlb interfaceC9536dlb) {
|
|
C14957gcv.e(c7293clZ, "");
|
|
boolean z = false;
|
|
if (i == 0) {
|
|
c7293clZ.M = false;
|
|
interfaceC9536dlb.bk_();
|
|
} else {
|
|
if (i >= 0) {
|
|
TS ts = c7293clZ.y;
|
|
if (gdZ.a("ACTIVE", ts != null ? ts.d : null, true)) {
|
|
c7293clZ.M = true;
|
|
z = true;
|
|
}
|
|
}
|
|
c7293clZ.h = false;
|
|
interfaceC9536dlb.bj_();
|
|
}
|
|
C7354cmh c7354cmh = new C7354cmh(c7293clZ, z);
|
|
if (c7293clZ.f != 0) {
|
|
c7354cmh.e(c7293clZ.f);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void n(C7293clZ c7293clZ, InterfaceC9536dlb interfaceC9536dlb) {
|
|
C14957gcv.e(c7293clZ, "");
|
|
if (!c7293clZ.i) {
|
|
TS ts = c7293clZ.y;
|
|
if (ts != null) {
|
|
ZI.IeS ieS = new ZI.IeS(ts.f, c7293clZ) { // from class: o.cmw
|
|
private int c;
|
|
private C7293clZ e;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7293clZ.b(this.c, this.e, (InterfaceC9536dlb) obj);
|
|
}
|
|
|
|
{
|
|
this.c = r1;
|
|
this.e = c7293clZ;
|
|
}
|
|
};
|
|
if (c7293clZ.f != 0) {
|
|
ieS.e(c7293clZ.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
c7293clZ.M = false;
|
|
interfaceC9536dlb.bi_();
|
|
C7354cmh c7354cmh = new C7354cmh(c7293clZ, false);
|
|
if (c7293clZ.f != 0) {
|
|
c7354cmh.e(c7293clZ.f);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void a(int i, C7293clZ c7293clZ, InterfaceC9536dlb interfaceC9536dlb) {
|
|
C14957gcv.e(c7293clZ, "");
|
|
int i2 = c7293clZ.Q;
|
|
if (i < i2) {
|
|
c7293clZ.h = true;
|
|
c7293clZ.X = i;
|
|
double doubleValue = new BigDecimal(String.valueOf(c7293clZ.X / c7293clZ.P)).setScale(2, RoundingMode.HALF_UP).doubleValue();
|
|
c7293clZ.W = doubleValue;
|
|
c7293clZ.O = c7293clZ.a - doubleValue;
|
|
ZI.IeS ieS = new ZI.IeS(c7293clZ) { // from class: o.cmc
|
|
private C7293clZ d;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7293clZ.g(this.d, (InterfaceC9536dlb) obj);
|
|
}
|
|
|
|
{
|
|
this.d = c7293clZ;
|
|
}
|
|
};
|
|
if (c7293clZ.f != 0) {
|
|
ieS.e(c7293clZ.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
int i3 = i2 - 1;
|
|
if (i3 <= 0) {
|
|
interfaceC9536dlb.o();
|
|
c7293clZ.h = false;
|
|
return;
|
|
}
|
|
c7293clZ.h = true;
|
|
c7293clZ.X = i3;
|
|
double doubleValue2 = new BigDecimal(String.valueOf(c7293clZ.X / c7293clZ.P)).setScale(2, RoundingMode.HALF_UP).doubleValue();
|
|
c7293clZ.W = doubleValue2;
|
|
c7293clZ.O = c7293clZ.a - doubleValue2;
|
|
ZI.IeS ieS2 = new ZI.IeS(c7293clZ) { // from class: o.cmc
|
|
private C7293clZ d;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7293clZ.g(this.d, (InterfaceC9536dlb) obj);
|
|
}
|
|
|
|
{
|
|
this.d = c7293clZ;
|
|
}
|
|
};
|
|
if (c7293clZ.f != 0) {
|
|
ieS2.e(c7293clZ.f);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void d(C7293clZ c7293clZ, int i, InterfaceC9536dlb interfaceC9536dlb) {
|
|
C14957gcv.e(c7293clZ, "");
|
|
TS ts = c7293clZ.y;
|
|
if (ts != null) {
|
|
int i2 = ts.f;
|
|
c7293clZ.X = i;
|
|
double doubleValue = new BigDecimal(String.valueOf(c7293clZ.X / c7293clZ.P)).setScale(2, RoundingMode.HALF_UP).doubleValue();
|
|
c7293clZ.W = doubleValue;
|
|
int i3 = c7293clZ.X;
|
|
if (i3 == 0) {
|
|
c7293clZ.h = false;
|
|
interfaceC9536dlb.k();
|
|
return;
|
|
}
|
|
if (i2 < i3) {
|
|
c7293clZ.h = false;
|
|
interfaceC9536dlb.i();
|
|
return;
|
|
}
|
|
double d = c7293clZ.a;
|
|
if (doubleValue >= d) {
|
|
c7293clZ.h = false;
|
|
interfaceC9536dlb.f();
|
|
return;
|
|
}
|
|
c7293clZ.h = true;
|
|
c7293clZ.O = d - doubleValue;
|
|
ZI.IeS ieS = new ZI.IeS(c7293clZ) { // from class: o.cmu
|
|
private C7293clZ d;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7293clZ.f(this.d, (InterfaceC9536dlb) obj);
|
|
}
|
|
|
|
{
|
|
this.d = c7293clZ;
|
|
}
|
|
};
|
|
if (c7293clZ.f != 0) {
|
|
ieS.e(c7293clZ.f);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void e(C7293clZ c7293clZ, int i, InterfaceC9536dlb interfaceC9536dlb) {
|
|
C14957gcv.e(c7293clZ, "");
|
|
if (c7293clZ.a == 0.0d) {
|
|
c7293clZ.h = false;
|
|
interfaceC9536dlb.bh_();
|
|
} else {
|
|
c7293clZ.Q = new BigDecimal(String.valueOf(c7293clZ.a * c7293clZ.P)).setScale(0, RoundingMode.CEILING).intValue();
|
|
if (!c7293clZ.w) {
|
|
ZI.IeS ieS = new ZI.IeS(c7293clZ, i) { // from class: o.cmf
|
|
private C7293clZ c;
|
|
private int e;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7293clZ.c(this.c, this.e, (InterfaceC9536dlb) obj);
|
|
}
|
|
|
|
{
|
|
this.c = c7293clZ;
|
|
this.e = i;
|
|
}
|
|
};
|
|
if (c7293clZ.f != 0) {
|
|
ieS.e(c7293clZ.f);
|
|
}
|
|
} else {
|
|
ZI.IeS ieS2 = new ZI.IeS(i, c7293clZ) { // from class: o.cme
|
|
private int b;
|
|
private C7293clZ d;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7293clZ.a(this.b, this.d, (InterfaceC9536dlb) obj);
|
|
}
|
|
|
|
{
|
|
this.b = i;
|
|
this.d = c7293clZ;
|
|
}
|
|
};
|
|
if (c7293clZ.f != 0) {
|
|
ieS2.e(c7293clZ.f);
|
|
}
|
|
}
|
|
}
|
|
C7364cmr c7364cmr = new C7364cmr(c7293clZ);
|
|
if (c7293clZ.f != 0) {
|
|
c7364cmr.e(c7293clZ.f);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void c(C7293clZ c7293clZ, int i, InterfaceC9536dlb interfaceC9536dlb) {
|
|
C14957gcv.e(c7293clZ, "");
|
|
int i2 = c7293clZ.Q;
|
|
if (i2 > i) {
|
|
c7293clZ.h = false;
|
|
interfaceC9536dlb.l();
|
|
} else {
|
|
c7293clZ.h = true;
|
|
c7293clZ.X = i2;
|
|
interfaceC9536dlb.c(String.valueOf(i2));
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void b(String str, InterfaceC9536dlb interfaceC9536dlb) {
|
|
C14957gcv.e(str, "");
|
|
interfaceC9536dlb.a(str);
|
|
}
|
|
|
|
public static final /* synthetic */ void g(C7293clZ c7293clZ) {
|
|
ZI.IeS ieS = new ZI.IeS(c7293clZ) { // from class: o.cmd
|
|
private C7293clZ c;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7293clZ.i(this.c, (InterfaceC9536dlb) obj);
|
|
}
|
|
|
|
{
|
|
this.c = c7293clZ;
|
|
}
|
|
};
|
|
if (c7293clZ.f != 0) {
|
|
ieS.e(c7293clZ.f);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void j(C7293clZ c7293clZ, InterfaceC9536dlb interfaceC9536dlb) {
|
|
C14957gcv.e(c7293clZ, "");
|
|
if (c7293clZ.g.isEmpty()) {
|
|
C7362cmp c7362cmp = new C7362cmp(c7293clZ);
|
|
if (c7293clZ.f != 0) {
|
|
c7362cmp.e(c7293clZ.f);
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
ArrayList<C0367Fb> arrayList = c7293clZ.g;
|
|
C14957gcv.e(arrayList, "");
|
|
C0367Fb c0367Fb = arrayList.isEmpty() ? null : arrayList.get(0);
|
|
c7293clZ.E = c0367Fb;
|
|
if (c0367Fb != null) {
|
|
String str = c0367Fb.W;
|
|
C14957gcv.c((Object) str, "");
|
|
c7293clZ.A = str;
|
|
String str2 = c0367Fb.q;
|
|
C14957gcv.c((Object) str2, "");
|
|
c7293clZ.z = str2;
|
|
String str3 = c0367Fb.z;
|
|
C14957gcv.c((Object) str3, "");
|
|
c7293clZ.N = str3;
|
|
String str4 = c0367Fb.d;
|
|
C14957gcv.c((Object) str4, "");
|
|
c7293clZ.C = Double.parseDouble(gdZ.a(str4, ",", ""));
|
|
String str5 = c0367Fb.h;
|
|
C14957gcv.c((Object) str5, "");
|
|
c7293clZ.F = str5;
|
|
c7293clZ.M = true;
|
|
interfaceC9536dlb.b(c7293clZ.N);
|
|
String str6 = c7293clZ.A;
|
|
String str7 = c7293clZ.z;
|
|
C17765zb c17765zb = c7293clZ.R;
|
|
interfaceC9536dlb.c(str6, str7, C17765zb.a(c7293clZ.a), c7293clZ.F, c7293clZ.e, c7293clZ.n);
|
|
C7359cmm c7359cmm = new C7359cmm(c7293clZ);
|
|
if (c7293clZ.f != 0) {
|
|
c7359cmm.e(c7293clZ.f);
|
|
}
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void k(C7293clZ c7293clZ, InterfaceC9536dlb interfaceC9536dlb) {
|
|
C14957gcv.e(c7293clZ, "");
|
|
ArrayList<C0367Fb> arrayList = c7293clZ.g;
|
|
C14957gcv.e(arrayList, "");
|
|
C1203Xy c1203Xy = null;
|
|
C0367Fb c0367Fb = arrayList.isEmpty() ? null : arrayList.get(0);
|
|
c7293clZ.E = c0367Fb;
|
|
if (c0367Fb != null) {
|
|
String str = c0367Fb.W;
|
|
C14957gcv.c((Object) str, "");
|
|
c7293clZ.A = str;
|
|
String str2 = c0367Fb.q;
|
|
C14957gcv.c((Object) str2, "");
|
|
c7293clZ.z = str2;
|
|
String str3 = c0367Fb.z;
|
|
C14957gcv.c((Object) str3, "");
|
|
c7293clZ.N = str3;
|
|
String str4 = c0367Fb.d;
|
|
C14957gcv.c((Object) str4, "");
|
|
c7293clZ.C = Double.parseDouble(gdZ.a(str4, ",", ""));
|
|
String str5 = c0367Fb.h;
|
|
C14957gcv.c((Object) str5, "");
|
|
c7293clZ.F = str5;
|
|
}
|
|
c7293clZ.n = false;
|
|
C1203Xy c1203Xy2 = c7293clZ.d;
|
|
if (c1203Xy2 == null) {
|
|
C14957gcv.a("");
|
|
} else {
|
|
c1203Xy = c1203Xy2;
|
|
}
|
|
String str6 = c1203Xy.f.h;
|
|
C14957gcv.c((Object) str6, "");
|
|
c7293clZ.a = Double.parseDouble(str6);
|
|
c7293clZ.d();
|
|
interfaceC9536dlb.b(c7293clZ.N);
|
|
String str7 = c7293clZ.A;
|
|
String str8 = c7293clZ.z;
|
|
C17765zb c17765zb = c7293clZ.R;
|
|
interfaceC9536dlb.c(str7, str8, C17765zb.a(c7293clZ.a), c7293clZ.F, c7293clZ.e, c7293clZ.n);
|
|
C7359cmm c7359cmm = new C7359cmm(c7293clZ);
|
|
if (c7293clZ.f != 0) {
|
|
c7359cmm.e(c7293clZ.f);
|
|
}
|
|
}
|
|
|
|
public static final /* synthetic */ void j(C7293clZ c7293clZ) {
|
|
ZI.IeS ieS = new ZI.IeS(c7293clZ) { // from class: o.cmv
|
|
private C7293clZ e;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C7293clZ.j(this.e, (InterfaceC9536dlb) obj);
|
|
}
|
|
|
|
{
|
|
this.e = c7293clZ;
|
|
}
|
|
};
|
|
if (c7293clZ.f != 0) {
|
|
ieS.e(c7293clZ.f);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void c(boolean z, WW ww, C7293clZ c7293clZ, C0367Fb c0367Fb, String str, String str2, InterfaceC9536dlb interfaceC9536dlb) {
|
|
String str3;
|
|
C14957gcv.e(c7293clZ, "");
|
|
C14957gcv.e(str, "");
|
|
C14957gcv.e(str2, "");
|
|
C1203Xy c1203Xy = null;
|
|
if (z) {
|
|
if (ww != null) {
|
|
c7293clZ.I = ww;
|
|
Double d = ww.d;
|
|
C14957gcv.c(d, "");
|
|
c7293clZ.C = d.doubleValue();
|
|
}
|
|
interfaceC9536dlb.g();
|
|
C1203Xy c1203Xy2 = c7293clZ.d;
|
|
if (c1203Xy2 == null) {
|
|
C14957gcv.a("");
|
|
} else {
|
|
c1203Xy = c1203Xy2;
|
|
}
|
|
double d2 = c1203Xy.c;
|
|
if (d2 <= 0.0d) {
|
|
d2 = c7293clZ.a;
|
|
}
|
|
c7293clZ.a = d2;
|
|
} else {
|
|
if (c0367Fb != null) {
|
|
c7293clZ.E = c0367Fb;
|
|
if (c7293clZ.x) {
|
|
str3 = "";
|
|
} else {
|
|
str3 = c0367Fb.h;
|
|
C14957gcv.c((Object) str3, "");
|
|
}
|
|
c7293clZ.F = str3;
|
|
String str4 = c0367Fb.d;
|
|
C14957gcv.c((Object) str4, "");
|
|
c7293clZ.C = Double.parseDouble(gdZ.a(str4, ",", ""));
|
|
String str5 = c0367Fb.z;
|
|
C14957gcv.c((Object) str5, "");
|
|
interfaceC9536dlb.b(str5);
|
|
}
|
|
C1203Xy c1203Xy3 = c7293clZ.d;
|
|
if (c1203Xy3 == null) {
|
|
C14957gcv.a("");
|
|
} else {
|
|
c1203Xy = c1203Xy3;
|
|
}
|
|
String str6 = c1203Xy.f.h;
|
|
C14957gcv.c((Object) str6, "");
|
|
double parseDouble = Double.parseDouble(str6);
|
|
if (parseDouble <= 0.0d) {
|
|
parseDouble = c7293clZ.a;
|
|
}
|
|
c7293clZ.a = parseDouble;
|
|
}
|
|
C17765zb c17765zb = c7293clZ.R;
|
|
interfaceC9536dlb.c(str, str2, C17765zb.a(c7293clZ.a), c7293clZ.F, c7293clZ.e, z);
|
|
}
|
|
|
|
public static /* synthetic */ void o(C7293clZ c7293clZ, InterfaceC9536dlb interfaceC9536dlb) {
|
|
C14957gcv.e(c7293clZ, "");
|
|
boolean z = true;
|
|
if (!gdZ.a("PCC", c7293clZ.k, true) && !c7293clZ.x) {
|
|
z = false;
|
|
}
|
|
interfaceC9536dlb.c(c7293clZ.M, c7293clZ.h, c7293clZ.a, c7293clZ.X, c7293clZ.W, c7293clZ.O, c7293clZ.n, c7293clZ.I, c7293clZ.E, z, c7293clZ.S, c7293clZ.P, c7293clZ.T);
|
|
}
|
|
|
|
static void a() {
|
|
ab = (byte) 6;
|
|
}
|
|
|
|
public final void d(boolean z, boolean z2, ArrayList<WW> arrayList, ArrayList<C0367Fb> arrayList2) {
|
|
C14957gcv.e(arrayList, "");
|
|
C14957gcv.e(arrayList2, "");
|
|
this.f8654o = z;
|
|
this.l = z2;
|
|
this.c = arrayList;
|
|
this.g = arrayList2;
|
|
}
|
|
|
|
static {
|
|
a();
|
|
new HBt((byte) 0);
|
|
}
|
|
}
|