导航菜单

页面标题

页面副标题

Mitra Bukalapak v2.55.0 - LakupandaiDeeplink.java 源代码

正在查看: Mitra Bukalapak v2.55.0 应用的 LakupandaiDeeplink.java JAVA 源代码文件

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


package com.bukalapak.mitra.feature.deeplink.registry;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import com.bukalapak.mitra.feature.deeplink.BLIDDeeplink;
import com.bukalapak.mitra.feature.deeplink.MitraDeeplink;
import com.bukalapak.mitra.feature.deeplink.MobileDeeplink;
import defpackage.dd0;
import defpackage.k54;
import defpackage.pj4;
import kotlin.Metadata;

@Metadata(d1 = {"\u0000:\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0006\bÆ\u0002\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u001d\u0010\u001eJ\u0018\u0010\u0007\u001a\u00020\u00062\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u0004H\u0007J\u001a\u0010\t\u001a\u0004\u0018\u00010\b2\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u0004H\u0007J\u0018\u0010\n\u001a\u00020\u00062\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u0004H\u0007J\u001a\u0010\u000b\u001a\u0004\u0018\u00010\b2\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u0004H\u0007J\u0018\u0010\f\u001a\u00020\u00062\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u0004H\u0007J\u001a\u0010\r\u001a\u0004\u0018\u00010\b2\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u0004H\u0007J\u0018\u0010\u000e\u001a\u00020\u00062\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u0004H\u0007J\u001a\u0010\u000f\u001a\u0004\u0018\u00010\b2\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u0004H\u0007JU\u0010\u0015\u001a\u00028\u0000\"\u0004\b\u0000\u0010\u00102\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u00042.\u0010\u0014\u001a*\u0012\u0004\u0012\u00020\u0002\u0012\u0006\u0012\u0004\u0018\u00010\u0012\u0012\u0006\u0012\u0004\u0018\u00010\u0012\u0012\n\u0012\b\u0012\u0004\u0012\u00020\b0\u0013\u0012\u0004\u0012\u00028\u00000\u0011H\u0002¢\u0006\u0004\b\u0015\u0010\u0016JU\u0010\u0017\u001a\u00028\u0000\"\u0004\b\u0000\u0010\u00102\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u00042.\u0010\u0014\u001a*\u0012\u0004\u0012\u00020\u0002\u0012\u0006\u0012\u0004\u0018\u00010\u0012\u0012\u0006\u0012\u0004\u0018\u00010\u0012\u0012\n\u0012\b\u0012\u0004\u0012\u00020\b0\u0013\u0012\u0004\u0012\u00028\u00000\u0011H\u0002¢\u0006\u0004\b\u0017\u0010\u0016JU\u0010\u0018\u001a\u00028\u0000\"\u0004\b\u0000\u0010\u00102\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u00042.\u0010\u0014\u001a*\u0012\u0004\u0012\u00020\u0002\u0012\u0006\u0012\u0004\u0018\u00010\u0012\u0012\u0006\u0012\u0004\u0018\u00010\u0012\u0012\n\u0012\b\u0012\u0004\u0012\u00020\b0\u0013\u0012\u0004\u0012\u00028\u00000\u0011H\u0002¢\u0006\u0004\b\u0018\u0010\u0016R\u0011\u0010\u001c\u001a\u00020\u00198F¢\u0006\u0006\u001a\u0004\b\u001a\u0010\u001b¨\u0006\u001f"}, d2 = {"Lcom/bukalapak/mitra/feature/deeplink/registry/LakupandaiDeeplink;", "", "Landroid/content/Context;", "context", "Landroid/os/Bundle;", "extras", "Lvz8;", "goToDigitalDepositScreen", "Landroid/content/Intent;", "goToDigitalDepositScreenInternal", "goToDigitalSendScreen", "goToDigitalSendScreenInternal", "goToDigitalVaScreen", "goToDigitalVaScreenInternal", "goToInternationalWithdrawScreen", "goToInternationalWithdrawScreenInternal", "T", "Lkotlin/Function4;", "", "Lkotlin/Function0;", "body", "b", "(Landroid/content/Context;Landroid/os/Bundle;Lyx2;)Ljava/lang/Object;", "c", "d", "Lpj4;", "a", "()Lpj4;", "lakupandaiNavigation", "<init>", "()V", "feature_deeplink_release"}, k = 1, mv = {1, 8, 0})
public final class LakupandaiDeeplink {
    public static final LakupandaiDeeplink a = new LakupandaiDeeplink();

