正在查看: Atlys v4.8.7 应用的 E.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Atlys v4.8.7 应用的 E.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package Bi;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.FrameLayout;
import com.stripe.android.stripe3ds2.views.ThreeDS2WebView;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public final class E extends FrameLayout {
public static final Pattern d = Pattern.compile("method=\"post\"", 10);
public static final Pattern e = Pattern.compile("action=\"(.+?)\"", 10);
public final ThreeDS2WebView a;
public String b;
public View.OnClickListener c;
public E(Context context) {
super(context, null, 0);
kotlin.jvm.internal.l.h(context, "context");
this.b = "";
LayoutInflater.from(context).inflate(2131558780, this);
ThreeDS2WebView threeDS2WebView = (ThreeDS2WebView) bn.m.F(2131363291, this);
if (threeDS2WebView == null) {
throw new NullPointerException("Missing required view with ID: ".concat(getResources().getResourceName(2131363291)));
}
this.a = threeDS2WebView;
threeDS2WebView.setOnHtmlSubmitListener$3ds2sdk_release(new A.h(this, 2));
}
public final void a(String str) {
String group;
if (str == null) {
return;
}
String replaceAll = d.matcher(str).replaceAll("method=\"get\"");
kotlin.jvm.internal.l.g(replaceAll, "methodMatcher.replaceAll(METHOD_GET)");
Matcher matcher = e.matcher(replaceAll);
if (matcher.find() && (group = matcher.group(1)) != null && !kotlin.jvm.internal.l.c("https://emv3ds/challenge", group)) {
Pattern compile = Pattern.compile(group);
kotlin.jvm.internal.l.g(compile, "compile(...)");
replaceAll = compile.matcher(replaceAll).replaceAll("https://emv3ds/challenge");
kotlin.jvm.internal.l.g(replaceAll, "replaceAll(...)");
}
this.a.loadDataWithBaseURL(null, replaceAll, "text/html", "UTF-8", null);
}
public final View.OnClickListener getOnClickListener$3ds2sdk_release() {
return this.c;
}
public String getUserEntry() {
return this.b;
}
public final ThreeDS2WebView getWebView() {
return this.a;
}
@Override
public void setOnClickListener(View.OnClickListener onClickListener) {
this.c = onClickListener;
}
public final void setOnClickListener$3ds2sdk_release(View.OnClickListener onClickListener) {
this.c = onClickListener;
}
}