what-the-bank/sources/com/scb/phone/view/fragment/etb/EtbSetDetailFragment.java

1139 lines
40 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.fragment.etb;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.ExpandableListView;
import android.widget.LinearLayout;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnCheckedChanged;
import butterknife.OnClick;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.android.material.textfield.TextInputLayout;
import com.google.common.base.Ascii;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.etb.ETBSetDetailNoteActivity;
import com.scb.phone.view.custom.common.AmountEditText;
import com.scb.phone.view.custom.common.CustomDialog;
import com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle;
import com.scb.phone.view.fragment.BaseFragment;
import com.scb.phone.view.fragment.etb.EtbSetDetailFragment;
import com.scb.phone.view.fragment.transferandpay.AccountSourceSelectFragment;
import java.lang.reflect.Method;
import java.util.List;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC13482fbE;
import o.C0698Mn;
import o.C0710Mv;
import o.C0714Mx;
import o.C1171Xc;
import o.C4813bhJ;
import o.C6583cXR;
import o.InterfaceC13391fZD;
import o.InterfaceC9273dgd;
import o.MYp;
import o.Tlu;
import o.UNo;
import o.WW;
import o.YE;
import o.dQY;
import o.fLM;
import o.nMh;
import o.xzZ;
import org.bouncycastle.crypto.signers.PSSSigner;
/* loaded from: classes5.dex */
public class EtbSetDetailFragment extends Hilt_EtbSetDetailFragment implements InterfaceC9273dgd.LWm, AccountSourceSelectFragment.Sts {
@BindView
protected Button buttonNext;
@BindView
CheckBox checkBoxConsent;
@BindView
protected CustomSpinnerWithTitle customSpinnerDateOfDeduction;
@BindView
protected CustomSpinnerWithTitle customSpinnerMainAccount;
private String d;
@InterfaceC13391fZD
public C4813bhJ etbSetDetailPresenter;
private int f;
private List<String> g;
private List<String> h;
private int i;
@BindView
protected TextView limitIncremental;
@BindView
protected TextInputLayout mAmountInputLayout;
@BindView
protected AmountEditText mAmountValue;
/* renamed from: o, reason: collision with root package name */
private String f8040o;
@BindView
protected TextView remainingLimit;
@BindView
protected TextView remainingLimitError;
@BindView
protected LinearLayout remainingLimitLinearLayout;
@BindView
protected TextView textRemainingLimit;
@BindView
TextView tvSelectAccountLabel;
private static final byte[] $$a = {55, PSSSigner.TRAILER_IMPLICIT, ISOFileInfo.LCS_BYTE, Ascii.SYN};
private static final int $$b = 235;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 0;
private static int t = 1;
private static char[] s = {36834};
private static long q = -3059469392248752551L;
private Double j = Double.valueOf(-1.0d);
private UNo m = new UNo();
private CustomSpinnerWithTitle.LWm l = new CustomSpinnerWithTitle.LWm(this) { // from class: com.scb.phone.view.fragment.etb.EtbSetDetailFragment.2
private EtbSetDetailFragment d;
@Override // com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle.LWm
public final void bn_() {
}
{
this.d = this;
}
@Override // com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle.LWm
public final void bo_() {
EtbSetDetailFragment etbSetDetailFragment = this.d;
EtbSetDetailFragment.a(etbSetDetailFragment, ((MYp) etbSetDetailFragment.customSpinnerDateOfDeduction.c.e()).c.getSelectedItemPosition());
C4813bhJ c4813bhJ = this.d.etbSetDetailPresenter;
C4813bhJ.b(new Object[]{c4813bhJ, this.d.customSpinnerDateOfDeduction.d()}, -1904587134, 1904587139, System.identityHashCode(c4813bhJ));
}
};
private final CustomSpinnerWithTitle.LWm n = new CustomSpinnerWithTitle.LWm(this) { // from class: com.scb.phone.view.fragment.etb.EtbSetDetailFragment.1
private EtbSetDetailFragment c;
@Override // com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle.LWm
public final void bn_() {
}
{
this.c = this;
}
@Override // com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle.LWm
public final void bo_() {
if (((MYp) this.c.customSpinnerMainAccount.c.e()).c.getSelectedItemPosition() > 0) {
EtbSetDetailFragment etbSetDetailFragment = this.c;
EtbSetDetailFragment.b(etbSetDetailFragment, ((MYp) etbSetDetailFragment.customSpinnerMainAccount.c.e()).c.getSelectedItemPosition());
C4813bhJ c4813bhJ = this.c.etbSetDetailPresenter;
int selectedItemPosition = ((MYp) this.c.customSpinnerMainAccount.c.e()).c.getSelectedItemPosition();
C4813bhJ.b(new Object[]{c4813bhJ, Integer.valueOf(selectedItemPosition)}, 1801898202, -1801898202, selectedItemPosition);
}
}
};
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = ~i2;
int i6 = (i * (-209)) + (i2 * (-209)) + ((~(i4 | i5)) * 210);
int i7 = ~i3;
int i8 = i6 + (((~(i5 | i7)) | (~(i4 | i3))) * 210) + (((~(i | i5 | i3)) | (~(i2 | i4 | i7))) * 210);
if (i8 == 1) {
return a(objArr);
}
if (i8 != 2) {
return i8 != 3 ? i8 != 4 ? i8 != 5 ? e(objArr) : b(objArr) : d(objArr) : c(objArr);
}
EtbSetDetailFragment etbSetDetailFragment = (EtbSetDetailFragment) objArr[0];
int i9 = 2 % 2;
int i10 = t + 125;
r = i10 % 128;
int i11 = i10 % 2;
etbSetDetailFragment.limitIncremental.setVisibility(0);
int i12 = t + 97;
r = i12 % 128;
int i13 = i12 % 2;
return null;
}
private static void z(int i, byte b, int i2, Object[] objArr) {
byte[] bArr = $$a;
int i3 = b + 98;
int i4 = i * 3;
int i5 = (i2 * 2) + 4;
byte[] bArr2 = new byte[1 - i4];
int i6 = 0 - i4;
int i7 = -1;
if (bArr == null) {
i5++;
i3 = i6 + i3;
}
while (true) {
i7++;
bArr2[i7] = (byte) i3;
if (i7 == i6) {
objArr[0] = new String(bArr2, 0);
return;
} else {
int i8 = bArr[i5];
i5++;
i3 += i8;
}
}
}
public static EtbSetDetailFragment b(C0698Mn c0698Mn, C0714Mx c0714Mx) {
int i = 2 % 2;
Bundle bundle = new Bundle();
bundle.putParcelable("com.scb.phone.view.fragment.etb.ARG_ACCOUNT", c0698Mn);
bundle.putParcelable("com.scb.phone.view.fragment.etb.ARG_PRODUCT", c0714Mx);
EtbSetDetailFragment etbSetDetailFragment = new EtbSetDetailFragment();
etbSetDetailFragment.setArguments(bundle);
int i2 = t + 49;
r = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 3 / 0;
}
return etbSetDetailFragment;
}
private static void w(char c, int i, int i2, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i4 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(s[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 308, 5 - Drawable.resolveOpacity(0, 0), (char) (32797 - (ViewConfiguration.getTouchSlop() >> 8)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
z(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(q), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(412 - Color.blue(0), 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) TextUtils.getCapsMode("", 0, 0));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 1);
Object[] objArr5 = new Object[1];
z(b3, b4, (byte) (b4 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i4] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 408, (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) ((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 29234));
byte b5 = (byte) 0;
Object[] objArr7 = new Object[1];
z(b5, (byte) (b5 | 8), b5, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
int i5 = $10 + 107;
$11 = i5 % 128;
int i6 = i5 % 2;
while (dqy.a < i2) {
int i7 = $11 + 45;
$10 = i7 % 128;
if (i7 % 2 != 0) {
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(408 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) (29234 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1))));
byte b6 = (byte) 0;
Object[] objArr9 = new Object[1];
z(b6, (byte) (b6 | 8), b6, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
Object obj5 = null;
((Method) obj4).invoke(null, objArr8);
obj5.hashCode();
throw null;
}
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr10 = {dqy, dqy};
Object obj6 = xzZ.y.get(1071125919);
if (obj6 == null) {
Class cls5 = (Class) xzZ.c(407 - View.resolveSize(0, 0), (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) ((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 29234));
byte b7 = (byte) 0;
Object[] objArr11 = new Object[1];
z(b7, (byte) (b7 | 8), b7, objArr11);
obj6 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj6);
}
((Method) obj6).invoke(null, objArr10);
}
objArr[0] = new String(cArr);
}
@Override // androidx.fragment.app.Fragment
public void onCreateOptionsMenu(Menu menu, MenuInflater menuInflater) {
int i = 2 % 2;
int i2 = t + 13;
r = i2 % 128;
int i3 = i2 % 2;
menuInflater.inflate(R.menu.2131689486, menu);
Drawable pI_ = Tlu.pI_(menu.findItem(R.id.menu_action_help).getIcon().mutate());
Tlu.pE_(pI_, nMh.getColor(requireContext(), R.color.f2072131099713));
menu.findItem(R.id.menu_action_help).setIcon(pI_);
int i4 = t + 83;
r = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
public boolean onOptionsItemSelected(MenuItem menuItem) {
int i = 2 % 2;
int i2 = t + 109;
r = i2 % 128;
int i3 = i2 % 2;
if (menuItem.getItemId() == R.id.menu_action_help) {
startActivity(new Intent(getContext(), (Class<?>) ETBSetDetailNoteActivity.class));
return true;
}
boolean onOptionsItemSelected = super.onOptionsItemSelected(menuItem);
int i4 = t + 53;
r = i4 % 128;
if (i4 % 2 == 0) {
return onOptionsItemSelected;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // androidx.fragment.app.Fragment
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
C0714Mx c0714Mx;
int i = 2 % 2;
View inflate = layoutInflater.inflate(R.layout.2131559643, viewGroup, false);
setHasOptionsMenu(true);
((BaseFragment) this).a = ButterKnife.c(this, inflate);
this.etbSetDetailPresenter.e((C4813bhJ) this);
if (this.etbSetDetailPresenter != null && getArguments() != null) {
int i2 = r + 75;
t = i2 % 128;
int i3 = i2 % 2;
this.d = ((C0698Mn) getArguments().getParcelable("com.scb.phone.view.fragment.etb.ARG_ACCOUNT")).c;
if (getArguments() != null) {
c0714Mx = (C0714Mx) getArguments().getParcelable("com.scb.phone.view.fragment.etb.ARG_PRODUCT");
} else {
int i4 = r + 57;
t = i4 % 128;
int i5 = i4 % 2;
c0714Mx = null;
}
this.etbSetDetailPresenter.a(c0714Mx, this.d);
}
UNo uNo = this.m;
if (getActivity() != null) {
int i6 = t + 23;
r = i6 % 128;
int i7 = i6 % 2;
uNo.c(((BaseActivity) getActivity()).scbAnalytics, "etb_set_detail");
}
return inflate;
}
@Override // androidx.fragment.app.Fragment
public void onViewCreated(View view, Bundle bundle) {
int i = 2 % 2;
super.onViewCreated(view, bundle);
List<String> list = this.g;
if (list != null) {
e(list);
this.customSpinnerDateOfDeduction.setSelectionIndex(this.f);
}
List<String> list2 = this.h;
Object obj = null;
if (list2 != null) {
int i2 = t + 21;
r = i2 % 128;
if (i2 % 2 == 0) {
a(list2);
this.customSpinnerMainAccount.setSelectionIndex(this.i);
} else {
a(list2);
this.customSpinnerMainAccount.setSelectionIndex(this.i);
obj.hashCode();
throw null;
}
}
if (this.f8040o != null) {
d(new Object[]{this, true}, 1273421544, -1273421540, System.identityHashCode(this));
this.remainingLimit.setText(this.f8040o);
}
int i3 = r + 71;
t = i3 % 128;
if (i3 % 2 == 0) {
throw null;
}
}
@Override // o.InterfaceC9273dgd.LWm
public final void e() {
int i = 2 % 2;
int i2 = r + 23;
t = i2 % 128;
int i3 = i2 % 2;
this.checkBoxConsent.setText(R.string.etb_set_detail_concent_fixed_acknowledge);
int i4 = r + 21;
t = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9273dgd.LWm
public final void a() {
int i = 2 % 2;
int i2 = r + 15;
t = i2 % 128;
int i3 = i2 % 2;
this.checkBoxConsent.setText(R.string.etb_set_detail_concent_contactual_acknowledge);
int i4 = t + 109;
r = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 41 / 0;
}
}
@Override // o.InterfaceC9273dgd.LWm
public final void d() {
int i = 2 % 2;
int i2 = t + 119;
r = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
this.tvSelectAccountLabel.setText(R.string.etb_set_detail_main_fixed_account);
obj.hashCode();
throw null;
}
this.tvSelectAccountLabel.setText(R.string.etb_set_detail_main_fixed_account);
int i3 = r + 121;
t = i3 % 128;
if (i3 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9273dgd.LWm
public final void c() {
int i = 2 % 2;
int i2 = t + 65;
r = i2 % 128;
if (i2 % 2 != 0) {
this.tvSelectAccountLabel.setText(R.string.etb_set_detail_main_contractual_account);
throw null;
}
this.tvSelectAccountLabel.setText(R.string.etb_set_detail_main_contractual_account);
int i3 = r + 43;
t = i3 % 128;
int i4 = i3 % 2;
}
@Override // o.InterfaceC9273dgd.LWm
public final void f() {
int i = 2 % 2;
int i2 = t + 35;
r = i2 % 128;
int i3 = i2 % 2;
d(new Object[]{this, false}, 1273421544, -1273421540, System.identityHashCode(this));
int i4 = t + 121;
r = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9273dgd.LWm
public final void c(String str) {
int i = 2 % 2;
int i2 = r + 25;
t = i2 % 128;
if (i2 % 2 == 0) {
d(new Object[]{this, true}, 1273421544, -1273421540, System.identityHashCode(this));
} else {
d(new Object[]{this, true}, 1273421544, -1273421540, System.identityHashCode(this));
}
this.f8040o = str;
this.remainingLimit.setText(str);
int i3 = r + 39;
t = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 31 / 0;
}
}
@Override // o.InterfaceC9273dgd.LWm
public final void a(String str) {
int i = 2 % 2;
int i2 = t + 55;
r = i2 % 128;
if (i2 % 2 == 0) {
d(new Object[]{this}, 1764127328, -1764127326, System.identityHashCode(this));
this.limitIncremental.setText(str);
} else {
d(new Object[]{this}, 1764127328, -1764127326, System.identityHashCode(this));
this.limitIncremental.setText(str);
Object obj = null;
obj.hashCode();
throw null;
}
}
@Override // o.InterfaceC9273dgd.LWm
public final void c(boolean z) {
int i = 2 % 2;
int i2 = t + 113;
r = i2 % 128;
if (i2 % 2 != 0) {
this.buttonNext.setEnabled(z);
Object obj = null;
obj.hashCode();
throw null;
}
this.buttonNext.setEnabled(z);
int i3 = r + 61;
t = i3 % 128;
int i4 = i3 % 2;
}
private /* synthetic */ void e(String str, boolean z) {
int i = 2 % 2;
int i2 = r + 11;
t = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
if (z) {
this.mAmountInputLayout.setHintEnabled(false);
this.mAmountValue.setHint("");
if (getActivity() == null || !isAdded()) {
return;
}
((BaseActivity) getActivity()).ag();
return;
}
if (C6583cXR.q(this.mAmountValue.getText().toString())) {
int i3 = r + 25;
t = i3 % 128;
if (i3 % 2 == 0) {
this.mAmountInputLayout.setHintEnabled(false);
} else {
this.mAmountInputLayout.setHintEnabled(true);
}
this.mAmountValue.setText("");
this.mAmountValue.setHint(str);
}
}
@Override // o.InterfaceC9273dgd.LWm
public final void e(int i, int i2, final String str, int i3) {
String str2;
int i4 = 2 % 2;
this.mAmountValue.setCustomHint(str, this.mAmountInputLayout);
this.mAmountValue.setOnFocusChangeListener(new View.OnFocusChangeListener(this, str) { // from class: o.eYH
private String c;
private EtbSetDetailFragment e;
@Override // android.view.View.OnFocusChangeListener
public final void onFocusChange(View view, boolean z) {
EtbSetDetailFragment.c(this.e, this.c, z);
}
{
this.e = this;
this.c = str;
}
});
String str3 = this.d;
Object[] objArr = new Object[1];
w((char) (ViewConfiguration.getWindowTouchSlop() >> 8), Process.myPid() >> 22, 1 - TextUtils.indexOf("", "", 0), objArr);
if (((String) objArr[0]).intern().equals(str3)) {
int i5 = r + 15;
t = i5 % 128;
int i6 = i5 % 2;
String string = getResources().getString(R.string.etb_set_detail_amount_divide_error, String.valueOf(i3));
int i7 = r + 89;
t = i7 % 128;
if (i7 % 2 == 0) {
int i8 = 4 % 4;
}
str2 = string;
} else {
str2 = null;
}
AmountEditText amountEditText = this.mAmountValue;
amountEditText.setCurrencyFormattingTextWatcher(new fLM(amountEditText, this.mAmountInputLayout, i2, this.j.doubleValue(), i, getResources().getString(R.string.etb_set_detail_amount_min_max_error), getResources().getString(R.string.not_enough_funds_on_selected_account), String.format(getResources().getString(R.string.etb_set_detail_amount_min_max_error), Integer.toString(i), Integer.toString(i2)), i3, str2));
this.mAmountValue.setOnAmountChangeListener(new AmountEditText.RVV(this) { // from class: com.scb.phone.view.fragment.etb.EtbSetDetailFragment.4
private EtbSetDetailFragment a;
{
this.a = this;
}
@Override // com.scb.phone.view.custom.common.AmountEditText.RVV
public final void b(double d) {
this.a.etbSetDetailPresenter.c(d);
if (d > 0.0d) {
this.a.mAmountInputLayout.setHintEnabled(false);
this.a.mAmountValue.setHint("");
}
}
@Override // com.scb.phone.view.custom.common.AmountEditText.RVV
public final void a() {
this.a.aN_();
}
});
int i9 = t + 53;
r = i9 % 128;
if (i9 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9273dgd.LWm
public final void e(List<String> list) {
int i = 2 % 2;
int i2 = t + 23;
r = i2 % 128;
if (i2 % 2 != 0) {
this.g = list;
this.customSpinnerDateOfDeduction.setItems(list, true, true);
this.customSpinnerDateOfDeduction.setOnCustomSpinnerWithTitleCompletion(this.l);
} else {
this.g = list;
this.customSpinnerDateOfDeduction.setItems(list, true, false);
this.customSpinnerDateOfDeduction.setOnCustomSpinnerWithTitleCompletion(this.l);
}
this.customSpinnerDateOfDeduction.setMandatory(true);
int i3 = r + 49;
t = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 33 / 0;
}
}
@Override // o.InterfaceC9273dgd.LWm
public final void a(List<String> list) {
int i = 2 % 2;
int i2 = r + 39;
t = i2 % 128;
if (i2 % 2 == 0) {
this.h = list;
this.customSpinnerMainAccount.setItems(list, true, true);
} else {
this.h = list;
this.customSpinnerMainAccount.setItems(list, true, false);
}
this.customSpinnerMainAccount.setOnCustomSpinnerWithTitleCompletion(this.n);
this.customSpinnerMainAccount.setMandatory(true);
int i3 = t + 117;
r = i3 % 128;
if (i3 % 2 != 0) {
throw null;
}
}
@Override // o.InterfaceC9273dgd.LWm
public final void b() {
int i = 2 % 2;
C1171Xc.IeS ieS = new C1171Xc.IeS(YE.ETB_SET_ACCOUNT_DETAIL_SOURCE_FUNCTION);
C1171Xc c1171Xc = ieS.c;
c1171Xc.a = false;
c1171Xc.b = true;
c1171Xc.j = true;
c1171Xc.g = true;
ieS.c.j = false;
ieS.c.g = true;
ieS.c.b = false;
ieS.c.d = getString(R.string.etb_set_detail_source_of_open_account);
AccountSourceSelectFragment b = AccountSourceSelectFragment.b(ieS.c);
AbstractC13482fbE a = getChildFragmentManager().a();
Object obj = null;
a.b(R.id.fragment_account_source_select, b, null, 2);
a.b();
int i2 = r + 27;
t = i2 % 128;
if (i2 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0028, code lost:
r1.k.b(com.scb.phone.view.fragment.etb.EtbReviewInformationFragment.e((o.C0698Mn) r1.getArguments().getParcelable("com.scb.phone.view.fragment.etb.ARG_ACCOUNT"), r5));
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x0026, code lost:
if (r1.getArguments() != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001f, code lost:
if (r1.getArguments() != null) goto L9;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static /* synthetic */ java.lang.Object b(java.lang.Object[] r5) {
/*
r0 = 0
r1 = r5[r0]
com.scb.phone.view.fragment.etb.EtbSetDetailFragment r1 = (com.scb.phone.view.fragment.etb.EtbSetDetailFragment) r1
r2 = 1
r5 = r5[r2]
o.Mv r5 = (o.C0710Mv) r5
r2 = 2
int r3 = r2 % r2
int r3 = com.scb.phone.view.fragment.etb.EtbSetDetailFragment.r
int r3 = r3 + 27
int r4 = r3 % 128
com.scb.phone.view.fragment.etb.EtbSetDetailFragment.t = r4
int r3 = r3 % r2
if (r3 != 0) goto L22
android.os.Bundle r3 = r1.getArguments()
r4 = 94
int r4 = r4 / r0
if (r3 == 0) goto L3d
goto L28
L22:
android.os.Bundle r0 = r1.getArguments()
if (r0 == 0) goto L3d
L28:
android.os.Bundle r0 = r1.getArguments()
java.lang.String r3 = "com.scb.phone.view.fragment.etb.ARG_ACCOUNT"
android.os.Parcelable r0 = r0.getParcelable(r3)
o.Mn r0 = (o.C0698Mn) r0
o.dpA r1 = r1.k
com.scb.phone.view.fragment.etb.EtbReviewInformationFragment r5 = com.scb.phone.view.fragment.etb.EtbReviewInformationFragment.e(r0, r5)
r1.b(r5)
L3d:
int r5 = com.scb.phone.view.fragment.etb.EtbSetDetailFragment.t
int r5 = r5 + 55
int r0 = r5 % 128
com.scb.phone.view.fragment.etb.EtbSetDetailFragment.r = r0
int r5 = r5 % r2
r0 = 0
if (r5 != 0) goto L4a
return r0
L4a:
throw r0
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.etb.EtbSetDetailFragment.b(java.lang.Object[]):java.lang.Object");
}
private static /* synthetic */ Object d(Object[] objArr) {
int i;
EtbSetDetailFragment etbSetDetailFragment = (EtbSetDetailFragment) objArr[0];
boolean booleanValue = ((Boolean) objArr[1]).booleanValue();
int i2 = 2 % 2;
int i3 = t + 115;
r = i3 % 128;
Object obj = null;
if (i3 % 2 != 0) {
TextView textView = etbSetDetailFragment.remainingLimitError;
obj.hashCode();
throw null;
}
etbSetDetailFragment.remainingLimitError.setVisibility(booleanValue ? 8 : 0);
etbSetDetailFragment.textRemainingLimit.setVisibility(booleanValue ? 0 : 8);
TextView textView2 = etbSetDetailFragment.remainingLimit;
if (!booleanValue) {
i = 8;
} else {
int i4 = r + 75;
t = i4 % 128;
int i5 = i4 % 2;
i = 0;
}
textView2.setVisibility(i);
etbSetDetailFragment.remainingLimitLinearLayout.setVisibility(booleanValue ? 0 : 8);
return null;
}
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
public void onDestroy() {
int i = 2 % 2;
int i2 = t + 75;
r = i2 % 128;
int i3 = i2 % 2;
super.onDestroy();
this.etbSetDetailPresenter.w_();
int i4 = r + 61;
t = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 72 / 0;
}
}
@OnClick
public void onNextButtonClick() {
int i = 2 % 2;
if (getArguments() != null) {
int i2 = t + 107;
r = i2 % 128;
int i3 = i2 % 2;
this.etbSetDetailPresenter.e(C6583cXR.c(this.mAmountValue.getText().toString()), (C0698Mn) getArguments().getParcelable("com.scb.phone.view.fragment.etb.ARG_ACCOUNT"));
}
int i4 = r + 19;
t = i4 % 128;
int i5 = i4 % 2;
}
@OnCheckedChanged
public void onCheckedConsent(CompoundButton compoundButton, boolean z) {
int i = 2 % 2;
int i2 = r + 31;
t = i2 % 128;
if (i2 % 2 != 0) {
C4813bhJ c4813bhJ = this.etbSetDetailPresenter;
C4813bhJ.b(new Object[]{c4813bhJ, Boolean.valueOf(z)}, -2102215769, 2102215775, System.identityHashCode(c4813bhJ));
} else {
C4813bhJ c4813bhJ2 = this.etbSetDetailPresenter;
C4813bhJ.b(new Object[]{c4813bhJ2, Boolean.valueOf(z)}, -2102215769, 2102215775, System.identityHashCode(c4813bhJ2));
throw null;
}
}
private static /* synthetic */ Object c(Object[] objArr) {
EtbSetDetailFragment etbSetDetailFragment = (EtbSetDetailFragment) objArr[0];
WW ww = (WW) objArr[1];
int i = 2 % 2;
int i2 = t;
int i3 = i2 + 107;
r = i3 % 128;
int i4 = i3 % 2;
if (ww != null) {
int i5 = i2 + 105;
r = i5 % 128;
int i6 = i5 % 2;
C4813bhJ c4813bhJ = etbSetDetailFragment.etbSetDetailPresenter;
C4813bhJ.b(new Object[]{c4813bhJ, ww.s}, -794209564, 794209571, System.identityHashCode(c4813bhJ));
etbSetDetailFragment.j = ww.d;
etbSetDetailFragment.etbSetDetailPresenter.d(etbSetDetailFragment.d);
etbSetDetailFragment.etbSetDetailPresenter.e(etbSetDetailFragment.j);
etbSetDetailFragment.mAmountValue.setAvailableBalanceCurrencyFormattingTextWatcher(etbSetDetailFragment.j.doubleValue());
}
int i7 = t + 93;
r = i7 % 128;
if (i7 % 2 != 0) {
int i8 = 36 / 0;
}
return null;
}
@Override // o.InterfaceC9273dgd.LWm
public final void d(boolean z) {
int i;
int i2 = 2 % 2;
int i3 = r;
int i4 = i3 + 59;
t = i4 % 128;
if (i4 % 2 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
CustomSpinnerWithTitle customSpinnerWithTitle = this.customSpinnerDateOfDeduction;
if (!(!z)) {
int i5 = i3 + 113;
t = i5 % 128;
int i6 = i5 % 2;
i = 8;
} else {
i = 0;
}
customSpinnerWithTitle.setVisibility(i);
}
private /* synthetic */ void asQ_(DialogInterface dialogInterface) {
int i = 2 % 2;
int i2 = t + 93;
r = i2 % 128;
int i3 = i2 % 2;
dialogInterface.dismiss();
this.customSpinnerDateOfDeduction.b();
this.etbSetDetailPresenter.e(0);
int i4 = r + 91;
t = i4 % 128;
int i5 = i4 % 2;
}
private /* synthetic */ void asR_(DialogInterface dialogInterface) {
int i = 2 % 2;
int i2 = r + 51;
t = i2 % 128;
if (i2 % 2 != 0) {
dialogInterface.dismiss();
d(new Object[]{this, this.customSpinnerDateOfDeduction.d()}, -683551838, 683551838, System.identityHashCode(this));
int i3 = r + 47;
t = i3 % 128;
int i4 = i3 % 2;
return;
}
dialogInterface.dismiss();
d(new Object[]{this, this.customSpinnerDateOfDeduction.d()}, -683551838, 683551838, System.identityHashCode(this));
throw null;
}
@Override // o.InterfaceC9273dgd.LWm
public final void g() {
int i = 2 % 2;
((CustomDialog) CustomDialog.e(new Object[]{CustomDialog.b(getContext()).c(R.string.etb_set_detail_deduction_disclaimer_title).d(R.string.etb_set_detail_deduction_disclaimer_description), Integer.valueOf(R.string.cancel), new DialogInterface.OnClickListener(this) { // from class: o.eYG
private EtbSetDetailFragment e;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i2) {
EtbSetDetailFragment.d(new Object[]{this.e, dialogInterface}, 1677532752, -1677532751, (int) System.currentTimeMillis());
}
{
this.e = this;
}
}})).aoT_(R.string.ok, new DialogInterface.OnClickListener(this) { // from class: o.eYP
private EtbSetDetailFragment c;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i2) {
EtbSetDetailFragment.asO_(this.c, dialogInterface);
}
{
this.c = this;
}
}).show();
int i2 = r + 19;
t = i2 % 128;
int i3 = i2 % 2;
}
private static /* synthetic */ Object e(Object[] objArr) {
EtbSetDetailFragment etbSetDetailFragment = (EtbSetDetailFragment) objArr[0];
String str = (String) objArr[1];
int i = 2 % 2;
int i2 = t + 27;
r = i2 % 128;
int i3 = i2 % 2;
if (((MYp) etbSetDetailFragment.customSpinnerDateOfDeduction.c.e()).c.getSelectedItemPosition() <= 0) {
return null;
}
int i4 = r + 109;
t = i4 % 128;
if (i4 % 2 != 0) {
etbSetDetailFragment.etbSetDetailPresenter.e(Integer.parseInt(str));
return null;
}
etbSetDetailFragment.etbSetDetailPresenter.e(Integer.parseInt(str));
int i5 = 27 / 0;
return null;
}
@Override // o.InterfaceC9713dpA.HBt
public final String q() {
int i = 2 % 2;
int i2 = t + 53;
r = i2 % 128;
int i3 = i2 % 2;
String string = getString(R.string.etb_set_detail_page);
int i4 = r + 13;
t = i4 % 128;
if (i4 % 2 != 0) {
return string;
}
throw null;
}
private static /* synthetic */ Object a(Object[] objArr) {
EtbSetDetailFragment etbSetDetailFragment = (EtbSetDetailFragment) objArr[0];
DialogInterface dialogInterface = (DialogInterface) objArr[1];
int i = 2 % 2;
int i2 = r + 117;
t = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
etbSetDetailFragment.asQ_(dialogInterface);
if (i3 == 0) {
obj.hashCode();
throw null;
}
int i4 = r + 23;
t = i4 % 128;
if (i4 % 2 != 0) {
return null;
}
throw null;
}
@Override // o.InterfaceC9273dgd.LWm
public final void d(String str) {
d(new Object[]{this, str}, -683551838, 683551838, System.identityHashCode(this));
}
@Override // o.InterfaceC9713dpA.HBt
public final boolean p() {
int i = 2 % 2;
int i2 = t + 121;
int i3 = i2 % 128;
r = i3;
int i4 = i2 % 2;
int i5 = i3 + 123;
t = i5 % 128;
int i6 = i5 % 2;
return true;
}
@Override // com.scb.phone.view.fragment.transferandpay.AccountSourceSelectFragment.Sts
public final void a(WW ww) {
d(new Object[]{this, ww}, -909450730, 909450733, System.identityHashCode(this));
}
@Override // o.InterfaceC9273dgd.LWm
public final void a(C0710Mv c0710Mv) {
d(new Object[]{this, c0710Mv}, 80131791, -80131786, System.identityHashCode(this));
}
@Override // o.InterfaceC9713dpA.HBt
public final int t() {
int i = 2 % 2;
int i2 = t + 61;
r = i2 % 128;
return i2 % 2 != 0 ? 5 : 3;
}
private void h() {
d(new Object[]{this}, 1764127328, -1764127326, System.identityHashCode(this));
}
private void a(boolean z) {
d(new Object[]{this, Boolean.valueOf(z)}, 1273421544, -1273421540, System.identityHashCode(this));
}
static /* synthetic */ void b(EtbSetDetailFragment etbSetDetailFragment, int i) {
int i2 = 2 % 2;
int i3 = t + 33;
int i4 = i3 % 128;
r = i4;
int i5 = i3 % 2;
Object obj = null;
etbSetDetailFragment.i = i;
if (i5 != 0) {
obj.hashCode();
throw null;
}
int i6 = i4 + 23;
t = i6 % 128;
if (i6 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
static /* bridge */ /* synthetic */ void a(EtbSetDetailFragment etbSetDetailFragment, int i) {
int i2 = 2 % 2;
int i3 = t + 105;
int i4 = i3 % 128;
r = i4;
int i5 = i3 % 2;
etbSetDetailFragment.f = i;
if (i5 != 0) {
int i6 = 80 / 0;
}
int i7 = i4 + 113;
t = i7 % 128;
if (i7 % 2 == 0) {
throw null;
}
}
public static /* synthetic */ void c(EtbSetDetailFragment etbSetDetailFragment, String str, boolean z) {
int i = 2 % 2;
int i2 = r + 125;
t = i2 % 128;
int i3 = i2 % 2;
etbSetDetailFragment.e(str, z);
if (i3 == 0) {
throw null;
}
int i4 = r + 3;
t = i4 % 128;
int i5 = i4 % 2;
}
public static /* synthetic */ void asO_(EtbSetDetailFragment etbSetDetailFragment, DialogInterface dialogInterface) {
int i = 2 % 2;
int i2 = t + 37;
r = i2 % 128;
int i3 = i2 % 2;
etbSetDetailFragment.asR_(dialogInterface);
int i4 = r + 57;
t = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
}