/* Metro module 15230; source: modules/application_commands/native/ContextMenuCommandAppScreen.tsx; dependencies: [31, 33, 4501, 697, 5463, 7705, 15229, 8671, 2] */ import Native from '../../../external/discord_common/js/packages/tokens/native.tsx'; /* Metro dependency 697 */ import UseSafeAreaInsetsKeyboardAwareNative from '../../safe_area/useSafeAreaInsetsKeyboardAware.native.tsx'; /* Metro dependency 5463 */ import UseScaledRowHeight from '../../main_tabs_v2/native/shared_components/user_list/useScaledRowHeight.tsx'; /* Metro dependency 7705 */ import FastestListAndroid from '../../fastest_list/FastestList.android.tsx'; /* Metro dependency 8671 */ import ContextMenuCommandItem from './ContextMenuCommandItem.tsx'; /* Metro dependency 15229 */ 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 CreateStylesModule from '../../../design/components/Styles/native/createStyles.tsx'; /* Metro dependency 4501 */ function _fun116514(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#116514, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15427:6, offset: 0x0248c55d, size: 200 bytes, params: 8, frame: 21 const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const createStyles = CreateStylesModule.createStyles; const PX_16 = (Native).space.PX_16; const env0_4 = Reflect.apply(createStyles, CreateStylesModule, [{list: {marginHorizontal: PX_16}}]); (FileImportTrackerModule).fileFinishedImporting('modules/application_commands/native/ContextMenuCommandAppScreen.tsx'); exports.default = ContextMenuCommandAppScreen; function ContextMenuCommandAppScreen(a0) { // fn#116515, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15427:301, offset: 0x0248c625, size: 255 bytes, params: 2, frame: 23 const {section, commands, onPressCommand} = a0.route.params; const onPressCommand2 = onPressCommand; const insets = (UseSafeAreaInsetsKeyboardAwareNative)({includeKeyboardHeight: true}).insets; const value2 = (UseScaledRowHeight)(); const binding = onPressCommand2; const value3 = binding.useMemo(function() { return [commands.length]; }, [commands.length]); const value4 = binding.useCallback(_fun116517, [commands, onPressCommand, section]); const styles = useStyles(); return ((Component) => )(FastestListAndroid); function _fun116517(a0, a1) { // fn#116517, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15427:515, offset: 0x0248c73a, size: 119 bytes, params: 3, frame: 20 const commandsBinding = commands; const property = commandsBinding[a1]; return ((Component) => )(ContextMenuCommandItem); function onPress_116518() { // fn#116518, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15427:584, offset: 0x016f88b2, size: 23 bytes, params: 1, frame: 11 return onPressCommand(env0_0); } } } } global.__d(_fun116514, 15230, [31, 33, 4501, 697, 5463, 7705, 15229, 8671, 2]) /* metro module 15230, dependencies: [31, 33, 4501, 697, 5463, 7705, 15229, 8671, 2] */;