Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4942.js (118.4 MB)
43 lines
1.6 KiB
TypeScript
43 lines
1.6 KiB
TypeScript
// Module ID: 7667
|
|
// Function ID: 7668
|
|
// Name: openPremiumPlanSelectionActionSheet
|
|
// Dependencies: [1374, 4724, 7668, 1980, 13618, 2]
|
|
// Exports: default
|
|
|
|
// Module 7667 (openPremiumPlanSelectionActionSheet)
|
|
import PremiumConstants from "PremiumConstants" /* 1374 */;
|
|
import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 4724 */;
|
|
import premiumOrbsDeliveredModal from "premiumOrbsDeliveredModal" /* 13618 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const require = globalThis.__r;
|
|
|
|
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) {
|
|
_require = arg0;
|
|
if (null == arg1) {
|
|
ActionSheetActionCreatorsDefault.hideActionSheet();
|
|
}
|
|
const obj2 = ActionSheetActionCreatorsDefault;
|
|
const obj3 = {};
|
|
const merged = Object.assign(arg0);
|
|
obj3.onPaymentStart = function onPaymentStart(productId) {
|
|
const onPaymentStart = closure_0.onPaymentStart;
|
|
if (onPaymentStart != null) {
|
|
onPaymentStart(productId);
|
|
}
|
|
const result = premiumOrbsDeliveredModal.anchorOrbsPurchaseStart();
|
|
};
|
|
obj3.onPaymentDismiss = function onPaymentDismiss(isSuccess) {
|
|
const onPaymentDismiss = closure_0.onPaymentDismiss;
|
|
if (onPaymentDismiss != null) {
|
|
onPaymentDismiss(isSuccess);
|
|
}
|
|
if (isSuccess.isSuccess) {
|
|
const result = premiumOrbsDeliveredModal.openOrbsModalIfDelivered();
|
|
}
|
|
};
|
|
obj2.openLazy(require("asyncRequireImpl")(7668, dependencyMap.paths), closure_3, obj3, arg1);
|
|
};
|