    @Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Landroid/content/Intent;", "a", "()Landroid/content/Intent;"}, k = 3, mv = {1, 8, 0})
    static final class a extends dk4 implements ex2<Intent> {
        final Context $context;
        final String $deeplinkUrl;

        a(Context context, String str) {
            super(0);
            this.$context = context;
            this.$deeplinkUrl = str;
        }

        public final Intent invoke() {
            return pj4.a.a(LakupandaiDeeplink.a.a(), this.$context, this.$deeplinkUrl, null, 4, null);
        }
    }

    @Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Landroid/content/Intent;", "a", "()Landroid/content/Intent;"}, k = 3, mv = {1, 8, 0})
    static final class b extends dk4 implements ex2<Intent> {
        final Context $context;
        final String $deeplinkUrl;

        b(Context context, String str) {
            super(0);
            this.$context = context;
            this.$deeplinkUrl = str;
        }

        public final Intent invoke() {
            return pj4.a.a(LakupandaiDeeplink.a.a(), this.$context, this.$deeplinkUrl, null, 4, null);
        }
    }

    @Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
    class c extends oy2 implements yx2<Context, String, String, ex2<? extends Intent>, vz8> {
        public static final c a = new c();

        c() {
            super(4, k54.class, "buildStackPinCreation", "buildStackPinCreation(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function0;)Landroidx/core/app/TaskStackBuilder;", 1);
        }

        public final vz8 k(Context context, String str, String str2, ex2<? extends Intent> ex2Var) {
            p64.h(context, "p0");
            p64.h(ex2Var, "p3");
            return k54.i(context, str, str2, ex2Var);
        }
    }

    @Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
    class d extends oy2 implements yx2<Context, String, String, ex2<? extends Intent>, Intent> {
        public static final d a = new d();

        d() {
            super(4, k54.class, "buildIntentPinCreation", "buildIntentPinCreation(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function0;)Landroid/content/Intent;", 1);
        }

        public final Intent k(Context context, String str, String str2, ex2<? extends Intent> ex2Var) {
            p64.h(context, "p0");
            p64.h(ex2Var, "p3");
            return k54.d(context, str, str2, ex2Var);
        }
    }

    @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001\"\u0004\b\u0000\u0010\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"T", "Landroid/content/Intent;", "a", "()Landroid/content/Intent;"}, k = 3, mv = {1, 8, 0})
    static final class e extends dk4 implements ex2<Intent> {
        final Context $context;
        final String $deeplinkUrl;
        final Boolean $isFromDope;
        final boolean $isTaskDone;

        e(Context context, String str, Boolean bool, boolean z) {
            super(0);
            this.$context = context;
            this.$deeplinkUrl = str;
            this.$isFromDope = bool;
            this.$isTaskDone = z;
        }

        public final Intent invoke() {
            Intent b = pj4.a.b(LakupandaiDeeplink.a.a(), this.$context, this.$deeplinkUrl, null, false, 12, null);
            Boolean bool = this.$isFromDope;
            boolean z = this.$isTaskDone;
            if (bool == null || p64.c(bool, Boolean.FALSE) || z) {
                b.setAction("DeeplinkSkipPinCreationIntent");
            }
            return b;
        }
    }

    @Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
    class f extends oy2 implements yx2<Context, String, String, ex2<? extends Intent>, vz8> {
        public static final f a = new f();

