导航菜单

页面标题

页面副标题

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

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

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


package com.stripe.android.payments.paymentlauncher;

import Gf.p;
import Gf.s;
import Rf.N;
import Uf.A;
import Uf.Q;
import Y8.j;
import android.app.Application;
import androidx.lifecycle.DefaultLifecycleObserver;
import androidx.lifecycle.T;
import androidx.lifecycle.W;
import androidx.lifecycle.c0;
import androidx.lifecycle.d0;
import androidx.lifecycle.f0;
import androidx.lifecycle.x;
import b9.m;
import c9.AbstractC0932e;
import c9.C0928a;
import c9.C0930c;
import com.stripe.android.core.exception.LocalStripeException;
import com.stripe.android.core.exception.StripeException;
import com.stripe.android.model.StripeIntent;
import com.stripe.android.model.q;
import com.stripe.android.networking.PaymentAnalyticsEvent;
import com.stripe.android.networking.PaymentAnalyticsRequestFactory;
import com.stripe.android.payments.paymentlauncher.a;
import com.stripe.android.payments.paymentlauncher.b;
import com.stripe.android.view.o;
import i9.InterfaceC1721h;
import java.util.List;
import java.util.Map;
import k8.M;
import kotlin.NoWhenBranchMatchedException;
import kotlin.Pair;
import kotlin.Unit;
import kotlin.collections.CollectionsKt;
import kotlin.collections.P;
import kotlin.coroutines.CoroutineContext;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function2;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlin.text.StringsKt;
import l9.r;
import n9.AbstractC2779b;
import sf.t;
import x8.C3044f;
import x8.InterfaceC3041c;
import z8.AbstractC3155b;

public final class d extends c0 {
    public static final a p = new a(null);
    public static final int q = 8;
    private static final List r = CollectionsKt.e("payment_method");
    private final boolean b;
    private final m c;
    private final j9.h d;
    private final C0928a e;
    private final rf.a f;
    private final Map g;
    private final Nb.a h;
    private final Nb.a i;
    private final InterfaceC3041c j;
    private final PaymentAnalyticsRequestFactory k;
    private final CoroutineContext l;
    private final T m;
    private final boolean n;
    private final A o;

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

