导航菜单

页面标题

页面副标题

Moneyman v2.316.0.0 - AuthorizationActivity.java 源代码

正在查看: Moneyman v2.316.0.0 应用的 AuthorizationActivity.java JAVA 源代码文件

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


package mx.moneyman.component.activity.authorization;

import Eh.A;
import S2.O;
import Vf.h;
import Wf.K;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.view.View;
import androidx.appcompat.app.AlertController;
import androidx.appcompat.app.g;
import androidx.appcompat.widget.Toolbar;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.fragment.app.Fragment;
import androidx.navigation.fragment.NavHostFragment;
import androidx.navigation.fragment.b;
import androidx.preference.t;
import com.singular.sdk.BuildConfig;
import g2.Q;
import g2.Z;
import h.b;
import i.d;
import java.util.List;
import java.util.WeakHashMap;
import kg.InterfaceC1335a;
import kotlin.LazyThreadSafetyMode;
import kotlin.Metadata;
import kotlin.jvm.internal.i;
import kotlin.jvm.internal.l;
import mx.moneyman.component.activity.authorization.AuthorizationActivity;
import mx.moneyman.databinding.ActivityAuthorizationBinding;
import mx.moneyman.presentation.viewModel.authorizationArea.authorization.c;
import or.a;
import r5.j;
import ri.AbstractC1788b;
import ri.e;
import ri.f;
import v.r;

@Metadata(d1 = {"\u0000\u001c\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0007\u0018\u00002\u00020\u00012\u00020\u00022\b\u0012\u0004\u0012\u00020\u00040\u00032\u00020\u0005B\u0007¢\u0006\u0004\b\u0006\u0010\u0007¨\u0006\b"}, d2 = {"Lmx/moneyman/component/activity/authorization/AuthorizationActivity;", "Lri/b;", "Lri/e;", "Lri/f;", "Lmx/moneyman/databinding/ActivityAuthorizationBinding;", "Lor/a;", "<init>", "()V", "androidApp_productionMXGmsRelease"}, k = 1, mv = {2, 1, 0}, xi = 48)
public final class AuthorizationActivity extends AbstractC1788b implements e, f, a {
    public static final int h1 = 0;
    public org.koin.core.scope.a b1;
    public final h c1;
    public final Object d1;
    public final h e1;
    public final b f1 = registerForActivityResult(new d(), new r(this, 7));
    public final h g1;

