Banesco VE v1.23.11版本的 MD5 值为:a4aa3f1f54e4fbb4921e2e1235e636aa
以下内容为反编译后的 AsistenteVirtualFragment.java 源代码,内容仅作参考
package net.itssca.samfpagomovil.login.view;
import android.content.Context;
import android.net.Uri;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.ValueCallback;
import android.webkit.WebView;
import androidx.fragment.app.a0;
import androidx.fragment.app.m1;
import androidx.lifecycle.v0;
import com.banesco.samfbancamovilunificada.R;
import com.google.gson.internal.p;
import d9.n;
import d9.s;
import fa.r1;
import l9.u;
public final class AsistenteVirtualFragment extends a0 {
public static final i9.f[] f8380n0;
public static final String f8381o0;
public static final Uri f8382p0;
public final v0 f8383h0;
public final v0 f8384i0;
public final ba.h f8385j0;
public y9.a f8386k0;
public ValueCallback f8387l0;
public final androidx.activity.result.e f8388m0;
static {
n nVar = new n(AsistenteVirtualFragment.class, "getBinding()Lnet/itssca/samfpagomovil/databinding/FragmentWebViewBinding;");
s.f4527a.getClass();
f8380n0 = new i9.f[]{nVar};
f8381o0 = "AsistenteVirtualFragment";
f8382p0 = Uri.parse("https://chatbot-banesco-prod.banesco.com/chatbot?app=1&key=ed91adef-cdbd-45ff-9790-4318584deac6");
}
public AsistenteVirtualFragment() {
t8.d I = com.bumptech.glide.d.I(new p9.g(new m1(22, this), 2));
this.f8383h0 = u.f(this, s.a(la.s.class), new z9.b(I, 1), new z9.c(I, 1), new z9.d(this, I, 1));
this.f8384i0 = u.f(this, s.a(la.n.class), new m1(20, this), new w9.d(this, 8), new m1(21, this));
this.f8385j0 = new ba.h(this, new u9.e(12, r1.class.getMethod("b", View.class)));
this.f8388m0 = U(new e6.b(13, this), new b.c());
}
@Override
public final void C(Context context) {
p.l(context, "context");
super.C(context);
if (context instanceof y9.a) {
this.f8386k0 = (y9.a) context;
return;
}
throw new RuntimeException(i1.d.e(context, " must implement BaseFragmentInteractionListener"));
}
@Override
public final View E(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
p.l(layoutInflater, "inflater");
return layoutInflater.inflate(R.layout.fragment_web_view, viewGroup, false);
}
@Override
public final void G() {
this.f8387l0 = null;
this.N = true;
}
@Override
public final void H() {
this.N = true;
this.f8386k0 = null;
}
@Override
public final void Q(View view, Bundle bundle) {
p.l(view, "view");
WebView webView = ((r1) this.f8385j0.a(this, f8380n0[0])).f5558b;
webView.setBackgroundColor(0);
webView.getSettings().setJavaScriptEnabled(true);
webView.setWebViewClient(new ka.b(0, this));
webView.setWebChromeClient(new ka.c(this));
webView.addJavascriptInterface(new ka.a(new ka.d(this, 0)), "Android");
webView.loadUrl(f8382p0.toString());
e0().f7734g.e(u(), new w9.c(6, new ka.d(this, 1)));
e0().f7736i.e(u(), new ca.h(new ka.d(this, 2)));
}
public final la.s e0() {
return (la.s) this.f8383h0.getValue();
}
}