@vc-shell/framework 2.0.0-alpha.7 → 2.0.0-alpha.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (308) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/core/composables/useUser/index.d.ts.map +1 -1
  3. package/dist/core/plugins/modularity/index.d.ts +0 -2
  4. package/dist/core/plugins/modularity/index.d.ts.map +1 -1
  5. package/dist/tsconfig.tsbuildinfo +1 -1
  6. package/dist/ui/components/molecules/vc-select/composables/index.d.ts +1 -3
  7. package/dist/ui/components/molecules/vc-select/composables/index.d.ts.map +1 -1
  8. package/dist/ui/components/molecules/vc-select/composables/useSelectDataSource.d.ts +30 -0
  9. package/dist/ui/components/molecules/vc-select/composables/useSelectDataSource.d.ts.map +1 -0
  10. package/dist/ui/components/molecules/vc-select/composables/useSelectSelection.d.ts +3 -2
  11. package/dist/ui/components/molecules/vc-select/composables/useSelectSelection.d.ts.map +1 -1
  12. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
  13. package/package.json +5 -5
  14. package/dist/assets/042c75b764bc78a7.svg +0 -1
  15. package/dist/assets/0ba156439a339f2a.svg +0 -1
  16. package/dist/assets/0be560bfb22d0e72.woff2 +0 -0
  17. package/dist/assets/0d67e9e056b4c500.woff +0 -0
  18. package/dist/assets/0f590f8a94577092.svg +0 -1
  19. package/dist/assets/0fc5820f8be53a1b.svg +0 -1
  20. package/dist/assets/105efd028edc1dfe.woff +0 -0
  21. package/dist/assets/10768e2cc79fc60b.svg +0 -1
  22. package/dist/assets/11b3d25a56fd9a21.woff2 +0 -0
  23. package/dist/assets/131b34336aedaf47.woff +0 -0
  24. package/dist/assets/154365acf3010d96.woff2 +0 -0
  25. package/dist/assets/157b8721e0600ea8.svg +0 -1
  26. package/dist/assets/15e91cdd649cde9a.svg +0 -1
  27. package/dist/assets/19275e398ae57130.woff2 +0 -0
  28. package/dist/assets/19bb1c668a5db39f.woff2 +0 -0
  29. package/dist/assets/1a3e84b2457f709a.woff +0 -0
  30. package/dist/assets/1de63eb118636cce.svg +0 -1
  31. package/dist/assets/1ea01de36eb5491b.svg +0 -1
  32. package/dist/assets/2010ada3e82156ed.woff +0 -0
  33. package/dist/assets/204eaf512fde2023.svg +0 -1
  34. package/dist/assets/2088983edf42e153.svg +0 -1
  35. package/dist/assets/208f810a9321a327.svg +0 -1
  36. package/dist/assets/21220a9d10e6c558.svg +0 -1
  37. package/dist/assets/220db345a102045d.woff2 +0 -0
  38. package/dist/assets/225da11d23968333.svg +0 -1
  39. package/dist/assets/226f862dd81bdc13.woff2 +0 -0
  40. package/dist/assets/23a2d53395ddb14f.woff +0 -0
  41. package/dist/assets/259e6ad461a52ad7.svg +0 -1
  42. package/dist/assets/261e6dec4d53b9ac.woff +0 -0
  43. package/dist/assets/262f46a0b6d94bb6.svg +0 -1
  44. package/dist/assets/2857c513073467da.svg +0 -1
  45. package/dist/assets/2b3be7889467d98f.woff +0 -0
  46. package/dist/assets/2d4e6190eec72737.svg +0 -1
  47. package/dist/assets/2eba973185078bc8.woff +0 -0
  48. package/dist/assets/334d3f6bc766c516.woff +0 -0
  49. package/dist/assets/34ff7dd0c2285956.svg +0 -1
  50. package/dist/assets/3d26b7c1ab78bbe2.woff +0 -0
  51. package/dist/assets/3d892965ab4f1cbb.woff2 +0 -0
  52. package/dist/assets/3f8c4cc8099e34b6.woff2 +0 -0
  53. package/dist/assets/3fc09a6113184f16.woff +0 -0
  54. package/dist/assets/40a0e53b79ce63c6.woff2 +0 -0
  55. package/dist/assets/41275bcb979cb650.svg +0 -1
  56. package/dist/assets/434f7982590e462f.woff +0 -0
  57. package/dist/assets/475937116ee3314a.woff2 +0 -0
  58. package/dist/assets/477e1881a0394cc5.woff +0 -0
  59. package/dist/assets/489710fb710e73f0.woff +0 -0
  60. package/dist/assets/49791943b3872376.woff2 +0 -0
  61. package/dist/assets/4ae5f23e0ca888e7.woff2 +0 -0
  62. package/dist/assets/4d7a77b0e5373992.svg +0 -1
  63. package/dist/assets/4e43c74354534fb3.svg +0 -1
  64. package/dist/assets/4fe75f5117100705.svg +0 -1
  65. package/dist/assets/52e261a005074e1b.woff +0 -0
  66. package/dist/assets/5304c3d05a5f9789.woff2 +0 -0
  67. package/dist/assets/54cda5482c6c9218.woff +0 -0
  68. package/dist/assets/550f52072e8ccafe.woff2 +0 -0
  69. package/dist/assets/572bb1bb4156a9c1.svg +0 -1
  70. package/dist/assets/6075995d7e74da46.woff2 +0 -0
  71. package/dist/assets/617c4736236e199e.woff +0 -0
  72. package/dist/assets/67230f05dc94a265.svg +0 -1
  73. package/dist/assets/6798e4dd4add9b48.svg +0 -1
  74. package/dist/assets/686d4077c1e26876.woff2 +0 -0
  75. package/dist/assets/698ec6c722d4cb05.woff2 +0 -0
  76. package/dist/assets/6a3e73faf406cf33.svg +0 -1
  77. package/dist/assets/72de3a63bc0b70dd.svg +0 -1
  78. package/dist/assets/74c6a6ab81bb6340.woff2 +0 -0
  79. package/dist/assets/74ed5f8a78e71106.svg +0 -1
  80. package/dist/assets/7a5aa5abd625137f.ttf +0 -0
  81. package/dist/assets/7ce0c166fd6a1204.woff +0 -0
  82. package/dist/assets/7d55399c2a7bc985.svg +0 -1
  83. package/dist/assets/7d970675c69fca1d.woff +0 -0
  84. package/dist/assets/7eda727273fd98d3.svg +0 -1
  85. package/dist/assets/7f6ebfd707b76ca2.woff +0 -0
  86. package/dist/assets/7fa898d213fcc7bc.woff2 +0 -0
  87. package/dist/assets/861e6b7192b3b6c7.woff +0 -0
  88. package/dist/assets/8bbcde81ba21ecb2.woff2 +0 -0
  89. package/dist/assets/8f6657e5e0b8d3e4.woff +0 -0
  90. package/dist/assets/910b0d99b9e26568.svg +0 -1
  91. package/dist/assets/91fe94e424323d61.woff +0 -0
  92. package/dist/assets/92508f8707159b51.svg +0 -1
  93. package/dist/assets/9392bf1d591e1abb.svg +0 -1
  94. package/dist/assets/97e8d4984ba0713a.woff2 +0 -0
  95. package/dist/assets/9cb83236f6bb7ab1.svg +0 -1
  96. package/dist/assets/9d37314695c0b68d.woff +0 -0
  97. package/dist/assets/a03cdcd8da5bb987.woff +0 -0
  98. package/dist/assets/a18404194e3f9047.svg +0 -1
  99. package/dist/assets/a2017fe7f0a26510.svg +0 -1
  100. package/dist/assets/ab6e7190bb1492d5.woff2 +0 -0
  101. package/dist/assets/abf88f301a0730f4.svg +0 -1
  102. package/dist/assets/ac1a99b3d05d8232.woff +0 -0
  103. package/dist/assets/aed17cb6fdad2ada.woff2 +0 -0
  104. package/dist/assets/b1a596e31ad1185a.svg +0 -1
  105. package/dist/assets/b27767411c8427be.woff +0 -0
  106. package/dist/assets/b325adcae33bbe7a.svg +0 -1
  107. package/dist/assets/b372390551ca2fa1.svg +0 -1
  108. package/dist/assets/b5bb1e8fc975decd.svg +0 -1
  109. package/dist/assets/b645a4a2181b9dc1.svg +0 -1
  110. package/dist/assets/b6499ddce0a4ef7d.svg +0 -1
  111. package/dist/assets/b7ffde2383bb16ba.woff2 +0 -0
  112. package/dist/assets/b94421fadd23b0f2.svg +0 -1
  113. package/dist/assets/bb28fb0f27f1c11b.svg +0 -1
  114. package/dist/assets/c5195215cb712e9c.woff2 +0 -0
  115. package/dist/assets/c9191b638a10f67b.woff2 +0 -0
  116. package/dist/assets/c97328b91ac5cc66.woff +0 -0
  117. package/dist/assets/ca791c5ca5848a03.svg +0 -1
  118. package/dist/assets/cb32840ce330103f.woff +0 -0
  119. package/dist/assets/ccc878931d74181b.woff2 +0 -0
  120. package/dist/assets/cdc69f8b549c866d.woff2 +0 -0
  121. package/dist/assets/d084bda16abe8a56.svg +0 -1
  122. package/dist/assets/d32b129cae2fffd6.svg +0 -1
  123. package/dist/assets/d35a4c7113315758.woff2 +0 -0
  124. package/dist/assets/d3f792f54ae4c307.svg +0 -1
  125. package/dist/assets/d5a5b8630120073d.svg +0 -1
  126. package/dist/assets/d5eb20bcdcf5616a.woff2 +0 -0
  127. package/dist/assets/d5f9664ebbfb104b.svg +0 -1
  128. package/dist/assets/d84247b59449dd88.woff2 +0 -0
  129. package/dist/assets/da4b7f5883fe7743.woff2 +0 -0
  130. package/dist/assets/dceaf3b39091e6a4.woff +0 -0
  131. package/dist/assets/dd05d43ff0df2fc7.svg +0 -1
  132. package/dist/assets/e2ad5b3428289141.woff +0 -0
  133. package/dist/assets/e38acaa1757232e0.svg +0 -1
  134. package/dist/assets/e4a8550f1c7ffe36.svg +0 -1
  135. package/dist/assets/e5adb5ae3a3698f6.svg +0 -1
  136. package/dist/assets/e61a1889bac955f4.woff2 +0 -0
  137. package/dist/assets/e72bb11356af94c7.svg +0 -1
  138. package/dist/assets/e98196a9f8dcb2f0.svg +0 -1
  139. package/dist/assets/ebec912a42ad49ff.woff +0 -0
  140. package/dist/assets/ee6983981ffcbb41.woff2 +0 -0
  141. package/dist/assets/f09d89268e4c0317.svg +0 -1
  142. package/dist/assets/f239394367fcf005.woff2 +0 -0
  143. package/dist/assets/f5722262b6e7214e.woff2 +0 -0
  144. package/dist/assets/f7fc8bf46089d8b2.svg +0 -1
  145. package/dist/assets/fc829e3f399b70e0.woff2 +0 -0
  146. package/dist/assets/fe141d99763f5d2b.woff +0 -0
  147. package/dist/assets/fed13b0d59903483.svg +0 -1
  148. package/dist/assets/fed757d2c2344ead.woff2 +0 -0
  149. package/dist/assets/ffc438f20e79ce73.woff +0 -0
  150. package/dist/core/plugins/modularity/loader-mf.d.ts +0 -17
  151. package/dist/core/plugins/modularity/loader-mf.d.ts.map +0 -1
  152. package/dist/framework.css +0 -9
  153. package/dist/framework.js +0 -32777
  154. package/dist/ui/components/molecules/vc-select/composables/useSelectDefaultValue.d.ts +0 -16
  155. package/dist/ui/components/molecules/vc-select/composables/useSelectDefaultValue.d.ts.map +0 -1
  156. package/dist/ui/components/molecules/vc-select/composables/useSelectOptions.d.ts +0 -19
  157. package/dist/ui/components/molecules/vc-select/composables/useSelectOptions.d.ts.map +0 -1
  158. package/dist/ui/components/molecules/vc-select/composables/useSelectSearch.d.ts +0 -23
  159. package/dist/ui/components/molecules/vc-select/composables/useSelectSearch.d.ts.map +0 -1
  160. package/dist/vendor-boolbase-DYkUBG-P.js +0 -18
  161. package/dist/vendor-cheerio-DE71XQ9x.js +0 -1053
  162. package/dist/vendor-cheerio-select-D-qK1Cpo.js +0 -191
  163. package/dist/vendor-css-select-DqoO1-RK.js +0 -622
  164. package/dist/vendor-css-what-CZZaquJM.js +0 -267
  165. package/dist/vendor-cypress-signalr-mock-itnm2wpA.js +0 -781
  166. package/dist/vendor-d3-array-9cpTrqlO.js +0 -149
  167. package/dist/vendor-d3-axis-D1_DbKLz.js +0 -74
  168. package/dist/vendor-d3-brush-CcKeJp9e.js +0 -1
  169. package/dist/vendor-d3-color-BOYE6h_9.js +0 -306
  170. package/dist/vendor-d3-dispatch-fx-WMg0D.js +0 -64
  171. package/dist/vendor-d3-ease-Cr34gv04.js +0 -8
  172. package/dist/vendor-d3-format-DaIwZvFc.js +0 -182
  173. package/dist/vendor-d3-interpolate-BYG2gvO4.js +0 -177
  174. package/dist/vendor-d3-interpolate-path-CpGLvKgS.js +0 -299
  175. package/dist/vendor-d3-path-DJOTitNW.js +0 -64
  176. package/dist/vendor-d3-scale-CC5rtdt5.js +0 -561
  177. package/dist/vendor-d3-selection-CNMxsYiL.js +0 -603
  178. package/dist/vendor-d3-shape-DBhCDMiV.js +0 -925
  179. package/dist/vendor-d3-time-DAPP210_.js +0 -212
  180. package/dist/vendor-d3-time-format-hD7iE2WG.js +0 -491
  181. package/dist/vendor-d3-timer-C1cUWKPz.js +0 -67
  182. package/dist/vendor-d3-transition-BbNQT7qF.js +0 -524
  183. package/dist/vendor-d3-zoom-CcKeJp9e.js +0 -1
  184. package/dist/vendor-date-fns-BKO3x1R1.js +0 -3102
  185. package/dist/vendor-dom-serializer-BbVuF1MQ.js +0 -213
  186. package/dist/vendor-domelementtype-B3sFIGaC.js +0 -21
  187. package/dist/vendor-domhandler-Kufn9M_V.js +0 -311
  188. package/dist/vendor-dompurify-M2Bspgo5.js +0 -553
  189. package/dist/vendor-domutils-DDRq_ial.js +0 -386
  190. package/dist/vendor-emotion-cache-eEZT5l-Q.js +0 -274
  191. package/dist/vendor-emotion-hash-DImMRhyK.js +0 -22
  192. package/dist/vendor-emotion-memoize-BcEUCz8q.js +0 -9
  193. package/dist/vendor-emotion-serialize-BSDW8NwU.js +0 -123
  194. package/dist/vendor-emotion-sheet-CS8ZBl9s.js +0 -44
  195. package/dist/vendor-emotion-unitless-B7u1PU6w.js +0 -53
  196. package/dist/vendor-emotion-utils-D7refZTM.js +0 -28
  197. package/dist/vendor-entities-J86Og8IU.js +0 -364
  198. package/dist/vendor-floating-ui-core-BoHdh92a.js +0 -432
  199. package/dist/vendor-floating-ui-dom-BvVXFZ4B.js +0 -398
  200. package/dist/vendor-floating-ui-utils-CidJRIm2.js +0 -257
  201. package/dist/vendor-floating-ui-vue-sCrhit51.js +0 -121
  202. package/dist/vendor-gridstack-Dkfw452e.js +0 -3390
  203. package/dist/vendor-headlessui-vue-Cn-RMs4E.js +0 -961
  204. package/dist/vendor-htmlparser2-BxKKzWLL.js +0 -735
  205. package/dist/vendor-internmap-Q5729_cS.js +0 -35
  206. package/dist/vendor-intlify-core-base-BmIo1dK4.js +0 -1141
  207. package/dist/vendor-intlify-message-compiler-D9VOavkL.js +0 -960
  208. package/dist/vendor-intlify-shared-SCAs3ybf.js +0 -144
  209. package/dist/vendor-iso-639-1-BEjYyfKo.js +0 -784
  210. package/dist/vendor-juggle-resize-observer-DiSiNbbT.js +0 -286
  211. package/dist/vendor-linkify-it-LzoUhj6C.js +0 -199
  212. package/dist/vendor-linkifyjs-dCH9UYes.js +0 -701
  213. package/dist/vendor-lodash-es-Bz6MMQuN.js +0 -4818
  214. package/dist/vendor-lucide-vue-next-CPgeDcFj.js +0 -33093
  215. package/dist/vendor-markdown-it-Bs9KEWkF.js +0 -2266
  216. package/dist/vendor-markdown-it-task-lists-CHKeJZfk.js +0 -69
  217. package/dist/vendor-mdurl-DZFDNdqC.js +0 -192
  218. package/dist/vendor-microsoft-applicationinsights-analytics-js-DFu_cVaY.js +0 -1207
  219. package/dist/vendor-microsoft-applicationinsights-cfgsync-js-DRQLN2Ue.js +0 -261
  220. package/dist/vendor-microsoft-applicationinsights-channel-js-BIJDcP3D.js +0 -1822
  221. package/dist/vendor-microsoft-applicationinsights-common-CJjmnDMb.js +0 -1921
  222. package/dist/vendor-microsoft-applicationinsights-core-js-BOc_o46i.js +0 -4276
  223. package/dist/vendor-microsoft-applicationinsights-dependencies-js-DDz502id.js +0 -1407
  224. package/dist/vendor-microsoft-applicationinsights-properties-js-9aDWHwXJ.js +0 -572
  225. package/dist/vendor-microsoft-applicationinsights-shims-Dton8Vqy.js +0 -43
  226. package/dist/vendor-microsoft-applicationinsights-web-DTa5YN-h.js +0 -487
  227. package/dist/vendor-microsoft-dynamicproto-js-89GEKjvR.js +0 -147
  228. package/dist/vendor-microsoft-signalr-Bgpbb4fW.js +0 -1761
  229. package/dist/vendor-module-federation-enhanced-CV1CNdJy.js +0 -22
  230. package/dist/vendor-module-federation-error-codes-DdVwX11j.js +0 -55
  231. package/dist/vendor-module-federation-runtime-CVH_lWgu.js +0 -91
  232. package/dist/vendor-module-federation-runtime-core-D5G-s9nP.js +0 -2202
  233. package/dist/vendor-module-federation-runtime-tools-CQbtw-RJ.js +0 -18
  234. package/dist/vendor-module-federation-sdk-DM4AJRa7.js +0 -683
  235. package/dist/vendor-nevware21-ts-async-D4qa7g-U.js +0 -261
  236. package/dist/vendor-nevware21-ts-utils-DII8jruI.js +0 -853
  237. package/dist/vendor-nth-check-D0N1qpsw.js +0 -45
  238. package/dist/vendor-orderedmap-B3SOk52B.js +0 -103
  239. package/dist/vendor-parse5-htmlparser2-tree-adapter-BUDJ887-.js +0 -143
  240. package/dist/vendor-parse5-zq5Hn0y9.js +0 -5749
  241. package/dist/vendor-prettier-DeqUTTnE.js +0 -5215
  242. package/dist/vendor-prosemirror-commands-Bv4ChObl.js +0 -385
  243. package/dist/vendor-prosemirror-dropcursor-kF5UKNFM.js +0 -86
  244. package/dist/vendor-prosemirror-gapcursor-S3ikcYX6.js +0 -203
  245. package/dist/vendor-prosemirror-history-CQYKHz3u.js +0 -248
  246. package/dist/vendor-prosemirror-keymap-CAfQyvJ7.js +0 -62
  247. package/dist/vendor-prosemirror-markdown-rpUTSG_Q.js +0 -663
  248. package/dist/vendor-prosemirror-model-DAA3avbR.js +0 -2730
  249. package/dist/vendor-prosemirror-schema-list-BNJkECdS.js +0 -87
  250. package/dist/vendor-prosemirror-state-IeimrELV.js +0 -821
  251. package/dist/vendor-prosemirror-tables-zVUKdbdQ.js +0 -1414
  252. package/dist/vendor-prosemirror-transform-BUjWd5Tb.js +0 -1525
  253. package/dist/vendor-prosemirror-view-DFpBkGRq.js +0 -3794
  254. package/dist/vendor-punycode-js-CgGegfA_.js +0 -133
  255. package/dist/vendor-rope-sequence-BWC2FSrq.js +0 -100
  256. package/dist/vendor-semver-Dar8oU3V.js +0 -1023
  257. package/dist/vendor-striptags-DtlgQudQ.js +0 -120
  258. package/dist/vendor-stylis-ClfDrgKE.js +0 -334
  259. package/dist/vendor-swiper-1bp0oJwt.js +0 -3387
  260. package/dist/vendor-tanstack-vue-virtual-CD9yLWd7.js +0 -1
  261. package/dist/vendor-throttle-debounce-CX0imT7m.js +0 -28
  262. package/dist/vendor-tiptap-core-CDScflP1.js +0 -3921
  263. package/dist/vendor-tiptap-extension-blockquote-ChRAwuus.js +0 -55
  264. package/dist/vendor-tiptap-extension-bold-BwoVpOFS.js +0 -74
  265. package/dist/vendor-tiptap-extension-code-DOlgG3ih.js +0 -52
  266. package/dist/vendor-tiptap-extension-code-block-CMeTs87s.js +0 -215
  267. package/dist/vendor-tiptap-extension-document-DO8oly70.js +0 -12
  268. package/dist/vendor-tiptap-extension-hard-break-BgDl2sHf.js +0 -59
  269. package/dist/vendor-tiptap-extension-heading-DFuYlwHi.js +0 -63
  270. package/dist/vendor-tiptap-extension-horizontal-rule-uyfttMp9.js +0 -56
  271. package/dist/vendor-tiptap-extension-image-DPeBaTE3.js +0 -128
  272. package/dist/vendor-tiptap-extension-italic-C9-3jNxO.js +0 -73
  273. package/dist/vendor-tiptap-extension-link-B57VzStq.js +0 -312
  274. package/dist/vendor-tiptap-extension-list-spvOF7Mz.js +0 -722
  275. package/dist/vendor-tiptap-extension-paragraph-Cj7auQB7.js +0 -44
  276. package/dist/vendor-tiptap-extension-placeholder-DhwvmZ6Y.js +0 -1
  277. package/dist/vendor-tiptap-extension-strike-yj6UvnkO.js +0 -64
  278. package/dist/vendor-tiptap-extension-table-cell-CQpTPSvF.js +0 -1
  279. package/dist/vendor-tiptap-extension-table-ex1kZQ-9.js +0 -374
  280. package/dist/vendor-tiptap-extension-table-header-CQpTPSvF.js +0 -1
  281. package/dist/vendor-tiptap-extension-table-row-CQpTPSvF.js +0 -1
  282. package/dist/vendor-tiptap-extension-text-C8FG4KnI.js +0 -13
  283. package/dist/vendor-tiptap-extension-text-style-DsQDXowp.js +0 -235
  284. package/dist/vendor-tiptap-extension-underline-HB3fg6Dc.js +0 -65
  285. package/dist/vendor-tiptap-extensions-CUGwjzl5.js +0 -296
  286. package/dist/vendor-tiptap-markdown-BTXJw7Bt.js +0 -826
  287. package/dist/vendor-tiptap-pm-DSHuSumV.js +0 -1
  288. package/dist/vendor-tiptap-starter-kit-C42PcJ7J.js +0 -28
  289. package/dist/vendor-tiptap-vue-3-BxWCzu9Z.js +0 -157
  290. package/dist/vendor-truncate-html-ChA1T5zy.js +0 -145
  291. package/dist/vendor-uc-micro-4lbSaZOs.js +0 -17
  292. package/dist/vendor-unovis-ts-stSsHr9j.js +0 -2382
  293. package/dist/vendor-unovis-vue-CZWGT3-0.js +0 -446
  294. package/dist/vendor-vee-validate-i18n-zT8NxX3R.js +0 -93
  295. package/dist/vendor-vee-validate-rules-4oWUZPpG.js +0 -316
  296. package/dist/vendor-vue-currency-input-CckB4kjx.js +0 -317
  297. package/dist/vendor-vue-demi-CD9yLWd7.js +0 -1
  298. package/dist/vendor-vue-devtools-api-aVYGocXp.js +0 -93
  299. package/dist/vendor-vue-i18n-DeO9Fa9I.js +0 -1387
  300. package/dist/vendor-vue-router-R3V0tq8_.js +0 -6
  301. package/dist/vendor-vue3-application-insights-BmJCYUcp.js +0 -69
  302. package/dist/vendor-vue3-touch-events-DqysuuWh.js +0 -169
  303. package/dist/vendor-vuepic-vue-datepicker-CaZ_qpJp.js +0 -4998
  304. package/dist/vendor-vueuse-components-2jDVoLeo.js +0 -542
  305. package/dist/vendor-vueuse-core-CLhzVQ31.js +0 -5133
  306. package/dist/vendor-vueuse-shared-DMVXjSeM.js +0 -1169
  307. package/dist/vendor-w3c-keyname-CLxH8j-f.js +0 -92
  308. package/dist/vendor-web-vitals-vrpLO1bu.js +0 -207
