decord/source/modules/masked_link/MaskedLinkModalActionCreators.native.tsx
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

24 lines
865 B
TypeScript

// Module ID: 12983
// Function ID: 12984
// Name: MaskedLinkModalActionCreators
// Dependencies: [19, 21, 12984, 1896, 4920, 2]
// Module 12983 (MaskedLinkModalActionCreators)
import useAlertStore from "useAlertStore" /* 4920 */;
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);
}
};