// Module ID: 8999 // Function ID: 70885 // Name: ApplicationStreamActivityStatus // Dependencies: [31, 33, 1212, 9000, 9001, 9003, 2] // Exports: default // Module 8999 (ApplicationStreamActivityStatus) import "result"; import jsxProd from "jsxProd"; let closure_3; let closure_4; let closure_5; const require = arg1; ({ jsx: closure_3, Fragment: closure_4, jsxs: closure_5 } = jsxProd); const result = require("getSystemLocale").fileFinishedImporting("modules/activity_status/native/ApplicationStreamActivityStatus.tsx"); export default function ApplicationStreamActivityStatus(hideText) { let game; let hideIcon; let iconStyle; let maxFontSizeMultiplier; let textStyle; ({ game, hideIcon } = hideText); ({ iconStyle, textStyle, maxFontSizeMultiplier } = hideText); if (hideIcon === undefined) { hideIcon = false; } let flag = hideText.hideText; if (flag === undefined) { flag = false; } if (hideIcon) { if (flag) { return null; } } let name; if (null != game) { name = game.name; } let tmp2 = null; if ("" !== name) { let name1; if (null != game) { name1 = game.name; } tmp2 = name1; } if (null != tmp2) { const intl2 = require(1212) /* getSystemLocale */.intl; let obj = { name: tmp2 }; let formatResult = intl2.format(require(1212) /* getSystemLocale */.t["0wJXSh"], obj); } else { const intl = require(1212) /* getSystemLocale */.intl; formatResult = intl.string(require(1212) /* getSystemLocale */.t.eXan7B); } obj = {}; let tmp11 = !hideIcon; if (tmp11) { obj = { icon: require(9001) /* TvIcon */.TvIcon, style: iconStyle }; tmp11 = callback(importDefault(9000), obj); const tmp15 = importDefault(9000); } const items = [tmp11, ]; let tmp17 = !flag; if (tmp17) { const obj1 = { style: textStyle, maxFontSizeMultiplier, children: formatResult }; tmp17 = callback(importDefault(9003), obj1); } items[1] = tmp17; obj.children = items; return closure_5(closure_4, obj); };