导航菜单

页面标题

页面副标题

CashVia v1.6.02 - w.java 源代码

正在查看: CashVia v1.6.02 应用的 w.java JAVA 源代码文件

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


package n2;

import android.content.Intent;
import android.net.Uri;
import android.view.View;
import com.blankj.utilcode.util.G;
import com.xy.credyclub.dialog.VersionUpdateDialog;
import com.xy.credyclub.repository.response.UpdateVersionResp;
import kotlin.TuplesKt;
import kotlin.Unit;
import kotlin.collections.MapsKt;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Lambda;
import u2.x;

public final class w extends Lambda implements Function1 {
    public final int a;
    public final VersionUpdateDialog b;

    public w(VersionUpdateDialog versionUpdateDialog, int i) {
        super(1);
        this.a = i;
        this.b = versionUpdateDialog;
    }

    @Override
    public final Object invoke(Object obj) {
        VersionUpdateDialog versionUpdateDialog = this.b;
        switch (this.a) {
            case 0:
                View it = (View) obj;
                Intrinsics.checkNotNullParameter(it, "it");
                x xVar = x.a;
                String str = versionUpdateDialog.u;
                String str2 = versionUpdateDialog.v;
                UpdateVersionResp updateVersionResp = versionUpdateDialog.t;
                boolean z = updateVersionResp != null && updateVersionResp.getUpdateType() == 1;
                if (str2 == null) {
                    str2 = "";
                }
                x.o(xVar, "506", "02", MapsKt.mapOf(TuplesKt.to("type", str2), TuplesKt.to("pop_up", str != null ? str : ""), TuplesKt.to("update_method", z ? "strong update" : "weak update")), 8);
                versionUpdateDialog.dismiss();
                break;
            case 1:
                View it2 = (View) obj;
                Intrinsics.checkNotNullParameter(it2, "it");
                x xVar2 = x.a;
                String str3 = versionUpdateDialog.u;
                String str4 = versionUpdateDialog.v;
                UpdateVersionResp updateVersionResp2 = versionUpdateDialog.t;
                boolean z3 = updateVersionResp2 != null && updateVersionResp2.getUpdateType() == 1;
                if (str4 == null) {
                    str4 = "";
                }
                x.n(xVar2, "506", "04", MapsKt.mapOf(TuplesKt.to("type", str4), TuplesKt.to("pop_up", str3 != null ? str3 : ""), TuplesKt.to("update_method", z3 ? "strong update" : "weak update")), 8);
                versionUpdateDialog.dismiss();
                break;
            default:
                View it3 = (View) obj;
                Intrinsics.checkNotNullParameter(it3, "it");
                x xVar3 = x.a;
                String str5 = versionUpdateDialog.u;
                String str6 = versionUpdateDialog.v;
                UpdateVersionResp updateVersionResp3 = versionUpdateDialog.t;
                boolean z4 = updateVersionResp3 != null && updateVersionResp3.getUpdateType() == 1;
                if (str6 == null) {
                    str6 = "";
                }
                x.n(xVar3, "506", "03", MapsKt.mapOf(TuplesKt.to("type", str6), TuplesKt.to("pop_up", str5 != null ? str5 : ""), TuplesKt.to("update_method", z4 ? "strong update" : "weak update")), 8);
                Intent intent = new Intent("android.intent.action.VIEW");
                intent.setData(Uri.parse("https://play.google.com/store/apps/details?id=" + com.blankj.utilcode.util.c.d()));
                intent.setPackage("com.android.vending");
                if (intent.resolveActivity(versionUpdateDialog.requireContext().getPackageManager()) != null) {
                    versionUpdateDialog.startActivity(intent);
                } else {
                    G.c(versionUpdateDialog.getString(2131820977), new Object[0]);
                }
                break;
        }
        return Unit.INSTANCE;
    }
}