decord/source/modules/share/native/showSharePreparingModal.tsx
2026-08-31 15:47:37 +00:00

48 lines
1.5 KiB
TypeScript

// Module ID: 8605
// Function ID: 8606
// Name: showSharePreparingModal
// Dependencies: [8603, 4691, 8606, 2009, 2]
// Exports: showSharePreparingModal
// Module 8605 (showSharePreparingModal)
import set from "set" /* 2 */;
import SHARE_PREPARING_MODAL_KEY2 from "SHARE_PREPARING_MODAL_KEY" /* 8603 */;
const SHARE_PREPARING_MODAL_KEY = SHARE_PREPARING_MODAL_KEY2.SHARE_PREPARING_MODAL_KEY;
const result = set.fileFinishedImporting("modules/share/native/showSharePreparingModal.tsx");
export const showSharePreparingModal = function showSharePreparingModal(onCancel) {
onCancel = onCancel.onCancel;
let timeout;
c1 = false;
timeout = setTimeout(() => {
let obj = callback(paths[1]);
obj = {
onCancel() {
if (!c1) {
c1 = true;
const _clearTimeout = clearTimeout;
clearTimeout(closure_2);
closure_1_1(closure_1_2[1]).popWithKey(closure_1_3);
callback();
const obj = closure_1_1(closure_1_2[1]);
}
}
};
obj.pushLazy(onCancel(paths[3])(paths[2], paths.paths), obj, closure_1_3, { animation: "fade", presentation: "transparentModal" }).then(() => {
if (closure_1) {
closure_1_1(closure_1_2[1]).popWithKey(closure_1_3);
const obj = closure_1_1(closure_1_2[1]);
}
});
}, 1000);
return () => {
if (!callback) {
callback = true;
const _clearTimeout = clearTimeout;
clearTimeout(paths);
callback(paths[1]).popWithKey(closure_1_3);
const obj = callback(paths[1]);
}
};
};