1016 lines
36 KiB
Java
1016 lines
36 KiB
Java
package com.scb.phone.view.fragment.ebillsubscription;
|
|
|
|
import android.content.Intent;
|
|
import android.graphics.drawable.Drawable;
|
|
import android.os.Bundle;
|
|
import android.os.SystemClock;
|
|
import android.telephony.cdma.CdmaCellLocation;
|
|
import android.text.Editable;
|
|
import android.text.TextUtils;
|
|
import android.text.TextWatcher;
|
|
import android.view.Gravity;
|
|
import android.view.KeyEvent;
|
|
import android.view.LayoutInflater;
|
|
import android.view.View;
|
|
import android.view.ViewConfiguration;
|
|
import android.view.ViewGroup;
|
|
import android.widget.AdapterView;
|
|
import android.widget.ArrayAdapter;
|
|
import android.widget.EditText;
|
|
import android.widget.ExpandableListView;
|
|
import android.widget.Spinner;
|
|
import android.widget.SpinnerAdapter;
|
|
import android.widget.TextView;
|
|
import butterknife.BindView;
|
|
import butterknife.ButterKnife;
|
|
import butterknife.OnClick;
|
|
import butterknife.OnEditorAction;
|
|
import com.scb.phone.R;
|
|
import com.scb.phone.view.activity.ebillsubscription.EBillSubscriptionReviewActivity;
|
|
import com.scb.phone.view.custom.ScbEditText;
|
|
import com.scb.phone.view.custom.common.DefaultButton;
|
|
import com.scb.phone.view.custom.transferandpay.CustomTransferAndPayBiller;
|
|
import com.scb.phone.view.fragment.BaseFragment;
|
|
import com.scb.phone.view.fragment.ebillsubscription.EbillSubscriptionInputFragment;
|
|
import java.lang.reflect.Method;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
import net.sf.scuba.smartcards.ISOFileInfo;
|
|
import o.C0688Mf;
|
|
import o.C0689Mg;
|
|
import o.C1189Xo;
|
|
import o.C1193Xr;
|
|
import o.C4647beC;
|
|
import o.C6583cXR;
|
|
import o.IaV;
|
|
import o.InterfaceC13391fZD;
|
|
import o.ZI;
|
|
import o.cYS;
|
|
import o.nMh;
|
|
import o.xzZ;
|
|
import o.zUI;
|
|
import org.bouncycastle.crypto.tls.CipherSuite;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public class EbillSubscriptionInputFragment extends Hilt_EbillSubscriptionInputFragment implements cYS.LWm {
|
|
private C1193Xr c;
|
|
|
|
@BindView
|
|
CustomTransferAndPayBiller customBillerDetail;
|
|
|
|
@BindView
|
|
Spinner customSpinner;
|
|
|
|
@InterfaceC13391fZD
|
|
public C4647beC eBillSubscriptionInputPresenter;
|
|
private ArrayAdapter<C0689Mg> j;
|
|
|
|
@BindView
|
|
DefaultButton mButton;
|
|
|
|
@BindView
|
|
ScbEditText ref1EditText;
|
|
|
|
@BindView
|
|
TextView ref1Label;
|
|
|
|
@BindView
|
|
ScbEditText ref2EditText;
|
|
|
|
@BindView
|
|
TextView ref2Label;
|
|
|
|
@BindView
|
|
ScbEditText ref3EditText;
|
|
|
|
@BindView
|
|
TextView ref3Label;
|
|
|
|
@BindView
|
|
TextView tvErrorRef1;
|
|
|
|
@BindView
|
|
TextView tvErrorRef2;
|
|
|
|
@BindView
|
|
TextView tvErrorRef3;
|
|
private static final byte[] $$a = {53, ISOFileInfo.A5, 77, -13};
|
|
private static final int $$b = CipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int l = 0;
|
|
|
|
/* renamed from: o, reason: collision with root package name */
|
|
private static int f8038o = 1;
|
|
private static int n = 2015661626;
|
|
private List<C0689Mg> f = new ArrayList();
|
|
private boolean g = false;
|
|
private boolean m = false;
|
|
private boolean k = false;
|
|
private String i = "";
|
|
private String d = "";
|
|
private String h = "";
|
|
|
|
public static /* synthetic */ Object c(Object[] objArr, int i, int i2, int i3) {
|
|
int i4 = ~i;
|
|
int i5 = (i * (-432)) + (i2 * 434) + ((~((~i3) | i4 | i2)) * 433) + (((~((~i2) | i3)) | i4) * (-433)) + (((~(i | i2)) | (~(i3 | i4))) * 433);
|
|
if (i5 == 1) {
|
|
return b(objArr);
|
|
}
|
|
if (i5 == 2) {
|
|
return e(objArr);
|
|
}
|
|
if (i5 == 3) {
|
|
return a(objArr);
|
|
}
|
|
if (i5 != 4) {
|
|
return c(objArr);
|
|
}
|
|
EbillSubscriptionInputFragment ebillSubscriptionInputFragment = (EbillSubscriptionInputFragment) objArr[0];
|
|
boolean booleanValue = ((Boolean) objArr[1]).booleanValue();
|
|
int i6 = 2 % 2;
|
|
int i7 = f8038o + 109;
|
|
l = i7 % 128;
|
|
int i8 = i7 % 2;
|
|
ebillSubscriptionInputFragment.b(booleanValue);
|
|
int i9 = l + 31;
|
|
f8038o = i9 % 128;
|
|
int i10 = i9 % 2;
|
|
return null;
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0029 */
|
|
/* JADX WARN: Removed duplicated region for block: B:7:0x0021 */
|
|
/* JADX WARN: Type inference failed for: r8v2, types: [int] */
|
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0029 -> B:4:0x0030). Please report as a decompilation issue!!! */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
private static void q(short r6, byte r7, byte r8, java.lang.Object[] r9) {
|
|
/*
|
|
int r8 = r8 * 7
|
|
int r8 = r8 + 69
|
|
byte[] r0 = com.scb.phone.view.fragment.ebillsubscription.EbillSubscriptionInputFragment.$$a
|
|
int r6 = r6 * 2
|
|
int r6 = 3 - r6
|
|
int r7 = r7 * 2
|
|
int r1 = 1 - r7
|
|
byte[] r1 = new byte[r1]
|
|
r2 = 0
|
|
int r7 = 0 - r7
|
|
if (r0 != 0) goto L19
|
|
r4 = r8
|
|
r3 = r2
|
|
r8 = r6
|
|
goto L30
|
|
L19:
|
|
r3 = r2
|
|
L1a:
|
|
byte r4 = (byte) r8
|
|
r1[r3] = r4
|
|
int r6 = r6 + 1
|
|
if (r3 != r7) goto L29
|
|
java.lang.String r6 = new java.lang.String
|
|
r6.<init>(r1, r2)
|
|
r9[r2] = r6
|
|
return
|
|
L29:
|
|
int r3 = r3 + 1
|
|
r4 = r0[r6]
|
|
r5 = r8
|
|
r8 = r6
|
|
r6 = r5
|
|
L30:
|
|
int r4 = -r4
|
|
int r6 = r6 + r4
|
|
r5 = r8
|
|
r8 = r6
|
|
r6 = r5
|
|
goto L1a
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.ebillsubscription.EbillSubscriptionInputFragment.q(short, byte, byte, java.lang.Object[]):void");
|
|
}
|
|
|
|
public static EbillSubscriptionInputFragment e(C1193Xr c1193Xr) {
|
|
int i = 2 % 2;
|
|
EbillSubscriptionInputFragment ebillSubscriptionInputFragment = new EbillSubscriptionInputFragment();
|
|
Bundle bundle = new Bundle();
|
|
bundle.putParcelable("com.scb.phone.EXTRA_BILL_PAYMENT_DISPLAY", c1193Xr);
|
|
ebillSubscriptionInputFragment.setArguments(bundle);
|
|
int i2 = f8038o + 57;
|
|
l = i2 % 128;
|
|
if (i2 % 2 != 0) {
|
|
int i3 = 81 / 0;
|
|
}
|
|
return ebillSubscriptionInputFragment;
|
|
}
|
|
|
|
private static void p(int i, int i2, int i3, char[] cArr, boolean z, Object[] objArr) {
|
|
int i4 = 2 % 2;
|
|
zUI zui = new zUI();
|
|
char[] cArr2 = new char[i];
|
|
zui.d = 0;
|
|
while (zui.d < i) {
|
|
zui.c = cArr[zui.d];
|
|
cArr2[zui.d] = (char) (i3 + zui.c);
|
|
int i5 = zui.d;
|
|
try {
|
|
Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(n)};
|
|
Object obj = xzZ.y.get(880493502);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c(144 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), Drawable.resolveOpacity(0, 0) + 7, (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)));
|
|
byte b = (byte) 0;
|
|
byte b2 = b;
|
|
Object[] objArr3 = new Object[1];
|
|
q(b, b2, b2, objArr3);
|
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
|
|
xzZ.y.put(880493502, obj);
|
|
}
|
|
cArr2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
|
Object[] objArr4 = {zui, zui};
|
|
Object obj2 = xzZ.y.get(1294990079);
|
|
if (obj2 == null) {
|
|
Class cls2 = (Class) xzZ.c(342 - View.getDefaultSize(0, 0), 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1));
|
|
byte b3 = (byte) 0;
|
|
byte b4 = b3;
|
|
Object[] objArr5 = new Object[1];
|
|
q(b3, b4, (byte) (b4 + 1), objArr5);
|
|
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
|
|
xzZ.y.put(1294990079, obj2);
|
|
}
|
|
((Method) obj2).invoke(null, objArr4);
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
if (i2 > 0) {
|
|
int i6 = $11 + 35;
|
|
$10 = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
zui.a = i2;
|
|
char[] cArr3 = new char[i];
|
|
System.arraycopy(cArr2, 0, cArr3, 0, i);
|
|
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
|
|
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
|
|
}
|
|
if (!(!z)) {
|
|
int i8 = $11 + 89;
|
|
$10 = i8 % 128;
|
|
int i9 = i8 % 2;
|
|
char[] cArr4 = new char[i];
|
|
zui.d = 0;
|
|
while (zui.d < i) {
|
|
int i10 = $11 + 45;
|
|
$10 = i10 % 128;
|
|
int i11 = i10 % 2;
|
|
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
|
|
Object[] objArr6 = {zui, zui};
|
|
Object obj3 = xzZ.y.get(1294990079);
|
|
if (obj3 == null) {
|
|
Class cls3 = (Class) xzZ.c((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 342, (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) Gravity.getAbsoluteGravity(0, 0));
|
|
byte b5 = (byte) 0;
|
|
byte b6 = b5;
|
|
Object[] objArr7 = new Object[1];
|
|
q(b5, b6, (byte) (b6 + 1), objArr7);
|
|
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
|
|
xzZ.y.put(1294990079, obj3);
|
|
}
|
|
((Method) obj3).invoke(null, objArr6);
|
|
}
|
|
cArr2 = cArr4;
|
|
}
|
|
objArr[0] = new String(cArr2);
|
|
}
|
|
|
|
@Override // androidx.fragment.app.Fragment
|
|
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
|
int i = 2 % 2;
|
|
View inflate = layoutInflater.inflate(R.layout.2131559626, viewGroup, false);
|
|
((BaseFragment) this).a = ButterKnife.c(this, inflate);
|
|
this.eBillSubscriptionInputPresenter.e((C4647beC) this);
|
|
Bundle arguments = getArguments();
|
|
if (arguments != null) {
|
|
int i2 = l + 109;
|
|
f8038o = i2 % 128;
|
|
if (i2 % 2 == 0) {
|
|
this.c = (C1193Xr) arguments.getParcelable("com.scb.phone.EXTRA_BILL_PAYMENT_DISPLAY");
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
this.c = (C1193Xr) arguments.getParcelable("com.scb.phone.EXTRA_BILL_PAYMENT_DISPLAY");
|
|
int i3 = l + 11;
|
|
f8038o = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
}
|
|
d();
|
|
g();
|
|
f();
|
|
j();
|
|
c(new Object[]{this}, 1104032845, -1104032843, System.identityHashCode(this));
|
|
i();
|
|
return inflate;
|
|
}
|
|
|
|
private void f() {
|
|
int i = 2 % 2;
|
|
C4647beC c4647beC = this.eBillSubscriptionInputPresenter;
|
|
final C1193Xr c1193Xr = this.c;
|
|
ZI.IeS ieS = new ZI.IeS(c1193Xr) { // from class: o.beE
|
|
private C1193Xr e;
|
|
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
C4647beC.d(this.e, (cYS.LWm) obj);
|
|
}
|
|
|
|
{
|
|
this.e = c1193Xr;
|
|
}
|
|
};
|
|
if (c4647beC.f != 0) {
|
|
int i2 = f8038o + 119;
|
|
int i3 = i2 % 128;
|
|
l = i3;
|
|
int i4 = i2 % 2;
|
|
int i5 = i3 + 85;
|
|
f8038o = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
ieS.e(c4647beC.f);
|
|
}
|
|
}
|
|
|
|
private void g() {
|
|
int i = 2 % 2;
|
|
C4647beC c4647beC = this.eBillSubscriptionInputPresenter;
|
|
byte b = 0;
|
|
if (c4647beC.f != 0) {
|
|
int i2 = f8038o + 11;
|
|
l = i2 % 128;
|
|
if (i2 % 2 == 0) {
|
|
c4647beC.f.v();
|
|
int i3 = f8038o + 59;
|
|
l = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
}
|
|
}
|
|
c4647beC.d.a();
|
|
IaV iaV = c4647beC.d;
|
|
iaV.d(iaV.i, new C4647beC.HBt(c4647beC, b));
|
|
}
|
|
|
|
@Override // o.cYS.LWm
|
|
public final void b(List<C0688Mf> list) {
|
|
int i = 2 % 2;
|
|
if (list != null) {
|
|
ArrayList arrayList = new ArrayList();
|
|
this.f = arrayList;
|
|
arrayList.add(new C0689Mg(getString(R.string.select_proxy), "DEFAULT", ""));
|
|
int i2 = 0;
|
|
while (i2 < list.size()) {
|
|
this.f.add(new C0689Mg(C6583cXR.c(list.get(i2).b, list.get(i2).d), list.get(i2).b, list.get(i2).a));
|
|
i2++;
|
|
int i3 = f8038o + 17;
|
|
l = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
}
|
|
if (this.j == null) {
|
|
ArrayAdapter<C0689Mg> arrayAdapter = new ArrayAdapter<C0689Mg>(this, getActivity(), this.f) { // from class: com.scb.phone.view.fragment.ebillsubscription.EbillSubscriptionInputFragment.3
|
|
private EbillSubscriptionInputFragment b;
|
|
|
|
{
|
|
this.b = this;
|
|
}
|
|
|
|
@Override // android.widget.ArrayAdapter, android.widget.Adapter
|
|
public final View getView(int i5, View view, ViewGroup viewGroup) {
|
|
View view2 = super.getView(i5, view, viewGroup);
|
|
TextView textView = (TextView) view2;
|
|
if (i5 == 0) {
|
|
textView.setTextColor(nMh.getColor(getContext(), R.color.f3412131099849));
|
|
} else {
|
|
textView.setTextColor(nMh.getColor(getContext(), R.color.f2982131099805));
|
|
}
|
|
return view2;
|
|
}
|
|
|
|
@Override // android.widget.ArrayAdapter, android.widget.BaseAdapter, android.widget.SpinnerAdapter
|
|
public final View getDropDownView(int i5, View view, ViewGroup viewGroup) {
|
|
View dropDownView = super.getDropDownView(i5, view, viewGroup);
|
|
TextView textView = (TextView) dropDownView;
|
|
if (i5 == 0) {
|
|
textView.setTextColor(nMh.getColor(getContext(), R.color.f3412131099849));
|
|
} else {
|
|
textView.setTextColor(nMh.getColor(getContext(), R.color.f2982131099805));
|
|
}
|
|
return dropDownView;
|
|
}
|
|
};
|
|
this.j = arrayAdapter;
|
|
this.customSpinner.setAdapter((SpinnerAdapter) arrayAdapter);
|
|
this.customSpinner.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener(this) { // from class: com.scb.phone.view.fragment.ebillsubscription.EbillSubscriptionInputFragment.2
|
|
private EbillSubscriptionInputFragment c;
|
|
|
|
@Override // android.widget.AdapterView.OnItemSelectedListener
|
|
public final void onNothingSelected(AdapterView<?> adapterView) {
|
|
}
|
|
|
|
{
|
|
this.c = this;
|
|
}
|
|
|
|
@Override // android.widget.AdapterView.OnItemSelectedListener
|
|
public final void onItemSelected(AdapterView<?> adapterView, View view, int i5, long j) {
|
|
EbillSubscriptionInputFragment ebillSubscriptionInputFragment = this.c;
|
|
EbillSubscriptionInputFragment.e(ebillSubscriptionInputFragment, ((C0689Mg) EbillSubscriptionInputFragment.c(ebillSubscriptionInputFragment).get(i5)).a);
|
|
EbillSubscriptionInputFragment ebillSubscriptionInputFragment2 = this.c;
|
|
EbillSubscriptionInputFragment.b(ebillSubscriptionInputFragment2, ((C0689Mg) EbillSubscriptionInputFragment.c(ebillSubscriptionInputFragment2).get(i5)).c);
|
|
EbillSubscriptionInputFragment ebillSubscriptionInputFragment3 = this.c;
|
|
EbillSubscriptionInputFragment.c(ebillSubscriptionInputFragment3, ((C0689Mg) EbillSubscriptionInputFragment.c(ebillSubscriptionInputFragment3).get(i5)).b);
|
|
EbillSubscriptionInputFragment.c(new Object[]{this.c}, -2118589136, 2118589136, (int) System.currentTimeMillis());
|
|
}
|
|
});
|
|
int i5 = l + 77;
|
|
f8038o = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
}
|
|
}
|
|
}
|
|
|
|
private static /* synthetic */ Object b(Object[] objArr) {
|
|
EbillSubscriptionInputFragment ebillSubscriptionInputFragment = (EbillSubscriptionInputFragment) objArr[0];
|
|
C1193Xr c1193Xr = (C1193Xr) objArr[1];
|
|
int i = 2 % 2;
|
|
if (c1193Xr != null) {
|
|
int i2 = l + 59;
|
|
f8038o = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
ebillSubscriptionInputFragment.customBillerDetail.mBackButton.setVisibility(8);
|
|
ebillSubscriptionInputFragment.customBillerDetail.setTitle(c1193Xr.e());
|
|
ebillSubscriptionInputFragment.customBillerDetail.setDescription(c1193Xr.h);
|
|
ebillSubscriptionInputFragment.customBillerDetail.setAvatar(c1193Xr.c());
|
|
}
|
|
int i4 = f8038o + 39;
|
|
l = i4 % 128;
|
|
if (i4 % 2 == 0) {
|
|
return null;
|
|
}
|
|
throw null;
|
|
}
|
|
|
|
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
|
|
/* JADX WARN: Code restructure failed: missing block: B:24:0x00be, code lost:
|
|
|
|
if (r1.equals(((java.lang.String) r2[0]).intern()) != false) goto L18;
|
|
*/
|
|
@Override // o.cYS.LWm
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final void b(o.C1193Xr r13) {
|
|
/*
|
|
Method dump skipped, instructions count: 268
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.ebillsubscription.EbillSubscriptionInputFragment.b(o.Xr):void");
|
|
}
|
|
|
|
private void a(C1193Xr c1193Xr) {
|
|
int i = 2 % 2;
|
|
int i2 = f8038o + 3;
|
|
l = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
this.ref1Label.setText(c1193Xr.F);
|
|
this.ref1EditText.setHint(c1193Xr.G);
|
|
this.ref1EditText.setImeOptions(5);
|
|
this.ref2Label.setText(c1193Xr.M);
|
|
this.ref2Label.setVisibility(0);
|
|
this.ref2EditText.setHint(c1193Xr.H);
|
|
this.ref2EditText.setVisibility(0);
|
|
this.ref2EditText.setImeOptions(6);
|
|
int i4 = f8038o + 65;
|
|
l = i4 % 128;
|
|
if (i4 % 2 != 0) {
|
|
throw null;
|
|
}
|
|
}
|
|
|
|
private void c(C1193Xr c1193Xr) {
|
|
int i = 2 % 2;
|
|
int i2 = f8038o + 31;
|
|
l = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
this.ref1Label.setText(c1193Xr.F);
|
|
this.ref1EditText.setHint(c1193Xr.G);
|
|
this.ref1EditText.setImeOptions(5);
|
|
this.ref2Label.setText(c1193Xr.M);
|
|
this.ref2Label.setVisibility(0);
|
|
this.ref2EditText.setHint(c1193Xr.H);
|
|
this.ref2EditText.setVisibility(0);
|
|
this.ref2EditText.setImeOptions(5);
|
|
this.ref3Label.setText(c1193Xr.L);
|
|
this.ref3Label.setVisibility(0);
|
|
this.ref3EditText.setHint(c1193Xr.I);
|
|
this.ref3EditText.setVisibility(0);
|
|
this.ref3EditText.setImeOptions(6);
|
|
int i4 = f8038o + 117;
|
|
l = i4 % 128;
|
|
if (i4 % 2 == 0) {
|
|
return;
|
|
}
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
private void j() {
|
|
int i = 2 % 2;
|
|
this.ref1EditText.addTextChangedListener(new TextWatcher(this) { // from class: com.scb.phone.view.fragment.ebillsubscription.EbillSubscriptionInputFragment.1
|
|
private EbillSubscriptionInputFragment e;
|
|
|
|
@Override // android.text.TextWatcher
|
|
public final void beforeTextChanged(CharSequence charSequence, int i2, int i3, int i4) {
|
|
}
|
|
|
|
@Override // android.text.TextWatcher
|
|
public final void onTextChanged(CharSequence charSequence, int i2, int i3, int i4) {
|
|
}
|
|
|
|
{
|
|
this.e = this;
|
|
}
|
|
|
|
@Override // android.text.TextWatcher
|
|
public final void afterTextChanged(Editable editable) {
|
|
EbillSubscriptionInputFragment.d(this.e, EbillSubscriptionInputFragment.b(editable.toString()));
|
|
EbillSubscriptionInputFragment.c(new Object[]{this.e}, -2118589136, 2118589136, (int) System.currentTimeMillis());
|
|
}
|
|
});
|
|
this.ref1EditText.setOnFocusChangeListener(new View.OnFocusChangeListener(this) { // from class: o.eYa
|
|
private EbillSubscriptionInputFragment b;
|
|
|
|
@Override // android.view.View.OnFocusChangeListener
|
|
public final void onFocusChange(View view, boolean z) {
|
|
EbillSubscriptionInputFragment.c(new Object[]{this.b, Boolean.valueOf(z)}, 132250301, -132250298, (int) System.currentTimeMillis());
|
|
}
|
|
|
|
{
|
|
this.b = this;
|
|
}
|
|
});
|
|
int i2 = f8038o + 73;
|
|
l = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
}
|
|
|
|
private /* synthetic */ void e(boolean z) {
|
|
int i = 2 % 2;
|
|
int i2 = f8038o + 111;
|
|
l = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
asL_(this.ref1EditText, this.tvErrorRef1, z);
|
|
int i4 = f8038o + 77;
|
|
l = i4 % 128;
|
|
if (i4 % 2 != 0) {
|
|
int i5 = 5 / 0;
|
|
}
|
|
}
|
|
|
|
private static /* synthetic */ Object e(Object[] objArr) {
|
|
final EbillSubscriptionInputFragment ebillSubscriptionInputFragment = (EbillSubscriptionInputFragment) objArr[0];
|
|
int i = 2 % 2;
|
|
ebillSubscriptionInputFragment.ref2EditText.addTextChangedListener(new TextWatcher(ebillSubscriptionInputFragment) { // from class: com.scb.phone.view.fragment.ebillsubscription.EbillSubscriptionInputFragment.4
|
|
private EbillSubscriptionInputFragment b;
|
|
|
|
@Override // android.text.TextWatcher
|
|
public final void beforeTextChanged(CharSequence charSequence, int i2, int i3, int i4) {
|
|
}
|
|
|
|
@Override // android.text.TextWatcher
|
|
public final void onTextChanged(CharSequence charSequence, int i2, int i3, int i4) {
|
|
}
|
|
|
|
{
|
|
this.b = ebillSubscriptionInputFragment;
|
|
}
|
|
|
|
@Override // android.text.TextWatcher
|
|
public final void afterTextChanged(Editable editable) {
|
|
EbillSubscriptionInputFragment.b(this.b, EbillSubscriptionInputFragment.b(editable.toString()));
|
|
EbillSubscriptionInputFragment.c(new Object[]{this.b}, -2118589136, 2118589136, (int) System.currentTimeMillis());
|
|
}
|
|
});
|
|
ebillSubscriptionInputFragment.ref2EditText.setOnFocusChangeListener(new View.OnFocusChangeListener(ebillSubscriptionInputFragment) { // from class: o.eYb
|
|
private EbillSubscriptionInputFragment a;
|
|
|
|
@Override // android.view.View.OnFocusChangeListener
|
|
public final void onFocusChange(View view, boolean z) {
|
|
EbillSubscriptionInputFragment.c(this.a, z);
|
|
}
|
|
|
|
{
|
|
this.a = ebillSubscriptionInputFragment;
|
|
}
|
|
});
|
|
int i2 = l + 21;
|
|
f8038o = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
return null;
|
|
}
|
|
|
|
private /* synthetic */ void d(boolean z) {
|
|
int i = 2 % 2;
|
|
int i2 = l + 51;
|
|
f8038o = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
asL_(this.ref2EditText, this.tvErrorRef2, z);
|
|
int i4 = l + 119;
|
|
f8038o = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
}
|
|
|
|
@OnEditorAction
|
|
public boolean onRefEnter(EditText editText, int i, KeyEvent keyEvent) {
|
|
TextView textView;
|
|
int i2 = 2 % 2;
|
|
int i3 = l;
|
|
int i4 = i3 + 123;
|
|
f8038o = i4 % 128;
|
|
if (i4 % 2 != 0 ? i == 6 : i == 79) {
|
|
int i5 = i3 + 23;
|
|
f8038o = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
switch (editText.getId()) {
|
|
case R.id.reference_edit_text2 /* 2131366190 */:
|
|
textView = this.tvErrorRef2;
|
|
break;
|
|
case R.id.reference_edit_text3 /* 2131366191 */:
|
|
textView = this.tvErrorRef3;
|
|
break;
|
|
default:
|
|
textView = this.tvErrorRef1;
|
|
break;
|
|
}
|
|
aN_();
|
|
if (getView() != null) {
|
|
getView().getRootView().requestFocus();
|
|
}
|
|
asL_((ScbEditText) editText, textView, false);
|
|
int i7 = f8038o + 71;
|
|
l = i7 % 128;
|
|
int i8 = i7 % 2;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
private static boolean c(String str) {
|
|
int i = 2 % 2;
|
|
int i2 = l + 65;
|
|
f8038o = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
boolean z = !str.isEmpty();
|
|
int i4 = l + 109;
|
|
f8038o = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
return z;
|
|
}
|
|
|
|
private void i() {
|
|
int i = 2 % 2;
|
|
this.ref3EditText.addTextChangedListener(new TextWatcher(this) { // from class: com.scb.phone.view.fragment.ebillsubscription.EbillSubscriptionInputFragment.5
|
|
private EbillSubscriptionInputFragment a;
|
|
|
|
@Override // android.text.TextWatcher
|
|
public final void beforeTextChanged(CharSequence charSequence, int i2, int i3, int i4) {
|
|
}
|
|
|
|
@Override // android.text.TextWatcher
|
|
public final void onTextChanged(CharSequence charSequence, int i2, int i3, int i4) {
|
|
}
|
|
|
|
{
|
|
this.a = this;
|
|
}
|
|
|
|
@Override // android.text.TextWatcher
|
|
public final void afterTextChanged(Editable editable) {
|
|
EbillSubscriptionInputFragment.j(this.a, EbillSubscriptionInputFragment.b(editable.toString()));
|
|
EbillSubscriptionInputFragment.c(new Object[]{this.a}, -2118589136, 2118589136, (int) System.currentTimeMillis());
|
|
}
|
|
});
|
|
this.ref3EditText.setOnFocusChangeListener(new View.OnFocusChangeListener(this) { // from class: o.eXY
|
|
private EbillSubscriptionInputFragment d;
|
|
|
|
@Override // android.view.View.OnFocusChangeListener
|
|
public final void onFocusChange(View view, boolean z) {
|
|
EbillSubscriptionInputFragment.c(new Object[]{this.d, Boolean.valueOf(z)}, -2081918971, 2081918975, (int) System.currentTimeMillis());
|
|
}
|
|
|
|
{
|
|
this.d = this;
|
|
}
|
|
});
|
|
int i2 = l + 115;
|
|
f8038o = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
}
|
|
|
|
private /* synthetic */ void b(boolean z) {
|
|
int i = 2 % 2;
|
|
int i2 = l + 27;
|
|
f8038o = i2 % 128;
|
|
if (i2 % 2 == 0) {
|
|
asL_(this.ref3EditText, this.tvErrorRef3, z);
|
|
int i3 = 17 / 0;
|
|
} else {
|
|
asL_(this.ref3EditText, this.tvErrorRef3, z);
|
|
}
|
|
int i4 = f8038o + 67;
|
|
l = i4 % 128;
|
|
if (i4 % 2 != 0) {
|
|
throw null;
|
|
}
|
|
}
|
|
|
|
private static void asL_(ScbEditText scbEditText, TextView textView, boolean z) {
|
|
int i = 2 % 2;
|
|
int i2 = l;
|
|
int i3 = i2 + 111;
|
|
f8038o = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
if (!z) {
|
|
int i5 = i2 + 31;
|
|
f8038o = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
if (TextUtils.isEmpty(scbEditText.getText())) {
|
|
int i7 = l + 117;
|
|
f8038o = i7 % 128;
|
|
if (i7 % 2 == 0) {
|
|
textView.setVisibility(0);
|
|
scbEditText.setInvalidInput(false);
|
|
return;
|
|
} else {
|
|
textView.setVisibility(0);
|
|
scbEditText.setInvalidInput(true);
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
textView.setVisibility(8);
|
|
scbEditText.setInvalidInput(false);
|
|
}
|
|
|
|
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
|
|
private void d() {
|
|
char c;
|
|
int i = 2 % 2;
|
|
int i2 = f8038o + 21;
|
|
l = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
boolean z = false;
|
|
if (!TextUtils.equals(this.h, "DEFAULT")) {
|
|
int i4 = f8038o + 29;
|
|
l = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
String str = this.c.P;
|
|
str.hashCode();
|
|
switch (str.hashCode()) {
|
|
case 1537:
|
|
Object[] objArr = new Object[1];
|
|
p(TextUtils.getCapsMode("", 0, 0) + 2, ExpandableListView.getPackedPositionChild(0L) + 3, TextUtils.getOffsetAfter("", 0) + 77, new char[]{0, 1}, false, objArr);
|
|
if (str.equals(((String) objArr[0]).intern())) {
|
|
int i6 = l + 83;
|
|
f8038o = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
c = 0;
|
|
break;
|
|
}
|
|
c = 65535;
|
|
break;
|
|
case 1538:
|
|
Object[] objArr2 = new Object[1];
|
|
p(KeyEvent.getDeadChar(0, 0) + 2, 2 - TextUtils.getCapsMode("", 0, 0), TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 79, new char[]{1, 65535}, true, objArr2);
|
|
if (str.equals(((String) objArr2[0]).intern())) {
|
|
c = 1;
|
|
break;
|
|
}
|
|
c = 65535;
|
|
break;
|
|
case 1539:
|
|
Object[] objArr3 = new Object[1];
|
|
p(2 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), ExpandableListView.getPackedPositionType(0L) + 1, 79 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), new char[]{65535, 2}, true, objArr3);
|
|
if (str.equals(((String) objArr3[0]).intern())) {
|
|
int i8 = f8038o + 17;
|
|
l = i8 % 128;
|
|
int i9 = i8 % 2;
|
|
c = 2;
|
|
break;
|
|
}
|
|
c = 65535;
|
|
break;
|
|
default:
|
|
c = 65535;
|
|
break;
|
|
}
|
|
if (c == 0) {
|
|
z = this.g;
|
|
} else if (c == 1 ? !(!this.g || !this.m) : !(c != 2 || !this.g || !this.m || !this.k)) {
|
|
z = true;
|
|
}
|
|
}
|
|
if (this.mButton.isEnabled() != z) {
|
|
this.mButton.setButtonEnabled(z);
|
|
}
|
|
int i10 = l + 121;
|
|
f8038o = i10 % 128;
|
|
int i11 = i10 % 2;
|
|
}
|
|
|
|
@OnClick
|
|
public void onReviewButtonClick() {
|
|
int i = 2 % 2;
|
|
String obj = this.ref1EditText.getText().toString();
|
|
String obj2 = this.ref2EditText.getText().toString();
|
|
String obj3 = this.ref3EditText.getText().toString();
|
|
String v = C6583cXR.v(this.i);
|
|
String str = this.h;
|
|
String str2 = this.d;
|
|
Intent intent = new Intent(getContext(), (Class<?>) EBillSubscriptionReviewActivity.class);
|
|
C1193Xr c1193Xr = this.c;
|
|
c1193Xr.K = obj;
|
|
c1193Xr.J = obj2;
|
|
c1193Xr.N = obj3;
|
|
C1189Xo h = C1189Xo.h();
|
|
h.U = v;
|
|
h.Y = str;
|
|
h.af = str2;
|
|
intent.putExtra("com.scb.phone.EXTRA_BILL_PAYMENT_DISPLAY", c1193Xr);
|
|
intent.putExtra("com.scb.phone.EXTRA_REVIEW", h);
|
|
startActivity(intent);
|
|
int i2 = f8038o + 81;
|
|
l = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
}
|
|
|
|
private static /* synthetic */ Object a(Object[] objArr) {
|
|
EbillSubscriptionInputFragment ebillSubscriptionInputFragment = (EbillSubscriptionInputFragment) objArr[0];
|
|
boolean booleanValue = ((Boolean) objArr[1]).booleanValue();
|
|
int i = 2 % 2;
|
|
int i2 = l + 23;
|
|
f8038o = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
ebillSubscriptionInputFragment.e(booleanValue);
|
|
int i4 = l + 45;
|
|
f8038o = i4 % 128;
|
|
if (i4 % 2 == 0) {
|
|
int i5 = 9 / 0;
|
|
}
|
|
return null;
|
|
}
|
|
|
|
private static /* synthetic */ Object c(Object[] objArr) {
|
|
EbillSubscriptionInputFragment ebillSubscriptionInputFragment = (EbillSubscriptionInputFragment) objArr[0];
|
|
int i = 2 % 2;
|
|
int i2 = f8038o + 67;
|
|
l = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
ebillSubscriptionInputFragment.d();
|
|
int i4 = l + 97;
|
|
f8038o = i4 % 128;
|
|
Object obj = null;
|
|
if (i4 % 2 != 0) {
|
|
return null;
|
|
}
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
@Override // o.cYS.LWm
|
|
public final void d(C1193Xr c1193Xr) {
|
|
c(new Object[]{this, c1193Xr}, 1486270619, -1486270618, System.identityHashCode(this));
|
|
}
|
|
|
|
private void h() {
|
|
c(new Object[]{this}, 1104032845, -1104032843, System.identityHashCode(this));
|
|
}
|
|
|
|
static /* synthetic */ boolean b(String str) {
|
|
int i = 2 % 2;
|
|
int i2 = l + 91;
|
|
f8038o = i2 % 128;
|
|
if (i2 % 2 != 0) {
|
|
return c(str);
|
|
}
|
|
c(str);
|
|
throw null;
|
|
}
|
|
|
|
static /* synthetic */ void j(EbillSubscriptionInputFragment ebillSubscriptionInputFragment, boolean z) {
|
|
int i = 2 % 2;
|
|
int i2 = l + 37;
|
|
f8038o = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
ebillSubscriptionInputFragment.k = z;
|
|
if (i3 != 0) {
|
|
return;
|
|
}
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
static /* bridge */ /* synthetic */ void b(EbillSubscriptionInputFragment ebillSubscriptionInputFragment, boolean z) {
|
|
int i = 2 % 2;
|
|
int i2 = l;
|
|
int i3 = i2 + 71;
|
|
f8038o = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
ebillSubscriptionInputFragment.m = z;
|
|
int i5 = i2 + 41;
|
|
f8038o = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
}
|
|
|
|
static /* bridge */ /* synthetic */ void d(EbillSubscriptionInputFragment ebillSubscriptionInputFragment, boolean z) {
|
|
int i = 2 % 2;
|
|
int i2 = f8038o + 5;
|
|
l = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
ebillSubscriptionInputFragment.g = z;
|
|
if (i3 != 0) {
|
|
int i4 = 58 / 0;
|
|
}
|
|
}
|
|
|
|
static /* bridge */ /* synthetic */ void b(EbillSubscriptionInputFragment ebillSubscriptionInputFragment, String str) {
|
|
int i = 2 % 2;
|
|
int i2 = f8038o;
|
|
int i3 = i2 + 13;
|
|
l = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
ebillSubscriptionInputFragment.h = str;
|
|
int i5 = i2 + 85;
|
|
l = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
}
|
|
|
|
static /* synthetic */ void e(EbillSubscriptionInputFragment ebillSubscriptionInputFragment, String str) {
|
|
int i = 2 % 2;
|
|
int i2 = l + 121;
|
|
f8038o = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
ebillSubscriptionInputFragment.i = str;
|
|
if (i3 != 0) {
|
|
return;
|
|
}
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
static /* bridge */ /* synthetic */ void c(EbillSubscriptionInputFragment ebillSubscriptionInputFragment, String str) {
|
|
int i = 2 % 2;
|
|
int i2 = f8038o + 77;
|
|
int i3 = i2 % 128;
|
|
l = i3;
|
|
int i4 = i2 % 2;
|
|
ebillSubscriptionInputFragment.d = str;
|
|
int i5 = i3 + 31;
|
|
f8038o = i5 % 128;
|
|
if (i5 % 2 == 0) {
|
|
int i6 = 81 / 0;
|
|
}
|
|
}
|
|
|
|
static /* bridge */ /* synthetic */ List c(EbillSubscriptionInputFragment ebillSubscriptionInputFragment) {
|
|
int i = 2 % 2;
|
|
int i2 = l + 105;
|
|
int i3 = i2 % 128;
|
|
f8038o = i3;
|
|
int i4 = i2 % 2;
|
|
List<C0689Mg> list = ebillSubscriptionInputFragment.f;
|
|
int i5 = i3 + 69;
|
|
l = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
return list;
|
|
}
|
|
|
|
public static /* synthetic */ void c(EbillSubscriptionInputFragment ebillSubscriptionInputFragment, boolean z) {
|
|
int i = 2 % 2;
|
|
int i2 = f8038o + 105;
|
|
l = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
ebillSubscriptionInputFragment.d(z);
|
|
int i4 = f8038o + 113;
|
|
l = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
}
|
|
}
|