导航菜单

页面标题

页面副标题

Empower MX v1.29.4.340 - OnboardingEnterCurpActivity.java 源代码

正在查看: Empower MX v1.29.4.340 应用的 OnboardingEnterCurpActivity.java JAVA 源代码文件

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


package finance.empower.android.app.onboarding.curp.input;

import Uc.B;
import ac.C0995g;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.os.Parcelable;
import com.withpersona.sdk2.inquiry.network.HttpStatusCode;
import d.C;
import finance.empower.android.app.ExplanationComposeActivity;
import finance.empower.android.app.onboarding.curp.input.OnboardingEnterCurpActivity;
import finance.empower.android.app.onboarding.curp.input.g;
import hc.AbstractC1539c;
import kotlin.Metadata;
import kotlin.Pair;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import s0.l;
import s0.o;
import s0.q;

@Metadata(d1 = {"\u0000.\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0010\u000e\n\u0002\b\b\b\u0007\u0018\u0000 \u001e2\u00020\u00012\u00020\u0002:\u0001\u001fB\u0007¢\u0006\u0004\b\u0003\u0010\u0004J\u0019\u0010\b\u001a\u00020\u00072\b\u0010\u0006\u001a\u0004\u0018\u00010\u0005H\u0014¢\u0006\u0004\b\b\u0010\tJ\u000f\u0010\n\u001a\u00020\u0007H\u0014¢\u0006\u0004\b\n\u0010\u0004J\u000f\u0010\u000b\u001a\u00020\u0007H\u0014¢\u0006\u0004\b\u000b\u0010\u0004J\u0017\u0010\r\u001a\u00020\u00072\u0006\u0010\f\u001a\u00020\u0005H\u0014¢\u0006\u0004\b\r\u0010\tJ\u000f\u0010\u000e\u001a\u00020\u0007H\u0016¢\u0006\u0004\b\u000e\u0010\u0004R*\u0010\u0017\u001a\u00020\u000f2\u0006\u0010\u0010\u001a\u00020\u000f8\u0006@GX\u0086.¢\u0006\u0012\n\u0004\b\u0011\u0010\u0012\u001a\u0004\b\u0013\u0010\u0014\"\u0004\b\u0015\u0010\u0016R\u001a\u0010\u001d\u001a\u00020\u00188\u0014X\u0094D¢\u0006\f\n\u0004\b\u0019\u0010\u001a\u001a\u0004\b\u001b\u0010\u001c¨\u0006 "}, d2 = {"Lfinance/empower/android/app/onboarding/curp/input/OnboardingEnterCurpActivity;", "Lbc/m;", "Lfinance/empower/android/app/onboarding/curp/input/g$b;", "<init>", "()V", "Landroid/os/Bundle;", "savedInstanceState", "", "onCreate", "(Landroid/os/Bundle;)V", "onStart", "onStop", "outState", "onSaveInstanceState", "d", "Lfinance/empower/android/app/onboarding/curp/input/g;", "value", "i0", "Lfinance/empower/android/app/onboarding/curp/input/g;", "H1", "()Lfinance/empower/android/app/onboarding/curp/input/g;", "I1", "(Lfinance/empower/android/app/onboarding/curp/input/g;)V", "presenter", "", "j0", "Ljava/lang/String;", "C1", "()Ljava/lang/String;", "pageName", "k0", "a", "empower-app_productionRelease"}, k = 1, mv = {2, 1, HttpStatusCode.NETWORK_ERROR_0}, xi = 48)
public final class OnboardingEnterCurpActivity extends a implements g.b {

    public static final Companion INSTANCE = new Companion(null);
    public static final int l0 = 8;

    public g presenter;

    private final String pageName = "EnterCurp";

    public static final class Companion {
        public Companion(DefaultConstructorMarker defaultConstructorMarker) {
            this();
        }

        public final Intent a(Context context) {
            Intrinsics.checkNotNullParameter(context, "context");
            return C0995g.a(context, OnboardingEnterCurpActivity.class, new Pair[0]);
        }

        private Companion() {
        }
    }

    static final class b implements Function2 {
        b() {
        }

        public static final Unit g(OnboardingEnterCurpActivity onboardingEnterCurpActivity) {
            onboardingEnterCurpActivity.finish();
            return Unit.a;
        }

        public static final Unit i(OnboardingEnterCurpActivity onboardingEnterCurpActivity) {
            onboardingEnterCurpActivity.H1().m();
            return Unit.a;
        }

        public static final Unit k(OnboardingEnterCurpActivity onboardingEnterCurpActivity, String curp) {
            Intrinsics.checkNotNullParameter(curp, "curp");
            onboardingEnterCurpActivity.H1().p(curp);
            return Unit.a;
        }

