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

1169 lines
39 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.Base64;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.huawei.hms.support.api.entity.common.CommonConstant;
import com.scb.phone.presentation.mapper.transferandpay.BaseAssetsDisplayMapper;
import java.lang.reflect.Method;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Objects;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C15715hv;
import o.IV;
import o.JW;
import o.PRA;
import org.bouncycastle.pqc.math.linearalgebra.Matrix;
import org.threeten.bp.OffsetDateTime;
/* renamed from: o.qX, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C16706qX extends BaseAssetsDisplayMapper {
private static byte f;
private static char[] h;
private static boolean k;
private static int l;
private static boolean m;
private static int n;
private final C16729ql a;
private final Context b;
private final C16690qQ d;
private final C16971so g;
private final C17665yk i;
private final C16962sl j;
private static final byte[] $$d = {46, -23, 1, -23};
private static final int $$e = 94;
private static int $10 = 0;
private static int $11 = 1;
/* renamed from: o, reason: collision with root package name */
private static int f9249o = 0;
public static /* synthetic */ Object a(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * 569) + (i2 * 569);
int i5 = ~i;
int i6 = ~i2;
int i7 = i5 | i6;
int i8 = ~i7;
int i9 = ~i3;
int i10 = i | i9;
int i11 = i4 + ((i8 | (~(i5 | i9)) | (~(i6 | i9))) * (-1136)) + (((~(i5 | i3)) | (~(i6 | i3)) | (~(i10 | i2))) * (-568)) + (((~i10) | (~(i2 | i9)) | (~(i7 | i3))) * 568);
if (i11 == 1) {
return a(objArr);
}
if (i11 == 2) {
return c(objArr);
}
if (i11 == 3) {
return d(objArr);
}
if (i11 == 4) {
return e(objArr);
}
if (i11 != 5) {
return b(objArr);
}
final C16706qX c16706qX = (C16706qX) objArr[0];
int i12 = 2 % 2;
YKU yku = new YKU((List) objArr[1]);
YKU yku2 = new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(c16706qX) { // from class: o.re
private C16706qX e;
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj) {
return C16706qX.b((JPY) obj);
}
{
this.e = c16706qX;
}
}));
YKU yku3 = new YKU(yku2.a, new GEP(yku2.b, new Jel() { // from class: o.rf
@Override // o.Jel
public final boolean e(Object obj) {
return ((Boolean) C16706qX.a(new Object[]{(JR) obj}, 772747639, -772747636, (int) System.currentTimeMillis())).booleanValue();
}
}));
List b = new YKU(yku3.a, new C17745zRk(yku3.b, xNZ.a(new InterfaceC1244Ytw() { // from class: o.rg
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj) {
return Integer.valueOf(((JR) obj).d);
}
}))).b();
int i13 = n + 71;
f9249o = i13 % 128;
int i14 = i13 % 2;
return b;
}
private static void v(int i, short s, int i2, Object[] objArr) {
int i3 = (i * 57) + 65;
int i4 = i2 * 4;
byte[] bArr = $$d;
int i5 = 4 - (s * 4);
byte[] bArr2 = new byte[i4 + 1];
int i6 = -1;
if (bArr == null) {
i3 += -i4;
i5++;
}
while (true) {
i6++;
bArr2[i6] = (byte) i3;
if (i6 == i4) {
objArr[0] = new String(bArr2, 0);
return;
} else {
i3 += -bArr[i5];
i5++;
}
}
}
private void q(String str, Object[] objArr) {
byte[] decode;
int length;
int i = 2 % 2;
int i2 = n + 29;
f9249o = i2 % 128;
if (i2 % 2 != 0) {
decode = Base64.decode(str, 0);
length = decode.length;
} else {
decode = Base64.decode(str, 0);
length = decode.length;
}
byte[] bArr = new byte[length];
int i3 = 0;
while (i3 < decode.length) {
int i4 = f9249o + 87;
n = i4 % 128;
if (i4 % 2 == 0) {
int length2 = decode.length;
bArr[i3] = (byte) (decode[0] ^ f);
i3 += 52;
} else {
bArr[i3] = (byte) (decode[(decode.length - i3) - 1] ^ f);
i3++;
}
}
objArr[0] = new String(bArr, StandardCharsets.UTF_8);
}
@InterfaceC13391fZD
public C16706qX(Resources resources, SharedPreferences sharedPreferences, C17665yk c17665yk, C16962sl c16962sl, C16729ql c16729ql, C16971so c16971so, C16690qQ c16690qQ, String str, Context context) {
super(resources, sharedPreferences, str);
this.i = c17665yk;
this.j = c16962sl;
this.a = c16729ql;
this.g = c16971so;
this.d = c16690qQ;
this.b = context;
}
private static /* synthetic */ Object b(Object[] objArr) {
byte b = 0;
C16706qX c16706qX = (C16706qX) objArr[0];
lTi lti = (lTi) objArr[1];
String str = (String) objArr[2];
int i = 2 % 2;
JW.HBt hBt = new JW.HBt();
hBt.t = lti.s;
hBt.n = lti.p;
hBt.k = lti.r;
hBt.x = lti.x;
hBt.l = lti.k;
hBt.p = lti.t;
hBt.g = (String) C6583cXR.c(new Object[]{true, false, lti.h}, -1092823629, 1092823630, (int) System.currentTimeMillis());
hBt.y = b(lti.w);
C16690qQ c16690qQ = c16706qX.d;
hBt.h = C16690qQ.c(lti.f);
C17665yk c17665yk = c16706qX.i;
hBt.m = C17665yk.a(lti.q);
C17665yk c17665yk2 = c16706qX.i;
hBt.s = C17665yk.a(lti.v);
hBt.c = b(lti.e);
hBt.f8225o = lti.m;
hBt.v = lti.A;
hBt.A = lti.B;
C17665yk c17665yk3 = c16706qX.i;
hBt.w = C17665yk.a(lti.u);
hBt.b = c16706qX.b_(lti.a);
if (!(!"AUTO_TOP_UP".equals(str))) {
int i2 = f9249o + 119;
n = i2 % 128;
int i3 = i2 % 2;
hBt.a = lti.d;
hBt.r = (String) a(new Object[]{lti.v.e}, 984612470, -984612466, (int) System.currentTimeMillis());
hBt.D = (String) a(new Object[]{lti.C.e}, 984612470, -984612466, (int) System.currentTimeMillis());
hBt.j = (String) a(new Object[]{lti.l.e}, 984612470, -984612466, (int) System.currentTimeMillis());
hBt.u = h(lti.D);
hBt.q = c16706qX.d(lti.y);
hBt.e = (List) a(new Object[]{c16706qX, lti.c}, -745994725, 745994730, System.identityHashCode(c16706qX));
hBt.f = e(lti.f9202o);
hBt.i = m(lti.g);
hBt.d = k(lti.i);
int i4 = n + 41;
f9249o = i4 % 128;
int i5 = i4 % 2;
}
return new JW(hBt, b);
}
private static boolean b(Boolean bool) {
int i = 2 % 2;
int i2 = n + 117;
int i3 = i2 % 128;
f9249o = i3;
int i4 = i2 % 2;
if (bool != null) {
return bool.booleanValue();
}
int i5 = i3 + 103;
n = i5 % 128;
int i6 = i5 % 2;
return false;
}
private static void u(char[] cArr, byte[] bArr, int[] iArr, int i, Object[] objArr) {
int i2;
char[] cArr2;
char c = 2;
int i3 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr3 = h;
long j = 0;
int i4 = 1;
int i5 = 0;
if (cArr3 != null) {
int length = cArr3.length;
char[] cArr4 = new char[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = new Object[i4];
objArr2[i5] = Integer.valueOf(cArr3[i6]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.indexOf("", "", i5, i5) + 337, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) ((-1) - ExpandableListView.getPackedPositionChild(j)));
byte b = (byte) ($$d[c] - 1);
byte b2 = b;
Object[] objArr3 = new Object[1];
v(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr4[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i6++;
int i7 = $10 + 89;
$11 = i7 % 128;
int i8 = i7 % 2;
c = 2;
j = 0;
i4 = 1;
i5 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr4;
}
Object[] objArr4 = {Integer.valueOf(l)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(View.getDefaultSize(0, 0) + 283, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) (39813 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b3 = $$d[2];
byte b4 = (byte) (b3 - 1);
Object[] objArr5 = new Object[1];
v(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (!(!k)) {
c3614bBe.c = bArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i9 = $11 + 109;
$10 = i9 % 128;
int i10 = i9 % 2;
cArr5[c3614bBe.a] = (char) (cArr3[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 39, KeyEvent.getDeadChar(0, 0) + 5, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr5);
return;
}
if (!m) {
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr6[c3614bBe.a] = (char) (cArr3[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
c3614bBe.a++;
}
objArr[0] = new String(cArr6);
return;
}
int i11 = $10 + 25;
$11 = i11 % 128;
if (i11 % 2 == 0) {
c3614bBe.c = cArr.length;
cArr2 = new char[c3614bBe.c];
i2 = 0;
} else {
i2 = 0;
c3614bBe.c = cArr.length;
cArr2 = new char[c3614bBe.c];
}
c3614bBe.a = i2;
while (c3614bBe.a < c3614bBe.c) {
cArr2[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(40 - (ViewConfiguration.getScrollBarSize() >> 8), 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
}
objArr[0] = new String(cArr2);
}
public static BQD a(String str, String str2, String str3) {
BQD a;
int i = 2 % 2;
int i2 = f9249o + 39;
n = i2 % 128;
if (i2 % 2 == 0) {
a = BQD.a();
a.b = str3;
a.g = str;
a.e = str2;
int i3 = 70 / 0;
} else {
a = BQD.a();
a.b = str3;
a.g = str;
a.e = str2;
}
int i4 = n + 113;
f9249o = i4 % 128;
int i5 = i4 % 2;
return a;
}
public static BQD e(String str, String str2, String str3, String str4, String str5) {
int i = 2 % 2;
int i2 = f9249o + 89;
n = i2 % 128;
int i3 = i2 % 2;
BQD a = BQD.a();
a.b = str3;
a.g = str;
a.e = str2;
a.c = str4;
a.d = str5;
int i4 = f9249o + 103;
n = i4 % 128;
int i5 = i4 % 2;
return a;
}
/* JADX INFO: Access modifiers changed from: package-private */
/* JADX WARN: Code restructure failed: missing block: B:11:0x0039, code lost:
if ("TERMS_N_CONDITIONS".equals(r6.e) != false) goto L19;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x0043, code lost:
if ("DATA_SHARING_CONSENT".equals(r6.e) == false) goto L21;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x0045, code lost:
if (r5 == false) goto L19;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:?, code lost:
return true;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:?, code lost:
return true;
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x0048, code lost:
"TERMS_N_CONDITIONS".equals(r6.e);
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x004e, code lost:
throw null;
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x0024, code lost:
if ("NCB_CONSENT".equals(r6.e) != true) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001b, code lost:
if ("NCB_CONSENT".equals(r6.e) == false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x0026, code lost:
r1 = o.C16706qX.n + 35;
o.C16706qX.f9249o = r1 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0031, code lost:
if ((r1 % 2) != 0) goto L17;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static /* synthetic */ boolean d(boolean r5, o.LT r6) {
/*
r0 = 2
int r1 = r0 % r0
int r1 = o.C16706qX.f9249o
int r1 = r1 + 111
int r2 = r1 % 128
o.C16706qX.n = r2
int r1 = r1 % r0
r2 = 1
r3 = 0
java.lang.String r4 = "NCB_CONSENT"
if (r1 != 0) goto L1e
java.lang.String r1 = r6.e
boolean r1 = r4.equals(r1)
r4 = 23
int r4 = r4 / r3
if (r1 != 0) goto L4f
goto L26
L1e:
java.lang.String r1 = r6.e
boolean r1 = r4.equals(r1)
if (r1 == r2) goto L4f
L26:
int r1 = o.C16706qX.n
int r1 = r1 + 35
int r4 = r1 % 128
o.C16706qX.f9249o = r4
int r1 = r1 % r0
java.lang.String r0 = "TERMS_N_CONDITIONS"
if (r1 != 0) goto L48
java.lang.String r1 = r6.e
boolean r0 = r0.equals(r1)
if (r0 != 0) goto L4f
java.lang.String r0 = "DATA_SHARING_CONSENT"
java.lang.String r6 = r6.e
boolean r6 = r0.equals(r6)
if (r6 == 0) goto L50
if (r5 == 0) goto L4f
goto L50
L48:
java.lang.String r5 = r6.e
r0.equals(r5)
r5 = 0
throw r5
L4f:
r2 = r3
L50:
return r2
*/
throw new UnsupportedOperationException("Method not decompiled: o.C16706qX.d(boolean, o.LT):boolean");
}
private /* synthetic */ IP e(boolean z, LT lt) {
int i = 2 % 2;
int i2 = f9249o + 35;
n = i2 % 128;
if (i2 % 2 == 0) {
"CROSS_SELL_CONSENT".equals(lt.e);
Object obj = null;
obj.hashCode();
throw null;
}
boolean z2 = (!("CROSS_SELL_CONSENT".equals(lt.e) ^ true) || "MARKETING_CONSENT".equals(lt.e)) && z;
int i3 = C15715hv.tOB.accept_radio;
int i4 = C15715hv.tOB.decline_radio;
if ("DATA_SHARING_CONSENT".equals(lt.e)) {
int i5 = f9249o + 39;
n = i5 % 128;
int i6 = i5 % 2;
i3 = C15715hv.tOB.consent_data_sharing;
i4 = C15715hv.tOB.do_not_consent_data_sharing;
} else if (!(!z)) {
int i7 = f9249o + 103;
n = i7 % 128;
int i8 = i7 % 2;
i3 = C15715hv.tOB.accept_radio_cdx;
i4 = C15715hv.tOB.decline_radio_cdx;
int i9 = f9249o + 107;
n = i9 % 128;
int i10 = i9 % 2;
}
String string = this.e.getString(i3);
if (string.startsWith(",*,)")) {
int i11 = n + 47;
f9249o = i11 % 128;
int i12 = i11 % 2;
Object[] objArr = new Object[1];
q(string.substring(4), objArr);
string = ((String) objArr[0]).intern();
}
String string2 = this.e.getString(i4);
if (string2.startsWith(",*,)")) {
Object[] objArr2 = new Object[1];
q(string2.substring(4), objArr2);
string2 = ((String) objArr2[0]).intern();
}
return C16962sl.e(lt, z2, string, string2);
}
public final List<IP> a(List<LT> list, final boolean z, final boolean z2) {
int i = 2 % 2;
YKU yku = new YKU(list);
YKU yku2 = new YKU(yku.a, new GEP(yku.b, new Jel(z) { // from class: o.qW
private boolean c;
@Override // o.Jel
public final boolean e(Object obj) {
return C16706qX.d(this.c, (LT) obj);
}
{
this.c = z;
}
}));
YKU yku3 = new YKU(yku2.a, new wxK(yku2.b, new InterfaceC1244Ytw(this, z2) { // from class: o.qU
private C16706qX a;
private boolean b;
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj) {
return C16706qX.d(this.a, this.b, (LT) obj);
}
{
this.a = this;
this.b = z2;
}
}));
List<IP> list2 = (List) new YKU(yku3.a, new C17745zRk(yku3.b, xNZ.a(new InterfaceC1244Ytw() { // from class: o.qV
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj) {
return C16706qX.c((IP) obj);
}
}))).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()));
int i2 = n + 81;
f9249o = i2 % 128;
int i3 = i2 % 2;
return list2;
}
public final List<C0613Kq> e(String str, String str2, String str3, LD ld) {
int i = 2 % 2;
ArrayList arrayList = new ArrayList();
arrayList.add(new C0613Kq(e(C15715hv.tOB.review_loan_information_header), c(ld, str)));
arrayList.add(new C0613Kq(e(C15715hv.tOB.review_details_header), a(str, ld, str2, str3)));
int i2 = n + 83;
f9249o = i2 % 128;
int i3 = i2 % 2;
return arrayList;
}
public final List<C0613Kq> b(LD ld) {
int i = 2 % 2;
ArrayList arrayList = new ArrayList();
arrayList.add(new C0613Kq(e(C15715hv.tOB.refillable_feature_information_loan_info_title), e(ld)));
arrayList.add(new C0613Kq(e(C15715hv.tOB.mortgage_topup_review_detail_header), d(ld)));
int i2 = n + 59;
f9249o = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 0 / 0;
}
return arrayList;
}
private List<IV> e(LD ld) {
int i = 2 % 2;
ArrayList arrayList = new ArrayList();
if (ld != null) {
arrayList.add(new IV(e(C15715hv.tOB.refillable_feature_information_loan_type), ld.l));
if (ld.m != null) {
arrayList.add(new IV(e(C15715hv.tOB.refillable_feature_information_borrower), C16971so.c(ld.n, ld.f8247o, ld.m)));
}
arrayList.add(new IV(e(C15715hv.tOB.refillable_review_project_name), ld.p));
arrayList.add(new IV(e(C15715hv.tOB.refillable_feature_information_location), (List<IV.Sts>) Collections.singletonList(new IV.Sts(ld.q))));
int i2 = f9249o + 39;
n = i2 % 128;
int i3 = i2 % 2;
}
return arrayList;
}
private List<IV> d(LD ld) {
int i = 2 % 2;
List<IV> arrayList = new ArrayList<>();
if (ld != null) {
arrayList = this.g.b("COST", ld.a);
arrayList.add(new IV(e(C15715hv.tOB.review_receiving_account), C6583cXR.b(ld.i, false)));
arrayList.add(new IV(e(C15715hv.tOB.review_repayment_method), ld.f));
if (e(C15715hv.tOB.review_value_direct_debit).equals(ld.f)) {
arrayList.add(new IV(e(C15715hv.tOB.review_repayment_account), C6583cXR.b(ld.g, false)));
}
arrayList.add(new IV(e(C15715hv.tOB.remark_review_label), (List<IV.Sts>) Collections.singletonList(new IV.Sts(c(C15715hv.tOB.remark_value, ld.s), nMh.getColor(this.b, C15715hv.LWm.dark_gray)))));
int i2 = f9249o + 99;
n = i2 % 128;
int i3 = i2 % 2;
}
int i4 = f9249o + 87;
n = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 7 / 0;
}
return arrayList;
}
private List<IV> c(LD ld, String str) {
int i = 2 % 2;
ArrayList arrayList = new ArrayList();
arrayList.add(new IV(e(!str.equals("PURPOSEFUL_LOAN") ? C15715hv.tOB.easycash_summary_loantype : C15715hv.tOB.easycash_summary_purpose), ld.p));
arrayList.add(new IV(e(C15715hv.tOB.easycash_loan_amount_header), c(Double.valueOf(ld.c))));
arrayList.add(new IV(e(C15715hv.tOB.easycash_summary_duration), c(C15715hv.tOB.easycash_summary_months, String.valueOf(ld.d))));
if (ld.a != null) {
int i2 = f9249o + 119;
n = i2 % 128;
int i3 = i2 % 2;
e(ld, str, arrayList);
if (i3 == 0) {
int i4 = 86 / 0;
}
int i5 = f9249o + 45;
n = i5 % 128;
int i6 = i5 % 2;
}
return arrayList;
}
private void e(LD ld, String str, List<IV> list) {
Iterator<LJ> it;
int i = 2 % 2;
int i2 = n + 1;
f9249o = i2 % 128;
if (i2 % 2 != 0) {
it = ld.a.iterator();
int i3 = 22 / 0;
} else {
it = ld.a.iterator();
}
while (it.hasNext()) {
int i4 = n + 19;
f9249o = i4 % 128;
if (i4 % 2 != 0) {
String str2 = it.next().b;
str2.hashCode();
str2.equals("ANNUAL_INTEREST");
throw null;
}
LJ next = it.next();
String str3 = next.b;
str3.hashCode();
if (str3.equals("ANNUAL_INTEREST")) {
if (str.equals("COMMERCIAL_LOAN")) {
list.add(new IV(next.c, (List<IV.Sts>) Collections.singletonList(new IV.Sts(next.g.concat(ld.s), nMh.getColor(this.b, C15715hv.LWm.dark_gray)))));
} else {
list.add(C16729ql.c(next));
int i5 = f9249o + 123;
n = i5 % 128;
int i6 = i5 % 2;
}
} else if (str3.equals("MONTHLY_PAYMENT") && str.equals("COMMERCIAL_LOAN")) {
list.add(C16729ql.c(next));
int i7 = n + 97;
f9249o = i7 % 128;
int i8 = i7 % 2;
}
}
}
/* JADX WARN: Failed to find 'out' block for switch in B:12:0x007c. Please report as an issue. */
private List<IV> a(String str, LD ld, String str2, String str3) {
int i = 2 % 2;
ArrayList arrayList = new ArrayList();
arrayList.add(new IV(e(C15715hv.tOB.review_receiving_account), C6583cXR.b(ld.i, false)));
arrayList.add(new IV(e(C15715hv.tOB.review_repayment_method), ld.f));
if (ld.f.equals(e(C15715hv.tOB.review_value_direct_debit))) {
arrayList.add(new IV(e(C15715hv.tOB.review_repayment_account), C6583cXR.b(ld.g, false)));
}
if (ld.a != null) {
Iterator<LJ> it = ld.a.iterator();
while (it.hasNext()) {
int i2 = f9249o + 37;
n = i2 % 128;
if (i2 % 2 == 0) {
String str4 = it.next().b;
str4.hashCode();
str4.hashCode();
throw null;
}
LJ next = it.next();
String str5 = next.b;
str5.hashCode();
char c = 65535;
switch (str5.hashCode()) {
case -1670793514:
if (str5.equals("NET_TRANSFER_AMT")) {
c = 0;
break;
}
break;
case 175044882:
if (str5.equals("TRANSFER_FEE")) {
int i3 = f9249o + 21;
int i4 = i3 % 128;
n = i4;
int i5 = i3 % 2;
int i6 = i4 + 87;
f9249o = i6 % 128;
int i7 = i6 % 2;
c = 1;
break;
}
break;
case 231008684:
if (str5.equals("FRONT_END_FEE")) {
int i8 = n + 121;
f9249o = i8 % 128;
int i9 = i8 % 2;
c = 2;
break;
}
break;
case 1073257121:
if (str5.equals("DUTY_STAMP_FEE")) {
c = 3;
break;
}
break;
}
if (c == 0 || c == 1 || c == 2 || c == 3) {
arrayList.add(C16729ql.c(next));
}
}
}
if ("PURPOSEFUL_LOAN".equals(str)) {
arrayList.add(new IV(e(C15715hv.tOB.review_email), (List<IV.Sts>) Collections.singletonList(new IV.Sts(str2, nMh.getColor(this.b, C15715hv.LWm.black)))));
arrayList.add(new IV(e(C15715hv.tOB.review_mailing_address), (List<IV.Sts>) Collections.singletonList(new IV.Sts(str3, nMh.getColor(this.b, C15715hv.LWm.black)))));
}
return arrayList;
}
private static /* synthetic */ Object e(Object[] objArr) {
List list = (List) objArr[0];
int i = 2 % 2;
int i2 = f9249o + 101;
n = i2 % 128;
if (i2 % 2 == 0) {
String.join("\n", list);
throw null;
}
String join = String.join("\n", list);
int i3 = n + 7;
f9249o = i3 % 128;
int i4 = i3 % 2;
return join;
}
private static List<String> h(List<BPm> list) {
int i = 2 % 2;
YKU yku = new YKU(list);
YKU yku2 = new YKU(yku.a, new C17745zRk(yku.b, xNZ.a(new InterfaceC1244Ytw() { // from class: o.qY
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj) {
return C16706qX.e((BPm) obj);
}
})));
List<String> b = new YKU(yku2.a, new wxK(yku2.b, new InterfaceC1244Ytw() { // from class: o.qZ
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj) {
return C16706qX.b((BPm) obj);
}
})).b();
int i2 = f9249o + 75;
n = i2 % 128;
if (i2 % 2 != 0) {
return b;
}
Object obj = null;
obj.hashCode();
throw null;
}
private List<C0597Kh> d(List<JPY> list) {
int i = 2 % 2;
YKU yku = new YKU(list);
YKU yku2 = new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(this) { // from class: o.ra
private C16706qX b;
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj) {
return (C0597Kh) C16706qX.a(new Object[]{(JPY) obj}, 1268997703, -1268997702, (int) System.currentTimeMillis());
}
{
this.b = this;
}
}));
YKU yku3 = new YKU(yku2.a, new GEP(yku2.b, new Jel() { // from class: o.rc
@Override // o.Jel
public final boolean e(Object obj) {
return C16706qX.c((C0597Kh) obj);
}
}));
List<C0597Kh> b = new YKU(yku3.a, new C17745zRk(yku3.b, xNZ.a(new InterfaceC1244Ytw() { // from class: o.rb
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj) {
return Integer.valueOf(((C0597Kh) obj).d);
}
}))).b();
int i2 = f9249o + 125;
n = i2 % 128;
if (i2 % 2 != 0) {
return b;
}
throw null;
}
private static C0597Kh c(JPY jpy) {
int i = 2 % 2;
Object obj = null;
try {
C0597Kh c0597Kh = new C0597Kh((String) Objects.requireNonNull(jpy.e), (String) Objects.requireNonNull(jpy.d), ((Integer) Objects.requireNonNull(jpy.b)).intValue(), "M".equals(jpy.d), 0);
int i2 = n + 21;
f9249o = i2 % 128;
if (i2 % 2 == 0) {
return c0597Kh;
}
obj.hashCode();
throw null;
} catch (Exception unused) {
return null;
}
}
private static JR a(JPY jpy) {
int i = 2 % 2;
Object obj = null;
try {
JR jr = new JR((String) Objects.requireNonNull(jpy.e), (String) Objects.requireNonNull(jpy.d), ((Integer) Objects.requireNonNull(jpy.b)).intValue());
int i2 = n + 13;
f9249o = i2 % 128;
if (i2 % 2 == 0) {
return jr;
}
obj.hashCode();
throw null;
} catch (Exception unused) {
return null;
}
}
private static JZ e(List<yCH> list) {
int i = 2 % 2;
JZ jz = new JZ(e(list, "TITLE").c, e(list, "DISCLAIMER").c, e(list, "FULL_NAME").c, e(list, "BIRTH_DATE").c, e(list, "CITIZEN_ID").c, e(list, "CITIZEN_CARD_EXPIRY_DATE").c, e(list, "ID_HOUSE_ADDRESS").c, e(list, "CURRENT_ADDRESS").c, e(list, "MOBILE_NO").c, e(list, "MOBILE_OTP_REMARK").c, e(list, CommonConstant.RETKEY.EMAIL).c, e(list, "RECEIVING_DOC_CHANNEL").c, e(list, "E_STATEMENT_TC").c);
int i2 = f9249o + 91;
n = i2 % 128;
if (i2 % 2 != 0) {
return jz;
}
throw null;
}
private static /* synthetic */ Object c(Object[] objArr) {
boolean equals;
String str = (String) objArr[0];
yCH ych = (yCH) objArr[1];
int i = 2 % 2;
int i2 = f9249o + 117;
n = i2 % 128;
if (i2 % 2 == 0) {
equals = str.equals(ych.a);
int i3 = 73 / 0;
} else {
equals = str.equals(ych.a);
}
int i4 = n + 1;
f9249o = i4 % 128;
if (i4 % 2 == 0) {
return Boolean.valueOf(equals);
}
throw null;
}
private static yCH e(List<yCH> list, final String str) {
int i = 2 % 2;
YKU yku = new YKU(list);
yCH ych = (yCH) new YKU(yku.a, new GEP(yku.b, new Jel(str) { // from class: o.rd
private String c;
@Override // o.Jel
public final boolean e(Object obj) {
return ((Boolean) C16706qX.a(new Object[]{this.c, (yCH) obj}, -156163018, 156163020, (int) System.currentTimeMillis())).booleanValue();
}
{
this.c = str;
}
})).c(1L).a();
int i2 = f9249o + 109;
n = i2 % 128;
if (i2 % 2 != 0) {
return ych;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static OffsetDateTime m(String str) {
int i = 2 % 2;
int i2 = n;
int i3 = i2 + 17;
f9249o = i3 % 128;
int i4 = i3 % 2;
if (str == null) {
return OffsetDateTime.now().minus(10L, (InterfaceC15539gtV) gtH.YEARS);
}
int i5 = i2 + 27;
f9249o = i5 % 128;
if (i5 % 2 != 0) {
cXG.d("yyyy-MM-dd", str);
throw null;
}
OffsetDateTime d = cXG.d("yyyy-MM-dd", str);
int i6 = f9249o + 65;
n = i6 % 128;
int i7 = i6 % 2;
return d;
}
private static OffsetDateTime k(String str) {
int i = 2 % 2;
int i2 = f9249o + 67;
n = i2 % 128;
int i3 = i2 % 2;
if (str == null) {
return OffsetDateTime.now().plus(10L, (InterfaceC15539gtV) gtH.YEARS);
}
OffsetDateTime d = cXG.d("yyyy-MM-dd", str);
int i4 = f9249o + 99;
n = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 55 / 0;
}
return d;
}
public static /* synthetic */ String b(BPm bPm) {
int i = 2 % 2;
int i2 = n + 63;
f9249o = i2 % 128;
int i3 = i2 % 2;
String str = bPm.a;
int i4 = n + 91;
f9249o = i4 % 128;
if (i4 % 2 == 0) {
return str;
}
Object obj = null;
obj.hashCode();
throw null;
}
public static /* synthetic */ String e(BPm bPm) {
int i = 2 % 2;
int i2 = f9249o + 109;
n = i2 % 128;
if (i2 % 2 != 0) {
String str = bPm.e;
int i3 = n + 91;
f9249o = i3 % 128;
int i4 = i3 % 2;
return str;
}
String str2 = bPm.e;
throw null;
}
private static /* synthetic */ Object d(Object[] objArr) {
Object obj = objArr[0];
int i = 2 % 2;
int i2 = f9249o + 13;
n = i2 % 128;
if (i2 % 2 != 0) {
return Boolean.valueOf(Objects.nonNull(obj));
}
Objects.nonNull(obj);
throw null;
}
private static /* synthetic */ Object a(Object[] objArr) {
JPY jpy = (JPY) objArr[0];
int i = 2 % 2;
int i2 = n + 65;
f9249o = i2 % 128;
int i3 = i2 % 2;
C0597Kh c = c(jpy);
int i4 = f9249o + 61;
n = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 48 / 0;
}
return c;
}
static void j() {
h = new char[]{15885, 15884};
l = 1934311164;
m = true;
k = true;
}
static {
n = 1;
j();
f = (byte) 6;
int i = f9249o + 105;
n = i % 128;
int i2 = i % 2;
}
public static String d(boolean z) {
Object obj;
int i = 2 % 2;
int i2 = n + 75;
int i3 = i2 % 128;
f9249o = i3;
int i4 = i2 % 2;
if (!z) {
Object[] objArr = new Object[1];
u(null, new byte[]{-126}, null, 127 - (Process.myTid() >> 22), objArr);
obj = objArr[0];
} else {
int i5 = i3 + 35;
n = i5 % 128;
if (i5 % 2 == 0) {
Object[] objArr2 = new Object[1];
u(null, new byte[]{ISOFileInfo.DATA_BYTES2}, null, 104 << TextUtils.lastIndexOf("", Matrix.MATRIX_TYPE_RANDOM_REGULAR, 0), objArr2);
obj = objArr2[0];
} else {
Object[] objArr3 = new Object[1];
u(null, new byte[]{ISOFileInfo.DATA_BYTES2}, null, 126 - TextUtils.lastIndexOf("", '0', 0), objArr3);
obj = objArr3[0];
}
}
String intern = ((String) obj).intern();
int i6 = n + 103;
f9249o = i6 % 128;
int i7 = i6 % 2;
return intern;
}
public final JW e(lTi lti, String str) {
return (JW) a(new Object[]{this, lti, str}, 1059152851, -1059152851, System.identityHashCode(this));
}
private List<JR> a(List<JPY> list) {
return (List) a(new Object[]{this, list}, -745994725, 745994730, System.identityHashCode(this));
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ IP c(IP ip) {
int i = 2 % 2;
int i2 = f9249o + 93;
n = i2 % 128;
if (i2 % 2 != 0) {
return ip;
}
throw null;
}
private static String c(List<String> list) {
return (String) a(new Object[]{list}, 984612470, -984612466, (int) System.currentTimeMillis());
}
public static /* synthetic */ IP d(C16706qX c16706qX, boolean z, LT lt) {
int i = 2 % 2;
int i2 = f9249o + 43;
n = i2 % 128;
int i3 = i2 % 2;
IP e = c16706qX.e(z, lt);
int i4 = n + 103;
f9249o = i4 % 128;
int i5 = i4 % 2;
return e;
}
public static /* synthetic */ JR b(JPY jpy) {
int i = 2 % 2;
int i2 = n + 65;
f9249o = i2 % 128;
int i3 = i2 % 2;
JR a = a(jpy);
if (i3 != 0) {
int i4 = 29 / 0;
}
int i5 = f9249o + 59;
n = i5 % 128;
if (i5 % 2 != 0) {
return a;
}
Object obj = null;
obj.hashCode();
throw null;
}
public static /* synthetic */ boolean c(Object obj) {
int i = 2 % 2;
int i2 = f9249o + 87;
n = i2 % 128;
int i3 = i2 % 2;
boolean nonNull = Objects.nonNull(obj);
int i4 = f9249o + 31;
n = i4 % 128;
if (i4 % 2 != 0) {
return nonNull;
}
throw null;
}
public static /* synthetic */ C0597Kh e(JPY jpy) {
return (C0597Kh) a(new Object[]{jpy}, 1268997703, -1268997702, (int) System.currentTimeMillis());
}
}