导航菜单

页面标题

页面副标题

klikUMKM v2.0.1 - DelegateActivity.java 源代码

正在查看: klikUMKM v2.0.1 应用的 DelegateActivity.java JAVA 源代码文件

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


package com.yx.credit.indonesia.ui.delegate;

import a3d20250402.a0;
import a3d20250402.p0;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import androidx.activity.ComponentActivity;
import androidx.compose.runtime.j1;
import androidx.compose.runtime.m1;
import androidx.compose.runtime.w2;
import androidx.fragment.app.j0;
import androidx.lifecycle.b1;
import androidx.lifecycle.d1;
import androidx.lifecycle.f1;
import androidx.lifecycle.u0;
import com.google.firebase.encoders.json.BuildConfig;
import com.yx.credit.base.YxApplication;
import com.yx.credit.base.activity.BaseFragmentActivity;
import com.yx.credit.indonesia.ui.MainActivity;
import com.yx.credit.indonesia.ui.delegatestatus.DelegateStatuActivity;
import com.yx.credit.indonesia.ui.withdrawsms.WithDrawSmsActivity;
import com.yx.credit.indonesia.ui.withdrawstatus.WithDrawStatusActivity;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Lambda;
import kotlin.jvm.internal.Reflection;
import kotlin.jvm.internal.SourceDebugExtension;
import kotlinx.coroutines.f0;

@SourceDebugExtension({"SMAP\nDelegateActivity.kt\nKotlin\n*S Kotlin\n*F\n+ 1 DelegateActivity.kt\ncom/yx/credit/indonesia/ui/delegate/DelegateActivity\n+ 2 ActivityViewModelLazy.kt\nandroidx/activity/ActivityViewModelLazyKt\n+ 3 SnapshotState.kt\nandroidx/compose/runtime/SnapshotStateKt__SnapshotStateKt\n+ 4 SnapshotFloatState.kt\nandroidx/compose/runtime/PrimitiveSnapshotStateKt__SnapshotFloatStateKt\n+ 5 Composer.kt\nandroidx/compose/runtime/ComposerKt\n+ 6 Box.kt\nandroidx/compose/foundation/layout/BoxKt\n+ 7 Layout.kt\nandroidx/compose/ui/layout/LayoutKt\n+ 8 Composables.kt\nandroidx/compose/runtime/ComposablesKt\n+ 9 Composer.kt\nandroidx/compose/runtime/Updater\n+ 10 Column.kt\nandroidx/compose/foundation/layout/ColumnKt\n+ 11 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,380:1\n70#2,11:381\n85#3:392\n117#3,2:393\n85#3:395\n117#3,2:396\n85#3:398\n117#3,2:399\n85#3:401\n117#3,2:402\n85#3:567\n117#3,2:568\n85#3:570\n117#3,2:571\n81#4:404\n114#4,2:405\n1282#5,6:407\n1282#5,6:413\n1282#5,6:419\n1282#5,6:425\n1282#5,6:505\n1282#5,6:511\n1282#5,6:517\n1282#5,6:523\n1282#5,6:529\n1282#5,6:535\n1282#5,6:541\n1282#5,6:555\n1282#5,6:561\n70#6:431\n67#6,9:432\n77#6:554\n79#7,6:441\n86#7,3:456\n89#7,2:465\n79#7,6:478\n86#7,3:493\n89#7,2:502\n93#7:549\n93#7:553\n347#8,9:447\n356#8:467\n347#8,9:484\n356#8:504\n357#8,2:547\n357#8,2:551\n4206#9,6:459\n4206#9,6:496\n87#10:468\n84#10,9:469\n94#10:550\n1#11:573\n*S KotlinDebug\n*F\n+ 1 DelegateActivity.kt\ncom/yx/credit/indonesia/ui/delegate/DelegateActivity\n*L\n63#1:381,11\n64#1:392\n64#1:393,2\n66#1:395\n66#1:396,2\n67#1:398\n67#1:399,2\n68#1:401\n68#1:402,2\n106#1:567\n106#1:568,2\n107#1:570\n107#1:571,2\n69#1:404\n69#1:405,2\n106#1:407,6\n107#1:413,6\n108#1:419,6\n114#1:425,6\n145#1:505,6\n151#1:511,6\n158#1:517,6\n166#1:523,6\n192#1:529,6\n199#1:535,6\n204#1:541,6\n211#1:555,6\n220#1:561,6\n128#1:431\n128#1:432,9\n128#1:554\n128#1:441,6\n128#1:456,3\n128#1:465,2\n140#1:478,6\n140#1:493,3\n140#1:502,2\n140#1:549\n128#1:553\n128#1:447,9\n128#1:467\n140#1:484,9\n140#1:504\n140#1:547,2\n128#1:551,2\n128#1:459,6\n140#1:496,6\n140#1:468\n140#1:469,9\n140#1:550\n*E\n"})
public final class DelegateActivity extends BaseFragmentActivity {
    public static final int T = 0;
    public w.f L;
    public int S;
    public final int K = 1001;
    public final b1 M = new b1(Reflection.getOrCreateKotlinClass(u.class), new b(this), new a(this), new c(null, this));
    public final m1 N = androidx.compose.runtime.b.w(Boolean.FALSE);
    public final m1 O = androidx.compose.runtime.b.w(BuildConfig.FLAVOR);
    public final m1 P = androidx.compose.runtime.b.w(BuildConfig.FLAVOR);
    public final m1 Q = androidx.compose.runtime.b.w(BuildConfig.FLAVOR);
    public final j1 R = androidx.compose.runtime.b.q(0.0f);

    public static final class a extends Lambda implements Function0 {
        final ComponentActivity $this_viewModels;

