decord/source/modules/share/native/showSharePreparingModal.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

48 lines
1.5 KiB
TypeScript

// Module ID: 8296
// Function ID: 8297
// Name: showSharePreparingModal
// Dependencies: [8294, 4731, 8297, 2008, 2]
// Exports: showSharePreparingModal
// Module 8296 (showSharePreparingModal)
import set from "set" /* 2 */;
import SHARE_PREPARING_MODAL_KEY2 from "SHARE_PREPARING_MODAL_KEY" /* 8294 */;
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]);
}
};
};