导航菜单

页面标题

页面副标题

Aplazo v2.4.68 - M.java 源代码

正在查看: Aplazo v2.4.68 应用的 M.java JAVA 源代码文件

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


package of;

import android.webkit.DownloadListener;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import df.InterfaceC1359c;
import hi.C1467q;
import java.util.List;
import java.util.Map;
import oa.M2;

public final class M implements InterfaceC1359c {
    public final int c;
    public final C1708v d;

    public M(C1708v c1708v, int i) {
        this.c = i;
        this.d = c1708v;
    }

    @Override
    public final void w(Object obj, com.google.android.gms.internal.vision.e eVar) {
        List b;
        List b2;
        List b3;
        List b4;
        List b5;
        List b6;
        List b7;
        List b8;
        List b9;
        List b10;
        List b11;
        List b12;
        List b13;
        List b14;
        List b15;
        List b16;
        List b17;
        List b18;
        List b19;
        List b20;
        List b21;
        List b22;
        switch (this.c) {
            case 0:
                C1708v c1708v = this.d;
                kotlin.jvm.internal.l.c(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                Object obj2 = ((List) obj).get(0);
                kotlin.jvm.internal.l.c(obj2, "null cannot be cast to non-null type kotlin.Long");
                try {
                    ((C1690c) c1708v.a.d).a(((Long) obj2).longValue(), c1708v.a());
                    b = C1467q.b(null);
                } catch (Throwable th2) {
                    b = M2.b(th2);
                }
                eVar.g(b);
                break;
            case 1:
                C1708v c1708v2 = this.d;
                kotlin.jvm.internal.l.c(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                List list = (List) obj;
                Object obj3 = list.get(0);
                kotlin.jvm.internal.l.c(obj3, "null cannot be cast to non-null type android.webkit.WebView");
                WebView webView = (WebView) obj3;
                DownloadListener downloadListener = (DownloadListener) list.get(1);
                try {
                    c1708v2.getClass();
                    webView.setDownloadListener(downloadListener);
                    b2 = C1467q.b(null);
                } catch (Throwable th3) {
                    b2 = M2.b(th3);
                }
                eVar.g(b2);
                break;
            case 2:
                C1708v c1708v3 = this.d;
                kotlin.jvm.internal.l.c(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                List list2 = (List) obj;
                Object obj4 = list2.get(0);
                kotlin.jvm.internal.l.c(obj4, "null cannot be cast to non-null type android.webkit.WebView");
                WebView webView2 = (WebView) obj4;
                Object obj5 = list2.get(1);
                kotlin.jvm.internal.l.c(obj5, "null cannot be cast to non-null type kotlin.Long");
                try {
                    ((C1690c) c1708v3.a.d).a(((Long) obj5).longValue(), webView2.getSettings());
                    b3 = C1467q.b(null);
                } catch (Throwable th4) {
                    b3 = M2.b(th4);
                }
                eVar.g(b3);
                break;
            case 3:
                C1708v c1708v4 = this.d;
                kotlin.jvm.internal.l.c(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                List list3 = (List) obj;
                Object obj6 = list3.get(0);
                kotlin.jvm.internal.l.c(obj6, "null cannot be cast to non-null type android.webkit.WebView");
                WebView webView3 = (WebView) obj6;
                Y y = (Y) list3.get(1);
                try {
                    c1708v4.getClass();
                    webView3.setWebChromeClient(y);
                    b4 = C1467q.b(null);
                } catch (Throwable th5) {
                    b4 = M2.b(th5);
                }
                eVar.g(b4);
                break;
            case 4:
                C1708v c1708v5 = this.d;
                kotlin.jvm.internal.l.c(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                List list4 = (List) obj;
                Object obj7 = list4.get(0);
                kotlin.jvm.internal.l.c(obj7, "null cannot be cast to non-null type android.webkit.WebView");
                WebView webView4 = (WebView) obj7;
                Object obj8 = list4.get(1);
                kotlin.jvm.internal.l.c(obj8, "null cannot be cast to non-null type kotlin.Long");
                long longValue = ((Long) obj8).longValue();
                try {
                    c1708v5.getClass();
                    webView4.setBackgroundColor((int) longValue);
                    b5 = C1467q.b(null);
                } catch (Throwable th6) {
                    b5 = M2.b(th6);
                }
                eVar.g(b5);
                break;
            case 5:
                C1708v c1708v6 = this.d;
                kotlin.jvm.internal.l.c(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                Object obj9 = ((List) obj).get(0);
                kotlin.jvm.internal.l.c(obj9, "null cannot be cast to non-null type android.webkit.WebView");
                WebView webView5 = (WebView) obj9;
                try {
                    c1708v6.getClass();
                    webView5.destroy();
                    b6 = C1467q.b(null);
                } catch (Throwable th7) {
                    b6 = M2.b(th7);
                }
                eVar.g(b6);
                break;
            case 6:
                C1708v c1708v7 = this.d;
                kotlin.jvm.internal.l.c(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                List list5 = (List) obj;
                Object obj10 = list5.get(0);
                kotlin.jvm.internal.l.c(obj10, "null cannot be cast to non-null type android.webkit.WebView");
                WebView webView6 = (WebView) obj10;
                Object obj11 = list5.get(1);
                kotlin.jvm.internal.l.c(obj11, "null cannot be cast to non-null type kotlin.String");
                String str = (String) obj11;
                String str2 = (String) list5.get(2);
                String str3 = (String) list5.get(3);
                try {
                    c1708v7.getClass();
                    webView6.loadData(str, str2, str3);
                    b7 = C1467q.b(null);
                } catch (Throwable th8) {
                    b7 = M2.b(th8);
                }
                eVar.g(b7);
                break;
            case 7:
                C1708v c1708v8 = this.d;
                kotlin.jvm.internal.l.c(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                List list6 = (List) obj;
                Object obj12 = list6.get(0);
                kotlin.jvm.internal.l.c(obj12, "null cannot be cast to non-null type android.webkit.WebView");
                WebView webView7 = (WebView) obj12;
                String str4 = (String) list6.get(1);
                Object obj13 = list6.get(2);
                kotlin.jvm.internal.l.c(obj13, "null cannot be cast to non-null type kotlin.String");
                String str5 = (String) obj13;
                String str6 = (String) list6.get(3);
                String str7 = (String) list6.get(4);
                String str8 = (String) list6.get(5);
                try {
                    c1708v8.getClass();
                    webView7.loadDataWithBaseURL(str4, str5, str6, str7, str8);
                    b8 = C1467q.b(null);
                } catch (Throwable th9) {
                    b8 = M2.b(th9);
                }
                eVar.g(b8);
                break;
            case 8:
                C1708v c1708v9 = this.d;
                kotlin.jvm.internal.l.c(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                List list7 = (List) obj;
                Object obj14 = list7.get(0);
                kotlin.jvm.internal.l.c(obj14, "null cannot be cast to non-null type android.webkit.WebView");
                WebView webView8 = (WebView) obj14;
                Object obj15 = list7.get(1);
                kotlin.jvm.internal.l.c(obj15, "null cannot be cast to non-null type kotlin.String");
                String str9 = (String) obj15;
                Object obj16 = list7.get(2);
                kotlin.jvm.internal.l.c(obj16, "null cannot be cast to non-null type kotlin.collections.Map<kotlin.String, kotlin.String>");
                Map<String, String> map = (Map) obj16;
                try {
                    c1708v9.getClass();
                    webView8.loadUrl(str9, map);
                    b9 = C1467q.b(null);
                } catch (Throwable th10) {
                    b9 = M2.b(th10);
                }
                eVar.g(b9);
                break;
            case 9:
                C1708v c1708v10 = this.d;
                kotlin.jvm.internal.l.c(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                List list8 = (List) obj;
                Object obj17 = list8.get(0);
                kotlin.jvm.internal.l.c(obj17, "null cannot be cast to non-null type android.webkit.WebView");
                WebView webView9 = (WebView) obj17;
                Object obj18 = list8.get(1);
                kotlin.jvm.internal.l.c(obj18, "null cannot be cast to non-null type kotlin.String");
                String str10 = (String) obj18;
                Object obj19 = list8.get(2);
                kotlin.jvm.internal.l.c(obj19, "null cannot be cast to non-null type kotlin.ByteArray");
                byte[] bArr = (byte[]) obj19;
                try {
                    c1708v10.getClass();
                    webView9.postUrl(str10, bArr);
                    b10 = C1467q.b(null);
                } catch (Throwable th11) {
                    b10 = M2.b(th11);
                }
                eVar.g(b10);
                break;
            case 10:
                C1708v c1708v11 = this.d;
                kotlin.jvm.internal.l.c(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                Object obj20 = ((List) obj).get(0);
                kotlin.jvm.internal.l.c(obj20, "null cannot be cast to non-null type android.webkit.WebView");
                WebView webView10 = (WebView) obj20;
                try {
                    c1708v11.getClass();
                    b11 = C1467q.b(webView10.getUrl());
                } catch (Throwable th12) {
                    b11 = M2.b(th12);
                }
                eVar.g(b11);
                break;
            case 11:
                C1708v c1708v12 = this.d;
                kotlin.jvm.internal.l.c(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                Object obj21 = ((List) obj).get(0);
                kotlin.jvm.internal.l.c(obj21, "null cannot be cast to non-null type android.webkit.WebView");
                WebView webView11 = (WebView) obj21;
                try {
                    c1708v12.getClass();
                    webView11.goForward();
                    b12 = C1467q.b(null);
                } catch (Throwable th13) {
                    b12 = M2.b(th13);
                }
                eVar.g(b12);
                break;
            case 12:
                C1708v c1708v13 = this.d;
                kotlin.jvm.internal.l.c(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                Object obj22 = ((List) obj).get(0);
                kotlin.jvm.internal.l.c(obj22, "null cannot be cast to non-null type android.webkit.WebView");
                WebView webView12 = (WebView) obj22;
                try {
                    c1708v13.getClass();
                    b13 = C1467q.b(Boolean.valueOf(webView12.canGoBack()));
                } catch (Throwable th14) {
                    b13 = M2.b(th14);
                }
                eVar.g(b13);
                break;
            case 13:
                C1708v c1708v14 = this.d;
                kotlin.jvm.internal.l.c(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                Object obj23 = ((List) obj).get(0);
                kotlin.jvm.internal.l.c(obj23, "null cannot be cast to non-null type android.webkit.WebView");
                WebView webView13 = (WebView) obj23;
                try {
                    c1708v14.getClass();
                    b14 = C1467q.b(Boolean.valueOf(webView13.canGoForward()));
                } catch (Throwable th15) {
                    b14 = M2.b(th15);
                }
                eVar.g(b14);
                break;
            case 14:
                C1708v c1708v15 = this.d;
                kotlin.jvm.internal.l.c(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                Object obj24 = ((List) obj).get(0);
                kotlin.jvm.internal.l.c(obj24, "null cannot be cast to non-null type android.webkit.WebView");
                WebView webView14 = (WebView) obj24;
                try {
                    c1708v15.getClass();
                    webView14.goBack();
                    b15 = C1467q.b(null);
                } catch (Throwable th16) {
                    b15 = M2.b(th16);
                }
                eVar.g(b15);
                break;
            case 15:
                C1708v c1708v16 = this.d;
                kotlin.jvm.internal.l.c(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                Object obj25 = ((List) obj).get(0);
                kotlin.jvm.internal.l.c(obj25, "null cannot be cast to non-null type android.webkit.WebView");
                WebView webView15 = (WebView) obj25;
                try {
                    c1708v16.getClass();
                    webView15.reload();
                    b16 = C1467q.b(null);
                } catch (Throwable th17) {
                    b16 = M2.b(th17);
                }
                eVar.g(b16);
                break;
            case 16:
                C1708v c1708v17 = this.d;
                kotlin.jvm.internal.l.c(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                List list9 = (List) obj;
                Object obj26 = list9.get(0);
                kotlin.jvm.internal.l.c(obj26, "null cannot be cast to non-null type android.webkit.WebView");
                WebView webView16 = (WebView) obj26;
                Object obj27 = list9.get(1);
                kotlin.jvm.internal.l.c(obj27, "null cannot be cast to non-null type kotlin.Boolean");
                boolean booleanValue = ((Boolean) obj27).booleanValue();
                try {
                    c1708v17.getClass();
                    webView16.clearCache(booleanValue);
                    b17 = C1467q.b(null);
                } catch (Throwable th18) {
                    b17 = M2.b(th18);
                }
                eVar.g(b17);
                break;
            case 17:
                kotlin.jvm.internal.l.c(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                List list10 = (List) obj;
                Object obj28 = list10.get(0);
                kotlin.jvm.internal.l.c(obj28, "null cannot be cast to non-null type android.webkit.WebView");
                Object obj29 = list10.get(1);
                kotlin.jvm.internal.l.c(obj29, "null cannot be cast to non-null type kotlin.String");
                B b23 = new B(eVar, 1);
                this.d.getClass();
                ((WebView) obj28).evaluateJavascript((String) obj29, new C1699l(b23, 1));
                break;
            case 18:
                C1708v c1708v18 = this.d;
                kotlin.jvm.internal.l.c(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                Object obj30 = ((List) obj).get(0);
                kotlin.jvm.internal.l.c(obj30, "null cannot be cast to non-null type android.webkit.WebView");
                WebView webView17 = (WebView) obj30;
                try {
                    c1708v18.getClass();
                    b18 = C1467q.b(webView17.getTitle());
                } catch (Throwable th19) {
                    b18 = M2.b(th19);
                }
                eVar.g(b18);
                break;
            case 19:
                C1708v c1708v19 = this.d;
                kotlin.jvm.internal.l.c(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                Object obj31 = ((List) obj).get(0);
                kotlin.jvm.internal.l.c(obj31, "null cannot be cast to non-null type kotlin.Boolean");
                boolean booleanValue2 = ((Boolean) obj31).booleanValue();
                try {
                    c1708v19.getClass();
                    WebView.setWebContentsDebuggingEnabled(booleanValue2);
                    b19 = C1467q.b(null);
                } catch (Throwable th20) {
                    b19 = M2.b(th20);
                }
                eVar.g(b19);
                break;
            case 20:
                C1708v c1708v20 = this.d;
                kotlin.jvm.internal.l.c(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                List list11 = (List) obj;
                Object obj32 = list11.get(0);
                kotlin.jvm.internal.l.c(obj32, "null cannot be cast to non-null type android.webkit.WebView");
                WebView webView18 = (WebView) obj32;
                WebViewClient webViewClient = (WebViewClient) list11.get(1);
                try {
                    c1708v20.getClass();
                    webView18.setWebViewClient(webViewClient);
                    b20 = C1467q.b(null);
                } catch (Throwable th21) {
                    b20 = M2.b(th21);
                }
                eVar.g(b20);
                break;
            case 21:
                C1708v c1708v21 = this.d;
                kotlin.jvm.internal.l.c(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                List list12 = (List) obj;
                Object obj33 = list12.get(0);
                kotlin.jvm.internal.l.c(obj33, "null cannot be cast to non-null type android.webkit.WebView");
                WebView webView19 = (WebView) obj33;
                Object obj34 = list12.get(1);
                kotlin.jvm.internal.l.c(obj34, "null cannot be cast to non-null type io.flutter.plugins.webviewflutter.JavaScriptChannel");
                C1707u c1707u = (C1707u) obj34;
                try {
                    c1708v21.getClass();
                    webView19.addJavascriptInterface(c1707u, c1707u.a);
                    b21 = C1467q.b(null);
                } catch (Throwable th22) {
                    b21 = M2.b(th22);
                }
                eVar.g(b21);
                break;
            default:
                C1708v c1708v22 = this.d;
                kotlin.jvm.internal.l.c(obj, "null cannot be cast to non-null type kotlin.collections.List<kotlin.Any?>");
                List list13 = (List) obj;
                Object obj35 = list13.get(0);
                kotlin.jvm.internal.l.c(obj35, "null cannot be cast to non-null type android.webkit.WebView");
                WebView webView20 = (WebView) obj35;
                Object obj36 = list13.get(1);
                kotlin.jvm.internal.l.c(obj36, "null cannot be cast to non-null type kotlin.String");
                String str11 = (String) obj36;
                try {
                    c1708v22.getClass();
                    webView20.removeJavascriptInterface(str11);
                    b22 = C1467q.b(null);
                } catch (Throwable th23) {
                    b22 = M2.b(th23);
                }
                eVar.g(b22);
                break;
        }
    }
}