正在查看: Baubap v3.9.7 应用的 KycIneBackFragment.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Baubap v3.9.7 应用的 KycIneBackFragment.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.baubap.modules.account.recovery.presentation.kyc;
import a1.f1;
import ah.a;
import ah.e;
import ah.f;
import ah.h;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import androidx.recyclerview.widget.g1;
import androidx.viewpager2.widget.ViewPager2;
import bo.app.p7;
import cg.a0;
import cg.z;
import com.google.android.material.button.MaterialButton;
import f.c;
import f40.k;
import f6.d0;
import f6.l1;
import fx.o;
import g0.i;
import i5.p;
import in.e0;
import java.util.List;
import kotlin.jvm.internal.q;
import kotlin.jvm.internal.v;
import kotlin.jvm.internal.y;
import l10.b;
import m30.g;
import me.b2;
import mo.j;
import ny.k1;
import q8.u;
import rg.d;
import u8.a3;
public final class KycIneBackFragment extends a {
public static final k[] f9222n;
public final j f9223k;
public final l1 f9224l;
public final c f9225m;
static {
q qVar = new q(KycIneBackFragment.class, "binding", "getBinding()Lcom/baubap/databinding/KycIneBackFragmentBinding;", 0);
y.a.getClass();
f9222n = new k[]{qVar};
}
public KycIneBackFragment() {
super(2131558677, 1);
this.f9223k = k1.O(this, f.f1390b);
m30.f e02 = b.e0(g.c, new f1(new d(this, 10), 27));
this.f9224l = f40.q.K(this, y.a(KycViewModel.class), new cg.y(e02, 1), new z(e02, 1), new a0(this, e02, 1));
c registerForActivityResult = registerForActivityResult(new g.c(2), new p7(this, 1));
xu.b.x(registerForActivityResult, "registerForActivityResult(...)");
this.f9225m = registerForActivityResult;
}
public final b2 W() {
return (b2) this.f9223k.a(this, f9222n[0]);
}
public final KycViewModel X() {
return (KycViewModel) this.f9224l.getValue();
}
public final void Y() {
Uri L = mr.b.L(this, "legalBack");
KycViewModel X = X();
X.getClass();
X.C = L;
u H = mr.b.H(this);
if (H != null) {
mr.b.Y(H, 2131361961, i.t(new m30.i("isIneFrontal", Boolean.FALSE), new m30.i("photoUri", L.toString())));
}
}
@Override
public final void onViewCreated(View view, Bundle bundle) {
q8.q g10;
xu.b.y(view, "view");
W().f20576b.setAnimationFromUrl("https://media.baubap.com/android/identity/kyc/ine_back.lottie");
W().f20577c.setAnimationFromUrl("https://media.baubap.com/android/identity/kyc/scanning_face_and_id.json");
ViewPager2 viewPager2 = W().f20581g;
viewPager2.setAdapter(new e0());
new o(W().f20580f, viewPager2, new u6.k(29)).a();
g1 adapter = W().f20581g.getAdapter();
xu.b.w(adapter, "null cannot be cast to non-null type com.baubap.presentation.request.misc.MessagesAdapter");
e0 e0Var = (e0) adapter;
List d02 = i.d0("Limpia el lente de tu cámara", "Evita fotos borrosas. Tómala de nuevo si necesitas.", "Asegúrate que el texto sea legible, principalmente la CURP", "Ubícate en un lugar iluminado", "Evita el uso de flash", "Si tienes inconveniente con tu cámara, contáctanos");
e0Var.f16813a = d02;
e0Var.notifyDataSetChanged();
c0.d.u0(this).a(new h(this, d02, null));
X().f30999b.e(getViewLifecycleOwner(), new t8.j(new ah.g(this, 4), 13));
X().G.e(getViewLifecycleOwner(), new t8.j(new ah.g(this, 5), 13));
X().f31001d.e(getViewLifecycleOwner(), new t8.j(new ah.g(this, 6), 13));
KycViewModel X = X();
xu.b.y(X, "viewModel");
a3 N1 = com.bumptech.glide.c.N1(new ko.a(this, X, new v(), null), X.B.f27166e);
d0 viewLifecycleOwner = getViewLifecycleOwner();
xu.b.x(viewLifecycleOwner, "getViewLifecycleOwner(...)");
w4.g.a0(N1, viewLifecycleOwner);
X.c();
MaterialButton materialButton = W().f20575a;
xu.b.x(materialButton, "btn");
z50.a.Z(materialButton, new ah.g(this, 3));
u H = mr.b.H(this);
if (H == null || (g10 = H.g()) == null) {
return;
}
p pVar = new p(4, g10, this);
g10.f26854i.a(pVar);
getViewLifecycleOwner().getLifecycle().a(new e(g10, pVar, 0));
}
}