    public AuthorizationActivity() {
        final int i = 0;
        this.c1 = kotlin.b.c(this, new InterfaceC1335a(this) {
            public final AuthorizationActivity b;

            {
                this.b = this;
            }

            @Override
            public final Object invoke() {
                or.a aVar = this.b;
                switch (i) {
                    case 0:
                        int i2 = AuthorizationActivity.h1;
                        return ActivityAuthorizationBinding.inflate(aVar.getLayoutInflater());
                    case 1:
                        int i3 = AuthorizationActivity.h1;
                        NavHostFragment D = aVar.getSupportFragmentManager().D(2131361958);
                        i.e(D, "null cannot be cast to non-null type androidx.navigation.fragment.NavHostFragment");
                        return D;
                    default:
                        int i4 = AuthorizationActivity.h1;
                        g gVar = new g(aVar);
                        AlertController.a aVar2 = gVar.a;
                        aVar2.d = "Login with jwt";
                        aVar2.f = "Error unauthorized jwt token";
                        aVar2.k = false;
                        aVar2.i = "Ok";
                        aVar2.j = null;
                        return gVar.a();
                }
            }
        });
        final Ar.a aVar = null;
        this.d1 = kotlin.b.b(LazyThreadSafetyMode.a, new InterfaceC1335a() {
            {
                super(0);
            }

            @Override
            public final Object invoke() {
                return j.x(this).b(aVar, aVar, l.a.b(c.class));
            }
        });
        final int i2 = 1;
        this.e1 = kotlin.b.a(new InterfaceC1335a(this) {
            public final AuthorizationActivity b;

            {
                this.b = this;
            }

            @Override
            public final Object invoke() {
                or.a aVar2 = this.b;
                switch (i2) {
                    case 0:
                        int i22 = AuthorizationActivity.h1;
                        return ActivityAuthorizationBinding.inflate(aVar2.getLayoutInflater());
                    case 1:
                        int i3 = AuthorizationActivity.h1;
                        NavHostFragment D = aVar2.getSupportFragmentManager().D(2131361958);
                        i.e(D, "null cannot be cast to non-null type androidx.navigation.fragment.NavHostFragment");
                        return D;
                    default:
                        int i4 = AuthorizationActivity.h1;
                        g gVar = new g(aVar2);
                        AlertController.a aVar22 = gVar.a;
                        aVar22.d = "Login with jwt";
                        aVar22.f = "Error unauthorized jwt token";
                        aVar22.k = false;
                        aVar22.i = "Ok";
                        aVar22.j = null;
                        return gVar.a();
                }
            }
        });
        final int i3 = 2;
        this.g1 = kotlin.b.a(new InterfaceC1335a(this) {
            public final AuthorizationActivity b;

            {
                this.b = this;
            }

            @Override
            public final Object invoke() {
                or.a aVar2 = this.b;
                switch (i3) {
                    case 0:
                        int i22 = AuthorizationActivity.h1;
                        return ActivityAuthorizationBinding.inflate(aVar2.getLayoutInflater());
                    case 1:
                        int i32 = AuthorizationActivity.h1;
                        NavHostFragment D = aVar2.getSupportFragmentManager().D(2131361958);
                        i.e(D, "null cannot be cast to non-null type androidx.navigation.fragment.NavHostFragment");
                        return D;
                    default:
                        int i4 = AuthorizationActivity.h1;
                        g gVar = new g(aVar2);
                        AlertController.a aVar22 = gVar.a;
                        aVar22.d = "Login with jwt";
                        aVar22.f = "Error unauthorized jwt token";
                        aVar22.k = false;
                        aVar22.i = "Ok";
                        aVar22.j = null;
                        return gVar.a();
                }
            }
        });
    }

    public static void m0(AuthorizationActivity authorizationActivity) {
        List f = authorizationActivity.getSupportFragmentManager().c.f();
        i.f(f, "getFragments(...)");
        View view = ((Fragment) K.V(f)).getView();
        Toolbar toolbar = view != null ? (Toolbar) view.findViewById(zb.f.toolbar) : null;
        if (toolbar != null) {
            super.setSupportActionBar(toolbar);
        }
    }

    @Override
    public final r3.a getBinding() {
        return (ActivityAuthorizationBinding) this.c1.getA();
    }

    public final org.koin.core.scope.a getScope() {
        org.koin.core.scope.a aVar = this.b1;
        if (aVar != null) {
            return aVar;
        }
        i.o("scope");
        throw null;
    }

    public final void onCloseScope() {
    }

    @Override
    public final void onCreate(Bundle bundle) {
        String stringExtra;
        this.b1 = org.koin.androidx.scope.a.b(this);
        super.onCreate(bundle);
        ConstraintLayout root = ((ActivityAuthorizationBinding) this.c1.getA()).getRoot();
        r0.g gVar = new r0.g(13);
        WeakHashMap weakHashMap = Z.a;
        Q.m(root, gVar);
        getSupportFragmentManager().o.add(new t(this, 1));
        setTitle(BuildConfig.FLAVOR);
        if (Build.VERSION.SDK_INT >= 33 && checkSelfPermission("android.permission.POST_NOTIFICATIONS") != 0) {
            this.f1.a("android.permission.POST_NOTIFICATIONS");
        }
        q4.a.q(this).c(new AuthorizationActivity$initVMListeners$1$1((c) this.d1.getA(), this, null));
        Intent intent = getIntent();
        if (intent == null || (stringExtra = intent.getStringExtra("deepLink")) == null || !A.w(stringExtra, "reset-password", false)) {
            return;
        }
        h hVar = this.e1;
        ((NavHostFragment) hVar.getA()).getNavController().d(2131363035, (Bundle) null, (O) null, (b.d) null);
        ((NavHostFragment) hVar.getA()).getNavController().d(2131362237, (Bundle) null, (O) null, (b.d) null);
    }
}