/* Metro module 4580; source: design/void/Icon/native/Icon.tsx; dependencies: [31, 27, 33, 4501, 697, 2] */ import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as ReactNativeModule from '../../../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */ 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 */ function _fun38856(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38856, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4758:6, offset: 0x010cdadc, size: 364 bytes, params: 8, frame: 22 const getIconSize2 = getIconSize; const getIconStyle2 = getIconStyle; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); let value = ReactModule; object = {EXTRA_SMALL_10: 'extraSmall10', EXTRA_SMALL: 'extraSmall', SMALL: 'small', SMALL_20: 'small20', MEDIUM: 'medium', LARGE: 'large', CUSTOM: 'custom', REFRESH_SMALL_16: 'refreshSmall16', SMALL_14: 'small14'}; const env0_5 = (require(4501) /* metro dependency 4501: createStyles */).createStyles(function() { var object2 = {}; object2.tintColor = importDefault(dependencyMap[4]).colors.INTERACTIVE_TEXT_DEFAULT; return {iconColor: object2}; }); value = value.memo(value.forwardRef(_fun38860)); value.displayName = 'Icon'; value.Sizes = object; (FileImportTrackerModule).fileFinishedImporting('design/void/Icon/native/Icon.tsx'); exports.default = value; exports.IconSizes = object; exports.getIconSize = getIconSize2; exports.getIconStyle = getIconStyle2; function getIconSize(a0) { // fn#38857, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4758:369, offset: 0x010cdc48, size: 186 bytes, params: 2, frame: 3 const EXTRA_SMALL_10 = env0_4.EXTRA_SMALL_10; if (EXTRA_SMALL_10 === a0) { return 10; } const EXTRA_SMALL = env0_4.EXTRA_SMALL; if (EXTRA_SMALL === a0) { return 12; } const SMALL = env0_4.SMALL; if (SMALL === a0) { return 18; } const SMALL_14 = env0_4.SMALL_14; if (SMALL_14 === a0) { return 14; } const SMALL_20 = env0_4.SMALL_20; if (SMALL_20 === a0) { return 20; } const MEDIUM = env0_4.MEDIUM; if (MEDIUM === a0) { return 24; } const LARGE = env0_4.LARGE; if (LARGE === a0) { return 32; } const REFRESH_SMALL_16 = env0_4.REFRESH_SMALL_16; if (REFRESH_SMALL_16 === a0) { return 16; } const CUSTOM = env0_4.CUSTOM; if (CUSTOM === a0) { } } function getIconStyle(a0) { // fn#38858, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4758:742, offset: 0x010cdd02, size: 29 bytes, params: 2, frame: 11 const iconSize = getIconSize(a0); return {width: iconSize, height: iconSize}; } function _fun38860({source, color, disableColor, size = env0_4.MEDIUM, style, resizeMode, accessible, accessibilityLabel}, a1) { // fn#38860, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4758:840, offset: 0x010cdd53, size: 198 bytes, params: 3, frame: 21 disableColor = !(disableColor === undefined) && disableColor; resizeMode = resizeMode === undefined ? 'cover' : resizeMode; const styles = useStyles(size); return ( ); } } global.__d(_fun38856, 4580, [31, 27, 33, 4501, 697, 2]) /* metro module 4580, dependencies: [31, 27, 33, 4501, 697, 2] */;