导航菜单

页面标题

页面副标题

BodyTech v7.6.4 - DefaultPaymentSheetLoader.java 源代码

正在查看: BodyTech v7.6.4 应用的 DefaultPaymentSheetLoader.java JAVA 源代码文件

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


package com.stripe.android.paymentsheet.state;

import androidx.compose.runtime.internal.StabilityInferred;
import com.stripe.android.core.exception.StripeException;
import com.stripe.android.googlepaylauncher.GooglePayEnvironment;
import com.stripe.android.link.account.LinkStore;
import com.stripe.android.link.model.AccountStatus;
import com.stripe.android.model.ElementsSession;
import com.stripe.android.model.StripeIntent;
import com.stripe.android.payments.core.analytics.ErrorReporter;
import com.stripe.android.paymentsheet.PaymentSheet;
import com.stripe.android.paymentsheet.analytics.EventReporter;
import com.stripe.android.paymentsheet.c0;
import com.stripe.android.ui.core.elements.ExternalPaymentMethodSpec;
import com.stripe.android.ui.core.elements.w;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import kotlin.Metadata;
import kotlin.collections.p;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.CoroutineContext;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.r;
import kotlinx.coroutines.CoroutineScopeKt;
import kotlinx.coroutines.flow.FlowKt;
import kotlinx.coroutines.scheduling.WorkQueueKt;
import yh.PaymentMethodMetadata;

