730 lines
27 KiB
Java
730 lines
27 KiB
Java
|
package com.scb.phone.view.fragment.juristic;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.content.DialogInterface;
|
||
|
import android.content.Intent;
|
||
|
import android.os.Bundle;
|
||
|
import android.os.SystemClock;
|
||
|
import android.text.Editable;
|
||
|
import android.text.TextWatcher;
|
||
|
import android.view.LayoutInflater;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewGroup;
|
||
|
import android.widget.Button;
|
||
|
import android.widget.ImageView;
|
||
|
import android.widget.TextView;
|
||
|
import androidx.fragment.app.FragmentActivity;
|
||
|
import butterknife.BindView;
|
||
|
import butterknife.ButterKnife;
|
||
|
import com.scb.phone.R;
|
||
|
import com.scb.phone.view.activity.BaseActivity;
|
||
|
import com.scb.phone.view.activity.juristic.JuristicBusinessPinActivity;
|
||
|
import com.scb.phone.view.activity.juristic.JuristicOtpActivity;
|
||
|
import com.scb.phone.view.custom.common.ClearableEditText;
|
||
|
import com.scb.phone.view.custom.common.ClearableOutLineEditText;
|
||
|
import com.scb.phone.view.custom.common.CustomDialog;
|
||
|
import com.scb.phone.view.fragment.juristic.JuristicOnboardingLandingFragment;
|
||
|
import o.AbstractC14961gcz;
|
||
|
import o.C14957gcv;
|
||
|
import o.C3957bLt;
|
||
|
import o.C3961bLx;
|
||
|
import o.EnumC8951daY;
|
||
|
import o.InterfaceC13391fZD;
|
||
|
import o.InterfaceC13393fZL;
|
||
|
import o.InterfaceC14890gbN;
|
||
|
import o.InterfaceC9437dji;
|
||
|
import o.QS;
|
||
|
import o.ZI;
|
||
|
import o.bLD;
|
||
|
import o.fSQ;
|
||
|
import o.fZZ;
|
||
|
import o.gdZ;
|
||
|
import o.gjJ;
|
||
|
import o.nMh;
|
||
|
import o.syn;
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final class JuristicOnboardingLandingFragment extends Hilt_JuristicOnboardingLandingFragment implements InterfaceC9437dji {
|
||
|
public static final HBt d = new HBt(0);
|
||
|
|
||
|
@BindView
|
||
|
public ImageView backButton;
|
||
|
|
||
|
@BindView
|
||
|
public Button buttonNext;
|
||
|
private CustomDialog c;
|
||
|
|
||
|
@BindView
|
||
|
public ClearableOutLineEditText editTextPin;
|
||
|
|
||
|
@BindView
|
||
|
public ClearableOutLineEditText editTextRegistrationNo;
|
||
|
private final View.OnClickListener f;
|
||
|
private final InterfaceC13393fZL g;
|
||
|
private final View.OnClickListener h;
|
||
|
|
||
|
/* renamed from: o, reason: collision with root package name */
|
||
|
private QS f8050o;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public C3957bLt presenter;
|
||
|
|
||
|
@BindView
|
||
|
public TextView tvRefId;
|
||
|
|
||
|
@BindView
|
||
|
public TextView tvRemark;
|
||
|
|
||
|
@BindView
|
||
|
public TextView tvResendPin;
|
||
|
private String j = "";
|
||
|
private String i = "";
|
||
|
|
||
|
public JuristicOnboardingLandingFragment() {
|
||
|
Sts sts = Sts.a;
|
||
|
C14957gcv.e(sts, "");
|
||
|
this.g = new fZZ(sts);
|
||
|
this.f = new View.OnClickListener(this) { // from class: o.fkR
|
||
|
private JuristicOnboardingLandingFragment a;
|
||
|
|
||
|
@Override // android.view.View.OnClickListener
|
||
|
public final void onClick(View view) {
|
||
|
JuristicOnboardingLandingFragment.b(this.a);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = this;
|
||
|
}
|
||
|
};
|
||
|
this.h = new View.OnClickListener(this) { // from class: o.fkT
|
||
|
private JuristicOnboardingLandingFragment b;
|
||
|
|
||
|
@Override // android.view.View.OnClickListener
|
||
|
public final void onClick(View view) {
|
||
|
JuristicOnboardingLandingFragment.i(this.b);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = this;
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public static final class HBt {
|
||
|
private HBt() {
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ HBt(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.2131559737, viewGroup, false);
|
||
|
ButterKnife.c(this, inflate);
|
||
|
C3957bLt c3957bLt = this.presenter;
|
||
|
if (c3957bLt == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3957bLt = null;
|
||
|
}
|
||
|
c3957bLt.e((C3957bLt) this);
|
||
|
return inflate;
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.Fragment
|
||
|
public final void onViewCreated(View view, Bundle bundle) {
|
||
|
C14957gcv.e(view, "");
|
||
|
super.onViewCreated(view, bundle);
|
||
|
Button button = this.buttonNext;
|
||
|
ImageView imageView = null;
|
||
|
if (button == null) {
|
||
|
C14957gcv.a("");
|
||
|
button = null;
|
||
|
}
|
||
|
button.setEnabled(false);
|
||
|
Bundle arguments = getArguments();
|
||
|
QS qs = arguments != null ? (QS) arguments.getParcelable("STATE_DISPLAY") : null;
|
||
|
this.f8050o = qs;
|
||
|
if (qs != null) {
|
||
|
if (C14957gcv.b((Object) qs.c, (Object) "PRE_REGISTERED")) {
|
||
|
if ((!gdZ.d((CharSequence) qs.d)) && (!gdZ.d((CharSequence) qs.b))) {
|
||
|
C3957bLt c3957bLt = this.presenter;
|
||
|
if (c3957bLt == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3957bLt = null;
|
||
|
}
|
||
|
String str = qs.d;
|
||
|
C14957gcv.e(str, "");
|
||
|
c3957bLt.b = SystemClock.elapsedRealtime();
|
||
|
C14957gcv.e(str, "");
|
||
|
bLD bld = new bLD(c3957bLt, str);
|
||
|
if (c3957bLt.f != 0) {
|
||
|
bld.e(c3957bLt.f);
|
||
|
}
|
||
|
}
|
||
|
a(qs.d, qs.b);
|
||
|
ClearableOutLineEditText clearableOutLineEditText = this.editTextPin;
|
||
|
if (clearableOutLineEditText == null) {
|
||
|
C14957gcv.a("");
|
||
|
clearableOutLineEditText = null;
|
||
|
}
|
||
|
clearableOutLineEditText.setHint(getString(R.string.juristic_hint_starting_pin));
|
||
|
ClearableOutLineEditText clearableOutLineEditText2 = this.editTextPin;
|
||
|
if (clearableOutLineEditText2 == null) {
|
||
|
C14957gcv.a("");
|
||
|
clearableOutLineEditText2 = null;
|
||
|
}
|
||
|
getResources();
|
||
|
clearableOutLineEditText2.setMaxLength(6);
|
||
|
TextView textView = this.tvRemark;
|
||
|
if (textView == null) {
|
||
|
C14957gcv.a("");
|
||
|
textView = null;
|
||
|
}
|
||
|
textView.setVisibility(8);
|
||
|
TextView textView2 = this.tvResendPin;
|
||
|
if (textView2 == null) {
|
||
|
C14957gcv.a("");
|
||
|
textView2 = null;
|
||
|
}
|
||
|
textView2.setOnClickListener(new View.OnClickListener(this) { // from class: o.fkO
|
||
|
private JuristicOnboardingLandingFragment b;
|
||
|
|
||
|
@Override // android.view.View.OnClickListener
|
||
|
public final void onClick(View view2) {
|
||
|
JuristicOnboardingLandingFragment.a(this.b);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = this;
|
||
|
}
|
||
|
});
|
||
|
} else if (C14957gcv.b((Object) qs.c, (Object) "DEVICE_NOT_REGISTERED")) {
|
||
|
CustomDialog b = CustomDialog.b(getContext());
|
||
|
C14957gcv.c(b, "");
|
||
|
this.c = b;
|
||
|
b.setCancelable(false);
|
||
|
String string = getString(R.string.juristic_unlink_device_title);
|
||
|
if (gjJ.a(string)) {
|
||
|
b.mTitleTextView.setVisibility(0);
|
||
|
b.mTitleTextView.setText(string);
|
||
|
}
|
||
|
String string2 = getString(R.string.juristic_unlink_device_message);
|
||
|
if (gjJ.a(string2)) {
|
||
|
b.mTextTextView.setVisibility(0);
|
||
|
b.mTextTextView.setText(string2);
|
||
|
}
|
||
|
((CustomDialog) CustomDialog.e(new Object[]{b, Integer.valueOf(R.string.juristic_unlink_device_negative_button), new DialogInterface.OnClickListener(this) { // from class: o.fkY
|
||
|
private JuristicOnboardingLandingFragment b;
|
||
|
|
||
|
@Override // android.content.DialogInterface.OnClickListener
|
||
|
public final void onClick(DialogInterface dialogInterface, int i) {
|
||
|
JuristicOnboardingLandingFragment.avi_(this.b, dialogInterface);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = this;
|
||
|
}
|
||
|
}})).aoT_(R.string.juristic_unlink_device_positive_button, new DialogInterface.OnClickListener() { // from class: o.fkU
|
||
|
@Override // android.content.DialogInterface.OnClickListener
|
||
|
public final void onClick(DialogInterface dialogInterface, int i) {
|
||
|
dialogInterface.dismiss();
|
||
|
}
|
||
|
}).show();
|
||
|
TextView textView3 = this.tvRefId;
|
||
|
if (textView3 == null) {
|
||
|
C14957gcv.a("");
|
||
|
textView3 = null;
|
||
|
}
|
||
|
textView3.setVisibility(8);
|
||
|
ClearableOutLineEditText clearableOutLineEditText3 = this.editTextPin;
|
||
|
if (clearableOutLineEditText3 == null) {
|
||
|
C14957gcv.a("");
|
||
|
clearableOutLineEditText3 = null;
|
||
|
}
|
||
|
clearableOutLineEditText3.setHint(getString(R.string.juristic_hint_account_no));
|
||
|
ClearableOutLineEditText clearableOutLineEditText4 = this.editTextPin;
|
||
|
if (clearableOutLineEditText4 == null) {
|
||
|
C14957gcv.a("");
|
||
|
clearableOutLineEditText4 = null;
|
||
|
}
|
||
|
getResources();
|
||
|
clearableOutLineEditText4.setMaxLength(10);
|
||
|
TextView textView4 = this.tvRemark;
|
||
|
if (textView4 == null) {
|
||
|
C14957gcv.a("");
|
||
|
textView4 = null;
|
||
|
}
|
||
|
textView4.setText(getString(R.string.juristic_business_remark_description));
|
||
|
TextView textView5 = this.tvResendPin;
|
||
|
if (textView5 == null) {
|
||
|
C14957gcv.a("");
|
||
|
textView5 = null;
|
||
|
}
|
||
|
textView5.setVisibility(8);
|
||
|
}
|
||
|
syn synVar = (syn) this.g.e();
|
||
|
syn.RVV rvv = syn.d;
|
||
|
synVar.d("user_state", C14957gcv.b((Object) qs.c, (Object) "DEVICE_NOT_REGISTERED") ? "switch device" : "preregistered");
|
||
|
syn synVar2 = (syn) this.g.e();
|
||
|
if (getActivity() != null) {
|
||
|
synVar2.c(((BaseActivity) getActivity()).scbAnalytics, "juristic_onboarding_landing");
|
||
|
}
|
||
|
}
|
||
|
ClearableOutLineEditText clearableOutLineEditText5 = this.editTextRegistrationNo;
|
||
|
if (clearableOutLineEditText5 == null) {
|
||
|
C14957gcv.a("");
|
||
|
clearableOutLineEditText5 = null;
|
||
|
}
|
||
|
clearableOutLineEditText5.setValidateInputListener(new ClearableEditText.RVV(this) { // from class: o.fkQ
|
||
|
private JuristicOnboardingLandingFragment a;
|
||
|
|
||
|
@Override // com.scb.phone.view.custom.common.ClearableEditText.RVV
|
||
|
public final boolean c(String str2) {
|
||
|
return JuristicOnboardingLandingFragment.c(this.a);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = this;
|
||
|
}
|
||
|
});
|
||
|
ClearableOutLineEditText clearableOutLineEditText6 = this.editTextRegistrationNo;
|
||
|
if (clearableOutLineEditText6 == null) {
|
||
|
C14957gcv.a("");
|
||
|
clearableOutLineEditText6 = null;
|
||
|
}
|
||
|
clearableOutLineEditText6.inputEditText.addTextChangedListener(new IeS(this));
|
||
|
ClearableOutLineEditText clearableOutLineEditText7 = this.editTextPin;
|
||
|
if (clearableOutLineEditText7 == null) {
|
||
|
C14957gcv.a("");
|
||
|
clearableOutLineEditText7 = null;
|
||
|
}
|
||
|
clearableOutLineEditText7.setValidateInputListener(new ClearableEditText.RVV(this) { // from class: o.fkW
|
||
|
private JuristicOnboardingLandingFragment a;
|
||
|
|
||
|
@Override // com.scb.phone.view.custom.common.ClearableEditText.RVV
|
||
|
public final boolean c(String str2) {
|
||
|
return JuristicOnboardingLandingFragment.d(this.a);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = this;
|
||
|
}
|
||
|
});
|
||
|
ClearableOutLineEditText clearableOutLineEditText8 = this.editTextPin;
|
||
|
if (clearableOutLineEditText8 == null) {
|
||
|
C14957gcv.a("");
|
||
|
clearableOutLineEditText8 = null;
|
||
|
}
|
||
|
clearableOutLineEditText8.inputEditText.addTextChangedListener(new RVV(this));
|
||
|
ClearableOutLineEditText clearableOutLineEditText9 = this.editTextPin;
|
||
|
if (clearableOutLineEditText9 == null) {
|
||
|
C14957gcv.a("");
|
||
|
clearableOutLineEditText9 = null;
|
||
|
}
|
||
|
clearableOutLineEditText9.setKeyInputListener(new ClearableEditText.IeS(this) { // from class: o.fkV
|
||
|
private JuristicOnboardingLandingFragment c;
|
||
|
|
||
|
@Override // com.scb.phone.view.custom.common.ClearableEditText.IeS
|
||
|
public final void e() {
|
||
|
JuristicOnboardingLandingFragment.e(this.c);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.c = this;
|
||
|
}
|
||
|
});
|
||
|
Button button2 = this.buttonNext;
|
||
|
if (button2 == null) {
|
||
|
C14957gcv.a("");
|
||
|
button2 = null;
|
||
|
}
|
||
|
button2.setOnClickListener(this.f);
|
||
|
ImageView imageView2 = this.backButton;
|
||
|
if (imageView2 != null) {
|
||
|
imageView = imageView2;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
imageView.setOnClickListener(this.h);
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public static final class IeS implements TextWatcher {
|
||
|
private JuristicOnboardingLandingFragment c;
|
||
|
|
||
|
@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(JuristicOnboardingLandingFragment juristicOnboardingLandingFragment) {
|
||
|
this.c = juristicOnboardingLandingFragment;
|
||
|
}
|
||
|
|
||
|
@Override // android.text.TextWatcher
|
||
|
public final void afterTextChanged(Editable editable) {
|
||
|
C3957bLt c3957bLt = this.c.presenter;
|
||
|
ClearableOutLineEditText clearableOutLineEditText = null;
|
||
|
if (c3957bLt == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3957bLt = null;
|
||
|
}
|
||
|
String valueOf = String.valueOf(editable);
|
||
|
ClearableOutLineEditText clearableOutLineEditText2 = this.c.editTextRegistrationNo;
|
||
|
if (clearableOutLineEditText2 != null) {
|
||
|
clearableOutLineEditText = clearableOutLineEditText2;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
c3957bLt.b(valueOf, clearableOutLineEditText.a);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public static final class RVV implements TextWatcher {
|
||
|
private JuristicOnboardingLandingFragment 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) {
|
||
|
}
|
||
|
|
||
|
RVV(JuristicOnboardingLandingFragment juristicOnboardingLandingFragment) {
|
||
|
this.e = juristicOnboardingLandingFragment;
|
||
|
}
|
||
|
|
||
|
@Override // android.text.TextWatcher
|
||
|
public final void afterTextChanged(Editable editable) {
|
||
|
C3957bLt c3957bLt = this.e.presenter;
|
||
|
ClearableOutLineEditText clearableOutLineEditText = null;
|
||
|
if (c3957bLt == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3957bLt = null;
|
||
|
}
|
||
|
String valueOf = String.valueOf(editable);
|
||
|
ClearableOutLineEditText clearableOutLineEditText2 = this.e.editTextPin;
|
||
|
if (clearableOutLineEditText2 != null) {
|
||
|
clearableOutLineEditText = clearableOutLineEditText2;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
c3957bLt.c(valueOf, clearableOutLineEditText.a);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9437dji
|
||
|
public final void e() {
|
||
|
FragmentActivity activity = getActivity();
|
||
|
if (activity != null) {
|
||
|
activity.finish();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9437dji
|
||
|
public final void d(String str) {
|
||
|
QS qs;
|
||
|
String str2;
|
||
|
C14957gcv.e(str, "");
|
||
|
Context context = getContext();
|
||
|
if (context == null || (qs = this.f8050o) == null || (str2 = qs.c) == null) {
|
||
|
return;
|
||
|
}
|
||
|
JuristicOtpActivity.Sts sts = JuristicOtpActivity.b;
|
||
|
JuristicOtpActivity.Sts.b(context, str2, str);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9437dji
|
||
|
public final void b(String str) {
|
||
|
QS qs;
|
||
|
String str2;
|
||
|
C14957gcv.e(str, "");
|
||
|
Context context = getContext();
|
||
|
if (context == null || (qs = this.f8050o) == null || (str2 = qs.c) == null) {
|
||
|
return;
|
||
|
}
|
||
|
JuristicBusinessPinActivity.LWm lWm = JuristicBusinessPinActivity.f7519o;
|
||
|
C14957gcv.e(context, "");
|
||
|
C14957gcv.e(str2, "");
|
||
|
C14957gcv.e(str, "");
|
||
|
Intent intent = new Intent(context, (Class<?>) JuristicBusinessPinActivity.class);
|
||
|
intent.putExtra("EXTRA_DEVICE_STATE", str2);
|
||
|
intent.putExtra("EXTRA_TOKEN_ID", str);
|
||
|
context.startActivity(intent);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9437dji
|
||
|
public final void e(boolean z) {
|
||
|
Button button = this.buttonNext;
|
||
|
if (button == null) {
|
||
|
C14957gcv.a("");
|
||
|
button = null;
|
||
|
}
|
||
|
button.setEnabled(z);
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9437dji
|
||
|
public final void c(long j) {
|
||
|
TextView textView = this.tvRemark;
|
||
|
if (textView == null) {
|
||
|
C14957gcv.a("");
|
||
|
textView = null;
|
||
|
}
|
||
|
textView.setVisibility(0);
|
||
|
textView.setText(getString(R.string.juristic_onboarding_error_description, String.valueOf(j)));
|
||
|
Context context = getContext();
|
||
|
if (context != null) {
|
||
|
textView.setTextColor(nMh.getColor(context, R.color.f13582131100866));
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9437dji
|
||
|
public final void c() {
|
||
|
TextView textView = this.tvRemark;
|
||
|
if (textView == null) {
|
||
|
C14957gcv.a("");
|
||
|
textView = null;
|
||
|
}
|
||
|
textView.setText("");
|
||
|
}
|
||
|
|
||
|
private final void a(String str, String str2) {
|
||
|
this.j = str;
|
||
|
this.i = str2;
|
||
|
TextView textView = this.tvRefId;
|
||
|
if (textView == null) {
|
||
|
C14957gcv.a("");
|
||
|
textView = null;
|
||
|
}
|
||
|
textView.setText(getString(R.string.juristic_ref_id, str2));
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9437dji
|
||
|
public final void b(String str, String str2) {
|
||
|
C14957gcv.e(str, "");
|
||
|
C14957gcv.e(str2, "");
|
||
|
a(str, str2);
|
||
|
C3957bLt c3957bLt = this.presenter;
|
||
|
if (c3957bLt == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3957bLt = null;
|
||
|
}
|
||
|
C14957gcv.e(str, "");
|
||
|
bLD bld = new bLD(c3957bLt, str);
|
||
|
if (c3957bLt.f != 0) {
|
||
|
bld.e(c3957bLt.f);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // o.InterfaceC9437dji
|
||
|
public final void c(String str, EnumC8951daY enumC8951daY) {
|
||
|
C14957gcv.e(enumC8951daY, "");
|
||
|
FragmentActivity activity = getActivity();
|
||
|
if (activity != null) {
|
||
|
FragmentActivity fragmentActivity = activity;
|
||
|
if (getActivity() != null) {
|
||
|
BaseActivity.a(new Object[]{(BaseActivity) getActivity(), fragmentActivity, Integer.valueOf(R.id.container), str, enumC8951daY}, 855668825, -855668822, R.id.container);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
|
||
|
public final void onDestroy() {
|
||
|
ClearableOutLineEditText clearableOutLineEditText = this.editTextPin;
|
||
|
if (clearableOutLineEditText == null) {
|
||
|
C14957gcv.a("");
|
||
|
clearableOutLineEditText = null;
|
||
|
}
|
||
|
clearableOutLineEditText.setKeyInputListener(null);
|
||
|
super.onDestroy();
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
static final class Sts extends AbstractC14961gcz implements InterfaceC14890gbN<syn> {
|
||
|
public static final Sts a = new Sts();
|
||
|
|
||
|
@Override // o.InterfaceC14890gbN
|
||
|
public final /* synthetic */ syn invoke() {
|
||
|
return new syn();
|
||
|
}
|
||
|
|
||
|
Sts() {
|
||
|
super(0);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void e(JuristicOnboardingLandingFragment juristicOnboardingLandingFragment) {
|
||
|
C14957gcv.e(juristicOnboardingLandingFragment, "");
|
||
|
juristicOnboardingLandingFragment.aN_();
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ boolean d(JuristicOnboardingLandingFragment juristicOnboardingLandingFragment) {
|
||
|
C14957gcv.e(juristicOnboardingLandingFragment, "");
|
||
|
C3957bLt c3957bLt = juristicOnboardingLandingFragment.presenter;
|
||
|
ClearableOutLineEditText clearableOutLineEditText = null;
|
||
|
if (c3957bLt == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3957bLt = null;
|
||
|
}
|
||
|
ClearableOutLineEditText clearableOutLineEditText2 = juristicOnboardingLandingFragment.editTextPin;
|
||
|
if (clearableOutLineEditText2 == null) {
|
||
|
C14957gcv.a("");
|
||
|
clearableOutLineEditText2 = null;
|
||
|
}
|
||
|
String obj = clearableOutLineEditText2.inputEditText.getText().toString().toString();
|
||
|
ClearableOutLineEditText clearableOutLineEditText3 = juristicOnboardingLandingFragment.editTextPin;
|
||
|
if (clearableOutLineEditText3 != null) {
|
||
|
clearableOutLineEditText = clearableOutLineEditText3;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
return c3957bLt.c(obj, clearableOutLineEditText.a);
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ boolean c(JuristicOnboardingLandingFragment juristicOnboardingLandingFragment) {
|
||
|
C14957gcv.e(juristicOnboardingLandingFragment, "");
|
||
|
C3957bLt c3957bLt = juristicOnboardingLandingFragment.presenter;
|
||
|
ClearableOutLineEditText clearableOutLineEditText = null;
|
||
|
if (c3957bLt == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3957bLt = null;
|
||
|
}
|
||
|
ClearableOutLineEditText clearableOutLineEditText2 = juristicOnboardingLandingFragment.editTextRegistrationNo;
|
||
|
if (clearableOutLineEditText2 == null) {
|
||
|
C14957gcv.a("");
|
||
|
clearableOutLineEditText2 = null;
|
||
|
}
|
||
|
String obj = clearableOutLineEditText2.inputEditText.getText().toString().toString();
|
||
|
ClearableOutLineEditText clearableOutLineEditText3 = juristicOnboardingLandingFragment.editTextRegistrationNo;
|
||
|
if (clearableOutLineEditText3 != null) {
|
||
|
clearableOutLineEditText = clearableOutLineEditText3;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
return c3957bLt.b(obj, clearableOutLineEditText.a);
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void avi_(JuristicOnboardingLandingFragment juristicOnboardingLandingFragment, DialogInterface dialogInterface) {
|
||
|
C14957gcv.e(juristicOnboardingLandingFragment, "");
|
||
|
C3957bLt c3957bLt = juristicOnboardingLandingFragment.presenter;
|
||
|
if (c3957bLt == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3957bLt = null;
|
||
|
}
|
||
|
C3961bLx c3961bLx = new C3961bLx();
|
||
|
if (c3957bLt.f != 0) {
|
||
|
c3961bLx.e(c3957bLt.f);
|
||
|
}
|
||
|
dialogInterface.dismiss();
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void b(JuristicOnboardingLandingFragment juristicOnboardingLandingFragment) {
|
||
|
C14957gcv.e(juristicOnboardingLandingFragment, "");
|
||
|
ClearableOutLineEditText clearableOutLineEditText = juristicOnboardingLandingFragment.editTextRegistrationNo;
|
||
|
if (clearableOutLineEditText == null) {
|
||
|
C14957gcv.a("");
|
||
|
clearableOutLineEditText = null;
|
||
|
}
|
||
|
String obj = clearableOutLineEditText.inputEditText.getText().toString().toString();
|
||
|
ClearableOutLineEditText clearableOutLineEditText2 = juristicOnboardingLandingFragment.editTextPin;
|
||
|
if (clearableOutLineEditText2 == null) {
|
||
|
C14957gcv.a("");
|
||
|
clearableOutLineEditText2 = null;
|
||
|
}
|
||
|
String obj2 = clearableOutLineEditText2.inputEditText.getText().toString().toString();
|
||
|
C3957bLt c3957bLt = juristicOnboardingLandingFragment.presenter;
|
||
|
if (c3957bLt == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3957bLt = null;
|
||
|
}
|
||
|
QS qs = juristicOnboardingLandingFragment.f8050o;
|
||
|
String str = qs != null ? qs.c : null;
|
||
|
C14957gcv.e(obj, "");
|
||
|
C14957gcv.e(obj2, "");
|
||
|
if (str != null) {
|
||
|
if (C14957gcv.b((Object) str, (Object) "PRE_REGISTERED")) {
|
||
|
c3957bLt.d(obj, str, null, obj2);
|
||
|
} else if (C14957gcv.b((Object) str, (Object) "DEVICE_NOT_REGISTERED")) {
|
||
|
c3957bLt.d(obj, str, obj2, null);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void a(JuristicOnboardingLandingFragment juristicOnboardingLandingFragment) {
|
||
|
C14957gcv.e(juristicOnboardingLandingFragment, "");
|
||
|
final C3957bLt c3957bLt = juristicOnboardingLandingFragment.presenter;
|
||
|
if (c3957bLt == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3957bLt = null;
|
||
|
}
|
||
|
if (SystemClock.elapsedRealtime() - c3957bLt.b < 15000) {
|
||
|
ZI.IeS ieS = new ZI.IeS(c3957bLt) { // from class: o.bLA
|
||
|
private C3957bLt e;
|
||
|
|
||
|
@Override // o.ZI.IeS
|
||
|
public final void e(Object obj) {
|
||
|
C3957bLt.b(this.e, (InterfaceC9437dji) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.e = c3957bLt;
|
||
|
}
|
||
|
};
|
||
|
if (c3957bLt.f != 0) {
|
||
|
ieS.e(c3957bLt.f);
|
||
|
return;
|
||
|
}
|
||
|
return;
|
||
|
}
|
||
|
if (c3957bLt.f != 0) {
|
||
|
c3957bLt.f.y();
|
||
|
}
|
||
|
c3957bLt.b = SystemClock.elapsedRealtime();
|
||
|
c3957bLt.c.d(c3957bLt.c.a.c(), new fSQ(c3957bLt) { // from class: o.bLF
|
||
|
private C3957bLt a;
|
||
|
|
||
|
@Override // o.fSQ
|
||
|
public final void c(Object obj) {
|
||
|
C3957bLt.b(this.a, (CdV) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = c3957bLt;
|
||
|
}
|
||
|
}, new fSQ(c3957bLt) { // from class: o.bLE
|
||
|
private C3957bLt a;
|
||
|
|
||
|
@Override // o.fSQ
|
||
|
public final void c(Object obj) {
|
||
|
C3957bLt.e(this.a, (Throwable) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.a = c3957bLt;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void i(JuristicOnboardingLandingFragment juristicOnboardingLandingFragment) {
|
||
|
C14957gcv.e(juristicOnboardingLandingFragment, "");
|
||
|
C3957bLt c3957bLt = juristicOnboardingLandingFragment.presenter;
|
||
|
if (c3957bLt == null) {
|
||
|
C14957gcv.a("");
|
||
|
c3957bLt = null;
|
||
|
}
|
||
|
C3961bLx c3961bLx = new C3961bLx();
|
||
|
if (c3957bLt.f != 0) {
|
||
|
c3961bLx.e(c3957bLt.f);
|
||
|
}
|
||
|
}
|
||
|
}
|