decord/stable/source/modules/premium/native/openPremiumPlanSelectionActionSheet.tsx
2026-10-06 22:12:49 +00:00

51 lines
1.7 KiB
TypeScript

// Module ID: 6843
// Function ID: 6844
// Name: openPremiumPlanSelectionActionSheet
// Dependencies: [1380, 4801, 6844, 1987, 12881, 2]
// Exports: default
// Module 6843 (openPremiumPlanSelectionActionSheet)
import PremiumConstants from "PremiumConstants" /* 1380 */;
import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 4801 */;
import premiumOrbsDeliveredModal from "premiumOrbsDeliveredModal" /* 12881 */;
import size from "module_2" /* 2 */;
const require = globalThis.__r;
let _require;
let closure_3 = PremiumConstants.PREMIUM_PLAN_SELECTION_ACTION_SHEET_KEY;
let result = size.fileFinishedImporting("modules/premium/native/openPremiumPlanSelectionActionSheet.tsx");
export default function openPremiumPlanSelectionActionSheet(arg0, arg1) {
let closure_0;
_require = arg0;
if (null == arg1) {
let obj = ActionSheetActionCreatorsDefault;
obj.hideActionSheet();
}
const openLazy = ActionSheetActionCreatorsDefault.openLazy;
ActionSheetActionCreatorsDefault;
const obj2 = {
onPaymentStart(productId) {
const onPaymentStart = closure_0.onPaymentStart;
if (onPaymentStart != null) {
onPaymentStart(productId);
}
const obj = premiumOrbsDeliveredModal;
const result = obj.anchorOrbsPurchaseStart();
},
onPaymentDismiss(isSuccess) {
const onPaymentDismiss = closure_0.onPaymentDismiss;
if (onPaymentDismiss != null) {
onPaymentDismiss(isSuccess);
}
if (isSuccess.isSuccess) {
const obj = premiumOrbsDeliveredModal;
const result = obj.openOrbsModalIfDelivered();
}
}
};
const tmp5 = require("asyncRequire")(6844, dependencyMap.paths);
const merged = Object.assign(arg0);
openLazy(tmp5, closure_3, obj2, arg1);
};