@@ -1,2202 +0,0 @@
1
- import { r as D } from "./vendor-module-federation-sdk-DM4AJRa7.js";
2
- import { r as ee } from "./vendor-module-federation-error-codes-DdVwX11j.js";
3
- var Se = {}, Z = {}, Le;
4
- function L() {
5
- if (Le) return Z;
6
- Le = 1;
7
- let a = /* @__PURE__ */ D();
8
- const l = "[ Federation Runtime ]", y = (0, a.createLogger)(l);
9
- function p(u, m) {
10
- u || _(m);
11
- }
12
- function _(u) {
13
- throw u instanceof Error ? (u.message.startsWith(l) || (u.message = `${l}: ${u.message}`), u) : new Error(`${l}: ${u}`);
14
- }
15
- function g(u) {
16
- u instanceof Error && (u.message.startsWith(l) || (u.message = `${l}: ${u.message}`)), y.warn(u);
17
- }
18
- return Z.assert = p, Z.error = _, Z.logger = y, Z.warn = g, Z;
19
- }
20
- var F = {}, Ce;
21
- function B() {
22
- if (Ce) return F;
23
- Ce = 1;
24
- const a = L();
25
- let l = /* @__PURE__ */ D();
26
- function y(o, r) {
27
- return o.findIndex((i) => i === r) === -1 && o.push(r), o;
28
- }
29
- function p(o) {
30
- return "version" in o && o.version ? `${o.name}:${o.version}` : "entry" in o && o.entry ? `${o.name}:${o.entry}` : `${o.name}`;
31
- }
32
- function _(o) {
33
- return typeof o.entry < "u";
34
- }
35
- function g(o) {
36
- return !o.entry.includes(".json");
37
- }
38
- async function u(o, r) {
39
- try {
40
- return await o();
41
- } catch (i) {
42
- !r && a.warn(i);
43
- return;
44
- }
45
- }
46
- function m(o) {
47
- return o && typeof o == "object";
48
- }
49
- const T = Object.prototype.toString;
50
- function f(o) {
51
- return T.call(o) === "[object Object]";
52
- }
53
- function S(o, r) {
54
- const i = /^(https?:)?\/\//i;
55
- return o.replace(i, "").replace(/\/$/, "") === r.replace(i, "").replace(/\/$/, "");
56
- }
57
- function e(o) {
58
- return Array.isArray(o) ? o : [o];
59
- }
60
- function E(o) {
61
- const r = {
62
- url: "",
63
- type: "global",
64
- globalName: ""
65
- };
66
- return (0, l.isBrowserEnv)() || (0, l.isReactNativeEnv)() || !("ssrRemoteEntry" in o) ? "remoteEntry" in o ? {
67
- url: o.remoteEntry,
68
- type: o.remoteEntryType,
69
- globalName: o.globalName
70
- } : r : "ssrRemoteEntry" in o ? {
71
- url: o.ssrRemoteEntry || r.url,
72
- type: o.ssrRemoteEntryType || r.type,
73
- globalName: o.globalName
74
- } : r;
75
- }
76
- const k = (o, r) => {
77
- let i;
78
- return o.endsWith("/") ? i = o.slice(0, -1) : i = o, r.startsWith(".") && (r = r.slice(1)), i = i + r, i;
79
- };
80
- return F.addUniqueItem = y, F.arrayOptions = e, F.getFMId = p, F.getRemoteEntryInfoFromSnapshot = E, F.isObject = m, F.isPlainObject = f, F.isPureRemoteEntry = g, F.isRemoteInfoWithEntry = _, F.isStaticResourcesEqual = S, F.objectToString = T, F.processModuleAlias = k, F.safeWrapper = u, F;
81
- }
82
- var G = {}, Fe;
83
- function K() {
84
- if (Fe) return G;
85
- Fe = 1;
86
- const a = L(), l = B();
87
- let y = /* @__PURE__ */ D();
88
- const p = typeof globalThis == "object" ? globalThis : window, _ = (() => {
89
- try {
90
- return document.defaultView;
91
- } catch {
92
- return p;
93
- }
94
- })(), g = _;
95
- function u(s, b, R) {
96
- Object.defineProperty(s, b, {
97
- value: R,
98
- configurable: !1,
99
- writable: !0
100
- });
101
- }
102
- function m(s, b) {
103
- return Object.hasOwnProperty.call(s, b);
104
- }
105
- m(p, "__GLOBAL_LOADING_REMOTE_ENTRY__") || u(p, "__GLOBAL_LOADING_REMOTE_ENTRY__", {});
106
- const T = p.__GLOBAL_LOADING_REMOTE_ENTRY__;
107
- function f(s) {
108
- m(s, "__VMOK__") && !m(s, "__FEDERATION__") && u(s, "__FEDERATION__", s.__VMOK__), m(s, "__FEDERATION__") || (u(s, "__FEDERATION__", {
109
- __GLOBAL_PLUGIN__: [],
110
- __INSTANCES__: [],
111
- moduleInfo: {},
112
- __SHARE__: {},
113
- __MANIFEST_LOADING__: {},
114
- __PRELOADED_MAP__: /* @__PURE__ */ new Map()
115
- }), u(s, "__VMOK__", s.__FEDERATION__)), s.__FEDERATION__.__GLOBAL_PLUGIN__ ??= [], s.__FEDERATION__.__INSTANCES__ ??= [], s.__FEDERATION__.moduleInfo ??= {}, s.__FEDERATION__.__SHARE__ ??= {}, s.__FEDERATION__.__MANIFEST_LOADING__ ??= {}, s.__FEDERATION__.__PRELOADED_MAP__ ??= /* @__PURE__ */ new Map();
116
- }
117
- f(p), f(_);
118
- function S() {
119
- p.__FEDERATION__.__GLOBAL_PLUGIN__ = [], p.__FEDERATION__.__INSTANCES__ = [], p.__FEDERATION__.moduleInfo = {}, p.__FEDERATION__.__SHARE__ = {}, p.__FEDERATION__.__MANIFEST_LOADING__ = {}, Object.keys(T).forEach((s) => {
120
- delete T[s];
121
- });
122
- }
123
- function e(s) {
124
- p.__FEDERATION__.__INSTANCES__.push(s);
125
- }
126
- function E() {
127
- return p.__FEDERATION__.__DEBUG_CONSTRUCTOR__;
128
- }
129
- function k(s, b = (0, y.isDebugMode)()) {
130
- b && (p.__FEDERATION__.__DEBUG_CONSTRUCTOR__ = s, p.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__ = "2.1.0");
131
- }
132
- function o(s, b) {
133
- if (typeof b == "string") {
134
- if (s[b]) return {
135
- value: s[b],
136
- key: b
137
- };
138
- {
139
- const R = Object.keys(s);
140
- for (const q of R) {
141
- const [$, H] = q.split(":"), P = `${$}:${b}`, O = s[P];
142
- if (O) return {
143
- value: O,
144
- key: P
145
- };
146
- }
147
- return {
148
- value: void 0,
149
- key: b
150
- };
151
- }
152
- } else throw new Error("key must be string");
153
- }
154
- const r = () => _.__FEDERATION__.moduleInfo, i = (s, b) => {
155
- const R = o(b, l.getFMId(s)).value;
156
- if (R && !R.version && "version" in s && s.version && (R.version = s.version), R) return R;
157
- if ("version" in s && s.version) {
158
- const { version: q, ...$ } = s, H = l.getFMId($), P = o(_.__FEDERATION__.moduleInfo, H).value;
159
- if (P?.version === q) return P;
160
- }
161
- }, n = (s) => i(s, _.__FEDERATION__.moduleInfo), d = (s, b) => {
162
- const R = l.getFMId(s);
163
- return _.__FEDERATION__.moduleInfo[R] = b, _.__FEDERATION__.moduleInfo;
164
- }, v = (s) => (_.__FEDERATION__.moduleInfo = {
165
- ..._.__FEDERATION__.moduleInfo,
166
- ...s
167
- }, () => {
168
- const b = Object.keys(s);
169
- for (const R of b) delete _.__FEDERATION__.moduleInfo[R];
170
- }), A = (s, b) => {
171
- const R = b || `__FEDERATION_${s}:custom__`;
172
- return {
173
- remoteEntryKey: R,
174
- entryExports: p[R]
175
- };
176
- }, c = (s) => {
177
- const { __GLOBAL_PLUGIN__: b } = _.__FEDERATION__;
178
- s.forEach((R) => {
179
- b.findIndex((q) => q.name === R.name) === -1 ? b.push(R) : a.warn(`The plugin ${R.name} has been registered.`);
180
- });
181
- }, h = () => _.__FEDERATION__.__GLOBAL_PLUGIN__, t = (s) => p.__FEDERATION__.__PRELOADED_MAP__.get(s), I = (s) => p.__FEDERATION__.__PRELOADED_MAP__.set(s, !0);
182
- return G.CurrentGlobal = p, G.Global = g, G.addGlobalSnapshot = v, G.getGlobalFederationConstructor = E, G.getGlobalHostPlugins = h, G.getGlobalSnapshot = r, G.getGlobalSnapshotInfoByModuleInfo = n, G.getInfoWithoutType = o, G.getPreloaded = t, G.getRemoteEntryExports = A, G.getTargetSnapshotInfoByModuleInfo = i, G.globalLoading = T, G.nativeGlobal = _, G.registerGlobalPlugins = c, G.resetFederationGlobalInfo = S, G.setGlobalFederationConstructor = k, G.setGlobalFederationInstance = e, G.setGlobalSnapshotInfoByModuleInfo = d, G.setPreloaded = I, G;
183
- }
184
- var Ee = {}, z = {}, W = {}, De;
185
- function yt() {
186
- if (De) return W;
187
- De = 1;
188
- const a = "[0-9A-Za-z-]+", l = `(?:\\+(${a}(?:\\.${a})*))`, y = "0|[1-9]\\d*", p = "[0-9]+", _ = "\\d*[a-zA-Z-][a-zA-Z0-9-]*", g = `(?:${p}|${_})`, u = `(?:-?(${g}(?:\\.${g})*))`, m = `(?:${y}|${_})`, T = `(?:-(${m}(?:\\.${m})*))`, f = `${y}|x|X|\\*`, S = `[v=\\s]*(${f})(?:\\.(${f})(?:\\.(${f})(?:${T})?${l}?)?)?`, e = `^\\s*(${S})\\s+-\\s+(${S})\\s*$`, E = `[v=\\s]*${`(${p})\\.(${p})\\.(${p})`}${u}?${l}?`, k = "((?:<|>)?=?)", o = `(\\s*)${k}\\s*(${E}|${S})`, r = "(?:~>?)", i = `(\\s*)${r}\\s+`, n = "(?:\\^)", d = `(\\s*)${n}\\s+`, v = "(<|>)?=?\\s*\\*", A = `^${n}${S}$`, c = `v?${`(${y})\\.(${y})\\.(${y})`}${T}?${l}?`, h = `^${r}${S}$`, t = `^${k}\\s*${S}$`, I = `^${k}\\s*(${c})$|^$`, s = "^\\s*>=\\s*0.0.0\\s*$";
189
- return W.caret = A, W.caretTrim = d, W.comparator = I, W.comparatorTrim = o, W.gte0 = s, W.hyphenRange = e, W.star = v, W.tilde = h, W.tildeTrim = i, W.xRange = t, W;
190
- }
191
- var xe;
192
- function St() {
193
- if (xe) return z;
194
- xe = 1;
195
- const a = yt();
196
- function l(u) {
197
- return new RegExp(u);
198
- }
199
- function y(u) {
200
- return !u || u.toLowerCase() === "x" || u === "*";
201
- }
202
- function p(...u) {
203
- return (m) => u.reduce((T, f) => f(T), m);
204
- }
205
- function _(u) {
206
- return u.match(l(a.comparator));
207
- }
208
- function g(u, m, T, f) {
209
- const S = `${u}.${m}.${T}`;
210
- return f ? `${S}-${f}` : S;
211
- }
212
- return z.combineVersion = g, z.extractComparator = _, z.isXVersion = y, z.parseRegex = l, z.pipe = p, z;
213
- }
214
- var U = {}, We;
215
- function kt() {
216
- if (We) return U;
217
- We = 1;
218
- const a = yt(), l = St();
219
- function y(e) {
220
- return e.replace(l.parseRegex(a.hyphenRange), (E, k, o, r, i, n, d, v, A, c, h, t) => (l.isXVersion(o) ? k = "" : l.isXVersion(r) ? k = `>=${o}.0.0` : l.isXVersion(i) ? k = `>=${o}.${r}.0` : k = `>=${k}`, l.isXVersion(A) ? v = "" : l.isXVersion(c) ? v = `<${Number(A) + 1}.0.0-0` : l.isXVersion(h) ? v = `<${A}.${Number(c) + 1}.0-0` : t ? v = `<=${A}.${c}.${h}-${t}` : v = `<=${v}`, `${k} ${v}`.trim()));
221
- }
222
- function p(e) {
223
- return e.replace(l.parseRegex(a.comparatorTrim), "$1$2$3");
224
- }
225
- function _(e) {
226
- return e.replace(l.parseRegex(a.tildeTrim), "$1~");
227
- }
228
- function g(e) {
229
- return e.replace(l.parseRegex(a.caretTrim), "$1^");
230
- }
231
- function u(e) {
232
- return e.trim().split(/\s+/).map((E) => E.replace(l.parseRegex(a.caret), (k, o, r, i, n) => l.isXVersion(o) ? "" : l.isXVersion(r) ? `>=${o}.0.0 <${Number(o) + 1}.0.0-0` : l.isXVersion(i) ? o === "0" ? `>=${o}.${r}.0 <${o}.${Number(r) + 1}.0-0` : `>=${o}.${r}.0 <${Number(o) + 1}.0.0-0` : n ? o === "0" ? r === "0" ? `>=${o}.${r}.${i}-${n} <${o}.${r}.${Number(i) + 1}-0` : `>=${o}.${r}.${i}-${n} <${o}.${Number(r) + 1}.0-0` : `>=${o}.${r}.${i}-${n} <${Number(o) + 1}.0.0-0` : o === "0" ? r === "0" ? `>=${o}.${r}.${i} <${o}.${r}.${Number(i) + 1}-0` : `>=${o}.${r}.${i} <${o}.${Number(r) + 1}.0-0` : `>=${o}.${r}.${i} <${Number(o) + 1}.0.0-0`)).join(" ");
233
- }
234
- function m(e) {
235
- return e.trim().split(/\s+/).map((E) => E.replace(l.parseRegex(a.tilde), (k, o, r, i, n) => l.isXVersion(o) ? "" : l.isXVersion(r) ? `>=${o}.0.0 <${Number(o) + 1}.0.0-0` : l.isXVersion(i) ? `>=${o}.${r}.0 <${o}.${Number(r) + 1}.0-0` : n ? `>=${o}.${r}.${i}-${n} <${o}.${Number(r) + 1}.0-0` : `>=${o}.${r}.${i} <${o}.${Number(r) + 1}.0-0`)).join(" ");
236
- }
237
- function T(e) {
238
- return e.split(/\s+/).map((E) => E.trim().replace(l.parseRegex(a.xRange), (k, o, r, i, n, d) => {
239
- const v = l.isXVersion(r), A = v || l.isXVersion(i), c = A || l.isXVersion(n);
240
- return o === "=" && c && (o = ""), d = "", v ? o === ">" || o === "<" ? "<0.0.0-0" : "*" : o && c ? (A && (i = 0), n = 0, o === ">" ? (o = ">=", A ? (r = Number(r) + 1, i = 0, n = 0) : (i = Number(i) + 1, n = 0)) : o === "<=" && (o = "<", A ? r = Number(r) + 1 : i = Number(i) + 1), o === "<" && (d = "-0"), `${o + r}.${i}.${n}${d}`) : A ? `>=${r}.0.0${d} <${Number(r) + 1}.0.0-0` : c ? `>=${r}.${i}.0${d} <${r}.${Number(i) + 1}.0-0` : k;
241
- })).join(" ");
242
- }
243
- function f(e) {
244
- return e.trim().replace(l.parseRegex(a.star), "");
245
- }
246
- function S(e) {
247
- return e.trim().replace(l.parseRegex(a.gte0), "");
248
- }
249
- return U.parseCaretTrim = g, U.parseCarets = u, U.parseComparatorTrim = p, U.parseGTE0 = S, U.parseHyphen = y, U.parseStar = f, U.parseTildeTrim = _, U.parseTildes = m, U.parseXRanges = T, U;
250
- }
251
- var be = {}, Ue;
252
- function Tt() {
253
- if (Ue) return be;
254
- Ue = 1;
255
- function a(g, u) {
256
- return g = Number(g) || g, u = Number(u) || u, g > u ? 1 : g === u ? 0 : -1;
257
- }
258
- function l(g, u) {
259
- const { preRelease: m } = g, { preRelease: T } = u;
260
- if (m === void 0 && T) return 1;
261
- if (m && T === void 0) return -1;
262
- if (m === void 0 && T === void 0) return 0;
263
- for (let f = 0, S = m.length; f <= S; f++) {
264
- const e = m[f], E = T[f];
265
- if (e !== E)
266
- return e === void 0 && E === void 0 ? 0 : e ? E ? a(e, E) : -1 : 1;
267
- }
268
- return 0;
269
- }
270
- function y(g, u) {
271
- return a(g.major, u.major) || a(g.minor, u.minor) || a(g.patch, u.patch) || l(g, u);
272
- }
273
- function p(g, u) {
274
- return g.version === u.version;
275
- }
276
- function _(g, u) {
277
- switch (g.operator) {
278
- case "":
279
- case "=":
280
- return p(g, u);
281
- case ">":
282
- return y(g, u) < 0;
283
- case ">=":
284
- return p(g, u) || y(g, u) < 0;
285
- case "<":
286
- return y(g, u) > 0;
287
- case "<=":
288
- return p(g, u) || y(g, u) > 0;
289
- case void 0:
290
- return !0;
291
- default:
292
- return !1;
293
- }
294
- }
295
- return be.compare = _, be;
296
- }
297
- var Be;
298
- function Et() {
299
- if (Be) return Ee;
300
- Be = 1;
301
- const a = St(), l = kt(), y = Tt();
302
- function p(u) {
303
- return a.pipe(l.parseCarets, l.parseTildes, l.parseXRanges, l.parseStar)(u);
304
- }
305
- function _(u) {
306
- return a.pipe(l.parseHyphen, l.parseComparatorTrim, l.parseTildeTrim, l.parseCaretTrim)(u.trim()).split(/\s+/).join(" ");
307
- }
308
- function g(u, m) {
309
- if (!u) return !1;
310
- const T = a.extractComparator(u);
311
- if (!T) return !1;
312
- const [, f, , S, e, E, k] = T, o = {
313
- operator: f,
314
- version: a.combineVersion(S, e, E, k),
315
- major: S,
316
- minor: e,
317
- patch: E,
318
- preRelease: k?.split(".")
319
- }, r = m.split("||");
320
- for (const i of r) {
321
- const n = i.trim();
322
- if (!n || n === "*" || n === "x") return !0;
323
- try {
324
- const d = _(n);
325
- if (!d.trim()) return !0;
326
- const v = d.split(" ").map((h) => p(h)).join(" ");
327
- if (!v.trim()) return !0;
328
- const A = v.split(/\s+/).map((h) => l.parseGTE0(h)).filter(Boolean);
329
- if (A.length === 0) continue;
330
- let c = !0;
331
- for (const h of A) {
332
- const t = a.extractComparator(h);
333
- if (!t) {
334
- c = !1;
335
- break;
336
- }
337
- const [, I, , s, b, R, q] = t;
338
- if (!y.compare({
339
- operator: I,
340
- version: a.combineVersion(s, b, R, q),
341
- major: s,
342
- minor: b,
343
- patch: R,
344
- preRelease: q?.split(".")
345
- }, o)) {
346
- c = !1;
347
- break;
348
- }
349
- }
350
- if (c) return !0;
351
- } catch (d) {
352
- console.error(`[semver] Error processing range part "${n}":`, d);
353
- continue;
354
- }
355
- }
356
- return !1;
357
- }
358
- return Ee.satisfy = g, Ee;
359
- }
360
- var j = {}, de = {}, Ve;
361
- function se() {
362
- if (Ve) return de;
363
- Ve = 1;
364
- const a = "default", l = "global";
365
- return de.DEFAULT_REMOTE_TYPE = l, de.DEFAULT_SCOPE = a, de;
366
- }
367
- var je;
368
- function te() {
369
- if (je) return j;
370
- je = 1;
371
- const a = L(), l = B(), y = K(), p = se(), _ = Et();
372
- let g = /* @__PURE__ */ D();
373
- function u(t, I, s, b) {
374
- let R;
375
- if ("get" in t ? R = t.get : "lib" in t ? R = () => Promise.resolve(t.lib) : R = () => Promise.resolve(() => {
376
- throw new Error(`Can not get shared '${s}'!`);
377
- }), t.shareConfig?.eager && t.treeShaking?.mode) throw new Error('Can not set "eager:true" and "treeShaking" at the same time!');
378
- return {
379
- deps: [],
380
- useIn: [],
381
- from: I,
382
- loading: null,
383
- ...t,
384
- shareConfig: {
385
- requiredVersion: `^${t.version}`,
386
- singleton: !1,
387
- eager: !1,
388
- strictVersion: !1,
389
- ...t.shareConfig
390
- },
391
- get: R,
392
- loaded: t?.loaded || "lib" in t ? !0 : void 0,
393
- version: t.version ?? "0",
394
- scope: Array.isArray(t.scope) ? t.scope : [t.scope ?? "default"],
395
- strategy: (t.strategy ?? b) || "version-first",
396
- treeShaking: t.treeShaking ? {
397
- ...t.treeShaking,
398
- mode: t.treeShaking.mode ?? "server-calc",
399
- status: t.treeShaking.status ?? g.TreeShakingStatus.UNKNOWN,
400
- useIn: []
401
- } : void 0
402
- };
403
- }
404
- function m(t, I) {
405
- const s = I.shared || {}, b = I.name, R = Object.keys(s).reduce(($, H) => {
406
- const P = l.arrayOptions(s[H]);
407
- return $[H] = $[H] || [], P.forEach((O) => {
408
- $[H].push(u(O, b, H, I.shareStrategy));
409
- }), $;
410
- }, {}), q = { ...t.shared };
411
- return Object.keys(R).forEach(($) => {
412
- q[$] ? R[$].forEach((H) => {
413
- q[$].find((P) => P.version === H.version) || q[$].push(H);
414
- }) : q[$] = R[$];
415
- }), {
416
- allShareInfos: q,
417
- newShareInfos: R
418
- };
419
- }
420
- function T(t, I) {
421
- if (!t) return !1;
422
- const { status: s, mode: b } = t;
423
- return s === g.TreeShakingStatus.NO_USE ? !1 : s === g.TreeShakingStatus.CALCULATED ? !0 : b === "runtime-infer" ? I ? k(t, I) : !0 : !1;
424
- }
425
- function f(t, I) {
426
- const s = (b) => {
427
- if (!Number.isNaN(Number(b))) {
428
- const R = b.split(".");
429
- let q = b;
430
- for (let $ = 0; $ < 3 - R.length; $++) q += ".0";
431
- return q;
432
- }
433
- return b;
434
- };
435
- return !!_.satisfy(s(t), `<=${s(I)}`);
436
- }
437
- const S = (t, I) => {
438
- const s = I || function(b, R) {
439
- return f(b, R);
440
- };
441
- return Object.keys(t).reduce((b, R) => !b || s(b, R) || b === "0" ? R : b, 0);
442
- }, e = (t) => !!t.loaded || typeof t.lib == "function", E = (t) => !!t.loading, k = (t, I) => {
443
- if (!t || !I) return !1;
444
- const { usedExports: s } = t;
445
- return s ? !!I.every((b) => s.includes(b)) : !1;
446
- };
447
- function o(t, I, s, b) {
448
- const R = t[I][s];
449
- let q = "", $ = T(b);
450
- const H = function(P, O) {
451
- return $ ? R[P].treeShaking ? R[O].treeShaking ? !e(R[P].treeShaking) && f(P, O) : !1 : !0 : !e(R[P]) && f(P, O);
452
- };
453
- if ($) {
454
- if (q = S(t[I][s], H), q) return {
455
- version: q,
456
- useTreesShaking: $
457
- };
458
- $ = !1;
459
- }
460
- return {
461
- version: S(t[I][s], H),
462
- useTreesShaking: $
463
- };
464
- }
465
- const r = (t) => e(t) || E(t);
466
- function i(t, I, s, b) {
467
- const R = t[I][s];
468
- let q = "", $ = T(b);
469
- const H = function(P, O) {
470
- if ($) {
471
- if (!R[P].treeShaking) return !0;
472
- if (!R[O].treeShaking) return !1;
473
- if (r(R[O].treeShaking)) return r(R[P].treeShaking) ? !!f(P, O) : !0;
474
- if (r(R[P].treeShaking)) return !1;
475
- }
476
- return r(R[O]) ? r(R[P]) ? !!f(P, O) : !0 : r(R[P]) ? !1 : f(P, O);
477
- };
478
- if ($) {
479
- if (q = S(t[I][s], H), q) return {
480
- version: q,
481
- useTreesShaking: $
482
- };
483
- $ = !1;
484
- }
485
- return {
486
- version: S(t[I][s], H),
487
- useTreesShaking: $
488
- };
489
- }
490
- function n(t) {
491
- return t === "loaded-first" ? i : o;
492
- }
493
- function d(t, I, s, b) {
494
- if (!t) return;
495
- const { shareConfig: R, scope: q = p.DEFAULT_SCOPE, strategy: $, treeShaking: H } = s, P = Array.isArray(q) ? q : [q];
496
- for (const O of P) if (R && t[O] && t[O][I]) {
497
- const { requiredVersion: N } = R, { version: w, useTreesShaking: M } = n($)(t, O, I, H), x = () => {
498
- const X = t[O][I][w];
499
- if (R.singleton) {
500
- if (typeof N == "string" && !_.satisfy(w, N)) {
501
- const C = `Version ${w} from ${w && X.from} of shared singleton module ${I} does not satisfy the requirement of ${s.from} which needs ${N})`;
502
- R.strictVersion ? a.error(C) : a.warn(C);
503
- }
504
- return {
505
- shared: X,
506
- useTreesShaking: M
507
- };
508
- } else {
509
- if (N === !1 || N === "*") return {
510
- shared: X,
511
- useTreesShaking: M
512
- };
513
- if (_.satisfy(w, N)) return {
514
- shared: X,
515
- useTreesShaking: M
516
- };
517
- const C = T(H);
518
- if (C) {
519
- for (const [oe, fe] of Object.entries(t[O][I]))
520
- if (T(fe.treeShaking, H?.usedExports) && _.satisfy(oe, N))
521
- return {
522
- shared: fe,
523
- useTreesShaking: C
524
- };
525
- }
526
- for (const [oe, fe] of Object.entries(t[O][I])) if (_.satisfy(oe, N)) return {
527
- shared: fe,
528
- useTreesShaking: !1
529
- };
530
- }
531
- }, Y = {
532
- shareScopeMap: t,
533
- scope: O,
534
- pkgName: I,
535
- version: w,
536
- GlobalFederation: y.Global.__FEDERATION__,
537
- shareInfo: s,
538
- resolver: x
539
- };
540
- return (b.emit(Y) || Y).resolver();
541
- }
542
- }
543
- function v() {
544
- return y.Global.__FEDERATION__.__SHARE__;
545
- }
546
- function A(t) {
547
- const { pkgName: I, extraOptions: s, shareInfos: b } = t, R = (P) => {
548
- if (!P) return;
549
- const O = {};
550
- return P.forEach((w) => {
551
- O[w.version] = w;
552
- }), O[S(O, function(w, M) {
553
- return !e(O[w]) && f(w, M);
554
- })];
555
- }, q = s?.resolver ?? R, $ = (P) => P !== null && typeof P == "object" && !Array.isArray(P), H = (...P) => {
556
- const O = {};
557
- for (const N of P)
558
- if (N)
559
- for (const [w, M] of Object.entries(N)) {
560
- const x = O[w];
561
- $(x) && $(M) ? O[w] = H(x, M) : M !== void 0 && (O[w] = M);
562
- }
563
- return O;
564
- };
565
- return H(q(b[I]), s?.customShareInfo);
566
- }
567
- const c = (t, I) => {
568
- t.useIn || (t.useIn = []), l.addUniqueItem(t.useIn, I);
569
- };
570
- function h(t, I) {
571
- return I && t.treeShaking ? t.treeShaking : t;
572
- }
573
- return j.addUseIn = c, j.directShare = h, j.formatShareConfigs = m, j.getGlobalShareScope = v, j.getRegisteredShare = d, j.getTargetSharedOptions = A, j.shouldUseTreeShaking = T, j;
574
- }
575
- var he = {}, Xe;
576
- function ie() {
577
- if (Xe) return he;
578
- Xe = 1;
579
- function a(y, p) {
580
- for (const _ of y) {
581
- const g = p.startsWith(_.name);
582
- let u = p.replace(_.name, "");
583
- if (g) {
584
- if (u.startsWith("/")) {
585
- const f = _.name;
586
- return u = `.${u}`, {
587
- pkgNameOrAlias: f,
588
- expose: u,
589
- remote: _
590
- };
591
- } else if (u === "") return {
592
- pkgNameOrAlias: _.name,
593
- expose: ".",
594
- remote: _
595
- };
596
- }
597
- const m = _.alias && p.startsWith(_.alias);
598
- let T = _.alias && p.replace(_.alias, "");
599
- if (_.alias && m) {
600
- if (T && T.startsWith("/")) {
601
- const f = _.alias;
602
- return T = `.${T}`, {
603
- pkgNameOrAlias: f,
604
- expose: T,
605
- remote: _
606
- };
607
- } else if (T === "") return {
608
- pkgNameOrAlias: _.alias,
609
- expose: ".",
610
- remote: _
611
- };
612
- }
613
- }
614
- }
615
- function l(y, p) {
616
- for (const _ of y)
617
- if (p === _.name || _.alias && p === _.alias) return _;
618
- }
619
- return he.matchRemote = l, he.matchRemoteWithNameAndExpose = a, he;
620
- }
621
- var ne = {}, Ke;
622
- function J() {
623
- if (Ke) return ne;
624
- Ke = 1;
625
- const a = L(), l = K(), y = se();
626
- let p = /* @__PURE__ */ D(), _ = /* @__PURE__ */ ee();
627
- const g = ".then(callbacks[0]).catch(callbacks[1])";
628
- async function u({ entry: r, remoteEntryExports: i }) {
629
- return new Promise((n, d) => {
630
- try {
631
- i ? n(i) : typeof FEDERATION_ALLOW_NEW_FUNCTION < "u" ? new Function("callbacks", `import("${r}")${g}`)([n, d]) : import(
632
- /* webpackIgnore: true */
633
- /* @vite-ignore */
634
- r
635
- ).then(n).catch(d);
636
- } catch (v) {
637
- d(v);
638
- }
639
- });
640
- }
641
- async function m({ entry: r, remoteEntryExports: i }) {
642
- return new Promise((n, d) => {
643
- try {
644
- i ? n(i) : typeof __system_context__ > "u" ? System.import(r).then(n).catch(d) : new Function("callbacks", `System.import("${r}")${g}`)([n, d]);
645
- } catch (v) {
646
- d(v);
647
- }
648
- });
649
- }
650
- function T(r, i, n) {
651
- const { remoteEntryKey: d, entryExports: v } = l.getRemoteEntryExports(r, i);
652
- return a.assert(v, (0, _.getShortErrorMsg)(_.RUNTIME_001, _.runtimeDescMap, {
653
- remoteName: r,
654
- remoteEntryUrl: n,
655
- remoteEntryKey: d
656
- })), v;
657
- }
658
- async function f({ name: r, globalName: i, entry: n, loaderHook: d, getEntryUrl: v }) {
659
- const { entryExports: A } = l.getRemoteEntryExports(r, i);
660
- return A || (0, p.loadScript)(v ? v(n) : n, {
661
- attrs: {},
662
- createScriptHook: (c, h) => {
663
- const t = d.lifecycle.createScript.emit({
664
- url: c,
665
- attrs: h
666
- });
667
- if (t && (t instanceof HTMLScriptElement || "script" in t || "timeout" in t))
668
- return t;
669
- }
670
- }).then(() => T(r, i, n)).catch((c) => {
671
- throw a.assert(void 0, (0, _.getShortErrorMsg)(_.RUNTIME_008, _.runtimeDescMap, {
672
- remoteName: r,
673
- resourceUrl: n
674
- })), c;
675
- });
676
- }
677
- async function S({ remoteInfo: r, remoteEntryExports: i, loaderHook: n, getEntryUrl: d }) {
678
- const { entry: v, entryGlobalName: A, name: c, type: h } = r;
679
- switch (h) {
680
- case "esm":
681
- case "module":
682
- return u({
683
- entry: v,
684
- remoteEntryExports: i
685
- });
686
- case "system":
687
- return m({
688
- entry: v,
689
- remoteEntryExports: i
690
- });
691
- default:
692
- return f({
693
- entry: v,
694
- globalName: A,
695
- name: c,
696
- loaderHook: n,
697
- getEntryUrl: d
698
- });
699
- }
700
- }
701
- async function e({ remoteInfo: r, loaderHook: i }) {
702
- const { entry: n, entryGlobalName: d, name: v, type: A } = r, { entryExports: c } = l.getRemoteEntryExports(v, d);
703
- return c || (0, p.loadScriptNode)(n, {
704
- attrs: {
705
- name: v,
706
- globalName: d,
707
- type: A
708
- },
709
- loaderHook: { createScriptHook: (h, t = {}) => {
710
- const I = i.lifecycle.createScript.emit({
711
- url: h,
712
- attrs: t
713
- });
714
- if (I && "url" in I)
715
- return I;
716
- } }
717
- }).then(() => T(v, d, n)).catch((h) => {
718
- throw h;
719
- });
720
- }
721
- function E(r) {
722
- const { entry: i, name: n } = r;
723
- return (0, p.composeKeyWithSeparator)(n, i);
724
- }
725
- async function k(r) {
726
- const { origin: i, remoteEntryExports: n, remoteInfo: d, getEntryUrl: v, _inErrorHandling: A = !1 } = r, c = E(d);
727
- if (n) return n;
728
- if (!l.globalLoading[c]) {
729
- const h = i.remoteHandler.hooks.lifecycle.loadEntry, t = i.loaderHook;
730
- l.globalLoading[c] = h.emit({
731
- loaderHook: t,
732
- remoteInfo: d,
733
- remoteEntryExports: n
734
- }).then((I) => I || ((typeof ENV_TARGET < "u" ? ENV_TARGET === "web" : (0, p.isBrowserEnv)()) ? S({
735
- remoteInfo: d,
736
- remoteEntryExports: n,
737
- loaderHook: t,
738
- getEntryUrl: v
739
- }) : e({
740
- remoteInfo: d,
741
- loaderHook: t
742
- }))).catch(async (I) => {
743
- const s = E(d);
744
- if (I instanceof Error && I.message.includes(_.RUNTIME_008) && !A) {
745
- const b = (q) => k({
746
- ...q,
747
- _inErrorHandling: !0
748
- }), R = await i.loaderHook.lifecycle.loadEntryError.emit({
749
- getRemoteEntry: b,
750
- origin: i,
751
- remoteInfo: d,
752
- remoteEntryExports: n,
753
- globalLoading: l.globalLoading,
754
- uniqueKey: s
755
- });
756
- if (R) return R;
757
- }
758
- throw I;
759
- });
760
- }
761
- return l.globalLoading[c];
762
- }
763
- function o(r) {
764
- return {
765
- ...r,
766
- entry: "entry" in r ? r.entry : "",
767
- type: r.type || y.DEFAULT_REMOTE_TYPE,
768
- entryGlobalName: r.entryGlobalName || r.name,
769
- shareScope: r.shareScope || y.DEFAULT_SCOPE
770
- };
771
- }
772
- return ne.getRemoteEntry = k, ne.getRemoteEntryUniqueKey = E, ne.getRemoteInfo = o, ne;
773
- }
774
- var ze = {}, Re = {}, Je;
775
- function bt() {
776
- if (Je) return Re;
777
- Je = 1;
778
- function a() {
779
- return typeof FEDERATION_BUILD_IDENTIFIER < "u" ? FEDERATION_BUILD_IDENTIFIER : "";
780
- }
781
- return Re.getBuilderId = a, Re;
782
- }
783
- var Ie = {}, Ye;
784
- function Rt() {
785
- if (Ye) return Ie;
786
- Ye = 1;
787
- const a = K();
788
- function l(y, p) {
789
- const _ = a.getGlobalHostPlugins(), g = [
790
- p.hooks,
791
- p.remoteHandler.hooks,
792
- p.sharedHandler.hooks,
793
- p.snapshotHandler.hooks,
794
- p.loaderHook,
795
- p.bridgeHook
796
- ];
797
- return _.length > 0 && _.forEach((u) => {
798
- y?.find((m) => m.name !== u.name) && y.push(u);
799
- }), y && y.length > 0 && y.forEach((u) => {
800
- g.forEach((m) => {
801
- m.applyPlugin(u, p);
802
- });
803
- }), y;
804
- }
805
- return Ie.registerPlugins = l, Ie;
806
- }
807
- var Ze;
808
- function V() {
809
- return Ze || (Ze = 1, L(), B(), bt(), ie(), Rt(), J()), ze;
810
- }
811
- var ve = {}, Q = {}, Qe;
812
- function ge() {
813
- if (Qe) return Q;
814
- Qe = 1;
815
- const a = L(), l = ie(), y = J();
816
- let p = /* @__PURE__ */ D();
817
- function _(T) {
818
- return {
819
- resourceCategory: "sync",
820
- share: !0,
821
- depsRemote: !0,
822
- prefetchInterface: !1,
823
- ...T
824
- };
825
- }
826
- function g(T, f) {
827
- return f.map((S) => {
828
- const e = l.matchRemote(T, S.nameOrAlias);
829
- return a.assert(e, `Unable to preload ${S.nameOrAlias} as it is not included in ${!e && (0, p.safeToString)({
830
- remoteInfo: e,
831
- remotes: T
832
- })}`), {
833
- remote: e,
834
- preloadConfig: _(S)
835
- };
836
- });
837
- }
838
- function u(T) {
839
- return T ? T.map((f) => f === "." ? f : f.startsWith("./") ? f.replace("./", "") : f) : [];
840
- }
841
- function m(T, f, S, e = !0) {
842
- const { cssAssets: E, jsAssetsWithoutEntry: k, entryAssets: o } = S;
843
- if (f.options.inBrowser) {
844
- if (o.forEach((r) => {
845
- const { moduleInfo: i } = r, n = f.moduleCache.get(T.name);
846
- n ? y.getRemoteEntry({
847
- origin: f,
848
- remoteInfo: i,
849
- remoteEntryExports: n.remoteEntryExports
850
- }) : y.getRemoteEntry({
851
- origin: f,
852
- remoteInfo: i,
853
- remoteEntryExports: void 0
854
- });
855
- }), e) {
856
- const r = {
857
- rel: "preload",
858
- as: "style"
859
- };
860
- E.forEach((i) => {
861
- const { link: n, needAttach: d } = (0, p.createLink)({
862
- url: i,
863
- cb: () => {
864
- },
865
- attrs: r,
866
- createLinkHook: (v, A) => {
867
- const c = f.loaderHook.lifecycle.createLink.emit({
868
- url: v,
869
- attrs: A
870
- });
871
- if (c instanceof HTMLLinkElement) return c;
872
- }
873
- });
874
- d && document.head.appendChild(n);
875
- });
876
- } else {
877
- const r = {
878
- rel: "stylesheet",
879
- type: "text/css"
880
- };
881
- E.forEach((i) => {
882
- const { link: n, needAttach: d } = (0, p.createLink)({
883
- url: i,
884
- cb: () => {
885
- },
886
- attrs: r,
887
- createLinkHook: (v, A) => {
888
- const c = f.loaderHook.lifecycle.createLink.emit({
889
- url: v,
890
- attrs: A
891
- });
892
- if (c instanceof HTMLLinkElement) return c;
893
- },
894
- needDeleteLink: !1
895
- });
896
- d && document.head.appendChild(n);
897
- });
898
- }
899
- if (e) {
900
- const r = {
901
- rel: "preload",
902
- as: "script"
903
- };
904
- k.forEach((i) => {
905
- const { link: n, needAttach: d } = (0, p.createLink)({
906
- url: i,
907
- cb: () => {
908
- },
909
- attrs: r,
910
- createLinkHook: (v, A) => {
911
- const c = f.loaderHook.lifecycle.createLink.emit({
912
- url: v,
913
- attrs: A
914
- });
915
- if (c instanceof HTMLLinkElement) return c;
916
- }
917
- });
918
- d && document.head.appendChild(n);
919
- });
920
- } else {
921
- const r = {
922
- fetchpriority: "high",
923
- type: T?.type === "module" ? "module" : "text/javascript"
924
- };
925
- k.forEach((i) => {
926
- const { script: n, needAttach: d } = (0, p.createScript)({
927
- url: i,
928
- cb: () => {
929
- },
930
- attrs: r,
931
- createScriptHook: (v, A) => {
932
- const c = f.loaderHook.lifecycle.createScript.emit({
933
- url: v,
934
- attrs: A
935
- });
936
- if (c instanceof HTMLScriptElement) return c;
937
- },
938
- needDeleteScript: !0
939
- });
940
- d && document.head.appendChild(n);
941
- });
942
- }
943
- }
944
- }
945
- return Q.defaultPreloadArgs = _, Q.formatPreloadArgs = g, Q.normalizePreloadExposes = u, Q.preloadAssets = m, Q;
946
- }
947
- var et;
948
- function At() {
949
- if (et) return ve;
950
- et = 1;
951
- const a = K(), l = te(), y = ie(), p = J();
952
- V();
953
- const _ = ge(), g = {
954
- getRegisteredShare: l.getRegisteredShare,
955
- getGlobalShareScope: l.getGlobalShareScope
956
- };
957
- var m = {
958
- global: {
959
- Global: a.Global,
960
- nativeGlobal: a.nativeGlobal,
961
- resetFederationGlobalInfo: a.resetFederationGlobalInfo,
962
- setGlobalFederationInstance: a.setGlobalFederationInstance,
963
- getGlobalFederationConstructor: a.getGlobalFederationConstructor,
964
- setGlobalFederationConstructor: a.setGlobalFederationConstructor,
965
- getInfoWithoutType: a.getInfoWithoutType,
966
- getGlobalSnapshot: a.getGlobalSnapshot,
967
- getTargetSnapshotInfoByModuleInfo: a.getTargetSnapshotInfoByModuleInfo,
968
- getGlobalSnapshotInfoByModuleInfo: a.getGlobalSnapshotInfoByModuleInfo,
969
- setGlobalSnapshotInfoByModuleInfo: a.setGlobalSnapshotInfoByModuleInfo,
970
- addGlobalSnapshot: a.addGlobalSnapshot,
971
- getRemoteEntryExports: a.getRemoteEntryExports,
972
- registerGlobalPlugins: a.registerGlobalPlugins,
973
- getGlobalHostPlugins: a.getGlobalHostPlugins,
974
- getPreloaded: a.getPreloaded,
975
- setPreloaded: a.setPreloaded
976
- },
977
- share: g,
978
- utils: {
979
- matchRemoteWithNameAndExpose: y.matchRemoteWithNameAndExpose,
980
- preloadAssets: _.preloadAssets,
981
- getRemoteInfo: p.getRemoteInfo
982
- }
983
- };
984
- return ve.default = m, ve;
985
- }
986
- var ke = {}, tt;
987
- function Ge() {
988
- if (tt) return ke;
989
- tt = 1;
990
- const a = L(), l = B(), y = J();
991
- V();
992
- let p = /* @__PURE__ */ D(), _ = /* @__PURE__ */ ee();
993
- function g(m, T, f) {
994
- const S = T, e = Array.isArray(m.shareScope) ? m.shareScope : [m.shareScope];
995
- e.length || e.push("default"), e.forEach((k) => {
996
- S[k] || (S[k] = {});
997
- });
998
- const E = {
999
- version: m.version || "",
1000
- shareScopeKeys: Array.isArray(m.shareScope) ? e : m.shareScope || "default"
1001
- };
1002
- return Object.defineProperty(E, "shareScopeMap", {
1003
- value: S,
1004
- enumerable: !1
1005
- }), {
1006
- remoteEntryInitOptions: E,
1007
- shareScope: S[e[0]],
1008
- initScope: f ?? []
1009
- };
1010
- }
1011
- var u = class {
1012
- constructor({ remoteInfo: m, host: T }) {
1013
- this.inited = !1, this.initing = !1, this.lib = void 0, this.remoteInfo = m, this.host = T;
1014
- }
1015
- async getEntry() {
1016
- if (this.remoteEntryExports) return this.remoteEntryExports;
1017
- const m = await y.getRemoteEntry({
1018
- origin: this.host,
1019
- remoteInfo: this.remoteInfo,
1020
- remoteEntryExports: this.remoteEntryExports
1021
- });
1022
- return a.assert(m, `remoteEntryExports is undefined
1023
- ${(0, p.safeToString)(this.remoteInfo)}`), this.remoteEntryExports = m, this.remoteEntryExports;
1024
- }
1025
- async init(m, T, f) {
1026
- const S = await this.getEntry();
1027
- if (this.inited) return S;
1028
- if (this.initPromise)
1029
- return await this.initPromise, S;
1030
- this.initing = !0, this.initPromise = (async () => {
1031
- const { remoteEntryInitOptions: e, shareScope: E, initScope: k } = g(this.remoteInfo, this.host.shareScopeMap, f), o = await this.host.hooks.lifecycle.beforeInitContainer.emit({
1032
- shareScope: E,
1033
- remoteEntryInitOptions: e,
1034
- initScope: k,
1035
- remoteInfo: this.remoteInfo,
1036
- origin: this.host
1037
- });
1038
- typeof S?.init > "u" && a.error((0, _.getShortErrorMsg)(_.RUNTIME_002, _.runtimeDescMap, {
1039
- hostName: this.host.name,
1040
- remoteName: this.remoteInfo.name,
1041
- remoteEntryUrl: this.remoteInfo.entry,
1042
- remoteEntryKey: this.remoteInfo.entryGlobalName
1043
- })), await S.init(o.shareScope, o.initScope, o.remoteEntryInitOptions), await this.host.hooks.lifecycle.initContainer.emit({
1044
- ...o,
1045
- id: m,
1046
- remoteSnapshot: T,
1047
- remoteEntryExports: S
1048
- }), this.inited = !0;
1049
- })();
1050
- try {
1051
- await this.initPromise;
1052
- } finally {
1053
- this.initing = !1, this.initPromise = void 0;
1054
- }
1055
- return S;
1056
- }
1057
- async get(m, T, f, S) {
1058
- const { loadFactory: e = !0 } = f || { loadFactory: !0 }, E = await this.init(m, S);
1059
- this.lib = E;
1060
- let k;
1061
- k = await this.host.loaderHook.lifecycle.getModuleFactory.emit({
1062
- remoteEntryExports: E,
1063
- expose: T,
1064
- moduleInfo: this.remoteInfo
1065
- }), k || (k = await E.get(T)), a.assert(k, `${l.getFMId(this.remoteInfo)} remote don't export ${T}.`);
1066
- const o = l.processModuleAlias(this.remoteInfo.name, T), r = this.wraperFactory(k, o);
1067
- return e ? await r() : r;
1068
- }
1069
- wraperFactory(m, T) {
1070
- function f(S, e) {
1071
- S && typeof S == "object" && Object.isExtensible(S) && !Object.getOwnPropertyDescriptor(S, Symbol.for("mf_module_id")) && Object.defineProperty(S, Symbol.for("mf_module_id"), {
1072
- value: e,
1073
- enumerable: !1
1074
- });
1075
- }
1076
- return m instanceof Promise ? async () => {
1077
- const S = await m();
1078
- return f(S, T), S;
1079
- } : () => {
1080
- const S = m();
1081
- return f(S, T), S;
1082
- };
1083
- }
1084
- };
1085
- return ke.Module = u, ke;
1086
- }
1087
- var Te = {}, Ae = {}, rt;
1088
- function re() {
1089
- if (rt) return Ae;
1090
- rt = 1;
1091
- var a = class {
1092
- constructor(l) {
1093
- this.type = "", this.listeners = /* @__PURE__ */ new Set(), l && (this.type = l);
1094
- }
1095
- on(l) {
1096
- typeof l == "function" && this.listeners.add(l);
1097
- }
1098
- once(l) {
1099
- const y = this;
1100
- this.on(function p(..._) {
1101
- return y.remove(p), l.apply(null, _);
1102
- });
1103
- }
1104
- emit(...l) {
1105
- let y;
1106
- return this.listeners.size > 0 && this.listeners.forEach((p) => {
1107
- y = p(...l);
1108
- }), y;
1109
- }
1110
- remove(l) {
1111
- this.listeners.delete(l);
1112
- }
1113
- removeAll() {
1114
- this.listeners.clear();
1115
- }
1116
- };
1117
- return Ae.SyncHook = a, Ae;
1118
- }
1119
- var qe = {}, ot;
1120
- function ae() {
1121
- if (ot) return qe;
1122
- ot = 1;
1123
- const a = re();
1124
- var l = class extends a.SyncHook {
1125
- emit(...y) {
1126
- let p;
1127
- const _ = Array.from(this.listeners);
1128
- if (_.length > 0) {
1129
- let g = 0;
1130
- const u = (m) => m === !1 ? !1 : g < _.length ? Promise.resolve(_[g++].apply(null, y)).then(u) : m;
1131
- p = u();
1132
- }
1133
- return Promise.resolve(p);
1134
- }
1135
- };
1136
- return qe.AsyncHook = l, qe;
1137
- }
1138
- var pe = {}, nt;
1139
- function le() {
1140
- if (nt) return pe;
1141
- nt = 1;
1142
- const a = L(), l = B(), y = re();
1143
- function p(g, u) {
1144
- if (!l.isObject(u)) return !1;
1145
- if (g !== u) {
1146
- for (const m in g) if (!(m in u)) return !1;
1147
- }
1148
- return !0;
1149
- }
1150
- var _ = class extends y.SyncHook {
1151
- constructor(g) {
1152
- super(), this.onerror = a.error, this.type = g;
1153
- }
1154
- emit(g) {
1155
- l.isObject(g) || a.error(`The data for the "${this.type}" hook should be an object.`);
1156
- for (const u of this.listeners) try {
1157
- const m = u(g);
1158
- if (p(g, m)) g = m;
1159
- else {
1160
- this.onerror(`A plugin returned an unacceptable value for the "${this.type}" type.`);
1161
- break;
1162
- }
1163
- } catch (m) {
1164
- a.warn(m), this.onerror(m);
1165
- }
1166
- return g;
1167
- }
1168
- };
1169
- return pe.SyncWaterfallHook = _, pe.checkReturnData = p, pe;
1170
- }
1171
- var $e = {}, st;
1172
- function ce() {
1173
- if (st) return $e;
1174
- st = 1;
1175
- const a = L(), l = B(), y = re(), p = le();
1176
- var _ = class extends y.SyncHook {
1177
- constructor(g) {
1178
- super(), this.onerror = a.error, this.type = g;
1179
- }
1180
- emit(g) {
1181
- l.isObject(g) || a.error(`The response data for the "${this.type}" hook must be an object.`);
1182
- const u = Array.from(this.listeners);
1183
- if (u.length > 0) {
1184
- let m = 0;
1185
- const T = (S) => (a.warn(S), this.onerror(S), g), f = (S) => {
1186
- if (p.checkReturnData(g, S)) {
1187
- if (g = S, m < u.length) try {
1188
- return Promise.resolve(u[m++](g)).then(f, T);
1189
- } catch (e) {
1190
- return T(e);
1191
- }
1192
- } else this.onerror(`A plugin returned an incorrect value for the "${this.type}" type.`);
1193
- return g;
1194
- };
1195
- return Promise.resolve(f(g));
1196
- }
1197
- return Promise.resolve(g);
1198
- }
1199
- };
1200
- return $e.AsyncWaterfallHook = _, $e;
1201
- }
1202
- var Oe = {}, it;
1203
- function ue() {
1204
- if (it) return Oe;
1205
- it = 1;
1206
- const a = L(), l = B();
1207
- V();
1208
- var y = class {
1209
- constructor(p) {
1210
- this.registerPlugins = {}, this.lifecycle = p, this.lifecycleKeys = Object.keys(p);
1211
- }
1212
- applyPlugin(p, _) {
1213
- a.assert(l.isPlainObject(p), "Plugin configuration is invalid.");
1214
- const g = p.name;
1215
- a.assert(g, "A name must be provided by the plugin."), this.registerPlugins[g] || (this.registerPlugins[g] = p, p.apply?.(_), Object.keys(this.lifecycle).forEach((u) => {
1216
- const m = p[u];
1217
- m && this.lifecycle[u].on(m);
1218
- }));
1219
- }
1220
- removePlugin(p) {
1221
- a.assert(p, "A name is required.");
1222
- const _ = this.registerPlugins[p];
1223
- a.assert(_, `The plugin "${p}" is not registered.`), Object.keys(_).forEach((g) => {
1224
- g !== "name" && this.lifecycle[g].remove(_[g]);
1225
- });
1226
- }
1227
- };
1228
- return Oe.PluginSystem = y, Oe;
1229
- }
1230
- var at = {}, lt;
1231
- function ye() {
1232
- return lt || (lt = 1, re(), ae(), le(), ce(), ue()), at;
1233
- }
1234
- var me = {}, ct;
1235
- function It() {
1236
- if (ct) return me;
1237
- ct = 1;
1238
- const a = L(), l = B();
1239
- V();
1240
- const y = ge();
1241
- let p = /* @__PURE__ */ D();
1242
- function _(u, m) {
1243
- const T = l.getRemoteEntryInfoFromSnapshot(m);
1244
- T.url || a.error(`The attribute remoteEntry of ${u.name} must not be undefined.`);
1245
- let f = (0, p.getResourceUrl)(m, T.url);
1246
- !(0, p.isBrowserEnv)() && !f.startsWith("http") && (f = `https:${f}`), u.type = T.type, u.entryGlobalName = T.globalName, u.entry = f, u.version = m.version, u.buildVersion = m.buildVersion;
1247
- }
1248
- function g() {
1249
- return {
1250
- name: "snapshot-plugin",
1251
- async afterResolve(u) {
1252
- const { remote: m, pkgNameOrAlias: T, expose: f, origin: S, remoteInfo: e, id: E } = u;
1253
- if (!l.isRemoteInfoWithEntry(m) || !l.isPureRemoteEntry(m)) {
1254
- const { remoteSnapshot: k, globalSnapshot: o } = await S.snapshotHandler.loadRemoteSnapshotInfo({
1255
- moduleInfo: m,
1256
- id: E
1257
- });
1258
- _(e, k);
1259
- const r = {
1260
- remote: m,
1261
- preloadConfig: {
1262
- nameOrAlias: T,
1263
- exposes: [f],
1264
- resourceCategory: "sync",
1265
- share: !1,
1266
- depsRemote: !1
1267
- }
1268
- }, i = await S.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({
1269
- origin: S,
1270
- preloadOptions: r,
1271
- remoteInfo: e,
1272
- remote: m,
1273
- remoteSnapshot: k,
1274
- globalSnapshot: o
1275
- });
1276
- return i && y.preloadAssets(e, S, i, !1), {
1277
- ...u,
1278
- remoteSnapshot: k
1279
- };
1280
- }
1281
- return u;
1282
- }
1283
- };
1284
- }
1285
- return me.assignRemoteInfo = _, me.snapshotPlugin = g, me;
1286
- }
1287
- var Pe = {}, ut;
1288
- function qt() {
1289
- if (ut) return Pe;
1290
- ut = 1;
1291
- const a = B(), l = K(), y = te();
1292
- V();
1293
- const p = ge(), _ = It();
1294
- let g = /* @__PURE__ */ D();
1295
- function u(e) {
1296
- const E = e.split(":");
1297
- return E.length === 1 ? {
1298
- name: E[0],
1299
- version: void 0
1300
- } : E.length === 2 ? {
1301
- name: E[0],
1302
- version: E[1]
1303
- } : {
1304
- name: E[1],
1305
- version: E[2]
1306
- };
1307
- }
1308
- function m(e, E, k, o, r = {}, i) {
1309
- const { value: n } = l.getInfoWithoutType(e, a.getFMId(E)), d = i || n;
1310
- if (d && !(0, g.isManifestProvider)(d) && (k(d, E, o), d.remotesInfo)) {
1311
- const v = Object.keys(d.remotesInfo);
1312
- for (const A of v) {
1313
- if (r[A]) continue;
1314
- r[A] = !0;
1315
- const c = u(A), h = d.remotesInfo[A];
1316
- m(e, {
1317
- name: c.name,
1318
- version: h.matchedVersion
1319
- }, k, !1, r, void 0);
1320
- }
1321
- }
1322
- }
1323
- const T = (e, E) => document.querySelector(`${e}[${e === "link" ? "href" : "src"}="${E}"]`);
1324
- function f(e, E, k, o, r) {
1325
- const i = [], n = [], d = [], v = /* @__PURE__ */ new Set(), A = /* @__PURE__ */ new Set(), { options: c } = e, { preloadConfig: h } = E, { depsRemote: t } = h;
1326
- if (m(o, k, (s, b, R) => {
1327
- let q;
1328
- if (R) q = h;
1329
- else if (Array.isArray(t)) {
1330
- const N = t.find((w) => w.nameOrAlias === b.name || w.nameOrAlias === b.alias);
1331
- if (!N) return;
1332
- q = p.defaultPreloadArgs(N);
1333
- } else if (t === !0) q = h;
1334
- else return;
1335
- const $ = (0, g.getResourceUrl)(s, a.getRemoteEntryInfoFromSnapshot(s).url);
1336
- $ && d.push({
1337
- name: b.name,
1338
- moduleInfo: {
1339
- name: b.name,
1340
- entry: $,
1341
- type: "remoteEntryType" in s ? s.remoteEntryType : "global",
1342
- entryGlobalName: "globalName" in s ? s.globalName : b.name,
1343
- shareScope: "",
1344
- version: "version" in s ? s.version : void 0
1345
- },
1346
- url: $
1347
- });
1348
- let H = "modules" in s ? s.modules : [];
1349
- const P = p.normalizePreloadExposes(q.exposes);
1350
- P.length && "modules" in s && (H = s?.modules?.reduce((N, w) => (P?.indexOf(w.moduleName) !== -1 && N.push(w), N), []));
1351
- function O(N) {
1352
- const w = N.map((M) => (0, g.getResourceUrl)(s, M));
1353
- return q.filter ? w.filter(q.filter) : w;
1354
- }
1355
- if (H) {
1356
- const N = H.length;
1357
- for (let w = 0; w < N; w++) {
1358
- const M = H[w], x = `${b.name}/${M.moduleName}`;
1359
- e.remoteHandler.hooks.lifecycle.handlePreloadModule.emit({
1360
- id: M.moduleName === "." ? b.name : x,
1361
- name: b.name,
1362
- remoteSnapshot: s,
1363
- preloadConfig: q,
1364
- remote: b,
1365
- origin: e
1366
- }), !l.getPreloaded(x) && (q.resourceCategory === "all" ? (i.push(...O(M.assets.css.async)), i.push(...O(M.assets.css.sync)), n.push(...O(M.assets.js.async)), n.push(...O(M.assets.js.sync))) : (q.resourceCategory = "sync") && (i.push(...O(M.assets.css.sync)), n.push(...O(M.assets.js.sync))), l.setPreloaded(x));
1367
- }
1368
- }
1369
- }, !0, {}, r), r.shared && r.shared.length > 0) {
1370
- const s = (b, R) => {
1371
- const { shared: q } = y.getRegisteredShare(e.shareScopeMap, R.sharedName, b, e.sharedHandler.hooks.lifecycle.resolveShare) || {};
1372
- q && typeof q.lib == "function" && (R.assets.js.sync.forEach(($) => {
1373
- v.add($);
1374
- }), R.assets.css.sync.forEach(($) => {
1375
- A.add($);
1376
- }));
1377
- };
1378
- r.shared.forEach((b) => {
1379
- const R = c.shared?.[b.sharedName];
1380
- if (!R) return;
1381
- const q = b.version ? R.find(($) => $.version === b.version) : R;
1382
- q && a.arrayOptions(q).forEach(($) => {
1383
- s($, b);
1384
- });
1385
- });
1386
- }
1387
- const I = n.filter((s) => !v.has(s) && !T("script", s));
1388
- return {
1389
- cssAssets: i.filter((s) => !A.has(s) && !T("link", s)),
1390
- jsAssetsWithoutEntry: I,
1391
- entryAssets: d.filter((s) => !T("script", s.url))
1392
- };
1393
- }
1394
- const S = function() {
1395
- return {
1396
- name: "generate-preload-assets-plugin",
1397
- async generatePreloadAssets(e) {
1398
- const { origin: E, preloadOptions: k, remoteInfo: o, remote: r, globalSnapshot: i, remoteSnapshot: n } = e;
1399
- return (0, g.isBrowserEnv)() ? a.isRemoteInfoWithEntry(r) && a.isPureRemoteEntry(r) ? {
1400
- cssAssets: [],
1401
- jsAssetsWithoutEntry: [],
1402
- entryAssets: [{
1403
- name: r.name,
1404
- url: r.entry,
1405
- moduleInfo: {
1406
- name: o.name,
1407
- entry: r.entry,
1408
- type: o.type || "global",
1409
- entryGlobalName: "",
1410
- shareScope: ""
1411
- }
1412
- }]
1413
- } : (_.assignRemoteInfo(o, n), f(E, k, o, i, n)) : {
1414
- cssAssets: [],
1415
- jsAssetsWithoutEntry: [],
1416
- entryAssets: []
1417
- };
1418
- }
1419
- };
1420
- };
1421
- return Pe.generatePreloadAssetsPlugin = S, Pe;
1422
- }
1423
- var _e = {}, ft;
1424
- function vt() {
1425
- if (ft) return _e;
1426
- ft = 1;
1427
- const a = L(), l = B(), y = K();
1428
- V();
1429
- const p = ae(), _ = ce(), g = ue();
1430
- ye();
1431
- let u = /* @__PURE__ */ D(), m = /* @__PURE__ */ ee();
1432
- function T(S, e) {
1433
- const E = y.getGlobalSnapshotInfoByModuleInfo({
1434
- name: e.name,
1435
- version: e.options.version
1436
- }), k = E && "remotesInfo" in E && E.remotesInfo && y.getInfoWithoutType(E.remotesInfo, S.name).value;
1437
- return k && k.matchedVersion ? {
1438
- hostGlobalSnapshot: E,
1439
- globalSnapshot: y.getGlobalSnapshot(),
1440
- remoteSnapshot: y.getGlobalSnapshotInfoByModuleInfo({
1441
- name: S.name,
1442
- version: k.matchedVersion
1443
- })
1444
- } : {
1445
- hostGlobalSnapshot: void 0,
1446
- globalSnapshot: y.getGlobalSnapshot(),
1447
- remoteSnapshot: y.getGlobalSnapshotInfoByModuleInfo({
1448
- name: S.name,
1449
- version: "version" in S ? S.version : void 0
1450
- })
1451
- };
1452
- }
1453
- var f = class {
1454
- constructor(e) {
1455
- this.loadingHostSnapshot = null, this.manifestCache = /* @__PURE__ */ new Map(), this.hooks = new g.PluginSystem({
1456
- beforeLoadRemoteSnapshot: new p.AsyncHook("beforeLoadRemoteSnapshot"),
1457
- loadSnapshot: new _.AsyncWaterfallHook("loadGlobalSnapshot"),
1458
- loadRemoteSnapshot: new _.AsyncWaterfallHook("loadRemoteSnapshot"),
1459
- afterLoadSnapshot: new _.AsyncWaterfallHook("afterLoadSnapshot")
1460
- }), this.manifestLoading = y.Global.__FEDERATION__.__MANIFEST_LOADING__, this.HostInstance = e, this.loaderHook = e.loaderHook;
1461
- }
1462
- async loadRemoteSnapshotInfo({ moduleInfo: e, id: E, expose: k }) {
1463
- const { options: o } = this.HostInstance;
1464
- await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({
1465
- options: o,
1466
- moduleInfo: e
1467
- });
1468
- let r = y.getGlobalSnapshotInfoByModuleInfo({
1469
- name: this.HostInstance.options.name,
1470
- version: this.HostInstance.options.version
1471
- });
1472
- r || (r = {
1473
- version: this.HostInstance.options.version || "",
1474
- remoteEntry: "",
1475
- remotesInfo: {}
1476
- }, y.addGlobalSnapshot({ [this.HostInstance.options.name]: r })), r && "remotesInfo" in r && !y.getInfoWithoutType(r.remotesInfo, e.name).value && ("version" in e || "entry" in e) && (r.remotesInfo = {
1477
- ...r?.remotesInfo,
1478
- [e.name]: { matchedVersion: "version" in e ? e.version : e.entry }
1479
- });
1480
- const { hostGlobalSnapshot: i, remoteSnapshot: n, globalSnapshot: d } = this.getGlobalRemoteInfo(e), { remoteSnapshot: v, globalSnapshot: A } = await this.hooks.lifecycle.loadSnapshot.emit({
1481
- options: o,
1482
- moduleInfo: e,
1483
- hostGlobalSnapshot: i,
1484
- remoteSnapshot: n,
1485
- globalSnapshot: d
1486
- });
1487
- let c, h;
1488
- if (v) if ((0, u.isManifestProvider)(v)) {
1489
- const t = (0, u.isBrowserEnv)() ? v.remoteEntry : v.ssrRemoteEntry || v.remoteEntry || "", I = await this.getManifestJson(t, e, {}), s = y.setGlobalSnapshotInfoByModuleInfo({
1490
- ...e,
1491
- entry: t
1492
- }, I);
1493
- c = I, h = s;
1494
- } else {
1495
- const { remoteSnapshot: t } = await this.hooks.lifecycle.loadRemoteSnapshot.emit({
1496
- options: this.HostInstance.options,
1497
- moduleInfo: e,
1498
- remoteSnapshot: v,
1499
- from: "global"
1500
- });
1501
- c = t, h = A;
1502
- }
1503
- else if (l.isRemoteInfoWithEntry(e)) {
1504
- const t = await this.getManifestJson(e.entry, e, {}), I = y.setGlobalSnapshotInfoByModuleInfo(e, t), { remoteSnapshot: s } = await this.hooks.lifecycle.loadRemoteSnapshot.emit({
1505
- options: this.HostInstance.options,
1506
- moduleInfo: e,
1507
- remoteSnapshot: t,
1508
- from: "global"
1509
- });
1510
- c = s, h = I;
1511
- } else a.error((0, m.getShortErrorMsg)(m.RUNTIME_007, m.runtimeDescMap, {
1512
- hostName: e.name,
1513
- hostVersion: e.version,
1514
- globalSnapshot: JSON.stringify(A)
1515
- }));
1516
- return await this.hooks.lifecycle.afterLoadSnapshot.emit({
1517
- id: E,
1518
- host: this.HostInstance,
1519
- options: o,
1520
- moduleInfo: e,
1521
- remoteSnapshot: c
1522
- }), {
1523
- remoteSnapshot: c,
1524
- globalSnapshot: h
1525
- };
1526
- }
1527
- getGlobalRemoteInfo(e) {
1528
- return T(e, this.HostInstance);
1529
- }
1530
- async getManifestJson(e, E, k) {
1531
- const o = async () => {
1532
- let i = this.manifestCache.get(e);
1533
- if (i) return i;
1534
- try {
1535
- let n = await this.loaderHook.lifecycle.fetch.emit(e, {});
1536
- (!n || !(n instanceof Response)) && (n = await fetch(e, {})), i = await n.json();
1537
- } catch (n) {
1538
- i = await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({
1539
- id: e,
1540
- error: n,
1541
- from: "runtime",
1542
- lifecycle: "afterResolve",
1543
- origin: this.HostInstance
1544
- }), i || (delete this.manifestLoading[e], a.error((0, m.getShortErrorMsg)(m.RUNTIME_003, m.runtimeDescMap, {
1545
- manifestUrl: e,
1546
- moduleName: E.name,
1547
- hostName: this.HostInstance.options.name
1548
- }, `${n}`)));
1549
- }
1550
- return a.assert(i.metaData && i.exposes && i.shared, `${e} is not a federation manifest`), this.manifestCache.set(e, i), i;
1551
- }, r = async () => {
1552
- const i = await o(), n = (0, u.generateSnapshotFromManifest)(i, { version: e }), { remoteSnapshot: d } = await this.hooks.lifecycle.loadRemoteSnapshot.emit({
1553
- options: this.HostInstance.options,
1554
- moduleInfo: E,
1555
- manifestJson: i,
1556
- remoteSnapshot: n,
1557
- manifestUrl: e,
1558
- from: "manifest"
1559
- });
1560
- return d;
1561
- };
1562
- return this.manifestLoading[e] || (this.manifestLoading[e] = r().then((i) => i)), this.manifestLoading[e];
1563
- }
1564
- };
1565
- return _e.SnapshotHandler = f, _e.getGlobalRemoteInfo = T, _e;
1566
- }
1567
- var He = {}, dt;
1568
- function $t() {
1569
- if (dt) return He;
1570
- dt = 1;
1571
- const a = L(), l = se(), y = te();
1572
- V();
1573
- const p = ae(), _ = le(), g = ce(), u = ue();
1574
- ye();
1575
- let m = /* @__PURE__ */ ee();
1576
- var T = class {
1577
- constructor(f) {
1578
- this.hooks = new u.PluginSystem({
1579
- beforeRegisterShare: new _.SyncWaterfallHook("beforeRegisterShare"),
1580
- afterResolve: new g.AsyncWaterfallHook("afterResolve"),
1581
- beforeLoadShare: new g.AsyncWaterfallHook("beforeLoadShare"),
1582
- loadShare: new p.AsyncHook(),
1583
- resolveShare: new _.SyncWaterfallHook("resolveShare"),
1584
- initContainerShareScopeMap: new _.SyncWaterfallHook("initContainerShareScopeMap")
1585
- }), this.host = f, this.shareScopeMap = {}, this.initTokens = {}, this._setGlobalShareScopeMap(f.options);
1586
- }
1587
- registerShared(f, S) {
1588
- const { newShareInfos: e, allShareInfos: E } = y.formatShareConfigs(f, S);
1589
- return Object.keys(e).forEach((k) => {
1590
- e[k].forEach((o) => {
1591
- o.scope.forEach((r) => {
1592
- this.hooks.lifecycle.beforeRegisterShare.emit({
1593
- origin: this.host,
1594
- pkgName: k,
1595
- shared: o
1596
- }), this.shareScopeMap[r]?.[k] || this.setShared({
1597
- pkgName: k,
1598
- lib: o.lib,
1599
- get: o.get,
1600
- loaded: o.loaded || !!o.lib,
1601
- shared: o,
1602
- from: S.name
1603
- });
1604
- });
1605
- });
1606
- }), {
1607
- newShareInfos: e,
1608
- allShareInfos: E
1609
- };
1610
- }
1611
- async loadShare(f, S) {
1612
- const { host: e } = this, E = y.getTargetSharedOptions({
1613
- pkgName: f,
1614
- extraOptions: S,
1615
- shareInfos: e.options.shared
1616
- });
1617
- E?.scope && await Promise.all(E.scope.map(async (i) => {
1618
- await Promise.all(this.initializeSharing(i, { strategy: E.strategy }));
1619
- }));
1620
- const { shareInfo: k } = await this.hooks.lifecycle.beforeLoadShare.emit({
1621
- pkgName: f,
1622
- shareInfo: E,
1623
- shared: e.options.shared,
1624
- origin: e
1625
- });
1626
- a.assert(k, `Cannot find ${f} Share in the ${e.options.name}. Please ensure that the ${f} Share parameters have been injected`);
1627
- const { shared: o, useTreesShaking: r } = y.getRegisteredShare(this.shareScopeMap, f, k, this.hooks.lifecycle.resolveShare) || {};
1628
- if (o) {
1629
- const i = y.directShare(o, r);
1630
- if (i.lib)
1631
- return y.addUseIn(i, e.options.name), i.lib;
1632
- if (i.loading && !i.loaded) {
1633
- const n = await i.loading;
1634
- return i.loaded = !0, i.lib || (i.lib = n), y.addUseIn(i, e.options.name), n;
1635
- } else {
1636
- const d = (async () => {
1637
- const v = await i.get();
1638
- return y.addUseIn(i, e.options.name), i.loaded = !0, i.lib = v, v;
1639
- })();
1640
- return this.setShared({
1641
- pkgName: f,
1642
- loaded: !1,
1643
- shared: o,
1644
- from: e.options.name,
1645
- lib: null,
1646
- loading: d,
1647
- treeShaking: r ? i : void 0
1648
- }), d;
1649
- }
1650
- } else {
1651
- if (S?.customShareInfo) return !1;
1652
- const i = y.shouldUseTreeShaking(k.treeShaking), n = y.directShare(k, i), v = (async () => {
1653
- const A = await n.get();
1654
- n.lib = A, n.loaded = !0, y.addUseIn(n, e.options.name);
1655
- const { shared: c, useTreesShaking: h } = y.getRegisteredShare(this.shareScopeMap, f, k, this.hooks.lifecycle.resolveShare) || {};
1656
- if (c) {
1657
- const t = y.directShare(c, h);
1658
- t.lib = A, t.loaded = !0, c.from = k.from;
1659
- }
1660
- return A;
1661
- })();
1662
- return this.setShared({
1663
- pkgName: f,
1664
- loaded: !1,
1665
- shared: k,
1666
- from: e.options.name,
1667
- lib: null,
1668
- loading: v,
1669
- treeShaking: i ? n : void 0
1670
- }), v;
1671
- }
1672
- }
1673
- /**
1674
- * This function initializes the sharing sequence (executed only once per share scope).
1675
- * It accepts one argument, the name of the share scope.
1676
- * If the share scope does not exist, it creates one.
1677
- */
1678
- initializeSharing(f = l.DEFAULT_SCOPE, S) {
1679
- const { host: e } = this, E = S?.from, k = S?.strategy;
1680
- let o = S?.initScope;
1681
- const r = [];
1682
- if (E !== "build") {
1683
- const { initTokens: c } = this;
1684
- o || (o = []);
1685
- let h = c[f];
1686
- if (h || (h = c[f] = { from: this.host.name }), o.indexOf(h) >= 0) return r;
1687
- o.push(h);
1688
- }
1689
- const i = this.shareScopeMap, n = e.options.name;
1690
- i[f] || (i[f] = {});
1691
- const d = i[f], v = (c, h) => {
1692
- const { version: t, eager: I } = h;
1693
- d[c] = d[c] || {};
1694
- const s = d[c], b = s[t] && y.directShare(s[t]), R = !!(b && ("eager" in b && b.eager || "shareConfig" in b && b.shareConfig?.eager));
1695
- (!b || b.strategy !== "loaded-first" && !b.loaded && (!I != !R ? I : n > s[t].from)) && (s[t] = h);
1696
- }, A = async (c) => {
1697
- const { module: h } = await e.remoteHandler.getRemoteModuleAndOptions({ id: c });
1698
- let t;
1699
- try {
1700
- t = await h.getEntry();
1701
- } catch (I) {
1702
- t = await e.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({
1703
- id: c,
1704
- error: I,
1705
- from: "runtime",
1706
- lifecycle: "beforeLoadShare",
1707
- origin: e
1708
- });
1709
- } finally {
1710
- t?.init && !h.initing && (h.remoteEntryExports = t, await h.init(void 0, void 0, o));
1711
- }
1712
- };
1713
- return Object.keys(e.options.shared).forEach((c) => {
1714
- e.options.shared[c].forEach((h) => {
1715
- h.scope.includes(f) && v(c, h);
1716
- });
1717
- }), (e.options.shareStrategy === "version-first" || k === "version-first") && e.options.remotes.forEach((c) => {
1718
- c.shareScope === f && r.push(A(c.name));
1719
- }), r;
1720
- }
1721
- loadShareSync(f, S) {
1722
- const { host: e } = this, E = y.getTargetSharedOptions({
1723
- pkgName: f,
1724
- extraOptions: S,
1725
- shareInfos: e.options.shared
1726
- });
1727
- E?.scope && E.scope.forEach((r) => {
1728
- this.initializeSharing(r, { strategy: E.strategy });
1729
- });
1730
- const { shared: k, useTreesShaking: o } = y.getRegisteredShare(this.shareScopeMap, f, E, this.hooks.lifecycle.resolveShare) || {};
1731
- if (k) {
1732
- if (typeof k.lib == "function")
1733
- return y.addUseIn(k, e.options.name), k.loaded || (k.loaded = !0, k.from === e.options.name && (E.loaded = !0)), k.lib;
1734
- if (typeof k.get == "function") {
1735
- const r = k.get();
1736
- if (!(r instanceof Promise))
1737
- return y.addUseIn(k, e.options.name), this.setShared({
1738
- pkgName: f,
1739
- loaded: !0,
1740
- from: e.options.name,
1741
- lib: r,
1742
- shared: k
1743
- }), r;
1744
- }
1745
- }
1746
- if (E.lib)
1747
- return E.loaded || (E.loaded = !0), E.lib;
1748
- if (E.get) {
1749
- const r = E.get();
1750
- if (r instanceof Promise) {
1751
- const i = S?.from === "build" ? m.RUNTIME_005 : m.RUNTIME_006;
1752
- throw new Error((0, m.getShortErrorMsg)(i, m.runtimeDescMap, {
1753
- hostName: e.options.name,
1754
- sharedPkgName: f
1755
- }));
1756
- }
1757
- return E.lib = r, this.setShared({
1758
- pkgName: f,
1759
- loaded: !0,
1760
- from: e.options.name,
1761
- lib: E.lib,
1762
- shared: E
1763
- }), E.lib;
1764
- }
1765
- throw new Error((0, m.getShortErrorMsg)(m.RUNTIME_006, m.runtimeDescMap, {
1766
- hostName: e.options.name,
1767
- sharedPkgName: f
1768
- }));
1769
- }
1770
- initShareScopeMap(f, S, e = {}) {
1771
- const { host: E } = this;
1772
- this.shareScopeMap[f] = S, this.hooks.lifecycle.initContainerShareScopeMap.emit({
1773
- shareScope: S,
1774
- options: E.options,
1775
- origin: E,
1776
- scopeName: f,
1777
- hostShareScopeMap: e.hostShareScopeMap
1778
- });
1779
- }
1780
- setShared({ pkgName: f, shared: S, from: e, lib: E, loading: k, loaded: o, get: r, treeShaking: i }) {
1781
- const { version: n, scope: d = "default", ...v } = S, A = Array.isArray(d) ? d : [d], c = (h) => {
1782
- const t = (s, b, R) => {
1783
- R && !s[b] && (s[b] = R);
1784
- }, I = i ? h.treeShaking : h;
1785
- t(I, "loaded", o), t(I, "loading", k), t(I, "get", r);
1786
- };
1787
- A.forEach((h) => {
1788
- this.shareScopeMap[h] || (this.shareScopeMap[h] = {}), this.shareScopeMap[h][f] || (this.shareScopeMap[h][f] = {}), this.shareScopeMap[h][f][n] || (this.shareScopeMap[h][f][n] = {
1789
- version: n,
1790
- scope: [h],
1791
- ...v,
1792
- lib: E
1793
- });
1794
- const t = this.shareScopeMap[h][f][n];
1795
- c(t), e && t.from !== e && (t.from = e);
1796
- });
1797
- }
1798
- _setGlobalShareScopeMap(f) {
1799
- const S = y.getGlobalShareScope(), e = f.id || f.name;
1800
- e && !S[e] && (S[e] = this.shareScopeMap);
1801
- }
1802
- };
1803
- return He.SharedHandler = T, He;
1804
- }
1805
- var we = {}, ht;
1806
- function Ot() {
1807
- if (ht) return we;
1808
- ht = 1;
1809
- const a = L(), l = K(), y = se(), p = te(), _ = ie(), g = J();
1810
- V();
1811
- const u = ge(), m = Ge(), T = re(), f = ae(), S = le(), e = ce(), E = ue();
1812
- ye();
1813
- const k = vt();
1814
- let o = /* @__PURE__ */ D(), r = /* @__PURE__ */ ee();
1815
- var i = class {
1816
- constructor(n) {
1817
- this.hooks = new E.PluginSystem({
1818
- beforeRegisterRemote: new S.SyncWaterfallHook("beforeRegisterRemote"),
1819
- registerRemote: new S.SyncWaterfallHook("registerRemote"),
1820
- beforeRequest: new e.AsyncWaterfallHook("beforeRequest"),
1821
- onLoad: new f.AsyncHook("onLoad"),
1822
- handlePreloadModule: new T.SyncHook("handlePreloadModule"),
1823
- errorLoadRemote: new f.AsyncHook("errorLoadRemote"),
1824
- beforePreloadRemote: new f.AsyncHook("beforePreloadRemote"),
1825
- generatePreloadAssets: new f.AsyncHook("generatePreloadAssets"),
1826
- afterPreloadRemote: new f.AsyncHook(),
1827
- loadEntry: new f.AsyncHook()
1828
- }), this.host = n, this.idToRemoteMap = {};
1829
- }
1830
- formatAndRegisterRemote(n, d) {
1831
- return (d.remotes || []).reduce((v, A) => (this.registerRemote(A, v, { force: !1 }), v), n.remotes);
1832
- }
1833
- setIdToRemoteMap(n, d) {
1834
- const { remote: v, expose: A } = d, { name: c, alias: h } = v;
1835
- if (this.idToRemoteMap[n] = {
1836
- name: v.name,
1837
- expose: A
1838
- }, h && n.startsWith(c)) {
1839
- const t = n.replace(c, h);
1840
- this.idToRemoteMap[t] = {
1841
- name: v.name,
1842
- expose: A
1843
- };
1844
- return;
1845
- }
1846
- if (h && n.startsWith(h)) {
1847
- const t = n.replace(h, c);
1848
- this.idToRemoteMap[t] = {
1849
- name: v.name,
1850
- expose: A
1851
- };
1852
- }
1853
- }
1854
- async loadRemote(n, d) {
1855
- const { host: v } = this;
1856
- try {
1857
- const { loadFactory: A = !0 } = d || { loadFactory: !0 }, { module: c, moduleOptions: h, remoteMatchInfo: t } = await this.getRemoteModuleAndOptions({ id: n }), { pkgNameOrAlias: I, remote: s, expose: b, id: R, remoteSnapshot: q } = t, $ = await c.get(R, b, d, q), H = await this.hooks.lifecycle.onLoad.emit({
1858
- id: R,
1859
- pkgNameOrAlias: I,
1860
- expose: b,
1861
- exposeModule: A ? $ : void 0,
1862
- exposeModuleFactory: A ? void 0 : $,
1863
- remote: s,
1864
- options: h,
1865
- moduleInstance: c,
1866
- origin: v
1867
- });
1868
- return this.setIdToRemoteMap(n, t), typeof H == "function" ? H : $;
1869
- } catch (A) {
1870
- const { from: c = "runtime" } = d || { from: "runtime" }, h = await this.hooks.lifecycle.errorLoadRemote.emit({
1871
- id: n,
1872
- error: A,
1873
- from: c,
1874
- lifecycle: "onLoad",
1875
- origin: v
1876
- });
1877
- if (!h) throw A;
1878
- return h;
1879
- }
1880
- }
1881
- async preloadRemote(n) {
1882
- const { host: d } = this;
1883
- await this.hooks.lifecycle.beforePreloadRemote.emit({
1884
- preloadOps: n,
1885
- options: d.options,
1886
- origin: d
1887
- });
1888
- const v = u.formatPreloadArgs(d.options.remotes, n);
1889
- await Promise.all(v.map(async (A) => {
1890
- const { remote: c } = A, h = g.getRemoteInfo(c), { globalSnapshot: t, remoteSnapshot: I } = await d.snapshotHandler.loadRemoteSnapshotInfo({ moduleInfo: c }), s = await this.hooks.lifecycle.generatePreloadAssets.emit({
1891
- origin: d,
1892
- preloadOptions: A,
1893
- remote: c,
1894
- remoteInfo: h,
1895
- globalSnapshot: t,
1896
- remoteSnapshot: I
1897
- });
1898
- s && u.preloadAssets(h, d, s);
1899
- }));
1900
- }
1901
- registerRemotes(n, d) {
1902
- const { host: v } = this;
1903
- n.forEach((A) => {
1904
- this.registerRemote(A, v.options.remotes, { force: d?.force });
1905
- });
1906
- }
1907
- async getRemoteModuleAndOptions(n) {
1908
- const { host: d } = this, { id: v } = n;
1909
- let A;
1910
- try {
1911
- A = await this.hooks.lifecycle.beforeRequest.emit({
1912
- id: v,
1913
- options: d.options,
1914
- origin: d
1915
- });
1916
- } catch (H) {
1917
- if (A = await this.hooks.lifecycle.errorLoadRemote.emit({
1918
- id: v,
1919
- options: d.options,
1920
- origin: d,
1921
- from: "runtime",
1922
- error: H,
1923
- lifecycle: "beforeRequest"
1924
- }), !A) throw H;
1925
- }
1926
- const { id: c } = A, h = _.matchRemoteWithNameAndExpose(d.options.remotes, c);
1927
- a.assert(h, (0, r.getShortErrorMsg)(r.RUNTIME_004, r.runtimeDescMap, {
1928
- hostName: d.options.name,
1929
- requestId: c
1930
- }));
1931
- const { remote: t } = h, I = g.getRemoteInfo(t), s = await d.sharedHandler.hooks.lifecycle.afterResolve.emit({
1932
- id: c,
1933
- ...h,
1934
- options: d.options,
1935
- origin: d,
1936
- remoteInfo: I
1937
- }), { remote: b, expose: R } = s;
1938
- a.assert(b && R, `The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${c}.`);
1939
- let q = d.moduleCache.get(b.name);
1940
- const $ = {
1941
- host: d,
1942
- remoteInfo: I
1943
- };
1944
- return q || (q = new m.Module($), d.moduleCache.set(b.name, q)), {
1945
- module: q,
1946
- moduleOptions: $,
1947
- remoteMatchInfo: s
1948
- };
1949
- }
1950
- registerRemote(n, d, v) {
1951
- const { host: A } = this, c = () => {
1952
- if (n.alias) {
1953
- const t = d.find((I) => n.alias && (I.name.startsWith(n.alias) || I.alias?.startsWith(n.alias)));
1954
- a.assert(!t, `The alias ${n.alias} of remote ${n.name} is not allowed to be the prefix of ${t && t.name} name or alias`);
1955
- }
1956
- "entry" in n && (0, o.isBrowserEnv)() && !n.entry.startsWith("http") && (n.entry = new URL(n.entry, window.location.origin).href), n.shareScope || (n.shareScope = y.DEFAULT_SCOPE), n.type || (n.type = y.DEFAULT_REMOTE_TYPE);
1957
- };
1958
- this.hooks.lifecycle.beforeRegisterRemote.emit({
1959
- remote: n,
1960
- origin: A
1961
- });
1962
- const h = d.find((t) => t.name === n.name);
1963
- if (!h)
1964
- c(), d.push(n), this.hooks.lifecycle.registerRemote.emit({
1965
- remote: n,
1966
- origin: A
1967
- });
1968
- else {
1969
- const t = [`The remote "${n.name}" is already registered.`, "Please note that overriding it may cause unexpected errors."];
1970
- v?.force && (this.removeRemote(h), c(), d.push(n), this.hooks.lifecycle.registerRemote.emit({
1971
- remote: n,
1972
- origin: A
1973
- }), (0, o.warn)(t.join(" ")));
1974
- }
1975
- }
1976
- removeRemote(n) {
1977
- try {
1978
- const { host: d } = this, { name: v } = n, A = d.options.remotes.findIndex((h) => h.name === v);
1979
- A !== -1 && d.options.remotes.splice(A, 1);
1980
- const c = d.moduleCache.get(n.name);
1981
- if (c) {
1982
- const h = c.remoteInfo, t = h.entryGlobalName;
1983
- l.CurrentGlobal[t] && (Object.getOwnPropertyDescriptor(l.CurrentGlobal, t)?.configurable ? delete l.CurrentGlobal[t] : l.CurrentGlobal[t] = void 0);
1984
- const I = g.getRemoteEntryUniqueKey(c.remoteInfo);
1985
- l.globalLoading[I] && delete l.globalLoading[I], d.snapshotHandler.manifestCache.delete(h.entry);
1986
- let s = h.buildVersion ? (0, o.composeKeyWithSeparator)(h.name, h.buildVersion) : h.name;
1987
- const b = l.CurrentGlobal.__FEDERATION__.__INSTANCES__.findIndex((q) => h.buildVersion ? q.options.id === s : q.name === s);
1988
- if (b !== -1) {
1989
- const q = l.CurrentGlobal.__FEDERATION__.__INSTANCES__[b];
1990
- s = q.options.id || s;
1991
- const $ = p.getGlobalShareScope();
1992
- let H = !0;
1993
- const P = [];
1994
- Object.keys($).forEach((O) => {
1995
- const N = $[O];
1996
- N && Object.keys(N).forEach((w) => {
1997
- const M = N[w];
1998
- M && Object.keys(M).forEach((x) => {
1999
- const Y = M[x];
2000
- Y && Object.keys(Y).forEach((X) => {
2001
- const C = Y[X];
2002
- C && typeof C == "object" && C.from === h.name && (C.loaded || C.loading ? (C.useIn = C.useIn.filter((oe) => oe !== h.name), C.useIn.length ? H = !1 : P.push([
2003
- O,
2004
- w,
2005
- x,
2006
- X
2007
- ])) : P.push([
2008
- O,
2009
- w,
2010
- x,
2011
- X
2012
- ]));
2013
- });
2014
- });
2015
- });
2016
- }), H && (q.shareScopeMap = {}, delete $[s]), P.forEach(([O, N, w, M]) => {
2017
- delete $[O]?.[N]?.[w]?.[M];
2018
- }), l.CurrentGlobal.__FEDERATION__.__INSTANCES__.splice(b, 1);
2019
- }
2020
- const { hostGlobalSnapshot: R } = k.getGlobalRemoteInfo(n, d);
2021
- if (R) {
2022
- const q = R && "remotesInfo" in R && R.remotesInfo && l.getInfoWithoutType(R.remotesInfo, n.name).key;
2023
- q && (delete R.remotesInfo[q], l.Global.__FEDERATION__.__MANIFEST_LOADING__[q] && delete l.Global.__FEDERATION__.__MANIFEST_LOADING__[q]);
2024
- }
2025
- d.moduleCache.delete(n.name);
2026
- }
2027
- } catch (d) {
2028
- a.logger.log("removeRemote fail: ", d);
2029
- }
2030
- }
2031
- };
2032
- return we.RemoteHandler = i, we;
2033
- }
2034
- var pt;
2035
- function Pt() {
2036
- if (pt) return Te;
2037
- pt = 1;
2038
- const a = L(), l = se(), y = te(), p = bt(), _ = Rt(), g = J();
2039
- V();
2040
- const u = Ge(), m = re(), T = ae(), f = le(), S = ce(), e = ue();
2041
- ye();
2042
- const E = It(), k = qt(), o = vt(), r = $t(), i = Ot();
2043
- let n = /* @__PURE__ */ D(), d = /* @__PURE__ */ ee();
2044
- const v = typeof FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN == "boolean" ? !FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN : !0;
2045
- var A = class {
2046
- constructor(c) {
2047
- this.hooks = new e.PluginSystem({
2048
- beforeInit: new f.SyncWaterfallHook("beforeInit"),
2049
- init: new m.SyncHook(),
2050
- beforeInitContainer: new S.AsyncWaterfallHook("beforeInitContainer"),
2051
- initContainer: new S.AsyncWaterfallHook("initContainer")
2052
- }), this.version = "2.1.0", this.moduleCache = /* @__PURE__ */ new Map(), this.loaderHook = new e.PluginSystem({
2053
- getModuleInfo: new m.SyncHook(),
2054
- createScript: new m.SyncHook(),
2055
- createLink: new m.SyncHook(),
2056
- fetch: new T.AsyncHook(),
2057
- loadEntryError: new T.AsyncHook(),
2058
- getModuleFactory: new T.AsyncHook()
2059
- }), this.bridgeHook = new e.PluginSystem({
2060
- beforeBridgeRender: new m.SyncHook(),
2061
- afterBridgeRender: new m.SyncHook(),
2062
- beforeBridgeDestroy: new m.SyncHook(),
2063
- afterBridgeDestroy: new m.SyncHook()
2064
- });
2065
- const h = v ? [E.snapshotPlugin(), k.generatePreloadAssetsPlugin()] : [], t = {
2066
- id: p.getBuilderId(),
2067
- name: c.name,
2068
- plugins: h,
2069
- remotes: [],
2070
- shared: {},
2071
- inBrowser: (0, n.isBrowserEnv)()
2072
- };
2073
- this.name = c.name, this.options = t, this.snapshotHandler = new o.SnapshotHandler(this), this.sharedHandler = new r.SharedHandler(this), this.remoteHandler = new i.RemoteHandler(this), this.shareScopeMap = this.sharedHandler.shareScopeMap, this.registerPlugins([...t.plugins, ...c.plugins || []]), this.options = this.formatOptions(t, c);
2074
- }
2075
- initOptions(c) {
2076
- c.name && c.name !== this.options.name && a.error((0, d.getShortErrorMsg)(d.RUNTIME_010, d.runtimeDescMap)), this.registerPlugins(c.plugins);
2077
- const h = this.formatOptions(this.options, c);
2078
- return this.options = h, h;
2079
- }
2080
- async loadShare(c, h) {
2081
- return this.sharedHandler.loadShare(c, h);
2082
- }
2083
- loadShareSync(c, h) {
2084
- return this.sharedHandler.loadShareSync(c, h);
2085
- }
2086
- initializeSharing(c = l.DEFAULT_SCOPE, h) {
2087
- return this.sharedHandler.initializeSharing(c, h);
2088
- }
2089
- initRawContainer(c, h, t) {
2090
- const I = g.getRemoteInfo({
2091
- name: c,
2092
- entry: h
2093
- }), s = new u.Module({
2094
- host: this,
2095
- remoteInfo: I
2096
- });
2097
- return s.remoteEntryExports = t, this.moduleCache.set(c, s), s;
2098
- }
2099
- async loadRemote(c, h) {
2100
- return this.remoteHandler.loadRemote(c, h);
2101
- }
2102
- async preloadRemote(c) {
2103
- return this.remoteHandler.preloadRemote(c);
2104
- }
2105
- initShareScopeMap(c, h, t = {}) {
2106
- this.sharedHandler.initShareScopeMap(c, h, t);
2107
- }
2108
- formatOptions(c, h) {
2109
- const { allShareInfos: t } = y.formatShareConfigs(c, h), { userOptions: I, options: s } = this.hooks.lifecycle.beforeInit.emit({
2110
- origin: this,
2111
- userOptions: h,
2112
- options: c,
2113
- shareInfo: t
2114
- }), b = this.remoteHandler.formatAndRegisterRemote(s, I), { allShareInfos: R } = this.sharedHandler.registerShared(s, I), q = [...s.plugins];
2115
- I.plugins && I.plugins.forEach((H) => {
2116
- q.includes(H) || q.push(H);
2117
- });
2118
- const $ = {
2119
- ...c,
2120
- ...h,
2121
- plugins: q,
2122
- remotes: b,
2123
- shared: R
2124
- };
2125
- return this.hooks.lifecycle.init.emit({
2126
- origin: this,
2127
- options: $
2128
- }), $;
2129
- }
2130
- registerPlugins(c) {
2131
- const h = _.registerPlugins(c, this);
2132
- this.options.plugins = this.options.plugins.reduce((t, I) => (I && t && !t.find((s) => s.name === I.name) && t.push(I), t), h || []);
2133
- }
2134
- registerRemotes(c, h) {
2135
- return this.remoteHandler.registerRemotes(c, h);
2136
- }
2137
- registerShared(c) {
2138
- this.sharedHandler.registerShared(this.options, {
2139
- ...this.options,
2140
- shared: c
2141
- });
2142
- }
2143
- };
2144
- return Te.ModuleFederation = A, Te;
2145
- }
2146
- var Ne = {}, Me = {}, mt;
2147
- function Ht() {
2148
- if (mt) return Me;
2149
- mt = 1;
2150
- var a = Object.defineProperty, l = (y, p) => {
2151
- let _ = {};
2152
- for (var g in y)
2153
- a(_, g, {
2154
- get: y[g],
2155
- enumerable: !0
2156
- });
2157
- return p || a(_, Symbol.toStringTag, { value: "Module" }), _;
2158
- };
2159
- return Me.__exportAll = l, Me;
2160
- }
2161
- var _t;
2162
- function wt() {
2163
- return _t || (_t = 1, (function(a) {
2164
- var y = /* @__PURE__ */ Ht().__exportAll({});
2165
- Object.defineProperty(a, "type_exports", {
2166
- enumerable: !0,
2167
- get: function() {
2168
- return y;
2169
- }
2170
- });
2171
- })(Ne)), Ne;
2172
- }
2173
- var gt;
2174
- function Lt() {
2175
- return gt || (gt = 1, (function(a) {
2176
- Object.defineProperty(a, Symbol.toStringTag, { value: "Module" });
2177
- const l = L(), y = B(), p = K(), _ = Et(), g = te(), u = ie(), m = J();
2178
- V();
2179
- const T = At(), f = Ge(), S = Pt(), e = wt();
2180
- let E = /* @__PURE__ */ D();
2181
- const k = T.default;
2182
- a.CurrentGlobal = p.CurrentGlobal, a.Global = p.Global, a.Module = f.Module, a.ModuleFederation = S.ModuleFederation, a.addGlobalSnapshot = p.addGlobalSnapshot, a.assert = l.assert, a.getGlobalFederationConstructor = p.getGlobalFederationConstructor, a.getGlobalSnapshot = p.getGlobalSnapshot, a.getInfoWithoutType = p.getInfoWithoutType, a.getRegisteredShare = g.getRegisteredShare, a.getRemoteEntry = m.getRemoteEntry, a.getRemoteInfo = m.getRemoteInfo, a.helpers = k, a.isStaticResourcesEqual = y.isStaticResourcesEqual, Object.defineProperty(a, "loadScript", {
2183
- enumerable: !0,
2184
- get: function() {
2185
- return E.loadScript;
2186
- }
2187
- }), Object.defineProperty(a, "loadScriptNode", {
2188
- enumerable: !0,
2189
- get: function() {
2190
- return E.loadScriptNode;
2191
- }
2192
- }), a.matchRemoteWithNameAndExpose = u.matchRemoteWithNameAndExpose, a.registerGlobalPlugins = p.registerGlobalPlugins, a.resetFederationGlobalInfo = p.resetFederationGlobalInfo, a.safeWrapper = y.safeWrapper, a.satisfy = _.satisfy, a.setGlobalFederationConstructor = p.setGlobalFederationConstructor, a.setGlobalFederationInstance = p.setGlobalFederationInstance, Object.defineProperty(a, "types", {
2193
- enumerable: !0,
2194
- get: function() {
2195
- return e.type_exports;
2196
- }
2197
- });
2198
- })(Se)), Se;
2199
- }
2200
- export {
2201
- Lt as r
2202
- };