decord/source/modules/masked_link/MaskedLinkModalActionCreators.native.tsx

25 lines
865 B
TypeScript
Raw Normal View History

// Module ID: 12983
// Function ID: 12984
// Name: MaskedLinkModalActionCreators
// Dependencies: [19, 21, 12984, 1896, 4920, 2]
2026-07-20 16:05:17 +00:00
// Module 12983 (MaskedLinkModalActionCreators)
import useAlertStore from "useAlertStore" /* 4920 */;
import noop from "module_19" /* 19 */;
2026-07-23 10:11:24 +00:00
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");
2026-07-20 16:05:17 +00:00
export default {
show(onCancel) {
onCancel = onCancel.onCancel;
({ url, trustUrl, onConfirm, isProtocol } = onCancel);
const lazyResult = noop.lazy(() => require("asyncRequireImpl")(paths[2], paths.paths));
2026-08-24 06:08:38 +00:00
useAlertStore.openAlert("masked-link", <lazyResult url={url} trustUrl={trustUrl} onConfirm={onConfirm} onCancel={onCancel} isProtocol={isProtocol} />, onCancel);
2026-07-20 16:05:17 +00:00
}
};