导航菜单

页面标题

页面副标题

Online Loans v421.2.42 - L5.java 源代码

正在查看: Online Loans v421.2.42 应用的 L5.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package H5;

import H5.C0422a4;
import H5.L5;
import android.hardware.display.DisplayManager;
import android.view.View;
import android.view.ViewParent;
import android.webkit.DownloadListener;
import android.webkit.ValueCallback;
import android.webkit.WebChromeClient;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import androidx.annotation.NonNull;
import io.flutter.plugin.platform.AbstractC1566k;
import io.flutter.plugin.platform.InterfaceC1567l;
import java.util.Map;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;

public class L5 extends AbstractC0529q3 {
    public L5(Q3 q32) {
        super(q32);
    }

    @Override
    public void A(WebView webView, C0422a4.b bVar) {
        webView.setWebChromeClient(bVar);
    }

    @Override
    public void B(boolean z6) {
        WebView.setWebContentsDebuggingEnabled(z6);
    }

    @Override
    public void C(WebView webView, WebViewClient webViewClient) {
        webView.setWebViewClient(webViewClient);
    }

    @Override
    public WebSettings D(WebView webView) {
        return webView.getSettings();
    }

    @Override
    public Q3 i() {
        return (Q3) super.i();
    }

    @Override
    public void c(WebView webView, C0502m0 c0502m0) {
        webView.addJavascriptInterface(c0502m0, c0502m0.f2542a);
    }

    @Override
    public boolean d(WebView webView) {
        return webView.canGoBack();
    }

    @Override
    public boolean e(WebView webView) {
        return webView.canGoForward();
    }

    @Override
    public void f(WebView webView, boolean z6) {
        webView.clearCache(z6);
    }

    @Override
    public void g(WebView webView) {
        webView.destroy();
    }

    @Override
    public void h(WebView webView, String str, final Function1 function1) {
        webView.evaluateJavascript(str, new ValueCallback() {
            @Override
            public final void onReceiveValue(Object obj) {
                S3.e((String) obj, function1);
            }
        });
    }

    @Override
    public String j(WebView webView) {
        return webView.getTitle();
    }

    @Override
    public String k(WebView webView) {
        return webView.getUrl();
    }

    @Override
    public void l(WebView webView) {
        webView.goBack();
    }

    @Override
    public void m(WebView webView) {
        webView.goForward();
    }

    @Override
    public void n(WebView webView, String str, String str2, String str3) {
        webView.loadData(str, str2, str3);
    }

    @Override
    public void o(WebView webView, String str, String str2, String str3, String str4, String str5) {
        webView.loadDataWithBaseURL(str, str2, str3, str4, str5);
    }

    @Override
    public void p(WebView webView, String str, Map map) {
        webView.loadUrl(str, map);
    }

    @Override
    public WebView s() {
        Z z6 = new Z();
        DisplayManager displayManager = (DisplayManager) i().M().getSystemService("display");
        z6.b(displayManager);
        a aVar = new a(this);
        z6.a(displayManager);
        return aVar;
    }

    @Override
    public void v(WebView webView, String str, byte[] bArr) {
        webView.postUrl(str, bArr);
    }

    @Override
    public void w(WebView webView) {
        webView.reload();
    }

    @Override
    public void x(WebView webView, String str) {
        webView.removeJavascriptInterface(str);
    }

    @Override
    public void y(WebView webView, long j6) {
        webView.setBackgroundColor((int) j6);
    }

    @Override
    public void z(WebView webView, DownloadListener downloadListener) {
        webView.setDownloadListener(downloadListener);
    }

    public static class a extends WebView implements InterfaceC1567l {

        public final L5 f2250a;

        public WebViewClient f2251b;

        public C0422a4.a f2252e;

        public a(L5 l52) {
            super(l52.i().M());
            this.f2250a = l52;
            this.f2251b = new WebViewClient();
            this.f2252e = new C0422a4.a();
            setWebViewClient(this.f2251b);
            setWebChromeClient(this.f2252e);
        }

        public static Unit c(f6.k kVar) {
            return null;
        }

        public final void d(int i6, int i7, int i8, int i9) {
            this.f2250a.q(this, i6, i7, i8, i9, new Function1() {
                public final Object invoke(Object obj) {
                    Unit c7;
                    c7 = L5.a.c((f6.k) obj);
                    return c7;
                }
            });
        }

        public final T4.z e() {
            ViewParent viewParent = this;
            while (viewParent.getParent() != null) {
                viewParent = viewParent.getParent();
                if (viewParent instanceof T4.z) {
                    return (T4.z) viewParent;
                }
            }
            return null;
        }

        @Override
        public WebChromeClient getWebChromeClient() {
            return this.f2252e;
        }

        @Override
        public void onAttachedToWindow() {
            T4.z e7;
            super.onAttachedToWindow();
            if (!this.f2250a.i().Q(26) || (e7 = e()) == null) {
                return;
            }
            e7.setImportantForAutofill(1);
        }

        @Override
        public void onFlutterViewAttached(View view) {
            AbstractC1566k.a(this, view);
        }

        @Override
        public void onFlutterViewDetached() {
            AbstractC1566k.b(this);
        }

        @Override
        public void onInputConnectionLocked() {
            AbstractC1566k.c(this);
        }

        @Override
        public void onInputConnectionUnlocked() {
            AbstractC1566k.d(this);
        }

        @Override
        public void onScrollChanged(final int i6, final int i7, final int i8, final int i9) {
            super.onScrollChanged(i6, i7, i8, i9);
            this.f2250a.i().P(new Runnable() {
                @Override
                public final void run() {
                    L5.a.this.d(i6, i7, i8, i9);
                }
            });
        }

        @Override
        public void setWebChromeClient(WebChromeClient webChromeClient) {
            super.setWebChromeClient(webChromeClient);
            if (!(webChromeClient instanceof C0422a4.a)) {
                throw new AssertionError("Client must be a SecureWebChromeClient.");
            }
            C0422a4.a aVar = (C0422a4.a) webChromeClient;
            this.f2252e = aVar;
            aVar.b(this.f2251b);
        }

        @Override
        public void setWebViewClient(@NonNull WebViewClient webViewClient) {
            super.setWebViewClient(webViewClient);
            this.f2251b = webViewClient;
            this.f2252e.b(webViewClient);
        }

        @Override
        public void dispose() {
        }

        @Override
        public View getView() {
            return this;
        }
    }
}