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wH,oBAAoBC,GAAOlF,KAAI,SAAUqD,GAC5D,OAAO6B,EAAM7B,EACd,IACWgC,KAAK,IACf,OAAO,EAIR,IAAIC,EAAQ,CAAC,EAIb,MAHA,uBAAuBC,MAAM,IAAI3H,SAAQ,SAAU4H,GAClDF,EAAME,GAAUA,CACjB,IAEE,yBADE/H,OAAOgI,KAAKhI,OAAOqH,OAAO,CAAC,EAAGQ,IAAQD,KAAK,GAMhD,CAAE,MAAOK,GAER,OAAO,CACR,CACD,CAEiBC,GAAoBlI,OAAOqH,OAAS,SAAUc,EAAQC,GAKtE,IAJA,IAAIC,EAEAC,EADAC,EAtDL,SAAkBC,GACjB,GAAIA,QACH,MAAM,IAAIC,UAAU,yDAGrB,OAAOzI,OAAOwI,EACf,CAgDUE,CAASP,GAGTQ,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAG1C,IAAK,IAAI5C,KAFTsC,EAAOrI,OAAO4I,UAAUD,IAGnB7C,EAAeY,KAAK2B,EAAMtC,KAC7BwC,EAAGxC,GAAOsC,EAAKtC,IAIjB,GAAImB,EAAuB,CAC1BoB,EAAUpB,EAAsBmB,GAChC,IAAK,IAAIX,EAAI,EAAGA,EAAIY,EAAQO,OAAQnB,IAC/BP,EAAiBT,KAAK2B,EAAMC,EAAQZ,MACvCa,EAAGD,EAAQZ,IAAMW,EAAKC,EAAQZ,IAGjC,CACD,CAEA,OAAOa,CACR","sources":["webpack://@iqx-web/shell/./src/apps/apps-middleware.ts","webpack://@iqx-web/shell/./src/shell.provider.tsx","webpack://@iqx-web/shell/./src/apps/apps-config.ts","webpack://@iqx-web/shell/./src/apps/utils.ts","webpack://@iqx-web/shell/./src/bootstrap.ts","webpack://@iqx-web/shell/./src/apps/register-app.ts","webpack://@iqx-web/shell/./src/utils.ts","webpack://@iqx-web/shell/../../node_modules/react/jsx-runtime.js","webpack://@iqx-web/shell/../../node_modules/react/cjs/react-jsx-runtime.production.min.js","webpack://@iqx-web/shell/../../node_modules/object-assign/index.js"],"sourcesContent":["import type { SingleSpaCustomEventDetail } from 'single-spa';\nimport { findAppEl } from '../utils';\n\nconst LOADER_ID = 'loader';\n\nconst loader = document.getElementById(LOADER_ID);\n\nfunction hideLoader() {\n setTimeout(() => loader?.classList.add('hidden'));\n}\n\nfunction showLoader() {\n loader?.classList.remove('hidden');\n}\n\nwindow.addEventListener('single-spa:before-app-change', e => {\n showLoader();\n\n const { detail } = >e;\n Object.entries(detail.newAppStatuses).forEach(([appName, status]) => {\n const appEl = findAppEl(appName);\n if (!appEl) return;\n\n if (status === 'NOT_MOUNTED') {\n appEl.classList.remove('active');\n }\n });\n});\n\nwindow.addEventListener('single-spa:app-change', e => {\n const { detail } = >e;\n Object.entries(detail.newAppStatuses).forEach(([appName, status]) => {\n const appEl = findAppEl(appName);\n\n if (!appEl) return;\n\n if (status === 'MOUNTED') {\n appEl.classList.add('active');\n }\n });\n\n hideLoader();\n});\n\nexport {};\n","import type { PropsWithChildren } from 'react';\nimport { createContext } from 'react';\nimport type { AppProps, ModuleTypes } from './types';\n\nexport const ShellContext = createContext({\n apps: {\n enabledApps: [],\n },\n config: { packageName: '', path: '' },\n});\n\nexport function ShellProvider(props: PropsWithChildren<{ value: AppProps }>) {\n return ;\n}\n","import {\n DingtalkOutlined,\n FileSyncOutlined,\n FileTextOutlined,\n SettingOutlined,\n} from 'core/components';\nimport type { ModuleTypes } from '../types';\nimport { isDevURL, isLocalURL, isStagingURL } from 'core/utils';\n\nconst packageDocs: ModuleTypes = {\n type: 'docs',\n packageName: '@iqx-web/docs',\n path: '/docs',\n icon: FileSyncOutlined,\n name: 'Docs',\n enabled: false,\n menu: true,\n attrs: {\n spaces: true,\n settings: true,\n tags: false,\n },\n};\n\nconst packagePlans: ModuleTypes = {\n type: 'plans',\n packageName: '@iqx-web/plans',\n path: '/plans',\n icon: DingtalkOutlined,\n name: 'Plans',\n enabled: false,\n menu: true,\n attrs: {\n spaces: true,\n settings: true,\n tags: true,\n },\n};\n\nconst packageLessons: ModuleTypes = {\n type: 'lessons',\n path: '/experiences',\n packageName: '@iqx-web/lessons',\n icon: FileTextOutlined,\n name: 'Experiences',\n enabled: false,\n menu: true,\n attrs: {\n spaces: true,\n settings: true,\n tags: true,\n },\n};\n\nconst packageIssues: ModuleTypes = {\n type: 'issues',\n path: '/actions',\n packageName: '@iqx-web/issues',\n icon: FileTextOutlined,\n name: 'Actions (beta)',\n enabled: true,\n standalone: true,\n menu: true,\n attrs: {\n spaces: false,\n settings: false,\n tags: false,\n },\n};\n\nconst packageSettings: ModuleTypes = {\n type: 'settings',\n packageName: '@iqx-web/settings',\n path: '/settings',\n icon: SettingOutlined,\n name: 'Settings',\n enabled: true,\n menu: true,\n attrs: {\n spaces: true,\n settings: false,\n tags: false,\n },\n};\n\nconst packageSpaces: ModuleTypes = {\n packageName: '@iqx-web/spaces',\n type: 'spaces',\n path: '/spaces',\n icon: FileTextOutlined,\n name: 'Spaces',\n enabled: true,\n menu: false,\n attrs: {\n spaces: false,\n settings: false,\n tags: false,\n },\n};\n\nexport const modules: ModuleTypes[] = [\n packagePlans,\n packageLessons,\n packageIssues,\n packageDocs,\n packageSettings,\n packageSpaces,\n];\n","import { combineUrls } from 'core/base';\nimport { modules } from './apps-config';\nimport type { WorkspaceTypes } from '../types';\n\nexport const getAllModules = () => modules;\n\nexport const getAppByType = (type: WorkspaceTypes) => modules.find(m => m.type === type)!;\n\nexport const getModulePath = (type: WorkspaceTypes, ...args: string[]) => {\n const modulePath = getAppByType(type).path;\n const str = combineUrls(modulePath, ...args);\n return `/${str}`;\n};\n","import './styles.css';\nimport './apps/apps-middleware';\nimport { navigateToUrl, registerApplication, start } from 'single-spa';\nimport { registerApp, getModulePath, getAllModules } from './apps';\nimport { OrgService } from 'core/services';\nimport type { AppsService, ModuleTypes, WorkspaceTypes } from './types';\n\nconst isLocalhost = window.location.hostname === 'localhost';\n\nconst getOrgModules = async () => {\n if (isLocalhost) return [];\n\n const orgService = new OrgService();\n const { modules } = await orgService.get();\n\n return modules ?? [];\n};\n\nasync function initApps(): Promise {\n const modules = await getOrgModules();\n const list = getAllModules().map(p => {\n // Activate all modules for localhost\n const isActive = isLocalhost ? true : modules.find(m => m.id === p.type);\n\n if (isActive) {\n p.enabled = true;\n return p;\n }\n return p;\n });\n\n const enabledApps = list.filter(({ enabled }) => enabled);\n return {\n enabledApps,\n };\n}\n\nconst registerEnabledApps = (apps: AppsService) => {\n apps.enabledApps.forEach(app => {\n registerApp(app.packageName, location => location.pathname.startsWith(app.path), {\n config: app,\n apps,\n });\n });\n};\n\nconst registerRedirectToFirstApp = (enabledApps: ModuleTypes[]) => {\n const firstApp = enabledApps.find(app => app.attrs.spaces);\n if (firstApp) {\n registerApplication({\n name: 'redirect',\n app: () =>\n Promise.resolve({\n mount() {\n navigateToUrl(`${getModulePath('spaces', firstApp.path)}`);\n return Promise.resolve();\n },\n unmount: () => Promise.resolve(),\n bootstrap: () => Promise.resolve(),\n }),\n activeWhen: location => location.pathname === '/',\n });\n }\n};\n\nconst registerNotFoundApp = (enabledApps: ModuleTypes[]) => {\n const appsPaths = ['/link', ...enabledApps.map(app => app.path)];\n\n // 404 page\n registerApplication({\n name: 'not-found',\n app: () => import('./not-found'),\n activeWhen: location => !appsPaths.some(path => location.pathname.startsWith(path)), // catch all\n });\n};\n\ninitApps().then(apps => {\n registerApplication({\n name: 'link',\n app: () => import('./link'),\n activeWhen: '/link',\n });\n registerEnabledApps(apps);\n registerRedirectToFirstApp(apps.enabledApps);\n registerNotFoundApp(apps.enabledApps);\n\n start();\n});\n","import { ActivityFn, registerApplication } from 'single-spa';\nimport type { AppProps } from '../types';\n\nexport const registerApp = (appName: string, activityFn: ActivityFn, customProps?: AppProps) => {\n registerApplication(\n appName,\n () => System.import(`${appName}/app`).then(app => app.default()),\n activityFn,\n customProps,\n );\n};\n","const getAppId = (appName: string) => `single-spa-application:${appName}`;\n\nexport const findAppEl = (appName: string) => {\n return document.getElementById(getAppId(appName));\n};\n\nexport const createAppEl = (appName: string) => {\n const div = document.createElement('div');\n div.id = getAppId(appName);\n document.body.append(div);\n\n return div;\n};\n\nexport const createOrFindEl = (appName: string) => {\n const el = findAppEl(appName);\n if (el) return el;\n\n return createAppEl(appName);\n};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","/** @license React v17.0.2\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';require(\"object-assign\");var f=require(\"react\"),g=60103;exports.Fragment=60107;if(\"function\"===typeof Symbol&&Symbol.for){var h=Symbol.for;g=h(\"react.element\");exports.Fragment=h(\"react.fragment\")}var m=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,n=Object.prototype.hasOwnProperty,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,k){var b,d={},e=null,l=null;void 0!==k&&(e=\"\"+k);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(l=a.ref);for(b in a)n.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:g,type:c,key:e,ref:l,props:d,_owner:m.current}}exports.jsx=q;exports.jsxs=q;\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n"],"names":["loader","document","getElementById","window","addEventListener","e","classList","remove","detail","Object","entries","newAppStatuses","forEach","appName","status","appEl","findAppEl","add","setTimeout","createContext","apps","enabledApps","config","packageName","path","packageDocs","type","icon","FileSyncOutlined","name","enabled","menu","attrs","spaces","settings","tags","modules","DingtalkOutlined","FileTextOutlined","standalone","SettingOutlined","getAllModules","isLocalhost","location","hostname","orgService","OrgService","get","map","p","find","m","id","filter","initApps","then","registerApplication","app","activeWhen","activityFn","customProps","pathname","startsWith","System","import","default","registerEnabledApps","firstApp","Promise","resolve","mount","navigateToUrl","args","modulePath","getAppByType","combineUrls","getModulePath","unmount","bootstrap","registerRedirectToFirstApp","appsPaths","some","registerNotFoundApp","start","getAppId","createAppEl","div","createElement","body","append","createOrFindEl","module","exports","f","g","Fragment","Symbol","for","h","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","ReactCurrentOwner","n","prototype","hasOwnProperty","key","ref","__self","__source","q","c","a","k","b","d","l","call","defaultProps","$$typeof","props","_owner","current","jsx","jsxs","getOwnPropertySymbols","propIsEnumerable","propertyIsEnumerable","assign","test1","String","getOwnPropertyNames","test2","i","fromCharCode","join","test3","split","letter","keys","err","shouldUseNative","target","source","from","symbols","to","val","TypeError","toObject","s","arguments","length"],"sourceRoot":""}