导航菜单

页面标题

页面副标题

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

正在查看: Mitra Bukalapak v2.55.0 应用的 KycDeeplink.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.MitraDeeplink;
import defpackage.dd0;
import defpackage.fk8$a;
import defpackage.k54;
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\u0006\n\u0002\u0018\u0002\n\u0002\b\u0006\bÀ\u0002\u0018\u00002\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u001e\u0010\u001fJ\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\u001a\u0010\u000e\u001a\u0004\u0018\u00010\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\u0016JW\u0010\u0019\u001a\u0004\u0018\u00018\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\u0019\u0010\u0016R\u0014\u0010\u001d\u001a\u00020\u001a8BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b\u001b\u0010\u001c¨\u0006 "}, d2 = {"Lcom/bukalapak/mitra/feature/deeplink/registry/KycDeeplink;", "", "Landroid/content/Context;", "context", "Landroid/os/Bundle;", "extras", "Lvz8;", "goToMitraKyc", "Landroid/content/Intent;", "goToMitraKycInternal", "goToSkyc", "goToSkycInternal", "goToCameraUpload", "goToCameraUploadInternal", "goToBayarTempoLivenessDetection", "goToBayarTempoLivenessDetectionInternal", "T", "Lkotlin/Function4;", "", "Lkotlin/Function0;", "body", "e", "(Landroid/content/Context;Landroid/os/Bundle;Lyx2;)Ljava/lang/Object;", "f", "d", "c", "Lfk8;", "b", "()Lfk8;", "singleKycNavigation", "<init>", "()V", "feature_deeplink_release"}, k = 1, mv = {1, 8, 0})
public final class KycDeeplink {
    public static final KycDeeplink a = new KycDeeplink();

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

        a() {
            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 b extends oy2 implements yx2<Context, String, String, ex2<? extends Intent>, Intent> {
        public static final b a = new b();

        b() {
            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 c extends dk4 implements ex2<Intent> {
        final Context $context;

        c(Context context) {
            super(0);
            this.$context = context;
        }

        public final Intent invoke() {
            return KycDeeplink.a.b().j(this.$context);
        }
    }

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

        d() {
            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 e extends oy2 implements yx2<Context, String, String, ex2<? extends Intent>, Intent> {
        public static final e a = new e();

        e() {
            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 f extends dk4 implements ex2<Intent> {
        final Context $context;
        final boolean $isOcrCheck;
        final String $kycSource;
        final String $title;
        final String $type;

        f(Context context, String str, String str2, String str3, boolean z) {
            super(0);
            this.$context = context;
            this.$kycSource = str;
            this.$type = str2;
            this.$title = str3;
            this.$isOcrCheck = z;
        }

        public final Intent invoke() {
            return KycDeeplink.a.b().a(this.$context, this.$kycSource, this.$type, this.$title, this.$isOcrCheck);
        }
    }

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

        g() {
            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 h extends oy2 implements yx2<Context, String, String, ex2<? extends Intent>, Intent> {
        public static final h a = new h();

        h() {
            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 i extends dk4 implements ex2<Intent> {
        final Context $context;

        i(Context context) {
            super(0);
            this.$context = context;
        }

        public final Intent invoke() {
            return fk8$a.b(KycDeeplink.a.b(), this.$context, null, null, null, null, 30, null);
        }
    }

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

        j() {
            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 k extends oy2 implements yx2<Context, String, String, ex2<? extends Intent>, Intent> {
        public static final k a = new k();

        k() {
            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 l extends dk4 implements ex2<Intent> {
        final Context $context;
        final String $journeyId;
        final String $source;
        final String $tier;

        l(String str, Context context, String str2, String str3) {
            super(0);
            this.$source = str;
            this.$context = context;
            this.$journeyId = str2;
            this.$tier = str3;
        }

        public final Intent invoke() {
            String str = this.$source;
            p64.g(str, "source");
            if (str.length() <= 0) {
                return fk8$a.b(KycDeeplink.a.b(), this.$context, null, this.$journeyId, null, null, 26, null);
            }
            fk8 b = KycDeeplink.a.b();
            Context context = this.$context;
            String str2 = this.$source;
            p64.g(str2, "source");
            return fk8$a.a(b, context, str2, this.$journeyId, null, this.$tier, null, 40, null);
        }
    }

    private KycDeeplink() {
    }

    public final fk8 b() {
        return xp1.a.b().t();
    }

    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);
        if (a2 != null) {
            return (T) body.k(context, a2, (Object) null, new c(context));
        }
        return null;
    }

    private final <T> T d(Context context, Bundle extras, yx2<? super Context, ? super String, ? super String, ? super ex2<? extends Intent>, ? extends T> body) {
        return (T) body.k(context, dd0.a(extras), (Object) null, new f(context, extras.getString("kyc_source"), extras.getString("type"), extras.getString("title"), p64.c(extras.getString("ocr_check"), "true")));
    }

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

    private final <T> T f(Context context, Bundle extras, yx2<? super Context, ? super String, ? super String, ? super ex2<? extends Intent>, ? extends T> body) {
        return (T) body.k(context, dd0.a(extras), (Object) null, new l(extras.getString("kyc_source", ""), context, extras.getString("source_journey_id"), extras.getString("tier", "")));
    }

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

    @MitraDeeplink
    public static final Intent goToBayarTempoLivenessDetectionInternal(Context context, Bundle extras) {
        p64.h(context, "context");
        p64.h(extras, "extras");
        return (Intent) a.c(context, extras, b.a);
    }

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

    @MitraDeeplink
    public static final Intent goToCameraUploadInternal(Context context, Bundle extras) {
        p64.h(context, "context");
        p64.h(extras, "extras");
        return (Intent) a.d(context, extras, e.a);
    }

    @MitraDeeplink
    public static final vz8 goToMitraKyc(Context context, Bundle extras) {
        p64.h(context, "context");
        p64.h(extras, "extras");
        return (vz8) a.e(context, extras, g.a);
    }

    @MitraDeeplink
    public static final Intent goToMitraKycInternal(Context context, Bundle extras) {
        p64.h(context, "context");
        p64.h(extras, "extras");
        return (Intent) a.e(context, extras, h.a);
    }

    @MitraDeeplink
    public static final vz8 goToSkyc(Context context, Bundle extras) {
        p64.h(context, "context");
        p64.h(extras, "extras");
        return (vz8) a.f(context, extras, j.a);
    }

    @MitraDeeplink
    public static final Intent goToSkycInternal(Context context, Bundle extras) {
        p64.h(context, "context");
        p64.h(extras, "extras");
        return (Intent) a.f(context, extras, k.a);
    }
}