导航菜单

页面标题

页面副标题

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

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

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


package finance.empower.android.app.referrals;

import F0.c;
import Ff.n;
import Ke.B;
import M0.c2;
import M0.y0;
import Nd.I;
import Nd.J0;
import Nd.P;
import X.H;
import X.J;
import X.K;
import X.b;
import X.i;
import ac.C0995g;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.text.method.LinkMovementMethod;
import android.widget.TextView;
import androidx.compose.foundation.layout.q;
import androidx.compose.foundation.layout.t;
import androidx.compose.ui.e;
import androidx.compose.ui.node.c;
import androidx.constraintlayout.widget.ConstraintLayout;
import bc.AbstractC1046m;
import c1.F;
import com.withpersona.sdk2.inquiry.network.HttpStatusCode;
import com.withpersona.sdk2.inquiry.network.dto.ui.UiComponentConfig;
import finance.empower.android.app.referrals.ReferralsProgramActivity;
import finance.empower.android.app.referrals.g;
import java.util.ArrayList;
import java.util.List;
import kotlin.Metadata;
import kotlin.NoWhenBranchMatchedException;
import kotlin.Pair;
import kotlin.Unit;
import kotlin.collections.CollectionsKt;
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 l1.W;
import p0.z0;
import q1.w;
import s0.E1;
import s0.L0;
import s0.X0;
import s0.j;
import s0.o;
import s0.x;
import sf.l;
import sf.m;
import w1.j;
import w1.k;
import x1.h;