@StabilityInferred(parameters = 0)
@Metadata(d1 = {"\u0000\u0086\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010$\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0006\n\u0002\u0010\u0003\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0007\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0006\b\u0001\u0018\u00002\u00020\u0001B\u0085\u0001\b\u0007\u0012\u0014\u0010M\u001a\u0010\u0012\u0006\u0012\u0004\u0018\u00010\u0013\u0012\u0004\u0012\u00020K0J\u0012\u0012\u0010Q\u001a\u000e\u0012\u0004\u0012\u00020N\u0012\u0004\u0012\u00020O0J\u0012\u0006\u0010U\u001a\u00020R\u0012\u0006\u0010Y\u001a\u00020V\u0012\u0006\u0010]\u001a\u00020Z\u0012\u0006\u0010a\u001a\u00020^\u0012\u0006\u0010e\u001a\u00020b\u0012\u0006\u0010i\u001a\u00020f\u0012\b\b\u0001\u0010m\u001a\u00020j\u0012\u0006\u0010q\u001a\u00020n\u0012\u0006\u0010u\u001a\u00020r\u0012\u0006\u0010y\u001a\u00020v¢\u0006\u0004\bz\u0010{J \u0010\u0007\u001a\u00020\u00062\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010\u0005\u001a\u00020\u0004H\u0082@¢\u0006\u0004\b\u0007\u0010\bJ\u0014\u0010\t\u001a\u00020\u0006*\u00020\u0002H\u0082@¢\u0006\u0004\b\t\u0010\nJ\u0010\u0010\u000b\u001a\u00020\u0006H\u0082@¢\u0006\u0004\b\u000b\u0010\fJ(\u0010\u0011\u001a\u00020\u00102\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010\r\u001a\u00020\u00022\u0006\u0010\u000f\u001a\u00020\u000eH\u0082@¢\u0006\u0004\b\u0011\u0010\u0012J&\u0010\u0017\u001a\b\u0012\u0004\u0012\u00020\u00160\u00152\u0006\u0010\u000f\u001a\u00020\u000e2\u0006\u0010\u0014\u001a\u00020\u0013H\u0082@¢\u0006\u0004\b\u0017\u0010\u0018J<\u0010\u001f\u001a\b\u0012\u0004\u0012\u00020\u00040\u001e2\u0006\u0010\u001a\u001a\u00020\u00192\b\u0010\u001b\u001a\u0004\u0018\u00010\u00132\f\u0010\u001d\u001a\b\u0012\u0004\u0012\u00020\u001c0\u0015H\u0082@ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\b\u001f\u0010 JX\u0010(\u001a\u00020'2\u0006\u0010\r\u001a\u00020\u00022\b\u0010\u001b\u001a\u0004\u0018\u00010!2\u0006\u0010\u000f\u001a\u00020\u000e2\b\u0010\"\u001a\u0004\u0018\u00010\u001c2\u0006\u0010#\u001a\u00020\u00062\u0006\u0010$\u001a\u00020\u00062\u0012\u0010&\u001a\u000e\u0012\u0004\u0012\u00020\u001c\u0012\u0004\u0012\u00020\u00060%H\u0082@¢\u0006\u0004\b(\u0010)JX\u0010+\u001a\u00020*2\u0006\u0010\r\u001a\u00020\u00022\b\u0010\u001b\u001a\u0004\u0018\u00010!2\u0006\u0010\u000f\u001a\u00020\u000e2\b\u0010\"\u001a\u0004\u0018\u00010\u001c2\u0006\u0010#\u001a\u00020\u00062\u0006\u0010$\u001a\u00020\u00062\u0012\u0010&\u001a\u000e\u0012\u0004\u0012\u00020\u001c\u0012\u0004\u0012\u00020\u00060%H\u0082@¢\u0006\u0004\b+\u0010)J0\u00100\u001a\u0004\u0018\u00010/2\f\u0010.\u001a\b\u0012\u0004\u0012\u00020-0,2\u000e\u0010\u001b\u001a\n\u0012\u0006\u0012\u0004\u0018\u00010!0,H\u0082@¢\u0006\u0004\b0\u00101J(\u00103\u001a\u00020-2\u0006\u0010\r\u001a\u00020\u00022\u0006\u00102\u001a\u00020\u00062\u0006\u0010\u0005\u001a\u00020\u0004H\u0082@¢\u0006\u0004\b3\u00104J\u0010\u00108\u001a\u0002072\u0006\u00106\u001a\u000205H\u0002J\u0010\u00109\u001a\u00020\u00062\u0006\u0010\u000f\u001a\u00020\u000eH\u0002J(\u0010=\u001a\u0002072\u0006\u0010\u0005\u001a\u00020\u00042\u0006\u0010:\u001a\u00020\u00102\u0006\u0010;\u001a\u00020\u00062\u0006\u0010<\u001a\u00020\u0006H\u0002J\u0010\u0010@\u001a\u0002072\u0006\u0010?\u001a\u00020>H\u0002J(\u0010D\u001a\u0002072\u000e\u0010A\u001a\n\u0012\u0004\u0012\u00020\u001c\u0018\u00010\u00152\u000e\u0010C\u001a\n\u0012\u0004\u0012\u00020B\u0018\u00010\u0015H\u0002J\u000e\u0010E\u001a\u0004\u0018\u00010!*\u00020\u0004H\u0002J\u001c\u0010F\u001a\u00020!*\u00020\u00132\u0006\u0010\u000f\u001a\u00020\u000eH\u0082@¢\u0006\u0004\bF\u0010GJ4\u0010H\u001a\b\u0012\u0004\u0012\u00020\u00100\u001e2\u0006\u0010\u001a\u001a\u00020\u00192\u0006\u0010\u0003\u001a\u00020\u00022\u0006\u0010;\u001a\u00020\u0006H\u0096@ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\bH\u0010IR\"\u0010M\u001a\u0010\u0012\u0006\u0012\u0004\u0018\u00010\u0013\u0012\u0004\u0012\u00020K0J8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\bH\u0010LR \u0010Q\u001a\u000e\u0012\u0004\u0012\u00020N\u0012\u0004\u0012\u00020O0J8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\bP\u0010LR\u0014\u0010U\u001a\u00020R8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\bS\u0010TR\u0014\u0010Y\u001a\u00020V8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\bW\u0010XR\u0014\u0010]\u001a\u00020Z8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b[\u0010\\R\u0014\u0010a\u001a\u00020^8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b_\u0010`R\u0014\u0010e\u001a\u00020b8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\bc\u0010dR\u0014\u0010i\u001a\u00020f8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\bg\u0010hR\u0014\u0010m\u001a\u00020j8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\bk\u0010lR\u0014\u0010q\u001a\u00020n8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\bo\u0010pR\u0014\u0010u\u001a\u00020r8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\bs\u0010tR\u0014\u0010y\u001a\u00020v8\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\bw\u0010x\u0082\u0002\u000b\n\u0002\b!\n\u0005\b¡\u001e0\u0001¨\u0006|"}, d2 = {"Lcom/stripe/android/paymentsheet/state/DefaultPaymentSheetLoader;", "Lcom/stripe/android/paymentsheet/state/g;", "Lcom/stripe/android/paymentsheet/PaymentSheet$Configuration;", "paymentSheetConfiguration", "Lcom/stripe/android/model/j;", "elementsSession", "", "x", "(Lcom/stripe/android/paymentsheet/PaymentSheet$Configuration;Lcom/stripe/android/model/j;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "y", "(Lcom/stripe/android/paymentsheet/PaymentSheet$Configuration;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "z", "(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "config", "Lyh/c;", "metadata", "Lcom/stripe/android/paymentsheet/state/j;", "v", "(Lcom/stripe/android/model/j;Lcom/stripe/android/paymentsheet/PaymentSheet$Configuration;Lyh/c;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "Lcom/stripe/android/paymentsheet/PaymentSheet$g;", "customerConfig", "", "Lcom/stripe/android/model/PaymentMethod;", "E", "(Lyh/c;Lcom/stripe/android/paymentsheet/PaymentSheet$g;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "Lcom/stripe/android/paymentsheet/PaymentSheet$i;", "initializationMode", "customer", "", "externalPaymentMethods", "Lkotlin/Result;", "F", "(Lcom/stripe/android/paymentsheet/PaymentSheet$i;Lcom/stripe/android/paymentsheet/PaymentSheet$g;Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "Lcom/stripe/android/paymentsheet/state/a;", "merchantCountry", "passthroughModeEnabled", "linkSignUpDisabled", "", "flags", "Lcom/stripe/android/paymentsheet/state/LinkState;", "A", "(Lcom/stripe/android/paymentsheet/PaymentSheet$Configuration;Lcom/stripe/android/paymentsheet/state/a;Lyh/c;Ljava/lang/String;ZZLjava/util/Map;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "Lcom/stripe/android/link/d;", "w", "Lkotlinx/coroutines/Deferred;", "Lcom/stripe/android/paymentsheet/model/b;", "savedSelection", "Lcom/stripe/android/paymentsheet/model/PaymentSelection;", "G", "(Lkotlinx/coroutines/Deferred;Lkotlinx/coroutines/Deferred;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "isGooglePayReady", "H", "(Lcom/stripe/android/paymentsheet/PaymentSheet$Configuration;ZLcom/stripe/android/model/j;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "Lcom/stripe/android/model/StripeIntent;", "stripeIntent", "", "L", "I", "state", "isReloadingAfterProcessDeath", "isGooglePaySupported", "D", "", "error", "C", "requestedExternalPaymentMethods", "Lcom/stripe/android/ui/core/elements/ExternalPaymentMethodSpec;", "actualExternalPaymentMethods", "B", "J", "K", "(Lcom/stripe/android/paymentsheet/PaymentSheet$g;Lyh/c;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "a", "(Lcom/stripe/android/paymentsheet/PaymentSheet$i;Lcom/stripe/android/paymentsheet/PaymentSheet$Configuration;ZLkotlin/coroutines/Continuation;)Ljava/lang/Object;", "Lkotlin/Function1;", "Lcom/stripe/android/paymentsheet/c0;", "Lkotlin/jvm/functions/Function1;", "prefsRepositoryFactory", "Lcom/stripe/android/googlepaylauncher/GooglePayEnvironment;", "Lcom/stripe/android/googlepaylauncher/l;", "b", "googlePayRepositoryFactory", "Lcom/stripe/android/paymentsheet/repositories/c;", "c", "Lcom/stripe/android/paymentsheet/repositories/c;", "elementsSessionRepository", "Lcom/stripe/android/paymentsheet/repositories/b;", "d", "Lcom/stripe/android/paymentsheet/repositories/b;", "customerRepository", "Lxh/c;", "e", "Lxh/c;", "lpmRepository", "Llh/d;", "f", "Llh/d;", "logger", "Lcom/stripe/android/paymentsheet/analytics/EventReporter;", "g", "Lcom/stripe/android/paymentsheet/analytics/EventReporter;", "eventReporter", "Lcom/stripe/android/payments/core/analytics/ErrorReporter;", "h", "Lcom/stripe/android/payments/core/analytics/ErrorReporter;", "errorReporter", "Lkotlin/coroutines/CoroutineContext;", "i", "Lkotlin/coroutines/CoroutineContext;", "workContext", "Lcom/stripe/android/paymentsheet/state/f;", "j", "Lcom/stripe/android/paymentsheet/state/f;", "accountStatusProvider", "Lcom/stripe/android/link/account/LinkStore;", "k", "Lcom/stripe/android/link/account/LinkStore;", "linkStore", "Lcom/stripe/android/ui/core/elements/w;", "l", "Lcom/stripe/android/ui/core/elements/w;", "externalPaymentMethodsRepository", "<init>", "(Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lcom/stripe/android/paymentsheet/repositories/c;Lcom/stripe/android/paymentsheet/repositories/b;Lxh/c;Llh/d;Lcom/stripe/android/paymentsheet/analytics/EventReporter;Lcom/stripe/android/payments/core/analytics/ErrorReporter;Lkotlin/coroutines/CoroutineContext;Lcom/stripe/android/paymentsheet/state/f;Lcom/stripe/android/link/account/LinkStore;Lcom/stripe/android/ui/core/elements/w;)V", "paymentsheet_release"}, k = 1, mv = {1, 9, 0})
public final class DefaultPaymentSheetLoader implements g {

    private final Function1<PaymentSheet.CustomerConfiguration, c0> prefsRepositoryFactory;

    private final Function1<GooglePayEnvironment, com.stripe.android.googlepaylauncher.l> googlePayRepositoryFactory;

    private final com.stripe.android.paymentsheet.repositories.c elementsSessionRepository;

    private final com.stripe.android.paymentsheet.repositories.b customerRepository;

    private final xh.c lpmRepository;

    private final lh.d logger;

    private final EventReporter eventReporter;

    private final ErrorReporter errorReporter;

    private final CoroutineContext workContext;

    private final f accountStatusProvider;

    private final LinkStore linkStore;

    private final w externalPaymentMethodsRepository;

    @Metadata(k = WorkQueueKt.STEAL_ANY, mv = {1, 9, 0}, xi = 48)
    public class a {
        public static final int[] a;
        public static final int[] b;

        static {
            int[] iArr = new int[PaymentSheet.GooglePayConfiguration.Environment.values().length];
            try {
                iArr[PaymentSheet.GooglePayConfiguration.Environment.c.ordinal()] = 1;
            } catch (NoSuchFieldError unused) {
            }
            try {
                iArr[PaymentSheet.GooglePayConfiguration.Environment.d.ordinal()] = 2;
            } catch (NoSuchFieldError unused2) {
            }
            a = iArr;
            int[] iArr2 = new int[AccountStatus.values().length];
            try {
                iArr2[AccountStatus.c.ordinal()] = 1;
            } catch (NoSuchFieldError unused3) {
            }
            try {
                iArr2[AccountStatus.d.ordinal()] = 2;
            } catch (NoSuchFieldError unused4) {
            }
            try {
                iArr2[AccountStatus.e.ordinal()] = 3;
            } catch (NoSuchFieldError unused5) {
            }
            try {
                iArr2[AccountStatus.k.ordinal()] = 4;
            } catch (NoSuchFieldError unused6) {
            }
            try {
                iArr2[AccountStatus.n.ordinal()] = 5;
            } catch (NoSuchFieldError unused7) {
            }
            b = iArr2;
        }
    }

    public DefaultPaymentSheetLoader(Function1<PaymentSheet.CustomerConfiguration, c0> prefsRepositoryFactory, Function1<GooglePayEnvironment, com.stripe.android.googlepaylauncher.l> googlePayRepositoryFactory, com.stripe.android.paymentsheet.repositories.c elementsSessionRepository, com.stripe.android.paymentsheet.repositories.b customerRepository, xh.c lpmRepository, lh.d logger, EventReporter eventReporter, ErrorReporter errorReporter, CoroutineContext workContext, f accountStatusProvider, LinkStore linkStore, w externalPaymentMethodsRepository) {
        r.i(prefsRepositoryFactory, "prefsRepositoryFactory");
        r.i(googlePayRepositoryFactory, "googlePayRepositoryFactory");
        r.i(elementsSessionRepository, "elementsSessionRepository");
        r.i(customerRepository, "customerRepository");
        r.i(lpmRepository, "lpmRepository");
        r.i(logger, "logger");
        r.i(eventReporter, "eventReporter");
        r.i(errorReporter, "errorReporter");
        r.i(workContext, "workContext");
        r.i(accountStatusProvider, "accountStatusProvider");
        r.i(linkStore, "linkStore");
        r.i(externalPaymentMethodsRepository, "externalPaymentMethodsRepository");
        this.prefsRepositoryFactory = prefsRepositoryFactory;
        this.googlePayRepositoryFactory = googlePayRepositoryFactory;
        this.elementsSessionRepository = elementsSessionRepository;
        this.customerRepository = customerRepository;
        this.lpmRepository = lpmRepository;
        this.logger = logger;
        this.eventReporter = eventReporter;
        this.errorReporter = errorReporter;
        this.workContext = workContext;
        this.accountStatusProvider = accountStatusProvider;
        this.linkStore = linkStore;
        this.externalPaymentMethodsRepository = externalPaymentMethodsRepository;
    }

    public final java.lang.Object A(com.stripe.android.paymentsheet.PaymentSheet.Configuration r16, com.stripe.android.paymentsheet.state.CustomerState r17, yh.PaymentMethodMetadata r18, java.lang.String r19, boolean r20, boolean r21, java.util.Map<java.lang.String, java.lang.Boolean> r22, kotlin.coroutines.Continuation<? super com.stripe.android.paymentsheet.state.LinkState> r23) {
        throw new UnsupportedOperationException("Method not decompiled: com.stripe.android.paymentsheet.state.DefaultPaymentSheetLoader.A(com.stripe.android.paymentsheet.PaymentSheet$Configuration, com.stripe.android.paymentsheet.state.a, yh.c, java.lang.String, boolean, boolean, java.util.Map, kotlin.coroutines.Continuation):java.lang.Object");
    }

    public final void B(List<String> requestedExternalPaymentMethods, List<ExternalPaymentMethodSpec> actualExternalPaymentMethods) {
        ArrayList arrayList;
        if (requestedExternalPaymentMethods == null || requestedExternalPaymentMethods.isEmpty()) {
            return;
        }
        if (actualExternalPaymentMethods != null) {
            arrayList = new ArrayList(p.y(actualExternalPaymentMethods, 10));
            Iterator<T> it = actualExternalPaymentMethods.iterator();
            while (it.hasNext()) {
                arrayList.add(((ExternalPaymentMethodSpec) it.next()).getType());
            }
        } else {
            arrayList = null;
        }
        for (String str : requestedExternalPaymentMethods) {
            if (arrayList == null || !arrayList.contains(str)) {
                this.logger.a("Requested external payment method " + str + " is not supported.");
            }
        }
    }

    public final void C(Throwable error) {
        this.logger.error("Failure loading PaymentSheetState", error);
        this.eventReporter.t(error);
    }

    public final void D(ElementsSession elementsSession, Full state, boolean isReloadingAfterProcessDeath, boolean isGooglePaySupported) {
        Throwable sessionsError = elementsSession.getSessionsError();
        if (sessionsError != null) {
            this.eventReporter.g(sessionsError);
        }
        boolean z = !state.n().isConfirmed() || isReloadingAfterProcessDeath;
        if (state.getValidationError() == null || !z) {
            this.eventReporter.v(state.getPaymentSelection(), elementsSession.A(), isGooglePaySupported, gi.b.a(elementsSession.getStripeIntent()));
        } else {
            this.eventReporter.t(state.getValidationError());
        }
    }

    public final java.lang.Object E(yh.PaymentMethodMetadata r7, com.stripe.android.paymentsheet.PaymentSheet.CustomerConfiguration r8, kotlin.coroutines.Continuation<? super java.util.List<com.stripe.android.model.PaymentMethod>> r9) {
        throw new UnsupportedOperationException("Method not decompiled: com.stripe.android.paymentsheet.state.DefaultPaymentSheetLoader.E(yh.c, com.stripe.android.paymentsheet.PaymentSheet$g, kotlin.coroutines.Continuation):java.lang.Object");
    }

    public final java.lang.Object F(com.stripe.android.paymentsheet.PaymentSheet.i r5, com.stripe.android.paymentsheet.PaymentSheet.CustomerConfiguration r6, java.util.List<java.lang.String> r7, kotlin.coroutines.Continuation<? super kotlin.Result<com.stripe.android.model.ElementsSession>> r8) {
        throw new UnsupportedOperationException("Method not decompiled: com.stripe.android.paymentsheet.state.DefaultPaymentSheetLoader.F(com.stripe.android.paymentsheet.PaymentSheet$i, com.stripe.android.paymentsheet.PaymentSheet$g, java.util.List, kotlin.coroutines.Continuation):java.lang.Object");
    }

    public final java.lang.Object G(kotlinx.coroutines.Deferred<? extends com.stripe.android.paymentsheet.model.b> r7, kotlinx.coroutines.Deferred<com.stripe.android.paymentsheet.state.CustomerState> r8, kotlin.coroutines.Continuation<? super com.stripe.android.paymentsheet.model.PaymentSelection> r9) {
        throw new UnsupportedOperationException("Method not decompiled: com.stripe.android.paymentsheet.state.DefaultPaymentSheetLoader.G(kotlinx.coroutines.Deferred, kotlinx.coroutines.Deferred, kotlin.coroutines.Continuation):java.lang.Object");
    }

    public final Object H(PaymentSheet.Configuration configuration, boolean z, ElementsSession elementsSession, Continuation<? super com.stripe.android.paymentsheet.model.b> continuation) {
        return this.prefsRepositoryFactory.invoke(configuration.getCustomer()).b(z, elementsSession.A(), continuation);
    }

    public final boolean I(PaymentMethodMetadata metadata) {
        return !metadata.W().isEmpty();
    }

    public final CustomerState J(ElementsSession elementsSession) {
        ElementsSession.Customer customer = elementsSession.getCustomer();
        if (customer != null) {
            return new CustomerState(customer.getSession().getCustomerId(), customer.getSession().getApiKey(), customer.b());
        }
        IllegalStateException illegalStateException = new IllegalStateException("Excepted 'customer' attribute as part of 'elements_session' response!");
        ErrorReporter.b.a(this.errorReporter, ErrorReporter.UnexpectedErrorEvent.y, StripeException.INSTANCE.b(illegalStateException), null, 4, null);
        if (elementsSession.getStripeIntent().getIsLiveMode()) {
            return null;
        }
        throw illegalStateException;
    }

    public final java.lang.Object K(com.stripe.android.paymentsheet.PaymentSheet.CustomerConfiguration r5, yh.PaymentMethodMetadata r6, kotlin.coroutines.Continuation<? super com.stripe.android.paymentsheet.state.CustomerState> r7) {
        throw new UnsupportedOperationException("Method not decompiled: com.stripe.android.paymentsheet.state.DefaultPaymentSheetLoader.K(com.stripe.android.paymentsheet.PaymentSheet$g, yh.c, kotlin.coroutines.Continuation):java.lang.Object");
    }

    public final void L(StripeIntent stripeIntent) {
        if (stripeIntent.X().isEmpty()) {
            return;
        }
        this.logger.a("[Stripe SDK] Warning: Your Intent contains the following payment method types which are activated for test mode but not activated for live mode: " + stripeIntent.X() + ". These payment method types will not be displayed in live mode until they are activated. To activate these payment method types visit your Stripe dashboard.More information: https://support.stripe.com/questions/activate-a-new-payment-method");
    }

    public final Object v(ElementsSession elementsSession, PaymentSheet.Configuration configuration, PaymentMethodMetadata paymentMethodMetadata, Continuation<? super Full> continuation) {
        return CoroutineScopeKt.coroutineScope(new DefaultPaymentSheetLoader$create$2(elementsSession, configuration, this, paymentMethodMetadata, null), continuation);
    }

    public final java.lang.Object w(com.stripe.android.paymentsheet.PaymentSheet.Configuration r22, com.stripe.android.paymentsheet.state.CustomerState r23, yh.PaymentMethodMetadata r24, java.lang.String r25, boolean r26, boolean r27, java.util.Map<java.lang.String, java.lang.Boolean> r28, kotlin.coroutines.Continuation<? super com.stripe.android.link.LinkConfiguration> r29) {
        throw new UnsupportedOperationException("Method not decompiled: com.stripe.android.paymentsheet.state.DefaultPaymentSheetLoader.w(com.stripe.android.paymentsheet.PaymentSheet$Configuration, com.stripe.android.paymentsheet.state.a, yh.c, java.lang.String, boolean, boolean, java.util.Map, kotlin.coroutines.Continuation):java.lang.Object");
    }

    public final Object x(PaymentSheet.Configuration configuration, ElementsSession elementsSession, Continuation<? super Boolean> continuation) {
        return elementsSession.getIsGooglePayEnabled() ? y(configuration, continuation) : kotlin.coroutines.jvm.internal.a.a(false);
    }

    public final java.lang.Object y(com.stripe.android.paymentsheet.PaymentSheet.Configuration r6, kotlin.coroutines.Continuation<? super java.lang.Boolean> r7) {
        throw new UnsupportedOperationException("Method not decompiled: com.stripe.android.paymentsheet.state.DefaultPaymentSheetLoader.y(com.stripe.android.paymentsheet.PaymentSheet$Configuration, kotlin.coroutines.Continuation):java.lang.Object");
    }

    public final Object z(Continuation<? super Boolean> continuation) {
        return FlowKt.first(this.googlePayRepositoryFactory.invoke(GooglePayEnvironment.c).isReady(), continuation);
    }

    @Override
    public java.lang.Object a(com.stripe.android.paymentsheet.PaymentSheet.i r11, com.stripe.android.paymentsheet.PaymentSheet.Configuration r12, boolean r13, kotlin.coroutines.Continuation<? super kotlin.Result<com.stripe.android.paymentsheet.state.Full>> r14) {
        throw new UnsupportedOperationException("Method not decompiled: com.stripe.android.paymentsheet.state.DefaultPaymentSheetLoader.a(com.stripe.android.paymentsheet.PaymentSheet$i, com.stripe.android.paymentsheet.PaymentSheet$Configuration, boolean, kotlin.coroutines.Continuation):java.lang.Object");
    }
}