Files
2026-07-28 01:06:53 +03:00

53 lines
3.7 KiB
TypeScript

/* Metro module 11067; source: modules/stickers/native/StickerOptionsActionSheet.tsx; dependencies: [31, 33, 6797, 3856, 4080, 6805, 6231, 6238, 4056, 1244, 2] */
import ActionSheetActionCreators from '../../action_sheet/native/ActionSheetActionCreators.tsx'; /* Metro dependency 4080 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactModule from '../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
import * as JsxRuntimeModule from '../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
import * as IndexNativeModule from '../../../intl/index.native.tsx'; /* Metro dependency 1244 */
import * as ToastUtilsModule from '../../toast/native/ToastUtils.tsx'; /* Metro dependency 3856 */
import * as LinkIconModule from '../../../design/components/Icon/native/redesign/generated/LinkIcon.tsx'; /* Metro dependency 4056 */
import * as TableRowGroupNativeModule from '../../../design/components/TableRow/native/TableRowGroup.native.tsx'; /* Metro dependency 6231 */
import * as TableRowNativeModule from '../../../design/components/TableRow/native/TableRow.native.tsx'; /* Metro dependency 6238 */
import * as ClipboardUtilsNativeModule from '../../../utils/ClipboardUtils.native.tsx'; /* Metro dependency 6797 */
import * as ActionSheetNativeModule from '../../../design/components/Sheet/native/ActionSheet.native.tsx'; /* Metro dependency 6805 */
function _fun84745(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#84745, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11253:6, offset: 0x01f55fb5, size: 142 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(FileImportTrackerModule).fileFinishedImporting('modules/stickers/native/StickerOptionsActionSheet.tsx');
exports.default = StickerOptionsActionSheet;
function StickerOptionsActionSheet({stickerUrl}) { // fn#84746, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11253:218, offset: 0x01f56043, size: 244 bytes, params: 2, frame: 23
const value2 = ReactModule.useCallback(_fun84747, [stickerUrl]);
const ActionSheet = (ActionSheetNativeModule).ActionSheet;
const TableRowGroup = (TableRowGroupNativeModule).TableRowGroup;
const TableRow = (TableRowNativeModule).TableRow;
const object2 = {};
const LinkIcon = (LinkIconModule).LinkIcon;
object2.icon = <LinkIcon />;
const intl = (IndexNativeModule).intl;
const string = intl.string;
const B1ubHx = (IndexNativeModule).t.B1ubHx;
object2.label = Reflect.apply(string, intl, [B1ubHx]);
object2.onPress = value2;
return (
<ActionSheet>
<TableRowGroup hasIcons>
<TableRow {...object2} />
</TableRowGroup>
</ActionSheet>
);
function _fun84747() { // fn#84747, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11253:290, offset: 0x01c408ce, size: 93 bytes, params: 1, frame: 15
const value = environment.__proto__;
ClipboardUtilsNativeModule.copy(stickerUrl);
(ToastUtilsModule).presentCopiedToClipboard();
(ActionSheetActionCreators).hideActionSheet();
}
}
}
global.__d(_fun84745, 11067, [31, 33, 6797, 3856, 4080, 6805, 6231, 6238, 4056, 1244,
2]) /* metro module 11067, dependencies: [31, 33, 6797, 3856, 4080, 6805, 6231, 6238, 4056, 1244, 2] */;