Banesco VE v1.23.11版本的 MD5 值为:a4aa3f1f54e4fbb4921e2e1235e636aa
以下内容为反编译后的 b.java 源代码,内容仅作参考
package ka;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.webkit.WebResourceRequest;
import android.webkit.WebView;
import androidx.fragment.app.a0;
import androidx.webkit.WebViewClientCompat;
import com.banesco.samfbancamovilunificada.R;
import com.google.android.gms.internal.measurement.j3;
import net.itssca.samfpagomovil.login.view.AsistenteVirtualFragment;
import net.itssca.samfpagomovil.login.view.SuiteDePagosFragment;
public final class b extends WebViewClientCompat {
public final int f7254b;
public final a0 f7255c;
public b(int i10, a0 a0Var) {
this.f7254b = i10;
this.f7255c = a0Var;
}
@Override
public final void a(WebView webView, WebResourceRequest webResourceRequest, j3 j3Var) {
int i10 = this.f7254b;
a0 a0Var = this.f7255c;
switch (i10) {
case 0:
com.google.gson.internal.p.l(webView, "view");
com.google.gson.internal.p.l(webResourceRequest, "request");
super.a(webView, webResourceRequest, j3Var);
if (com.google.gson.internal.p.b(webResourceRequest.getUrl(), AsistenteVirtualFragment.f8382p0)) {
((AsistenteVirtualFragment) a0Var).e0().e(true);
return;
}
return;
default:
com.google.gson.internal.p.l(webView, "view");
com.google.gson.internal.p.l(webResourceRequest, "request");
super.a(webView, webResourceRequest, j3Var);
SuiteDePagosFragment suiteDePagosFragment = (SuiteDePagosFragment) a0Var;
Uri url = webResourceRequest.getUrl();
com.google.gson.internal.p.k(url, "request.url");
suiteDePagosFragment.getClass();
if (com.google.gson.internal.p.b(SuiteDePagosFragment.f0(url), SuiteDePagosFragment.f8421n0)) {
suiteDePagosFragment.e0().e(true);
return;
}
return;
}
}
@Override
public final void onLoadResource(WebView webView, String str) {
int i10 = this.f7254b;
a0 a0Var = this.f7255c;
switch (i10) {
case 0:
com.google.gson.internal.p.l(webView, "view");
com.google.gson.internal.p.l(str, "url");
super.onLoadResource(webView, str);
if (com.google.gson.internal.p.b(str, AsistenteVirtualFragment.f8382p0.toString())) {
((AsistenteVirtualFragment) a0Var).e0().f(true);
return;
}
return;
default:
com.google.gson.internal.p.l(webView, "view");
com.google.gson.internal.p.l(str, "url");
super.onLoadResource(webView, str);
SuiteDePagosFragment suiteDePagosFragment = (SuiteDePagosFragment) a0Var;
Uri parse = Uri.parse(str);
com.google.gson.internal.p.k(parse, "parse(url)");
suiteDePagosFragment.getClass();
if (com.google.gson.internal.p.b(SuiteDePagosFragment.f0(parse), SuiteDePagosFragment.f8421n0)) {
suiteDePagosFragment.e0().f(true);
return;
}
return;
}
}
@Override
public final void onPageFinished(WebView webView, String str) {
int i10 = this.f7254b;
a0 a0Var = this.f7255c;
switch (i10) {
case 0:
com.google.gson.internal.p.l(webView, "webView");
com.google.gson.internal.p.l(str, "url");
if (com.google.gson.internal.p.b(str, AsistenteVirtualFragment.f8382p0.toString())) {
webView.loadUrl("javascript:(\n function() {\n window.parent.addEventListener ('message', function(event) {\n Android.receiveMessage(JSON.stringify(event.data));\n });\n }\n)()");
((AsistenteVirtualFragment) a0Var).e0().f(false);
return;
}
return;
default:
com.google.gson.internal.p.l(webView, "webView");
com.google.gson.internal.p.l(str, "url");
SuiteDePagosFragment suiteDePagosFragment = (SuiteDePagosFragment) a0Var;
Uri parse = Uri.parse(str);
com.google.gson.internal.p.k(parse, "parse(url)");
suiteDePagosFragment.getClass();
if (com.google.gson.internal.p.b(SuiteDePagosFragment.f0(parse), SuiteDePagosFragment.f8421n0)) {
suiteDePagosFragment.e0().f(false);
return;
}
return;
}
}
@Override
public final boolean shouldOverrideUrlLoading(WebView webView, WebResourceRequest webResourceRequest) {
int i10 = this.f7254b;
a0 a0Var = this.f7255c;
switch (i10) {
case 0:
com.google.gson.internal.p.l(webView, "view");
com.google.gson.internal.p.l(webResourceRequest, "request");
if (com.google.gson.internal.p.b(webResourceRequest.getUrl().getHost(), AsistenteVirtualFragment.f8382p0.getHost())) {
return false;
}
try {
((AsistenteVirtualFragment) a0Var).d0(new Intent("android.intent.action.VIEW", webResourceRequest.getUrl()));
return true;
} catch (Exception unused) {
aa.p pVar = aa.p.f360a;
AsistenteVirtualFragment asistenteVirtualFragment = (AsistenteVirtualFragment) a0Var;
Context c02 = com.bumptech.glide.e.c0(asistenteVirtualFragment.f8386k0);
String q10 = asistenteVirtualFragment.q(R.string.login_asistente_virtual_error_enlace);
com.google.gson.internal.p.k(q10, "getString(R.string.login…nte_virtual_error_enlace)");
aa.p.i(c02, q10);
return true;
}
default:
com.google.gson.internal.p.l(webView, "view");
com.google.gson.internal.p.l(webResourceRequest, "request");
if (com.google.gson.internal.p.b(webResourceRequest.getUrl().getHost(), SuiteDePagosFragment.f8421n0.getHost())) {
return false;
}
try {
((SuiteDePagosFragment) a0Var).d0(new Intent("android.intent.action.VIEW", webResourceRequest.getUrl()));
return true;
} catch (Exception unused2) {
aa.p pVar2 = aa.p.f360a;
SuiteDePagosFragment suiteDePagosFragment = (SuiteDePagosFragment) a0Var;
Context c03 = com.bumptech.glide.e.c0(suiteDePagosFragment.f8425k0);
String q11 = suiteDePagosFragment.q(R.string.login_suite_de_pagos_error_enlace);
com.google.gson.internal.p.k(q11, "getString(R.string.login…te_de_pagos_error_enlace)");
aa.p.i(c03, q11);
return true;
}
}
}
}