        f() {
            super(4, k54.class, "buildStackPinCreation", "buildStackPinCreation(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function0;)Landroidx/core/app/TaskStackBuilder;", 1);
        }

        public final vz8 k(Context context, String str, String str2, ex2<? extends Intent> ex2Var) {
            p64.h(context, "p0");
            p64.h(ex2Var, "p3");
            return k54.i(context, str, str2, ex2Var);
        }
    }

    @Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
    class g extends oy2 implements yx2<Context, String, String, ex2<? extends Intent>, Intent> {
        public static final g a = new g();

        g() {
            super(4, k54.class, "buildIntentPinCreation", "buildIntentPinCreation(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function0;)Landroid/content/Intent;", 1);
        }

        public final Intent k(Context context, String str, String str2, ex2<? extends Intent> ex2Var) {
            p64.h(context, "p0");
            p64.h(ex2Var, "p3");
            return k54.d(context, str, str2, ex2Var);
        }
    }

    @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001\"\u0004\b\u0000\u0010\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"T", "Landroid/content/Intent;", "a", "()Landroid/content/Intent;"}, k = 3, mv = {1, 8, 0})
    static final class h extends dk4 implements ex2<Intent> {
        final Context $context;
        final String $deeplinkUrl;
        final Boolean $isFromDope;
        final boolean $isTaskDone;

        h(Context context, String str, Boolean bool, boolean z) {
            super(0);
            this.$context = context;
            this.$deeplinkUrl = str;
            this.$isFromDope = bool;
            this.$isTaskDone = z;
        }

        public final Intent invoke() {
            Intent c = pj4.a.c(LakupandaiDeeplink.a.a(), this.$context, this.$deeplinkUrl, null, 4, null);
            Boolean bool = this.$isFromDope;
            boolean z = this.$isTaskDone;
            if (bool == null || p64.c(bool, Boolean.FALSE) || z) {
                c.setAction("DeeplinkSkipPinCreationIntent");
            }
            return c;
        }
    }

    @Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
    class i extends oy2 implements yx2<Context, String, String, ex2<? extends Intent>, vz8> {
        public static final i a = new i();

        i() {
            super(4, k54.class, "buildStackLogin", "buildStackLogin(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function0;)Landroidx/core/app/TaskStackBuilder;", 1);
        }

        public final vz8 k(Context context, String str, String str2, ex2<? extends Intent> ex2Var) {
            p64.h(context, "p0");
            p64.h(ex2Var, "p3");
            return k54.g(context, str, str2, ex2Var);
        }
    }

    @Metadata(k = 3, mv = {1, 8, 0}, xi = 48)
    class j extends oy2 implements yx2<Context, String, String, ex2<? extends Intent>, Intent> {
        public static final j a = new j();

        j() {
            super(4, k54.class, "buildIntentLogin", "buildIntentLogin(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Lkotlin/jvm/functions/Function0;)Landroid/content/Intent;", 1);
        }

        public final Intent k(Context context, String str, String str2, ex2<? extends Intent> ex2Var) {
            p64.h(context, "p0");
            p64.h(ex2Var, "p3");
            return k54.b(context, str, str2, ex2Var);
        }
    }

