// Module ID: 5146 // Function ID: 5147 // Name: Icon // Dependencies: [19, 17, 21, 4722, 576, 2] // Exports: getIconSize, getIconStyle // Module 5146 (Icon) import nativeDefault from "native" /* 576 */; import noop from "module_19" /* 19 */; const Image = fn(17).Image; const jsx = fn(21).jsx; const IconSizes = { 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 createStyles = fn(4722); let closure_5 = createStyles.createStyles(() => { obj = { iconColor: { tintColor: nativeDefault.colors.INTERACTIVE_TEXT_DEFAULT } }; return obj; }); const memoResult = noop.memo(noop.forwardRef((size, ref) => { ({ color, disableColor } = size); if (disableColor === undefined) { disableColor = false; } let MEDIUM = size.size; if (MEDIUM === undefined) { MEDIUM = obj.MEDIUM; } ({ resizeMode, style } = size); if (resizeMode === undefined) { resizeMode = "cover"; } ({ accessible, accessibilityLabel } = size); if (disableColor) { const obj2 = { resizeMode, source: size.source, style: null, accessible: null, accessibilityLabel: null, fadeDuration: 0, ref: null }; let num = 10; if (obj.EXTRA_SMALL_10 !== MEDIUM) { num = 12; if (tmp7.EXTRA_SMALL !== MEDIUM) { num = 18; if (tmp7.SMALL !== MEDIUM) { num = 14; if (tmp7.SMALL_14 !== MEDIUM) { num = 20; if (tmp7.SMALL_20 !== MEDIUM) { num = 24; if (tmp7.MEDIUM !== MEDIUM) { num = 32; if (tmp7.LARGE !== MEDIUM) { num = 16; if (tmp7.REFRESH_SMALL_16 !== MEDIUM) { const CUSTOM = tmp7.CUSTOM; } } } } } } } } size = { width: num, height: num }; const items = [size, undefined, style]; obj2.style = items; obj2.accessible = accessible; obj2.accessibilityLabel = accessibilityLabel; obj2.ref = ref; return ; } else if (null != color) { obj = { tintColor: color }; let iconColor = obj; } else { iconColor = tmp2.iconColor; } })); memoResult.displayName = "Icon"; memoResult.Sizes = IconSizes; let size = fn(2); const result = size.fileFinishedImporting("design/void/Icon/native/Icon.tsx"); export default memoResult; export { IconSizes }; export const getIconSize = function getIconSize(arg0) { if (obj.EXTRA_SMALL_10 === arg0) { return 10; } else if (tmp.EXTRA_SMALL === arg0) { return 12; } else if (tmp.SMALL === arg0) { return 18; } else if (tmp.SMALL_14 === arg0) { return 14; } else if (tmp.SMALL_20 === arg0) { return 20; } else if (tmp.MEDIUM === arg0) { return 24; } else if (tmp.LARGE === arg0) { return 32; } else if (tmp.REFRESH_SMALL_16 === arg0) { return 16; } }; export const getIconStyle = function getIconStyle(MEDIUM) { let width = 10; if (obj.EXTRA_SMALL_10 !== MEDIUM) { width = 12; if (tmp.EXTRA_SMALL !== MEDIUM) { width = 18; if (tmp.SMALL !== MEDIUM) { width = 14; if (tmp.SMALL_14 !== MEDIUM) { width = 20; if (tmp.SMALL_20 !== MEDIUM) { width = 24; if (tmp.MEDIUM !== MEDIUM) { width = 32; if (tmp.LARGE !== MEDIUM) { width = 16; if (tmp.REFRESH_SMALL_16 !== MEDIUM) { const CUSTOM = tmp.CUSTOM; } } } } } } } } return { width, height: width }; };