// Module ID: 9744 // Function ID: 9745 // Dependencies: [19, 17, 21, 4661, 712, 4104, 6683, 1363, 5449, 1435, 2] // Module 9744 import importAllResult from "noop"; import { View } from "get ActivityIndicator"; import { jsx } from "jsxProd"; import createCacheKey from "createCacheKey"; const require = arg1; let c3 = importAllResult; let obj = { icon: null }; obj = { borderRadius: require("Themes").radii.xs }; obj[0] = obj; let closure_6 = createCacheKey.createStyles(obj); const memoResult = importAllResult.memo(function GameActivityIcon(style) { let game; let onShown; let size; ({ game, size, onShown } = style); style = style.style; let iconURL; const tmp = callback(); let obj = onShown(4104); iconURL = game.getIconURL(size); obj = { width: size, height: size }; const items = [iconURL, onShown]; const effect = importAllResult.useEffect(() => { if (null != iconURL) { if (onShown != null) { tmp(); } } }, items); if (null == iconURL) { if ("none" === style.fallback) { return null; } else { obj = { size: "custom", style: null, color: null }; const items1 = [tmp.icon, obj]; obj[1] = items1; let tmp2Result = tmp2(1363); const colors = iconURL(712).colors; obj[2] = tmp2Result.isThemeDark(obj.useThemeContext().theme) ? colors.WHITE : colors.BLACK; jsx(tmp2(6683).UnknownGameIcon, { size: "custom", style: null, color: null }); const isThemeDarkResult = tmp2Result.isThemeDark(obj.useThemeContext().theme); } } else { const obj1 = { source: null, style: null }; tmp2Result = tmp2(1435); obj1[0] = tmp2Result.makeSource(iconURL); const items2 = [tmp.icon, obj]; obj1[1] = items2; const tmp9 = jsx(iconURL(5449), { source: null, style: null }); let tmp6Result = tmp9; if (null != style) { const obj2 = { style: null, children: null }; obj2[0] = style; obj2[1] = tmp9; tmp6Result = {null}; } return tmp6Result; } }); const result = require("jsxProd").fileFinishedImporting("modules/games/native/GameActivityIcon.tsx"); export default memoResult;