2026-09-07 16:44:02 +00:00
|
|
|
// Module ID: 16001
|
|
|
|
|
// Function ID: 16002
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: showPushNotificationPromptModal
|
2026-09-07 16:44:02 +00:00
|
|
|
// Dependencies: [12413, 12709, 4763, 16002, 1896, 12416, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: showPushNotificationPromptModal
|
|
|
|
|
|
2026-09-07 16:44:02 +00:00
|
|
|
// Module 16001 (showPushNotificationPromptModal)
|
2026-08-24 06:08:38 +00:00
|
|
|
import set from "set" /* 2 */;
|
2026-09-05 10:56:28 +00:00
|
|
|
import _modDef4763 from "module_4763" /* 4763 */;
|
2026-09-07 16:44:02 +00:00
|
|
|
import set2 from "set" /* 12413 */;
|
|
|
|
|
import NewUserTypes from "NewUserTypes" /* 12709 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
const PermissionStateType = set2.PermissionStateType;
|
|
|
|
|
let closure_4 = NewUserTypes.NUF_NOTIFICATION_MODAL_KEY;
|
|
|
|
|
let result = set.fileFinishedImporting("modules/nuf/native/showPushNotificationPromptModal.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const showPushNotificationPromptModal = function showPushNotificationPromptModal(onComplete) {
|
2026-07-23 10:11:24 +00:00
|
|
|
onComplete = onComplete.onComplete;
|
2026-09-05 10:56:28 +00:00
|
|
|
let obj = _modDef4763;
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = {
|
|
|
|
|
onComplete() {
|
2026-08-24 06:08:38 +00:00
|
|
|
closure_1_1(closure_1_2[2]).popWithKey(closure_1_4);
|
2026-07-20 16:05:17 +00:00
|
|
|
onComplete();
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-09-07 16:44:02 +00:00
|
|
|
obj.pushLazy(onComplete(1896)(16002, dependencyMap.paths), obj, closure_4);
|
|
|
|
|
const result = onComplete(12416).setPushPermissionState(PermissionStateType.PROMPT_SEEN);
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|