@Metadata(d1 = {"\u0000Z\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\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0004\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0018\u0002\n\u0002\b\r\b\u0007\u0018\u0000 <2\u00020\u00012\u00020\u0002:\u0001=B\u0007¢\u0006\u0004\b\u0003\u0010\u0004J\u0017\u0010\b\u001a\u00020\u00072\u0006\u0010\u0006\u001a\u00020\u0005H\u0002¢\u0006\u0004\b\b\u0010\tJ\u0019\u0010\f\u001a\u00020\u00072\b\u0010\u000b\u001a\u0004\u0018\u00010\nH\u0014¢\u0006\u0004\b\f\u0010\rJ\u000f\u0010\u000e\u001a\u00020\u0007H\u0014¢\u0006\u0004\b\u000e\u0010\u0004J\u000f\u0010\u000f\u001a\u00020\u0007H\u0014¢\u0006\u0004\b\u000f\u0010\u0004J\u0017\u0010\u0012\u001a\u00020\u00072\u0006\u0010\u0011\u001a\u00020\u0010H\u0016¢\u0006\u0004\b\u0012\u0010\u0013Ji\u0010\u001d\u001a\u00020\u00072\u0006\u0010\u0015\u001a\u00020\u00142\u0006\u0010\u0016\u001a\u00020\u00142\u0006\u0010\u0017\u001a\u00020\u00142\u0006\u0010\u0018\u001a\u00020\u00142\u001e\u0010\u001b\u001a\u001a\u0012\u0014\u0012\u0012\u0012\u0006\u0012\u0004\u0018\u00010\u0014\u0012\u0006\u0012\u0004\u0018\u00010\u00140\u001a\u0018\u00010\u00192\u0018\u0010\u001c\u001a\u0014\u0012\u0006\u0012\u0004\u0018\u00010\u0014\u0012\u0006\u0012\u0004\u0018\u00010\u0014\u0018\u00010\u001aH\u0007¢\u0006\u0004\b\u001d\u0010\u001eJ/\u0010\u001f\u001a\u00020\u00072\u001e\u0010\u001b\u001a\u001a\u0012\u0014\u0012\u0012\u0012\u0006\u0012\u0004\u0018\u00010\u0014\u0012\u0006\u0012\u0004\u0018\u00010\u00140\u001a\u0018\u00010\u0019H\u0007¢\u0006\u0004\b\u001f\u0010 J)\u0010!\u001a\u00020\u00072\u0018\u0010\u001b\u001a\u0014\u0012\u0006\u0012\u0004\u0018\u00010\u0014\u0012\u0006\u0012\u0004\u0018\u00010\u0014\u0018\u00010\u001aH\u0007¢\u0006\u0004\b!\u0010\"J-\u0010&\u001a\u00020\u00072\b\u0010\u0015\u001a\u0004\u0018\u00010\u00142\b\u0010#\u001a\u0004\u0018\u00010\u00142\b\b\u0002\u0010%\u001a\u00020$H\u0007¢\u0006\u0004\b&\u0010'R*\u00100\u001a\u00020(2\u0006\u0010)\u001a\u00020(8\u0006@GX\u0086.¢\u0006\u0012\n\u0004\b*\u0010+\u001a\u0004\b,\u0010-\"\u0004\b.\u0010/R\u001b\u00106\u001a\u0002018BX\u0082\u0084\u0002¢\u0006\f\n\u0004\b2\u00103\u001a\u0004\b4\u00105R\u001a\u0010;\u001a\u00020\u00148\u0014X\u0094D¢\u0006\f\n\u0004\b7\u00108\u001a\u0004\b9\u0010:¨\u0006>"}, d2 = {"Lfinance/empower/android/app/referrals/ReferralsProgramActivity;", "Lbc/m;", "Lfinance/empower/android/app/referrals/g$b;", "<init>", "()V", "Lfinance/empower/android/app/referrals/g$b$a$a;", "content", "", "Y1", "(Lfinance/empower/android/app/referrals/g$b$a$a;)V", "Landroid/os/Bundle;", "savedInstanceState", "onCreate", "(Landroid/os/Bundle;)V", "onStart", "onStop", "Lfinance/empower/android/app/referrals/g$b$a;", "viewState", "X1", "(Lfinance/empower/android/app/referrals/g$b$a;)V", "", UiComponentConfig.Title.type, "subtitle", "tileTitle", "tileDetails", "", "Lkotlin/Pair;", "items", "summary", "M1", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lkotlin/Pair;Ls0/l;I)V", "S1", "(Ljava/util/List;Ls0/l;I)V", "Q1", "(Lkotlin/Pair;Ls0/l;I)V", "details", "Landroidx/compose/ui/e;", "modifier", "O1", "(Ljava/lang/String;Ljava/lang/String;Landroidx/compose/ui/e;Ls0/l;II)V", "Lfinance/empower/android/app/referrals/g;", "value", "i0", "Lfinance/empower/android/app/referrals/g;", "W1", "()Lfinance/empower/android/app/referrals/g;", "Z1", "(Lfinance/empower/android/app/referrals/g;)V", "presenter", "LKe/B;", "j0", "Lsf/l;", "V1", "()LKe/B;", "binding", "k0", "Ljava/lang/String;", "C1", "()Ljava/lang/String;", "pageName", "l0", "a", "empower-app_productionRelease"}, k = 1, mv = {2, 1, HttpStatusCode.NETWORK_ERROR_0}, xi = 48)
public final class ReferralsProgramActivity extends a implements g.b {

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

    public g presenter;

    private final l binding = m.a(new Function0() {
        @Override
        public final Object invoke() {
            B U1;
            U1 = ReferralsProgramActivity.U1(ReferralsProgramActivity.this);
            return U1;
        }
    });

    private final String pageName = "ReferralPromoDetails";

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

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

        private Companion() {
        }
    }

    static final class b implements n {
        final Pair d;

        b(Pair pair) {
            this.d = pair;
        }

        public final void a(i Card, s0.l lVar, int i) {
            String str;
            String str2;
            Intrinsics.checkNotNullParameter(Card, "$this$Card");
            if ((i & 17) == 16 && lVar.w()) {
                lVar.F();
                return;
            }
            if (o.H()) {
                o.Q(1541920241, i, -1, "finance.empower.android.app.referrals.ReferralsProgramActivity.SummaryTable.<anonymous> (ReferralsProgramActivity.kt:270)");
            }
            Pair pair = this.d;
            e.a aVar = androidx.compose.ui.e.a;
            X.b bVar = X.b.a;
            b.m g = bVar.g();
            c.a aVar2 = F0.c.a;
            F a = X.g.a(g, aVar2.k(), lVar, 0);
            int a2 = j.a(lVar, 0);
            x I = lVar.I();
            androidx.compose.ui.e e = androidx.compose.ui.c.e(lVar, aVar);
            c.a aVar3 = androidx.compose.ui.node.c.k;
            Function0 a3 = aVar3.a();
            if (lVar.z() == null) {
                j.c();
            }
            lVar.v();
            if (lVar.n()) {
                lVar.C(a3);
            } else {
                lVar.K();
            }
            s0.l a4 = E1.a(lVar);
            E1.b(a4, a, aVar3.e());
            E1.b(a4, I, aVar3.g());
            Function2 b = aVar3.b();
            if (a4.n() || !Intrinsics.d(a4.f(), Integer.valueOf(a2))) {
                a4.M(Integer.valueOf(a2));
                a4.E(Integer.valueOf(a2), b);
            }
            E1.b(a4, e, aVar3.f());
            X.j jVar = X.j.a;
            androidx.compose.ui.e i2 = q.i(t.h(aVar, 0.0f, 1, (Object) null), h.j(16));
            F b2 = H.b(bVar.f(), aVar2.l(), lVar, 0);
            int a5 = j.a(lVar, 0);
            x I2 = lVar.I();
            androidx.compose.ui.e e2 = androidx.compose.ui.c.e(lVar, i2);
            Function0 a6 = aVar3.a();
            if (lVar.z() == null) {
                j.c();
            }
            lVar.v();
            if (lVar.n()) {
                lVar.C(a6);
            } else {
                lVar.K();
            }
            s0.l a7 = E1.a(lVar);
            E1.b(a7, b2, aVar3.e());
            E1.b(a7, I2, aVar3.g());
            Function2 b3 = aVar3.b();
            if (a7.n() || !Intrinsics.d(a7.f(), Integer.valueOf(a5))) {
                a7.M(Integer.valueOf(a5));
                a7.E(Integer.valueOf(a5), b3);
            }
            E1.b(a7, e2, aVar3.f());
            K k = K.a;
            z0.b((pair == null || (str2 = (String) pair.c()) == null) ? "" : str2, J.c(k, aVar, 1.0f, false, 2, (Object) null), 0L, 0L, (w) null, (q1.B) null, (q1.l) null, 0L, (k) null, (w1.j) null, 0L, 0, false, 0, 0, (Function1) null, re.j.d(), lVar, 0, 0, 65532);
            if (pair == null || (str = (String) pair.d()) == null) {
                str = "";
            }
            z0.b(str, J.c(k, aVar, 1.0f, false, 2, (Object) null), 0L, 0L, (w) null, (q1.B) null, (q1.l) null, 0L, (k) null, w1.j.h(w1.j.b.b()), 0L, 0, false, 0, 0, (Function1) null, re.j.d(), lVar, 0, 0, 65020);
            lVar.S();
            lVar.S();
            if (o.H()) {
                o.P();
            }
        }

        @Override
        public Object e(Object obj, Object obj2, Object obj3) {
            a((i) obj, (s0.l) obj2, ((Number) obj3).intValue());
            return Unit.a;
        }
    }

    static final class c implements n {
        final List d;

        c(List list) {
            this.d = list;
        }

        public final void a(i Card, s0.l lVar, int i) {
            s0.l lVar2 = lVar;
            Intrinsics.checkNotNullParameter(Card, "$this$Card");
            int i2 = 16;
            if ((i & 17) == 16 && lVar.w()) {
                lVar.F();
                return;
            }
            if (o.H()) {
                o.Q(866221841, i, -1, "finance.empower.android.app.referrals.ReferralsProgramActivity.TwoColumnTable.<anonymous> (ReferralsProgramActivity.kt:227)");
            }
            List<Pair> list = this.d;
            e.a aVar = androidx.compose.ui.e.a;
            int i3 = 0;
            F a = X.g.a(X.b.a.g(), F0.c.a.k(), lVar2, 0);
            int a2 = j.a(lVar2, 0);
            x I = lVar.I();
            androidx.compose.ui.e e = androidx.compose.ui.c.e(lVar2, aVar);
            c.a aVar2 = androidx.compose.ui.node.c.k;
            Function0 a3 = aVar2.a();
            if (lVar.z() == null) {
                j.c();
            }
            lVar.v();
            if (lVar.n()) {
                lVar2.C(a3);
            } else {
                lVar.K();
            }
            s0.l a4 = E1.a(lVar);
            E1.b(a4, a, aVar2.e());
            E1.b(a4, I, aVar2.g());
            Function2 b = aVar2.b();
            if (a4.n() || !Intrinsics.d(a4.f(), Integer.valueOf(a2))) {
                a4.M(Integer.valueOf(a2));
                a4.E(Integer.valueOf(a2), b);
            }
            E1.b(a4, e, aVar2.f());
            X.j jVar = X.j.a;
            lVar2.V(-821946274);
            if (list != null) {
                for (Pair pair : list) {
                    e.a aVar3 = androidx.compose.ui.e.a;
                    androidx.compose.ui.e i4 = q.i(t.h(aVar3, 0.0f, 1, (Object) null), h.j(i2));
                    F b2 = H.b(X.b.a.f(), F0.c.a.i(), lVar2, 48);
                    int a5 = j.a(lVar2, i3);
                    x I2 = lVar.I();
                    androidx.compose.ui.e e2 = androidx.compose.ui.c.e(lVar2, i4);
                    c.a aVar4 = androidx.compose.ui.node.c.k;
                    Function0 a6 = aVar4.a();
                    if (lVar.z() == null) {
                        j.c();
                    }
                    lVar.v();
                    if (lVar.n()) {
                        lVar2.C(a6);
                    } else {
                        lVar.K();
                    }
                    s0.l a7 = E1.a(lVar);
                    E1.b(a7, b2, aVar4.e());
                    E1.b(a7, I2, aVar4.g());
                    Function2 b3 = aVar4.b();
                    if (a7.n() || !Intrinsics.d(a7.f(), Integer.valueOf(a5))) {
                        a7.M(Integer.valueOf(a5));
                        a7.E(Integer.valueOf(a5), b3);
                    }
                    E1.b(a7, e2, aVar4.f());
                    K k = K.a;
                    String str = (String) pair.c();
                    int i5 = i3;
                    List list2 = list;
                    int i6 = i2;
                    z0.b(str == null ? "" : str, J.c(k, aVar3, 1.0f, false, 2, (Object) null), 0L, 0L, (w) null, (q1.B) null, (q1.l) null, 0L, (k) null, (w1.j) null, 0L, 0, false, 0, 0, (Function1) null, Intrinsics.d(((Pair) CollectionsKt.s0(list)).c(), pair.c()) ? re.j.d() : re.j.h(), lVar, 0, 0, 65532);
                    String str2 = (String) pair.d();
                    z0.b(str2 != null ? str2 : "", J.c(k, aVar3, 1.0f, false, 2, (Object) null), 0L, 0L, (w) null, (q1.B) null, (q1.l) null, 0L, (k) null, w1.j.h(w1.j.b.b()), 0L, 0, false, 0, 0, (Function1) null, Intrinsics.d(((Pair) CollectionsKt.s0(list2)).d(), pair.d()) ? re.j.d() : re.j.h(), lVar, 0, 0, 65020);
                    lVar.S();
                    lVar2 = lVar;
                    i3 = i5;
                    list = list2;
                    i2 = i6;
                }
            }
            lVar.L();
            lVar.S();
            if (o.H()) {
                o.P();
            }
        }

        @Override
        public Object e(Object obj, Object obj2, Object obj3) {
            a((i) obj, (s0.l) obj2, ((Number) obj3).intValue());
            return Unit.a;
        }
    }

    static final class d implements Function2 {
        final g.b.a.C0482a d;
        final ReferralsProgramActivity e;

        d(g.b.a.C0482a c0482a, ReferralsProgramActivity referralsProgramActivity) {
            this.d = c0482a;
            this.e = referralsProgramActivity;
        }

        public final void a(s0.l lVar, int i) {
            ArrayList arrayList;
            if ((i & 3) == 2 && lVar.w()) {
                lVar.F();
                return;
            }
            if (o.H()) {
                o.Q(1431895749, i, -1, "finance.empower.android.app.referrals.ReferralsProgramActivity.renderContent.<anonymous> (ReferralsProgramActivity.kt:122)");
            }
            String j = this.d.j();
            String str = j == null ? "" : j;
            String c = this.d.c();
            String str2 = c == null ? "" : c;
            List d = this.d.d();
            if (d != null) {
                List<g.a> list = d;
                ArrayList arrayList2 = new ArrayList(CollectionsKt.x(list, 10));
                for (g.a aVar : list) {
                    arrayList2.add(sf.x.a(aVar.a(), aVar.b()));
                }
                arrayList = arrayList2;
            } else {
                arrayList = null;
            }
            g.a f = this.d.f();
            Pair a = f != null ? sf.x.a(f.a(), f.b()) : null;
            String i2 = this.d.i();
            String str3 = i2 == null ? "" : i2;
            String h = this.d.h();
            this.e.M1(str, str2, str3, h == null ? "" : h, arrayList, a, lVar, 0);
            if (o.H()) {
                o.P();
            }
        }

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

    static final class e implements Function2 {
        final g.b.a.C0482a d;
        final ReferralsProgramActivity e;

        e(g.b.a.C0482a c0482a, ReferralsProgramActivity referralsProgramActivity) {
            this.d = c0482a;
            this.e = referralsProgramActivity;
        }

        public static final Unit g(ReferralsProgramActivity referralsProgramActivity) {
            referralsProgramActivity.W1().G();
            return Unit.a;
        }

        public static final Unit i(ReferralsProgramActivity referralsProgramActivity) {
            referralsProgramActivity.W1().G();
            return Unit.a;
        }

        public static final Unit k(ReferralsProgramActivity referralsProgramActivity) {
            referralsProgramActivity.W1().s();
            return Unit.a;
        }

        public final void f(s0.l lVar, int i) {
            if ((i & 3) == 2 && lVar.w()) {
                lVar.F();
                return;
            }
            if (o.H()) {
                o.Q(-1517885613, i, -1, "finance.empower.android.app.referrals.ReferralsProgramActivity.renderContent.<anonymous>.<anonymous> (ReferralsProgramActivity.kt:133)");
            }
            if (this.d.e() == null) {
                lVar.V(587655026);
                String b = this.d.b();
                lVar.V(587659270);
                boolean l = lVar.l(this.e);
                final ReferralsProgramActivity referralsProgramActivity = this.e;
                Object f = lVar.f();
                if (l || f == s0.l.a.a()) {
                    f = new Function0() {
                        @Override
                        public final Object invoke() {
                            Unit g;
                            g = ReferralsProgramActivity.e.g(ReferralsProgramActivity.this);
                            return g;
                        }
                    };
                    lVar.M(f);
                }
                lVar.L();
                I.b(b, true, (Function0) f, androidx.compose.foundation.b.d(androidx.compose.ui.e.a, Nd.z0.m(), (c2) null, 2, (Object) null), lVar, 48, 0);
                lVar.L();
            } else {
                lVar.V(1037817924);
                androidx.compose.ui.e d = androidx.compose.foundation.b.d(q.j(androidx.compose.ui.e.a, J0.a(Ge.d.j, lVar, 0), h.j(0)), Nd.z0.m(), (c2) null, 2, (Object) null);
                String b2 = this.d.b();
                String e = this.d.e();
                if (e == null) {
                    e = "";
                }
                String str = e;
                long m = Nd.z0.m();
                lVar.V(587677030);
                boolean l2 = lVar.l(this.e);
                final ReferralsProgramActivity referralsProgramActivity2 = this.e;
                Object f2 = lVar.f();
                if (l2 || f2 == s0.l.a.a()) {
                    f2 = new Function0() {
                        @Override
                        public final Object invoke() {
                            Unit i2;
                            i2 = ReferralsProgramActivity.e.i(ReferralsProgramActivity.this);
                            return i2;
                        }
                    };
                    lVar.M(f2);
                }
                Function0 function0 = (Function0) f2;
                lVar.L();
                lVar.V(587683210);
                boolean l3 = lVar.l(this.e);
                final ReferralsProgramActivity referralsProgramActivity3 = this.e;
                Object f3 = lVar.f();
                if (l3 || f3 == s0.l.a.a()) {
                    f3 = new Function0() {
                        @Override
                        public final Object invoke() {
                            Unit k;
                            k = ReferralsProgramActivity.e.k(ReferralsProgramActivity.this);
                            return k;
                        }
                    };
                    lVar.M(f3);
                }
                lVar.L();
                P.b(b2, function0, str, (Function0) f3, d, false, m, lVar, 0, 32);
                lVar.L();
            }
            if (o.H()) {
                o.P();
            }
        }

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

    public static final Unit N1(ReferralsProgramActivity referralsProgramActivity, String str, String str2, String str3, String str4, List list, Pair pair, int i, s0.l lVar, int i2) {
        referralsProgramActivity.M1(str, str2, str3, str4, list, pair, lVar, L0.a(i | 1));
        return Unit.a;
    }

    public static final Unit P1(ReferralsProgramActivity referralsProgramActivity, String str, String str2, androidx.compose.ui.e eVar, int i, int i2, s0.l lVar, int i3) {
        referralsProgramActivity.O1(str, str2, eVar, lVar, L0.a(i | 1), i2);
        return Unit.a;
    }

    public static final Unit R1(ReferralsProgramActivity referralsProgramActivity, Pair pair, int i, s0.l lVar, int i2) {
        referralsProgramActivity.Q1(pair, lVar, L0.a(i | 1));
        return Unit.a;
    }

    public static final Unit T1(ReferralsProgramActivity referralsProgramActivity, List list, int i, s0.l lVar, int i2) {
        referralsProgramActivity.S1(list, lVar, L0.a(i | 1));
        return Unit.a;
    }

    public static final B U1(ReferralsProgramActivity referralsProgramActivity) {
        return B.c(referralsProgramActivity.getLayoutInflater());
    }

    private final B V1() {
        return (B) this.binding.getValue();
    }

    private final void Y1(g.b.a.C0482a content) {
        V1().c.setContent(A0.c.c(1431895749, true, new d(content, this)));
        V1().b.setContent(A0.c.c(-1517885613, true, new e(content, this)));
        TextView textView = V1().f;
        Intrinsics.f(textView);
        textView.setText(androidx.core.text.b.a(Vd.n.l(textView, Je.B.f8, content.g()), 0));
        textView.setMovementMethod(LinkMovementMethod.getInstance());
    }

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

    public final void M1(final String title, final String subtitle, final String tileTitle, final String tileDetails, final List list, final Pair pair, s0.l lVar, final int i) {
        int i2;
        s0.l lVar2;
        Intrinsics.checkNotNullParameter(title, "title");
        Intrinsics.checkNotNullParameter(subtitle, "subtitle");
        Intrinsics.checkNotNullParameter(tileTitle, "tileTitle");
        Intrinsics.checkNotNullParameter(tileDetails, "tileDetails");
        s0.l t = lVar.t(770611589);
        if ((i & 6) == 0) {
            i2 = (t.U(title) ? 4 : 2) | i;
        } else {
            i2 = i;
        }
        if ((i & 48) == 0) {
            i2 |= t.U(subtitle) ? 32 : 16;
        }
        if ((i & 384) == 0) {
            i2 |= t.U(tileTitle) ? 256 : 128;
        }
        if ((i & 3072) == 0) {
            i2 |= t.U(tileDetails) ? 2048 : 1024;
        }
        if ((i & 24576) == 0) {
            i2 |= t.l(list) ? 16384 : 8192;
        }
        if ((196608 & i) == 0) {
            i2 |= t.U(pair) ? 131072 : 65536;
        }
        if ((1572864 & i) == 0) {
            i2 |= t.l(this) ? 1048576 : 524288;
        }
        int i3 = i2;
        if ((599187 & i3) == 599186 && t.w()) {
            t.F();
            lVar2 = t;
        } else {
            if (o.H()) {
                o.Q(770611589, i3, -1, "finance.empower.android.app.referrals.ReferralsProgramActivity.ImageWithTitleAndSubtitle (ReferralsProgramActivity.kt:180)");
            }
            e.a aVar = androidx.compose.ui.e.a;
            androidx.compose.ui.e h = t.h(aVar, 0.0f, 1, (Object) null);
            F a = X.g.a(X.b.a.g(), F0.c.a.g(), t, 48);
            int a2 = j.a(t, 0);
            x I = t.I();
            androidx.compose.ui.e e2 = androidx.compose.ui.c.e(t, h);
            c.a aVar2 = androidx.compose.ui.node.c.k;
            Function0 a3 = aVar2.a();
            if (t.z() == null) {
                j.c();
            }
            t.v();
            if (t.n()) {
                t.C(a3);
            } else {
                t.K();
            }
            s0.l a4 = E1.a(t);
            E1.b(a4, a, aVar2.e());
            E1.b(a4, I, aVar2.g());
            Function2 b2 = aVar2.b();
            if (a4.n() || !Intrinsics.d(a4.f(), Integer.valueOf(a2))) {
                a4.M(Integer.valueOf(a2));
                a4.E(Integer.valueOf(a2), b2);
            }
            E1.b(a4, e2, aVar2.f());
            X.j jVar = X.j.a;
            S.F.a(h1.e.c(Ge.e.c, t, 0), (String) null, androidx.compose.foundation.layout.c.b(t.g(aVar, 0.5f), 1.0f, false, 2, (Object) null), (F0.c) null, (c1.h) null, 0.0f, (y0) null, t, 432, 120);
            W a5 = re.j.a();
            j.a aVar3 = w1.j.b;
            z0.b(title, (androidx.compose.ui.e) null, 0L, 0L, (w) null, (q1.B) null, (q1.l) null, 0L, (k) null, w1.j.h(aVar3.a()), 0L, 0, false, 0, 0, (Function1) null, a5, t, i3 & 14, 0, 65022);
            z0.b(subtitle, q.m(aVar, 0.0f, h.j(8), 0.0f, h.j(24), 5, (Object) null), 0L, 0L, (w) null, (q1.B) null, (q1.l) null, 0L, (k) null, w1.j.h(aVar3.a()), 0L, 0, false, 0, 0, (Function1) null, re.j.g(), t, ((i3 >> 3) & 14) | 48, 0, 65020);
            int i4 = i3 >> 15;
            lVar2 = t;
            S1(list, lVar2, ((i3 >> 12) & 14) | (i4 & 112));
            Q1(pair, lVar2, i4 & 126);
            O1(tileTitle, tileDetails, androidx.compose.foundation.b.d(q.i(aVar, h.j(16)), Nd.z0.f(), (c2) null, 2, (Object) null), lVar2, ((i3 >> 6) & 126) | ((i3 >> 9) & 7168), 0);
            lVar2.S();
            if (o.H()) {
                o.P();
            }
        }
        X0 B = lVar2.B();
        if (B != null) {
            B.a(new Function2() {
                @Override
                public final Object invoke(Object obj, Object obj2) {
                    Unit N1;
                    N1 = ReferralsProgramActivity.N1(ReferralsProgramActivity.this, title, subtitle, tileTitle, tileDetails, list, pair, i, (s0.l) obj, ((Integer) obj2).intValue());
                    return N1;
                }
            });
        }
    }

    public final void O1(final java.lang.String r31, final java.lang.String r32, androidx.compose.ui.e r33, s0.l r34, final int r35, final int r36) {
        throw new UnsupportedOperationException("Method not decompiled: finance.empower.android.app.referrals.ReferralsProgramActivity.O1(java.lang.String, java.lang.String, androidx.compose.ui.e, s0.l, int, int):void");
    }

    public final void Q1(final Pair pair, s0.l lVar, final int i) {
        int i2;
        s0.l t = lVar.t(1709907107);
        if ((i & 6) == 0) {
            i2 = (t.U(pair) ? 4 : 2) | i;
        } else {
            i2 = i;
        }
        if ((i2 & 3) == 2 && t.w()) {
            t.F();
        } else {
            if (o.H()) {
                o.Q(1709907107, i2, -1, "finance.empower.android.app.referrals.ReferralsProgramActivity.SummaryTable (ReferralsProgramActivity.kt:259)");
            }
            float f = 16;
            p0.k.a(q.i(androidx.compose.ui.e.a, h.j(f)), c0.i.c(h.j(f)), new p0.h(Nd.z0.g(), Nd.z0.b(), Nd.z0.g(), Nd.z0.b(), (DefaultConstructorMarker) null), (p0.j) null, (S.g) null, A0.c.e(1541920241, true, new b(pair), t, 54), t, 196614, 24);
            if (o.H()) {
                o.P();
            }
        }
        X0 B = t.B();
        if (B != null) {
            B.a(new Function2() {
                @Override
                public final Object invoke(Object obj, Object obj2) {
                    Unit R1;
                    R1 = ReferralsProgramActivity.R1(ReferralsProgramActivity.this, pair, i, (s0.l) obj, ((Integer) obj2).intValue());
                    return R1;
                }
            });
        }
    }

    public final void S1(final List list, s0.l lVar, final int i) {
        int i2;
        s0.l t = lVar.t(-907157181);
        if ((i & 6) == 0) {
            i2 = (t.l(list) ? 4 : 2) | i;
        } else {
            i2 = i;
        }
        if ((i2 & 3) == 2 && t.w()) {
            t.F();
        } else {
            if (o.H()) {
                o.Q(-907157181, i2, -1, "finance.empower.android.app.referrals.ReferralsProgramActivity.TwoColumnTable (ReferralsProgramActivity.kt:216)");
            }
            float f = 16;
            p0.k.a(q.i(androidx.compose.ui.e.a, h.j(f)), c0.i.c(h.j(f)), new p0.h(Nd.z0.g(), Nd.z0.b(), Nd.z0.g(), Nd.z0.b(), (DefaultConstructorMarker) null), (p0.j) null, (S.g) null, A0.c.e(866221841, true, new c(list), t, 54), t, 196614, 24);
            if (o.H()) {
                o.P();
            }
        }
        X0 B = t.B();
        if (B != null) {
            B.a(new Function2() {
                @Override
                public final Object invoke(Object obj, Object obj2) {
                    Unit T1;
                    T1 = ReferralsProgramActivity.T1(ReferralsProgramActivity.this, list, i, (s0.l) obj, ((Integer) obj2).intValue());
                    return T1;
                }
            });
        }
    }

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

    @Override
    public void E(g.b.a viewState) {
        Intrinsics.checkNotNullParameter(viewState, "viewState");
        B V1 = V1();
        ConstraintLayout progressSpinnerModal = V1.e.c;
        Intrinsics.checkNotNullExpressionValue(progressSpinnerModal, "progressSpinnerModal");
        Vd.n.c(progressSpinnerModal);
        if (viewState instanceof g.b.a.C0483b) {
            return;
        }
        if (!(viewState instanceof g.b.a.c)) {
            if (!(viewState instanceof g.b.a.C0482a)) {
                throw new NoWhenBranchMatchedException();
            }
            Y1((g.b.a.C0482a) viewState);
            return;
        }
        ConstraintLayout progressSpinnerModal2 = V1.e.c;
        Intrinsics.checkNotNullExpressionValue(progressSpinnerModal2, "progressSpinnerModal");
        Vd.n.r(progressSpinnerModal2);
        g.b.a.C0482a b2 = ((g.b.a.c) viewState).b();
        if (b2 != null) {
            Y1(b2);
        }
    }

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

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(V1().getRoot());
        AbstractC1046m.G1(this, null, null, Jd.t.i, null, false, null, 59, null);
    }

    @Override
    protected void onStart() {
        super.onStart();
        W1().F();
    }

    protected void onStop() {
        W1().f();
        super.onStop();
    }
}