    @Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0002\u001a\u00020\u0001\"\u0004\b\u0000\u0010\u0000H\n¢\u0006\u0004\b\u0002\u0010\u0003"}, d2 = {"T", "Landroid/content/Intent;", "a", "()Landroid/content/Intent;"}, k = 3, mv = {1, 8, 0})
    static final class k extends dk4 implements ex2<Intent> {
        final Context $context;
        final String $deeplinkUrl;

        k(Context context, String str) {
            super(0);
            this.$context = context;
            this.$deeplinkUrl = str;
        }

        public final Intent invoke() {
            return pj4.a.d(LakupandaiDeeplink.a.a(), this.$context, this.$deeplinkUrl, null, 4, null);
        }
    }

    private LakupandaiDeeplink() {
    }

    private final <T> T b(Context context, Bundle extras, yx2<? super Context, ? super String, ? super String, ? super ex2<? extends Intent>, ? extends T> body) {
        String a2 = dd0.a(extras);
        Bundle bundle = extras.getBundle("args");
        Boolean valueOf = bundle != null ? Boolean.valueOf(bundle.getBoolean("isFromDopeScreen")) : null;
        Bundle bundle2 = extras.getBundle("args");
        return (T) body.k(context, a2, "/payment-services/banking/bank-transfer", new e(context, a2, valueOf, bundle2 != null ? bundle2.getBoolean("_task_done") : false));
    }

    private final <T> T c(Context context, Bundle extras, yx2<? super Context, ? super String, ? super String, ? super ex2<? extends Intent>, ? extends T> body) {
        String a2 = dd0.a(extras);
        Bundle bundle = extras.getBundle("args");
        Boolean valueOf = bundle != null ? Boolean.valueOf(bundle.getBoolean("isFromDopeScreen")) : null;
        Bundle bundle2 = extras.getBundle("args");
        return (T) body.k(context, a2, "/payment-services/banking/digital-va", new h(context, a2, valueOf, bundle2 != null ? bundle2.getBoolean("_task_done") : false));
    }

    private final <T> T d(Context context, Bundle extras, yx2<? super Context, ? super String, ? super String, ? super ex2<? extends Intent>, ? extends T> body) {
        String a2 = dd0.a(extras);
        return (T) body.k(context, a2, (Object) null, new k(context, a2));
    }

    @BLIDDeeplink
    @MobileDeeplink
    public static final vz8 goToDigitalDepositScreen(Context context, Bundle extras) {
        p64.h(context, "context");
        p64.h(extras, "extras");
        String a2 = dd0.a(extras);
        return k54.h(context, a2, null, new a(context, a2), 4, null);
    }

    @BLIDDeeplink
    @MobileDeeplink
    public static final Intent goToDigitalDepositScreenInternal(Context context, Bundle extras) {
        p64.h(context, "context");
        p64.h(extras, "extras");
        String a2 = dd0.a(extras);
        return k54.c(context, a2, null, new b(context, a2), 4, null);
    }

    @BLIDDeeplink
    @MitraDeeplink
    @MobileDeeplink
    public static final vz8 goToDigitalSendScreen(Context context, Bundle extras) {
        p64.h(context, "context");
        p64.h(extras, "extras");
        return (vz8) a.b(context, extras, c.a);
    }

    @BLIDDeeplink
    @MitraDeeplink
    @MobileDeeplink
    public static final Intent goToDigitalSendScreenInternal(Context context, Bundle extras) {
        p64.h(context, "context");
        p64.h(extras, "extras");
        return (Intent) a.b(context, extras, d.a);
    }

    @MobileDeeplink
    public static final vz8 goToDigitalVaScreen(Context context, Bundle extras) {
        p64.h(context, "context");
        p64.h(extras, "extras");
        return (vz8) a.c(context, extras, f.a);
    }

    @MobileDeeplink
    public static final Intent goToDigitalVaScreenInternal(Context context, Bundle extras) {
        p64.h(context, "context");
        p64.h(extras, "extras");
        return (Intent) a.c(context, extras, g.a);
    }

    @MobileDeeplink
    public static final vz8 goToInternationalWithdrawScreen(Context context, Bundle extras) {
        p64.h(context, "context");
        p64.h(extras, "extras");
        return (vz8) a.d(context, extras, i.a);
    }

    @MobileDeeplink
    public static final Intent goToInternationalWithdrawScreenInternal(Context context, Bundle extras) {
        p64.h(context, "context");
        p64.h(extras, "extras");
        return (Intent) a.d(context, extras, j.a);
    }

    public final pj4 a() {
        return xp1.a.a().i1();
    }
}