        public final void f(l lVar, int i) {
            if ((i & 3) == 2 && lVar.w()) {
                lVar.F();
                return;
            }
            if (o.H()) {
                o.Q(1411332698, i, -1, "finance.empower.android.app.onboarding.curp.input.OnboardingEnterCurpActivity.onCreate.<anonymous> (OnboardingEnterCurpActivity.kt:52)");
            }
            g.b.a aVar = (g.b.a) OnboardingEnterCurpActivity.this.H1().l().getValue();
            B b = B.a;
            boolean z = aVar instanceof g.b.a.c;
            String string = OnboardingEnterCurpActivity.this.getString(Je.B.Z3);
            Intrinsics.checkNotNullExpressionValue(string, "getString(...)");
            String string2 = OnboardingEnterCurpActivity.this.getString(Je.B.V3);
            Intrinsics.checkNotNullExpressionValue(string2, "getString(...)");
            String string3 = OnboardingEnterCurpActivity.this.getString(Je.B.r1);
            Intrinsics.checkNotNullExpressionValue(string3, "getString(...)");
            B.c cVar = new B.c(string, string2, string3);
            lVar.V(2039661592);
            boolean l = lVar.l(OnboardingEnterCurpActivity.this);
            final OnboardingEnterCurpActivity onboardingEnterCurpActivity = OnboardingEnterCurpActivity.this;
            Object f = lVar.f();
            if (l || f == l.a.a()) {
                f = new Function0() {
                    @Override
                    public final Object invoke() {
                        Unit g;
                        g = OnboardingEnterCurpActivity.b.g(OnboardingEnterCurpActivity.this);
                        return g;
                    }
                };
                lVar.M(f);
            }
            Function0 function0 = (Function0) f;
            lVar.L();
            lVar.V(2039663379);
            boolean l2 = lVar.l(OnboardingEnterCurpActivity.this);
            final OnboardingEnterCurpActivity onboardingEnterCurpActivity2 = OnboardingEnterCurpActivity.this;
            Object f2 = lVar.f();
            if (l2 || f2 == l.a.a()) {
                f2 = new Function0() {
                    @Override
                    public final Object invoke() {
                        Unit i2;
                        i2 = OnboardingEnterCurpActivity.b.i(OnboardingEnterCurpActivity.this);
                        return i2;
                    }
                };
                lVar.M(f2);
            }
            Function0 function02 = (Function0) f2;
            lVar.L();
            lVar.V(2039666878);
            boolean l3 = lVar.l(OnboardingEnterCurpActivity.this);
            final OnboardingEnterCurpActivity onboardingEnterCurpActivity3 = OnboardingEnterCurpActivity.this;
            Object f3 = lVar.f();
            if (l3 || f3 == l.a.a()) {
                f3 = new Function1() {
                    @Override
                    public final Object invoke(Object obj) {
                        Unit k;
                        k = OnboardingEnterCurpActivity.b.k(OnboardingEnterCurpActivity.this, (String) obj);
                        return k;
                    }
                };
                lVar.M(f3);
            }
            lVar.L();
            b.c(z, cVar, new B.b(function0, function02, (Function1) f3), null, lVar, 24576, 8);
            if (o.H()) {
                o.P();
            }
        }

        @Override
        public Object invoke(Object obj, Object obj2) {
            f((l) obj, ((Number) obj2).intValue());
            return Unit.a;
        }
    }

    public static final class c extends C {
        c() {
            super(true);
        }

        public void d() {
            OnboardingEnterCurpActivity.this.moveTaskToBack(true);
        }
    }

    @Override
    protected String getPageName() {
        return this.pageName;
    }

    public final g H1() {
        g gVar = this.presenter;
        if (gVar != null) {
            return gVar;
        }
        Intrinsics.x("presenter");
        return null;
    }

    public final void I1(g gVar) {
        Intrinsics.checkNotNullParameter(gVar, "<set-?>");
        this.presenter = gVar;
    }

    @Override
    public void d() {
        startActivity(ExplanationComposeActivity.INSTANCE.a(this, AbstractC1539c.a()));
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        Parcelable parcelable;
        Object parcelable2;
        super.onCreate(savedInstanceState);
        e.e.b(this, (q) null, A0.c.c(1411332698, true, new b()), 1, (Object) null);
        i().h(this, new c());
        if (savedInstanceState != null) {
            if (Build.VERSION.SDK_INT > 33) {
                parcelable2 = savedInstanceState.getParcelable("finance.empower.0f73a834-d44b-492c-a8bd-a097a91ab753", g.a.class);
                parcelable = (Parcelable) parcelable2;
            } else {
                Parcelable parcelable3 = savedInstanceState.getParcelable("finance.empower.0f73a834-d44b-492c-a8bd-a097a91ab753");
                parcelable = (g.a) (parcelable3 instanceof g.a ? parcelable3 : null);
            }
            g.a aVar = (g.a) parcelable;
            if (aVar != null) {
                H1().o(aVar);
            }
        }
    }

    protected void onSaveInstanceState(Bundle outState) {
        Intrinsics.checkNotNullParameter(outState, "outState");
        super/*androidx.activity.ComponentActivity*/.onSaveInstanceState(outState);
        outState.putParcelable("finance.empower.0f73a834-d44b-492c-a8bd-a097a91ab753", H1().k());
    }

    @Override
    protected void onStart() {
        super.onStart();
        H1().n();
    }

    protected void onStop() {
        H1().c();
        super.onStop();
    }
}