        private a() {
        }
    }

    public static final class b implements f0.c {
        private final Function0 b;

        static final class a extends s implements Function0 {
            final b.a d;

            a(b.a aVar) {
                super(0);
                this.d = aVar;
            }

            public final String invoke() {
                return this.d.d();
            }
        }

        static final class C0389b extends s implements Function0 {
            final b.a d;

            C0389b(b.a aVar) {
                super(0);
                this.d = aVar;
            }

            public final String invoke() {
                return this.d.f();
            }
        }

        public b(Function0 function0) {
            Intrinsics.checkNotNullParameter(function0, "argsSupplier");
            this.b = function0;
        }

        public c0 b(Class cls, n2.a aVar) {
            Intrinsics.checkNotNullParameter(cls, "modelClass");
            Intrinsics.checkNotNullParameter(aVar, "extras");
            b.a aVar2 = (b.a) this.b.invoke();
            Application a2 = AbstractC3155b.a(aVar);
            T a3 = W.a(aVar);
            r.a a10 = l9.h.a().b(a2).e(aVar2.a()).d(new a(aVar2)).f(new C0389b(aVar2)).c(aVar2.c()).g(aVar2.b()).a().a();
            boolean z = false;
            if (!(aVar2 instanceof b.a.C0385b)) {
                if (!(aVar2 instanceof b.a.c)) {
                    if (!(aVar2 instanceof b.a.d)) {
                        throw new NoWhenBranchMatchedException();
                    }
                    d a11 = a10.c(z).b(a3).a().a();
                    Intrinsics.g(a11, "null cannot be cast to non-null type T of com.stripe.android.payments.paymentlauncher.PaymentLauncherViewModel.Factory.create");
                    return a11;
                }
                z = true;
                d a112 = a10.c(z).b(a3).a().a();
                Intrinsics.g(a112, "null cannot be cast to non-null type T of com.stripe.android.payments.paymentlauncher.PaymentLauncherViewModel.Factory.create");
                return a112;
            }
            Y8.i j = ((b.a.C0385b) aVar2).j();
            if (!(j instanceof com.stripe.android.model.b)) {
                if (!(j instanceof com.stripe.android.model.c)) {
                    throw new NoWhenBranchMatchedException();
                }
                d a1122 = a10.c(z).b(a3).a().a();
                Intrinsics.g(a1122, "null cannot be cast to non-null type T of com.stripe.android.payments.paymentlauncher.PaymentLauncherViewModel.Factory.create");
                return a1122;
            }
            z = true;
            d a11222 = a10.c(z).b(a3).a().a();
            Intrinsics.g(a11222, "null cannot be cast to non-null type T of com.stripe.android.payments.paymentlauncher.PaymentLauncherViewModel.Factory.create");
            return a11222;
        }
    }

    static final class c extends kotlin.coroutines.jvm.internal.d {
        Object d;
        int i;

        c(vf.b bVar) {
            super(bVar);
        }

        public final Object invokeSuspend(Object obj) {
            this.d = obj;
            this.i |= Integer.MIN_VALUE;
            Object w = d.this.w(null, null, this);
            return w == wf.b.f() ? w : sf.s.a(w);
        }
    }

    static final class C0390d extends kotlin.coroutines.jvm.internal.m implements Function2 {
        final o F;
        Object d;
        Object e;
        int i;
        final Y8.i w;

        static final class a extends kotlin.coroutines.jvm.internal.m implements Function2 {
            int d;
            final d e;
            final StripeIntent i;

            a(d dVar, StripeIntent stripeIntent, vf.b bVar) {
                super(2, bVar);
                this.e = dVar;
                this.i = stripeIntent;
            }

            public final vf.b create(Object obj, vf.b bVar) {
                return new a(this.e, this.i, bVar);
            }

            public final Object invoke(N n, vf.b bVar) {
                return create(n, bVar).invokeSuspend(Unit.a);
            }

            public final Object invokeSuspend(Object obj) {
                wf.b.f();
                if (this.d != 0) {
                    throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                }
                t.b(obj);
                d.H(this.e, new a.c(this.i), this.i, null, 4, null);
                return Unit.a;
            }
        }

        static final class b extends kotlin.coroutines.jvm.internal.m implements Function2 {
            int d;
            final d e;
            final Throwable i;
            final Map v;

            b(d dVar, Throwable th, Map map, vf.b bVar) {
                super(2, bVar);
                this.e = dVar;
                this.i = th;
                this.v = map;
            }

            public final vf.b create(Object obj, vf.b bVar) {
                return new b(this.e, this.i, this.v, bVar);
            }

            public final Object invoke(N n, vf.b bVar) {
                return create(n, bVar).invokeSuspend(Unit.a);
            }

            public final Object invokeSuspend(Object obj) {
                wf.b.f();
                if (this.d != 0) {
                    throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                }
                t.b(obj);
                d.H(this.e, new a.d(this.i), null, this.v, 2, null);
                return Unit.a;
            }
        }

        C0390d(Y8.i iVar, o oVar, vf.b bVar) {
            super(2, bVar);
            this.w = iVar;
            this.F = oVar;
        }

        public final vf.b create(Object obj, vf.b bVar) {
            return d.this.new C0390d(this.w, this.F, bVar);
        }

        public final Object invoke(N n, vf.b bVar) {
            return create(n, bVar).invokeSuspend(Unit.a);
        }

        public final Object invokeSuspend(Object obj) {
            String t0;
            Map map;
            Object obj2;
            String g;
            Object f = wf.b.f();
            int i = this.i;
            if (i == 0) {
                t.b(obj);
                d.this.m.i("key_has_started", kotlin.coroutines.jvm.internal.b.a(true));
                d.this.m.i("confirm_action_requested", kotlin.coroutines.jvm.internal.b.a(true));
                Map C = d.this.C(this.w);
                d.this.E(this.w.t0());
                if (d.this.n) {
                    t0 = this.w.t0();
                } else {
                    t0 = this.w.t0();
                    if (t0 == null || StringsKt.f0(t0)) {
                        t0 = null;
                    }
                    if (t0 == null) {
                        t0 = d.this.e.a();
                    }
                }
                d dVar = d.this;
                Y8.i iVar = this.w;
                this.d = C;
                this.e = t0;
                this.i = 1;
                Object w = dVar.w(iVar, t0, this);
                if (w == f) {
                    return f;
                }
                map = C;
                obj2 = w;
            } else {
                if (i != 1) {
                    if (i != 2 && i != 3 && i != 4) {
                        throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                    }
                    t.b(obj);
                    return Unit.a;
                }
                t0 = (String) this.e;
                map = (Map) this.d;
                t.b(obj);
                obj2 = ((sf.s) obj).j();
            }
            d dVar2 = d.this;
            o oVar = this.F;
            Throwable e = sf.s.e(obj2);
            if (e == null) {
                StripeIntent stripeIntent = (StripeIntent) obj2;
                StripeIntent.a J = stripeIntent.J();
                if (J != null && (J instanceof StripeIntent.a.j.C0326a) && (g = stripeIntent.g()) != null) {
                    Map map2 = dVar2.g;
                    if (t0 == null) {
                        t0 = "";
                    }
                    map2.put(g, t0);
                }
                if (stripeIntent.q0()) {
                    j9.f a2 = dVar2.d.a(stripeIntent);
                    Object obj3 = dVar2.f.get();
                    Intrinsics.checkNotNullExpressionValue(obj3, "get(...)");
                    this.d = null;
                    this.e = null;
                    this.i = 3;
                    if (a2.d(oVar, stripeIntent, (C3044f.c) obj3, this) == f) {
                        return f;
                    }
                } else {
                    CoroutineContext coroutineContext = dVar2.l;
                    a aVar = new a(dVar2, stripeIntent, null);
                    this.d = null;
                    this.e = null;
                    this.i = 2;
                    if (Rf.i.g(coroutineContext, aVar, this) == f) {
                        return f;
                    }
                }
            } else {
                CoroutineContext coroutineContext2 = dVar2.l;
                b bVar = new b(dVar2, e, map, null);
                this.d = null;
                this.e = null;
                this.i = 4;
                if (Rf.i.g(coroutineContext2, bVar, this) == f) {
                    return f;
                }
            }
            return Unit.a;
        }
    }

    static final class e extends kotlin.coroutines.jvm.internal.m implements Function2 {
        Object d;
        int e;
        final String v;
        final o w;

        static final class a extends kotlin.coroutines.jvm.internal.m implements Function2 {
            int d;
            final d e;
            final Throwable i;
            final Map v;

            a(d dVar, Throwable th, Map map, vf.b bVar) {
                super(2, bVar);
                this.e = dVar;
                this.i = th;
                this.v = map;
            }

            public final vf.b create(Object obj, vf.b bVar) {
                return new a(this.e, this.i, this.v, bVar);
            }

            public final Object invoke(N n, vf.b bVar) {
                return create(n, bVar).invokeSuspend(Unit.a);
            }

            public final Object invokeSuspend(Object obj) {
                wf.b.f();
                if (this.d != 0) {
                    throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                }
                t.b(obj);
                d.H(this.e, new a.d(this.i), null, this.v, 2, null);
                return Unit.a;
            }
        }

        e(String str, o oVar, vf.b bVar) {
            super(2, bVar);
            this.v = str;
            this.w = oVar;
        }

        public final vf.b create(Object obj, vf.b bVar) {
            return d.this.new e(this.v, this.w, bVar);
        }

        public final Object invoke(N n, vf.b bVar) {
            return create(n, bVar).invokeSuspend(Unit.a);
        }

        public final Object invokeSuspend(Object obj) {
            Map D;
            Object d;
            Object f = wf.b.f();
            int i = this.e;
            if (i == 0) {
                t.b(obj);
                d.this.m.i("key_has_started", kotlin.coroutines.jvm.internal.b.a(true));
                d.this.m.i("confirm_action_requested", kotlin.coroutines.jvm.internal.b.a(false));
                D = d.this.D(this.v);
                m mVar = d.this.c;
                String str = this.v;
                Object obj2 = d.this.f.get();
                Intrinsics.checkNotNullExpressionValue(obj2, "get(...)");
                this.d = D;
                this.e = 1;
                d = m.a.d(mVar, str, (C3044f.c) obj2, null, this, 4, null);
                if (d == f) {
                    return f;
                }
            } else {
                if (i != 1) {
                    if (i != 2 && i != 3) {
                        throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                    }
                    t.b(obj);
                    return Unit.a;
                }
                D = (Map) this.d;
                t.b(obj);
                d = ((sf.s) obj).j();
            }
            d dVar = d.this;
            o oVar = this.w;
            Throwable e = sf.s.e(d);
            if (e == null) {
                StripeIntent stripeIntent = (StripeIntent) d;
                j9.f a2 = dVar.d.a(stripeIntent);
                Object obj3 = dVar.f.get();
                Intrinsics.checkNotNullExpressionValue(obj3, "get(...)");
                this.d = null;
                this.e = 2;
                if (a2.d(oVar, stripeIntent, (C3044f.c) obj3, this) == f) {
                    return f;
                }
            } else {
                CoroutineContext coroutineContext = dVar.l;
                a aVar = new a(dVar, e, D, null);
                this.d = null;
                this.e = 3;
                if (Rf.i.g(coroutineContext, aVar, this) == f) {
                    return f;
                }
            }
            return Unit.a;
        }
    }

    static final class f extends kotlin.coroutines.jvm.internal.m implements Function2 {
        int d;
        final C0930c i;

        static final class a extends kotlin.coroutines.jvm.internal.m implements Function2 {
            int d;
            final d e;
            final M i;

            a(d dVar, M m, vf.b bVar) {
                super(2, bVar);
                this.e = dVar;
                this.i = m;
            }

            public final vf.b create(Object obj, vf.b bVar) {
                return new a(this.e, this.i, bVar);
            }

            public final Object invoke(N n, vf.b bVar) {
                return create(n, bVar).invokeSuspend(Unit.a);
            }

            public final Object invokeSuspend(Object obj) {
                wf.b.f();
                if (this.d != 0) {
                    throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                }
                t.b(obj);
                this.e.I(this.i);
                return Unit.a;
            }
        }

        static final class b extends kotlin.coroutines.jvm.internal.m implements Function2 {
            int d;
            final d e;
            final Throwable i;

            b(d dVar, Throwable th, vf.b bVar) {
                super(2, bVar);
                this.e = dVar;
                this.i = th;
            }

            public final vf.b create(Object obj, vf.b bVar) {
                return new b(this.e, this.i, bVar);
            }

            public final Object invoke(N n, vf.b bVar) {
                return create(n, bVar).invokeSuspend(Unit.a);
            }

            public final Object invokeSuspend(Object obj) {
                wf.b.f();
                if (this.d != 0) {
                    throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                }
                t.b(obj);
                d.H(this.e, new a.d(this.i), null, null, 6, null);
                return Unit.a;
            }
        }

        f(C0930c c0930c, vf.b bVar) {
            super(2, bVar);
            this.i = c0930c;
        }

        public final vf.b create(Object obj, vf.b bVar) {
            return d.this.new f(this.i, bVar);
        }

        public final Object invoke(N n, vf.b bVar) {
            return create(n, bVar).invokeSuspend(Unit.a);
        }

        public final Object invokeSuspend(Object obj) {
            Object m;
            Object f = wf.b.f();
            int i = this.d;
            if (i == 0) {
                t.b(obj);
                AbstractC0932e abstractC0932e = d.this.b ? (AbstractC0932e) d.this.h.get() : (AbstractC0932e) d.this.i.get();
                C0930c c0930c = this.i;
                this.d = 1;
                m = abstractC0932e.m(c0930c, this);
                if (m == f) {
                    return f;
                }
            } else {
                if (i != 1) {
                    if (i != 2 && i != 3) {
                        throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
                    }
                    t.b(obj);
                    return Unit.a;
                }
                t.b(obj);
                m = ((sf.s) obj).j();
            }
            d dVar = d.this;
            Throwable e = sf.s.e(m);
            if (e == null) {
                CoroutineContext coroutineContext = dVar.l;
                a aVar = new a(dVar, (M) m, null);
                this.d = 2;
                if (Rf.i.g(coroutineContext, aVar, this) == f) {
                    return f;
                }
            } else {
                CoroutineContext coroutineContext2 = dVar.l;
                b bVar = new b(dVar, e, null);
                this.d = 3;
                if (Rf.i.g(coroutineContext2, bVar, this) == f) {
                    return f;
                }
            }
            return Unit.a;
        }
    }

    class g implements g.b, Gf.m {
        g() {
        }

        public final sf.i b() {
            return new p(1, d.this, d.class, "onPaymentFlowResult", "onPaymentFlowResult$payments_core_release(Lcom/stripe/android/payments/PaymentFlowResult$Unvalidated;)V", 0);
        }

        public final void a(C0930c c0930c) {
            Intrinsics.checkNotNullParameter(c0930c, "p0");
            d.this.F(c0930c);
        }

        public final boolean equals(Object obj) {
            if ((obj instanceof g.b) && (obj instanceof Gf.m)) {
                return Intrinsics.d(b(), ((Gf.m) obj).b());
            }
            return false;
        }

        public final int hashCode() {
            return b().hashCode();
        }
    }

    public static final class h implements DefaultLifecycleObserver {
        h() {
        }

        public void onDestroy(x xVar) {
            Intrinsics.checkNotNullParameter(xVar, "owner");
            d.this.d.c();
            super.onDestroy(xVar);
        }
    }

    public d(boolean z, m mVar, j9.h hVar, C0928a c0928a, rf.a aVar, Map map, Nb.a aVar2, Nb.a aVar3, InterfaceC3041c interfaceC3041c, PaymentAnalyticsRequestFactory paymentAnalyticsRequestFactory, CoroutineContext coroutineContext, T t, boolean z2) {
        Intrinsics.checkNotNullParameter(mVar, "stripeApiRepository");
        Intrinsics.checkNotNullParameter(hVar, "authenticatorRegistry");
        Intrinsics.checkNotNullParameter(c0928a, "defaultReturnUrl");
        Intrinsics.checkNotNullParameter(aVar, "apiRequestOptionsProvider");
        Intrinsics.checkNotNullParameter(map, "threeDs1IntentReturnUrlMap");
        Intrinsics.checkNotNullParameter(aVar2, "lazyPaymentIntentFlowResultProcessor");
        Intrinsics.checkNotNullParameter(aVar3, "lazySetupIntentFlowResultProcessor");
        Intrinsics.checkNotNullParameter(interfaceC3041c, "analyticsRequestExecutor");
        Intrinsics.checkNotNullParameter(paymentAnalyticsRequestFactory, "paymentAnalyticsRequestFactory");
        Intrinsics.checkNotNullParameter(coroutineContext, "uiContext");
        Intrinsics.checkNotNullParameter(t, "savedStateHandle");
        this.b = z;
        this.c = mVar;
        this.d = hVar;
        this.e = c0928a;
        this.f = aVar;
        this.g = map;
        this.h = aVar2;
        this.i = aVar3;
        this.j = interfaceC3041c;
        this.k = paymentAnalyticsRequestFactory;
        this.l = coroutineContext;
        this.m = t;
        this.n = z2;
        this.o = Q.a(null);
    }

    public final Map C(Y8.i iVar) {
        String b2;
        com.stripe.android.model.r a2 = j.a(iVar);
        Pair a3 = sf.x.a("payment_method_type", a2 != null ? a2.i() : null);
        b2 = AbstractC2779b.b(iVar.m());
        Map a10 = sa.b.a(P.l(new Pair[]{a3, sf.x.a("intent_id", b2)}));
        this.j.a(this.k.g(PaymentAnalyticsEvent.a0, a10));
        return a10;
    }

    public final Map D(String str) {
        String b2;
        b2 = AbstractC2779b.b(str);
        Map g2 = P.g(sf.x.a("intent_id", b2));
        this.j.a(this.k.g(PaymentAnalyticsEvent.c0, g2));
        return g2;
    }

    public final void E(String str) {
        this.j.a(PaymentAnalyticsRequestFactory.v(this.k, Intrinsics.d(str, this.e.a()) ? PaymentAnalyticsEvent.n0 : str == null ? PaymentAnalyticsEvent.m0 : PaymentAnalyticsEvent.o0, null, null, null, null, null, 62, null));
    }

    private final void G(com.stripe.android.payments.paymentlauncher.a aVar, StripeIntent stripeIntent, Map map) {
        q h0;
        q.n nVar;
        StripeIntent.Status o;
        String m;
        A a2 = this.o;
        PaymentAnalyticsEvent paymentAnalyticsEvent = y() ? PaymentAnalyticsEvent.b0 : PaymentAnalyticsEvent.d0;
        String str = null;
        Pair a3 = sf.x.a("intent_id", (stripeIntent == null || (m = stripeIntent.m()) == null) ? null : AbstractC2779b.b(m));
        Pair a10 = sf.x.a("status", (stripeIntent == null || (o = stripeIntent.o()) == null) ? null : o.getCode());
        if (stripeIntent != null && (h0 = stripeIntent.h0()) != null && (nVar = h0.w) != null) {
            str = nVar.d;
        }
        this.j.a(this.k.g(paymentAnalyticsEvent, P.q(P.q(map, sa.b.a(P.l(new Pair[]{a3, a10, sf.x.a("payment_method_type", str)}))), aVar instanceof a.d ? InterfaceC1721h.a.d(StripeException.INSTANCE.b(((a.d) aVar).b())) : P.i())));
        a2.setValue(aVar);
    }

    static void H(d dVar, com.stripe.android.payments.paymentlauncher.a aVar, StripeIntent stripeIntent, Map map, int i, Object obj) {
        if ((i & 2) != 0) {
            stripeIntent = null;
        }
        if ((i & 4) != 0) {
            map = P.i();
        }
        dVar.G(aVar, stripeIntent, map);
    }

    public final void I(M m) {
        com.stripe.android.payments.paymentlauncher.a cVar;
        int d = m.d();
        if (d == 1) {
            cVar = new a.c(m.c());
        } else if (d == 2) {
            cVar = new a.d(new LocalStripeException(m.b(), "failedIntentOutcomeError"));
        } else if (d == 3) {
            cVar = a.C0380a.e;
        } else if (d != 4) {
            cVar = new a.d(new LocalStripeException("Payment fails due to unknown error. \n" + m.b(), "unknownIntentOutcomeError"));
        } else {
            cVar = new a.d(new LocalStripeException("Payment fails due to time out. \n" + m.b(), "timedOutIntentOutcomeError"));
        }
        H(this, cVar, m.c(), null, 4, null);
    }

    public final java.lang.Object w(Y8.i r6, java.lang.String r7, vf.b r8) {
        throw new UnsupportedOperationException("Method not decompiled: com.stripe.android.payments.paymentlauncher.d.w(Y8.i, java.lang.String, vf.b):java.lang.Object");
    }

    private final boolean y() {
        Boolean bool = (Boolean) this.m.d("confirm_action_requested");
        if (bool != null) {
            return bool.booleanValue();
        }
        return true;
    }

    private final boolean z() {
        Boolean bool = (Boolean) this.m.d("key_has_started");
        if (bool != null) {
            return bool.booleanValue();
        }
        return false;
    }

    public final A A() {
        return this.o;
    }

    public final void B(String str, o oVar) {
        Intrinsics.checkNotNullParameter(str, "clientSecret");
        Intrinsics.checkNotNullParameter(oVar, "host");
        if (z()) {
            return;
        }
        Rf.i.d(d0.a(this), (CoroutineContext) null, (Rf.P) null, new e(str, oVar, null), 3, (Object) null);
    }

    public final void F(C0930c c0930c) {
        Intrinsics.checkNotNullParameter(c0930c, "paymentFlowResult");
        Rf.i.d(d0.a(this), (CoroutineContext) null, (Rf.P) null, new f(c0930c, null), 3, (Object) null);
    }

    public final void J(g.c cVar, x xVar) {
        Intrinsics.checkNotNullParameter(cVar, "activityResultCaller");
        Intrinsics.checkNotNullParameter(xVar, "lifecycleOwner");
        this.d.b(cVar, new g());
        xVar.getLifecycle().a(new h());
    }

    public final void x(Y8.i iVar, o oVar) {
        Intrinsics.checkNotNullParameter(iVar, "confirmStripeIntentParams");
        Intrinsics.checkNotNullParameter(oVar, "host");
        if (z()) {
            return;
        }
        Rf.i.d(d0.a(this), (CoroutineContext) null, (Rf.P) null, new C0390d(iVar, oVar, null), 3, (Object) null);
    }
}