package com.scb.phone.view.fragment.easycash; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.text.Editable; import android.text.SpannableString; import android.text.SpannableStringBuilder; import android.text.TextPaint; import android.text.TextWatcher; import android.text.method.LinkMovementMethod; import android.text.style.ClickableSpan; import android.util.Base64; import android.view.KeyEvent; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.CheckBox; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.RadioButton; import android.widget.RadioGroup; import android.widget.RelativeLayout; import android.widget.ScrollView; import android.widget.TextView; import androidx.core.view.ViewCompat; import com.scb.phone.R; import com.scb.phone.view.activity.BaseActivity; import com.scb.phone.view.activity.easycash.EasycashCommonNCBConsentActivity; import com.scb.phone.view.activity.easycash.EasycashLandingActivity; import com.scb.phone.view.activity.easycash.EasycashNCBConsentActivity; import com.scb.phone.view.activity.easycash.speedycash.LoanTermsConditionsActivity; import com.scb.phone.view.activity.scheduledtransaction.CalendarDialogActivity; import com.scb.phone.view.custom.common.CommonInputViewGroup; import com.scb.phone.view.custom.common.CustomDialog; import com.scb.phone.view.custom.common.CustomLaserIdInputWithoutHeader; import com.scb.phone.view.custom.easycash.CustomAcceptDecline; import com.scb.phone.view.custom.easycash.CustomEasyCashSectionLabel; import com.scb.phone.view.custom.easycash.CustomPhone; import com.scb.phone.view.custom.easycash.CustomSeparatedViews; import com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle; import com.scb.phone.view.fragment.easycash.EasycashContactInformationFragment; import com.scb.phone.view.fragment.easycash.financialinformation.EasycashMailingAddressFragment; import com.scb.phone.view.fragment.easycash.financialinformation.EasycashRegistrationAddressFragment; import io.github.inflationx.calligraphy3.TypefaceUtils; import java.io.Serializable; import java.nio.charset.StandardCharsets; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.function.Consumer; import o.C0371Fd; import o.C0597Kh; import o.C0618Ku; import o.C0693Mj; import o.C1038Uft; import o.C12891fKc; import o.C14957gcv; import o.GEP; import o.IP; import o.InterfaceC10367eCE; import o.InterfaceC10373eCZ; import o.InterfaceC1244Ytw; import o.InterfaceC13391fZD; import o.InterfaceC1903aRj; import o.InterfaceC6621cYR; import o.InterfaceC9713dpA; import o.JW; import o.JZ; import o.Jel; import o.Lld; import o.SP; import o.YKU; import o.YU; import o.aYH; import o.cSJ; import o.fJI; import o.fJJ; import o.gjJ; import o.gtH; import o.nMh; import o.qeC; import o.wxK; import org.threeten.bp.OffsetDateTime; /* loaded from: classes5.dex */ public class EasycashContactInformationFragment extends Hilt_EasycashContactInformationFragment implements InterfaceC6621cYR.NHB { private static int f = 0; private static byte g = 6; private static int j = 1; private Map c; private cSJ d; private C1038Uft h; private InterfaceC1903aRj i; @InterfaceC13391fZD public aYH presenter; @InterfaceC13391fZD public Lld tracker; @Override // o.InterfaceC9652dno public final void A() { } @Override // o.InterfaceC9713dpA.HBt public final boolean p() { return true; } @Override // o.InterfaceC9713dpA.HBt public final int t() { return 2; } private void F(String str, Object[] objArr) { byte[] decode = Base64.decode(str, 0); byte[] bArr = new byte[decode.length]; for (int i = 0; i < decode.length; i++) { bArr[i] = (byte) (decode[(decode.length - i) - 1] ^ g); } objArr[0] = new String(bArr, StandardCharsets.UTF_8); } public static EasycashContactInformationFragment E() { EasycashContactInformationFragment easycashContactInformationFragment = new EasycashContactInformationFragment(); easycashContactInformationFragment.setArguments(new Bundle()); return easycashContactInformationFragment; } /* JADX WARN: Multi-variable type inference failed */ @Override // com.scb.phone.view.fragment.easycash.Hilt_EasycashContactInformationFragment, com.scb.phone.view.fragment.etb.BreadcrumbFragment, com.scb.phone.view.fragment.Hilt_BaseFragment, androidx.fragment.app.Fragment public void onAttach(Context context) { super.onAttach(context); if (context instanceof InterfaceC1903aRj) { this.i = (InterfaceC1903aRj) context; } } @Override // androidx.fragment.app.Fragment public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) { int i; View inflate = getLayoutInflater().inflate(R.layout.2131559590, (ViewGroup) null, false); int i2 = R.id.bt_next; Button button = (Button) qeC.e(inflate, R.id.bt_next); if (button != null) { i2 = R.id.cb_agree_e_document; CheckBox checkBox = (CheckBox) qeC.e(inflate, R.id.cb_agree_e_document); if (checkBox != null) { i2 = R.id.cb_agree_terms_conditions; CheckBox checkBox2 = (CheckBox) qeC.e(inflate, R.id.cb_agree_terms_conditions); if (checkBox2 != null) { i2 = R.id.consent_list; CustomSeparatedViews customSeparatedViews = (CustomSeparatedViews) qeC.e(inflate, R.id.consent_list); if (customSeparatedViews != null) { i2 = R.id.custom_input_first_name; CommonInputViewGroup commonInputViewGroup = (CommonInputViewGroup) qeC.e(inflate, R.id.custom_input_first_name); if (commonInputViewGroup != null) { i2 = R.id.custom_input_last_name; CommonInputViewGroup commonInputViewGroup2 = (CommonInputViewGroup) qeC.e(inflate, R.id.custom_input_last_name); if (commonInputViewGroup2 != null) { i2 = R.id.custom_overview; CustomSeparatedViews customSeparatedViews2 = (CustomSeparatedViews) qeC.e(inflate, R.id.custom_overview); if (customSeparatedViews2 != null) { i2 = R.id.e_document_header; CustomEasyCashSectionLabel customEasyCashSectionLabel = (CustomEasyCashSectionLabel) qeC.e(inflate, R.id.e_document_header); if (customEasyCashSectionLabel != null) { i2 = R.id.fragment_contact_information; ScrollView scrollView = (ScrollView) qeC.e(inflate, R.id.fragment_contact_information); if (scrollView != null) { i2 = R.id.id_card_info; CustomSeparatedViews customSeparatedViews3 = (CustomSeparatedViews) qeC.e(inflate, R.id.id_card_info); if (customSeparatedViews3 != null) { i2 = R.id.image_arrow_current; ImageView imageView = (ImageView) qeC.e(inflate, R.id.image_arrow_current); if (imageView != null) { i2 = R.id.input_hml_personal_info_laser_id; CustomLaserIdInputWithoutHeader customLaserIdInputWithoutHeader = (CustomLaserIdInputWithoutHeader) qeC.e(inflate, R.id.input_hml_personal_info_laser_id); if (customLaserIdInputWithoutHeader != null) { i2 = R.id.iv_laser_id; ImageView imageView2 = (ImageView) qeC.e(inflate, R.id.iv_laser_id); if (imageView2 != null) { i2 = R.id.iv_registration_address_arrow_current; ImageView imageView3 = (ImageView) qeC.e(inflate, R.id.iv_registration_address_arrow_current); if (imageView3 != null) { i2 = R.id.label_consent_section; CustomEasyCashSectionLabel customEasyCashSectionLabel2 = (CustomEasyCashSectionLabel) qeC.e(inflate, R.id.label_consent_section); if (customEasyCashSectionLabel2 != null) { i2 = R.id.label_mailing_address; TextView textView = (TextView) qeC.e(inflate, R.id.label_mailing_address); if (textView != null) { i2 = R.id.layout_bottom; LinearLayout linearLayout = (LinearLayout) qeC.e(inflate, R.id.layout_bottom); if (linearLayout != null) { i2 = R.id.ll_layout_consent_content; LinearLayout linearLayout2 = (LinearLayout) qeC.e(inflate, R.id.ll_layout_consent_content); if (linearLayout2 != null) { i2 = R.id.ll_layout_contact_info; LinearLayout linearLayout3 = (LinearLayout) qeC.e(inflate, R.id.ll_layout_contact_info); if (linearLayout3 != null) { i2 = R.id.ll_layout_dopa_consent; LinearLayout linearLayout4 = (LinearLayout) qeC.e(inflate, R.id.ll_layout_dopa_consent); if (linearLayout4 != null) { i2 = R.id.ll_layout_e_document_section; LinearLayout linearLayout5 = (LinearLayout) qeC.e(inflate, R.id.ll_layout_e_document_section); if (linearLayout5 != null) { LinearLayout linearLayout6 = (LinearLayout) qeC.e(inflate, R.id.ll_layout_english_name); if (linearLayout6 != null) { LinearLayout linearLayout7 = (LinearLayout) qeC.e(inflate, R.id.ll_layout_id_card_house_regis); if (linearLayout7 != null) { LinearLayout linearLayout8 = (LinearLayout) qeC.e(inflate, R.id.ll_layout_national_id_content); if (linearLayout8 != null) { LinearLayout linearLayout9 = (LinearLayout) qeC.e(inflate, R.id.ll_layout_ref_code_collapse_view); if (linearLayout9 != null) { CustomEasyCashSectionLabel customEasyCashSectionLabel3 = (CustomEasyCashSectionLabel) qeC.e(inflate, R.id.ll_layout_ref_code_section); if (customEasyCashSectionLabel3 != null) { LinearLayout linearLayout10 = (LinearLayout) qeC.e(inflate, R.id.ll_layout_registration_address_section); if (linearLayout10 != null) { LinearLayout linearLayout11 = (LinearLayout) qeC.e(inflate, R.id.ll_layout_registration_section_line); if (linearLayout11 != null) { CustomEasyCashSectionLabel customEasyCashSectionLabel4 = (CustomEasyCashSectionLabel) qeC.e(inflate, R.id.occupation_area); if (customEasyCashSectionLabel4 != null) { CustomPhone customPhone = (CustomPhone) qeC.e(inflate, R.id.phone_edit_text); if (customPhone != null) { CommonInputViewGroup commonInputViewGroup3 = (CommonInputViewGroup) qeC.e(inflate, R.id.ref_code_1); if (commonInputViewGroup3 != null) { CommonInputViewGroup commonInputViewGroup4 = (CommonInputViewGroup) qeC.e(inflate, R.id.ref_code_2); if (commonInputViewGroup4 != null) { RelativeLayout relativeLayout = (RelativeLayout) qeC.e(inflate, R.id.rl_layout_mailing_address); if (relativeLayout != null) { RelativeLayout relativeLayout2 = (RelativeLayout) qeC.e(inflate, R.id.rl_layout_registration_address); if (relativeLayout2 != null) { TextView textView2 = (TextView) qeC.e(inflate, R.id.title_email_text); if (textView2 != null) { TextView textView3 = (TextView) qeC.e(inflate, R.id.title_name_text); if (textView3 != null) { TextView textView4 = (TextView) qeC.e(inflate, R.id.tv_agree_terms_conditions); if (textView4 != null) { TextView textView5 = (TextView) qeC.e(inflate, R.id.tv_dopa_consent); if (textView5 != null) { TextView textView6 = (TextView) qeC.e(inflate, R.id.tv_e_document); if (textView6 != null) { TextView textView7 = (TextView) qeC.e(inflate, R.id.tv_email); if (textView7 != null) { TextView textView8 = (TextView) qeC.e(inflate, R.id.tv_id_card_house_regis_detail); if (textView8 != null) { TextView textView9 = (TextView) qeC.e(inflate, R.id.tv_id_card_house_regis_title); if (textView9 != null) { TextView textView10 = (TextView) qeC.e(inflate, R.id.tv_mailing_address); if (textView10 != null) { TextView textView11 = (TextView) qeC.e(inflate, R.id.tv_mailing_address_error); if (textView11 != null) { TextView textView12 = (TextView) qeC.e(inflate, R.id.tv_name); if (textView12 != null) { TextView textView13 = (TextView) qeC.e(inflate, R.id.tv_national_id); if (textView13 != null) { TextView textView14 = (TextView) qeC.e(inflate, R.id.tv_registration_address); if (textView14 != null) { TextView textView15 = (TextView) qeC.e(inflate, R.id.tv_registration_address_error); if (textView15 != null) { TextView textView16 = (TextView) qeC.e(inflate, R.id.tv_registration_address_label); if (textView16 != null) { TextView textView17 = (TextView) qeC.e(inflate, R.id.tv_title_national_id_no); if (textView17 != null) { C1038Uft c1038Uft = new C1038Uft((LinearLayout) inflate, button, checkBox, checkBox2, customSeparatedViews, commonInputViewGroup, commonInputViewGroup2, customSeparatedViews2, customEasyCashSectionLabel, scrollView, customSeparatedViews3, imageView, customLaserIdInputWithoutHeader, imageView2, imageView3, customEasyCashSectionLabel2, textView, linearLayout, linearLayout2, linearLayout3, linearLayout4, linearLayout5, linearLayout6, linearLayout7, linearLayout8, linearLayout9, customEasyCashSectionLabel3, linearLayout10, linearLayout11, customEasyCashSectionLabel4, customPhone, commonInputViewGroup3, commonInputViewGroup4, relativeLayout, relativeLayout2, textView2, textView3, textView4, textView5, textView6, textView7, textView8, textView9, textView10, textView11, textView12, textView13, textView14, textView15, textView16, textView17); this.h = c1038Uft; LinearLayout linearLayout12 = c1038Uft.B; CustomSpinnerWithTitle customSpinnerWithTitle = (CustomSpinnerWithTitle) qeC.e(linearLayout12, R.id.custom_spinner_mcmc_topup_phone_number); if (customSpinnerWithTitle != null) { CustomSpinnerWithTitle customSpinnerWithTitle2 = (CustomSpinnerWithTitle) qeC.e(linearLayout12, R.id.custom_spinner_mcmc_topup_receiving_doc_address_option); if (customSpinnerWithTitle2 != null) { LinearLayout linearLayout13 = (LinearLayout) qeC.e(linearLayout12, R.id.ll_layout_mcmc_topup_border_national_id_exp); if (linearLayout13 != null) { LinearLayout linearLayout14 = (LinearLayout) qeC.e(linearLayout12, R.id.ll_layout_mcmc_topup_contact_info); if (linearLayout14 != null) { LinearLayout linearLayout15 = (LinearLayout) qeC.e(linearLayout12, R.id.ll_layout_mcmc_topup_current_address); if (linearLayout15 != null) { LinearLayout linearLayout16 = (LinearLayout) qeC.e(linearLayout12, R.id.ll_layout_mcmc_topup_dob); if (linearLayout16 != null) { LinearLayout linearLayout17 = (LinearLayout) qeC.e(linearLayout12, R.id.ll_layout_mcmc_topup_document_receive_option); if (linearLayout17 != null) { LinearLayout linearLayout18 = (LinearLayout) qeC.e(linearLayout12, R.id.ll_layout_mcmc_topup_e_statement_tc); if (linearLayout18 != null) { LinearLayout linearLayout19 = (LinearLayout) qeC.e(linearLayout12, R.id.ll_layout_mcmc_topup_email); if (linearLayout19 != null) { LinearLayout linearLayout20 = (LinearLayout) qeC.e(linearLayout12, R.id.ll_layout_mcmc_topup_name); if (linearLayout20 != null) { LinearLayout linearLayout21 = (LinearLayout) qeC.e(linearLayout12, R.id.ll_layout_mcmc_topup_national_id); if (linearLayout21 != null) { LinearLayout linearLayout22 = (LinearLayout) qeC.e(linearLayout12, R.id.ll_layout_mcmc_topup_national_id_exp); if (linearLayout22 != null) { LinearLayout linearLayout23 = (LinearLayout) qeC.e(linearLayout12, R.id.ll_layout_mcmc_topup_phone_number); if (linearLayout23 != null) { LinearLayout linearLayout24 = (LinearLayout) qeC.e(linearLayout12, R.id.ll_layout_mcmc_topup_receiving_doc_address_option); if (linearLayout24 != null) { LinearLayout linearLayout25 = (LinearLayout) qeC.e(linearLayout12, R.id.ll_layout_mcmc_topup_registration_address); if (linearLayout25 != null) { RadioGroup radioGroup = (RadioGroup) qeC.e(linearLayout12, R.id.rg_mcmc_topup_document_receive_option); if (radioGroup != null) { CustomEasyCashSectionLabel customEasyCashSectionLabel5 = (CustomEasyCashSectionLabel) qeC.e(linearLayout12, R.id.section_mcmc_topup_contact_info); if (customEasyCashSectionLabel5 != null) { TextView textView18 = (TextView) qeC.e(linearLayout12, R.id.tv_mcmc_topup_current_address); if (textView18 != null) { TextView textView19 = (TextView) qeC.e(linearLayout12, R.id.tv_mcmc_topup_disclaimer); if (textView19 != null) { TextView textView20 = (TextView) qeC.e(linearLayout12, R.id.tv_mcmc_topup_dob); if (textView20 != null) { TextView textView21 = (TextView) qeC.e(linearLayout12, R.id.tv_mcmc_topup_e_statement_tc); if (textView21 != null) { TextView textView22 = (TextView) qeC.e(linearLayout12, R.id.tv_mcmc_topup_e_statement_tc_more); if (textView22 != null) { TextView textView23 = (TextView) qeC.e(linearLayout12, R.id.tv_mcmc_topup_email); if (textView23 != null) { TextView textView24 = (TextView) qeC.e(linearLayout12, R.id.tv_mcmc_topup_name); if (textView24 != null) { TextView textView25 = (TextView) qeC.e(linearLayout12, R.id.tv_mcmc_topup_national_id); if (textView25 != null) { TextView textView26 = (TextView) qeC.e(linearLayout12, R.id.tv_mcmc_topup_national_id_exp); if (textView26 != null) { TextView textView27 = (TextView) qeC.e(linearLayout12, R.id.tv_mcmc_topup_phone_number_remark); if (textView27 != null) { TextView textView28 = (TextView) qeC.e(linearLayout12, R.id.tv_mcmc_topup_receiving_doc_address); if (textView28 != null) { TextView textView29 = (TextView) qeC.e(linearLayout12, R.id.tv_mcmc_topup_registration_address); if (textView29 != null) { TextView textView30 = (TextView) qeC.e(linearLayout12, R.id.tv_mcmc_topup_title_current_address); if (textView30 != null) { TextView textView31 = (TextView) qeC.e(linearLayout12, R.id.tv_mcmc_topup_title_dob); if (textView31 != null) { TextView textView32 = (TextView) qeC.e(linearLayout12, R.id.tv_mcmc_topup_title_document_receive_option); if (textView32 != null) { TextView textView33 = (TextView) qeC.e(linearLayout12, R.id.tv_mcmc_topup_title_email); if (textView33 != null) { TextView textView34 = (TextView) qeC.e(linearLayout12, R.id.tv_mcmc_topup_title_name); if (textView34 != null) { TextView textView35 = (TextView) qeC.e(linearLayout12, R.id.tv_mcmc_topup_title_national_id); if (textView35 != null) { TextView textView36 = (TextView) qeC.e(linearLayout12, R.id.tv_mcmc_topup_title_national_id_exp); if (textView36 != null) { TextView textView37 = (TextView) qeC.e(linearLayout12, R.id.tv_mcmc_topup_title_registration_address); if (textView37 != null) { TextView textView38 = (TextView) qeC.e(linearLayout12, R.id.tv_national_id_card_exp_warning); if (textView38 != null) { this.d = new cSJ(linearLayout12, customSpinnerWithTitle, customSpinnerWithTitle2, linearLayout13, linearLayout14, linearLayout15, linearLayout16, linearLayout17, linearLayout18, linearLayout19, linearLayout20, linearLayout21, linearLayout22, linearLayout23, linearLayout24, linearLayout25, radioGroup, customEasyCashSectionLabel5, textView18, textView19, textView20, textView21, textView22, textView23, textView24, textView25, textView26, textView27, textView28, textView29, textView30, textView31, textView32, textView33, textView34, textView35, textView36, textView37, textView38); this.presenter.e((aYH) this); return this.h.B; } i = R.id.tv_national_id_card_exp_warning; } else { i = R.id.tv_mcmc_topup_title_registration_address; } } else { i = R.id.tv_mcmc_topup_title_national_id_exp; } } else { i = R.id.tv_mcmc_topup_title_national_id; } } else { i = R.id.tv_mcmc_topup_title_name; } } else { i = R.id.tv_mcmc_topup_title_email; } } else { i = R.id.tv_mcmc_topup_title_document_receive_option; } } else { i = R.id.tv_mcmc_topup_title_dob; } } else { i = R.id.tv_mcmc_topup_title_current_address; } } else { i = R.id.tv_mcmc_topup_registration_address; } } else { i = R.id.tv_mcmc_topup_receiving_doc_address; } } else { i = R.id.tv_mcmc_topup_phone_number_remark; } } else { i = R.id.tv_mcmc_topup_national_id_exp; } } else { i = R.id.tv_mcmc_topup_national_id; } } else { i = R.id.tv_mcmc_topup_name; } } else { i = R.id.tv_mcmc_topup_email; } } else { i = R.id.tv_mcmc_topup_e_statement_tc_more; } } else { i = R.id.tv_mcmc_topup_e_statement_tc; } } else { i = R.id.tv_mcmc_topup_dob; } } else { i = R.id.tv_mcmc_topup_disclaimer; } } else { i = R.id.tv_mcmc_topup_current_address; } } else { i = R.id.section_mcmc_topup_contact_info; } } else { i = R.id.rg_mcmc_topup_document_receive_option; } } else { i = R.id.ll_layout_mcmc_topup_registration_address; } } else { i = R.id.ll_layout_mcmc_topup_receiving_doc_address_option; } } else { i = R.id.ll_layout_mcmc_topup_phone_number; } } else { i = R.id.ll_layout_mcmc_topup_national_id_exp; } } else { i = R.id.ll_layout_mcmc_topup_national_id; } } else { i = R.id.ll_layout_mcmc_topup_name; } } else { i = R.id.ll_layout_mcmc_topup_email; } } else { i = R.id.ll_layout_mcmc_topup_e_statement_tc; } } else { i = R.id.ll_layout_mcmc_topup_document_receive_option; } } else { i = R.id.ll_layout_mcmc_topup_dob; } } else { i = R.id.ll_layout_mcmc_topup_current_address; } } else { i = R.id.ll_layout_mcmc_topup_contact_info; } } else { i = R.id.ll_layout_mcmc_topup_border_national_id_exp; } } else { i = R.id.custom_spinner_mcmc_topup_receiving_doc_address_option; } } else { i = R.id.custom_spinner_mcmc_topup_phone_number; } throw new NullPointerException("Missing required view with ID: ".concat(linearLayout12.getResources().getResourceName(i))); } i2 = R.id.tv_title_national_id_no; } else { i2 = R.id.tv_registration_address_label; } } else { i2 = R.id.tv_registration_address_error; } } else { i2 = R.id.tv_registration_address; } } else { i2 = R.id.tv_national_id; } } else { i2 = R.id.tv_name; } } else { i2 = R.id.tv_mailing_address_error; } } else { i2 = R.id.tv_mailing_address; } } else { i2 = R.id.tv_id_card_house_regis_title; } } else { i2 = R.id.tv_id_card_house_regis_detail; } } else { i2 = R.id.tv_email; } } else { i2 = R.id.tv_e_document; } } else { i2 = R.id.tv_dopa_consent; } } else { i2 = R.id.tv_agree_terms_conditions; } } else { i2 = R.id.title_name_text; } } else { i2 = R.id.title_email_text; } } else { i2 = R.id.rl_layout_registration_address; } } else { i2 = R.id.rl_layout_mailing_address; } } else { i2 = R.id.ref_code_2; } } else { i2 = R.id.ref_code_1; } } else { i2 = R.id.phone_edit_text; } } else { i2 = R.id.occupation_area; } } else { i2 = R.id.ll_layout_registration_section_line; } } else { i2 = R.id.ll_layout_registration_address_section; } } else { i2 = R.id.ll_layout_ref_code_section; } } else { i2 = R.id.ll_layout_ref_code_collapse_view; } } else { i2 = R.id.ll_layout_national_id_content; } } else { i2 = R.id.ll_layout_id_card_house_regis; } } else { i2 = R.id.ll_layout_english_name; } } } } } } } } } } } } } } } } } } } } } } throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i2))); } @Override // androidx.fragment.app.Fragment public void onViewCreated(View view, Bundle bundle) { super.onViewCreated(view, bundle); this.h.w.setOnClickListener(new View.OnClickListener(this) { // from class: o.eTf private EasycashContactInformationFragment e; @Override // android.view.View.OnClickListener public final void onClick(View view2) { EasycashContactInformationFragment.e(this.e); } { this.e = this; } }); this.h.A.setOnClickListener(new View.OnClickListener(this) { // from class: o.eTr private EasycashContactInformationFragment e; @Override // android.view.View.OnClickListener public final void onClick(View view2) { r1.k.e(r1, EasycashRegistrationAddressFragment.e(this.e.presenter.b())); } { this.e = this; } }); this.h.e.setOnClickListener(new View.OnClickListener(this) { // from class: o.eTu private EasycashContactInformationFragment d; @Override // android.view.View.OnClickListener public final void onClick(View view2) { EasycashContactInformationFragment.a(this.d); } { this.d = this; } }); this.d.c.setOnClickListener(new View.OnClickListener(this) { // from class: o.eTw private EasycashContactInformationFragment c; @Override // android.view.View.OnClickListener public final void onClick(View view2) { EasycashContactInformationFragment.b(this.c); } { this.c = this; } }); this.d.f8624o.setOnClickListener(new View.OnClickListener(this) { // from class: o.eTt private EasycashContactInformationFragment e; @Override // android.view.View.OnClickListener public final void onClick(View view2) { this.e.presenter.g(); } { this.e = this; } }); this.presenter.b(this.i.e(), this.i.k(), this.i.d(), this.i.h(), this.i.j(), this.i.c()); this.h.y.a(); CustomLaserIdInputWithoutHeader customLaserIdInputWithoutHeader = this.h.i; customLaserIdInputWithoutHeader.tvLaserIdError.setVisibility(8); customLaserIdInputWithoutHeader.d(true); this.h.i.setPlaceholder(getString(R.string.contact_info_laser_id_placeholder)); this.h.i.setImeOptions(6); CustomLaserIdInputWithoutHeader customLaserIdInputWithoutHeader2 = this.h.i; fJJ fjj = new fJJ(this) { // from class: com.scb.phone.view.fragment.easycash.EasycashContactInformationFragment.2 private EasycashContactInformationFragment b; { this.b = this; } @Override // o.fJJ, android.text.TextWatcher public final void afterTextChanged(Editable editable) { this.b.presenter.c(this.b.h.i.c()); } }; customLaserIdInputWithoutHeader2.etLaserIdFirst.addTextChangedListener(fjj); customLaserIdInputWithoutHeader2.etLaserIdSecond.addTextChangedListener(fjj); customLaserIdInputWithoutHeader2.etLaserIdThird.addTextChangedListener(fjj); this.h.i.setFocusListener(new View.OnFocusChangeListener(this) { // from class: o.eTs private EasycashContactInformationFragment a; @Override // android.view.View.OnFocusChangeListener public final void onFocusChange(View view2, boolean z) { EasycashContactInformationFragment.d(this.a, z); } { this.a = this; } }); this.h.i.setOnEditorActionListener(new TextView.OnEditorActionListener(this) { // from class: o.eTC private EasycashContactInformationFragment d; @Override // android.widget.TextView.OnEditorActionListener public final boolean onEditorAction(TextView textView, int i, KeyEvent keyEvent) { return EasycashContactInformationFragment.d(this.d, i); } { this.d = this; } }); } @Override // o.InterfaceC6621cYR.NHB public final void e(JW jw) { this.h.I.requestFocus(); this.h.F.setText(jw.q); this.h.y.setNecessaryInfo(jw.s, getString(R.string.easycash_invalid_format), new InterfaceC10373eCZ(this) { // from class: o.eTg private EasycashContactInformationFragment d; @Override // o.InterfaceC10373eCZ public final boolean e(String str) { boolean e; e = this.d.presenter.e(str); return e; } { this.d = this; } }); this.h.I.setText(jw.m); this.h.I.setOnFocusChangeListener(new View.OnFocusChangeListener(this) { // from class: o.eTd private EasycashContactInformationFragment d; @Override // android.view.View.OnFocusChangeListener public final void onFocusChange(View view, boolean z) { EasycashContactInformationFragment.c(this.d, z); } { this.d = this; } }); this.h.M.setText(jw.i); this.h.x.setFilter("^[a-zA-Z0-9]+$"); this.h.v.setFilter("^[a-zA-Z0-9]+$"); this.h.x.setFocusListener(new View.OnFocusChangeListener(this) { // from class: o.eTh private EasycashContactInformationFragment e; @Override // android.view.View.OnFocusChangeListener public final void onFocusChange(View view, boolean z) { EasycashContactInformationFragment.b(this.e, z); } { this.e = this; } }); CommonInputViewGroup commonInputViewGroup = this.h.x; TextWatcher textWatcher = new TextWatcher(this) { // from class: com.scb.phone.view.fragment.easycash.EasycashContactInformationFragment.5 private EasycashContactInformationFragment 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) { } { this.a = this; } @Override // android.text.TextWatcher public final void afterTextChanged(Editable editable) { CommonInputViewGroup commonInputViewGroup2 = this.a.h.x; commonInputViewGroup2.mEditText.removeTextChangedListener(this); commonInputViewGroup2.d.remove(this); EasycashContactInformationFragment.asf_(editable); CommonInputViewGroup commonInputViewGroup3 = this.a.h.x; commonInputViewGroup3.mEditText.addTextChangedListener(this); commonInputViewGroup3.d.add(this); this.a.presenter.i(editable.toString()); } }; commonInputViewGroup.mEditText.addTextChangedListener(textWatcher); commonInputViewGroup.d.add(textWatcher); this.h.v.setFocusListener(new View.OnFocusChangeListener(this) { // from class: o.eTl private EasycashContactInformationFragment e; @Override // android.view.View.OnFocusChangeListener public final void onFocusChange(View view, boolean z) { EasycashContactInformationFragment.a(this.e, z); } { this.e = this; } }); CommonInputViewGroup commonInputViewGroup2 = this.h.v; TextWatcher textWatcher2 = new TextWatcher(this) { // from class: com.scb.phone.view.fragment.easycash.EasycashContactInformationFragment.4 private EasycashContactInformationFragment 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) { } { this.a = this; } @Override // android.text.TextWatcher public final void afterTextChanged(Editable editable) { this.a.presenter.h(editable.toString()); } }; commonInputViewGroup2.mEditText.addTextChangedListener(textWatcher2); commonInputViewGroup2.d.add(textWatcher2); } @Override // o.InterfaceC6621cYR.NHB public final void w() { this.d.D.setVisibility(0); } @Override // o.InterfaceC6621cYR.NHB public final void g() { this.d.D.setVisibility(8); } @Override // o.InterfaceC6621cYR.NHB public final void o() { this.h.y.setProxyLabel(R.string.contact_info_mobile_number_card_x); this.h.r.setText(getString(R.string.reference_code_label_cdx)); } /* JADX WARN: Code restructure failed: missing block: B:10:0x005f, code lost: r2 = new android.text.SpannableString(r5); r13 = (android.text.SpannableString) r2; android.text.TextUtils.copySpansFrom((android.text.SpannedString) r13, 0, r5.length(), java.lang.Object.class, r2, 0); r13 = com.scb.phone.view.fragment.easycash.EasycashContactInformationFragment.j + 71; com.scb.phone.view.fragment.easycash.EasycashContactInformationFragment.f = r13 % 128; r13 = r13 % 2; r5 = r2; */ /* JADX WARN: Code restructure failed: missing block: B:12:0x0042, code lost: if (r5.startsWith(",*,)") != false) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0028, code lost: if (r5.startsWith(",*,)") != false) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0044, code lost: r2 = r5.substring(4); r5 = new java.lang.Object[1]; F(r2, r5); r5 = ((java.lang.String) r5[0]).intern(); r13 = r4.getText(r13); */ /* JADX WARN: Code restructure failed: missing block: B:9:0x005d, code lost: if ((r13 instanceof android.text.Spanned) == false) goto L12; */ /* JADX WARN: Multi-variable type inference failed */ /* JADX WARN: Type inference failed for: r2v8, types: [android.text.SpannableString, android.text.Spannable] */ @Override // o.InterfaceC6621cYR.NHB /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void e(int r13) { /* r12 = this; r0 = 2 int r1 = r0 % r0 int r1 = com.scb.phone.view.fragment.easycash.EasycashContactInformationFragment.j int r1 = r1 + 87 int r2 = r1 % 128 com.scb.phone.view.fragment.easycash.EasycashContactInformationFragment.f = r2 int r1 = r1 % r0 java.lang.String r2 = ",*,)" r3 = 0 if (r1 == 0) goto L2b o.Uft r1 = r12.h android.widget.LinearLayout r1 = r1.m r1.setVisibility(r3) o.Uft r1 = r12.h android.widget.TextView r1 = r1.z android.content.Context r4 = r1.getContext() java.lang.String r5 = r4.getString(r13) boolean r2 = r5.startsWith(r2) if (r2 == 0) goto L80 goto L44 L2b: o.Uft r1 = r12.h android.widget.LinearLayout r1 = r1.m r1.setVisibility(r3) o.Uft r1 = r12.h android.widget.TextView r1 = r1.z android.content.Context r4 = r1.getContext() java.lang.String r5 = r4.getString(r13) boolean r2 = r5.startsWith(r2) if (r2 == 0) goto L80 L44: r2 = 4 java.lang.String r2 = r5.substring(r2) r5 = 1 java.lang.Object[] r5 = new java.lang.Object[r5] r12.F(r2, r5) r2 = r5[r3] java.lang.String r2 = (java.lang.String) r2 java.lang.String r5 = r2.intern() java.lang.CharSequence r13 = r4.getText(r13) boolean r2 = r13 instanceof android.text.Spanned if (r2 == 0) goto L80 android.text.SpannableString r2 = new android.text.SpannableString r2.(r5) r6 = r13 android.text.SpannedString r6 = (android.text.SpannedString) r6 r7 = 0 int r8 = r5.length() java.lang.Class r9 = java.lang.Object.class r13 = r2 android.text.SpannableString r13 = (android.text.SpannableString) r13 r11 = 0 r10 = r2 android.text.TextUtils.copySpansFrom(r6, r7, r8, r9, r10, r11) int r13 = com.scb.phone.view.fragment.easycash.EasycashContactInformationFragment.j int r13 = r13 + 71 int r3 = r13 % 128 com.scb.phone.view.fragment.easycash.EasycashContactInformationFragment.f = r3 int r13 = r13 % r0 r5 = r2 L80: r1.setText(r5) return */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.easycash.EasycashContactInformationFragment.e(int):void"); } @Override // o.InterfaceC6621cYR.NHB public final void f(String str) { C12891fKc.azB_(requireContext(), R.drawable.default_card, this.h.f, str); } @Override // o.InterfaceC6621cYR.NHB public final void C() { this.h.r.setVisibility(0); this.h.p.setVisibility(0); } @Override // o.InterfaceC6621cYR.NHB public final void f() { this.h.r.setVisibility(8); this.h.p.setVisibility(8); } @Override // o.InterfaceC6621cYR.NHB public final void b(String str) { this.h.x.setText(str); } @Override // o.InterfaceC6621cYR.NHB public final void a(String str) { this.h.v.setText(str); } @Override // o.InterfaceC6621cYR.NHB public final void c(OffsetDateTime offsetDateTime, OffsetDateTime offsetDateTime2, OffsetDateTime offsetDateTime3) { startActivityForResult(CalendarDialogActivity.alI_(getContext(), 3, offsetDateTime, offsetDateTime2, offsetDateTime3, OffsetDateTime.now().truncatedTo(gtH.DAYS)), 281); } @Override // o.InterfaceC6621cYR.NHB public final void e(String str, String str2) { this.h.k.setVisibility(0); this.h.d.setFilter("^[a-zA-Z .'-]+$"); this.h.j.setFilter("^[a-zA-Z .'-]+$"); this.h.d.setText(str); this.h.j.setText(str2); this.h.d.setFocusListener(new View.OnFocusChangeListener(this) { // from class: o.eTo private EasycashContactInformationFragment c; @Override // android.view.View.OnFocusChangeListener public final void onFocusChange(View view, boolean z) { EasycashContactInformationFragment.e(this.c, z); } { this.c = this; } }); CommonInputViewGroup commonInputViewGroup = this.h.d; TextWatcher textWatcher = new TextWatcher(this) { // from class: com.scb.phone.view.fragment.easycash.EasycashContactInformationFragment.7 private EasycashContactInformationFragment 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) { } { this.a = this; } @Override // android.text.TextWatcher public final void afterTextChanged(Editable editable) { this.a.presenter.b(editable.toString()); } }; commonInputViewGroup.mEditText.addTextChangedListener(textWatcher); commonInputViewGroup.d.add(textWatcher); this.h.j.setFocusListener(new View.OnFocusChangeListener(this) { // from class: o.eTn private EasycashContactInformationFragment d; @Override // android.view.View.OnFocusChangeListener public final void onFocusChange(View view, boolean z) { EasycashContactInformationFragment.h(this.d, z); } { this.d = this; } }); CommonInputViewGroup commonInputViewGroup2 = this.h.j; TextWatcher textWatcher2 = new TextWatcher(this) { // from class: com.scb.phone.view.fragment.easycash.EasycashContactInformationFragment.6 private EasycashContactInformationFragment 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) { } { this.e = this; } @Override // android.text.TextWatcher public final void afterTextChanged(Editable editable) { this.e.presenter.j(editable.toString()); } }; commonInputViewGroup2.mEditText.addTextChangedListener(textWatcher2); commonInputViewGroup2.d.add(textWatcher2); } @Override // o.InterfaceC6621cYR.NHB public final void c(String str) { this.h.t.setVisibility(0); this.h.G.setText(str); } @Override // o.InterfaceC6621cYR.NHB public final void b(boolean z) { if (z) { this.h.d.setErrorText(getString(R.string.english_name_inline_error)); this.h.d.c(); } else { this.h.d.e(); } } @Override // o.InterfaceC6621cYR.NHB public final void e(boolean z) { if (z) { this.h.j.setErrorText(getString(R.string.english_name_inline_error)); this.h.j.c(); } else { this.h.j.e(); } } @Override // o.InterfaceC6621cYR.NHB public final void h(boolean z) { if (z) { this.h.x.setErrorText(getString(R.string.reference_code_error)); this.h.x.c(); } else { this.h.x.e(); } } @Override // o.InterfaceC6621cYR.NHB public final void i(boolean z) { if (z) { this.h.v.setErrorText(getString(R.string.reference_code_error)); this.h.v.c(); } else { this.h.v.e(); } } /* renamed from: com.scb.phone.view.fragment.easycash.EasycashContactInformationFragment$8, reason: invalid class name */ /* loaded from: classes5.dex */ static /* synthetic */ class AnonymousClass8 { static final int[] a; static { int[] iArr = new int[YU.values().length]; a = iArr; try { iArr[YU.INVALID_FORMAT.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { a[YU.INVALID_DOPA.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } try { a[YU.INCOMPLETE.ordinal()] = 3; } catch (NoSuchFieldError unused3) { } } } @Override // o.InterfaceC6621cYR.NHB public final void b(YU yu) { int i = AnonymousClass8.a[yu.ordinal()]; if (i == 1 || i == 2) { this.h.i.setError(getString(R.string.contact_info_laser_id_invalid_dopa)); CustomLaserIdInputWithoutHeader customLaserIdInputWithoutHeader = this.h.i; customLaserIdInputWithoutHeader.tvLaserIdError.setVisibility(0); customLaserIdInputWithoutHeader.d(false); return; } if (i == 3) { this.h.i.setError(getString(R.string.contact_info_laser_id_invalid_format)); CustomLaserIdInputWithoutHeader customLaserIdInputWithoutHeader2 = this.h.i; customLaserIdInputWithoutHeader2.tvLaserIdError.setVisibility(0); customLaserIdInputWithoutHeader2.d(false); } } @Override // o.InterfaceC6621cYR.NHB public final void e() { CustomLaserIdInputWithoutHeader customLaserIdInputWithoutHeader = this.h.i; customLaserIdInputWithoutHeader.tvLaserIdError.setVisibility(8); customLaserIdInputWithoutHeader.d(true); } @Override // o.InterfaceC6621cYR.NHB public final void f(boolean z) { this.h.q.setVisibility(z ? 0 : 8); } @Override // o.InterfaceC6621cYR.NHB public final void e(String str) { this.h.E.setText(str); } @Override // o.InterfaceC6621cYR.NHB public final void g(String str) { this.h.J.setText(str); } @Override // o.InterfaceC6621cYR.NHB public final void a(String str, boolean z) { this.tracker.e(str, z); } @Override // o.InterfaceC6621cYR.NHB public final void a(String str, String str2, String str3) { Intent intent = new Intent(getContext(), (Class) EasycashNCBConsentActivity.class); intent.putExtra("EXTRA_APPLICATION_ID", str); intent.putExtra("EXTRA_PRODUCT_TYPE", str2); intent.putExtra("EXTRA_PRODUCT_PROGRAM", str3); intent.putExtra("EXTRA_PRODUCT_GROUP", this.i.h()); intent.putExtra("EXTRA_FLOW_TYPE", this.i.j()); startActivityForResult(intent, 101); } @Override // o.InterfaceC6621cYR.NHB public final void c(String str, String str2, String str3) { startActivityForResult(EasycashCommonNCBConsentActivity.aen_(new fJI(getContext(), this.i.h(), this.i.j(), str2, str3, str, this.i.f(), this.i.c(), null)), 101); } @Override // o.InterfaceC6621cYR.NHB public final void r() { this.h.H.setVisibility(0); this.h.H.setText(getString(R.string.address_required_field)); } @Override // o.InterfaceC6621cYR.NHB public final void a() { this.h.H.setVisibility(8); } @Override // o.InterfaceC6621cYR.NHB public final void s() { this.h.L.setVisibility(0); this.h.L.setText(getString(R.string.address_required_field)); } @Override // o.InterfaceC6621cYR.NHB public final void d() { this.h.L.setVisibility(8); } @Override // o.InterfaceC6621cYR.NHB public final void D() { this.h.s.setVisibility(0); this.h.u.setVisibility(0); } @Override // o.InterfaceC6621cYR.NHB public final void i() { k(true); } @Override // o.InterfaceC6621cYR.NHB public final void m() { EasycashLandingActivity.c(getActivity()); } @Override // o.InterfaceC6621cYR.NHB public final void c() { String k = this.i.k(); k.hashCode(); if (k.equals("HOME_TOP_UP")) { aYH ayh = this.presenter; aYH.a(new Object[]{ayh, getString(R.string.review_title), this.i.d(), this.i.i()}, 1869955332, -1869955311, System.identityHashCode(ayh)); } else if (k.equals("PURPOSEFUL_LOAN")) { this.presenter.e(getString(R.string.review_title), this.i.d(), this.i.l()); } else { aYH ayh2 = this.presenter; aYH.a(new Object[]{ayh2}, 1561099309, -1561099295, System.identityHashCode(ayh2)); } } @Override // o.InterfaceC6621cYR.NHB public final void d(C0693Mj c0693Mj) { CustomDialog b = CustomDialog.b(getActivity()); String str = c0693Mj.d; if (gjJ.a(str)) { b.mTitleTextView.setVisibility(0); b.mTitleTextView.setText(str); } String str2 = c0693Mj.c; if (gjJ.a(str2)) { b.mTextTextView.setVisibility(0); b.mTextTextView.setText(str2); } CustomDialog aoT_ = b.aoT_(R.string.ok, new DialogInterface.OnClickListener(this) { // from class: o.eTq private EasycashContactInformationFragment c; @Override // android.content.DialogInterface.OnClickListener public final void onClick(DialogInterface dialogInterface, int i) { EasycashContactInformationFragment.ase_(this.c, dialogInterface); } { this.c = this; } }); aoT_.setCancelable(false); aoT_.setOnDismissListener(this); aoT_.show(); } @Override // o.InterfaceC6621cYR.NHB public final void a(C0618Ku c0618Ku) { this.k.e(this, EasycashReviewFragment.e(c0618Ku)); } @Override // o.InterfaceC6621cYR.NHB public final void b(Map map) { InterfaceC9713dpA interfaceC9713dpA = this.k; C14957gcv.e(map, ""); Bundle bundle = new Bundle(); bundle.putSerializable("CONSENTS_MAP", (Serializable) map); EasycashCommonReviewFragment easycashCommonReviewFragment = new EasycashCommonReviewFragment(); easycashCommonReviewFragment.setArguments(bundle); interfaceC9713dpA.e(this, easycashCommonReviewFragment); } @Override // o.InterfaceC9713dpA.HBt public final String q() { if ("AUTO_TOP_UP".equals(this.i.k())) { return getString(R.string.contact_info_title_auto_topup); } return getString(R.string.contact_info_title); } @Override // o.InterfaceC6621cYR.NHB public final void l(String str) { String string = getString(R.string.contact_info_terms_cond_begin); String string2 = getString(R.string.contact_info_terms_cond_clickable); String string3 = getString(R.string.contact_info_terms_cond_end); if (!gjJ.b((CharSequence) str)) { string3 = string3.concat("\n\n").concat(str); } StringBuilder sb = new StringBuilder(); sb.append(string); sb.append(string2); sb.append(string3); SpannableString spannableString = new SpannableString(sb.toString()); ClickableSpan clickableSpan = new ClickableSpan(this) { // from class: com.scb.phone.view.fragment.easycash.EasycashContactInformationFragment.9 private EasycashContactInformationFragment b; { this.b = this; } @Override // android.text.style.ClickableSpan public final void onClick(View view) { this.b.presenter.a("TERMS_N_CONDITIONS"); } @Override // android.text.style.ClickableSpan, android.text.style.CharacterStyle public final void updateDrawState(TextPaint textPaint) { super.updateDrawState(textPaint); textPaint.setUnderlineText(true); textPaint.setColor(nMh.getColor(this.b.getContext(), R.color.f13682131100876)); } }; int length = string.length(); StringBuilder sb2 = new StringBuilder(); sb2.append(string); sb2.append(string2); spannableString.setSpan(clickableSpan, length, sb2.toString().length(), 0); this.h.C.setText(spannableString); this.h.C.setMovementMethod(LinkMovementMethod.getInstance()); this.h.C.setHighlightColor(0); this.h.b.setOnClickListener(new View.OnClickListener(this) { // from class: o.eTv private EasycashContactInformationFragment c; @Override // android.view.View.OnClickListener public final void onClick(View view) { r1.presenter.e(this.c.h.b.isChecked()); } { this.c = this; } }); } @Override // o.InterfaceC6621cYR.NHB public final void d(boolean z) { this.h.b.setChecked(z); } @Override // o.InterfaceC6621cYR.NHB public final void k() { this.h.D.setText(getString(R.string.e_document_description_mcmc)); } @Override // o.InterfaceC6621cYR.NHB public final void n() { this.h.a.setOnClickListener(new View.OnClickListener(this) { // from class: o.eTj private EasycashContactInformationFragment b; @Override // android.view.View.OnClickListener public final void onClick(View view) { r1.presenter.c(this.b.h.a.isChecked()); } { this.b = this; } }); } @Override // o.InterfaceC6621cYR.NHB public final void l() { this.h.g.setVisibility(0); this.h.l.setVisibility(0); } @Override // o.InterfaceC6621cYR.NHB public final void a(boolean z) { this.h.a.setChecked(z); } @Override // o.InterfaceC6621cYR.NHB public final void e(String str, boolean z) { Map map = this.c; if (map == null || map.isEmpty()) { return; } this.c.get(str).setAgree(z); } @Override // o.InterfaceC6621cYR.NHB public final void b() { this.h.c.items.removeAllViews(); this.h.h.setVisibility(8); this.h.f8394o.setVisibility(8); } @Override // o.InterfaceC6621cYR.NHB public final void d(List list) { this.h.c.items.removeAllViews(); this.c = new HashMap(); ArrayList arrayList = new ArrayList(); for (IP ip : list) { CustomAcceptDecline customAcceptDecline = new CustomAcceptDecline(getContext(), ip, new InterfaceC10367eCE(this) { // from class: o.eTi private EasycashContactInformationFragment c; @Override // o.InterfaceC10367eCE public final void c(String str, Boolean bool) { this.c.presenter.a(str, bool.booleanValue()); } { this.c = this; } }); this.c.put(ip.b, customAcceptDecline); arrayList.add(customAcceptDecline); } this.h.c.d(arrayList, R.layout.2131559336); } @Override // o.InterfaceC6621cYR.NHB public final void k(String str) { Map map = this.c; if (map == null || map.isEmpty()) { return; } this.c.get(str).b(); } @Override // o.InterfaceC6621cYR.NHB public final void c(boolean z) { this.h.e.setEnabled(z); } @Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment public void onActivityResult(int i, int i2, Intent intent) { if (i2 == -1 && (i == 23 || i == 101)) { boolean booleanExtra = intent.getBooleanExtra("CONSENT_CONDITIONS_STATUS", false); this.presenter.a(intent.getStringExtra("CONSENT_CONDITIONS_TAG"), booleanExtra); } else if (i == 281 && i2 == -1) { this.presenter.d((OffsetDateTime) intent.getSerializableExtra("com.scb.phone.EXTRA_DATE")); } } @Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment public void onDestroyView() { this.tracker = null; this.i = null; this.presenter.w_(); super.onDestroyView(); } @Override // o.InterfaceC9652dno public final void a(C0371Fd c0371Fd) { startActivityForResult(LoanTermsConditionsActivity.aeS_(requireContext(), c0371Fd, this.presenter.i()), 23); } @Override // o.InterfaceC6621cYR.NHB public final void B() { Lld lld = this.tracker; Lld.a(new Object[]{lld, this.i.k()}, 1412451036, -1412451032, System.identityHashCode(lld)); this.tracker.j(this.i.j()); Lld lld2 = this.tracker; if (getActivity() != null) { lld2.c(((BaseActivity) getActivity()).scbAnalytics, "popup_decline_data_sharing"); } } @Override // o.InterfaceC6621cYR.NHB public final void h(String str) { this.d.r.setText(str); this.d.r.setTextAppearance(R.style.f56162132017876); if (getContext() == null || getContext().getAssets() == null) { return; } this.d.r.setTypeface(TypefaceUtils.load(getContext().getAssets(), "fonts/db_heavent_regular.ttf")); } @Override // o.InterfaceC6621cYR.NHB public final void z() { this.d.a.setVisibility(0); } @Override // o.InterfaceC6621cYR.NHB public final void h() { this.d.a.setVisibility(8); } @Override // o.InterfaceC6621cYR.NHB public final void m(String str) { this.d.t.setVisibility(0); this.d.t.setText(str); } @Override // o.InterfaceC6621cYR.NHB public final void j() { this.d.t.setVisibility(8); } @Override // o.InterfaceC6621cYR.NHB public final void d(String str) { this.i.a(str); } public static /* synthetic */ void a(EasycashContactInformationFragment easycashContactInformationFragment) { easycashContactInformationFragment.presenter.f(easycashContactInformationFragment.h.d.mEditText.getText().toString()); easycashContactInformationFragment.presenter.g(easycashContactInformationFragment.h.j.mEditText.getText().toString()); if (easycashContactInformationFragment.presenter.d()) { easycashContactInformationFragment.tracker.j(easycashContactInformationFragment.i.j()); easycashContactInformationFragment.presenter.k(); Lld lld = easycashContactInformationFragment.tracker; if (easycashContactInformationFragment.getActivity() != null) { lld.c(((BaseActivity) easycashContactInformationFragment.getActivity()).scbAnalytics, "apply_loan_contact"); } easycashContactInformationFragment.presenter.j(); } } public static /* synthetic */ void e(EasycashContactInformationFragment easycashContactInformationFragment) { InterfaceC9713dpA interfaceC9713dpA = easycashContactInformationFragment.k; aYH ayh = easycashContactInformationFragment.presenter; interfaceC9713dpA.e(easycashContactInformationFragment, EasycashMailingAddressFragment.a((SP) aYH.a(new Object[]{ayh}, 1352209102, -1352209101, System.identityHashCode(ayh)))); } public static /* synthetic */ void b(EasycashContactInformationFragment easycashContactInformationFragment) { aYH ayh = easycashContactInformationFragment.presenter; aYH.a(new Object[]{ayh}, -1504134197, 1504134217, System.identityHashCode(ayh)); } public static /* synthetic */ void a(EasycashContactInformationFragment easycashContactInformationFragment, boolean z) { if (z) { easycashContactInformationFragment.i(false); } else { easycashContactInformationFragment.presenter.l(); } } public static /* synthetic */ void ase_(EasycashContactInformationFragment easycashContactInformationFragment, DialogInterface dialogInterface) { dialogInterface.dismiss(); if (easycashContactInformationFragment.getActivity() != null) { easycashContactInformationFragment.getActivity().onBackPressed(); } } public static /* synthetic */ void e(EasycashContactInformationFragment easycashContactInformationFragment, boolean z) { if (z) { easycashContactInformationFragment.b(false); } else { easycashContactInformationFragment.h.d.setText(easycashContactInformationFragment.h.d.mEditText.getText().toString().trim()); easycashContactInformationFragment.presenter.f(easycashContactInformationFragment.h.d.mEditText.getText().toString()); } } public static /* synthetic */ void d(EasycashContactInformationFragment easycashContactInformationFragment, boolean z) { if (z) { CustomLaserIdInputWithoutHeader customLaserIdInputWithoutHeader = easycashContactInformationFragment.h.i; customLaserIdInputWithoutHeader.tvLaserIdError.setVisibility(8); customLaserIdInputWithoutHeader.d(true); return; } easycashContactInformationFragment.presenter.n(); } public static /* synthetic */ void b(EasycashContactInformationFragment easycashContactInformationFragment, boolean z) { if (z) { easycashContactInformationFragment.h(false); } else { easycashContactInformationFragment.presenter.o(); } } public static /* synthetic */ void c(EasycashContactInformationFragment easycashContactInformationFragment, boolean z) { if (z) { easycashContactInformationFragment.aN_(); } } public static /* synthetic */ void h(EasycashContactInformationFragment easycashContactInformationFragment, boolean z) { if (z) { easycashContactInformationFragment.e(false); } else { easycashContactInformationFragment.h.j.setText(easycashContactInformationFragment.h.j.mEditText.getText().toString().trim()); easycashContactInformationFragment.presenter.g(easycashContactInformationFragment.h.j.mEditText.getText().toString()); } } public static /* synthetic */ void b(EasycashContactInformationFragment easycashContactInformationFragment, C0597Kh c0597Kh) { RadioButton radioButton = new RadioButton(easycashContactInformationFragment.getContext()); radioButton.setId(ViewCompat.a()); c0597Kh.e = radioButton.getId(); radioButton.setText(c0597Kh.c); radioButton.setTextAppearance(R.style.f56162132017876); if (easycashContactInformationFragment.getContext() != null && easycashContactInformationFragment.getContext().getAssets() != null) { radioButton.setTypeface(TypefaceUtils.load(easycashContactInformationFragment.getContext().getAssets(), "fonts/db_heavent_regular.ttf")); } if (c0597Kh.a) { radioButton.setChecked(true); } ViewGroup.MarginLayoutParams marginLayoutParams = new ViewGroup.MarginLayoutParams(-2, -2); marginLayoutParams.setMargins(easycashContactInformationFragment.getResources().getDimensionPixelSize(R.dimen.f16562131165422), easycashContactInformationFragment.getResources().getDimensionPixelSize(R.dimen.f16562131165422), easycashContactInformationFragment.getResources().getDimensionPixelSize(R.dimen.f16562131165422), easycashContactInformationFragment.getResources().getDimensionPixelSize(R.dimen.f17112131165477)); radioButton.setLayoutParams(marginLayoutParams); easycashContactInformationFragment.d.i.addView(radioButton); } public static /* synthetic */ boolean d(EasycashContactInformationFragment easycashContactInformationFragment, int i) { if (i != 6) { return false; } easycashContactInformationFragment.aN_(); easycashContactInformationFragment.h.i.clearFocus(); return true; } public static /* synthetic */ void b(EasycashContactInformationFragment easycashContactInformationFragment, JW jw, final int i) { aYH ayh = easycashContactInformationFragment.presenter; YKU yku = new YKU(jw.t); aYH.a(new Object[]{ayh, (C0597Kh) new YKU(yku.a, new GEP(yku.b, new Jel(i) { // from class: o.eTp private int b; @Override // o.Jel public final boolean e(Object obj) { return EasycashContactInformationFragment.e(this.b, (C0597Kh) obj); } { this.b = i; } })).a()}, -1587770781, 1587770789, System.identityHashCode(ayh)); } static /* synthetic */ void asf_(Editable editable) { try { Integer.parseInt(String.valueOf(editable.charAt(0))); editable.replace(0, editable.length(), new SpannableStringBuilder(editable.toString().replaceAll("[a-zA-Z]", ""))); } catch (IndexOutOfBoundsException | NumberFormatException unused) { } } public static /* synthetic */ boolean e(int i, C0597Kh c0597Kh) { return c0597Kh.e == i; } @Override // o.InterfaceC6621cYR.NHB public final void d(final JW jw) { JZ jz = jw.f8224o; this.h.n.setVisibility(8); this.d.e.setVisibility(0); this.d.h.setText(jz.f8226o); this.d.j.setText(jz.b); this.d.w.setText(jz.f); this.d.n.setText(jw.q); this.d.y.setText(jz.e); this.d.g.setText(jw.c); this.d.u.setText(jz.a); this.d.m.setText(jw.i); this.d.A.setText(jz.c); this.d.z.setText(jz.i); this.d.p.setText(jw.u); this.d.s.setText(jz.d); this.d.f.setText(jw.f); this.d.b.setTitle(jz.j); this.d.b.setItems(jw.y, false, true); this.d.b.setSelectionIndex(0); this.d.b.setForegroundFontEnabled(true); this.d.b.setOnCustomSpinnerWithTitleCompletion(new CustomSpinnerWithTitle.LWm(this) { // from class: com.scb.phone.view.fragment.easycash.EasycashContactInformationFragment.1 private EasycashContactInformationFragment a; @Override // com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle.LWm public final void bn_() { } { this.a = this; } @Override // com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle.LWm public final void bo_() { this.a.presenter.d(this.a.d.b.d()); } }); this.d.q.setText(jz.n); this.d.v.setText(jz.g); this.d.l.setText(jw.m); this.d.x.setText(jz.m); this.d.i.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener(this, jw) { // from class: o.eTB private JW b; private EasycashContactInformationFragment c; @Override // android.widget.RadioGroup.OnCheckedChangeListener public final void onCheckedChanged(RadioGroup radioGroup, int i) { EasycashContactInformationFragment.b(this.c, this.b, i); } { this.c = this; this.b = jw; } }); jw.t.forEach(new Consumer(this) { // from class: o.eTe private EasycashContactInformationFragment d; @Override // java.util.function.Consumer public final void accept(Object obj) { EasycashContactInformationFragment.b(this.d, (C0597Kh) obj); } { this.d = this; } }); YKU yku = new YKU(jw.a); this.d.d.setItems(new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw() { // from class: o.eTm @Override // o.InterfaceC1244Ytw public final Object d(Object obj) { String str; str = ((JR) obj).e; return str; } })).b(), true, false); this.d.d.setMandatory(true); this.d.d.setForegroundFontEnabled(true); this.d.d.setOnCustomSpinnerWithTitleCompletion(new CustomSpinnerWithTitle.LWm(this, jw) { // from class: com.scb.phone.view.fragment.easycash.EasycashContactInformationFragment.3 private EasycashContactInformationFragment b; private JW e; @Override // com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle.LWm public final void bn_() { } { this.b = this; this.e = jw; } @Override // com.scb.phone.view.custom.investment.onboarding.CustomSpinnerWithTitle.LWm public final void bo_() { this.b.presenter.d(this.b.d.d.d(), this.e); } }); this.d.k.setText(jz.h); } }