LINE.apk(点击下载) / PayRecoveryKycRulesFragment.java
package com.linecorp.linepay.jp.kyc.impl.digitalid.recoverykyc.screens;
import android.os.Bundle;
import android.text.SpannableString;
import android.text.method.LinkMovementMethod;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.TextView;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.o0;
import androidx.lifecycle.e1;
import androidx.lifecycle.f1;
import bf0.i;
import bf0.j;
import dm3.l;
import em3.l0;
import em3.q;
import em3.s;
import jp.naver.line.android.R;
import kotlin.Lazy;
import kotlin.Metadata;
import kotlin.Unit;
import so.g;
import so.h;
import u52.n;
@Metadata(bv = {}, d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0003\u0018\u00002\u00020\u00012\u00020\u0002B\u0007¢\u0006\u0004\b\u0003\u0010\u0004¨\u0006\u0005"}, d2 = {"Lcom/linecorp/linepay/jp/kyc/impl/digitalid/recoverykyc/screens/PayRecoveryKycRulesFragment;", "Landroidx/fragment/app/Fragment;", "", "<init>", "()V", "pay-jp-kyc-impl_release"}, k = 1, mv = {1, 6, 0})
public final class PayRecoveryKycRulesFragment extends Fragment {
/* renamed from: d reason: collision with root package name */
public static final /* synthetic */ int f49205d = 0;
/* renamed from: b reason: collision with root package name */
public n f49206b;
/* renamed from: c reason: collision with root package name */
public final Lazy f49207c = o0.a(this, l0.a(v52.c.class), new d(this), new e(this));
public static final class a extends s implements l<View, Unit> {
/* renamed from: b reason: collision with root package name */
public final /* synthetic */ PayRecoveryKycRulesFragment f49208b;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public a(PayRecoveryKycRulesFragment payRecoveryKycRulesFragment) {
super(1);
this.f49208b = payRecoveryKycRulesFragment;
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // dm3.l
public Unit invoke(View view) {
q.f(view, "it");
PayRecoveryKycRulesFragment.Y4(this.f49208b).g6("https://contact-cc.line.me/serviceId/12240", false);
return Unit.INSTANCE;
}
}
public static final class b extends s implements l<View, Unit> {
/* renamed from: b reason: collision with root package name */
public final /* synthetic */ PayRecoveryKycRulesFragment f49209b;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public b(PayRecoveryKycRulesFragment payRecoveryKycRulesFragment) {
super(1);
this.f49209b = payRecoveryKycRulesFragment;
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // dm3.l
public Unit invoke(View view) {
q.f(view, "it");
PayRecoveryKycRulesFragment.Y4(this.f49209b).e6(v52.b.GUIDE);
return Unit.INSTANCE;
}
}
public static final class c extends s implements l<View, Unit> {
/* renamed from: b reason: collision with root package name */
public final /* synthetic */ PayRecoveryKycRulesFragment f49210b;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public c(PayRecoveryKycRulesFragment payRecoveryKycRulesFragment) {
super(1);
this.f49210b = payRecoveryKycRulesFragment;
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // dm3.l
public Unit invoke(View view) {
q.f(view, "it");
PayRecoveryKycRulesFragment.Y4(this.f49210b).f6();
return Unit.INSTANCE;
}
}
public static final class d extends s implements dm3.a<f1> {
/* renamed from: b reason: collision with root package name */
public final /* synthetic */ Fragment f49211b;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public d(Fragment fragment) {
super(0);
this.f49211b = fragment;
}
/* Return type fixed from 'java.lang.Object' to match base method */
@Override // dm3.a
public f1 invoke() {
return j.b(this.f49211b, "requireActivity().viewModelStore");
}
}
public static final class e extends s implements dm3.a<e1.b> {
/* renamed from: b reason: collision with root package name */
public final /* synthetic */ Fragment f49212b;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public e(Fragment fragment) {
super(0);
this.f49212b = fragment;
}
/* Return type fixed from 'java.lang.Object' to match base method */
@Override // dm3.a
public e1.b invoke() {
return i.a(this.f49212b, "requireActivity().defaultViewModelProviderFactory");
}
}
public static final v52.c Y4(PayRecoveryKycRulesFragment payRecoveryKycRulesFragment) {
return (v52.c) payRecoveryKycRulesFragment.f49207c.getValue();
}
public final void a5() {
n nVar = this.f49206b;
if (nVar != null) {
nVar.f153152c.setEnabled(nVar.f153154e.isEnabled() && nVar.f153155f.isChecked());
} else {
q.l("binding");
throw null;
}
}
@Override // androidx.fragment.app.Fragment
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
q.f(layoutInflater, "inflater");
View inflate = layoutInflater.inflate(R.layout.pay_jp_fragment_recovery_kyc_rules, viewGroup, false);
int i14 = R.id.pay_recovery_kyc_rules_accept_btn;
Button button = (Button) dz.a.g(inflate, R.id.pay_recovery_kyc_rules_accept_btn);
if (button != null) {
i14 = R.id.pay_recovery_kyc_rules_cancel_btn;
Button button2 = (Button) dz.a.g(inflate, R.id.pay_recovery_kyc_rules_cancel_btn);
if (button2 != null) {
i14 = R.id.pay_recovery_kyc_rules_check_1;
CheckBox checkBox = (CheckBox) dz.a.g(inflate, R.id.pay_recovery_kyc_rules_check_1);
if (checkBox != null) {
i14 = R.id.pay_recovery_kyc_rules_check_2;
CheckBox checkBox2 = (CheckBox) dz.a.g(inflate, R.id.pay_recovery_kyc_rules_check_2);
if (checkBox2 != null) {
i14 = R.id.pay_recovery_kyc_rules_desc;
TextView textView = (TextView) dz.a.g(inflate, R.id.pay_recovery_kyc_rules_desc);
if (textView != null) {
i14 = R.id.pay_recovery_kyc_rules_desc_1;
TextView textView2 = (TextView) dz.a.g(inflate, R.id.pay_recovery_kyc_rules_desc_1);
if (textView2 != null) {
i14 = R.id.pay_recovery_kyc_rules_desc_2;
TextView textView3 = (TextView) dz.a.g(inflate, R.id.pay_recovery_kyc_rules_desc_2);
if (textView3 != null) {
i14 = R.id.pay_recovery_kyc_rules_service_bank;
TextView textView4 = (TextView) dz.a.g(inflate, R.id.pay_recovery_kyc_rules_service_bank);
if (textView4 != null) {
i14 = R.id.pay_recovery_kyc_rules_service_bitmax;
TextView textView5 = (TextView) dz.a.g(inflate, R.id.pay_recovery_kyc_rules_service_bitmax);
if (textView5 != null) {
i14 = R.id.pay_recovery_kyc_rules_service_insurance;
TextView textView6 = (TextView) dz.a.g(inflate, R.id.pay_recovery_kyc_rules_service_insurance);
if (textView6 != null) {
i14 = R.id.pay_recovery_kyc_rules_service_insurance_help;
TextView textView7 = (TextView) dz.a.g(inflate, R.id.pay_recovery_kyc_rules_service_insurance_help);
if (textView7 != null) {
i14 = R.id.pay_recovery_kyc_rules_service_pocketmoney;
TextView textView8 = (TextView) dz.a.g(inflate, R.id.pay_recovery_kyc_rules_service_pocketmoney);
if (textView8 != null) {
i14 = R.id.pay_recovery_kyc_rules_sub_desc_2;
TextView textView9 = (TextView) dz.a.g(inflate, R.id.pay_recovery_kyc_rules_sub_desc_2);
if (textView9 != null) {
i14 = R.id.pay_recovery_kyc_rules_title;
TextView textView10 = (TextView) dz.a.g(inflate, R.id.pay_recovery_kyc_rules_title);
if (textView10 != null) {
this.f49206b = new n((ConstraintLayout) inflate, button, button2, checkBox, checkBox2, textView, textView2, textView3, textView4, textView5, textView6, textView7, textView8, textView9, textView10);
a aVar = new a(this);
String string = getString(R.string.pay_jp_recovery_ekyc_permission_sevice_insurance_link_help);
q.e(string, "getString(stringId)");
SpannableString spannableString = new SpannableString(string);
spannableString.setSpan(new x52.a(aVar, this), 0, string.length(), 33);
textView7.setText(spannableString);
n nVar = this.f49206b;
if (nVar != null) {
nVar.f153156g.setMovementMethod(LinkMovementMethod.getInstance());
n nVar2 = this.f49206b;
if (nVar2 != null) {
ConstraintLayout constraintLayout = nVar2.f153151b;
q.e(constraintLayout, "binding.root");
return constraintLayout;
}
q.l("binding");
throw null;
}
q.l("binding");
throw null;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i14)));
}
@Override // androidx.fragment.app.Fragment
public void onViewCreated(View view, Bundle bundle) {
q.f(view, "view");
super.onViewCreated(view, bundle);
n nVar = this.f49206b;
if (nVar != null) {
Button button = nVar.f153152c;
q.e(button, "binding.payRecoveryKycRulesAcceptBtn");
o52.c.a(button, new b(this));
n nVar2 = this.f49206b;
if (nVar2 != null) {
Button button2 = nVar2.f153153d;
q.e(button2, "binding.payRecoveryKycRulesCancelBtn");
o52.c.a(button2, new c(this));
n nVar3 = this.f49206b;
if (nVar3 != null) {
nVar3.f153154e.setOnClickListener(new h(this, 21));
n nVar4 = this.f49206b;
if (nVar4 != null) {
nVar4.f153155f.setOnClickListener(new g(this, 16));
} else {
q.l("binding");
throw null;
}
} else {
q.l("binding");
throw null;
}
} else {
q.l("binding");
throw null;
}
} else {
q.l("binding");
throw null;
}
}
}