导航菜单

页面标题

页面副标题

Perplexity v2.48.1 - PaymentSheetActivity.java 源代码

正在查看: Perplexity v2.48.1 应用的 PaymentSheetActivity.java JAVA 源代码文件

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


package com.stripe.android.paymentsheet;

import B5.e;
import Ck.P;
import E3.h;
import Ha.a;
import O9.t;
import Pj.AbstractC0287e;
import W5.c;
import al.C0630d;
import android.content.Intent;
import android.os.Bundle;
import g3.l0;
import g4.f;
import kotlin.LazyKt;
import kotlin.Metadata;
import kotlin.Pair;
import kotlin.Result;
import kotlin.ResultKt;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.Reflection;
import kotlin.jvm.internal.SourceDebugExtension;
import wj.C1739p0;
import wj.O0;
import wj.R0;
import wj.S0;
import wj.U0;
import wj.V0;
import wj.Y0;
import wj.Z0;
import wj.r1;

@Metadata(d1 = {"\u0000\u0018\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0002\b\u0001\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\u0007¢\u0006\u0004\b\u0003\u0010\u0004¨\u0006\u0007²\u0006\f\u0010\u0006\u001a\u00020\u00058\nX\u008a\u0084\u0002"}, d2 = {"Lcom/stripe/android/paymentsheet/PaymentSheetActivity;", "LPj/e;", "Lwj/Z0;", "<init>", "()V", "", "isProcessing", "paymentsheet_release"}, k = 1, mv = {2, 1, 0}, xi = 48)
@SourceDebugExtension
public final class PaymentSheetActivity extends AbstractC0287e {
    public static final int Y = 0;
    public final P y = new P(new O0(this, 0), 16);
    public final a z = new a(Reflection.a.b(r1.class), new S0(this, 0), new O0(this, 1), new S0(this, 1));
    public final C0630d X = LazyKt.a(new O0(this, 2));

    @Override
    public final r1 h() {
        return (r1) this.z.getValue();
    }

    public final void j(Z0 result) {
        Intrinsics.h(result, "result");
        setResult(-1, new Intent().putExtras(f.s(new Pair[]{new Pair("com.stripe.android.paymentsheet.PaymentSheetContract.extra_result", new V0(result))})));
    }

    @Override
    public final void onCreate(Bundle bundle) {
        Object obj;
        U0 u0 = (U0) this.X.getValue();
        if (u0 == null) {
            int i = Result.x;
            obj = ResultKt.a(new IllegalArgumentException("PaymentSheet started without arguments."));
        } else {
            C1739p0 c1739p0 = u0.x;
            try {
                u0.w.b();
                t.p(c1739p0).b();
                l0.v(c1739p0.s0);
                int i2 = Result.x;
                obj = u0;
            } catch (IllegalArgumentException e) {
                int i3 = Result.x;
                obj = ResultKt.a(e);
            }
        }
        boolean z = obj instanceof Result.Failure;
        this.x = z;
        super.onCreate(bundle);
        if (((U0) (z ? null : obj)) != null) {
            h().c1.d(this, this);
            if (!c.y(this)) {
                h().D0.a();
            }
            h.a(this, new e(new R0(this, 2), true, 485212172));
            return;
        }
        Throwable a = Result.a(obj);
        if (a == null) {
            a = new IllegalArgumentException("PaymentSheet started without arguments.");
        }
        j(new Y0(a));
        finish();
    }
}