646 lines
23 KiB
Java
646 lines
23 KiB
Java
|
package com.scb.phone.view.fragment.juristic;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.content.Intent;
|
||
|
import android.os.Bundle;
|
||
|
import android.text.Editable;
|
||
|
import android.text.TextWatcher;
|
||
|
import android.view.KeyEvent;
|
||
|
import android.view.LayoutInflater;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewGroup;
|
||
|
import android.widget.Button;
|
||
|
import android.widget.TextView;
|
||
|
import butterknife.BindView;
|
||
|
import butterknife.ButterKnife;
|
||
|
import butterknife.OnClick;
|
||
|
import com.scb.phone.R;
|
||
|
import com.scb.phone.view.activity.BaseActivity;
|
||
|
import com.scb.phone.view.activity.juristic.JuristicVerifyResetPinActivity;
|
||
|
import com.scb.phone.view.custom.common.CommonInputViewGroup;
|
||
|
import com.scb.phone.view.custom.common.CustomEditText;
|
||
|
import com.scb.phone.view.fragment.BaseFragment;
|
||
|
import com.scb.phone.view.fragment.juristic.JuristicResetPinLandingFragment;
|
||
|
import o.AbstractC14961gcz;
|
||
|
import o.C14957gcv;
|
||
|
import o.C15935jk;
|
||
|
import o.C3973bMa;
|
||
|
import o.InterfaceC13391fZD;
|
||
|
import o.InterfaceC13393fZL;
|
||
|
import o.InterfaceC14890gbN;
|
||
|
import o.InterfaceC9439djk;
|
||
|
import o.ZI;
|
||
|
import o.bLX;
|
||
|
import o.fZZ;
|
||
|
import o.qTr;
|
||
|
import o.syn;
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final class JuristicResetPinLandingFragment extends Hilt_JuristicResetPinLandingFragment implements InterfaceC9439djk {
|
||
|
public static final Sts c = new Sts(0);
|
||
|
|
||
|
@BindView
|
||
|
public Button btnNext;
|
||
|
private final View.OnFocusChangeListener d;
|
||
|
private final View.OnFocusChangeListener f;
|
||
|
private final TextView.OnEditorActionListener g;
|
||
|
private final CustomEditText.LWm h;
|
||
|
private final CustomEditText.LWm i;
|
||
|
|
||
|
@BindView
|
||
|
public CommonInputViewGroup ivgJuristicAccount;
|
||
|
|
||
|
@BindView
|
||
|
public CommonInputViewGroup ivgJuristicNumber;
|
||
|
private final HBt j;
|
||
|
private final InterfaceC13393fZL m;
|
||
|
|
||
|
/* renamed from: o, reason: collision with root package name */
|
||
|
private final IeS f8051o;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public C3973bMa presenter;
|
||
|
|
||
|
public JuristicResetPinLandingFragment() {
|
||
|
LWm lWm = LWm.b;
|
||
|
C14957gcv.e(lWm, "");
|
||
|
this.m = new fZZ(lWm);
|
||
|
this.f = new View.OnFocusChangeListener(this) { // from class: o.flp
|
||
|
private JuristicResetPinLandingFragment b;
|
||
|
|
||
|
@Override // android.view.View.OnFocusChangeListener
|
||
|
public final void onFocusChange(View view, boolean z) {
|
||
|
JuristicResetPinLandingFragment.b(this.b, z);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = this;
|
||
|
}
|
||
|
};
|
||
|
this.d = new View.OnFocusChangeListener(this) { // from class: o.fll
|
||
|
private JuristicResetPinLandingFragment e;
|
||
|
|
||
|
@Override // android.view.View.OnFocusChangeListener
|
||
|
public final void onFocusChange(View view, boolean z) {
|
||
|
JuristicResetPinLandingFragment.a(this.e, z);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.e = this;
|
||
|
}
|
||
|
};
|
||
|
this.g = new TextView.OnEditorActionListener(this) { // from class: o.flk
|
||
|
private JuristicResetPinLandingFragment d;
|
||
|
|
||
|
@Override // android.widget.TextView.OnEditorActionListener
|
||
|
public final boolean onEditorAction(TextView textView, int i, KeyEvent keyEvent) {
|
||
|
return JuristicResetPinLandingFragment.a(this.d, i);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.d = this;
|
||
|
}
|
||
|
};
|
||
|
this.f8051o = new IeS(this);
|
||
|
this.j = new HBt(this);
|
||
|
this.h = new CustomEditText.LWm(this) { // from class: o.fln
|
||
|
private JuristicResetPinLandingFragment b;
|
||
|
|
||
|
@Override // com.scb.phone.view.custom.common.CustomEditText.LWm
|
||
|
public final void a() {
|
||
|
JuristicResetPinLandingFragment.c(this.b);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = this;
|
||
|
}
|
||
|
};
|
||
|
this.i = new CustomEditText.LWm(this) { // from class: o.flt
|
||
|
private JuristicResetPinLandingFragment b;
|
||
|
|
||
|
@Override // com.scb.phone.view.custom.common.CustomEditText.LWm
|
||
|
public final void a() {
|
||
|
JuristicResetPinLandingFragment.b(this.b);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = this;
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public static final class Sts {
|
||
|
private Sts() {
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ Sts(byte b) {
|
||
|
this();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.Fragment
|
||
|
public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
||
|
C14957gcv.e(layoutInflater, "");
|
||
|
View inflate = layoutInflater.inflate(R.layout.2131559740, viewGroup, false);
|
||
|
((BaseFragment) this).a = ButterKnife.c(this, inflate);
|
||
|
return inflate;
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.Fragment
|
||
|
public final void onViewCreated(View view, Bundle bundle) {
|
||
|
C14957gcv.e(view, "");
|
||
|
super.onViewCreated(view, bundle);
|
||
|
C3973bMa c3973bMa = this.presenter;
|
||
|
CommonInputViewGroup commonInputViewGroup = null;
|
||
|
if (c3973bMa == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3973bMa = null;
|
||
|
}
|
||
|
c3973bMa.e((C3973bMa) this);
|
||
|
CommonInputViewGroup commonInputViewGroup2 = this.ivgJuristicNumber;
|
||
|
if (commonInputViewGroup2 == null) {
|
||
|
C14957gcv.a("");
|
||
|
commonInputViewGroup2 = null;
|
||
|
}
|
||
|
IeS ieS = this.f8051o;
|
||
|
commonInputViewGroup2.mEditText.addTextChangedListener(ieS);
|
||
|
commonInputViewGroup2.d.add(ieS);
|
||
|
CommonInputViewGroup commonInputViewGroup3 = this.ivgJuristicAccount;
|
||
|
if (commonInputViewGroup3 == null) {
|
||
|
C14957gcv.a("");
|
||
|
commonInputViewGroup3 = null;
|
||
|
}
|
||
|
HBt hBt = this.j;
|
||
|
commonInputViewGroup3.mEditText.addTextChangedListener(hBt);
|
||
|
commonInputViewGroup3.d.add(hBt);
|
||
|
CommonInputViewGroup commonInputViewGroup4 = this.ivgJuristicNumber;
|
||
|
if (commonInputViewGroup4 == null) {
|
||
|
C14957gcv.a("");
|
||
|
commonInputViewGroup4 = null;
|
||
|
}
|
||
|
commonInputViewGroup4.setFocusListener(this.f);
|
||
|
CommonInputViewGroup commonInputViewGroup5 = this.ivgJuristicAccount;
|
||
|
if (commonInputViewGroup5 == null) {
|
||
|
C14957gcv.a("");
|
||
|
commonInputViewGroup5 = null;
|
||
|
}
|
||
|
commonInputViewGroup5.setFocusListener(this.d);
|
||
|
CommonInputViewGroup commonInputViewGroup6 = this.ivgJuristicNumber;
|
||
|
if (commonInputViewGroup6 == null) {
|
||
|
C14957gcv.a("");
|
||
|
commonInputViewGroup6 = null;
|
||
|
}
|
||
|
commonInputViewGroup6.setOnBackListener(this.h);
|
||
|
CommonInputViewGroup commonInputViewGroup7 = this.ivgJuristicAccount;
|
||
|
if (commonInputViewGroup7 == null) {
|
||
|
C14957gcv.a("");
|
||
|
commonInputViewGroup7 = null;
|
||
|
}
|
||
|
commonInputViewGroup7.setOnBackListener(this.i);
|
||
|
CommonInputViewGroup commonInputViewGroup8 = this.ivgJuristicAccount;
|
||
|
if (commonInputViewGroup8 == null) {
|
||
|
C14957gcv.a("");
|
||
|
commonInputViewGroup8 = null;
|
||
|
}
|
||
|
commonInputViewGroup8.setOnEditorActionListener(this.g);
|
||
|
syn synVar = (syn) this.m.e();
|
||
|
if (getActivity() != null) {
|
||
|
synVar.c(((BaseActivity) getActivity()).scbAnalytics, "forgot_juristic_pin_enter_info");
|
||
|
}
|
||
|
CommonInputViewGroup commonInputViewGroup9 = this.ivgJuristicNumber;
|
||
|
if (commonInputViewGroup9 == null) {
|
||
|
C14957gcv.a("");
|
||
|
commonInputViewGroup9 = null;
|
||
|
}
|
||
|
commonInputViewGroup9.mEditText.setContentDescription("JURISTIC_NUMBER");
|
||
|
CommonInputViewGroup commonInputViewGroup10 = this.ivgJuristicAccount;
|
||
|
if (commonInputViewGroup10 != null) {
|
||
|
commonInputViewGroup = commonInputViewGroup10;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
commonInputViewGroup.mEditText.setContentDescription("JURISTIC_ACCOUNT");
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public static final class IeS implements TextWatcher {
|
||
|
private JuristicResetPinLandingFragment a;
|
||
|
|
||
|
@Override // android.text.TextWatcher
|
||
|
public final void beforeTextChanged(CharSequence charSequence, int i, int i2, int i3) {
|
||
|
}
|
||
|
|
||
|
@Override // android.text.TextWatcher
|
||
|
public final void onTextChanged(CharSequence charSequence, int i, int i2, int i3) {
|
||
|
}
|
||
|
|
||
|
IeS(JuristicResetPinLandingFragment juristicResetPinLandingFragment) {
|
||
|
this.a = juristicResetPinLandingFragment;
|
||
|
}
|
||
|
|
||
|
@Override // android.text.TextWatcher
|
||
|
public final void afterTextChanged(Editable editable) {
|
||
|
if (editable != null) {
|
||
|
JuristicResetPinLandingFragment.a(this.a);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public static final class HBt implements TextWatcher {
|
||
|
private JuristicResetPinLandingFragment e;
|
||
|
|
||
|
@Override // android.text.TextWatcher
|
||
|
public final void beforeTextChanged(CharSequence charSequence, int i, int i2, int i3) {
|
||
|
}
|
||
|
|
||
|
@Override // android.text.TextWatcher
|
||
|
public final void onTextChanged(CharSequence charSequence, int i, int i2, int i3) {
|
||
|
}
|
||
|
|
||
|
HBt(JuristicResetPinLandingFragment juristicResetPinLandingFragment) {
|
||
|
this.e = juristicResetPinLandingFragment;
|
||
|
}
|
||
|
|
||
|
@Override // android.text.TextWatcher
|
||
|
public final void afterTextChanged(Editable editable) {
|
||
|
if (editable != null) {
|
||
|
JuristicResetPinLandingFragment.d(this.e);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9439djk
|
||
|
public final void e(boolean z) {
|
||
|
CommonInputViewGroup commonInputViewGroup = null;
|
||
|
if (z) {
|
||
|
CommonInputViewGroup commonInputViewGroup2 = this.ivgJuristicNumber;
|
||
|
if (commonInputViewGroup2 != null) {
|
||
|
commonInputViewGroup = commonInputViewGroup2;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
commonInputViewGroup.c();
|
||
|
return;
|
||
|
}
|
||
|
CommonInputViewGroup commonInputViewGroup3 = this.ivgJuristicNumber;
|
||
|
if (commonInputViewGroup3 != null) {
|
||
|
commonInputViewGroup = commonInputViewGroup3;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
commonInputViewGroup.e();
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9439djk
|
||
|
public final void a(boolean z) {
|
||
|
CommonInputViewGroup commonInputViewGroup = null;
|
||
|
if (z) {
|
||
|
CommonInputViewGroup commonInputViewGroup2 = this.ivgJuristicAccount;
|
||
|
if (commonInputViewGroup2 != null) {
|
||
|
commonInputViewGroup = commonInputViewGroup2;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
commonInputViewGroup.c();
|
||
|
return;
|
||
|
}
|
||
|
CommonInputViewGroup commonInputViewGroup3 = this.ivgJuristicAccount;
|
||
|
if (commonInputViewGroup3 != null) {
|
||
|
commonInputViewGroup = commonInputViewGroup3;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
commonInputViewGroup.e();
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9439djk
|
||
|
public final void b(boolean z) {
|
||
|
Button button = this.btnNext;
|
||
|
if (button == null) {
|
||
|
C14957gcv.a("");
|
||
|
button = null;
|
||
|
}
|
||
|
button.setEnabled(z);
|
||
|
}
|
||
|
|
||
|
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
|
||
|
public final void onDestroyView() {
|
||
|
CommonInputViewGroup commonInputViewGroup = this.ivgJuristicNumber;
|
||
|
C3973bMa c3973bMa = null;
|
||
|
if (commonInputViewGroup == null) {
|
||
|
C14957gcv.a("");
|
||
|
commonInputViewGroup = null;
|
||
|
}
|
||
|
commonInputViewGroup.setFocusListener(null);
|
||
|
CommonInputViewGroup commonInputViewGroup2 = this.ivgJuristicAccount;
|
||
|
if (commonInputViewGroup2 == null) {
|
||
|
C14957gcv.a("");
|
||
|
commonInputViewGroup2 = null;
|
||
|
}
|
||
|
commonInputViewGroup2.setFocusListener(null);
|
||
|
CommonInputViewGroup commonInputViewGroup3 = this.ivgJuristicNumber;
|
||
|
if (commonInputViewGroup3 == null) {
|
||
|
C14957gcv.a("");
|
||
|
commonInputViewGroup3 = null;
|
||
|
}
|
||
|
IeS ieS = this.f8051o;
|
||
|
commonInputViewGroup3.mEditText.removeTextChangedListener(ieS);
|
||
|
commonInputViewGroup3.d.remove(ieS);
|
||
|
CommonInputViewGroup commonInputViewGroup4 = this.ivgJuristicAccount;
|
||
|
if (commonInputViewGroup4 == null) {
|
||
|
C14957gcv.a("");
|
||
|
commonInputViewGroup4 = null;
|
||
|
}
|
||
|
HBt hBt = this.j;
|
||
|
commonInputViewGroup4.mEditText.removeTextChangedListener(hBt);
|
||
|
commonInputViewGroup4.d.remove(hBt);
|
||
|
C3973bMa c3973bMa2 = this.presenter;
|
||
|
if (c3973bMa2 != null) {
|
||
|
c3973bMa = c3973bMa2;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
c3973bMa.w_();
|
||
|
super.onDestroyView();
|
||
|
}
|
||
|
|
||
|
@OnClick
|
||
|
public final void navigateTo() {
|
||
|
C3973bMa c3973bMa = this.presenter;
|
||
|
CommonInputViewGroup commonInputViewGroup = null;
|
||
|
if (c3973bMa == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3973bMa = null;
|
||
|
}
|
||
|
CommonInputViewGroup commonInputViewGroup2 = this.ivgJuristicNumber;
|
||
|
if (commonInputViewGroup2 == null) {
|
||
|
C14957gcv.a("");
|
||
|
commonInputViewGroup2 = null;
|
||
|
}
|
||
|
String obj = commonInputViewGroup2.mEditText.getText().toString();
|
||
|
C14957gcv.c((Object) obj, "");
|
||
|
CommonInputViewGroup commonInputViewGroup3 = this.ivgJuristicAccount;
|
||
|
if (commonInputViewGroup3 != null) {
|
||
|
commonInputViewGroup = commonInputViewGroup3;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
String obj2 = commonInputViewGroup.mEditText.getText().toString();
|
||
|
C14957gcv.c((Object) obj2, "");
|
||
|
C14957gcv.e(obj, "");
|
||
|
C14957gcv.e(obj2, "");
|
||
|
if (c3973bMa.f != 0) {
|
||
|
c3973bMa.f.y();
|
||
|
}
|
||
|
C15935jk c15935jk = c3973bMa.d;
|
||
|
C3973bMa.RVV rvv = new C3973bMa.RVV(c3973bMa);
|
||
|
C3973bMa.IeS ieS = new C3973bMa.IeS(c3973bMa);
|
||
|
C14957gcv.e(rvv, "");
|
||
|
C14957gcv.e(ieS, "");
|
||
|
C14957gcv.e(obj, "");
|
||
|
C14957gcv.e(obj2, "");
|
||
|
c15935jk.b(c15935jk.d, rvv, ieS, new qTr.RVV(obj, obj2));
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9439djk
|
||
|
public final void a(String str) {
|
||
|
C14957gcv.e(str, "");
|
||
|
Context context = getContext();
|
||
|
if (context != null) {
|
||
|
JuristicVerifyResetPinActivity.HBt hBt = JuristicVerifyResetPinActivity.m;
|
||
|
C14957gcv.e(context, "");
|
||
|
C14957gcv.e(str, "");
|
||
|
Intent intent = new Intent(context, (Class<?>) JuristicVerifyResetPinActivity.class);
|
||
|
intent.putExtra("EXTRA_TOKEN_ID", str);
|
||
|
context.startActivity(intent);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
static final class LWm extends AbstractC14961gcz implements InterfaceC14890gbN<syn> {
|
||
|
public static final LWm b = new LWm();
|
||
|
|
||
|
@Override // o.InterfaceC14890gbN
|
||
|
public final /* synthetic */ syn invoke() {
|
||
|
return new syn();
|
||
|
}
|
||
|
|
||
|
LWm() {
|
||
|
super(0);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void b(JuristicResetPinLandingFragment juristicResetPinLandingFragment) {
|
||
|
C14957gcv.e(juristicResetPinLandingFragment, "");
|
||
|
CommonInputViewGroup commonInputViewGroup = juristicResetPinLandingFragment.ivgJuristicAccount;
|
||
|
if (commonInputViewGroup == null) {
|
||
|
C14957gcv.a("");
|
||
|
commonInputViewGroup = null;
|
||
|
}
|
||
|
commonInputViewGroup.clearFocus();
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ boolean a(JuristicResetPinLandingFragment juristicResetPinLandingFragment, int i) {
|
||
|
C14957gcv.e(juristicResetPinLandingFragment, "");
|
||
|
if (i != 6) {
|
||
|
return false;
|
||
|
}
|
||
|
CommonInputViewGroup commonInputViewGroup = juristicResetPinLandingFragment.ivgJuristicAccount;
|
||
|
if (commonInputViewGroup == null) {
|
||
|
C14957gcv.a("");
|
||
|
commonInputViewGroup = null;
|
||
|
}
|
||
|
commonInputViewGroup.clearFocus();
|
||
|
juristicResetPinLandingFragment.aN_();
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void b(JuristicResetPinLandingFragment juristicResetPinLandingFragment, boolean z) {
|
||
|
C14957gcv.e(juristicResetPinLandingFragment, "");
|
||
|
if (z) {
|
||
|
return;
|
||
|
}
|
||
|
final C3973bMa c3973bMa = juristicResetPinLandingFragment.presenter;
|
||
|
if (c3973bMa == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3973bMa = null;
|
||
|
}
|
||
|
ZI.IeS ieS = new ZI.IeS(c3973bMa) { // from class: o.bLZ
|
||
|
private C3973bMa d;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
C3973bMa.d(this.d, (InterfaceC9439djk) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.d = c3973bMa;
|
||
|
}
|
||
|
};
|
||
|
if (c3973bMa.f != 0) {
|
||
|
ieS.e(c3973bMa.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void c(JuristicResetPinLandingFragment juristicResetPinLandingFragment) {
|
||
|
C14957gcv.e(juristicResetPinLandingFragment, "");
|
||
|
CommonInputViewGroup commonInputViewGroup = juristicResetPinLandingFragment.ivgJuristicNumber;
|
||
|
if (commonInputViewGroup == null) {
|
||
|
C14957gcv.a("");
|
||
|
commonInputViewGroup = null;
|
||
|
}
|
||
|
commonInputViewGroup.clearFocus();
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void a(JuristicResetPinLandingFragment juristicResetPinLandingFragment, boolean z) {
|
||
|
C14957gcv.e(juristicResetPinLandingFragment, "");
|
||
|
if (z) {
|
||
|
return;
|
||
|
}
|
||
|
final C3973bMa c3973bMa = juristicResetPinLandingFragment.presenter;
|
||
|
if (c3973bMa == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3973bMa = null;
|
||
|
}
|
||
|
ZI.IeS ieS = new ZI.IeS(c3973bMa) { // from class: o.bLY
|
||
|
private C3973bMa c;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
C3973bMa.a(this.c, (InterfaceC9439djk) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.c = c3973bMa;
|
||
|
}
|
||
|
};
|
||
|
if (c3973bMa.f != 0) {
|
||
|
ieS.e(c3973bMa.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static final /* synthetic */ void d(JuristicResetPinLandingFragment juristicResetPinLandingFragment) {
|
||
|
CommonInputViewGroup commonInputViewGroup = juristicResetPinLandingFragment.ivgJuristicAccount;
|
||
|
Button button = null;
|
||
|
CommonInputViewGroup commonInputViewGroup2 = null;
|
||
|
if (commonInputViewGroup == null) {
|
||
|
C14957gcv.a("");
|
||
|
commonInputViewGroup = null;
|
||
|
}
|
||
|
commonInputViewGroup.e();
|
||
|
CommonInputViewGroup commonInputViewGroup3 = juristicResetPinLandingFragment.ivgJuristicAccount;
|
||
|
if (commonInputViewGroup3 == null) {
|
||
|
C14957gcv.a("");
|
||
|
commonInputViewGroup3 = null;
|
||
|
}
|
||
|
String obj = commonInputViewGroup3.mEditText.getText().toString();
|
||
|
C14957gcv.c((Object) obj, "");
|
||
|
if (obj.length() <= 0) {
|
||
|
CommonInputViewGroup commonInputViewGroup4 = juristicResetPinLandingFragment.ivgJuristicAccount;
|
||
|
if (commonInputViewGroup4 == null) {
|
||
|
C14957gcv.a("");
|
||
|
commonInputViewGroup4 = null;
|
||
|
}
|
||
|
commonInputViewGroup4.e = false;
|
||
|
commonInputViewGroup4.mEditClearImageButton.setVisibility(8);
|
||
|
Button button2 = juristicResetPinLandingFragment.btnNext;
|
||
|
if (button2 != null) {
|
||
|
button = button2;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
button.setEnabled(false);
|
||
|
return;
|
||
|
}
|
||
|
CommonInputViewGroup commonInputViewGroup5 = juristicResetPinLandingFragment.ivgJuristicAccount;
|
||
|
if (commonInputViewGroup5 == null) {
|
||
|
C14957gcv.a("");
|
||
|
commonInputViewGroup5 = null;
|
||
|
}
|
||
|
commonInputViewGroup5.e = true;
|
||
|
commonInputViewGroup5.mEditClearImageButton.setVisibility(0);
|
||
|
C3973bMa c3973bMa = juristicResetPinLandingFragment.presenter;
|
||
|
if (c3973bMa == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3973bMa = null;
|
||
|
}
|
||
|
CommonInputViewGroup commonInputViewGroup6 = juristicResetPinLandingFragment.ivgJuristicAccount;
|
||
|
if (commonInputViewGroup6 != null) {
|
||
|
commonInputViewGroup2 = commonInputViewGroup6;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
String obj2 = commonInputViewGroup2.mEditText.getText().toString();
|
||
|
C14957gcv.c((Object) obj2, "");
|
||
|
C14957gcv.e(obj2, "");
|
||
|
c3973bMa.b = obj2.length() == 10;
|
||
|
bLX blx = new bLX(c3973bMa);
|
||
|
if (c3973bMa.f != 0) {
|
||
|
blx.e(c3973bMa.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static final /* synthetic */ void a(JuristicResetPinLandingFragment juristicResetPinLandingFragment) {
|
||
|
CommonInputViewGroup commonInputViewGroup = juristicResetPinLandingFragment.ivgJuristicNumber;
|
||
|
Button button = null;
|
||
|
CommonInputViewGroup commonInputViewGroup2 = null;
|
||
|
if (commonInputViewGroup == null) {
|
||
|
C14957gcv.a("");
|
||
|
commonInputViewGroup = null;
|
||
|
}
|
||
|
commonInputViewGroup.e();
|
||
|
CommonInputViewGroup commonInputViewGroup3 = juristicResetPinLandingFragment.ivgJuristicNumber;
|
||
|
if (commonInputViewGroup3 == null) {
|
||
|
C14957gcv.a("");
|
||
|
commonInputViewGroup3 = null;
|
||
|
}
|
||
|
String obj = commonInputViewGroup3.mEditText.getText().toString();
|
||
|
C14957gcv.c((Object) obj, "");
|
||
|
if (obj.length() <= 0) {
|
||
|
CommonInputViewGroup commonInputViewGroup4 = juristicResetPinLandingFragment.ivgJuristicNumber;
|
||
|
if (commonInputViewGroup4 == null) {
|
||
|
C14957gcv.a("");
|
||
|
commonInputViewGroup4 = null;
|
||
|
}
|
||
|
commonInputViewGroup4.e = false;
|
||
|
commonInputViewGroup4.mEditClearImageButton.setVisibility(8);
|
||
|
Button button2 = juristicResetPinLandingFragment.btnNext;
|
||
|
if (button2 != null) {
|
||
|
button = button2;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
button.setEnabled(false);
|
||
|
return;
|
||
|
}
|
||
|
CommonInputViewGroup commonInputViewGroup5 = juristicResetPinLandingFragment.ivgJuristicNumber;
|
||
|
if (commonInputViewGroup5 == null) {
|
||
|
C14957gcv.a("");
|
||
|
commonInputViewGroup5 = null;
|
||
|
}
|
||
|
commonInputViewGroup5.e = true;
|
||
|
commonInputViewGroup5.mEditClearImageButton.setVisibility(0);
|
||
|
C3973bMa c3973bMa = juristicResetPinLandingFragment.presenter;
|
||
|
if (c3973bMa == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3973bMa = null;
|
||
|
}
|
||
|
CommonInputViewGroup commonInputViewGroup6 = juristicResetPinLandingFragment.ivgJuristicNumber;
|
||
|
if (commonInputViewGroup6 != null) {
|
||
|
commonInputViewGroup2 = commonInputViewGroup6;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
String obj2 = commonInputViewGroup2.mEditText.getText().toString();
|
||
|
C14957gcv.c((Object) obj2, "");
|
||
|
C14957gcv.e(obj2, "");
|
||
|
c3973bMa.a = obj2.length() == 13;
|
||
|
bLX blx = new bLX(c3973bMa);
|
||
|
if (c3973bMa.f != 0) {
|
||
|
blx.e(c3973bMa.f);
|
||
|
}
|
||
|
}
|
||
|
}
|