decord/source/modules/masked_link/MaskedLinkModalActionCreators.native.tsx
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

24 lines
865 B
TypeScript

// Module ID: 13097
// Function ID: 13098
// Name: MaskedLinkModalActionCreators
// Dependencies: [19, 21, 13098, 1897, 4984, 2]
// Module 13097 (MaskedLinkModalActionCreators)
import useAlertStore from "useAlertStore" /* 4984 */;
import noop from "module_19" /* 19 */;
const require = globalThis.__r;
require = fn;
const jsx = fn(21).jsx;
const size = fn(2);
const result = size.fileFinishedImporting("modules/masked_link/MaskedLinkModalActionCreators.native.tsx");
export default {
show(onCancel) {
onCancel = onCancel.onCancel;
({ url, trustUrl, onConfirm, isProtocol } = onCancel);
const lazyResult = noop.lazy(() => require("asyncRequireImpl")(paths[2], paths.paths));
useAlertStore.openAlert("masked-link", <lazyResult url={url} trustUrl={trustUrl} onConfirm={onConfirm} onCancel={onCancel} isProtocol={isProtocol} />, onCancel);
}
};