        public a(ComponentActivity componentActivity) {
            super(0);
            this.$this_viewModels = componentActivity;
        }

        @Override
        public final d1 invoke() {
            return this.$this_viewModels.p();
        }
    }

    public static final class b extends Lambda implements Function0 {
        final ComponentActivity $this_viewModels;

        public b(ComponentActivity componentActivity) {
            super(0);
            this.$this_viewModels = componentActivity;
        }

        @Override
        public final f1 invoke() {
            return this.$this_viewModels.v();
        }
    }

    public static final class c extends Lambda implements Function0 {
        final Function0 $extrasProducer;
        final ComponentActivity $this_viewModels;

        public c(Function0 function0, ComponentActivity componentActivity) {
            super(0);
            this.$extrasProducer = function0;
            this.$this_viewModels = componentActivity;
        }

        @Override
        public final p3.c invoke() {
            p3.c cVar;
            Function0 function0 = this.$extrasProducer;
            return (function0 == null || (cVar = (p3.c) function0.invoke()) == null) ? this.$this_viewModels.q() : cVar;
        }
    }

    public final void M(androidx.compose.runtime.m r25, int r26) {
        throw new UnsupportedOperationException("Method not decompiled: com.yx.credit.indonesia.ui.delegate.DelegateActivity.M(androidx.compose.runtime.m, int):void");
    }

    public final void N(int i10) {
        switch (i10) {
            case 0:
                Intent intent = new Intent(this.F, (Class<?>) DelegateStatuActivity.class);
                intent.putExtra("req_key_code", "req_v_delegate_succ");
                this.F.startActivity(intent);
                this.F.finish();
                break;
            case 1:
                Q(0.0f);
                break;
            case 2:
                this.S = 0;
                Q(0.2f);
                break;
            case 3:
                Q(2.0f);
                break;
            case 4:
                Q(3.0f);
                break;
            case 6:
                Q(1.0f);
                break;
            case 7:
                MainActivity.P(this.F);
                break;
            case 8:
                this.S = 1;
                Q(0.2f);
                break;
            case 9:
                this.F.startActivity(new Intent(this.F, (Class<?>) WithDrawSmsActivity.class));
                this.F.finish();
                break;
            case 10:
                BaseFragmentActivity activity = this.F;
                Intrinsics.checkNotNullExpressionValue(activity, "currentActivity");
                Intrinsics.checkNotNullParameter(activity, "activity");
                activity.startActivity(new Intent(activity, (Class<?>) WithDrawStatusActivity.class));
                this.F.finish();
                break;
            case 11:
                this.S = 1;
                Q(0.2f);
                break;
        }
    }

    public final u O() {
        return (u) this.M.getValue();
    }

    public final void P(Intent intent) {
        O().f7626b.observe(this, new f(new com.yx.credit.indonesia.ui.delegate.a(this, 3)));
        Q(intent.getFloatExtra("bundle_step", -1.0f));
        this.S = intent.getIntExtra("bundle_from_source", 0);
        Log.e("dsfd", "dsfsdf" + ((w2) this.R).m() + "==" + this.S, new Throwable());
    }

    public final void Q(float f8) {
        ((w2) this.R).p(f8);
    }

    @Override
    public final void onActivityResult(int i10, int i11, Intent intent) {
        super.onActivityResult(i10, i11, intent);
        androidx.constraintlayout.compose.a.x("LivenessActivity", System.currentTimeMillis() - h4.h.f8855i);
        if (i10 == this.K) {
            StringBuilder sb2 = new StringBuilder();
            if (a0.l()) {
                sb2.append("Detection result: Success\n");
                u O = O();
                int i12 = this.S;
                String livenessId = a0.i();
                Intrinsics.checkNotNullExpressionValue(livenessId, "getLivenessId(...)");
                String g5 = a0.g();
                String h10 = a0.h();
                String j7 = a0.j();
                boolean z10 = this.S > 0;
                com.yx.credit.indonesia.ui.delegate.a function = new com.yx.credit.indonesia.ui.delegate.a(this, 2);
                O.getClass();
                Intrinsics.checkNotNullParameter(livenessId, "livenessId");
                Intrinsics.checkNotNullParameter(function, "function");
                f0.q(u0.i(O), null, null, new n(O, i12, livenessId, g5, h10, j7, z10, function, null), 3);
            } else {
                sb2.append("Detection result: Failed\nErrorCode: ");
                sb2.append(a0.g());
                sb2.append("\nErrorMessage: ");
                sb2.append(a0.h());
                sb2.append("\n");
                uc.m.y("Detection failed,errorCode:" + a0.g());
            }
            sb2.append("isPay: ");
            sb2.append(a0.k());
            sb2.append("\ngetTransactionId=");
            sb2.append(a0.j());
            sb2.append("\ngetLivenessId=");
            sb2.append(a0.i());
            o.c.d0("livenessId***:" + ((Object) sb2));
        }
    }

    @Override
    public final void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        p0.C();
        p0.D();
        p0.B(YxApplication.f7325c, p.a.Indonesia);
        androidx.activity.q.a(this);
        Intent intent = getIntent();
        Intrinsics.checkNotNullExpressionValue(intent, "getIntent(...)");
        P(intent);
        androidx.activity.compose.i.a(this, new w0.d(572825534, new androidx.compose.runtime.s(2, this), true));
        this.L = B(new a3.b(15, this), new j0(4));
    }

    @Override
    public final void onNewIntent(Intent newIntent) {
        Intrinsics.checkNotNullParameter(newIntent, "newIntent");
        super.onNewIntent(newIntent);
        P(newIntent);
    }
}