// Module ID: 9750 // Function ID: 9751 // Name: StickerOptionsActionSheet // Dependencies: [19, 21, 558, 576, 6879, 4767, 5055, 5040, 1126, 6892, 6269, 6186, 2] // Module 9750 (StickerOptionsActionSheet) import Fragment from "Fragment" /* 21 */; import ToastUtils from "ToastUtils" /* 4767 */; import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 5055 */; import ClipboardUtils from "ClipboardUtils" /* 6879 */; import react from "react" /* 19 */; import ReactCompilerGating from "ReactCompilerGating" /* 558 */; import size from "module_2" /* 2 */; const jsx = Fragment.jsx; const tmp2 = ReactCompilerGating.isReactCompilerEnabled() ? (function StickerOptionsActionSheet(stickerUrl) { let tmp10; let tmp4; let obj = stickerUrl(576); const cResult = obj.c(6); stickerUrl = stickerUrl.stickerUrl; if (cResult[0] !== stickerUrl) { const fn = function o() { const obj = ClipboardUtils; obj.copy(stickerUrl); const obj2 = ToastUtils; const result = obj2.presentCopiedToClipboard(); const obj3 = ActionSheetActionCreatorsDefault; obj3.hideActionSheet(); }; cResult[0] = stickerUrl; cResult[1] = fn; tmp4 = fn; } else { tmp4 = cResult[1]; } if (cResult[2] === Symbol.for("react.memo_cache_sentinel")) { const tmp8 = jsx(stickerUrl(5040).LinkIcon, {}); const intl = tmp(1126).intl; const stringResult = intl.string(stickerUrl(1126).t.B1ubHx); cResult[2] = tmp8; cResult[3] = stringResult; } if (cResult[4] !== tmp4) { const ActionSheet = tmp(6892).ActionSheet; let obj3 = { hasIcons: true, children: null }; const TableRowGroup = tmp(6269).TableRowGroup; const tmp12 = {null}; cResult[4] = tmp4; cResult[5] = tmp12; tmp10 = tmp12; } else { tmp10 = cResult[5]; } return tmp10; }) : (function StickerOptionsActionSheet(stickerUrl) { let intl; stickerUrl = stickerUrl.stickerUrl; const items = [stickerUrl]; const callback = react.useCallback(() => { const obj = ClipboardUtils; obj.copy(stickerUrl); const obj2 = ToastUtils; const result = obj2.presentCopiedToClipboard(); const obj3 = ActionSheetActionCreatorsDefault; obj3.hideActionSheet(); }, items); const ActionSheet = stickerUrl(6892).ActionSheet; let obj2 = { hasIcons: true, children: null }; const TableRowGroup = stickerUrl(6269).TableRowGroup; let obj3 = { icon: null, label: intl.string(stickerUrl(1126).t.B1ubHx), onPress: callback }; const TableRow = stickerUrl(6186).TableRow; intl = stickerUrl(1126).intl; return {null}; }); let result = size.fileFinishedImporting("modules/stickers/native/StickerOptionsActionSheet.tsx"); export default tmp2;