@signalk/server-admin-ui 2.23.1 → 2.23.2
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.
- package/package.json +1 -1
- package/public/assets/adminUI__loadShare__react__loadShare__.mjs-D8asHvWX.js +2 -0
- package/public/assets/{adminUI__loadShare__react__loadShare__.mjs_commonjs-proxy-CRC2LUlp.js → adminUI__loadShare__react__loadShare__.mjs_commonjs-proxy-ByXi4yJ8.js} +2 -2
- package/public/assets/adminUI__loadShare__react_mf_2_dom__loadShare__.mjs-DH1wL779.js +2 -0
- package/public/assets/{bootstrap-D-Os68-G.js → bootstrap-bNZv2cMS.js} +5 -5
- package/public/assets/hostInit-BMKH-INB.js +1 -1
- package/public/assets/{index-C5SbDtSm.js → index-BEQk0SN_.js} +1 -1
- package/public/assets/{index-BO-OvZjH.js → index-C0euSWDO.js} +2 -2
- package/public/assets/index-CLC5Par7.js +3 -0
- package/public/assets/index.cjs-qNTcCtpj.js +8 -0
- package/public/assets/{loadingerror-CYUXWN8J.js → loadingerror-Beick9Sd.js} +2 -2
- package/public/assets/runtimeInit-DE95pSy4.js +2 -0
- package/public/index.html +3 -3
- package/public/remoteEntry.js +2 -2
- package/public/assets/adminUI__loadShare__react__loadShare__.mjs--w0ddnpC.js +0 -2
- package/public/assets/adminUI__loadShare__react_mf_2_dom__loadShare__.mjs-Bd7rzsY6.js +0 -2
- package/public/assets/index-ByslkIyw.js +0 -3
- package/public/assets/index-CHqwNyl4.js +0 -8
- package/public/assets/runtimeInit-Baie1-Qs.js +0 -2
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
var Ur={},jt={},_t={},T={},w={},N={};const Wr="federation-manifest.json",Br=".json",jr="FEDERATION_DEBUG",B={AT:"@",HYPHEN:"-",SLASH:"/"},we={[B.AT]:"scope_",[B.HYPHEN]:"_",[B.SLASH]:"__"},Vr={[we[B.AT]]:B.AT,[we[B.HYPHEN]]:B.HYPHEN,[we[B.SLASH]]:B.SLASH},Xr=":",xr="mf-manifest.json",Kr="mf-stats.json",Yr={NPM:"npm",APP:"app"},zr="__MF_DEVTOOLS_MODULE_INFO__",Jr="ENCODE_NAME_PREFIX",Zr=".federation",Qr={identifier:"MFDataPrefetch",globalKey:"__PREFETCH__",library:"mf-data-prefetch",exportsKey:"__PREFETCH_EXPORTS__",fileName:"bootstrap.js"};let en=(function(e){return e[e.UNKNOWN=1]="UNKNOWN",e[e.CALCULATED=2]="CALCULATED",e[e.NO_USE=0]="NO_USE",e})({});N.BROWSER_LOG_KEY=jr;N.ENCODE_NAME_PREFIX=Jr;N.EncodedNameTransformMap=Vr;N.FederationModuleManifest=Wr;N.MANIFEST_EXT=Br;N.MFModuleType=Yr;N.MFPrefetchCommon=Qr;N.MODULE_DEVTOOL_IDENTIFIER=zr;N.ManifestFileName=xr;N.NameTransformMap=we;N.NameTransformSymbol=B;N.SEPARATOR=Xr;N.StatsFileName=Kr;N.TEMP_DIR=Zr;N.TreeShakingStatus=en;var Vt={},Me={},Nt=Object.defineProperty,tn=(e,t)=>{let r={};for(var n in e)Nt(r,n,{get:e[n],enumerable:!0});return t||Nt(r,Symbol.toStringTag,{value:"Module"}),r};Me.__exportAll=tn;(function(e){var r=Me.__exportAll({});Object.defineProperty(e,"ContainerPlugin_exports",{enumerable:!0,get:function(){return r}})})(Vt);var Xt={};(function(e){var r=Me.__exportAll({});Object.defineProperty(e,"ContainerReferencePlugin_exports",{enumerable:!0,get:function(){return r}})})(Xt);var xt={};(function(e){var r=Me.__exportAll({});Object.defineProperty(e,"ModuleFederationPlugin_exports",{enumerable:!0,get:function(){return r}})})(xt);var Kt={};(function(e){var r=Me.__exportAll({});Object.defineProperty(e,"SharePlugin_exports",{enumerable:!0,get:function(){return r}})})(Kt);var te={},be={};const rn=N;function Yt(){return typeof window<"u"&&typeof window.document<"u"}function nn(){return typeof navigator<"u"&&navigator?.product==="ReactNative"}function on(){try{if(Yt()&&window.localStorage)return!!localStorage.getItem(rn.BROWSER_LOG_KEY)}catch{return!1}return!1}function sn(){return typeof process<"u"&&be&&be.FEDERATION_DEBUG?!!be.FEDERATION_DEBUG:typeof FEDERATION_DEBUG<"u"&&FEDERATION_DEBUG?!0:on()}const an=function(){return typeof process<"u"&&be?be:{}};te.getProcessEnv=an;te.isBrowserEnv=Yt;te.isDebugMode=sn;te.isReactNativeEnv=nn;var L={};const y=N,lt=te,zt="[ Federation Runtime ]",ln=(e,t,r=y.SEPARATOR)=>{const n=e.split(r),o=lt.getProcessEnv().NODE_ENV==="development"&&t,s="*",i=a=>a.startsWith("http")||a.includes(y.MANIFEST_EXT);if(n.length>=2){let[a,...l]=n;e.startsWith(r)&&(a=n.slice(0,2).join(r),l=[o||n.slice(2).join(r)]);let c=o||l.join(r);return i(c)?{name:a,entry:c}:{name:a,version:c||s}}else if(n.length===1){const[a]=n;return o&&i(o)?{name:a,entry:o}:{name:a,version:o||s}}else throw`Invalid entry value: ${e}`},cn=function(...e){return e.length?e.reduce((t,r)=>r?t?`${t}${y.SEPARATOR}${r}`:r:t,""):""},Et=function(e,t="",r=!1){try{const n=r?".js":"";return`${t}${e.replace(new RegExp(`${y.NameTransformSymbol.AT}`,"g"),y.NameTransformMap[y.NameTransformSymbol.AT]).replace(new RegExp(`${y.NameTransformSymbol.HYPHEN}`,"g"),y.NameTransformMap[y.NameTransformSymbol.HYPHEN]).replace(new RegExp(`${y.NameTransformSymbol.SLASH}`,"g"),y.NameTransformMap[y.NameTransformSymbol.SLASH])}${n}`}catch(n){throw n}},un=function(e,t,r){try{let n=e;if(t){if(!n.startsWith(t))return n;n=n.replace(new RegExp(t,"g"),"")}return n=n.replace(new RegExp(`${y.NameTransformMap[y.NameTransformSymbol.AT]}`,"g"),y.EncodedNameTransformMap[y.NameTransformMap[y.NameTransformSymbol.AT]]).replace(new RegExp(`${y.NameTransformMap[y.NameTransformSymbol.SLASH]}`,"g"),y.EncodedNameTransformMap[y.NameTransformMap[y.NameTransformSymbol.SLASH]]).replace(new RegExp(`${y.NameTransformMap[y.NameTransformSymbol.HYPHEN]}`,"g"),y.EncodedNameTransformMap[y.NameTransformMap[y.NameTransformSymbol.HYPHEN]]),r&&(n=n.replace(".js","")),n}catch(n){throw n}},fn=(e,t)=>{if(!e)return"";let r=e;return r==="."&&(r="default_export"),r.startsWith("./")&&(r=r.replace("./","")),Et(r,"__federation_expose_",t)},dn=(e,t)=>e?Et(e,"__federation_shared_",t):"",hn=(e,t)=>{if("getPublicPath"in e){let r;return e.getPublicPath.startsWith("function")?r=new Function("return "+e.getPublicPath)()():r=new Function(e.getPublicPath)(),`${r}${t}`}else return"publicPath"in e?!lt.isBrowserEnv()&&!lt.isReactNativeEnv()&&"ssrPublicPath"in e&&typeof e.ssrPublicPath=="string"?`${e.ssrPublicPath}${t}`:`${e.publicPath}${t}`:(console.warn("Cannot get resource URL. If in debug mode, please ignore.",e,t),"")},mn=(e,t)=>{e||Jt(t)},Jt=e=>{throw new Error(`${zt}: ${e}`)},pn=e=>{console.warn(`${zt}: ${e}`)};function gn(e){try{return JSON.stringify(e,null,2)}catch{return""}}const _n=/^([\d^=v<>~]|[*xX]$)/;function En(e){return _n.test(e)}L.assert=mn;L.composeKeyWithSeparator=cn;L.decodeName=un;L.encodeName=Et;L.error=Jt;L.generateExposeFilename=fn;L.generateShareFilename=dn;L.getResourceUrl=hn;L.isRequiredVersion=En;L.parseEntry=ln;L.safeToString=gn;L.warn=pn;var fe={};const Ee=N,Z=(e,t)=>{if(!e)return t;const n=(o=>{if(o===".")return"";if(o.startsWith("./"))return o.replace("./","");if(o.startsWith("/")){const s=o.slice(1);return s.endsWith("/")?s.slice(0,-1):s}return o})(e);return n?n.endsWith("/")?`${n}${t}`:`${n}/${t}`:t};function Zt(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")}function yn(e,t={}){const{remotes:r={},overrides:n={},version:o}=t;let s;const i=()=>"publicPath"in e.metaData?(e.metaData.publicPath==="auto"||e.metaData.publicPath==="")&&o?Zt(o):e.metaData.publicPath:e.metaData.getPublicPath,a=Object.keys(n);let l={};Object.keys(r).length||(l=e.remotes?.reduce((g,M)=>{let $;const A=M.federationContainerName;return a.includes(A)?$=n[A]:"version"in M?$=M.version:$=M.entry,g[A]={matchedVersion:$},g},{})||{}),Object.keys(r).forEach(g=>l[g]={matchedVersion:a.includes(g)?n[g]:r[g]});const{remoteEntry:{path:c,name:f,type:d},types:u={path:"",name:"",zip:"",api:""},buildInfo:{buildVersion:h},globalName:p,ssrRemoteEntry:m}=e.metaData,{exposes:E}=e;let _={version:o||"",buildVersion:h,globalName:p,remoteEntry:Z(c,f),remoteEntryType:d,remoteTypes:Z(u.path,u.name),remoteTypesZip:u.zip||"",remoteTypesAPI:u.api||"",remotesInfo:l,shared:e?.shared.map(g=>({assets:g.assets,sharedName:g.name,version:g.version,usedExports:g.referenceExports||[]})),modules:E?.map(g=>({moduleName:g.name,modulePath:g.path,assets:g.assets}))};if(e.metaData?.prefetchInterface){const g=e.metaData.prefetchInterface;_={..._,prefetchInterface:g}}if(e.metaData?.prefetchEntry){const{path:g,name:M,type:$}=e.metaData.prefetchEntry;_={..._,prefetchEntry:Z(g,M),prefetchEntryType:$}}if("publicPath"in e.metaData?(s={..._,publicPath:i()},typeof e.metaData.ssrPublicPath=="string"&&(s.ssrPublicPath=e.metaData.ssrPublicPath)):s={..._,getPublicPath:i()},m){const g=Z(m.path,m.name);s.ssrRemoteEntry=g,s.ssrRemoteEntryType=m.type||"commonjs-module"}return s}function Sn(e){return!!("remoteEntry"in e&&e.remoteEntry.includes(Ee.MANIFEST_EXT))}function bn(e){if(!e)return{statsFileName:Ee.StatsFileName,manifestFileName:Ee.ManifestFileName};let t=typeof e=="boolean"?"":e.filePath||"",r=typeof e=="boolean"?"":e.fileName||"";const n=".json",o=a=>a.endsWith(n)?a:`${a}${n}`,s=(a,l)=>a.replace(n,`${l}${n}`),i=r?o(r):Ee.ManifestFileName;return{statsFileName:Z(t,r?s(i,"-stats"):Ee.StatsFileName),manifestFileName:Z(t,i)}}fe.generateSnapshotFromManifest=yn;fe.getManifestFileName=bn;fe.inferAutoPublicPath=Zt;fe.isManifestProvider=Sn;fe.simpleJoinRemoteEntry=Z;var de={};const Mt=te,Qt="[ Module Federation ]",_e=console,Rn=["logger.ts","logger.js","captureStackTrace","Logger.emit","Logger.log","Logger.info","Logger.warn","Logger.error","Logger.debug"];function In(){try{const e=new Error().stack;if(!e)return;const[,...t]=e.split(`
|
|
2
|
-
`),r=t.filter(n=>!Rn.some(o=>n.includes(o)));return r.length?`Stack trace:
|
|
3
|
-
${r.slice(0,5).join(`
|
|
4
|
-
`)}`:void 0}catch{return}}var er=class{constructor(e,t=_e){this.prefix=e,this.delegate=t??_e}setPrefix(e){this.prefix=e}setDelegate(e){this.delegate=e??_e}emit(e,t){const r=this.delegate,n=Mt.isDebugMode()?In():void 0,o=n?[...t,n]:t,s=(()=>{switch(e){case"log":return["log","info"];case"info":return["info","log"];case"warn":return["warn","info","log"];case"error":return["error","warn","log"];default:return["debug","log"]}})();for(const i of s){const a=r[i];if(typeof a=="function"){a.call(r,this.prefix,...o);return}}for(const i of s){const a=_e[i];if(typeof a=="function"){a.call(_e,this.prefix,...o);return}}}log(...e){this.emit("log",e)}warn(...e){this.emit("warn",e)}error(...e){this.emit("error",e)}success(...e){this.emit("info",e)}info(...e){this.emit("info",e)}ready(...e){this.emit("info",e)}debug(...e){Mt.isDebugMode()&&this.emit("debug",e)}};function tr(e){return new er(e)}function rr(e){const t=new er(e);return Object.defineProperty(t,"__mf_infrastructure_logger__",{value:!0,enumerable:!1,configurable:!1}),t}function Tn(e,t,r){if(e.__mf_infrastructure_logger__&&t?.getInfrastructureLogger)try{const n=t.getInfrastructureLogger(r);n&&typeof n=="object"&&(typeof n.log=="function"||typeof n.info=="function"||typeof n.warn=="function"||typeof n.error=="function")&&e.setDelegate(n)}catch{e.setDelegate(void 0)}}const Nn=tr(Qt),Mn=rr(Qt);de.bindLoggerToCompiler=Tn;de.createInfrastructureLogger=rr;de.createLogger=tr;de.infrastructureLogger=Mn;de.logger=Nn;var he={};const Pn=L;async function yt(e,t){try{return await e()}catch(r){!t&&Pn.warn(r);return}}function St(e,t){const r=/^(https?:)?\/\//i;return e.replace(r,"").replace(/\/$/,"")===t.replace(r,"").replace(/\/$/,"")}function nr(e){let t=null,r=!0,n=2e4,o;const s=document.getElementsByTagName("script");for(let a=0;a<s.length;a++){const l=s[a],c=l.getAttribute("src");if(c&&St(c,e.url)){t=l,r=!1;break}}if(!t){const a=e.attrs;t=document.createElement("script"),t.type=a?.type==="module"?"module":"text/javascript";let l;e.createScriptHook&&(l=e.createScriptHook(e.url,e.attrs),l instanceof HTMLScriptElement?t=l:typeof l=="object"&&("script"in l&&l.script&&(t=l.script),"timeout"in l&&l.timeout&&(n=l.timeout))),t.src||(t.src=e.url),a&&!l&&Object.keys(a).forEach(c=>{t&&(c==="async"||c==="defer"?t[c]=a[c]:t.getAttribute(c)||t.setAttribute(c,a[c]))})}const i=async(a,l)=>{clearTimeout(o);const c=()=>{l?.type==="error"?e?.onErrorCallback&&e?.onErrorCallback(l):e?.cb&&e?.cb()};if(t&&(t.onerror=null,t.onload=null,yt(()=>{const{needDeleteScript:f=!0}=e;f&&t?.parentNode&&t.parentNode.removeChild(t)}),a&&typeof a=="function")){const f=a(l);if(f instanceof Promise){const d=await f;return c(),d}return c(),f}c()};return t.onerror=i.bind(null,t.onerror),t.onload=i.bind(null,t.onload),o=setTimeout(()=>{i(null,new Error(`Remote script "${e.url}" time-outed.`))},n),{script:t,needAttach:r}}function vn(e){let t=null,r=!0;const n=document.getElementsByTagName("link");for(let s=0;s<n.length;s++){const i=n[s],a=i.getAttribute("href"),l=i.getAttribute("rel");if(a&&St(a,e.url)&&l===e.attrs.rel){t=i,r=!1;break}}if(!t){t=document.createElement("link"),t.setAttribute("href",e.url);let s;const i=e.attrs;e.createLinkHook&&(s=e.createLinkHook(e.url,i),s instanceof HTMLLinkElement&&(t=s)),i&&!s&&Object.keys(i).forEach(a=>{t&&!t.getAttribute(a)&&t.setAttribute(a,i[a])})}const o=(s,i)=>{const a=()=>{i?.type==="error"?e?.onErrorCallback&&e?.onErrorCallback(i):e?.cb&&e?.cb()};if(t&&(t.onerror=null,t.onload=null,yt(()=>{const{needDeleteLink:l=!0}=e;l&&t?.parentNode&&t.parentNode.removeChild(t)}),s)){const l=s(i);return a(),l}a()};return t.onerror=o.bind(null,t.onerror),t.onload=o.bind(null,t.onload),{link:t,needAttach:r}}function An(e,t){const{attrs:r={},createScriptHook:n}=t;return new Promise((o,s)=>{const{script:i,needAttach:a}=nr({url:e,cb:o,onErrorCallback:s,attrs:{fetchpriority:"high",...r},createScriptHook:n,needDeleteScript:!0});a&&document.head.appendChild(i)})}he.createLink=vn;he.createScript=nr;he.isStaticResourcesEqual=St;he.loadScript=An;he.safeWrapper=yt;var bt={};const On=(e,t,r,n)=>{t(new Error("createScriptNode is disabled in non-Node.js environment"))},$n=(e,t)=>{throw new Error("loadScriptNode is disabled in non-Node.js environment")};bt.createScriptNode=On;bt.loadScriptNode=$n;var or={};function kn(e,t,r){return function(n){if(n===!1)return!1;if(typeof n>"u")return e?t:!1;if(n===!0)return t;if(n&&typeof n=="object")return{...t,...n};throw new Error(`Unexpected type for \`${r}\`, expect boolean/undefined/object, got: ${typeof n}`)}}or.normalizeOptions=kn;var sr={};const Fn=e=>e;sr.createModuleFederationConfig=Fn;(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=N,r=Vt,n=Xt,o=xt,s=Kt,i=te,a=L,l=fe,c=de,f=he,d=bt,u=or,h=sr;e.BROWSER_LOG_KEY=t.BROWSER_LOG_KEY,e.ENCODE_NAME_PREFIX=t.ENCODE_NAME_PREFIX,e.EncodedNameTransformMap=t.EncodedNameTransformMap,e.FederationModuleManifest=t.FederationModuleManifest,e.MANIFEST_EXT=t.MANIFEST_EXT,e.MFModuleType=t.MFModuleType,e.MFPrefetchCommon=t.MFPrefetchCommon,e.MODULE_DEVTOOL_IDENTIFIER=t.MODULE_DEVTOOL_IDENTIFIER,e.ManifestFileName=t.ManifestFileName,e.NameTransformMap=t.NameTransformMap,e.NameTransformSymbol=t.NameTransformSymbol,e.SEPARATOR=t.SEPARATOR,e.StatsFileName=t.StatsFileName,e.TEMP_DIR=t.TEMP_DIR,e.TreeShakingStatus=t.TreeShakingStatus,e.assert=a.assert,e.bindLoggerToCompiler=c.bindLoggerToCompiler,e.composeKeyWithSeparator=a.composeKeyWithSeparator,Object.defineProperty(e,"containerPlugin",{enumerable:!0,get:function(){return r.ContainerPlugin_exports}}),Object.defineProperty(e,"containerReferencePlugin",{enumerable:!0,get:function(){return n.ContainerReferencePlugin_exports}}),e.createInfrastructureLogger=c.createInfrastructureLogger,e.createLink=f.createLink,e.createLogger=c.createLogger,e.createModuleFederationConfig=h.createModuleFederationConfig,e.createScript=f.createScript,e.createScriptNode=d.createScriptNode,e.decodeName=a.decodeName,e.encodeName=a.encodeName,e.error=a.error,e.generateExposeFilename=a.generateExposeFilename,e.generateShareFilename=a.generateShareFilename,e.generateSnapshotFromManifest=l.generateSnapshotFromManifest,e.getManifestFileName=l.getManifestFileName,e.getProcessEnv=i.getProcessEnv,e.getResourceUrl=a.getResourceUrl,e.inferAutoPublicPath=l.inferAutoPublicPath,e.infrastructureLogger=c.infrastructureLogger,e.isBrowserEnv=i.isBrowserEnv,e.isDebugMode=i.isDebugMode,e.isManifestProvider=l.isManifestProvider,e.isReactNativeEnv=i.isReactNativeEnv,e.isRequiredVersion=a.isRequiredVersion,e.isStaticResourcesEqual=f.isStaticResourcesEqual,e.loadScript=f.loadScript,e.loadScriptNode=d.loadScriptNode,e.logger=c.logger,Object.defineProperty(e,"moduleFederationPlugin",{enumerable:!0,get:function(){return o.ModuleFederationPlugin_exports}}),e.normalizeOptions=u.normalizeOptions,e.parseEntry=a.parseEntry,e.safeToString=a.safeToString,e.safeWrapper=f.safeWrapper,Object.defineProperty(e,"sharePlugin",{enumerable:!0,get:function(){return s.SharePlugin_exports}}),e.simpleJoinRemoteEntry=l.simpleJoinRemoteEntry,e.warn=a.warn})(w);let wn=w;const ce="[ Federation Runtime ]",ct=(0,wn.createLogger)(ce);function Ln(e,t){e||ir(t)}function ir(e){throw e instanceof Error?(e.message.startsWith(ce)||(e.message=`${ce}: ${e.message}`),e):new Error(`${ce}: ${e}`)}function Dn(e){e instanceof Error&&(e.message.startsWith(ce)||(e.message=`${ce}: ${e.message}`)),ct.warn(e)}T.assert=Ln;T.error=ir;T.logger=ct;T.warn=Dn;var R={};const Hn=T;let Pt=w;function Gn(e,t){return e.findIndex(r=>r===t)===-1&&e.push(t),e}function Cn(e){return"version"in e&&e.version?`${e.name}:${e.version}`:"entry"in e&&e.entry?`${e.name}:${e.entry}`:`${e.name}`}function qn(e){return typeof e.entry<"u"}function Un(e){return!e.entry.includes(".json")}async function Wn(e,t){try{return await e()}catch(r){!t&&Hn.warn(r);return}}function Bn(e){return e&&typeof e=="object"}const ar=Object.prototype.toString;function jn(e){return ar.call(e)==="[object Object]"}function Vn(e,t){const r=/^(https?:)?\/\//i;return e.replace(r,"").replace(/\/$/,"")===t.replace(r,"").replace(/\/$/,"")}function Xn(e){return Array.isArray(e)?e:[e]}function xn(e){const t={url:"",type:"global",globalName:""};return(0,Pt.isBrowserEnv)()||(0,Pt.isReactNativeEnv)()||!("ssrRemoteEntry"in e)?"remoteEntry"in e?{url:e.remoteEntry,type:e.remoteEntryType,globalName:e.globalName}:t:"ssrRemoteEntry"in e?{url:e.ssrRemoteEntry||t.url,type:e.ssrRemoteEntryType||t.type,globalName:e.globalName}:t}const Kn=(e,t)=>{let r;return e.endsWith("/")?r=e.slice(0,-1):r=e,t.startsWith(".")&&(t=t.slice(1)),r=r+t,r};R.addUniqueItem=Gn;R.arrayOptions=Xn;R.getFMId=Cn;R.getRemoteEntryInfoFromSnapshot=xn;R.isObject=Bn;R.isPlainObject=jn;R.isPureRemoteEntry=Un;R.isRemoteInfoWithEntry=qn;R.isStaticResourcesEqual=Vn;R.objectToString=ar;R.processModuleAlias=Kn;R.safeWrapper=Wn;var S={};const Yn=T,ut=R;let zn=w;const v=typeof globalThis=="object"?globalThis:window,H=(()=>{try{return document.defaultView}catch{return v}})(),Jn=H;function Le(e,t,r){Object.defineProperty(e,t,{value:r,configurable:!1,writable:!0})}function De(e,t){return Object.hasOwnProperty.call(e,t)}De(v,"__GLOBAL_LOADING_REMOTE_ENTRY__")||Le(v,"__GLOBAL_LOADING_REMOTE_ENTRY__",{});const ft=v.__GLOBAL_LOADING_REMOTE_ENTRY__;function lr(e){De(e,"__VMOK__")&&!De(e,"__FEDERATION__")&&Le(e,"__FEDERATION__",e.__VMOK__),De(e,"__FEDERATION__")||(Le(e,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map}),Le(e,"__VMOK__",e.__FEDERATION__)),e.__FEDERATION__.__GLOBAL_PLUGIN__??=[],e.__FEDERATION__.__INSTANCES__??=[],e.__FEDERATION__.moduleInfo??={},e.__FEDERATION__.__SHARE__??={},e.__FEDERATION__.__MANIFEST_LOADING__??={},e.__FEDERATION__.__PRELOADED_MAP__??=new Map}lr(v);lr(H);function Zn(){v.__FEDERATION__.__GLOBAL_PLUGIN__=[],v.__FEDERATION__.__INSTANCES__=[],v.__FEDERATION__.moduleInfo={},v.__FEDERATION__.__SHARE__={},v.__FEDERATION__.__MANIFEST_LOADING__={},Object.keys(ft).forEach(e=>{delete ft[e]})}function Qn(e){v.__FEDERATION__.__INSTANCES__.push(e)}function eo(){return v.__FEDERATION__.__DEBUG_CONSTRUCTOR__}function to(e,t=(0,zn.isDebugMode)()){t&&(v.__FEDERATION__.__DEBUG_CONSTRUCTOR__=e,v.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="2.1.0")}function dt(e,t){if(typeof t=="string"){if(e[t])return{value:e[t],key:t};{const r=Object.keys(e);for(const n of r){const[o,s]=n.split(":"),i=`${o}:${t}`,a=e[i];if(a)return{value:a,key:i}}return{value:void 0,key:t}}}else throw new Error("key must be string")}const ro=()=>H.__FEDERATION__.moduleInfo,cr=(e,t)=>{const r=dt(t,ut.getFMId(e)).value;if(r&&!r.version&&"version"in e&&e.version&&(r.version=e.version),r)return r;if("version"in e&&e.version){const{version:n,...o}=e,s=ut.getFMId(o),i=dt(H.__FEDERATION__.moduleInfo,s).value;if(i?.version===n)return i}},no=e=>cr(e,H.__FEDERATION__.moduleInfo),oo=(e,t)=>{const r=ut.getFMId(e);return H.__FEDERATION__.moduleInfo[r]=t,H.__FEDERATION__.moduleInfo},so=e=>(H.__FEDERATION__.moduleInfo={...H.__FEDERATION__.moduleInfo,...e},()=>{const t=Object.keys(e);for(const r of t)delete H.__FEDERATION__.moduleInfo[r]}),io=(e,t)=>{const r=t||`__FEDERATION_${e}:custom__`;return{remoteEntryKey:r,entryExports:v[r]}},ao=e=>{const{__GLOBAL_PLUGIN__:t}=H.__FEDERATION__;e.forEach(r=>{t.findIndex(n=>n.name===r.name)===-1?t.push(r):Yn.warn(`The plugin ${r.name} has been registered.`)})},lo=()=>H.__FEDERATION__.__GLOBAL_PLUGIN__,co=e=>v.__FEDERATION__.__PRELOADED_MAP__.get(e),uo=e=>v.__FEDERATION__.__PRELOADED_MAP__.set(e,!0);S.CurrentGlobal=v;S.Global=Jn;S.addGlobalSnapshot=so;S.getGlobalFederationConstructor=eo;S.getGlobalHostPlugins=lo;S.getGlobalSnapshot=ro;S.getGlobalSnapshotInfoByModuleInfo=no;S.getInfoWithoutType=dt;S.getPreloaded=co;S.getRemoteEntryExports=io;S.getTargetSnapshotInfoByModuleInfo=cr;S.globalLoading=ft;S.nativeGlobal=H;S.registerGlobalPlugins=ao;S.resetFederationGlobalInfo=Zn;S.setGlobalFederationConstructor=to;S.setGlobalFederationInstance=Qn;S.setGlobalSnapshotInfoByModuleInfo=oo;S.setPreloaded=uo;var Rt={},re={},U={};const vt="[0-9A-Za-z-]+",It=`(?:\\+(${vt}(?:\\.${vt})*))`,Re="0|[1-9]\\d*",He="[0-9]+",ur="\\d*[a-zA-Z-][a-zA-Z0-9-]*",At=`(?:${He}|${ur})`,fo=`(?:-?(${At}(?:\\.${At})*))`,Ot=`(?:${Re}|${ur})`,fr=`(?:-(${Ot}(?:\\.${Ot})*))`,Ve=`${Re}|x|X|\\*`,ue=`[v=\\s]*(${Ve})(?:\\.(${Ve})(?:\\.(${Ve})(?:${fr})?${It}?)?)?`,ho=`^\\s*(${ue})\\s+-\\s+(${ue})\\s*$`,mo=`[v=\\s]*${`(${He})\\.(${He})\\.(${He})`}${fo}?${It}?`,Tt="((?:<|>)?=?)",po=`(\\s*)${Tt}\\s*(${mo}|${ue})`,dr="(?:~>?)",go=`(\\s*)${dr}\\s+`,hr="(?:\\^)",_o=`(\\s*)${hr}\\s+`,Eo="(<|>)?=?\\s*\\*",yo=`^${hr}${ue}$`,So=`v?${`(${Re})\\.(${Re})\\.(${Re})`}${fr}?${It}?`,bo=`^${dr}${ue}$`,Ro=`^${Tt}\\s*${ue}$`,Io=`^${Tt}\\s*(${So})$|^$`,To="^\\s*>=\\s*0.0.0\\s*$";U.caret=yo;U.caretTrim=_o;U.comparator=Io;U.comparatorTrim=po;U.gte0=To;U.hyphenRange=ho;U.star=Eo;U.tilde=bo;U.tildeTrim=go;U.xRange=Ro;const No=U;function mr(e){return new RegExp(e)}function Mo(e){return!e||e.toLowerCase()==="x"||e==="*"}function Po(...e){return t=>e.reduce((r,n)=>n(r),t)}function vo(e){return e.match(mr(No.comparator))}function Ao(e,t,r,n){const o=`${e}.${t}.${r}`;return n?`${o}-${n}`:o}re.combineVersion=Ao;re.extractComparator=vo;re.isXVersion=Mo;re.parseRegex=mr;re.pipe=Po;var j={};const X=U,b=re;function Oo(e){return e.replace(b.parseRegex(X.hyphenRange),(t,r,n,o,s,i,a,l,c,f,d,u)=>(b.isXVersion(n)?r="":b.isXVersion(o)?r=`>=${n}.0.0`:b.isXVersion(s)?r=`>=${n}.${o}.0`:r=`>=${r}`,b.isXVersion(c)?l="":b.isXVersion(f)?l=`<${Number(c)+1}.0.0-0`:b.isXVersion(d)?l=`<${c}.${Number(f)+1}.0-0`:u?l=`<=${c}.${f}.${d}-${u}`:l=`<=${l}`,`${r} ${l}`.trim()))}function $o(e){return e.replace(b.parseRegex(X.comparatorTrim),"$1$2$3")}function ko(e){return e.replace(b.parseRegex(X.tildeTrim),"$1~")}function Fo(e){return e.replace(b.parseRegex(X.caretTrim),"$1^")}function wo(e){return e.trim().split(/\s+/).map(t=>t.replace(b.parseRegex(X.caret),(r,n,o,s,i)=>b.isXVersion(n)?"":b.isXVersion(o)?`>=${n}.0.0 <${Number(n)+1}.0.0-0`:b.isXVersion(s)?n==="0"?`>=${n}.${o}.0 <${n}.${Number(o)+1}.0-0`:`>=${n}.${o}.0 <${Number(n)+1}.0.0-0`:i?n==="0"?o==="0"?`>=${n}.${o}.${s}-${i} <${n}.${o}.${Number(s)+1}-0`:`>=${n}.${o}.${s}-${i} <${n}.${Number(o)+1}.0-0`:`>=${n}.${o}.${s}-${i} <${Number(n)+1}.0.0-0`:n==="0"?o==="0"?`>=${n}.${o}.${s} <${n}.${o}.${Number(s)+1}-0`:`>=${n}.${o}.${s} <${n}.${Number(o)+1}.0-0`:`>=${n}.${o}.${s} <${Number(n)+1}.0.0-0`)).join(" ")}function Lo(e){return e.trim().split(/\s+/).map(t=>t.replace(b.parseRegex(X.tilde),(r,n,o,s,i)=>b.isXVersion(n)?"":b.isXVersion(o)?`>=${n}.0.0 <${Number(n)+1}.0.0-0`:b.isXVersion(s)?`>=${n}.${o}.0 <${n}.${Number(o)+1}.0-0`:i?`>=${n}.${o}.${s}-${i} <${n}.${Number(o)+1}.0-0`:`>=${n}.${o}.${s} <${n}.${Number(o)+1}.0-0`)).join(" ")}function Do(e){return e.split(/\s+/).map(t=>t.trim().replace(b.parseRegex(X.xRange),(r,n,o,s,i,a)=>{const l=b.isXVersion(o),c=l||b.isXVersion(s),f=c||b.isXVersion(i);return n==="="&&f&&(n=""),a="",l?n===">"||n==="<"?"<0.0.0-0":"*":n&&f?(c&&(s=0),i=0,n===">"?(n=">=",c?(o=Number(o)+1,s=0,i=0):(s=Number(s)+1,i=0)):n==="<="&&(n="<",c?o=Number(o)+1:s=Number(s)+1),n==="<"&&(a="-0"),`${n+o}.${s}.${i}${a}`):c?`>=${o}.0.0${a} <${Number(o)+1}.0.0-0`:f?`>=${o}.${s}.0${a} <${o}.${Number(s)+1}.0-0`:r})).join(" ")}function Ho(e){return e.trim().replace(b.parseRegex(X.star),"")}function Go(e){return e.trim().replace(b.parseRegex(X.gte0),"")}j.parseCaretTrim=Fo;j.parseCarets=wo;j.parseComparatorTrim=$o;j.parseGTE0=Go;j.parseHyphen=Oo;j.parseStar=Ho;j.parseTildeTrim=ko;j.parseTildes=Lo;j.parseXRanges=Do;var pr={};function Ge(e,t){return e=Number(e)||e,t=Number(t)||t,e>t?1:e===t?0:-1}function Co(e,t){const{preRelease:r}=e,{preRelease:n}=t;if(r===void 0&&n)return 1;if(r&&n===void 0)return-1;if(r===void 0&&n===void 0)return 0;for(let o=0,s=r.length;o<=s;o++){const i=r[o],a=n[o];if(i!==a)return i===void 0&&a===void 0?0:i?a?Ge(i,a):-1:1}return 0}function $e(e,t){return Ge(e.major,t.major)||Ge(e.minor,t.minor)||Ge(e.patch,t.patch)||Co(e,t)}function Xe(e,t){return e.version===t.version}function qo(e,t){switch(e.operator){case"":case"=":return Xe(e,t);case">":return $e(e,t)<0;case">=":return Xe(e,t)||$e(e,t)<0;case"<":return $e(e,t)>0;case"<=":return Xe(e,t)||$e(e,t)>0;case void 0:return!0;default:return!1}}pr.compare=qo;const ae=re,V=j,Uo=pr;function Wo(e){return ae.pipe(V.parseCarets,V.parseTildes,V.parseXRanges,V.parseStar)(e)}function Bo(e){return ae.pipe(V.parseHyphen,V.parseComparatorTrim,V.parseTildeTrim,V.parseCaretTrim)(e.trim()).split(/\s+/).join(" ")}function jo(e,t){if(!e)return!1;const r=ae.extractComparator(e);if(!r)return!1;const[,n,,o,s,i,a]=r,l={operator:n,version:ae.combineVersion(o,s,i,a),major:o,minor:s,patch:i,preRelease:a?.split(".")},c=t.split("||");for(const f of c){const d=f.trim();if(!d||d==="*"||d==="x")return!0;try{const u=Bo(d);if(!u.trim())return!0;const h=u.split(" ").map(E=>Wo(E)).join(" ");if(!h.trim())return!0;const p=h.split(/\s+/).map(E=>V.parseGTE0(E)).filter(Boolean);if(p.length===0)continue;let m=!0;for(const E of p){const _=ae.extractComparator(E);if(!_){m=!1;break}const[,g,,M,$,A,I]=_;if(!Uo.compare({operator:g,version:ae.combineVersion(M,$,A,I),major:M,minor:$,patch:A,preRelease:I?.split(".")},l)){m=!1;break}}if(m)return!0}catch(u){console.error(`[semver] Error processing range part "${d}":`,u);continue}}return!1}Rt.satisfy=jo;var G={},ne={};const Vo="default",Xo="global";ne.DEFAULT_REMOTE_TYPE=Xo;ne.DEFAULT_SCOPE=Vo;const $t=T,gr=R,_r=S,xo=ne,ye=Rt;let ht=w;function Ko(e,t,r,n){let o;if("get"in e?o=e.get:"lib"in e?o=()=>Promise.resolve(e.lib):o=()=>Promise.resolve(()=>{throw new Error(`Can not get shared '${r}'!`)}),e.shareConfig?.eager&&e.treeShaking?.mode)throw new Error('Can not set "eager:true" and "treeShaking" at the same time!');return{deps:[],useIn:[],from:t,loading:null,...e,shareConfig:{requiredVersion:`^${e.version}`,singleton:!1,eager:!1,strictVersion:!1,...e.shareConfig},get:o,loaded:e?.loaded||"lib"in e?!0:void 0,version:e.version??"0",scope:Array.isArray(e.scope)?e.scope:[e.scope??"default"],strategy:(e.strategy??n)||"version-first",treeShaking:e.treeShaking?{...e.treeShaking,mode:e.treeShaking.mode??"server-calc",status:e.treeShaking.status??ht.TreeShakingStatus.UNKNOWN,useIn:[]}:void 0}}function Yo(e,t){const r=t.shared||{},n=t.name,o=Object.keys(r).reduce((i,a)=>{const l=gr.arrayOptions(r[a]);return i[a]=i[a]||[],l.forEach(c=>{i[a].push(Ko(c,n,a,t.shareStrategy))}),i},{}),s={...e.shared};return Object.keys(o).forEach(i=>{s[i]?o[i].forEach(a=>{s[i].find(l=>l.version===a.version)||s[i].push(a)}):s[i]=o[i]}),{allShareInfos:s,newShareInfos:o}}function Ie(e,t){if(!e)return!1;const{status:r,mode:n}=e;return r===ht.TreeShakingStatus.NO_USE?!1:r===ht.TreeShakingStatus.CALCULATED?!0:n==="runtime-infer"?t?Jo(e,t):!0:!1}function Q(e,t){const r=n=>{if(!Number.isNaN(Number(n))){const o=n.split(".");let s=n;for(let i=0;i<3-o.length;i++)s+=".0";return s}return n};return!!ye.satisfy(r(e),`<=${r(t)}`)}const Te=(e,t)=>{const r=t||function(n,o){return Q(n,o)};return Object.keys(e).reduce((n,o)=>!n||r(n,o)||n==="0"?o:n,0)},Ce=e=>!!e.loaded||typeof e.lib=="function",zo=e=>!!e.loading,Jo=(e,t)=>{if(!e||!t)return!1;const{usedExports:r}=e;return r?!!t.every(n=>r.includes(n)):!1};function Zo(e,t,r,n){const o=e[t][r];let s="",i=Ie(n);const a=function(l,c){return i?o[l].treeShaking?o[c].treeShaking?!Ce(o[l].treeShaking)&&Q(l,c):!1:!0:!Ce(o[l])&&Q(l,c)};if(i){if(s=Te(e[t][r],a),s)return{version:s,useTreesShaking:i};i=!1}return{version:Te(e[t][r],a),useTreesShaking:i}}const oe=e=>Ce(e)||zo(e);function Qo(e,t,r,n){const o=e[t][r];let s="",i=Ie(n);const a=function(l,c){if(i){if(!o[l].treeShaking)return!0;if(!o[c].treeShaking)return!1;if(oe(o[c].treeShaking))return oe(o[l].treeShaking)?!!Q(l,c):!0;if(oe(o[l].treeShaking))return!1}return oe(o[c])?oe(o[l])?!!Q(l,c):!0:oe(o[l])?!1:Q(l,c)};if(i){if(s=Te(e[t][r],a),s)return{version:s,useTreesShaking:i};i=!1}return{version:Te(e[t][r],a),useTreesShaking:i}}function es(e){return e==="loaded-first"?Qo:Zo}function ts(e,t,r,n){if(!e)return;const{shareConfig:o,scope:s=xo.DEFAULT_SCOPE,strategy:i,treeShaking:a}=r,l=Array.isArray(s)?s:[s];for(const c of l)if(o&&e[c]&&e[c][t]){const{requiredVersion:f}=o,{version:d,useTreesShaking:u}=es(i)(e,c,t,a),h=()=>{const m=e[c][t][d];if(o.singleton){if(typeof f=="string"&&!ye.satisfy(d,f)){const E=`Version ${d} from ${d&&m.from} of shared singleton module ${t} does not satisfy the requirement of ${r.from} which needs ${f})`;o.strictVersion?$t.error(E):$t.warn(E)}return{shared:m,useTreesShaking:u}}else{if(f===!1||f==="*")return{shared:m,useTreesShaking:u};if(ye.satisfy(d,f))return{shared:m,useTreesShaking:u};const E=Ie(a);if(E){for(const[_,g]of Object.entries(e[c][t]))if(Ie(g.treeShaking,a?.usedExports)&&ye.satisfy(_,f))return{shared:g,useTreesShaking:E}}for(const[_,g]of Object.entries(e[c][t]))if(ye.satisfy(_,f))return{shared:g,useTreesShaking:!1}}},p={shareScopeMap:e,scope:c,pkgName:t,version:d,GlobalFederation:_r.Global.__FEDERATION__,shareInfo:r,resolver:h};return(n.emit(p)||p).resolver()}}function rs(){return _r.Global.__FEDERATION__.__SHARE__}function ns(e){const{pkgName:t,extraOptions:r,shareInfos:n}=e,o=l=>{if(!l)return;const c={};return l.forEach(d=>{c[d.version]=d}),c[Te(c,function(d,u){return!Ce(c[d])&&Q(d,u)})]},s=r?.resolver??o,i=l=>l!==null&&typeof l=="object"&&!Array.isArray(l),a=(...l)=>{const c={};for(const f of l)if(f)for(const[d,u]of Object.entries(f)){const h=c[d];i(h)&&i(u)?c[d]=a(h,u):u!==void 0&&(c[d]=u)}return c};return a(s(n[t]),r?.customShareInfo)}const os=(e,t)=>{e.useIn||(e.useIn=[]),gr.addUniqueItem(e.useIn,t)};function ss(e,t){return t&&e.treeShaking?e.treeShaking:e}G.addUseIn=os;G.directShare=ss;G.formatShareConfigs=Yo;G.getGlobalShareScope=rs;G.getRegisteredShare=ts;G.getTargetSharedOptions=ns;G.shouldUseTreeShaking=Ie;var me={};function is(e,t){for(const r of e){const n=t.startsWith(r.name);let o=t.replace(r.name,"");if(n){if(o.startsWith("/")){const a=r.name;return o=`.${o}`,{pkgNameOrAlias:a,expose:o,remote:r}}else if(o==="")return{pkgNameOrAlias:r.name,expose:".",remote:r}}const s=r.alias&&t.startsWith(r.alias);let i=r.alias&&t.replace(r.alias,"");if(r.alias&&s){if(i&&i.startsWith("/")){const a=r.alias;return i=`.${i}`,{pkgNameOrAlias:a,expose:i,remote:r}}else if(i==="")return{pkgNameOrAlias:r.alias,expose:".",remote:r}}}}function as(e,t){for(const r of e)if(t===r.name||r.alias&&t===r.alias)return r}me.matchRemote=as;me.matchRemoteWithNameAndExpose=is;var x={},Y={},k={};const ls="RUNTIME-001",cs="RUNTIME-002",us="RUNTIME-003",fs="RUNTIME-004",ds="RUNTIME-005",hs="RUNTIME-006",ms="RUNTIME-007",ps="RUNTIME-008",gs="RUNTIME-009",_s="RUNTIME-010",Es="TYPE-001",ys="BUILD-001",Ss="BUILD-002";k.BUILD_001=ys;k.BUILD_002=Ss;k.RUNTIME_001=ls;k.RUNTIME_002=cs;k.RUNTIME_003=us;k.RUNTIME_004=fs;k.RUNTIME_005=ds;k.RUNTIME_006=hs;k.RUNTIME_007=ms;k.RUNTIME_008=ps;k.RUNTIME_009=gs;k.RUNTIME_010=_s;k.TYPE_001=Es;var Er={};const bs=e=>`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`,Rs=(e,t,r,n)=>{const o=[`${[t[e]]} #${e}`];return r&&o.push(`args: ${JSON.stringify(r)}`),o.push(bs(e)),n&&o.push(`Original Error Message:
|
|
5
|
-
${n}`),o.join(`
|
|
6
|
-
`)};Er.getShortErrorMsg=Rs;var Pe={};const D=k,yr={[D.RUNTIME_001]:"Failed to get remoteEntry exports.",[D.RUNTIME_002]:'The remote entry interface does not contain "init"',[D.RUNTIME_003]:"Failed to get manifest.",[D.RUNTIME_004]:"Failed to locate remote.",[D.RUNTIME_005]:"Invalid loadShareSync function call from bundler runtime",[D.RUNTIME_006]:"Invalid loadShareSync function call from runtime",[D.RUNTIME_007]:"Failed to get remote snapshot.",[D.RUNTIME_008]:"Failed to load script resources.",[D.RUNTIME_009]:"Please call createInstance first.",[D.RUNTIME_010]:'The name option cannot be changed after initialization. If you want to create a new instance with a different name, please use "createInstance" api.'},Sr={[D.TYPE_001]:"Failed to generate type declaration. Execute the below cmd to reproduce and fix the error."},br={[D.BUILD_001]:"Failed to find expose module.",[D.BUILD_002]:"PublicPath is required in prod mode."},Is={...yr,...Sr,...br};Pe.buildDescMap=br;Pe.errorDescMap=Is;Pe.runtimeDescMap=yr;Pe.typeDescMap=Sr;(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=k,r=Er,n=Pe;e.BUILD_001=t.BUILD_001,e.BUILD_002=t.BUILD_002,e.RUNTIME_001=t.RUNTIME_001,e.RUNTIME_002=t.RUNTIME_002,e.RUNTIME_003=t.RUNTIME_003,e.RUNTIME_004=t.RUNTIME_004,e.RUNTIME_005=t.RUNTIME_005,e.RUNTIME_006=t.RUNTIME_006,e.RUNTIME_007=t.RUNTIME_007,e.RUNTIME_008=t.RUNTIME_008,e.RUNTIME_009=t.RUNTIME_009,e.RUNTIME_010=t.RUNTIME_010,e.TYPE_001=t.TYPE_001,e.buildDescMap=n.buildDescMap,e.errorDescMap=n.errorDescMap,e.getShortErrorMsg=r.getShortErrorMsg,e.runtimeDescMap=n.runtimeDescMap,e.typeDescMap=n.typeDescMap})(Y);const Rr=T,le=S,kt=ne;let Ir=w,ee=Y;const Tr=".then(callbacks[0]).catch(callbacks[1])";async function Ts({entry:e,remoteEntryExports:t}){return new Promise((r,n)=>{try{t?r(t):typeof FEDERATION_ALLOW_NEW_FUNCTION<"u"?new Function("callbacks",`import("${e}")${Tr}`)([r,n]):import(e).then(r).catch(n)}catch(o){n(o)}})}async function Ns({entry:e,remoteEntryExports:t}){return new Promise((r,n)=>{try{t?r(t):typeof __system_context__>"u"?System.import(e).then(r).catch(n):new Function("callbacks",`System.import("${e}")${Tr}`)([r,n])}catch(o){n(o)}})}function Ms(e,t,r){const{remoteEntryKey:n,entryExports:o}=le.getRemoteEntryExports(e,t);return Rr.assert(o,(0,ee.getShortErrorMsg)(ee.RUNTIME_001,ee.runtimeDescMap,{remoteName:e,remoteEntryUrl:r,remoteEntryKey:n})),o}async function Ps({name:e,globalName:t,entry:r,loaderHook:n,getEntryUrl:o}){const{entryExports:s}=le.getRemoteEntryExports(e,t);return s||(0,Ir.loadScript)(o?o(r):r,{attrs:{},createScriptHook:(i,a)=>{const l=n.lifecycle.createScript.emit({url:i,attrs:a});if(l&&(l instanceof HTMLScriptElement||"script"in l||"timeout"in l))return l}}).then(()=>Ms(e,t,r)).catch(i=>{throw Rr.assert(void 0,(0,ee.getShortErrorMsg)(ee.RUNTIME_008,ee.runtimeDescMap,{remoteName:e,resourceUrl:r})),i})}async function vs({remoteInfo:e,remoteEntryExports:t,loaderHook:r,getEntryUrl:n}){const{entry:o,entryGlobalName:s,name:i,type:a}=e;switch(a){case"esm":case"module":return Ts({entry:o,remoteEntryExports:t});case"system":return Ns({entry:o,remoteEntryExports:t});default:return Ps({entry:o,globalName:s,name:i,loaderHook:r,getEntryUrl:n})}}function mt(e){const{entry:t,name:r}=e;return(0,Ir.composeKeyWithSeparator)(r,t)}async function Nr(e){const{origin:t,remoteEntryExports:r,remoteInfo:n,getEntryUrl:o,_inErrorHandling:s=!1}=e,i=mt(n);if(r)return r;if(!le.globalLoading[i]){const a=t.remoteHandler.hooks.lifecycle.loadEntry,l=t.loaderHook;le.globalLoading[i]=a.emit({loaderHook:l,remoteInfo:n,remoteEntryExports:r}).then(c=>c||vs({remoteInfo:n,remoteEntryExports:r,loaderHook:l,getEntryUrl:o})).catch(async c=>{const f=mt(n);if(c instanceof Error&&c.message.includes(ee.RUNTIME_008)&&!s){const d=h=>Nr({...h,_inErrorHandling:!0}),u=await t.loaderHook.lifecycle.loadEntryError.emit({getRemoteEntry:d,origin:t,remoteInfo:n,remoteEntryExports:r,globalLoading:le.globalLoading,uniqueKey:f});if(u)return u}throw c})}return le.globalLoading[i]}function As(e){return{...e,entry:"entry"in e?e.entry:"",type:e.type||kt.DEFAULT_REMOTE_TYPE,entryGlobalName:e.entryGlobalName||e.name,shareScope:e.shareScope||kt.DEFAULT_SCOPE}}x.getRemoteEntry=Nr;x.getRemoteEntryUniqueKey=mt;x.getRemoteInfo=As;var Mr={};function Os(){return typeof FEDERATION_BUILD_IDENTIFIER<"u"?FEDERATION_BUILD_IDENTIFIER:""}Mr.getBuilderId=Os;var Pr={};const $s=S;function ks(e,t){const r=$s.getGlobalHostPlugins(),n=[t.hooks,t.remoteHandler.hooks,t.sharedHandler.hooks,t.snapshotHandler.hooks,t.loaderHook,t.bridgeHook];return r.length>0&&r.forEach(o=>{e?.find(s=>s.name!==o.name)&&e.push(o)}),e&&e.length>0&&e.forEach(o=>{n.forEach(s=>{s.applyPlugin(o,t)})}),e}Pr.registerPlugins=ks;var vr={},z={};const Fs=T,ws=me,Ft=x;let Se=w;function Ar(e){return{resourceCategory:"sync",share:!0,depsRemote:!0,prefetchInterface:!1,...e}}function Ls(e,t){return t.map(r=>{const n=ws.matchRemote(e,r.nameOrAlias);return Fs.assert(n,`Unable to preload ${r.nameOrAlias} as it is not included in ${!n&&(0,Se.safeToString)({remoteInfo:n,remotes:e})}`),{remote:n,preloadConfig:Ar(r)}})}function Ds(e){return e?e.map(t=>t==="."?t:t.startsWith("./")?t.replace("./",""):t):[]}function Hs(e,t,r,n=!0){const{cssAssets:o,jsAssetsWithoutEntry:s,entryAssets:i}=r;if(t.options.inBrowser){if(i.forEach(a=>{const{moduleInfo:l}=a,c=t.moduleCache.get(e.name);c?Ft.getRemoteEntry({origin:t,remoteInfo:l,remoteEntryExports:c.remoteEntryExports}):Ft.getRemoteEntry({origin:t,remoteInfo:l,remoteEntryExports:void 0})}),n){const a={rel:"preload",as:"style"};o.forEach(l=>{const{link:c,needAttach:f}=(0,Se.createLink)({url:l,cb:()=>{},attrs:a,createLinkHook:(d,u)=>{const h=t.loaderHook.lifecycle.createLink.emit({url:d,attrs:u});if(h instanceof HTMLLinkElement)return h}});f&&document.head.appendChild(c)})}else{const a={rel:"stylesheet",type:"text/css"};o.forEach(l=>{const{link:c,needAttach:f}=(0,Se.createLink)({url:l,cb:()=>{},attrs:a,createLinkHook:(d,u)=>{const h=t.loaderHook.lifecycle.createLink.emit({url:d,attrs:u});if(h instanceof HTMLLinkElement)return h},needDeleteLink:!1});f&&document.head.appendChild(c)})}if(n){const a={rel:"preload",as:"script"};s.forEach(l=>{const{link:c,needAttach:f}=(0,Se.createLink)({url:l,cb:()=>{},attrs:a,createLinkHook:(d,u)=>{const h=t.loaderHook.lifecycle.createLink.emit({url:d,attrs:u});if(h instanceof HTMLLinkElement)return h}});f&&document.head.appendChild(c)})}else{const a={fetchpriority:"high",type:e?.type==="module"?"module":"text/javascript"};s.forEach(l=>{const{script:c,needAttach:f}=(0,Se.createScript)({url:l,cb:()=>{},attrs:a,createScriptHook:(d,u)=>{const h=t.loaderHook.lifecycle.createScript.emit({url:d,attrs:u});if(h instanceof HTMLScriptElement)return h},needDeleteScript:!0});f&&document.head.appendChild(c)})}}}z.defaultPreloadArgs=Ar;z.formatPreloadArgs=Ls;z.normalizePreloadExposes=Ds;z.preloadAssets=Hs;const O=S,wt=G,Gs=me,Cs=x,qs=z,Us={getRegisteredShare:wt.getRegisteredShare,getGlobalShareScope:wt.getGlobalShareScope},Ws={Global:O.Global,nativeGlobal:O.nativeGlobal,resetFederationGlobalInfo:O.resetFederationGlobalInfo,setGlobalFederationInstance:O.setGlobalFederationInstance,getGlobalFederationConstructor:O.getGlobalFederationConstructor,setGlobalFederationConstructor:O.setGlobalFederationConstructor,getInfoWithoutType:O.getInfoWithoutType,getGlobalSnapshot:O.getGlobalSnapshot,getTargetSnapshotInfoByModuleInfo:O.getTargetSnapshotInfoByModuleInfo,getGlobalSnapshotInfoByModuleInfo:O.getGlobalSnapshotInfoByModuleInfo,setGlobalSnapshotInfoByModuleInfo:O.setGlobalSnapshotInfoByModuleInfo,addGlobalSnapshot:O.addGlobalSnapshot,getRemoteEntryExports:O.getRemoteEntryExports,registerGlobalPlugins:O.registerGlobalPlugins,getGlobalHostPlugins:O.getGlobalHostPlugins,getPreloaded:O.getPreloaded,setPreloaded:O.setPreloaded};var Bs={global:Ws,share:Us,utils:{matchRemoteWithNameAndExpose:Gs.matchRemoteWithNameAndExpose,preloadAssets:qs.preloadAssets,getRemoteInfo:Cs.getRemoteInfo}};vr.default=Bs;var Ue={};const xe=T,Lt=R,js=x;let Vs=w,Ke=Y;function Xs(e,t,r){const n=t,o=Array.isArray(e.shareScope)?e.shareScope:[e.shareScope];o.length||o.push("default"),o.forEach(i=>{n[i]||(n[i]={})});const s={version:e.version||"",shareScopeKeys:Array.isArray(e.shareScope)?o:e.shareScope||"default"};return Object.defineProperty(s,"shareScopeMap",{value:n,enumerable:!1}),{remoteEntryInitOptions:s,shareScope:n[o[0]],initScope:r??[]}}var xs=class{constructor({remoteInfo:e,host:t}){this.inited=!1,this.initing=!1,this.lib=void 0,this.remoteInfo=e,this.host=t}async getEntry(){if(this.remoteEntryExports)return this.remoteEntryExports;const e=await js.getRemoteEntry({origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports});return xe.assert(e,`remoteEntryExports is undefined
|
|
7
|
-
${(0,Vs.safeToString)(this.remoteInfo)}`),this.remoteEntryExports=e,this.remoteEntryExports}async init(e,t,r){const n=await this.getEntry();if(this.inited)return n;if(this.initPromise)return await this.initPromise,n;this.initing=!0,this.initPromise=(async()=>{const{remoteEntryInitOptions:o,shareScope:s,initScope:i}=Xs(this.remoteInfo,this.host.shareScopeMap,r),a=await this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope:s,remoteEntryInitOptions:o,initScope:i,remoteInfo:this.remoteInfo,origin:this.host});typeof n?.init>"u"&&xe.error((0,Ke.getShortErrorMsg)(Ke.RUNTIME_002,Ke.runtimeDescMap,{hostName:this.host.name,remoteName:this.remoteInfo.name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName})),await n.init(a.shareScope,a.initScope,a.remoteEntryInitOptions),await this.host.hooks.lifecycle.initContainer.emit({...a,id:e,remoteSnapshot:t,remoteEntryExports:n}),this.inited=!0})();try{await this.initPromise}finally{this.initing=!1,this.initPromise=void 0}return n}async get(e,t,r,n){const{loadFactory:o=!0}=r||{loadFactory:!0},s=await this.init(e,n);this.lib=s;let i;i=await this.host.loaderHook.lifecycle.getModuleFactory.emit({remoteEntryExports:s,expose:t,moduleInfo:this.remoteInfo}),i||(i=await s.get(t)),xe.assert(i,`${Lt.getFMId(this.remoteInfo)} remote don't export ${t}.`);const a=Lt.processModuleAlias(this.remoteInfo.name,t),l=this.wraperFactory(i,a);return o?await l():l}wraperFactory(e,t){function r(n,o){n&&typeof n=="object"&&Object.isExtensible(n)&&!Object.getOwnPropertyDescriptor(n,Symbol.for("mf_module_id"))&&Object.defineProperty(n,Symbol.for("mf_module_id"),{value:o,enumerable:!1})}return e instanceof Promise?async()=>{const n=await e();return r(n,t),n}:()=>{const n=e();return r(n,t),n}}};Ue.Module=xs;var Or={},pe={},Ks=class{constructor(e){this.type="",this.listeners=new Set,e&&(this.type=e)}on(e){typeof e=="function"&&this.listeners.add(e)}once(e){const t=this;this.on(function r(...n){return t.remove(r),e.apply(null,n)})}emit(...e){let t;return this.listeners.size>0&&this.listeners.forEach(r=>{t=r(...e)}),t}remove(e){this.listeners.delete(e)}removeAll(){this.listeners.clear()}};pe.SyncHook=Ks;var ve={};const Ys=pe;var zs=class extends Ys.SyncHook{emit(...e){let t;const r=Array.from(this.listeners);if(r.length>0){let n=0;const o=s=>s===!1?!1:n<r.length?Promise.resolve(r[n++].apply(null,e)).then(o):s;t=o()}return Promise.resolve(t)}};ve.AsyncHook=zs;var ge={};const Ye=T,$r=R,Js=pe;function kr(e,t){if(!$r.isObject(t))return!1;if(e!==t){for(const r in e)if(!(r in t))return!1}return!0}var Zs=class extends Js.SyncHook{constructor(e){super(),this.onerror=Ye.error,this.type=e}emit(e){$r.isObject(e)||Ye.error(`The data for the "${this.type}" hook should be an object.`);for(const t of this.listeners)try{const r=t(e);if(kr(e,r))e=r;else{this.onerror(`A plugin returned an unacceptable value for the "${this.type}" type.`);break}}catch(r){Ye.warn(r),this.onerror(r)}return e}};ge.SyncWaterfallHook=Zs;ge.checkReturnData=kr;var Ae={};const ze=T,Qs=R,ei=pe,ti=ge;var ri=class extends ei.SyncHook{constructor(e){super(),this.onerror=ze.error,this.type=e}emit(e){Qs.isObject(e)||ze.error(`The response data for the "${this.type}" hook must be an object.`);const t=Array.from(this.listeners);if(t.length>0){let r=0;const n=s=>(ze.warn(s),this.onerror(s),e),o=s=>{if(ti.checkReturnData(e,s)){if(e=s,r<t.length)try{return Promise.resolve(t[r++](e)).then(o,n)}catch(i){return n(i)}}else this.onerror(`A plugin returned an incorrect value for the "${this.type}" type.`);return e};return Promise.resolve(o(e))}return Promise.resolve(e)}};Ae.AsyncWaterfallHook=ri;var Oe={};const ke=T,ni=R;var oi=class{constructor(e){this.registerPlugins={},this.lifecycle=e,this.lifecycleKeys=Object.keys(e)}applyPlugin(e,t){ke.assert(ni.isPlainObject(e),"Plugin configuration is invalid.");const r=e.name;ke.assert(r,"A name must be provided by the plugin."),this.registerPlugins[r]||(this.registerPlugins[r]=e,e.apply?.(t),Object.keys(this.lifecycle).forEach(n=>{const o=e[n];o&&this.lifecycle[n].on(o)}))}removePlugin(e){ke.assert(e,"A name is required.");const t=this.registerPlugins[e];ke.assert(t,`The plugin "${e}" is not registered.`),Object.keys(t).forEach(r=>{r!=="name"&&this.lifecycle[r].remove(t[r])})}};Oe.PluginSystem=oi;var We={};const si=T,pt=R,ii=z;let Dt=w;function Fr(e,t){const r=pt.getRemoteEntryInfoFromSnapshot(t);r.url||si.error(`The attribute remoteEntry of ${e.name} must not be undefined.`);let n=(0,Dt.getResourceUrl)(t,r.url);!(0,Dt.isBrowserEnv)()&&!n.startsWith("http")&&(n=`https:${n}`),e.type=r.type,e.entryGlobalName=r.globalName,e.entry=n,e.version=t.version,e.buildVersion=t.buildVersion}function ai(){return{name:"snapshot-plugin",async afterResolve(e){const{remote:t,pkgNameOrAlias:r,expose:n,origin:o,remoteInfo:s,id:i}=e;if(!pt.isRemoteInfoWithEntry(t)||!pt.isPureRemoteEntry(t)){const{remoteSnapshot:a,globalSnapshot:l}=await o.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:t,id:i});Fr(s,a);const c={remote:t,preloadConfig:{nameOrAlias:r,exposes:[n],resourceCategory:"sync",share:!1,depsRemote:!1}},f=await o.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:o,preloadOptions:c,remoteInfo:s,remote:t,remoteSnapshot:a,globalSnapshot:l});return f&&ii.preloadAssets(s,o,f,!1),{...e,remoteSnapshot:a}}return e}}}We.assignRemoteInfo=Fr;We.snapshotPlugin=ai;var wr={};const Ne=R,gt=S,li=G,Ht=z,ci=We;let qe=w;function ui(e){const t=e.split(":");return t.length===1?{name:t[0],version:void 0}:t.length===2?{name:t[0],version:t[1]}:{name:t[1],version:t[2]}}function Lr(e,t,r,n,o={},s){const{value:i}=gt.getInfoWithoutType(e,Ne.getFMId(t)),a=s||i;if(a&&!(0,qe.isManifestProvider)(a)&&(r(a,t,n),a.remotesInfo)){const l=Object.keys(a.remotesInfo);for(const c of l){if(o[c])continue;o[c]=!0;const f=ui(c),d=a.remotesInfo[c];Lr(e,{name:f.name,version:d.matchedVersion},r,!1,o,void 0)}}}const Je=(e,t)=>document.querySelector(`${e}[${e==="link"?"href":"src"}="${t}"]`);function fi(e,t,r,n,o){const s=[],i=[],a=[],l=new Set,c=new Set,{options:f}=e,{preloadConfig:d}=t,{depsRemote:u}=d;if(Lr(n,r,(p,m,E)=>{let _;if(E)_=d;else if(Array.isArray(u)){const I=u.find(F=>F.nameOrAlias===m.name||F.nameOrAlias===m.alias);if(!I)return;_=Ht.defaultPreloadArgs(I)}else if(u===!0)_=d;else return;const g=(0,qe.getResourceUrl)(p,Ne.getRemoteEntryInfoFromSnapshot(p).url);g&&a.push({name:m.name,moduleInfo:{name:m.name,entry:g,type:"remoteEntryType"in p?p.remoteEntryType:"global",entryGlobalName:"globalName"in p?p.globalName:m.name,shareScope:"",version:"version"in p?p.version:void 0},url:g});let M="modules"in p?p.modules:[];const $=Ht.normalizePreloadExposes(_.exposes);$.length&&"modules"in p&&(M=p?.modules?.reduce((I,F)=>($?.indexOf(F.moduleName)!==-1&&I.push(F),I),[]));function A(I){const F=I.map(W=>(0,qe.getResourceUrl)(p,W));return _.filter?F.filter(_.filter):F}if(M){const I=M.length;for(let F=0;F<I;F++){const W=M[F],je=`${m.name}/${W.moduleName}`;e.remoteHandler.hooks.lifecycle.handlePreloadModule.emit({id:W.moduleName==="."?m.name:je,name:m.name,remoteSnapshot:p,preloadConfig:_,remote:m,origin:e}),!gt.getPreloaded(je)&&(_.resourceCategory==="all"?(s.push(...A(W.assets.css.async)),s.push(...A(W.assets.css.sync)),i.push(...A(W.assets.js.async)),i.push(...A(W.assets.js.sync))):(_.resourceCategory="sync")&&(s.push(...A(W.assets.css.sync)),i.push(...A(W.assets.js.sync))),gt.setPreloaded(je))}}},!0,{},o),o.shared&&o.shared.length>0){const p=(m,E)=>{const{shared:_}=li.getRegisteredShare(e.shareScopeMap,E.sharedName,m,e.sharedHandler.hooks.lifecycle.resolveShare)||{};_&&typeof _.lib=="function"&&(E.assets.js.sync.forEach(g=>{l.add(g)}),E.assets.css.sync.forEach(g=>{c.add(g)}))};o.shared.forEach(m=>{const E=f.shared?.[m.sharedName];if(!E)return;const _=m.version?E.find(g=>g.version===m.version):E;_&&Ne.arrayOptions(_).forEach(g=>{p(g,m)})})}const h=i.filter(p=>!l.has(p)&&!Je("script",p));return{cssAssets:s.filter(p=>!c.has(p)&&!Je("link",p)),jsAssetsWithoutEntry:h,entryAssets:a.filter(p=>!Je("script",p.url))}}const di=function(){return{name:"generate-preload-assets-plugin",async generatePreloadAssets(e){const{origin:t,preloadOptions:r,remoteInfo:n,remote:o,globalSnapshot:s,remoteSnapshot:i}=e;return(0,qe.isBrowserEnv)()?Ne.isRemoteInfoWithEntry(o)&&Ne.isPureRemoteEntry(o)?{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:o.name,url:o.entry,moduleInfo:{name:n.name,entry:o.entry,type:n.type||"global",entryGlobalName:"",shareScope:""}}]}:(ci.assignRemoteInfo(n,i),fi(t,r,n,s,i)):{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[]}}}};wr.generatePreloadAssetsPlugin=di;var Be={};const Ze=T,hi=R,q=S,mi=ve,Qe=Ae,pi=Oe;let et=w,se=Y;function Dr(e,t){const r=q.getGlobalSnapshotInfoByModuleInfo({name:t.name,version:t.options.version}),n=r&&"remotesInfo"in r&&r.remotesInfo&&q.getInfoWithoutType(r.remotesInfo,e.name).value;return n&&n.matchedVersion?{hostGlobalSnapshot:r,globalSnapshot:q.getGlobalSnapshot(),remoteSnapshot:q.getGlobalSnapshotInfoByModuleInfo({name:e.name,version:n.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:q.getGlobalSnapshot(),remoteSnapshot:q.getGlobalSnapshotInfoByModuleInfo({name:e.name,version:"version"in e?e.version:void 0})}}var gi=class{constructor(e){this.loadingHostSnapshot=null,this.manifestCache=new Map,this.hooks=new pi.PluginSystem({beforeLoadRemoteSnapshot:new mi.AsyncHook("beforeLoadRemoteSnapshot"),loadSnapshot:new Qe.AsyncWaterfallHook("loadGlobalSnapshot"),loadRemoteSnapshot:new Qe.AsyncWaterfallHook("loadRemoteSnapshot"),afterLoadSnapshot:new Qe.AsyncWaterfallHook("afterLoadSnapshot")}),this.manifestLoading=q.Global.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=e,this.loaderHook=e.loaderHook}async loadRemoteSnapshotInfo({moduleInfo:e,id:t,expose:r}){const{options:n}=this.HostInstance;await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:n,moduleInfo:e});let o=q.getGlobalSnapshotInfoByModuleInfo({name:this.HostInstance.options.name,version:this.HostInstance.options.version});o||(o={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}},q.addGlobalSnapshot({[this.HostInstance.options.name]:o})),o&&"remotesInfo"in o&&!q.getInfoWithoutType(o.remotesInfo,e.name).value&&("version"in e||"entry"in e)&&(o.remotesInfo={...o?.remotesInfo,[e.name]:{matchedVersion:"version"in e?e.version:e.entry}});const{hostGlobalSnapshot:s,remoteSnapshot:i,globalSnapshot:a}=this.getGlobalRemoteInfo(e),{remoteSnapshot:l,globalSnapshot:c}=await this.hooks.lifecycle.loadSnapshot.emit({options:n,moduleInfo:e,hostGlobalSnapshot:s,remoteSnapshot:i,globalSnapshot:a});let f,d;if(l)if((0,et.isManifestProvider)(l)){const u=(0,et.isBrowserEnv)()?l.remoteEntry:l.ssrRemoteEntry||l.remoteEntry||"",h=await this.getManifestJson(u,e,{}),p=q.setGlobalSnapshotInfoByModuleInfo({...e,entry:u},h);f=h,d=p}else{const{remoteSnapshot:u}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:l,from:"global"});f=u,d=c}else if(hi.isRemoteInfoWithEntry(e)){const u=await this.getManifestJson(e.entry,e,{}),h=q.setGlobalSnapshotInfoByModuleInfo(e,u),{remoteSnapshot:p}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:u,from:"global"});f=p,d=h}else Ze.error((0,se.getShortErrorMsg)(se.RUNTIME_007,se.runtimeDescMap,{hostName:e.name,hostVersion:e.version,globalSnapshot:JSON.stringify(c)}));return await this.hooks.lifecycle.afterLoadSnapshot.emit({id:t,host:this.HostInstance,options:n,moduleInfo:e,remoteSnapshot:f}),{remoteSnapshot:f,globalSnapshot:d}}getGlobalRemoteInfo(e){return Dr(e,this.HostInstance)}async getManifestJson(e,t,r){const n=async()=>{let s=this.manifestCache.get(e);if(s)return s;try{let i=await this.loaderHook.lifecycle.fetch.emit(e,{});(!i||!(i instanceof Response))&&(i=await fetch(e,{})),s=await i.json()}catch(i){s=await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:i,from:"runtime",lifecycle:"afterResolve",origin:this.HostInstance}),s||(delete this.manifestLoading[e],Ze.error((0,se.getShortErrorMsg)(se.RUNTIME_003,se.runtimeDescMap,{manifestUrl:e,moduleName:t.name,hostName:this.HostInstance.options.name},`${i}`)))}return Ze.assert(s.metaData&&s.exposes&&s.shared,`${e} is not a federation manifest`),this.manifestCache.set(e,s),s},o=async()=>{const s=await n(),i=(0,et.generateSnapshotFromManifest)(s,{version:e}),{remoteSnapshot:a}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:t,manifestJson:s,remoteSnapshot:i,manifestUrl:e,from:"manifest"});return a};return this.manifestLoading[e]||(this.manifestLoading[e]=o().then(s=>s)),this.manifestLoading[e]}};Be.SnapshotHandler=gi;Be.getGlobalRemoteInfo=Dr;var Hr={};const _i=T,Ei=ne,P=G,yi=ve,tt=ge,Gt=Ae,Si=Oe;let J=Y;var bi=class{constructor(e){this.hooks=new Si.PluginSystem({beforeRegisterShare:new tt.SyncWaterfallHook("beforeRegisterShare"),afterResolve:new Gt.AsyncWaterfallHook("afterResolve"),beforeLoadShare:new Gt.AsyncWaterfallHook("beforeLoadShare"),loadShare:new yi.AsyncHook,resolveShare:new tt.SyncWaterfallHook("resolveShare"),initContainerShareScopeMap:new tt.SyncWaterfallHook("initContainerShareScopeMap")}),this.host=e,this.shareScopeMap={},this.initTokens={},this._setGlobalShareScopeMap(e.options)}registerShared(e,t){const{newShareInfos:r,allShareInfos:n}=P.formatShareConfigs(e,t);return Object.keys(r).forEach(o=>{r[o].forEach(s=>{s.scope.forEach(i=>{this.hooks.lifecycle.beforeRegisterShare.emit({origin:this.host,pkgName:o,shared:s}),this.shareScopeMap[i]?.[o]||this.setShared({pkgName:o,lib:s.lib,get:s.get,loaded:s.loaded||!!s.lib,shared:s,from:t.name})})})}),{newShareInfos:r,allShareInfos:n}}async loadShare(e,t){const{host:r}=this,n=P.getTargetSharedOptions({pkgName:e,extraOptions:t,shareInfos:r.options.shared});n?.scope&&await Promise.all(n.scope.map(async a=>{await Promise.all(this.initializeSharing(a,{strategy:n.strategy}))}));const{shareInfo:o}=await this.hooks.lifecycle.beforeLoadShare.emit({pkgName:e,shareInfo:n,shared:r.options.shared,origin:r});_i.assert(o,`Cannot find ${e} Share in the ${r.options.name}. Please ensure that the ${e} Share parameters have been injected`);const{shared:s,useTreesShaking:i}=P.getRegisteredShare(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare)||{};if(s){const a=P.directShare(s,i);if(a.lib)return P.addUseIn(a,r.options.name),a.lib;if(a.loading&&!a.loaded){const l=await a.loading;return a.loaded=!0,a.lib||(a.lib=l),P.addUseIn(a,r.options.name),l}else{const c=(async()=>{const f=await a.get();return P.addUseIn(a,r.options.name),a.loaded=!0,a.lib=f,f})();return this.setShared({pkgName:e,loaded:!1,shared:s,from:r.options.name,lib:null,loading:c,treeShaking:i?a:void 0}),c}}else{if(t?.customShareInfo)return!1;const a=P.shouldUseTreeShaking(o.treeShaking),l=P.directShare(o,a),f=(async()=>{const d=await l.get();l.lib=d,l.loaded=!0,P.addUseIn(l,r.options.name);const{shared:u,useTreesShaking:h}=P.getRegisteredShare(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare)||{};if(u){const p=P.directShare(u,h);p.lib=d,p.loaded=!0,u.from=o.from}return d})();return this.setShared({pkgName:e,loaded:!1,shared:o,from:r.options.name,lib:null,loading:f,treeShaking:a?l:void 0}),f}}initializeSharing(e=Ei.DEFAULT_SCOPE,t){const{host:r}=this,n=t?.from,o=t?.strategy;let s=t?.initScope;const i=[];if(n!=="build"){const{initTokens:u}=this;s||(s=[]);let h=u[e];if(h||(h=u[e]={from:this.host.name}),s.indexOf(h)>=0)return i;s.push(h)}const a=this.shareScopeMap,l=r.options.name;a[e]||(a[e]={});const c=a[e],f=(u,h)=>{const{version:p,eager:m}=h;c[u]=c[u]||{};const E=c[u],_=E[p]&&P.directShare(E[p]),g=!!(_&&("eager"in _&&_.eager||"shareConfig"in _&&_.shareConfig?.eager));(!_||_.strategy!=="loaded-first"&&!_.loaded&&(!m!=!g?m:l>E[p].from))&&(E[p]=h)},d=async u=>{const{module:h}=await r.remoteHandler.getRemoteModuleAndOptions({id:u});let p;try{p=await h.getEntry()}catch(m){p=await r.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:u,error:m,from:"runtime",lifecycle:"beforeLoadShare",origin:r})}finally{p?.init&&!h.initing&&(h.remoteEntryExports=p,await h.init(void 0,void 0,s))}};return Object.keys(r.options.shared).forEach(u=>{r.options.shared[u].forEach(h=>{h.scope.includes(e)&&f(u,h)})}),(r.options.shareStrategy==="version-first"||o==="version-first")&&r.options.remotes.forEach(u=>{u.shareScope===e&&i.push(d(u.name))}),i}loadShareSync(e,t){const{host:r}=this,n=P.getTargetSharedOptions({pkgName:e,extraOptions:t,shareInfos:r.options.shared});n?.scope&&n.scope.forEach(i=>{this.initializeSharing(i,{strategy:n.strategy})});const{shared:o,useTreesShaking:s}=P.getRegisteredShare(this.shareScopeMap,e,n,this.hooks.lifecycle.resolveShare)||{};if(o){if(typeof o.lib=="function")return P.addUseIn(o,r.options.name),o.loaded||(o.loaded=!0,o.from===r.options.name&&(n.loaded=!0)),o.lib;if(typeof o.get=="function"){const i=o.get();if(!(i instanceof Promise))return P.addUseIn(o,r.options.name),this.setShared({pkgName:e,loaded:!0,from:r.options.name,lib:i,shared:o}),i}}if(n.lib)return n.loaded||(n.loaded=!0),n.lib;if(n.get){const i=n.get();if(i instanceof Promise){const a=t?.from==="build"?J.RUNTIME_005:J.RUNTIME_006;throw new Error((0,J.getShortErrorMsg)(a,J.runtimeDescMap,{hostName:r.options.name,sharedPkgName:e}))}return n.lib=i,this.setShared({pkgName:e,loaded:!0,from:r.options.name,lib:n.lib,shared:n}),n.lib}throw new Error((0,J.getShortErrorMsg)(J.RUNTIME_006,J.runtimeDescMap,{hostName:r.options.name,sharedPkgName:e}))}initShareScopeMap(e,t,r={}){const{host:n}=this;this.shareScopeMap[e]=t,this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope:t,options:n.options,origin:n,scopeName:e,hostShareScopeMap:r.hostShareScopeMap})}setShared({pkgName:e,shared:t,from:r,lib:n,loading:o,loaded:s,get:i,treeShaking:a}){const{version:l,scope:c="default",...f}=t,d=Array.isArray(c)?c:[c],u=h=>{const p=(E,_,g)=>{g&&!E[_]&&(E[_]=g)},m=a?h.treeShaking:h;p(m,"loaded",s),p(m,"loading",o),p(m,"get",i)};d.forEach(h=>{this.shareScopeMap[h]||(this.shareScopeMap[h]={}),this.shareScopeMap[h][e]||(this.shareScopeMap[h][e]={}),this.shareScopeMap[h][e][l]||(this.shareScopeMap[h][e][l]={version:l,scope:[h],...f,lib:n});const p=this.shareScopeMap[h][e][l];u(p),r&&p.from!==r&&(p.from=r)})}_setGlobalShareScopeMap(e){const t=P.getGlobalShareScope(),r=e.id||e.name;r&&!t[r]&&(t[r]=this.shareScopeMap)}};Hr.SharedHandler=bi;var Gr={};const Fe=T,C=S,Ct=ne,Ri=G,Ii=me,rt=x,qt=z,Ti=Ue,Ni=pe,ie=ve,Ut=ge,Mi=Ae,Pi=Oe,vi=Be;let nt=w,ot=Y;var Ai=class{constructor(e){this.hooks=new Pi.PluginSystem({beforeRegisterRemote:new Ut.SyncWaterfallHook("beforeRegisterRemote"),registerRemote:new Ut.SyncWaterfallHook("registerRemote"),beforeRequest:new Mi.AsyncWaterfallHook("beforeRequest"),onLoad:new ie.AsyncHook("onLoad"),handlePreloadModule:new Ni.SyncHook("handlePreloadModule"),errorLoadRemote:new ie.AsyncHook("errorLoadRemote"),beforePreloadRemote:new ie.AsyncHook("beforePreloadRemote"),generatePreloadAssets:new ie.AsyncHook("generatePreloadAssets"),afterPreloadRemote:new ie.AsyncHook,loadEntry:new ie.AsyncHook}),this.host=e,this.idToRemoteMap={}}formatAndRegisterRemote(e,t){return(t.remotes||[]).reduce((r,n)=>(this.registerRemote(n,r,{force:!1}),r),e.remotes)}setIdToRemoteMap(e,t){const{remote:r,expose:n}=t,{name:o,alias:s}=r;if(this.idToRemoteMap[e]={name:r.name,expose:n},s&&e.startsWith(o)){const i=e.replace(o,s);this.idToRemoteMap[i]={name:r.name,expose:n};return}if(s&&e.startsWith(s)){const i=e.replace(s,o);this.idToRemoteMap[i]={name:r.name,expose:n}}}async loadRemote(e,t){const{host:r}=this;try{const{loadFactory:n=!0}=t||{loadFactory:!0},{module:o,moduleOptions:s,remoteMatchInfo:i}=await this.getRemoteModuleAndOptions({id:e}),{pkgNameOrAlias:a,remote:l,expose:c,id:f,remoteSnapshot:d}=i,u=await o.get(f,c,t,d),h=await this.hooks.lifecycle.onLoad.emit({id:f,pkgNameOrAlias:a,expose:c,exposeModule:n?u:void 0,exposeModuleFactory:n?void 0:u,remote:l,options:s,moduleInstance:o,origin:r});return this.setIdToRemoteMap(e,i),typeof h=="function"?h:u}catch(n){const{from:o="runtime"}=t||{from:"runtime"},s=await this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:n,from:o,lifecycle:"onLoad",origin:r});if(!s)throw n;return s}}async preloadRemote(e){const{host:t}=this;await this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:e,options:t.options,origin:t});const r=qt.formatPreloadArgs(t.options.remotes,e);await Promise.all(r.map(async n=>{const{remote:o}=n,s=rt.getRemoteInfo(o),{globalSnapshot:i,remoteSnapshot:a}=await t.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:o}),l=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:t,preloadOptions:n,remote:o,remoteInfo:s,globalSnapshot:i,remoteSnapshot:a});l&&qt.preloadAssets(s,t,l)}))}registerRemotes(e,t){const{host:r}=this;e.forEach(n=>{this.registerRemote(n,r.options.remotes,{force:t?.force})})}async getRemoteModuleAndOptions(e){const{host:t}=this,{id:r}=e;let n;try{n=await this.hooks.lifecycle.beforeRequest.emit({id:r,options:t.options,origin:t})}catch(h){if(n=await this.hooks.lifecycle.errorLoadRemote.emit({id:r,options:t.options,origin:t,from:"runtime",error:h,lifecycle:"beforeRequest"}),!n)throw h}const{id:o}=n,s=Ii.matchRemoteWithNameAndExpose(t.options.remotes,o);Fe.assert(s,(0,ot.getShortErrorMsg)(ot.RUNTIME_004,ot.runtimeDescMap,{hostName:t.options.name,requestId:o}));const{remote:i}=s,a=rt.getRemoteInfo(i),l=await t.sharedHandler.hooks.lifecycle.afterResolve.emit({id:o,...s,options:t.options,origin:t,remoteInfo:a}),{remote:c,expose:f}=l;Fe.assert(c&&f,`The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${o}.`);let d=t.moduleCache.get(c.name);const u={host:t,remoteInfo:a};return d||(d=new Ti.Module(u),t.moduleCache.set(c.name,d)),{module:d,moduleOptions:u,remoteMatchInfo:l}}registerRemote(e,t,r){const{host:n}=this,o=()=>{if(e.alias){const i=t.find(a=>e.alias&&(a.name.startsWith(e.alias)||a.alias?.startsWith(e.alias)));Fe.assert(!i,`The alias ${e.alias} of remote ${e.name} is not allowed to be the prefix of ${i&&i.name} name or alias`)}"entry"in e&&(0,nt.isBrowserEnv)()&&!e.entry.startsWith("http")&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||(e.shareScope=Ct.DEFAULT_SCOPE),e.type||(e.type=Ct.DEFAULT_REMOTE_TYPE)};this.hooks.lifecycle.beforeRegisterRemote.emit({remote:e,origin:n});const s=t.find(i=>i.name===e.name);if(!s)o(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:n});else{const i=[`The remote "${e.name}" is already registered.`,"Please note that overriding it may cause unexpected errors."];r?.force&&(this.removeRemote(s),o(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:n}),(0,nt.warn)(i.join(" ")))}}removeRemote(e){try{const{host:t}=this,{name:r}=e,n=t.options.remotes.findIndex(s=>s.name===r);n!==-1&&t.options.remotes.splice(n,1);const o=t.moduleCache.get(e.name);if(o){const s=o.remoteInfo,i=s.entryGlobalName;C.CurrentGlobal[i]&&(Object.getOwnPropertyDescriptor(C.CurrentGlobal,i)?.configurable?delete C.CurrentGlobal[i]:C.CurrentGlobal[i]=void 0);const a=rt.getRemoteEntryUniqueKey(o.remoteInfo);C.globalLoading[a]&&delete C.globalLoading[a],t.snapshotHandler.manifestCache.delete(s.entry);let l=s.buildVersion?(0,nt.composeKeyWithSeparator)(s.name,s.buildVersion):s.name;const c=C.CurrentGlobal.__FEDERATION__.__INSTANCES__.findIndex(d=>s.buildVersion?d.options.id===l:d.name===l);if(c!==-1){const d=C.CurrentGlobal.__FEDERATION__.__INSTANCES__[c];l=d.options.id||l;const u=Ri.getGlobalShareScope();let h=!0;const p=[];Object.keys(u).forEach(m=>{const E=u[m];E&&Object.keys(E).forEach(_=>{const g=E[_];g&&Object.keys(g).forEach(M=>{const $=g[M];$&&Object.keys($).forEach(A=>{const I=$[A];I&&typeof I=="object"&&I.from===s.name&&(I.loaded||I.loading?(I.useIn=I.useIn.filter(F=>F!==s.name),I.useIn.length?h=!1:p.push([m,_,M,A])):p.push([m,_,M,A]))})})})}),h&&(d.shareScopeMap={},delete u[l]),p.forEach(([m,E,_,g])=>{delete u[m]?.[E]?.[_]?.[g]}),C.CurrentGlobal.__FEDERATION__.__INSTANCES__.splice(c,1)}const{hostGlobalSnapshot:f}=vi.getGlobalRemoteInfo(e,t);if(f){const d=f&&"remotesInfo"in f&&f.remotesInfo&&C.getInfoWithoutType(f.remotesInfo,e.name).key;d&&(delete f.remotesInfo[d],C.Global.__FEDERATION__.__MANIFEST_LOADING__[d]&&delete C.Global.__FEDERATION__.__MANIFEST_LOADING__[d])}t.moduleCache.delete(e.name)}}catch(t){Fe.logger.log("removeRemote fail: ",t)}}};Gr.RemoteHandler=Ai;const Oi=T,$i=ne,ki=G,Fi=Mr,wi=Pr,Li=x,Di=Ue,K=pe,st=ve,Hi=ge,Wt=Ae,it=Oe,Gi=We,Ci=wr,qi=Be,Ui=Hr,Wi=Gr;let Bi=w,at=Y;const ji=typeof FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN=="boolean"?!FEDERATION_OPTIMIZE_NO_SNAPSHOT_PLUGIN:!0;var Vi=class{constructor(e){this.hooks=new it.PluginSystem({beforeInit:new Hi.SyncWaterfallHook("beforeInit"),init:new K.SyncHook,beforeInitContainer:new Wt.AsyncWaterfallHook("beforeInitContainer"),initContainer:new Wt.AsyncWaterfallHook("initContainer")}),this.version="2.1.0",this.moduleCache=new Map,this.loaderHook=new it.PluginSystem({getModuleInfo:new K.SyncHook,createScript:new K.SyncHook,createLink:new K.SyncHook,fetch:new st.AsyncHook,loadEntryError:new st.AsyncHook,getModuleFactory:new st.AsyncHook}),this.bridgeHook=new it.PluginSystem({beforeBridgeRender:new K.SyncHook,afterBridgeRender:new K.SyncHook,beforeBridgeDestroy:new K.SyncHook,afterBridgeDestroy:new K.SyncHook});const t=ji?[Gi.snapshotPlugin(),Ci.generatePreloadAssetsPlugin()]:[],r={id:Fi.getBuilderId(),name:e.name,plugins:t,remotes:[],shared:{},inBrowser:(0,Bi.isBrowserEnv)()};this.name=e.name,this.options=r,this.snapshotHandler=new qi.SnapshotHandler(this),this.sharedHandler=new Ui.SharedHandler(this),this.remoteHandler=new Wi.RemoteHandler(this),this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins([...r.plugins,...e.plugins||[]]),this.options=this.formatOptions(r,e)}initOptions(e){e.name&&e.name!==this.options.name&&Oi.error((0,at.getShortErrorMsg)(at.RUNTIME_010,at.runtimeDescMap)),this.registerPlugins(e.plugins);const t=this.formatOptions(this.options,e);return this.options=t,t}async loadShare(e,t){return this.sharedHandler.loadShare(e,t)}loadShareSync(e,t){return this.sharedHandler.loadShareSync(e,t)}initializeSharing(e=$i.DEFAULT_SCOPE,t){return this.sharedHandler.initializeSharing(e,t)}initRawContainer(e,t,r){const n=Li.getRemoteInfo({name:e,entry:t}),o=new Di.Module({host:this,remoteInfo:n});return o.remoteEntryExports=r,this.moduleCache.set(e,o),o}async loadRemote(e,t){return this.remoteHandler.loadRemote(e,t)}async preloadRemote(e){return this.remoteHandler.preloadRemote(e)}initShareScopeMap(e,t,r={}){this.sharedHandler.initShareScopeMap(e,t,r)}formatOptions(e,t){const{allShareInfos:r}=ki.formatShareConfigs(e,t),{userOptions:n,options:o}=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:t,options:e,shareInfo:r}),s=this.remoteHandler.formatAndRegisterRemote(o,n),{allShareInfos:i}=this.sharedHandler.registerShared(o,n),a=[...o.plugins];n.plugins&&n.plugins.forEach(c=>{a.includes(c)||a.push(c)});const l={...e,...t,plugins:a,remotes:s,shared:i};return this.hooks.lifecycle.init.emit({origin:this,options:l}),l}registerPlugins(e){const t=wi.registerPlugins(e,this);this.options.plugins=this.options.plugins.reduce((r,n)=>(n&&r&&!r.find(o=>o.name===n.name)&&r.push(n),r),t||[])}registerRemotes(e,t){return this.remoteHandler.registerRemotes(e,t)}registerShared(e){this.sharedHandler.registerShared(this.options,{...this.options,shared:e})}};Or.ModuleFederation=Vi;var Cr={},qr={},Bt=Object.defineProperty,Xi=(e,t)=>{let r={};for(var n in e)Bt(r,n,{get:e[n],enumerable:!0});return t||Bt(r,Symbol.toStringTag,{value:"Module"}),r};qr.__exportAll=Xi;(function(e){var r=qr.__exportAll({});Object.defineProperty(e,"type_exports",{enumerable:!0,get:function(){return r}})})(Cr);(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=T,r=R,n=S,o=Rt,s=G,i=me,a=x,l=vr,c=Ue,f=Or,d=Cr;let u=w;const h=l.default;e.CurrentGlobal=n.CurrentGlobal,e.Global=n.Global,e.Module=c.Module,e.ModuleFederation=f.ModuleFederation,e.addGlobalSnapshot=n.addGlobalSnapshot,e.assert=t.assert,e.getGlobalFederationConstructor=n.getGlobalFederationConstructor,e.getGlobalSnapshot=n.getGlobalSnapshot,e.getInfoWithoutType=n.getInfoWithoutType,e.getRegisteredShare=s.getRegisteredShare,e.getRemoteEntry=a.getRemoteEntry,e.getRemoteInfo=a.getRemoteInfo,e.helpers=h,e.isStaticResourcesEqual=r.isStaticResourcesEqual,Object.defineProperty(e,"loadScript",{enumerable:!0,get:function(){return u.loadScript}}),Object.defineProperty(e,"loadScriptNode",{enumerable:!0,get:function(){return u.loadScriptNode}}),e.matchRemoteWithNameAndExpose=i.matchRemoteWithNameAndExpose,e.registerGlobalPlugins=n.registerGlobalPlugins,e.resetFederationGlobalInfo=n.resetFederationGlobalInfo,e.safeWrapper=r.safeWrapper,e.satisfy=o.satisfy,e.setGlobalFederationConstructor=n.setGlobalFederationConstructor,e.setGlobalFederationInstance=n.setGlobalFederationInstance,Object.defineProperty(e,"types",{enumerable:!0,get:function(){return d.type_exports}})})(_t);let xi=_t;function Ki(){return typeof FEDERATION_BUILD_IDENTIFIER<"u"?FEDERATION_BUILD_IDENTIFIER:""}function Yi(e,t){const r=Ki();return xi.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!(r&&n.options.id===r||n.options.name===e&&!n.options.version&&!t||n.options.name===e&&t&&n.options.version===t))}jt.getGlobalFederationInstance=Yi;(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const t=jt;let r=_t,n=Y;function o(m){const E=new((0,r.getGlobalFederationConstructor)()||r.ModuleFederation)(m);return(0,r.setGlobalFederationInstance)(E),E}let s=null;function i(m){const E=t.getGlobalFederationInstance(m.name,m.version);return E?(E.initOptions(m),s||(s=E),E):(s=o(m),s)}function a(...m){return(0,r.assert)(s,(0,n.getShortErrorMsg)(n.RUNTIME_009,n.runtimeDescMap)),s.loadRemote.apply(s,m)}function l(...m){return(0,r.assert)(s,(0,n.getShortErrorMsg)(n.RUNTIME_009,n.runtimeDescMap)),s.loadShare.apply(s,m)}function c(...m){return(0,r.assert)(s,(0,n.getShortErrorMsg)(n.RUNTIME_009,n.runtimeDescMap)),s.loadShareSync.apply(s,m)}function f(...m){return(0,r.assert)(s,(0,n.getShortErrorMsg)(n.RUNTIME_009,n.runtimeDescMap)),s.preloadRemote.apply(s,m)}function d(...m){return(0,r.assert)(s,(0,n.getShortErrorMsg)(n.RUNTIME_009,n.runtimeDescMap)),s.registerRemotes.apply(s,m)}function u(...m){return(0,r.assert)(s,(0,n.getShortErrorMsg)(n.RUNTIME_009,n.runtimeDescMap)),s.registerPlugins.apply(s,m)}function h(){return s}function p(...m){return(0,r.assert)(s,(0,n.getShortErrorMsg)(n.RUNTIME_009,n.runtimeDescMap)),s.registerShared.apply(s,m)}(0,r.setGlobalFederationConstructor)(r.ModuleFederation),Object.defineProperty(e,"Module",{enumerable:!0,get:function(){return r.Module}}),e.ModuleFederation=r.ModuleFederation,e.createInstance=o,e.getInstance=h,Object.defineProperty(e,"getRemoteEntry",{enumerable:!0,get:function(){return r.getRemoteEntry}}),Object.defineProperty(e,"getRemoteInfo",{enumerable:!0,get:function(){return r.getRemoteInfo}}),e.init=i,e.loadRemote=a,Object.defineProperty(e,"loadScript",{enumerable:!0,get:function(){return r.loadScript}}),Object.defineProperty(e,"loadScriptNode",{enumerable:!0,get:function(){return r.loadScriptNode}}),e.loadShare=l,e.loadShareSync=c,e.preloadRemote=f,Object.defineProperty(e,"registerGlobalPlugins",{enumerable:!0,get:function(){return r.registerGlobalPlugins}}),e.registerPlugins=u,e.registerRemotes=d,e.registerShared=p})(Ur);export{Ur as d};
|
|
8
|
-
//# sourceMappingURL=index-CHqwNyl4.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const i="__mf_init____mf__virtual/adminUI__mf_v__runtimeInit__mf_v__.js__";if(!globalThis[i]){let _,t;const e=new Promise((n,s)=>{_=n,t=s});globalThis[i]={initPromise:e,initResolve:_,initReject:t}}const{initPromise:o,initResolve:l,initReject:a}=globalThis[i];export{l as a,o as i};
|
|
2
|
-
//# sourceMappingURL=runtimeInit-Baie1-Qs.js.map
|