@empjs/share 3.9.0-beta.1 → 3.9.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/dist/adapter.d.cts +2 -2
- package/dist/adapter.d.ts +2 -2
- package/dist/{index-DcYC_wTZ.d.cts → index-DxEb4EPT.d.cts} +1 -1
- package/dist/{index-DcYC_wTZ.d.ts → index-DxEb4EPT.d.ts} +1 -1
- package/dist/runtime.d.cts +2 -2
- package/dist/runtime.d.ts +2 -2
- package/output/sdk.d.ts +1 -1
- package/output/sdk.js +1 -1
- package/output/sdk.js.map +1 -1
- package/package.json +3 -4
package/dist/adapter.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as EMPShareRuntimeAdapterReactType, I as InitOptionsType } from './index-
|
|
1
|
+
import { b as EMPShareRuntimeAdapterReactType, I as InitOptionsType } from './index-DxEb4EPT.cjs';
|
|
2
2
|
import '@empjs/module-federation-enhanced/runtime';
|
|
3
|
-
import '@module-federation/sdk';
|
|
3
|
+
import '@empjs/module-federation-enhanced/sdk';
|
|
4
4
|
|
|
5
5
|
declare class ReactAdapter {
|
|
6
6
|
libs: EMPShareRuntimeAdapterReactType;
|
package/dist/adapter.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as EMPShareRuntimeAdapterReactType, I as InitOptionsType } from './index-
|
|
1
|
+
import { b as EMPShareRuntimeAdapterReactType, I as InitOptionsType } from './index-DxEb4EPT.js';
|
|
2
2
|
import '@empjs/module-federation-enhanced/runtime';
|
|
3
|
-
import '@module-federation/sdk';
|
|
3
|
+
import '@empjs/module-federation-enhanced/sdk';
|
|
4
4
|
|
|
5
5
|
declare class ReactAdapter {
|
|
6
6
|
libs: EMPShareRuntimeAdapterReactType;
|
package/dist/runtime.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as MFRuntime from '@empjs/module-federation-enhanced/runtime';
|
|
2
|
-
import { E as EMPShareRuntimeType, I as InitOptionsType, a as EmpRuntimeOptions, L as LoadRemoteType } from './index-
|
|
3
|
-
import '@module-federation/sdk';
|
|
2
|
+
import { E as EMPShareRuntimeType, I as InitOptionsType, a as EmpRuntimeOptions, L as LoadRemoteType } from './index-DxEb4EPT.cjs';
|
|
3
|
+
import '@empjs/module-federation-enhanced/sdk';
|
|
4
4
|
|
|
5
5
|
type EmpInitOptionsType = Partial<InitOptionsType>;
|
|
6
6
|
declare class EMPRuntime {
|
package/dist/runtime.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as MFRuntime from '@empjs/module-federation-enhanced/runtime';
|
|
2
|
-
import { E as EMPShareRuntimeType, I as InitOptionsType, a as EmpRuntimeOptions, L as LoadRemoteType } from './index-
|
|
3
|
-
import '@module-federation/sdk';
|
|
2
|
+
import { E as EMPShareRuntimeType, I as InitOptionsType, a as EmpRuntimeOptions, L as LoadRemoteType } from './index-DxEb4EPT.js';
|
|
3
|
+
import '@empjs/module-federation-enhanced/sdk';
|
|
4
4
|
|
|
5
5
|
type EmpInitOptionsType = Partial<InitOptionsType>;
|
|
6
6
|
declare class EMPRuntime {
|
package/output/sdk.d.ts
CHANGED
package/output/sdk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function _array_like_to_array(e,t){if(t==null||t>e.length)t=e.length;for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _array_with_holes(e){if(Array.isArray(e))return e}function _array_without_holes(e){if(Array.isArray(e))return _array_like_to_array(e)}function _assert_this_initialized(e){if(e===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function asyncGeneratorStep(e,t,n,r,o,a,i){try{var c=e[a](i);var s=c.value}catch(e){n(e);return}if(c.done){t(s)}else{Promise.resolve(s).then(r,o)}}function _async_to_generator(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){asyncGeneratorStep(a,r,o,i,c,"next",e)}function c(e){asyncGeneratorStep(a,r,o,i,c,"throw",e)}i(undefined)})}}function _call_super(e,t,n){t=_get_prototype_of(t);return _possible_constructor_return(e,_is_native_reflect_construct()?Reflect.construct(t,n||[],_get_prototype_of(e).constructor):t.apply(e,n))}function _class_call_check(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,r.key,r)}}function _create_class(e,t,n){if(t)_defineProperties(e.prototype,t);if(n)_defineProperties(e,n);return e}function _define_property(e,t,n){if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}function _get_prototype_of(e){_get_prototype_of=Object.setPrototypeOf?Object.getPrototypeOf:function e(e){return e.__proto__||Object.getPrototypeOf(e)};return _get_prototype_of(e)}function _inherits(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function")}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:true,configurable:true}});if(t)_set_prototype_of(e,t)}function _instanceof(e,t){if(t!=null&&typeof Symbol!=="undefined"&&t[Symbol.hasInstance]){return!!t[Symbol.hasInstance](e)}else{return e instanceof t}}function _iterable_to_array(e){if(typeof Symbol!=="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _iterable_to_array_limit(e,t){var n=e==null?null:typeof Symbol!=="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n==null)return;var r=[];var o=true;var a=false;var i,c;try{for(n=n.call(e);!(o=(i=n.next()).done);o=true){r.push(i.value);if(t&&r.length===t)break}}catch(e){a=true;c=e}finally{try{if(!o&&n["return"]!=null)n["return"]()}finally{if(a)throw c}}return r}function _non_iterable_rest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _non_iterable_spread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _possible_constructor_return(e,t){if(t&&(_type_of(t)==="object"||typeof t==="function")){return t}return _assert_this_initialized(e)}function _set_prototype_of(e,t){_set_prototype_of=Object.setPrototypeOf||function e(e,t){e.__proto__=t;return e};return _set_prototype_of(e,t)}function _sliced_to_array(e,t){return _array_with_holes(e)||_iterable_to_array_limit(e,t)||_unsupported_iterable_to_array(e,t)||_non_iterable_rest()}function _to_array(e){return _array_with_holes(e)||_iterable_to_array(e)||_unsupported_iterable_to_array(e)||_non_iterable_rest()}function _to_consumable_array(e){return _array_without_holes(e)||_iterable_to_array(e)||_unsupported_iterable_to_array(e)||_non_iterable_spread()}function _type_of(e){"@swc/helpers - typeof";return e&&typeof Symbol!=="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _unsupported_iterable_to_array(e,t){if(!e)return;if(typeof e==="string")return _array_like_to_array(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor)n=e.constructor.name;if(n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _array_like_to_array(e,t)}function _is_native_reflect_construct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_is_native_reflect_construct=function(){return!!e})()}function _ts_generator(e,t){var n,r,o,a={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return i.next=c(0),i["throw"]=c(1),i["return"]=c(2),typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(e){return function(t){return s([e,t])}}function s(c){if(n)throw new TypeError("Generator is already executing.");while(i&&(i=0,c[0]&&(a=0)),a)try{if(n=1,r&&(o=c[0]&2?r["return"]:c[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;if(r=0,o)c=[c[0]&2,o.value];switch(c[0]){case 0:case 1:o=c;break;case 4:a.label++;return{value:c[1],done:false};case 5:a.label++;r=c[1];c=[0];continue;case 7:c=a.ops.pop();a.trys.pop();continue;default:if(!(o=a.trys,o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(c[0]===6&&a.label<o[1]){a.label=o[1];o=c;break}if(o&&a.label<o[2]){a.label=o[2];a.ops.push(c);break}if(o[2])a.ops.pop();a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e];r=0}finally{n=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}}var EMP_SHARE_RUNTIME=function(){var L=function e(){return(typeof window==="undefined"?"undefined":_type_of(window))<"u"};var de=function e(){return(typeof process==="undefined"?"undefined":_type_of(process))<"u"&&process.env&&process.env.FEDERATION_DEBUG?!!process.env.FEDERATION_DEBUG:(typeof FEDERATION_DEBUG==="undefined"?"undefined":_type_of(FEDERATION_DEBUG))<"u"&&!!FEDERATION_DEBUG};var Xr=function e(e){try{return JSON.stringify(e,null,2)}catch(e){return""}};var Jr=function e(){try{if((typeof window==="undefined"?"undefined":_type_of(window))<"u"&&window.localStorage)return localStorage.getItem(vt)===It}catch(e){return(typeof document==="undefined"?"undefined":_type_of(document))<"u"}return!1};var _e=function e(e){try{return JSON.stringify(e,null,2)}catch(e){return""}};var At=function e(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")};var je=function e(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var n,r;var o=t.remotes,a=o===void 0?{}:o,i=t.overrides,c=i===void 0?{}:i,s=t.version,u,l=function(){return"publicPath"in e.metaData?e.metaData.publicPath==="auto"&&s?At(s):e.metaData.publicPath:e.metaData.getPublicPath},f=Object.keys(c),h={};if(!Object.keys(a).length){var d;h=((d=e.remotes)==null?void 0:d.reduce(function(e,t){var n,r=t.federationContainerName;return f.includes(r)?n=c[r]:"version"in t?n=t.version:n=t.entry,e[r]={matchedVersion:n},e},{}))||{}}Object.keys(a).forEach(function(e){return h[e]={matchedVersion:f.includes(e)?c[e]:a[e]}});var p=e.metaData,m=p.remoteEntry,v=m.path,y=m.name,_=m.type,g=p.types,b=p.buildInfo,E=b.buildVersion,S=p.globalName,I=p.ssrRemoteEntry,R=e.exposes,w={version:s||"",buildVersion:E,globalName:S,remoteEntry:Y(v,y),remoteEntryType:_,remoteTypes:Y(g.path,g.name),remoteTypesZip:g.zip||"",remoteTypesAPI:g.api||"",remotesInfo:h,shared:e===null||e===void 0?void 0:e.shared.map(function(e){return{assets:e.assets,sharedName:e.name,version:e.version}}),modules:R===null||R===void 0?void 0:R.map(function(e){return{moduleName:e.name,modulePath:e.path,assets:e.assets}})};if((n=e.metaData)!=null&&n.prefetchInterface){var k=e.metaData.prefetchInterface;w=F({},w,{prefetchInterface:k})}if((r=e.metaData)!=null&&r.prefetchEntry){var O=e.metaData.prefetchEntry,A=O.path,N=O.name,T=O.type;w=F({},w,{prefetchEntry:Y(A,N),prefetchEntryType:T})}if("publicPath"in e.metaData?u=F({},w,{publicPath:l()}):u=F({},w,{getPublicPath:l()}),I){var P=Y(I.path,I.name);u.ssrRemoteEntry=P,u.ssrRemoteEntryType=I.type||"commonjs-module"}return u};var Ee=function e(e){return!!("remoteEntry"in e&&e.remoteEntry.includes(De))};var Ce=function e(e,t){return _async_to_generator(function(){var n;return _ts_generator(this,function(r){switch(r.label){case 0:r.trys.push([0,2,,3]);return[4,e()];case 1:return[2,r.sent()];case 2:n=r.sent();!t&&ge(n);return[2];case 3:return[2]}})})()};var Ge=function e(e,t){var n=/^(https?:)?\/\//i,r=e.replace(n,"").replace(/\/$/,""),o=t.replace(n,"").replace(/\/$/,"");return r===o};var be=function e(e){var t=null,n=!0,r=2e4,o,a=document.getElementsByTagName("script");for(var i=0;i<a.length;i++){var c=a[i],s=c.getAttribute("src");if(s&&Ge(s,e.url)){t=c,n=!1;break}}if(!t){var u=e.attrs;t=document.createElement("script"),t.type=(u===null||u===void 0?void 0:u.type)==="module"?"module":"text/javascript",t.src=e.url;var l;e.createScriptHook&&(l=e.createScriptHook(e.url,e.attrs),_instanceof(l,HTMLScriptElement)?t=l:(typeof l==="undefined"?"undefined":_type_of(l))=="object"&&("script"in l&&l.script&&(t=l.script),"timeout"in l&&l.timeout&&(r=l.timeout))),u&&!l&&Object.keys(u).forEach(function(e){t&&(e==="async"||e==="defer"?t[e]=u[e]:t.getAttribute(e)||t.setAttribute(e,u[e]))})}var f=function(n,r){return _async_to_generator(function(){var a,i,c,s,u;return _ts_generator(this,function(l){switch(l.label){case 0:if(!(clearTimeout(o),t&&(t.onerror=null,t.onload=null,Ce(function(){var n=e.needDeleteScript,r=n===void 0?!0:n;r&&(t===null||t===void 0?void 0:t.parentNode)&&t.parentNode.removeChild(t)}),n&&typeof n=="function")))return[3,3];c=n(r);if(!_instanceof(c,Promise))return[3,2];return[4,c];case 1:u=l.sent();return[2,(e==null||(s=e.cb)==null||s.call(e),u)];case 2:return[2,(e==null||(i=e.cb)==null||i.call(e),c)];case 3:e==null||(a=e.cb)==null||a.call(e);return[2]}})})()};return t.onerror=f.bind(null,t.onerror),t.onload=f.bind(null,t.onload),o=setTimeout(function(){f(null,new Error('Remote script "'.concat(e.url,'" time-outed.')))},r),{script:t,needAttach:n}};var Z=function e(e){var t=null,n=!0,r=document.getElementsByTagName("link");for(var o=0;o<r.length;o++){var a=r[o],i=a.getAttribute("href"),c=a.getAttribute("ref");if(i&&Ge(i,e.url)&&c===e.attrs.ref){t=a,n=!1;break}}if(!t){t=document.createElement("link"),t.setAttribute("href",e.url);var s,u=e.attrs;e.createLinkHook&&(s=e.createLinkHook(e.url,u),_instanceof(s,HTMLLinkElement)&&(t=s)),u&&!s&&Object.keys(u).forEach(function(e){t&&!t.getAttribute(e)&&t.setAttribute(e,u[e])})}var l=function(n,r){if(t&&(t.onerror=null,t.onload=null,Ce(function(){var n=e.needDeleteLink,r=n===void 0?!0:n;r&&(t===null||t===void 0?void 0:t.parentNode)&&t.parentNode.removeChild(t)}),n)){var o=n(r);return e.cb(),o}e.cb()};return t.onerror=l.bind(null,t.onerror),t.onload=l.bind(null,t.onload),{link:t,needAttach:n}};var Q=function e(e,t){var n=t.attrs,r=n===void 0?{}:n,o=t.createScriptHook;return new Promise(function(t,n){var a=be({url:e,cb:t,attrs:F({fetchpriority:"high"},r),createScriptHook:o,needDeleteScript:!0}),i=a.script,c=a.needAttach;c&&document.head.appendChild(i)})};var X=function e(e){if(!e)throw new Error("import specifier is required");return new Function("name","return import(name)")(e).then(function(e){return e}).catch(function(t){throw console.error("Error importing module ".concat(e,":"),t),t})};var kt=function kt(url,cb,attrs,createScriptHook){if(createScriptHook){var _$e=createScriptHook(url);_$e&&(typeof _$e==="undefined"?"undefined":_type_of(_$e))=="object"&&"url"in _$e&&(url=_$e.url)}var urlObj;try{urlObj=new URL(url)}catch(e){console.error("Error constructing URL:",e),cb(new Error("Invalid URL: ".concat(e)));return}var getFetch=function(){return _async_to_generator(function(){return _ts_generator(this,function(e){if((typeof __webpack_require__==="undefined"?"undefined":_type_of(__webpack_require__))<"u")try{if(__webpack_require__.federation.instance.loaderHook.lifecycle.fetch)return[2,no]}catch(e){console.warn("federation.instance.loaderHook.lifecycle.fetch failed:",e)}return[2,(typeof fetch==="undefined"?"undefined":_type_of(fetch))>"u"?Tt():fetch]})})()},handleScriptFetch=function(f,urlObj){return _async_to_generator(function(){var _vm_constants,res,data,_ref,path,vm,scriptContext,urlDirname,filename,_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER,script,exportedInterface,_$e,e;return _ts_generator(this,function(_state){switch(_state.label){case 0:_state.trys.push([0,4,,5]);return[4,f(urlObj.href)];case 1:res=_state.sent();return[4,res.text()];case 2:data=_state.sent();return[4,Promise.all([X("path"),X("vm")])];case 3:_ref=_sliced_to_array.apply(void 0,[_state.sent(),2]),path=_ref[0],vm=_ref[1],scriptContext={exports:{},module:{exports:{}}},urlDirname=urlObj.pathname.split("/").slice(0,-1).join("/"),filename=path.basename(urlObj.pathname);script=new vm.Script("(function(exports, module, require, __dirname, __filename) {".concat(data,"\n})"),{filename:filename,importModuleDynamically:(_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER=(_vm_constants=vm.constants)==null?void 0:_vm_constants.USE_MAIN_CONTEXT_DEFAULT_LOADER)!=null?_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER:X});script.runInThisContext()(scriptContext.exports,scriptContext.module,eval("require"),urlDirname,filename);exportedInterface=scriptContext.module.exports||scriptContext.exports;if(attrs&&exportedInterface&&attrs.globalName){_$e=exportedInterface[attrs.globalName]||exportedInterface;cb(void 0,_$e);return[2]}cb(void 0,exportedInterface);return[3,5];case 4:e=_state.sent();cb(_instanceof(e,Error)?e:new Error("Script execution error: ".concat(e)));return[3,5];case 5:return[2]}})})()};getFetch().then(function(e){return _async_to_generator(function(){var t,n;return _ts_generator(this,function(r){switch(r.label){case 0:if(!((attrs===null||attrs===void 0?void 0:attrs.type)==="esm"||(attrs===null||attrs===void 0?void 0:attrs.type)==="module"))return[3,2];t=[urlObj.href];n={fetch:e};return[4,X("vm")];case 1:return[2,He.apply(void 0,t.concat([(n.vm=r.sent(),n)])).then(function(e){return _async_to_generator(function(){return _ts_generator(this,function(t){switch(t.label){case 0:return[4,e.evaluate()];case 1:t.sent(),cb(void 0,e.namespace);return[2]}})})()}).catch(function(e){cb(_instanceof(e,Error)?e:new Error("Script execution error: ".concat(e)))})];case 2:handleScriptFetch(e,urlObj);return[2]}})})()}).catch(function(e){cb(e)})};var ee=function e(e,t){return new Promise(function(n,r){kt(e,function(e,o){if(e)r(e);else{var a,i;var c=(t==null||(a=t.attrs)==null?void 0:a.globalName)||"__FEDERATION_".concat(t==null||(i=t.attrs)==null?void 0:i.name,":custom__"),s=globalThis[c]=o;n(s)}},t.attrs,t.createScriptHook)})};var so=function e(e,t,n){return function(r){if(r===!1)return!1;if((typeof r==="undefined"?"undefined":_type_of(r))>"u")return e?t:!1;if(r===!0)return t;if(r&&(typeof r==="undefined"?"undefined":_type_of(r))=="object")return F({},t,r);throw new Error("Unexpected type for `".concat(n,"`, expect boolean/undefined/object, got: ").concat(typeof r==="undefined"?"undefined":_type_of(r)))}};var ot=function e(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a<r.length;a++)o=r[a],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n};var Re=function e(){return(typeof FEDERATION_BUILD_IDENTIFIER==="undefined"?"undefined":_type_of(FEDERATION_BUILD_IDENTIFIER))<"u"?FEDERATION_BUILD_IDENTIFIER:""};var R=function e(e,t){e||x(t)};var x=function e(e){throw _instanceof(e,Error)?(e.message="".concat(we,": ").concat(e.message),e):new Error("".concat(we,": ").concat(e))};var K=function e(e){_instanceof(e,Error)?(e.message="".concat(we,": ").concat(e.message),console.warn(e)):console.warn("".concat(we,": ").concat(e))};var Qe=function e(e,t){return e.findIndex(function(e){return e===t})===-1&&e.push(t),e};var W=function e(e){return"version"in e&&e.version?"".concat(e.name,":").concat(e.version):"entry"in e&&e.entry?"".concat(e.name,":").concat(e.entry):"".concat(e.name)};var Ne=function e(e){return _type_of(e.entry)<"u"};var nt=function e(e){return!e.entry.includes(".json")&&e.entry.includes(".js")};var Ae=function e(e){return e&&(typeof e==="undefined"?"undefined":_type_of(e))=="object"};var xt=function e(e){return ao.call(e)==="[object Object]"};var st=function e(e){return Array.isArray(e)?e:[e]};var at=function e(e){var t={url:"",type:"global",globalName:""};return L()?"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};var re=function e(e,t,n){Object.defineProperty(e,t,{value:n,configurable:!1,writable:!0})};var oe=function e(e,t){return Object.hasOwnProperty.call(e,t)};var it=function e(e){var t,n,r,o,a,i;oe(e,"__VMOK__")&&!oe(e,"__FEDERATION__")&&re(e,"__FEDERATION__",e.__VMOK__),oe(e,"__FEDERATION__")||(re(e,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map}),re(e,"__VMOK__",e.__FEDERATION__));var c;(c=(t=e.__FEDERATION__).__GLOBAL_PLUGIN__)!=null||(t.__GLOBAL_PLUGIN__=[]);var s;(s=(n=e.__FEDERATION__).__INSTANCES__)!=null||(n.__INSTANCES__=[]);var u;(u=(r=e.__FEDERATION__).moduleInfo)!=null||(r.moduleInfo={});var l;(l=(o=e.__FEDERATION__).__SHARE__)!=null||(o.__SHARE__={});var f;(f=(a=e.__FEDERATION__).__MANIFEST_LOADING__)!=null||(a.__MANIFEST_LOADING__={});var h;(h=(i=e.__FEDERATION__).__PRELOADED_MAP__)!=null||(i.__PRELOADED_MAP__=new Map)};var Ft=function e(e,t){var n=Re();return globalThis.__FEDERATION__.__INSTANCES__.find(function(r){return!!(n&&r.options.id===Re()||r.options.name===e&&!r.options.version&&!t||r.options.name===e&&t&&r.options.version===t)})};var jt=function e(e){globalThis.__FEDERATION__.__INSTANCES__.push(e)};var Ct=function e(){return globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR__};var Gt=function e(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:de();t&&(globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR__=e,globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="0.6.10")};var V=function e(e,t){if(typeof t=="string"){if(e[t])return{value:e[t],key:t};{var n=Object.keys(e);var r=true,o=false,a=undefined;try{for(var i=n[Symbol.iterator](),c;!(r=(c=i.next()).done);r=true){var s=c.value;var u=_sliced_to_array(s.split(":"),2),l=u[0],f=u[1],h="".concat(l,":").concat(t),d=e[h];if(d)return{value:d,key:h}}}catch(e){o=true;a=e}finally{try{if(!r&&i.return!=null){i.return()}}finally{if(o){throw a}}}return{value:void 0,key:t}}}else throw new Error("key must be string")};var H=function e(e){return new RegExp(e)};var T=function e(e){return!e||e.toLowerCase()==="x"||e==="*"};var ut=function e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}return function(e){return t.reduce(function(e,t){return t(e)},e)}};var et=function e(e){return e.match(H(Oo))};var tt=function e(e,t,n,r){var o="".concat(e,".").concat(t,".").concat(n);return r?"".concat(o,"-").concat(r):o};var zt=function e(e){return e.replace(H(po),function(e,t,n,r,o,a,i,c,s,u,l,f){return T(n)?t="":T(r)?t=">=".concat(n,".0.0"):T(o)?t=">=".concat(n,".").concat(r,".0"):t=">=".concat(t),T(s)?c="":T(u)?c="<".concat(Number(s)+1,".0.0-0"):T(l)?c="<".concat(s,".").concat(Number(u)+1,".0-0"):f?c="<=".concat(s,".").concat(u,".").concat(l,"-").concat(f):c="<=".concat(c),"".concat(t," ").concat(c).trim()})};var Kt=function e(e){return e.replace(H(_o),"$1$2$3")};var Yt=function e(e){return e.replace(H(Eo),"$1~")};var Xt=function e(e){return e.replace(H(bo),"$1^")};var Jt=function e(e){return e.trim().split(/\s+/).map(function(e){return e.replace(H($o),function(e,t,n,r,o){return T(t)?"":T(n)?">=".concat(t,".0.0 <").concat(Number(t)+1,".0.0-0"):T(r)?t==="0"?">=".concat(t,".").concat(n,".0 <").concat(t,".").concat(Number(n)+1,".0-0"):">=".concat(t,".").concat(n,".0 <").concat(Number(t)+1,".0.0-0"):o?t==="0"?n==="0"?">=".concat(t,".").concat(n,".").concat(r,"-").concat(o," <").concat(t,".").concat(n,".").concat(Number(r)+1,"-0"):">=".concat(t,".").concat(n,".").concat(r,"-").concat(o," <").concat(t,".").concat(Number(n)+1,".0-0"):">=".concat(t,".").concat(n,".").concat(r,"-").concat(o," <").concat(Number(t)+1,".0.0-0"):t==="0"?n==="0"?">=".concat(t,".").concat(n,".").concat(r," <").concat(t,".").concat(n,".").concat(Number(r)+1,"-0"):">=".concat(t,".").concat(n,".").concat(r," <").concat(t,".").concat(Number(n)+1,".0-0"):">=".concat(t,".").concat(n,".").concat(r," <").concat(Number(t)+1,".0.0-0")})}).join(" ")};var Zt=function e(e){return e.trim().split(/\s+/).map(function(e){return e.replace(H(Ro),function(e,t,n,r,o){return T(t)?"":T(n)?">=".concat(t,".0.0 <").concat(Number(t)+1,".0.0-0"):T(r)?">=".concat(t,".").concat(n,".0 <").concat(t,".").concat(Number(n)+1,".0-0"):o?">=".concat(t,".").concat(n,".").concat(r,"-").concat(o," <").concat(t,".").concat(Number(n)+1,".0-0"):">=".concat(t,".").concat(n,".").concat(r," <").concat(t,".").concat(Number(n)+1,".0-0")})}).join(" ")};var Qt=function e(e){return e.split(/\s+/).map(function(e){return e.trim().replace(H(wo),function(e,t,n,r,o,a){var i=T(n),c=i||T(r),s=c||T(o);return t==="="&&s&&(t=""),a="",i?t===">"||t==="<"?"<0.0.0-0":"*":t&&s?(c&&(r=0),o=0,t===">"?(t=">=",c?(n=Number(n)+1,r=0,o=0):(r=Number(r)+1,o=0)):t==="<="&&(t="<",c?n=Number(n)+1:r=Number(r)+1),t==="<"&&(a="-0"),"".concat(t+n,".").concat(r,".").concat(o).concat(a)):c?">=".concat(n,".0.0").concat(a," <").concat(Number(n)+1,".0.0-0"):s?">=".concat(n,".").concat(r,".0").concat(a," <").concat(n,".").concat(Number(r)+1,".0-0"):e})}).join(" ")};var er=function e(e){return e.trim().replace(H(So),"")};var tr=function e(e){return e.trim().replace(H(No),"")};var ae=function e(e,t){return e=Number(e)||e,t=Number(t)||t,e>t?1:e===t?0:-1};var rr=function e(e,t){var n=e.preRelease,r=t.preRelease;if(n===void 0&&r)return 1;if(n&&r===void 0)return-1;if(n===void 0&&r===void 0)return 0;for(var o=0,a=n.length;o<=a;o++){var i=n[o],c=r[o];if(i!==c)return i===void 0&&c===void 0?0:i?c?ae(i,c):-1:1}return 0};var te=function e(e,t){return ae(e.major,t.major)||ae(e.minor,t.minor)||ae(e.patch,t.patch)||rr(e,t)};var Ie=function e(e,t){return e.version===t.version};var or=function e(e,t){switch(e.operator){case"":case"=":return Ie(e,t);case">":return te(e,t)<0;case">=":return Ie(e,t)||te(e,t)<0;case"<":return te(e,t)>0;case"<=":return Ie(e,t)||te(e,t)>0;case void 0:return!0;default:return!1}};var nr=function e(e){return ut(Jt,Zt,Qt,er)(e)};var sr=function e(e){return ut(zt,Kt,Yt,Xt)(e.trim()).split(/\s+/).join(" ")};var ie=function e(e,t){if(!e)return!1;var n=sr(t).split(" ").map(function(e){return nr(e)}).join(" ").split(/\s+/).map(function(e){return tr(e)}),r=et(e);if(!r)return!1;var o=_sliced_to_array(r,7),a=o[1],i=o[3],c=o[4],s=o[5],u=o[6],l={operator:a,version:tt(i,c,s,u),major:i,minor:c,patch:s,preRelease:u===null||u===void 0?void 0:u.split(".")};var f=true,h=false,d=undefined;try{for(var p=n[Symbol.iterator](),m;!(f=(m=p.next()).done);f=true){var v=m.value;var y=et(v);if(!y)return!1;var _=_sliced_to_array(y,7),g=_[1],b=_[3],E=_[4],S=_[5],I=_[6],R={operator:g,version:tt(b,E,S,I),major:b,minor:E,patch:S,preRelease:I===null||I===void 0?void 0:I.split(".")};if(!or(R,l))return!1}}catch(e){h=true;d=e}finally{try{if(!f&&p.return!=null){p.return()}}finally{if(h){throw d}}}return!0};var ar=function e(e,t,n,r){var o;"get"in e?o=e.get:"lib"in e?o=l(function(){return Promise.resolve(e.lib)},"get"):o=l(function(){return Promise.resolve(function(){throw new Error("Can not get shared '".concat(n,"'!"))})},"get"),e.strategy&&K('"shared.strategy is deprecated, please set in initOptions.shareStrategy instead!"');var a,i,c;return k({deps:[],useIn:[],from:t,loading:null},e,{shareConfig:k({requiredVersion:"^".concat(e.version),singleton:!1,eager:!1,strictVersion:!1},e.shareConfig),get:o,loaded:(e===null||e===void 0?void 0:e.loaded)||"lib"in e?!0:void 0,version:(a=e.version)!=null?a:"0",scope:Array.isArray(e.scope)?e.scope:[(i=e.scope)!=null?i:"default"],strategy:((c=e.strategy)!=null?c:r)||"version-first"})};var ht=function e(e,t){var n=t.shared||{},r=t.name,o=Object.keys(n).reduce(function(e,o){var a=st(n[o]);return e[o]=e[o]||[],a.forEach(function(n){e[o].push(ar(n,r,o,t.shareStrategy))}),e},{}),a=k({},e.shared);return Object.keys(o).forEach(function(e){a[e]?o[e].forEach(function(t){a[e].find(function(e){return e.version===t.version})||a[e].push(t)}):a[e]=o[e]}),{shared:a,shareInfos:o}};var z=function e(e,t){var n=l(function(e){if(!Number.isNaN(Number(e))){var t=e.split("."),n=e;for(var r=0;r<3-t.length;r++)n+=".0";return n}return e},"transformInvalidVersion");return!!ie(n(e),"<=".concat(n(t)))};var ir=function e(e,t,n){var r=e[t][n],o=l(function(e,t){return!le(r[e])&&z(e,t)},"callback");return ft(e[t][n],o)};var lr=function e(e,t,n){var r=e[t][n],o=l(function(e,t){return le(r[t])?le(r[e])?!!z(e,t):!0:le(r[e])?!1:z(e,t)},"callback");return ft(e[t][n],o)};var cr=function e(e){return e==="loaded-first"?lr:ir};var U=function e(e,t,n,r){if(!e)return;var o=n.shareConfig,a=n.scope,i=a===void 0?me:a,c=n.strategy,s=Array.isArray(i)?i:[i];var u=true,f=false,h=undefined;try{var d=function(){var a=m.value;if(o&&e[a]&&e[a][t]){var i=o.requiredVersion,s=cr(c)(e,a,t),u=l(function(){if(o.singleton){if(typeof i=="string"&&!ie(s,i)){var r="Version ".concat(s," from ").concat(s&&e[a][t][s].from," of shared singleton module ").concat(t," does not satisfy the requirement of ").concat(n.from," which needs ").concat(i,")");o.strictVersion?x(r):K(r)}return e[a][t][s]}else{if(i===!1||i==="*"||ie(s,i))return e[a][t][s];var c=true,u=false,f=undefined;try{for(var h=Object.entries(e[a][t])[Symbol.iterator](),d;!(c=(d=h.next()).done);c=true){var p=_sliced_to_array(d.value,2),m=p[0],v=p[1];if(ie(m,i))return v}}catch(e){u=true;f=e}finally{try{if(!c&&h.return!=null){h.return()}}finally{if(u){throw f}}}}},"defaultResolver"),f={shareScopeMap:e,scope:a,pkgName:t,version:s,GlobalFederation:ce.__FEDERATION__,resolver:u};return{v:(r.emit(f)||f).resolver()}}};for(var p=s[Symbol.iterator](),m;!(u=(m=p.next()).done);u=true){var v=d();if(_type_of(v)==="object")return v.v}}catch(e){f=true;h=e}finally{try{if(!u&&p.return!=null){p.return()}}finally{if(f){throw h}}}};var mt=function e(){return ce.__FEDERATION__.__SHARE__};var rt=function e(e){var t=e.pkgName,n=e.extraOptions,r=e.shareInfos,o=l(function(e){if(!e)return;var t={};e.forEach(function(e){t[e.version]=e});var n=ft(t,l(function(e,n){return!le(t[e])&&z(e,n)},"callback"));return t[n]},"defaultResolver");var a;var i=(a=n===null||n===void 0?void 0:n.resolver)!=null?a:o;return Object.assign({},i(r[t]),n===null||n===void 0?void 0:n.customShareInfo)};var ur=function e(e,t){var n=true,r=false,o=undefined;try{for(var a=e[Symbol.iterator](),i;!(n=(i=a.next()).done);n=true){var c=i.value;var s=t.startsWith(c.name),u=t.replace(c.name,"");if(s){if(u.startsWith("/")){var l=c.name;return u=".".concat(u),{pkgNameOrAlias:l,expose:u,remote:c}}else if(u==="")return{pkgNameOrAlias:c.name,expose:".",remote:c}}var f=c.alias&&t.startsWith(c.alias),h=c.alias&&t.replace(c.alias,"");if(c.alias&&f){if(h&&h.startsWith("/")){var d=c.alias;return h=".".concat(h),{pkgNameOrAlias:d,expose:h,remote:c}}else if(h==="")return{pkgNameOrAlias:c.alias,expose:".",remote:c}}}}catch(e){r=true;o=e}finally{try{if(!n&&a.return!=null){a.return()}}finally{if(r){throw o}}}};var hr=function e(e,t){var n=true,r=false,o=undefined;try{for(var a=e[Symbol.iterator](),i;!(n=(i=a.next()).done);n=true){var c=i.value;if(t===c.name||c.alias&&t===c.alias)return c}}catch(e){r=true;o=e}finally{try{if(!n&&a.return!=null){a.return()}}finally{if(r){throw o}}}};var fr=function e(e,t){var n=uo();return n.length>0&&n.forEach(function(t){(e===null||e===void 0?void 0:e.find(function(e){return e.name!==t.name}))&&e.push(t)}),e&&e.length>0&&e.forEach(function(e){t.forEach(function(t){t.applyPlugin(e)})}),e};var mr=function e(e){return _async_to_generator(function(e){var t,n;return _ts_generator(this,function(r){t=e.entry,n=e.remoteEntryExports;return[2,new Promise(function(e,r){try{n?e(n):new Function("callbacks",'import("'.concat(t,'").then(callbacks[0]).catch(callbacks[1])'))([e,r])}catch(e){r(e)}})]})}).apply(this,arguments)};var pr=function e(e){return _async_to_generator(function(e){var t,n;return _ts_generator(this,function(r){t=e.entry,n=e.remoteEntryExports;return[2,new Promise(function(e,r){try{n?e(n):new Function("callbacks",'System.import("'.concat(t,'").then(callbacks[0]).catch(callbacks[1])'))([e,r])}catch(e){r(e)}})]})}).apply(this,arguments)};var dr=function e(e){return _async_to_generator(function(e){var t,n,r,o,a,i;return _ts_generator(this,function(c){t=e.name,n=e.globalName,r=e.entry,o=e.createScriptHook;a=Oe(t,n),i=a.entryExports;return[2,i||Q(r,{attrs:{},createScriptHook:l(function(e,t){var n=o.emit({url:e,attrs:t});if(n&&(_instanceof(n,HTMLScriptElement)||"script"in n||"timeout"in n))return n},"createScriptHook")}).then(function(){var e=Oe(t,n),o=e.remoteEntryKey,a=e.entryExports;return R(a,"\n Unable to use the ".concat(t,"'s '").concat(r,"' URL with ").concat(o,"'s globalName to get remoteEntry exports.\n Possible reasons could be:\n\n 1. '").concat(r,"' is not the correct URL, or the remoteEntry resource or name is incorrect.\n\n 2. ").concat(o," cannot be used to get remoteEntry exports in the window object.\n ")),a}).catch(function(e){throw e})]})}).apply(this,arguments)};var yr=function e(e){return _async_to_generator(function(e){var t,n,r,o,a,i,c;return _ts_generator(this,function(s){t=e.remoteInfo,n=e.remoteEntryExports,r=e.createScriptHook;o=t.entry,a=t.entryGlobalName,i=t.name,c=t.type;switch(c){case"esm":case"module":return[2,mr({entry:o,remoteEntryExports:n})];case"system":return[2,pr({entry:o,remoteEntryExports:n})];default:return[2,dr({entry:o,globalName:a,name:i,createScriptHook:r})]}return[2]})}).apply(this,arguments)};var gr=function e(e){return _async_to_generator(function(e){var t,n,r,o,a,i,c,s;return _ts_generator(this,function(u){t=e.remoteInfo,n=e.createScriptHook;r=t.entry,o=t.entryGlobalName,a=t.name,i=t.type,c=Oe(a,o),s=c.entryExports;return[2,s||ee(r,{attrs:{name:a,globalName:o,type:i},createScriptHook:l(function(e,t){var r=n.emit({url:e,attrs:t});if(r&&"url"in r)return r},"createScriptHook")}).then(function(){var e=Oe(a,o),t=e.remoteEntryKey,n=e.entryExports;return R(n,"\n Unable to use the ".concat(a,"'s '").concat(r,"' URL with ").concat(t,"'s globalName to get remoteEntry exports.\n Possible reasons could be:\n\n 1. '").concat(r,"' is not the correct URL, or the remoteEntry resource or name is incorrect.\n\n 2. ").concat(t," cannot be used to get remoteEntry exports in the window object.\n ")),n}).catch(function(e){throw e})]})}).apply(this,arguments)};var pt=function e(e){var t=e.entry,n=e.name;return ye(n,t)};var Te=function e(e){return _async_to_generator(function(e){var t,n,r,o,a,i;return _ts_generator(this,function(c){t=e.origin,n=e.remoteEntryExports,r=e.remoteInfo;o=pt(r);if(n)return[2,n];if(!ne[o]){a=t.remoteHandler.hooks.lifecycle.loadEntry,i=t.loaderHook.lifecycle.createScript;ne[o]=a.emit({createScriptHook:i,remoteInfo:r,remoteEntryExports:n}).then(function(e){return e||(L()?yr({remoteInfo:r,remoteEntryExports:n,createScriptHook:i}):gr({remoteInfo:r,createScriptHook:i}))})}return[2,ne[o]]})}).apply(this,arguments)};var ue=function e(e){return k({},e,{entry:"entry"in e?e.entry:"",type:e.type||Ut,entryGlobalName:e.entryGlobalName||e.name,shareScope:e.shareScope||me})};var yt=function e(e,t){if(!Ae(t))return!1;if(e!==t){for(var n in e)if(!(n in t))return!1}return!0};var gt=function e(e){return k({resourceCategory:"sync",share:!0,depsRemote:!0,prefetchInterface:!1},e)};var _r=function e(e,t){return t.map(function(t){var n=hr(e,t.nameOrAlias);return R(n,"Unable to preload ".concat(t.nameOrAlias," as it is not included in ").concat(!n&&_e({remoteInfo:n,remotes:e}))),{remote:n,preloadConfig:gt(t)}})};var Er=function e(e){return e?e.map(function(e){return e==="."?e:e.startsWith("./")?e.replace("./",""):e}):[]};var _t=function e(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;var o=n.cssAssets,a=n.jsAssetsWithoutEntry,i=n.entryAssets;if(t.options.inBrowser){if(i.forEach(function(n){var r=n.moduleInfo,o=t.moduleCache.get(e.name);Te(o?{origin:t,remoteInfo:r,remoteEntryExports:o.remoteEntryExports}:{origin:t,remoteInfo:r,remoteEntryExports:void 0})}),r){var c={rel:"preload",as:"style"};o.forEach(function(e){var n=Z({url:e,cb:l(function(){},"cb"),attrs:c,createLinkHook:l(function(e,n){var r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:n});if(_instanceof(r,HTMLLinkElement))return r},"createLinkHook")}),r=n.link,o=n.needAttach;o&&document.head.appendChild(r)})}else{var s={rel:"stylesheet",type:"text/css"};o.forEach(function(e){var n=Z({url:e,cb:l(function(){},"cb"),attrs:s,createLinkHook:l(function(e,n){var r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:n});if(_instanceof(r,HTMLLinkElement))return r},"createLinkHook"),needDeleteLink:!1}),r=n.link,o=n.needAttach;o&&document.head.appendChild(r)})}if(r){var u={rel:"preload",as:"script"};a.forEach(function(e){var n=Z({url:e,cb:l(function(){},"cb"),attrs:u,createLinkHook:l(function(e,n){var r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:n});if(_instanceof(r,HTMLLinkElement))return r},"createLinkHook")}),r=n.link,o=n.needAttach;o&&document.head.appendChild(r)})}else{var f={fetchpriority:"high",type:(e===null||e===void 0?void 0:e.type)==="module"?"module":"text/javascript"};a.forEach(function(e){var n=be({url:e,cb:l(function(){},"cb"),attrs:f,createScriptHook:l(function(e,n){var r=t.loaderHook.lifecycle.createScript.emit({url:e,attrs:n});if(_instanceof(r,HTMLScriptElement))return r},"createScriptHook"),needDeleteScript:!0}),r=n.script,o=n.needAttach;o&&document.head.appendChild(r)})}}};var Et=function e(e,t){var n=at(t);n.url||x("The attribute remoteEntry of ".concat(e.name," must not be undefined."));var r=J(t,n.url);!L()&&!r.startsWith("http")&&(r="https:".concat(r)),e.type=n.type,e.entryGlobalName=n.globalName,e.entry=r,e.version=t.version,e.buildVersion=t.buildVersion};var br=function e(){return{name:"snapshot-plugin",afterResolve:function e(e){return _async_to_generator(function(){var t,n,r,o,a,i,c,s,u,l;return _ts_generator(this,function(f){switch(f.label){case 0:t=e.remote,n=e.pkgNameOrAlias,r=e.expose,o=e.origin,a=e.remoteInfo;if(!(!Ne(t)||!nt(t)))return[3,3];return[4,o.snapshotHandler.loadRemoteSnapshotInfo(t)];case 1:i=f.sent(),c=i.remoteSnapshot,s=i.globalSnapshot;Et(a,c);u={remote:t,preloadConfig:{nameOrAlias:n,exposes:[r],resourceCategory:"sync",share:!1,depsRemote:!1}};return[4,o.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:o,preloadOptions:u,remoteInfo:a,remote:t,remoteSnapshot:c,globalSnapshot:s})];case 2:l=f.sent();return[2,(l&&_t(a,o,l,!1),k({},e,{remoteSnapshot:c}))];case 3:return[2,e]}})})()}}};var Sr=function e(e){var 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]}};var $r=function e(e,t,n,r,o){var a=[],i=[],c=[],s=new Set,u=new Set,f=e.options,h=t.preloadConfig,d=h.depsRemote;if(bt(r,n,function(t,n,r){var o=function e(e){var n=e.map(function(e){return J(t,e)});return s.filter?n.filter(s.filter):n};var s;if(r)s=h;else if(Array.isArray(d)){var u=d.find(function(e){return e.nameOrAlias===n.name||e.nameOrAlias===n.alias});if(!u)return;s=gt(u)}else if(d===!0)s=h;else return;var f=J(t,at(t).url);f&&c.push({name:n.name,moduleInfo:{name:n.name,entry:f,type:"remoteEntryType"in t?t.remoteEntryType:"global",entryGlobalName:"globalName"in t?t.globalName:n.name,shareScope:"",version:"version"in t?t.version:void 0},url:f});var p="modules"in t?t.modules:[],m=Er(s.exposes);if(m.length&&"modules"in t){var v;p=t==null||(v=t.modules)==null?void 0:v.reduce(function(e,t){return(m===null||m===void 0?void 0:m.indexOf(t.moduleName))!==-1&&e.push(t),e},[])}if(l(o,"handleAssets"),p){var y=p.length;for(var _=0;_<y;_++){var g,b,E,S,I,R;var w=p[_],k="".concat(n.name,"/").concat(w.moduleName);e.remoteHandler.hooks.lifecycle.handlePreloadModule.emit({id:w.moduleName==="."?n.name:k,name:n.name,remoteSnapshot:t,preloadConfig:s,remote:n,origin:e}),!ho(k)&&(s.resourceCategory==="all"?((g=a).push.apply(g,_to_consumable_array(o(w.assets.css.async))),(b=a).push.apply(b,_to_consumable_array(o(w.assets.css.sync))),(E=i).push.apply(E,_to_consumable_array(o(w.assets.js.async))),(S=i).push.apply(S,_to_consumable_array(o(w.assets.js.sync)))):(s.resourceCategory="sync")&&((I=a).push.apply(I,_to_consumable_array(o(w.assets.css.sync))),(R=i).push.apply(R,_to_consumable_array(o(w.assets.js.sync)))),fo(k))}}},!0,{},o),o.shared){var p=l(function(t,n){var r=U(e.shareScopeMap,n.sharedName,t,e.sharedHandler.hooks.lifecycle.resolveShare);r&&typeof r.lib=="function"&&(n.assets.js.sync.forEach(function(e){s.add(e)}),n.assets.css.sync.forEach(function(e){u.add(e)}))},"collectSharedAssets");o.shared.forEach(function(e){var t;var n=(t=f.shared)==null?void 0:t[e.sharedName];if(!n)return;var r=e.version?n.find(function(t){return t.version===e.version}):n;r&&st(r).forEach(function(t){p(t,e)})})}var m=i.filter(function(e){return!s.has(e)});return{cssAssets:a.filter(function(e){return!u.has(e)}),jsAssetsWithoutEntry:m,entryAssets:c}};var St=function e(e,t){var n=$e({name:t.options.name,version:t.options.version}),r=n&&"remotesInfo"in n&&n.remotesInfo&&V(n.remotesInfo,e.name).value;return r&&r.matchedVersion?{hostGlobalSnapshot:n,globalSnapshot:Pt(),remoteSnapshot:$e({name:e.name,version:r.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:Pt(),remoteSnapshot:$e({name:e.name,version:"version"in e?e.version:void 0})}};var vr=function e(e){if(b)return b.registerRemotes(e.remotes),b;var t=Ft(e.name,e.version);if(t)return t.initOptions(e),b||(b=t),t;{var n=Ct()||$t;return b=new n(e),jt(b),b}};var Ir=function e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}return R(b,"Please call init first"),b.loadRemote.apply(b,t)};var Rr=function e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}return R(b,"Please call init first"),b.loadShare.apply(b,t)};var wr=function e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}return R(b,"Please call init first"),b.loadShareSync.apply(b,t)};var Or=function e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}return R(b,"Please call init first"),b.preloadRemote.apply(b,t)};var Nr=function e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}return R(b,"Please call init first"),b.registerRemotes.apply(b,t)};var Ar=function e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}return R(b,"Please call init first"),b.registerPlugins.apply(b,t)};var Tr=function e(){return b};var Le=Object.defineProperty;var kr=Object.getOwnPropertyDescriptor;var Pr=Object.getOwnPropertyNames;var Lr=Object.prototype.hasOwnProperty;var G=function(e){return(typeof require==="undefined"?"undefined":_type_of(require))<"u"?require:(typeof Proxy==="undefined"?"undefined":_type_of(Proxy))<"u"?new Proxy(e,{get:function(e,t){return((typeof require==="undefined"?"undefined":_type_of(require))<"u"?require:e)[t]}}):e}(function(e){if((typeof require==="undefined"?"undefined":_type_of(require))<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Me=function(e,t){for(var n in t)Le(e,n,{get:t[n],enumerable:!0})},Mr=function(e,t,n,r){var o=true,a=false,i=undefined;if(t&&(typeof t==="undefined"?"undefined":_type_of(t))=="object"||typeof t=="function")try{var c=function(){var o=u.value;!Lr.call(e,o)&&o!==n&&Le(e,o,{get:function(){return t[o]},enumerable:!(r=kr(t,o))||r.enumerable})};for(var s=Pr(t)[Symbol.iterator](),u;!(o=(u=s.next()).done);o=true)c()}catch(e){a=true;i=e}finally{try{if(!o&&s.return!=null){s.return()}}finally{if(a){throw i}}}return e};var Hr=function(e){return Mr(Le({},"__esModule",{value:!0}),e)};var Lo={};Me(Lo,{MFRuntime:function(){return ke},MFSDK:function(){return Se}});var ke={};Me(ke,{FederationHost:function(){return $t},Module:function(){return dt},getInstance:function(){return Tr},getRemoteEntry:function(){return Te},getRemoteInfo:function(){return ue},init:function(){return vr},loadRemote:function(){return Ir},loadScript:function(){return Q},loadScriptNode:function(){return ee},loadShare:function(){return Rr},loadShareSync:function(){return wr},preloadRemote:function(){return Or},registerGlobalPlugins:function(){return co},registerPlugins:function(){return Ar},registerRemotes:function(){return Nr}});var Dr=Object.defineProperty;var l=function(e,t){return Dr(e,"name",{value:t,configurable:!0})},Ho=function(e){return(typeof G==="undefined"?"undefined":_type_of(G))<"u"?G:(typeof Proxy==="undefined"?"undefined":_type_of(Proxy))<"u"?new Proxy(e,{get:function(e,t){return((typeof G==="undefined"?"undefined":_type_of(G))<"u"?G:e)[t]}}):e}(function(e){if((typeof G==="undefined"?"undefined":_type_of(G))<"u")return G.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Se={};Me(Se,{BROWSER_LOG_KEY:function(){return vt},BROWSER_LOG_VALUE:function(){return It},ENCODE_NAME_PREFIX:function(){return Ur},EncodedNameTransformMap:function(){return pe},FederationModuleManifest:function(){return xr},Logger:function(){return wt},MANIFEST_EXT:function(){return De},MFModuleType:function(){return Cr},MFPrefetchCommon:function(){return Br},MODULE_DEVTOOL_IDENTIFIER:function(){return Gr},ManifestFileName:function(){return Fr},NameTransformMap:function(){return P},NameTransformSymbol:function(){return w},SEPARATOR:function(){return xe},StatsFileName:function(){return jr},TEMP_DIR:function(){return Vr},assert:function(){return oo},composeKeyWithSeparator:function(){return ye},containerPlugin:function(){return Wr},containerReferencePlugin:function(){return qr},createLink:function(){return Z},createScript:function(){return be},createScriptNode:function(){return kt},decodeName:function(){return eo},encodeName:function(){return Fe},error:function(){return Nt},generateExposeFilename:function(){return to},generateShareFilename:function(){return ro},generateSnapshotFromManifest:function(){return je},getProcessEnv:function(){return Rt},getResourceUrl:function(){return J},inferAutoPublicPath:function(){return At},isBrowserEnv:function(){return L},isDebugMode:function(){return de},isManifestProvider:function(){return Ee},isStaticResourcesEqual:function(){return Ge},loadScript:function(){return Q},loadScriptNode:function(){return ee},logger:function(){return Qr},moduleFederationPlugin:function(){return zr},normalizeOptions:function(){return so},parseEntry:function(){return Zr},safeToString:function(){return _e},safeWrapper:function(){return Ce},sharePlugin:function(){return Kr},simpleJoinRemoteEntry:function(){return Y},warn:function(){return ge}});function F(){return F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},F.apply(this,arguments)}var _obj,_obj1;var xr="federation-manifest.json",De=".json",vt="FEDERATION_DEBUG",It="1",w={AT:"@",HYPHEN:"-",SLASH:"/"},P=(_obj={},_define_property(_obj,w.AT,"scope_"),_define_property(_obj,w.HYPHEN,"_"),_define_property(_obj,w.SLASH,"__"),_obj),pe=(_obj1={},_define_property(_obj1,P[w.AT],w.AT),_define_property(_obj1,P[w.HYPHEN],w.HYPHEN),_define_property(_obj1,P[w.SLASH],w.SLASH),_obj1),xe=":",Fr="mf-manifest.json",jr="mf-stats.json",Cr={NPM:"npm",APP:"app"},Gr="__MF_DEVTOOLS_MODULE_INFO__",Ur="ENCODE_NAME_PREFIX",Vr=".federation",Br={identifier:"MFDataPrefetch",globalKey:"__PREFETCH__",library:"mf-data-prefetch",exportsKey:"__PREFETCH_EXPORTS__",fileName:"bootstrap.js"},Wr=Object.freeze({__proto__:null}),qr=Object.freeze({__proto__:null}),zr=Object.freeze({__proto__:null}),Kr=Object.freeze({__proto__:null});var Rt=function e(){return(typeof process==="undefined"?"undefined":_type_of(process))<"u"&&process.env?process.env:{}},Yr="[ FEDERATION DEBUG ]";var wt=/*#__PURE__*/function(){function e(t){_class_call_check(this,e);this.enable=!1,this.identifier=t||Yr,L()&&Jr()?this.enable=!0:de()&&(this.enable=!0)}_create_class(e,[{key:"info",value:function e(e,t){if(this.enable){var n=Xr(t)||"";L()?console.info("%c ".concat(this.identifier,": ").concat(e," ").concat(n),"color:#3300CC"):console.info("\x1b[34m%s","".concat(this.identifier,": ").concat(e," ").concat(n?"\n".concat(n):""))}}},{key:"logOriginalInfo",value:function e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}var r,o;this.enable&&(L()?(console.info("%c ".concat(this.identifier,": OriginalInfo"),"color:#3300CC"),(r=console).log.apply(r,_to_consumable_array(t))):(console.info("%c ".concat(this.identifier,": OriginalInfo"),"color:#3300CC"),(o=console).log.apply(o,_to_consumable_array(t))))}}]);return e}(),Ot="[ Federation Runtime ]",Zr=function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:xe;var r=e.split(n),o=Rt().NODE_ENV==="development"&&t,a="*",i=function(e){return e.startsWith("http")||e.includes(De)};if(r.length>=2){var c=_to_array(r),s=c[0],u=c.slice(1);e.startsWith(n)&&(u=[o||r.slice(-1)[0]],s=r.slice(0,-1).join(n));var l=o||u.join(n);return i(l)?{name:s,entry:l}:{name:s,version:l||a}}else if(r.length===1){var f=_sliced_to_array(r,1),h=f[0];return o&&i(o)?{name:h,entry:o}:{name:h,version:o||a}}else throw"Invalid entry value: ".concat(e)},Qr=new wt,ye=function e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}return t.length?t.reduce(function(e,t){return t?e?"".concat(e).concat(xe).concat(t):t:e},""):""},Fe=function e(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;try{var r=n?".js":"";return"".concat(t).concat(e.replace(new RegExp("".concat(w.AT),"g"),P[w.AT]).replace(new RegExp("".concat(w.HYPHEN),"g"),P[w.HYPHEN]).replace(new RegExp("".concat(w.SLASH),"g"),P[w.SLASH])).concat(r)}catch(e){throw e}},eo=function e(e,t,n){try{var r=e;if(t){if(!r.startsWith(t))return r;r=r.replace(new RegExp(t,"g"),"")}return r=r.replace(new RegExp("".concat(P[w.AT]),"g"),pe[P[w.AT]]).replace(new RegExp("".concat(P[w.SLASH]),"g"),pe[P[w.SLASH]]).replace(new RegExp("".concat(P[w.HYPHEN]),"g"),pe[P[w.HYPHEN]]),n&&(r=r.replace(".js","")),r}catch(e){throw e}},to=function(e,t){if(!e)return"";var n=e;return n==="."&&(n="default_export"),n.startsWith("./")&&(n=n.replace("./","")),Fe(n,"__federation_expose_",t)},ro=function(e,t){return e?Fe(e,"__federation_shared_",t):""},J=function(e,t){if("getPublicPath"in e){var n;return e.getPublicPath.startsWith("function")?n=new Function("return "+e.getPublicPath)()():n=new Function(e.getPublicPath)(),"".concat(n).concat(t)}else return"publicPath"in e?"".concat(e.publicPath).concat(t):(console.warn("Cannot get resource URL. If in debug mode, please ignore.",e,t),"")},oo=function(e,t){e||Nt(t)},Nt=function(e){throw new Error("".concat(Ot,": ").concat(e))},ge=function(e){console.warn("".concat(Ot,": ").concat(e))};var Y=function(e,t){if(!e)return t;var n=function(e){if(e===".")return"";if(e.startsWith("./"))return e.replace("./","");if(e.startsWith("/")){var t=e.slice(1);return t.endsWith("/")?t.slice(0,-1):t}return e}(e);return n?n.endsWith("/")?"".concat(n).concat(t):"".concat(n,"/").concat(t):t};var Tt=function(){return _async_to_generator(function(){var e;return _ts_generator(this,function(t){switch(t.label){case 0:return[4,X("node-fetch")];case 1:e=t.sent();return[2,e.default||e]}})})()},no=function(e,t){return _async_to_generator(function(){var n,r,o,a;return _ts_generator(this,function(i){switch(i.label){case 0:n=__webpack_require__.federation.instance.loaderHook;return[4,function(e,t){return n.lifecycle.fetch.emit(e,t)}(e,t||{})];case 1:r=i.sent();if(!(!r||!_instanceof(r,Response)))return[3,5];if(!((typeof fetch==="undefined"?"undefined":_type_of(fetch))>"u"))return[3,3];return[4,Tt()];case 2:a=i.sent();return[3,4];case 3:a=fetch;i.label=4;case 4:o=a(e,t||{});return[3,6];case 5:o=r;i.label=6;case 6:return[2,o]}})})()};function He(e,t){return _async_to_generator(function(){var n,r,o,a;return _ts_generator(this,function(i){switch(i.label){case 0:n=t.fetch,r=t.vm;return[4,n(e)];case 1:return[4,i.sent().text()];case 2:o=i.sent(),a=new r.SourceTextModule(o,{importModuleDynamically:function(n,r){return _async_to_generator(function(){var r;return _ts_generator(this,function(o){r=new URL(n,e).href;return[2,He(r,t)]})})()}});return[4,a.link(function(n){return _async_to_generator(function(){var r;return _ts_generator(this,function(o){switch(o.label){case 0:r=new URL(n,e).href;return[4,He(r,t)];case 1:return[2,o.sent()]}})})()})];case 3:return[2,(i.sent(),a)]}})})()}function k(){return k=Object.assign||l(function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},"assign"),k.apply(this,arguments)}l(k,"_extends");l(ot,"_object_without_properties_loose");l(Re,"getBuilderId");var we="[ Federation Runtime ]";l(R,"assert");l(x,"error");l(K,"warn");l(Qe,"addUniqueItem");l(W,"getFMId");l(Ne,"isRemoteInfoWithEntry");l(nt,"isPureRemoteEntry");l(Ae,"isObject");var ao=Object.prototype.toString;l(xt,"isPlainObject");l(st,"arrayOptions");l(at,"getRemoteEntryInfoFromSnapshot");var M=function(){try{return new Function("return this")()}catch(e){return globalThis}}(),ce=M;l(re,"definePropertyGlobalVal");l(oe,"includeOwnProperty");oe(globalThis,"__GLOBAL_LOADING_REMOTE_ENTRY__")||re(globalThis,"__GLOBAL_LOADING_REMOTE_ENTRY__",{});var ne=globalThis.__GLOBAL_LOADING_REMOTE_ENTRY__;l(it,"setGlobalDefaultVal");it(globalThis);it(M);l(Ft,"getGlobalFederationInstance");l(jt,"setGlobalFederationInstance");l(Ct,"getGlobalFederationConstructor");l(Gt,"setGlobalFederationConstructor");l(V,"getInfoWithoutType");var Pt=l(function(){return M.__FEDERATION__.moduleInfo},"getGlobalSnapshot"),io=l(function(e,t){var n=W(e),r=V(t,n).value;if(r&&!r.version&&"version"in e&&e.version&&(r.version=e.version),r)return r;if("version"in e&&e.version){var o=e.version,a=ot(e,["version"]),i=W(a),c=V(M.__FEDERATION__.moduleInfo,i).value;if((c===null||c===void 0?void 0:c.version)===o)return c}},"getTargetSnapshotInfoByModuleInfo"),$e=l(function(e){return io(e,M.__FEDERATION__.moduleInfo)},"getGlobalSnapshotInfoByModuleInfo"),Lt=l(function(e,t){var n=W(e);return M.__FEDERATION__.moduleInfo[n]=t,M.__FEDERATION__.moduleInfo},"setGlobalSnapshotInfoByModuleInfo"),lo=l(function(e){return M.__FEDERATION__.moduleInfo=k({},M.__FEDERATION__.moduleInfo,e),function(){var t=Object.keys(e);var n=true,r=false,o=undefined;try{for(var a=t[Symbol.iterator](),i;!(n=(i=a.next()).done);n=true){var c=i.value;delete M.__FEDERATION__.moduleInfo[c]}}catch(e){r=true;o=e}finally{try{if(!n&&a.return!=null){a.return()}}finally{if(r){throw o}}}}},"addGlobalSnapshot"),Oe=l(function(e,t){var n=t||"__FEDERATION_".concat(e,":custom__"),r=globalThis[n];return{remoteEntryKey:n,entryExports:r}},"getRemoteEntryExports"),co=l(function(e){var t=M.__FEDERATION__,n=t.__GLOBAL_PLUGIN__;e.forEach(function(e){n.findIndex(function(t){return t.name===e.name})===-1?n.push(e):K("The plugin ".concat(e.name," has been registered."))})},"registerGlobalPlugins"),uo=l(function(){return M.__FEDERATION__.__GLOBAL_PLUGIN__},"getGlobalHostPlugins"),ho=l(function(e){return globalThis.__FEDERATION__.__PRELOADED_MAP__.get(e)},"getPreloaded"),fo=l(function(e){return globalThis.__FEDERATION__.__PRELOADED_MAP__.set(e,!0)},"setPreloaded"),me="default",Ut="global",Mt="[0-9A-Za-z-]+",lt="(?:\\+(".concat(Mt,"(?:\\.").concat(Mt,")*))"),se="0|[1-9]\\d*",ve="[0-9]+",Vt="\\d*[a-zA-Z-][a-zA-Z0-9-]*",Ht="(?:".concat(ve,"|").concat(Vt,")"),mo="(?:-?(".concat(Ht,"(?:\\.").concat(Ht,")*))"),Dt="(?:".concat(se,"|").concat(Vt,")"),Bt="(?:-(".concat(Dt,"(?:\\.").concat(Dt,")*))"),Ue="".concat(se,"|x|X|\\*"),q="[v=\\s]*(".concat(Ue,")(?:\\.(").concat(Ue,")(?:\\.(").concat(Ue,")(?:").concat(Bt,")?").concat(lt,"?)?)?"),po="^\\s*(".concat(q,")\\s+-\\s+(").concat(q,")\\s*$"),yo="(".concat(ve,")\\.(").concat(ve,")\\.(").concat(ve,")"),go="[v=\\s]*".concat(yo).concat(mo,"?").concat(lt,"?"),ct="((?:<|>)?=?)",_o="(\\s*)".concat(ct,"\\s*(").concat(go,"|").concat(q,")"),Wt="(?:~>?)",Eo="(\\s*)".concat(Wt,"\\s+"),qt="(?:\\^)",bo="(\\s*)".concat(qt,"\\s+"),So="(<|>)?=?\\s*\\*",$o="^".concat(qt).concat(q,"$"),vo="(".concat(se,")\\.(").concat(se,")\\.(").concat(se,")"),Io="v?".concat(vo).concat(Bt,"?").concat(lt,"?"),Ro="^".concat(Wt).concat(q,"$"),wo="^".concat(ct,"\\s*").concat(q,"$"),Oo="^".concat(ct,"\\s*(").concat(Io,")$|^$"),No="^\\s*>=\\s*0.0.0\\s*$";l(H,"parseRegex");l(T,"isXVersion");l(ut,"pipe");l(et,"extractComparator");l(tt,"combineVersion");l(zt,"parseHyphen");l(Kt,"parseComparatorTrim");l(Yt,"parseTildeTrim");l(Xt,"parseCaretTrim");l(Jt,"parseCarets");l(Zt,"parseTildes");l(Qt,"parseXRanges");l(er,"parseStar");l(tr,"parseGTE0");l(ae,"compareAtom");l(rr,"comparePreRelease");l(te,"compareVersion");l(Ie,"eq");l(or,"compare");l(nr,"parseComparatorString");l(sr,"parseRange");l(ie,"satisfy");l(ar,"formatShare");l(ht,"formatShareConfigs");l(z,"versionLt");var ft=l(function(e,t){var n=t||function(e,t){return z(e,t)};return Object.keys(e).reduce(function(e,t){return!e||n(e,t)||e==="0"?t:e},0)},"findVersion"),le=l(function(e){return!!e.loaded||typeof e.lib=="function"},"isLoaded");l(ir,"findSingletonVersionOrderByVersion");l(lr,"findSingletonVersionOrderByLoaded");l(cr,"getFindShareFunction");l(U,"getRegisteredShare");l(mt,"getGlobalShareScope");l(rt,"getTargetSharedOptions");l(ur,"matchRemoteWithNameAndExpose");l(hr,"matchRemote");l(fr,"registerPlugins$1");l(mr,"loadEsmEntry");l(pr,"loadSystemJsEntry");l(dr,"loadEntryScript");l(yr,"loadEntryDom");l(gr,"loadEntryNode");l(pt,"getRemoteEntryUniqueKey");l(Te,"getRemoteEntry");l(ue,"getRemoteInfo");var Ve,dt=(Ve=/*#__PURE__*/function(){function e(t){var n=t.remoteInfo,r=t.host;_class_call_check(this,e);this.inited=!1,this.lib=void 0,this.remoteInfo=n,this.host=r}_create_class(e,[{key:"getEntry",value:function e(){return _async_to_generator(function(){var e;return _ts_generator(this,function(t){switch(t.label){case 0:if(this.remoteEntryExports)return[2,this.remoteEntryExports];return[4,Te({origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports})];case 1:e=t.sent();return[2,(R(e,"remoteEntryExports is undefined \n ".concat(_e(this.remoteInfo))),this.remoteEntryExports=e,this.remoteEntryExports)]}})}).call(this)}},{key:"get",value:function e(e,t,n,r){return _async_to_generator(function(){var o,a,i,c,s,u,f,h,d,p,m,v,y;return _ts_generator(this,function(_){switch(_.label){case 0:o=n||{loadFactory:!0},a=o.loadFactory,i=a===void 0?!0:a;return[4,this.getEntry()];case 1:c=_.sent();if(!!this.inited)return[3,5];s=this.host.shareScopeMap,u=this.remoteInfo.shareScope||"default";s[u]||(s[u]={});f=s[u],h=[],d={version:this.remoteInfo.version||""};Object.defineProperty(d,"shareScopeMap",{value:s,enumerable:!1});return[4,this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope:f,remoteEntryInitOptions:d,initScope:h,remoteInfo:this.remoteInfo,origin:this.host})];case 2:p=_.sent();_type_of(c===null||c===void 0?void 0:c.init)>"u"&&console.error('The remote entry interface does not contain "init"',"\n","Ensure the name of this remote is not reserved or in use. Check if anything already exists on window[nameOfRemote]","\n","Ensure that window[nameOfRemote] is returning a {get,init} object.");return[4,c.init(p.shareScope,p.initScope,p.remoteEntryInitOptions)];case 3:_.sent();return[4,this.host.hooks.lifecycle.initContainer.emit(k({},p,{id:e,remoteSnapshot:r,remoteEntryExports:c}))];case 4:_.sent();_.label=5;case 5:this.lib=c,this.inited=!0;return[4,c.get(t)];case 6:m=_.sent();R(m,"".concat(W(this.remoteInfo)," remote don't export ").concat(t,"."));v=this.wraperFactory(m,e);if(!i)return[3,8];return[4,v()];case 7:y=_.sent();return[3,9];case 8:y=v;_.label=9;case 9:return[2,y]}})}).call(this)}},{key:"wraperFactory",value:function e(e,t){function n(e,t){e&&(typeof e==="undefined"?"undefined":_type_of(e))=="object"&&Object.isExtensible(e)&&!Object.getOwnPropertyDescriptor(e,Symbol.for("mf_module_id"))&&Object.defineProperty(e,Symbol.for("mf_module_id"),{value:t,enumerable:!1})}return l(n,"defineModuleId"),_instanceof(e,Promise)?function(){return _async_to_generator(function(){var r;return _ts_generator(this,function(o){switch(o.label){case 0:return[4,e()];case 1:r=o.sent();return[2,(n(r,t),r)]}})})()}:function(){var r=e();return n(r,t),r}}}]);return e}(),l(Ve,"Module"),Ve),Be,C=(Be=/*#__PURE__*/function(){function e(t){_class_call_check(this,e);this.type="",this.listeners=new Set,t&&(this.type=t)}_create_class(e,[{key:"on",value:function e(e){typeof e=="function"&&this.listeners.add(e)}},{key:"once",value:function e(e){var t=this;this.on(l(function n(){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++){o[a]=arguments[a]}return t.remove(n),e.apply(null,o)},"wrapper"))}},{key:"emit",value:function e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}var r;return this.listeners.size>0&&this.listeners.forEach(function(e){r=e.apply(void 0,_to_consumable_array(t))}),r}},{key:"remove",value:function e(e){this.listeners.delete(e)}},{key:"removeAll",value:function e(){this.listeners.clear()}}]);return e}(),l(Be,"SyncHook"),Be),We,j=(We=/*#__PURE__*/function(e){_inherits(t,e);function t(){_class_call_check(this,t);return _call_super(this,t,arguments)}_create_class(t,[{key:"emit",value:function e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}var r,o=Array.from(this.listeners);if(o.length>0){var a=0,i=l(function(e){return e===!1?!1:a<o.length?Promise.resolve(o[a++].apply(null,t)).then(i):e},"call");r=i()}return Promise.resolve(r)}}]);return t}(C),l(We,"AsyncHook"),We);l(yt,"checkReturnData");var qe,he=(qe=/*#__PURE__*/function(e){_inherits(t,e);function t(e){_class_call_check(this,t);var n;n=_call_super(this,t),n.onerror=x,n.type=e;return n}_create_class(t,[{key:"emit",value:function e(e){Ae(e)||x('The data for the "'.concat(this.type,'" hook should be an object.'));var t=true,n=false,r=undefined;try{for(var o=this.listeners[Symbol.iterator](),a;!(t=(a=o.next()).done);t=true){var i=a.value;try{var c=i(e);if(yt(e,c))e=c;else{this.onerror('A plugin returned an unacceptable value for the "'.concat(this.type,'" type.'));break}}catch(e){K(e),this.onerror(e)}}}catch(e){n=true;r=e}finally{try{if(!t&&o.return!=null){o.return()}}finally{if(n){throw r}}}return e}}]);return t}(C),l(qe,"SyncWaterfallHook"),qe),ze,B=(ze=/*#__PURE__*/function(e){_inherits(t,e);function t(e){_class_call_check(this,t);var n;n=_call_super(this,t),n.onerror=x,n.type=e;return n}_create_class(t,[{key:"emit",value:function e(e){var t=this;Ae(e)||x('The response data for the "'.concat(this.type,'" hook must be an object.'));var n=Array.from(this.listeners);if(n.length>0){var r=0,o=l(function(n){return K(n),t.onerror(n),e},"processError"),a=l(function(i){if(yt(e,i)){if(e=i,r<n.length)try{return Promise.resolve(n[r++](e)).then(a,o)}catch(e){return o(e)}}else t.onerror('A plugin returned an incorrect value for the "'.concat(t.type,'" type.'));return e},"call");return Promise.resolve(a(e))}return Promise.resolve(e)}}]);return t}(C),l(ze,"AsyncWaterfallHook"),ze),Ke,fe=(Ke=/*#__PURE__*/function(){function e(t){_class_call_check(this,e);this.registerPlugins={},this.lifecycle=t,this.lifecycleKeys=Object.keys(t)}_create_class(e,[{key:"applyPlugin",value:function e(e){var t=this;R(xt(e),"Plugin configuration is invalid.");var n=e.name;R(n,"A name must be provided by the plugin."),this.registerPlugins[n]||(this.registerPlugins[n]=e,Object.keys(this.lifecycle).forEach(function(n){var r=e[n];r&&t.lifecycle[n].on(r)}))}},{key:"removePlugin",value:function e(e){var t=this;R(e,"A name is required.");var n=this.registerPlugins[e];R(n,'The plugin "'.concat(e,'" is not registered.')),Object.keys(n).forEach(function(e){e!=="name"&&t.lifecycle[e].remove(n[e])})}},{key:"inherit",value:function e(e){var t=this;var n=e.lifecycle,r=e.registerPlugins;Object.keys(n).forEach(function(e){R(!t.lifecycle[e],'The hook "'.concat(e,'" has a conflict and cannot be inherited.')),t.lifecycle[e]=n[e]}),Object.keys(r).forEach(function(e){R(!t.registerPlugins[e],'The plugin "'.concat(e,'" has a conflict and cannot be inherited.')),t.applyPlugin(r[e])})}}]);return e}(),l(Ke,"PluginSystem"),Ke);l(gt,"defaultPreloadArgs");l(_r,"formatPreloadArgs");l(Er,"normalizePreloadExposes");l(_t,"preloadAssets");l(Et,"assignRemoteInfo");l(br,"snapshotPlugin");l(Sr,"splitId");function bt(e,t,n,r){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},a=arguments.length>5?arguments[5]:void 0;var i=W(t),c=V(e,i),s=c.value,u=a||s;if(u&&!Ee(u)&&(n(u,t,r),u.remotesInfo)){var l=Object.keys(u.remotesInfo);var f=true,h=false,d=undefined;try{for(var p=l[Symbol.iterator](),m;!(f=(m=p.next()).done);f=true){var v=m.value;if(o[v])continue;o[v]=!0;var y=Sr(v),_=u.remotesInfo[v];bt(e,{name:y.name,version:_.matchedVersion},n,!1,o,void 0)}}catch(e){h=true;d=e}finally{try{if(!f&&p.return!=null){p.return()}}finally{if(h){throw d}}}}}l(bt,"traverseModuleInfo");l($r,"generatePreloadAssets");var Ao=l(function(){return{name:"generate-preload-assets-plugin",generatePreloadAssets:function e(e){return _async_to_generator(function(){var t,n,r,o,a,i;return _ts_generator(this,function(c){t=e.origin,n=e.preloadOptions,r=e.remoteInfo,o=e.remote,a=e.globalSnapshot,i=e.remoteSnapshot;return[2,Ne(o)&&nt(o)?{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:o.name,url:o.entry,moduleInfo:{name:r.name,entry:o.entry,type:r.type||"global",entryGlobalName:"",shareScope:""}}]}:(Et(r,i),$r(t,n,r,a,i))]})})()}}},"generatePreloadAssetsPlugin");l(St,"getGlobalRemoteInfo");var Ye,To=(Ye=/*#__PURE__*/function(){function e(t){_class_call_check(this,e);this.loadingHostSnapshot=null,this.manifestCache=new Map,this.hooks=new fe({beforeLoadRemoteSnapshot:new j("beforeLoadRemoteSnapshot"),loadSnapshot:new B("loadGlobalSnapshot"),loadRemoteSnapshot:new B("loadRemoteSnapshot")}),this.manifestLoading=ce.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=t,this.loaderHook=t.loaderHook}_create_class(e,[{key:"loadSnapshot",value:function e(e){return _async_to_generator(function(){var t,n,r,o,a,i,c,s,u;return _ts_generator(this,function(f){switch(f.label){case 0:t=this.HostInstance,n=t.options,r=this.getGlobalRemoteInfo(e),o=r.hostGlobalSnapshot,a=r.remoteSnapshot,i=r.globalSnapshot;return[4,this.hooks.lifecycle.loadSnapshot.emit({options:n,moduleInfo:e,hostGlobalSnapshot:o,remoteSnapshot:a,globalSnapshot:i})];case 1:c=f.sent(),s=c.remoteSnapshot,u=c.globalSnapshot;return[2,{remoteSnapshot:s,globalSnapshot:u}]}})}).call(this)}},{key:"loadRemoteSnapshotInfo",value:function e(e){return _async_to_generator(function(){var t,n,r,o,a,i,c,s,u,f,h,d,p,m,v,y,_,g,b;return _ts_generator(this,function(E){switch(E.label){case 0:t=this.HostInstance,n=t.options;return[4,this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:n,moduleInfo:e})];case 1:E.sent();r=$e({name:this.HostInstance.options.name,version:this.HostInstance.options.version});r||(r={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}},lo(_define_property({},this.HostInstance.options.name,r))),r&&"remotesInfo"in r&&!V(r.remotesInfo,e.name).value&&("version"in e||"entry"in e)&&(r.remotesInfo=k({},r===null||r===void 0?void 0:r.remotesInfo,_define_property({},e.name,{matchedVersion:"version"in e?e.version:e.entry})));o=this.getGlobalRemoteInfo(e),a=o.hostGlobalSnapshot,i=o.remoteSnapshot,c=o.globalSnapshot;return[4,this.hooks.lifecycle.loadSnapshot.emit({options:n,moduleInfo:e,hostGlobalSnapshot:a,remoteSnapshot:i,globalSnapshot:c})];case 2:s=E.sent(),u=s.remoteSnapshot,f=s.globalSnapshot;if(!u)return[3,7];if(!Ee(u))return[3,4];h=L()?u.remoteEntry:u.ssrRemoteEntry||u.remoteEntry||"";return[4,this.getManifestJson(h,e,{})];case 3:d=E.sent(),p=Lt(k({},e,{entry:h}),d);return[2,{remoteSnapshot:d,globalSnapshot:p}];case 4:return[4,this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:u,from:"global"})];case 5:m=E.sent(),v=m.remoteSnapshot;return[2,{remoteSnapshot:v,globalSnapshot:f}];case 6:return[3,11];case 7:if(!Ne(e))return[3,10];return[4,this.getManifestJson(e.entry,e,{})];case 8:y=E.sent(),_=Lt(e,y);return[4,this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:y,from:"global"})];case 9:g=E.sent(),b=g.remoteSnapshot;return[2,{remoteSnapshot:b,globalSnapshot:_}];case 10:x("\n Cannot get remoteSnapshot with the name: '".concat(e.name,"', version: '").concat(e.version,"' from __FEDERATION__.moduleInfo. The following reasons may be causing the problem:\n\n 1. The Deploy platform did not deliver the correct data. You can use __FEDERATION__.moduleInfo to check the remoteInfo.\n\n 2. The remote '").concat(e.name,"' version '").concat(e.version,"' is not released.\n\n The transformed module info: ").concat(JSON.stringify(f),"\n "));E.label=11;case 11:return[2]}})}).call(this)}},{key:"getGlobalRemoteInfo",value:function e(e){return St(e,this.HostInstance)}},{key:"getManifestJson",value:function e(e,t,n){return _async_to_generator(function(){var n,r,o;return _ts_generator(this,function(a){n=this;r=l(function(){return _async_to_generator(function(){var n,r,o,a;return _ts_generator(this,function(i){switch(i.label){case 0:n=this.manifestCache.get(e);if(n)return[2,n];i.label=1;case 1:i.trys.push([1,6,,7]);return[4,this.loaderHook.lifecycle.fetch.emit(e,{})];case 2:r=i.sent();o=!r||!_instanceof(r,Response);if(!o)return[3,4];return[4,fetch(e,{})];case 3:o=r=i.sent();i.label=4;case 4:o;return[4,r.json()];case 5:return[2,(n=i.sent(),R(n.metaData&&n.exposes&&n.shared,"".concat(e," is not a federation manifest")),this.manifestCache.set(e,n),n)];case 6:a=i.sent();delete this.manifestLoading[e],x("Failed to get manifestJson for ".concat(t.name,". The manifest URL is ").concat(e,". Please ensure that the manifestUrl is accessible.\n \n Error message:\n \n ").concat(a));return[3,7];case 7:return[2]}})}).call(n)},"getManifest"),o=l(function(){return _async_to_generator(function(){var n,o,a,i;return _ts_generator(this,function(c){switch(c.label){case 0:return[4,r()];case 1:n=c.sent(),o=je(n,{version:e});return[4,this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:t,manifestJson:n,remoteSnapshot:o,manifestUrl:e,from:"manifest"})];case 2:a=c.sent(),i=a.remoteSnapshot;return[2,i]}})}).call(n)},"asyncLoadProcess");return[2,(this.manifestLoading[e]||(this.manifestLoading[e]=o().then(function(e){return e})),this.manifestLoading[e])]})}).call(this)}}]);return e}(),l(Ye,"SnapshotHandler"),Ye),Xe,ko=(Xe=/*#__PURE__*/function(){function e(t){_class_call_check(this,e);this.hooks=new fe({afterResolve:new B("afterResolve"),beforeLoadShare:new B("beforeLoadShare"),loadShare:new j,resolveShare:new he("resolveShare"),initContainerShareScopeMap:new he("initContainerShareScopeMap")}),this.host=t,this.shareScopeMap={},this.initTokens={},this._setGlobalShareScopeMap(t.options)}_create_class(e,[{key:"registerShared",value:function e(e,t){var n=this;var r=ht(e,t),o=r.shareInfos,a=r.shared;return Object.keys(o).forEach(function(e){o[e].forEach(function(r){!U(n.shareScopeMap,e,r,n.hooks.lifecycle.resolveShare)&&r&&r.lib&&n.setShared({pkgName:e,lib:r.lib,get:r.get,loaded:!0,shared:r,from:t.name})})}),{shareInfos:o,shared:a}}},{key:"loadShare",value:function e(e,t){return _async_to_generator(function(){var n,r,o,a,i,c,s,u,f,h,d,p;return _ts_generator(this,function(m){switch(m.label){case 0:n=this;r=this,o=r.host,a=rt({pkgName:e,extraOptions:t,shareInfos:o.options.shared});i=a===null||a===void 0?void 0:a.scope;if(!i)return[3,2];return[4,Promise.all(a.scope.map(function(e){return _async_to_generator(function(){return _ts_generator(this,function(t){switch(t.label){case 0:return[4,Promise.all(this.initializeSharing(e,{strategy:a.strategy}))];case 1:t.sent();return[2]}})}).call(n)}))];case 1:i=m.sent();m.label=2;case 2:i;return[4,this.hooks.lifecycle.beforeLoadShare.emit({pkgName:e,shareInfo:a,shared:o.options.shared,origin:o})];case 3:c=m.sent(),s=c.shareInfo;R(s,"Cannot find ".concat(e," Share in the ").concat(o.options.name,". Please ensure that the ").concat(e," Share parameters have been injected"));u=U(this.shareScopeMap,e,s,this.hooks.lifecycle.resolveShare),f=l(function(e){e.useIn||(e.useIn=[]),Qe(e.useIn,o.options.name)},"addUseIn");if(u&&u.lib)return[2,(f(u),u.lib)];if(!(u&&u.loading&&!u.loaded))return[3,5];return[4,u.loading];case 4:h=m.sent();return[2,(u.loaded=!0,u.lib||(u.lib=h),f(u),h)];case 5:if(u){d=l(function(){return _async_to_generator(function(){var t,n;return _ts_generator(this,function(r){switch(r.label){case 0:return[4,u.get()];case 1:t=r.sent();s.lib=t,s.loaded=!0,f(s);n=U(this.shareScopeMap,e,s,this.hooks.lifecycle.resolveShare);return[2,(n&&(n.lib=t,n.loaded=!0),t)]}})}).call(n)},"asyncLoadProcess")();return[2,(this.setShared({pkgName:e,loaded:!1,shared:u,from:o.options.name,lib:null,loading:d}),d)]}else{if(t===null||t===void 0?void 0:t.customShareInfo)return[2,!1];p=l(function(){return _async_to_generator(function(){var t,n;return _ts_generator(this,function(r){switch(r.label){case 0:return[4,s.get()];case 1:t=r.sent();s.lib=t,s.loaded=!0,f(s);n=U(this.shareScopeMap,e,s,this.hooks.lifecycle.resolveShare);return[2,(n&&(n.lib=t,n.loaded=!0),t)]}})}).call(n)},"asyncLoadProcess")();return[2,(this.setShared({pkgName:e,loaded:!1,shared:s,from:o.options.name,lib:null,loading:p}),p)]}m.label=6;case 6:return[2]}})}).call(this)}},{key:"initializeSharing",value:function e(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:me,t=arguments.length>1?arguments[1]:void 0;var n=this,r=n.host,o=t===null||t===void 0?void 0:t.from,a=t===null||t===void 0?void 0:t.strategy,i=t===null||t===void 0?void 0:t.initScope,c=[];if(o!=="build"){var s=this,u=s.initTokens;i||(i=[]);var f=u[e];if(f||(f=u[e]={from:this.host.name}),i.indexOf(f)>=0)return c;i.push(f)}var h=this.shareScopeMap,d=r.options.name;h[e]||(h[e]={});var p=h[e],m=l(function(e,t){var n;var r=t.version,o=t.eager;p[e]=p[e]||{};var a=p[e],i=a[r],c=!!(i&&(i.eager||(n=i.shareConfig)!=null&&n.eager));(!i||i.strategy!=="loaded-first"&&!i.loaded&&(!o!=!c?o:d>i.from))&&(a[r]=t)},"register"),v=l(function(t){return t&&t.init&&t.init(h[e],i)},"initFn"),y=l(function(e){return _async_to_generator(function(){var t,n,o,a,i;return _ts_generator(this,function(c){switch(c.label){case 0:return[4,r.remoteHandler.getRemoteModuleAndOptions({id:e})];case 1:t=c.sent(),n=t.module;if(!n.getEntry)return[3,9];c.label=2;case 2:c.trys.push([2,4,,6]);return[4,n.getEntry()];case 3:o=c.sent();return[3,6];case 4:a=c.sent();return[4,r.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:a,from:"runtime",lifecycle:"beforeLoadShare",origin:r})];case 5:o=c.sent();return[3,6];case 6:i=n.inited;if(i)return[3,8];return[4,v(o)];case 7:i=(c.sent(),n.inited=!0);c.label=8;case 8:i;c.label=9;case 9:return[2]}})})()},"initRemoteModule");return Object.keys(r.options.shared).forEach(function(t){r.options.shared[t].forEach(function(n){n.scope.includes(e)&&m(t,n)})}),(r.options.shareStrategy==="version-first"||a==="version-first")&&r.options.remotes.forEach(function(t){t.shareScope===e&&c.push(y(t.name))}),c}},{key:"loadShareSync",value:function e(e,t){var n=this;var r=this,o=r.host,a=rt({pkgName:e,extraOptions:t,shareInfos:o.options.shared});(a===null||a===void 0?void 0:a.scope)&&a.scope.forEach(function(e){n.initializeSharing(e,{strategy:a.strategy})});var i=U(this.shareScopeMap,e,a,this.hooks.lifecycle.resolveShare),c=l(function(e){e.useIn||(e.useIn=[]),Qe(e.useIn,o.options.name)},"addUseIn");if(i){if(typeof i.lib=="function")return c(i),i.loaded||(i.loaded=!0,i.from===o.options.name&&(a.loaded=!0)),i.lib;if(typeof i.get=="function"){var s=i.get();if(!_instanceof(s,Promise))return c(i),this.setShared({pkgName:e,loaded:!0,from:o.options.name,lib:s,shared:i}),s}}if(a.lib)return a.loaded||(a.loaded=!0),a.lib;if(a.get){var u=a.get();if(_instanceof(u,Promise))throw new Error("\n The loadShareSync function was unable to load ".concat(e,". The ").concat(e," could not be found in ").concat(o.options.name,".\n Possible reasons for failure: \n\n 1. The ").concat(e," share was registered with the 'get' attribute, but loadShare was not used beforehand.\n\n 2. The ").concat(e," share was not registered with the 'lib' attribute.\n\n "));return a.lib=u,this.setShared({pkgName:e,loaded:!0,from:o.options.name,lib:a.lib,shared:a}),a.lib}throw new Error("\n The loadShareSync function was unable to load ".concat(e,". The ").concat(e," could not be found in ").concat(o.options.name,".\n Possible reasons for failure: \n\n 1. The ").concat(e," share was registered with the 'get' attribute, but loadShare was not used beforehand.\n\n 2. The ").concat(e," share was not registered with the 'lib' attribute.\n\n "))}},{key:"initShareScopeMap",value:function e(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var r=this,o=r.host;this.shareScopeMap[e]=t,this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope:t,options:o.options,origin:o,scopeName:e,hostShareScopeMap:n.hostShareScopeMap})}},{key:"setShared",value:function e(e){var t=this;var n=e.pkgName,r=e.shared,o=e.from,a=e.lib,i=e.loading,c=e.loaded,s=e.get;var u=r.version,f=r.scope,h=f===void 0?"default":f,d=ot(r,["version","scope"]);(Array.isArray(h)?h:[h]).forEach(function(e){if(t.shareScopeMap[e]||(t.shareScopeMap[e]={}),t.shareScopeMap[e][n]||(t.shareScopeMap[e][n]={}),!t.shareScopeMap[e][n][u]){t.shareScopeMap[e][n][u]=k({version:u,scope:["default"]},d,{lib:a,loaded:c,loading:i}),s&&(t.shareScopeMap[e][n][u].get=s);return}var r=t.shareScopeMap[e][n][u];i&&!r.loading&&(r.loading=i)})}},{key:"_setGlobalShareScopeMap",value:function e(e){var t=mt(),n=e.id||e.name;n&&!t[n]&&(t[n]=this.shareScopeMap)}}]);return e}(),l(Xe,"SharedHandler"),Xe),Je,Po=(Je=/*#__PURE__*/function(){function e(t){_class_call_check(this,e);this.hooks=new fe({beforeRegisterRemote:new he("beforeRegisterRemote"),registerRemote:new he("registerRemote"),beforeRequest:new B("beforeRequest"),onLoad:new j("onLoad"),handlePreloadModule:new C("handlePreloadModule"),errorLoadRemote:new j("errorLoadRemote"),beforePreloadRemote:new j("beforePreloadRemote"),generatePreloadAssets:new j("generatePreloadAssets"),afterPreloadRemote:new j,loadEntry:new j}),this.host=t,this.idToRemoteMap={}}_create_class(e,[{key:"formatAndRegisterRemote",value:function e(e,t){var n=this;return(t.remotes||[]).reduce(function(e,t){return n.registerRemote(t,e,{force:!1}),e},e.remotes)}},{key:"setIdToRemoteMap",value:function e(e,t){var n=t.remote,r=t.expose,o=n.name,a=n.alias;if(this.idToRemoteMap[e]={name:n.name,expose:r},a&&e.startsWith(o)){var i=e.replace(o,a);this.idToRemoteMap[i]={name:n.name,expose:r};return}if(a&&e.startsWith(a)){var c=e.replace(a,o);this.idToRemoteMap[c]={name:n.name,expose:r}}}},{key:"loadRemote",value:function e(e,t){return _async_to_generator(function(){var n,r,o,a,i,c,s,u,f,h,d,p,m,v,y,_,g,b,E,S,I;return _ts_generator(this,function(w){switch(w.label){case 0:n=this,r=n.host;w.label=1;case 1:w.trys.push([1,5,,7]);o=t||{loadFactory:!0},a=o.loadFactory,i=a===void 0?!0:a;return[4,this.getRemoteModuleAndOptions({id:e})];case 2:c=w.sent(),s=c.module,u=c.moduleOptions,f=c.remoteMatchInfo,h=f.pkgNameOrAlias,d=f.remote,p=f.expose,m=f.id,v=f.remoteSnapshot;return[4,s.get(m,p,t,v)];case 3:y=w.sent();return[4,this.hooks.lifecycle.onLoad.emit({id:m,pkgNameOrAlias:h,expose:p,exposeModule:i?y:void 0,exposeModuleFactory:i?void 0:y,remote:d,options:u,moduleInstance:s,origin:r})];case 4:_=w.sent();return[2,(this.setIdToRemoteMap(e,f),typeof _=="function"?_:y)];case 5:g=w.sent();b=t||{from:"runtime"},E=b.from,S=E===void 0?"runtime":E;return[4,this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:g,from:S,lifecycle:"onLoad",origin:r})];case 6:I=w.sent();if(!I)throw g;return[2,I];case 7:return[2]}})}).call(this)}},{key:"preloadRemote",value:function e(e){return _async_to_generator(function(){var t,n,r,o;return _ts_generator(this,function(a){switch(a.label){case 0:t=this;n=this,r=n.host;return[4,this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:e,options:r.options,origin:r})];case 1:a.sent();o=_r(r.options.remotes,e);return[4,Promise.all(o.map(function(e){return _async_to_generator(function(){var t,n,o,a,i,c;return _ts_generator(this,function(s){switch(s.label){case 0:t=e.remote,n=ue(t);return[4,r.snapshotHandler.loadRemoteSnapshotInfo(t)];case 1:o=s.sent(),a=o.globalSnapshot,i=o.remoteSnapshot;return[4,this.hooks.lifecycle.generatePreloadAssets.emit({origin:r,preloadOptions:e,remote:t,remoteInfo:n,globalSnapshot:a,remoteSnapshot:i})];case 2:c=s.sent();c&&_t(n,r,c);return[2]}})}).call(t)}))];case 2:a.sent();return[2]}})}).call(this)}},{key:"registerRemotes",value:function e(e,t){var n=this;var r=this,o=r.host;e.forEach(function(e){n.registerRemote(e,o.options.remotes,{force:t===null||t===void 0?void 0:t.force})})}},{key:"getRemoteModuleAndOptions",value:function e(e){return _async_to_generator(function(){var t,n,r,o,a,i,c,s,u,f,h,d,p,m;return _ts_generator(this,function(v){switch(v.label){case 0:t=this,n=t.host,r=e.id;v.label=1;case 1:v.trys.push([1,3,,5]);return[4,this.hooks.lifecycle.beforeRequest.emit({id:r,options:n.options,origin:n})];case 2:o=v.sent();return[3,5];case 3:a=v.sent();return[4,this.hooks.lifecycle.errorLoadRemote.emit({id:r,options:n.options,origin:n,from:"runtime",error:a,lifecycle:"beforeRequest"})];case 4:if(o=v.sent(),!o)throw a;return[3,5];case 5:i=o.id,c=ur(n.options.remotes,i);R(c,"\n Unable to locate ".concat(i," in ").concat(n.options.name,". Potential reasons for failure include:\n\n 1. ").concat(i," was not included in the 'remotes' parameter of ").concat(n.options.name||"the host",".\n\n 2. ").concat(i," could not be found in the 'remotes' of ").concat(n.options.name," with either 'name' or 'alias' attributes.\n 3. ").concat(i," is not online, injected, or loaded.\n 4. ").concat(i," cannot be accessed on the expected.\n 5. The 'beforeRequest' hook was provided but did not return the correct 'remoteInfo' when attempting to load ").concat(i,".\n "));s=c.remote,u=ue(s);return[4,n.sharedHandler.hooks.lifecycle.afterResolve.emit(k({id:i},c,{options:n.options,origin:n,remoteInfo:u}))];case 6:f=v.sent(),h=f.remote,d=f.expose;R(h&&d,"The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ".concat(i,"."));p=n.moduleCache.get(h.name),m={host:n,remoteInfo:u};return[2,(p||(p=new dt(m),n.moduleCache.set(h.name,p)),{module:p,moduleOptions:m,remoteMatchInfo:f})]}})}).call(this)}},{key:"registerRemote",value:function e(e,t,n){var r=this,o=r.host,a=l(function(){if(e.alias){var n=t.find(function(t){var n;return e.alias&&(t.name.startsWith(e.alias)||((n=t.alias)==null?void 0:n.startsWith(e.alias)))});R(!n,"The alias ".concat(e.alias," of remote ").concat(e.name," is not allowed to be the prefix of ").concat(n&&n.name," name or alias"))}"entry"in e&&L()&&!e.entry.startsWith("http")&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||(e.shareScope=me),e.type||(e.type=Ut)},"normalizeRemote");this.hooks.lifecycle.beforeRegisterRemote.emit({remote:e,origin:o});var i=t.find(function(t){return t.name===e.name});if(!i)a(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:o});else{var c=['The remote "'.concat(e.name,'" is already registered.'),(n===null||n===void 0?void 0:n.force)?"Hope you have known that OVERRIDE it may have some unexpected errors":'If you want to merge the remote, you can set "force: true".'];(n===null||n===void 0?void 0:n.force)&&(this.removeRemote(i),a(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:o})),ge(c.join(" "))}}},{key:"removeRemote",value:function e(e){try{var t=this,n=t.host,r=e.name,o=n.options.remotes.findIndex(function(e){return e.name===r});o!==-1&&n.options.remotes.splice(o,1);var a=n.moduleCache.get(e.name);if(a){var i=a.remoteInfo,c=i.entryGlobalName;if(globalThis[c]){var s;(s=Object.getOwnPropertyDescriptor(globalThis,c))!=null&&s.configurable?delete globalThis[c]:globalThis[c]=void 0}var u=pt(a.remoteInfo);ne[u]&&delete ne[u],n.snapshotHandler.manifestCache.delete(i.entry);var f=i.buildVersion?ye(i.name,i.buildVersion):i.name,h=globalThis.__FEDERATION__.__INSTANCES__.findIndex(function(e){return i.buildVersion?e.options.id===f:e.name===f});if(h!==-1){var d=globalThis.__FEDERATION__.__INSTANCES__[h];f=d.options.id||f;var p=mt(),m=!0,v=[];Object.keys(p).forEach(function(e){var t=p[e];t&&Object.keys(t).forEach(function(n){var r=t[n];r&&Object.keys(r).forEach(function(t){var o=r[t];o&&Object.keys(o).forEach(function(r){var a=o[r];a&&(typeof a==="undefined"?"undefined":_type_of(a))=="object"&&a.from===i.name&&(a.loaded||a.loading?(a.useIn=a.useIn.filter(function(e){return e!==i.name}),a.useIn.length?m=!1:v.push([e,n,t,r])):v.push([e,n,t,r]))})})})}),m&&(d.shareScopeMap={},delete p[f]),v.forEach(function(e){var t=_sliced_to_array(e,4),n=t[0],r=t[1],o=t[2],a=t[3];var i,c,s;(s=p[n])==null||(c=s[r])==null||(i=c[o])==null||delete i[a]}),globalThis.__FEDERATION__.__INSTANCES__.splice(h,1)}var y=St(e,n),_=y.hostGlobalSnapshot;if(_){var g=_&&"remotesInfo"in _&&_.remotesInfo&&V(_.remotesInfo,e.name).key;g&&(delete _.remotesInfo[g],ce.__FEDERATION__.__MANIFEST_LOADING__[g]&&delete ce.__FEDERATION__.__MANIFEST_LOADING__[g])}n.moduleCache.delete(e.name)}}catch(e){console.log("removeRemote fail: ",e)}}}]);return e}(),l(Je,"RemoteHandler"),Je),Ze,$t=(Ze=/*#__PURE__*/function(){function e(t){_class_call_check(this,e);this.hooks=new fe({beforeInit:new he("beforeInit"),init:new C,beforeInitContainer:new B("beforeInitContainer"),initContainer:new B("initContainer")}),this.version="0.6.10",this.moduleCache=new Map,this.loaderHook=new fe({getModuleInfo:new C,createScript:new C,createLink:new C,fetch:new j});var n={id:Re(),name:t.name,plugins:[br(),Ao()],remotes:[],shared:{},inBrowser:L()};this.name=t.name,this.options=n,this.snapshotHandler=new To(this),this.sharedHandler=new ko(this),this.remoteHandler=new Po(this),this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins(_to_consumable_array(n.plugins).concat(_to_consumable_array(t.plugins||[]))),this.options=this.formatOptions(n,t)}_create_class(e,[{key:"initOptions",value:function e(e){this.registerPlugins(e.plugins);var t=this.formatOptions(this.options,e);return this.options=t,t}},{key:"loadShare",value:function e(e,t){return _async_to_generator(function(){return _ts_generator(this,function(n){return[2,this.sharedHandler.loadShare(e,t)]})}).call(this)}},{key:"loadShareSync",value:function e(e,t){return this.sharedHandler.loadShareSync(e,t)}},{key:"initializeSharing",value:function e(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:me,t=arguments.length>1?arguments[1]:void 0;return this.sharedHandler.initializeSharing(e,t)}},{key:"initRawContainer",value:function e(e,t,n){var r=ue({name:e,entry:t}),o=new dt({host:this,remoteInfo:r});return o.remoteEntryExports=n,this.moduleCache.set(e,o),o}},{key:"loadRemote",value:function e(e,t){return _async_to_generator(function(){return _ts_generator(this,function(n){return[2,this.remoteHandler.loadRemote(e,t)]})}).call(this)}},{key:"preloadRemote",value:function e(e){return _async_to_generator(function(){return _ts_generator(this,function(t){return[2,this.remoteHandler.preloadRemote(e)]})}).call(this)}},{key:"initShareScopeMap",value:function e(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.sharedHandler.initShareScopeMap(e,t,n)}},{key:"formatOptions",value:function e(e,t){var n=ht(e,t),r=n.shared,o=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:t,options:e,shareInfo:r}),a=o.userOptions,i=o.options,c=this.remoteHandler.formatAndRegisterRemote(i,a),s=this.sharedHandler.registerShared(i,a),u=s.shared,l=_to_consumable_array(i.plugins);a.plugins&&a.plugins.forEach(function(e){l.includes(e)||l.push(e)});var f=k({},e,t,{plugins:l,remotes:c,shared:u});return this.hooks.lifecycle.init.emit({origin:this,options:f}),f}},{key:"registerPlugins",value:function e(e){var t=fr(e,[this.hooks,this.remoteHandler.hooks,this.sharedHandler.hooks,this.snapshotHandler.hooks,this.loaderHook]);this.options.plugins=this.options.plugins.reduce(function(e,t){return t&&e&&!e.find(function(e){return e.name===t.name})&&e.push(t),e},t||[])}},{key:"registerRemotes",value:function e(e,t){return this.remoteHandler.registerRemotes(e,t)}}]);return e}(),l(Ze,"FederationHost"),Ze),b=null;l(vr,"init");l(Ir,"loadRemote");l(Rr,"loadShare");l(wr,"loadShareSync");l(Or,"preloadRemote");l(Nr,"registerRemotes");l(Ar,"registerPlugins");l(Tr,"getInstance");Gt($t);return Hr(Lo)}();//# sourceMappingURL=sdk.js.map
|
|
1
|
+
"use strict";function _array_like_to_array(e,t){if(t==null||t>e.length)t=e.length;for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _array_with_holes(e){if(Array.isArray(e))return e}function _array_without_holes(e){if(Array.isArray(e))return _array_like_to_array(e)}function _assert_this_initialized(e){if(e===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function asyncGeneratorStep(e,t,n,r,o,a,i){try{var c=e[a](i);var s=c.value}catch(e){n(e);return}if(c.done){t(s)}else{Promise.resolve(s).then(r,o)}}function _async_to_generator(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function i(e){asyncGeneratorStep(a,r,o,i,c,"next",e)}function c(e){asyncGeneratorStep(a,r,o,i,c,"throw",e)}i(undefined)})}}function _call_super(e,t,n){t=_get_prototype_of(t);return _possible_constructor_return(e,_is_native_reflect_construct()?Reflect.construct(t,n||[],_get_prototype_of(e).constructor):t.apply(e,n))}function _class_call_check(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,r.key,r)}}function _create_class(e,t,n){if(t)_defineProperties(e.prototype,t);if(n)_defineProperties(e,n);return e}function _define_property(e,t,n){if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}function _get_prototype_of(e){_get_prototype_of=Object.setPrototypeOf?Object.getPrototypeOf:function e(e){return e.__proto__||Object.getPrototypeOf(e)};return _get_prototype_of(e)}function _inherits(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function")}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:true,configurable:true}});if(t)_set_prototype_of(e,t)}function _instanceof(e,t){if(t!=null&&typeof Symbol!=="undefined"&&t[Symbol.hasInstance]){return!!t[Symbol.hasInstance](e)}else{return e instanceof t}}function _iterable_to_array(e){if(typeof Symbol!=="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _iterable_to_array_limit(e,t){var n=e==null?null:typeof Symbol!=="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n==null)return;var r=[];var o=true;var a=false;var i,c;try{for(n=n.call(e);!(o=(i=n.next()).done);o=true){r.push(i.value);if(t&&r.length===t)break}}catch(e){a=true;c=e}finally{try{if(!o&&n["return"]!=null)n["return"]()}finally{if(a)throw c}}return r}function _non_iterable_rest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _non_iterable_spread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _possible_constructor_return(e,t){if(t&&(_type_of(t)==="object"||typeof t==="function")){return t}return _assert_this_initialized(e)}function _set_prototype_of(e,t){_set_prototype_of=Object.setPrototypeOf||function e(e,t){e.__proto__=t;return e};return _set_prototype_of(e,t)}function _sliced_to_array(e,t){return _array_with_holes(e)||_iterable_to_array_limit(e,t)||_unsupported_iterable_to_array(e,t)||_non_iterable_rest()}function _to_array(e){return _array_with_holes(e)||_iterable_to_array(e)||_unsupported_iterable_to_array(e)||_non_iterable_rest()}function _to_consumable_array(e){return _array_without_holes(e)||_iterable_to_array(e)||_unsupported_iterable_to_array(e)||_non_iterable_spread()}function _type_of(e){"@swc/helpers - typeof";return e&&typeof Symbol!=="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _unsupported_iterable_to_array(e,t){if(!e)return;if(typeof e==="string")return _array_like_to_array(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor)n=e.constructor.name;if(n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _array_like_to_array(e,t)}function _is_native_reflect_construct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_is_native_reflect_construct=function(){return!!e})()}function _ts_generator(e,t){var n,r,o,a={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return i.next=c(0),i["throw"]=c(1),i["return"]=c(2),typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(e){return function(t){return s([e,t])}}function s(c){if(n)throw new TypeError("Generator is already executing.");while(i&&(i=0,c[0]&&(a=0)),a)try{if(n=1,r&&(o=c[0]&2?r["return"]:c[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;if(r=0,o)c=[c[0]&2,o.value];switch(c[0]){case 0:case 1:o=c;break;case 4:a.label++;return{value:c[1],done:false};case 5:a.label++;r=c[1];c=[0];continue;case 7:c=a.ops.pop();a.trys.pop();continue;default:if(!(o=a.trys,o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){a=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(c[0]===6&&a.label<o[1]){a.label=o[1];o=c;break}if(o&&a.label<o[2]){a.label=o[2];a.ops.push(c);break}if(o[2])a.ops.pop();a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e];r=0}finally{n=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}}var EMP_SHARE_RUNTIME=function(){var M=function e(){return(typeof window==="undefined"?"undefined":_type_of(window))<"u"};var Q=function e(){return(typeof process==="undefined"?"undefined":_type_of(process))<"u"&&process.env&&process.env.FEDERATION_DEBUG?!!process.env.FEDERATION_DEBUG:(typeof FEDERATION_DEBUG==="undefined"?"undefined":_type_of(FEDERATION_DEBUG))<"u"&&!!FEDERATION_DEBUG};var br=function e(e){try{return JSON.stringify(e,null,2)}catch(e){return""}};var Sr=function e(){try{if((typeof window==="undefined"?"undefined":_type_of(window))<"u"&&window.localStorage)return localStorage.getItem(Ve)===Be}catch(e){return(typeof document==="undefined"?"undefined":_type_of(document))<"u"}return!1};var re=function e(e){try{return JSON.stringify(e,null,2)}catch(e){return""}};var Ge=function e(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")};var $e=function e(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var n,r;var o=t.remotes,a=o===void 0?{}:o,c=t.overrides,s=c===void 0?{}:c,u=t.version,l,f=i(function(){return"publicPath"in e.metaData?e.metaData.publicPath==="auto"&&u?Ge(u):e.metaData.publicPath:e.metaData.getPublicPath},"getPublicPath"),h=Object.keys(s),d={};if(!Object.keys(a).length){var p;d=((p=e.remotes)==null?void 0:p.reduce(function(e,t){var n,r=t.federationContainerName;return h.includes(r)?n=s[r]:"version"in t?n=t.version:n=t.entry,e[r]={matchedVersion:n},e},{}))||{}}Object.keys(a).forEach(function(e){return d[e]={matchedVersion:h.includes(e)?s[e]:a[e]}});var m=e.metaData,v=m.remoteEntry,y=v.path,g=v.name,b=v.type,_=m.types,E=m.buildInfo,S=E.buildVersion,I=m.globalName,R=m.ssrRemoteEntry,w=e.exposes,k={version:u||"",buildVersion:S,globalName:I,remoteEntry:V(y,g),remoteEntryType:b,remoteTypes:V(_.path,_.name),remoteTypesZip:_.zip||"",remoteTypesAPI:_.api||"",remotesInfo:d,shared:e===null||e===void 0?void 0:e.shared.map(function(e){return{assets:e.assets,sharedName:e.name,version:e.version}}),modules:w===null||w===void 0?void 0:w.map(function(e){return{moduleName:e.name,modulePath:e.path,assets:e.assets}})};if((n=e.metaData)!=null&&n.prefetchInterface){var O=e.metaData.prefetchInterface;k=j({},k,{prefetchInterface:O})}if((r=e.metaData)!=null&&r.prefetchEntry){var N=e.metaData.prefetchEntry,A=N.path,T=N.name,P=N.type;k=j({},k,{prefetchEntry:V(A,T),prefetchEntryType:P})}if("publicPath"in e.metaData?l=j({},k,{publicPath:f()}):l=j({},k,{getPublicPath:f()}),R){var x=V(R.path,R.name);l.ssrRemoteEntry=x,l.ssrRemoteEntryType=R.type||"commonjs-module"}return l};var oe=function e(e){return!!("remoteEntry"in e&&e.remoteEntry.includes(Se))};var Ie=function e(e,t){return _async_to_generator(function(){var n;return _ts_generator(this,function(r){switch(r.label){case 0:r.trys.push([0,2,,3]);return[4,e()];case 1:return[2,r.sent()];case 2:n=r.sent();!t&&se(n);return[2];case 3:return[2]}})})()};var ve=function e(e,t){var n=/^(https?:)?\/\//i,r=e.replace(n,"").replace(/\/$/,""),o=t.replace(n,"").replace(/\/$/,"");return r===o};var ne=function e(e){var t=null,n=!0,r=2e4,o,a=document.getElementsByTagName("script");for(var c=0;c<a.length;c++){var s=a[c],u=s.getAttribute("src");if(u&&ve(u,e.url)){t=s,n=!1;break}}if(!t){var l=e.attrs;t=document.createElement("script"),t.type=(l===null||l===void 0?void 0:l.type)==="module"?"module":"text/javascript",t.src=e.url;var f;e.createScriptHook&&(f=e.createScriptHook(e.url,e.attrs),_instanceof(f,HTMLScriptElement)?t=f:(typeof f==="undefined"?"undefined":_type_of(f))=="object"&&("script"in f&&f.script&&(t=f.script),"timeout"in f&&f.timeout&&(r=f.timeout))),l&&!f&&Object.keys(l).forEach(function(e){t&&(e==="async"||e==="defer"?t[e]=l[e]:t.getAttribute(e)||t.setAttribute(e,l[e]))})}var h=i(function(n,r){return _async_to_generator(function(){var a,c,s,u,l;return _ts_generator(this,function(f){switch(f.label){case 0:if(!(clearTimeout(o),t&&(t.onerror=null,t.onload=null,Ie(function(){var n=e.needDeleteScript,r=n===void 0?!0:n;r&&(t===null||t===void 0?void 0:t.parentNode)&&t.parentNode.removeChild(t)}),n&&typeof n=="function")))return[3,3];s=n(r);if(!_instanceof(s,Promise))return[3,2];return[4,s];case 1:l=f.sent();return[2,(e==null||(u=e.cb)==null||u.call(e),l)];case 2:return[2,(e==null||(c=e.cb)==null||c.call(e),s)];case 3:e==null||(a=e.cb)==null||a.call(e);return[2]}})})()},"onScriptComplete");return t.onerror=h.bind(null,t.onerror),t.onload=h.bind(null,t.onload),o=setTimeout(function(){h(null,new Error('Remote script "'.concat(e.url,'" time-outed.')))},r),{script:t,needAttach:n}};var B=function e(e){var t=null,n=!0,r=document.getElementsByTagName("link");for(var o=0;o<r.length;o++){var a=r[o],c=a.getAttribute("href"),s=a.getAttribute("ref");if(c&&ve(c,e.url)&&s===e.attrs.ref){t=a,n=!1;break}}if(!t){t=document.createElement("link"),t.setAttribute("href",e.url);var u,l=e.attrs;e.createLinkHook&&(u=e.createLinkHook(e.url,l),_instanceof(u,HTMLLinkElement)&&(t=u)),l&&!u&&Object.keys(l).forEach(function(e){t&&!t.getAttribute(e)&&t.setAttribute(e,l[e])})}var f=i(function(n,r){if(t&&(t.onerror=null,t.onload=null,Ie(function(){var n=e.needDeleteLink,r=n===void 0?!0:n;r&&(t===null||t===void 0?void 0:t.parentNode)&&t.parentNode.removeChild(t)}),n)){var o=n(r);return e.cb(),o}e.cb()},"onLinkComplete");return t.onerror=f.bind(null,t.onerror),t.onload=f.bind(null,t.onload),{link:t,needAttach:n}};var W=function e(e,t){var n=t.attrs,r=n===void 0?{}:n,o=t.createScriptHook;return new Promise(function(t,n){var a=ne({url:e,cb:t,attrs:j({fetchpriority:"high"},r),createScriptHook:o,needDeleteScript:!0}),i=a.script,c=a.needAttach;c&&document.head.appendChild(i)})};var J=function e(e){if(!e)throw new Error("import specifier is required");return new Function("name","return import(name)")(e).then(function(e){return e}).catch(function(t){throw console.error("Error importing module ".concat(e,":"),t),t})};var Ue=function Ue(url,cb,attrs,createScriptHook){if(createScriptHook){var _$e=createScriptHook(url);_$e&&(typeof _$e==="undefined"?"undefined":_type_of(_$e))=="object"&&"url"in _$e&&(url=_$e.url)}var urlObj;try{urlObj=new URL(url)}catch(e){console.error("Error constructing URL:",e),cb(new Error("Invalid URL: ".concat(e)));return}var getFetch=i(function(){return _async_to_generator(function(){return _ts_generator(this,function(e){if((typeof __webpack_require__==="undefined"?"undefined":_type_of(__webpack_require__))<"u")try{if(__webpack_require__.federation.instance.loaderHook.lifecycle.fetch)return[2,vr]}catch(e){console.warn("federation.instance.loaderHook.lifecycle.fetch failed:",e)}return[2,(typeof fetch==="undefined"?"undefined":_type_of(fetch))>"u"?st():fetch]})})()},"getFetch"),handleScriptFetch=i(function(f,urlObj){return _async_to_generator(function(){var _vm_constants,res,data,_ref,path,vm,scriptContext,urlDirname,filename,_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER,script,exportedInterface,_$e,e;return _ts_generator(this,function(_state){switch(_state.label){case 0:_state.trys.push([0,4,,5]);return[4,f(urlObj.href)];case 1:res=_state.sent();return[4,res.text()];case 2:data=_state.sent();return[4,Promise.all([J("path"),J("vm")])];case 3:_ref=_sliced_to_array.apply(void 0,[_state.sent(),2]),path=_ref[0],vm=_ref[1],scriptContext={exports:{},module:{exports:{}}},urlDirname=urlObj.pathname.split("/").slice(0,-1).join("/"),filename=path.basename(urlObj.pathname);script=new vm.Script("(function(exports, module, require, __dirname, __filename) {".concat(data,"\n})"),{filename:filename,importModuleDynamically:(_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER=(_vm_constants=vm.constants)==null?void 0:_vm_constants.USE_MAIN_CONTEXT_DEFAULT_LOADER)!=null?_vm_constants_USE_MAIN_CONTEXT_DEFAULT_LOADER:J});script.runInThisContext()(scriptContext.exports,scriptContext.module,eval("require"),urlDirname,filename);exportedInterface=scriptContext.module.exports||scriptContext.exports;if(attrs&&exportedInterface&&attrs.globalName){_$e=exportedInterface[attrs.globalName]||exportedInterface;cb(void 0,_$e);return[2]}cb(void 0,exportedInterface);return[3,5];case 4:e=_state.sent();cb(_instanceof(e,Error)?e:new Error("Script execution error: ".concat(e)));return[3,5];case 5:return[2]}})})()},"handleScriptFetch");getFetch().then(function(e){return _async_to_generator(function(){var t,n;return _ts_generator(this,function(r){switch(r.label){case 0:if(!((attrs===null||attrs===void 0?void 0:attrs.type)==="esm"||(attrs===null||attrs===void 0?void 0:attrs.type)==="module"))return[3,2];t=[urlObj.href];n={fetch:e};return[4,J("vm")];case 1:return[2,De.apply(void 0,t.concat([(n.vm=r.sent(),n)])).then(function(e){return _async_to_generator(function(){return _ts_generator(this,function(t){switch(t.label){case 0:return[4,e.evaluate()];case 1:t.sent(),cb(void 0,e.namespace);return[2]}})})()}).catch(function(e){cb(_instanceof(e,Error)?e:new Error("Script execution error: ".concat(e)))})];case 2:handleScriptFetch(e,urlObj);return[2]}})})()}).catch(function(e){cb(e)})};var q=function e(e,t){return new Promise(function(n,r){Ue(e,function(e,o){if(e)r(e);else{var a,i;var c=(t==null||(a=t.attrs)==null?void 0:a.globalName)||"__FEDERATION_".concat(t==null||(i=t.attrs)==null?void 0:i.name,":custom__"),s=globalThis[c]=o;n(s)}},t.attrs,t.createScriptHook)})};var it=function e(e,t,n){return function(r){if(r===!1)return!1;if((typeof r==="undefined"?"undefined":_type_of(r))>"u")return e?t:!1;if(r===!0)return t;if(r&&(typeof r==="undefined"?"undefined":_type_of(r))=="object")return j({},t,r);throw new Error("Unexpected type for `".concat(n,"`, expect boolean/undefined/object, got: ").concat(typeof r==="undefined"?"undefined":_type_of(r)))}};var or=function e(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a<r.length;a++)o=r[a],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n};var Ye=function e(){return(typeof FEDERATION_BUILD_IDENTIFIER==="undefined"?"undefined":_type_of(FEDERATION_BUILD_IDENTIFIER))<"u"?FEDERATION_BUILD_IDENTIFIER:""};var w=function e(e,t){e||F(t)};var F=function e(e){throw _instanceof(e,Error)?(e.message="".concat(Me,": ").concat(e.message),e):new Error("".concat(Me,": ").concat(e))};var ge=function e(e){_instanceof(e,Error)?(e.message="".concat(Me,": ").concat(e.message),console.warn(e)):console.warn("".concat(Me,": ").concat(e))};var qt=function e(e,t){return e.findIndex(function(e){return e===t})===-1&&e.push(t),e};var he=function e(e){return"version"in e&&e.version?"".concat(e.name,":").concat(e.version):"entry"in e&&e.entry?"".concat(e.name,":").concat(e.entry):"".concat(e.name)};var Xe=function e(e){return _type_of(e.entry)<"u"};var nr=function e(e){return!e.entry.includes(".json")&&e.entry.includes(".js")};var Je=function e(e){return e&&(typeof e==="undefined"?"undefined":_type_of(e))=="object"};var Ur=function e(e){return uo.call(e)==="[object Object]"};var ar=function e(e){return Array.isArray(e)?e:[e]};var sr=function e(e){var t={url:"",type:"global",globalName:""};return M()?"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};var Ne=function e(e,t,n){Object.defineProperty(e,t,{value:n,configurable:!1,writable:!0})};var Oe=function e(e,t){return Object.hasOwnProperty.call(e,t)};var wt=function e(e){var t,n,r,o,a,i;Oe(e,"__VMOK__")&&!Oe(e,"__FEDERATION__")&&Ne(e,"__FEDERATION__",e.__VMOK__),Oe(e,"__FEDERATION__")||(Ne(e,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map}),Ne(e,"__VMOK__",e.__FEDERATION__));var c;(c=(t=e.__FEDERATION__).__GLOBAL_PLUGIN__)!=null||(t.__GLOBAL_PLUGIN__=[]);var s;(s=(n=e.__FEDERATION__).__INSTANCES__)!=null||(n.__INSTANCES__=[]);var u;(u=(r=e.__FEDERATION__).moduleInfo)!=null||(r.moduleInfo={});var l;(l=(o=e.__FEDERATION__).__SHARE__)!=null||(o.__SHARE__={});var f;(f=(a=e.__FEDERATION__).__MANIFEST_LOADING__)!=null||(a.__MANIFEST_LOADING__={});var h;(h=(i=e.__FEDERATION__).__PRELOADED_MAP__)!=null||(i.__PRELOADED_MAP__=new Map)};var Vr=function e(e,t){var n=Ye();return globalThis.__FEDERATION__.__INSTANCES__.find(function(r){return!!(n&&r.options.id===Ye()||r.options.name===e&&!r.options.version&&!t||r.options.name===e&&t&&r.options.version===t)})};var Br=function e(e){globalThis.__FEDERATION__.__INSTANCES__.push(e)};var Wr=function e(){return globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR__};var qr=function e(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Q();t&&(globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR__=e,globalThis.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="0.6.10")};var X=function e(e,t){if(typeof t=="string"){if(e[t])return{value:e[t],key:t};{var n=Object.keys(e);var r=true,o=false,a=undefined;try{for(var i=n[Symbol.iterator](),c;!(r=(c=i.next()).done);r=true){var s=c.value;var u=_sliced_to_array(s.split(":"),2),l=u[0],f=u[1],h="".concat(l,":").concat(t),d=e[h];if(d)return{value:d,key:h}}}catch(e){o=true;a=e}finally{try{if(!r&&i.return!=null){i.return()}}finally{if(o){throw a}}}return{value:void 0,key:t}}}else throw new Error("key must be string")};var L=function e(e){return new RegExp(e)};var k=function e(e){return!e||e.toLowerCase()==="x"||e==="*"};var ir=function e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}return function(e){return t.reduce(function(e,t){return t(e)},e)}};var zt=function e(e){return e.match(L(vo))};var Kt=function e(e,t,n,r){var o="".concat(e,".").concat(t,".").concat(n);return r?"".concat(o,"-").concat(r):o};var zr=function e(e){return e.replace(L(yo),function(e,t,n,r,o,a,i,c,s,u,l,f){return k(n)?t="":k(r)?t=">=".concat(n,".0.0"):k(o)?t=">=".concat(n,".").concat(r,".0"):t=">=".concat(t),k(s)?c="":k(u)?c="<".concat(Number(s)+1,".0.0-0"):k(l)?c="<".concat(s,".").concat(Number(u)+1,".0-0"):f?c="<=".concat(s,".").concat(u,".").concat(l,"-").concat(f):c="<=".concat(c),"".concat(t," ").concat(c).trim()})};var Kr=function e(e){return e.replace(L(go),"$1$2$3")};var Yr=function e(e){return e.replace(L(_o),"$1~")};var Xr=function e(e){return e.replace(L(Eo),"$1^")};var Jr=function e(e){return e.trim().split(/\s+/).map(function(e){return e.replace(L(So),function(e,t,n,r,o){return k(t)?"":k(n)?">=".concat(t,".0.0 <").concat(Number(t)+1,".0.0-0"):k(r)?t==="0"?">=".concat(t,".").concat(n,".0 <").concat(t,".").concat(Number(n)+1,".0-0"):">=".concat(t,".").concat(n,".0 <").concat(Number(t)+1,".0.0-0"):o?t==="0"?n==="0"?">=".concat(t,".").concat(n,".").concat(r,"-").concat(o," <").concat(t,".").concat(n,".").concat(Number(r)+1,"-0"):">=".concat(t,".").concat(n,".").concat(r,"-").concat(o," <").concat(t,".").concat(Number(n)+1,".0-0"):">=".concat(t,".").concat(n,".").concat(r,"-").concat(o," <").concat(Number(t)+1,".0.0-0"):t==="0"?n==="0"?">=".concat(t,".").concat(n,".").concat(r," <").concat(t,".").concat(n,".").concat(Number(r)+1,"-0"):">=".concat(t,".").concat(n,".").concat(r," <").concat(t,".").concat(Number(n)+1,".0-0"):">=".concat(t,".").concat(n,".").concat(r," <").concat(Number(t)+1,".0.0-0")})}).join(" ")};var Zr=function e(e){return e.trim().split(/\s+/).map(function(e){return e.replace(L($o),function(e,t,n,r,o){return k(t)?"":k(n)?">=".concat(t,".0.0 <").concat(Number(t)+1,".0.0-0"):k(r)?">=".concat(t,".").concat(n,".0 <").concat(t,".").concat(Number(n)+1,".0-0"):o?">=".concat(t,".").concat(n,".").concat(r,"-").concat(o," <").concat(t,".").concat(Number(n)+1,".0-0"):">=".concat(t,".").concat(n,".").concat(r," <").concat(t,".").concat(Number(n)+1,".0-0")})}).join(" ")};var Qr=function e(e){return e.split(/\s+/).map(function(e){return e.trim().replace(L(Io),function(e,t,n,r,o,a){var i=k(n),c=i||k(r),s=c||k(o);return t==="="&&s&&(t=""),a="",i?t===">"||t==="<"?"<0.0.0-0":"*":t&&s?(c&&(r=0),o=0,t===">"?(t=">=",c?(n=Number(n)+1,r=0,o=0):(r=Number(r)+1,o=0)):t==="<="&&(t="<",c?n=Number(n)+1:r=Number(r)+1),t==="<"&&(a="-0"),"".concat(t+n,".").concat(r,".").concat(o).concat(a)):c?">=".concat(n,".0.0").concat(a," <").concat(Number(n)+1,".0.0-0"):s?">=".concat(n,".").concat(r,".0").concat(a," <").concat(n,".").concat(Number(r)+1,".0-0"):e})}).join(" ")};var eo=function e(e){return e.trim().replace(L(bo),"")};var to=function e(e){return e.trim().replace(L(Ro),"")};var Ae=function e(e,t){return e=Number(e)||e,t=Number(t)||t,e>t?1:e===t?0:-1};var ro=function e(e,t){var n=e.preRelease,r=t.preRelease;if(n===void 0&&r)return 1;if(n&&r===void 0)return-1;if(n===void 0&&r===void 0)return 0;for(var o=0,a=n.length;o<=a;o++){var i=n[o],c=r[o];if(i!==c)return i===void 0&&c===void 0?0:i?c?Ae(i,c):-1:1}return 0};var we=function e(e,t){return Ae(e.major,t.major)||Ae(e.minor,t.minor)||Ae(e.patch,t.patch)||ro(e,t)};var Ke=function e(e,t){return e.version===t.version};var oo=function e(e,t){switch(e.operator){case"":case"=":return Ke(e,t);case">":return we(e,t)<0;case">=":return Ke(e,t)||we(e,t)<0;case"<":return we(e,t)>0;case"<=":return Ke(e,t)||we(e,t)>0;case void 0:return!0;default:return!1}};var no=function e(e){return ir(Jr,Zr,Qr,eo)(e)};var ao=function e(e){return ir(zr,Kr,Yr,Xr)(e.trim()).split(/\s+/).join(" ")};var Te=function e(e,t){if(!e)return!1;var n=ao(t).split(" ").map(function(e){return no(e)}).join(" ").split(/\s+/).map(function(e){return to(e)}),r=zt(e);if(!r)return!1;var o=_sliced_to_array(r,7),a=o[1],i=o[3],c=o[4],s=o[5],u=o[6],l={operator:a,version:Kt(i,c,s,u),major:i,minor:c,patch:s,preRelease:u===null||u===void 0?void 0:u.split(".")};var f=true,h=false,d=undefined;try{for(var p=n[Symbol.iterator](),m;!(f=(m=p.next()).done);f=true){var v=m.value;var y=zt(v);if(!y)return!1;var g=_sliced_to_array(y,7),b=g[1],_=g[3],E=g[4],S=g[5],I=g[6],R={operator:b,version:Kt(_,E,S,I),major:_,minor:E,patch:S,preRelease:I===null||I===void 0?void 0:I.split(".")};if(!oo(R,l))return!1}}catch(e){h=true;d=e}finally{try{if(!f&&p.return!=null){p.return()}}finally{if(h){throw d}}}return!0};var so=function e(e,t,n,r){var o;"get"in e?o=e.get:"lib"in e?o=i(function(){return Promise.resolve(e.lib)},"get"):o=i(function(){return Promise.resolve(function(){throw new Error("Can not get shared '".concat(n,"'!"))})},"get"),e.strategy&&ge('"shared.strategy is deprecated, please set in initOptions.shareStrategy instead!"');var a,c,s;return T({deps:[],useIn:[],from:t,loading:null},e,{shareConfig:T({requiredVersion:"^".concat(e.version),singleton:!1,eager:!1,strictVersion:!1},e.shareConfig),get:o,loaded:(e===null||e===void 0?void 0:e.loaded)||"lib"in e?!0:void 0,version:(a=e.version)!=null?a:"0",scope:Array.isArray(e.scope)?e.scope:[(c=e.scope)!=null?c:"default"],strategy:((s=e.strategy)!=null?s:r)||"version-first"})};var Yt=function e(e,t){var n=t.shared||{},r=t.name,o=Object.keys(n).reduce(function(e,o){var a=ar(n[o]);return e[o]=e[o]||[],a.forEach(function(n){e[o].push(so(n,r,o,t.shareStrategy))}),e},{}),a=T({},e.shared);return Object.keys(o).forEach(function(e){a[e]?o[e].forEach(function(t){a[e].find(function(e){return e.version===t.version})||a[e].push(t)}):a[e]=o[e]}),{shared:a,shareInfos:o}};var _e=function e(e,t){var n=i(function(e){if(!Number.isNaN(Number(e))){var t=e.split("."),n=e;for(var r=0;r<3-t.length;r++)n+=".0";return n}return e},"transformInvalidVersion");return!!Te(n(e),"<=".concat(n(t)))};var io=function e(e,t,n){var r=e[t][n],o=i(function(e,t){return!ye(r[e])&&_e(e,t)},"callback");return Ze(e[t][n],o)};var lo=function e(e,t,n){var r=e[t][n],o=i(function(e,t){return ye(r[t])?ye(r[e])?!!_e(e,t):!0:ye(r[e])?!1:_e(e,t)},"callback");return Ze(e[t][n],o)};var co=function e(e){return e==="loaded-first"?lo:io};var Y=function e(e,t,n,r){if(!e)return;var o=n.shareConfig,a=n.scope,c=a===void 0?de:a,s=n.strategy,u=Array.isArray(c)?c:[c];var l=true,f=false,h=undefined;try{var d=function(){var a=m.value;if(o&&e[a]&&e[a][t]){var c=o.requiredVersion,u=co(s)(e,a,t),l=i(function(){if(o.singleton){if(typeof c=="string"&&!Te(u,c)){var r="Version ".concat(u," from ").concat(u&&e[a][t][u].from," of shared singleton module ").concat(t," does not satisfy the requirement of ").concat(n.from," which needs ").concat(c,")");o.strictVersion?F(r):ge(r)}return e[a][t][u]}else{if(c===!1||c==="*"||Te(u,c))return e[a][t][u];var s=true,l=false,f=undefined;try{for(var h=Object.entries(e[a][t])[Symbol.iterator](),d;!(s=(d=h.next()).done);s=true){var p=_sliced_to_array(d.value,2),m=p[0],v=p[1];if(Te(m,c))return v}}catch(e){l=true;f=e}finally{try{if(!s&&h.return!=null){h.return()}}finally{if(l){throw f}}}}},"defaultResolver"),f={shareScopeMap:e,scope:a,pkgName:t,version:u,GlobalFederation:pe.__FEDERATION__,resolver:l};return{v:(r.emit(f)||f).resolver()}}};for(var p=u[Symbol.iterator](),m;!(l=(m=p.next()).done);l=true){var v=d();if(_type_of(v)==="object")return v.v}}catch(e){f=true;h=e}finally{try{if(!l&&p.return!=null){p.return()}}finally{if(f){throw h}}}};var Xt=function e(){return pe.__FEDERATION__.__SHARE__};var Jt=function e(e){var t=e.pkgName,n=e.extraOptions,r=e.shareInfos,o=i(function(e){if(!e)return;var t={};e.forEach(function(e){t[e.version]=e});var n=Ze(t,i(function(e,n){return!ye(t[e])&&_e(e,n)},"callback"));return t[n]},"defaultResolver");var a;var c=(a=n===null||n===void 0?void 0:n.resolver)!=null?a:o;return Object.assign({},c(r[t]),n===null||n===void 0?void 0:n.customShareInfo)};var Pr=function e(e,t){var n=true,r=false,o=undefined;try{for(var a=e[Symbol.iterator](),i;!(n=(i=a.next()).done);n=true){var c=i.value;var s=t.startsWith(c.name),u=t.replace(c.name,"");if(s){if(u.startsWith("/")){var l=c.name;return u=".".concat(u),{pkgNameOrAlias:l,expose:u,remote:c}}else if(u==="")return{pkgNameOrAlias:c.name,expose:".",remote:c}}var f=c.alias&&t.startsWith(c.alias),h=c.alias&&t.replace(c.alias,"");if(c.alias&&f){if(h&&h.startsWith("/")){var d=c.alias;return h=".".concat(h),{pkgNameOrAlias:d,expose:h,remote:c}}else if(h==="")return{pkgNameOrAlias:c.alias,expose:".",remote:c}}}}catch(e){r=true;o=e}finally{try{if(!n&&a.return!=null){a.return()}}finally{if(r){throw o}}}};var wo=function e(e,t){var n=true,r=false,o=undefined;try{for(var a=e[Symbol.iterator](),i;!(n=(i=a.next()).done);n=true){var c=i.value;if(t===c.name||c.alias&&t===c.alias)return c}}catch(e){r=true;o=e}finally{try{if(!n&&a.return!=null){a.return()}}finally{if(r){throw o}}}};var Mr=function e(e,t){var n=mo();return n.length>0&&n.forEach(function(t){(e===null||e===void 0?void 0:e.find(function(e){return e.name!==t.name}))&&e.push(t)}),e&&e.length>0&&e.forEach(function(e){t.forEach(function(t){t.applyPlugin(e)})}),e};var No=function e(e){return _async_to_generator(function(e){var t,n;return _ts_generator(this,function(r){t=e.entry,n=e.remoteEntryExports;return[2,new Promise(function(e,r){try{n?e(n):new Function("callbacks",'import("'.concat(t,'").then(callbacks[0]).catch(callbacks[1])'))([e,r])}catch(e){r(e)}})]})}).apply(this,arguments)};var Oo=function e(e){return _async_to_generator(function(e){var t,n;return _ts_generator(this,function(r){t=e.entry,n=e.remoteEntryExports;return[2,new Promise(function(e,r){try{n?e(n):new Function("callbacks",'System.import("'.concat(t,'").then(callbacks[0]).catch(callbacks[1])'))([e,r])}catch(e){r(e)}})]})}).apply(this,arguments)};var Ao=function e(e){return _async_to_generator(function(e){var t,n,r,o,a,c;return _ts_generator(this,function(s){t=e.name,n=e.globalName,r=e.entry,o=e.createScriptHook;a=xe(t,n),c=a.entryExports;return[2,c||W(r,{attrs:{},createScriptHook:i(function(e,t){var n=o.emit({url:e,attrs:t});if(n&&(_instanceof(n,HTMLScriptElement)||"script"in n||"timeout"in n))return n},"createScriptHook")}).then(function(){var e=xe(t,n),o=e.remoteEntryKey,a=e.entryExports;return w(a,"\n Unable to use the ".concat(t,"'s '").concat(r,"' URL with ").concat(o,"'s globalName to get remoteEntry exports.\n Possible reasons could be:\n\n 1. '").concat(r,"' is not the correct URL, or the remoteEntry resource or name is incorrect.\n\n 2. ").concat(o," cannot be used to get remoteEntry exports in the window object.\n ")),a}).catch(function(e){throw e})]})}).apply(this,arguments)};var To=function e(e){return _async_to_generator(function(e){var t,n,r,o,a,i,c;return _ts_generator(this,function(s){t=e.remoteInfo,n=e.remoteEntryExports,r=e.createScriptHook;o=t.entry,a=t.entryGlobalName,i=t.name,c=t.type;switch(c){case"esm":case"module":return[2,No({entry:o,remoteEntryExports:n})];case"system":return[2,Oo({entry:o,remoteEntryExports:n})];default:return[2,Ao({entry:o,globalName:a,name:i,createScriptHook:r})]}return[2]})}).apply(this,arguments)};var ko=function e(e){return _async_to_generator(function(e){var t,n,r,o,a,c,s,u;return _ts_generator(this,function(l){t=e.remoteInfo,n=e.createScriptHook;r=t.entry,o=t.entryGlobalName,a=t.name,c=t.type,s=xe(a,o),u=s.entryExports;return[2,u||q(r,{attrs:{name:a,globalName:o,type:c},createScriptHook:i(function(e,t){var r=n.emit({url:e,attrs:t});if(r&&"url"in r)return r},"createScriptHook")}).then(function(){var e=xe(a,o),t=e.remoteEntryKey,n=e.entryExports;return w(n,"\n Unable to use the ".concat(a,"'s '").concat(r,"' URL with ").concat(t,"'s globalName to get remoteEntry exports.\n Possible reasons could be:\n\n 1. '").concat(r,"' is not the correct URL, or the remoteEntry resource or name is incorrect.\n\n 2. ").concat(t," cannot be used to get remoteEntry exports in the window object.\n ")),n}).catch(function(e){throw e})]})}).apply(this,arguments)};var er=function e(e){var t=e.entry,n=e.name;return ae(n,t)};var Le=function e(e){return _async_to_generator(function(e){var t,n,r,o,a,i;return _ts_generator(this,function(c){t=e.origin,n=e.remoteEntryExports,r=e.remoteInfo;o=er(r);if(n)return[2,n];if(!fe[o]){a=t.remoteHandler.hooks.lifecycle.loadEntry,i=t.loaderHook.lifecycle.createScript;fe[o]=a.emit({createScriptHook:i,remoteInfo:r,remoteEntryExports:n}).then(function(e){return e||(M()?To({remoteInfo:r,remoteEntryExports:n,createScriptHook:i}):ko({remoteInfo:r,createScriptHook:i}))})}return[2,fe[o]]})}).apply(this,arguments)};var me=function e(e){return T({},e,{entry:"entry"in e?e.entry:"",type:e.type||cr,entryGlobalName:e.entryGlobalName||e.name,shareScope:e.shareScope||de})};var xt=function e(e,t){if(!Je(t))return!1;if(e!==t){for(var n in e)if(!(n in t))return!1}return!0};var ur=function e(e){return T({resourceCategory:"sync",share:!0,depsRemote:!0,prefetchInterface:!1},e)};var xr=function e(e,t){return t.map(function(t){var n=wo(e,t.nameOrAlias);return w(n,"Unable to preload ".concat(t.nameOrAlias," as it is not included in ").concat(!n&&re({remoteInfo:n,remotes:e}))),{remote:n,preloadConfig:ur(t)}})};var Po=function e(e){return e?e.map(function(e){return e==="."?e:e.startsWith("./")?e.replace("./",""):e}):[]};var tr=function e(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0;var o=n.cssAssets,a=n.jsAssetsWithoutEntry,c=n.entryAssets;if(t.options.inBrowser){if(c.forEach(function(n){var r=n.moduleInfo,o=t.moduleCache.get(e.name);Le(o?{origin:t,remoteInfo:r,remoteEntryExports:o.remoteEntryExports}:{origin:t,remoteInfo:r,remoteEntryExports:void 0})}),r){var s={rel:"preload",as:"style"};o.forEach(function(e){var n=B({url:e,cb:i(function(){},"cb"),attrs:s,createLinkHook:i(function(e,n){var r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:n});if(_instanceof(r,HTMLLinkElement))return r},"createLinkHook")}),r=n.link,o=n.needAttach;o&&document.head.appendChild(r)})}else{var u={rel:"stylesheet",type:"text/css"};o.forEach(function(e){var n=B({url:e,cb:i(function(){},"cb"),attrs:u,createLinkHook:i(function(e,n){var r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:n});if(_instanceof(r,HTMLLinkElement))return r},"createLinkHook"),needDeleteLink:!1}),r=n.link,o=n.needAttach;o&&document.head.appendChild(r)})}if(r){var l={rel:"preload",as:"script"};a.forEach(function(e){var n=B({url:e,cb:i(function(){},"cb"),attrs:l,createLinkHook:i(function(e,n){var r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:n});if(_instanceof(r,HTMLLinkElement))return r},"createLinkHook")}),r=n.link,o=n.needAttach;o&&document.head.appendChild(r)})}else{var f={fetchpriority:"high",type:(e===null||e===void 0?void 0:e.type)==="module"?"module":"text/javascript"};a.forEach(function(e){var n=ne({url:e,cb:i(function(){},"cb"),attrs:f,createScriptHook:i(function(e,n){var r=t.loaderHook.lifecycle.createScript.emit({url:e,attrs:n});if(_instanceof(r,HTMLScriptElement))return r},"createScriptHook"),needDeleteScript:!0}),r=n.script,o=n.needAttach;o&&document.head.appendChild(r)})}}};var rr=function e(e,t){var n=sr(t);n.url||F("The attribute remoteEntry of ".concat(e.name," must not be undefined."));var r=z(t,n.url);!M()&&!r.startsWith("http")&&(r="https:".concat(r)),e.type=n.type,e.entryGlobalName=n.globalName,e.entry=r,e.version=t.version,e.buildVersion=t.buildVersion};var Lr=function e(){return{name:"snapshot-plugin",afterResolve:function e(e){return _async_to_generator(function(){var t,n,r,o,a,i,c,s,u,l;return _ts_generator(this,function(f){switch(f.label){case 0:t=e.remote,n=e.pkgNameOrAlias,r=e.expose,o=e.origin,a=e.remoteInfo;if(!(!Xe(t)||!nr(t)))return[3,3];return[4,o.snapshotHandler.loadRemoteSnapshotInfo(t)];case 1:i=f.sent(),c=i.remoteSnapshot,s=i.globalSnapshot;rr(a,c);u={remote:t,preloadConfig:{nameOrAlias:n,exposes:[r],resourceCategory:"sync",share:!1,depsRemote:!1}};return[4,o.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:o,preloadOptions:u,remoteInfo:a,remote:t,remoteSnapshot:c,globalSnapshot:s})];case 2:l=f.sent();return[2,(l&&tr(a,o,l,!1),T({},e,{remoteSnapshot:c}))];case 3:return[2,e]}})})()}}};var Mo=function e(e){var 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]}};var Hr=function e(e,t,n,r,o){var a=[],c=[],s=[],u=new Set,l=new Set,f=e.options,h=t.preloadConfig,d=h.depsRemote;if(hr(r,n,function(t,n,r){var o=function e(e){var n=e.map(function(e){return z(t,e)});return u.filter?n.filter(u.filter):n};var u;if(r)u=h;else if(Array.isArray(d)){var l=d.find(function(e){return e.nameOrAlias===n.name||e.nameOrAlias===n.alias});if(!l)return;u=ur(l)}else if(d===!0)u=h;else return;var f=z(t,sr(t).url);f&&s.push({name:n.name,moduleInfo:{name:n.name,entry:f,type:"remoteEntryType"in t?t.remoteEntryType:"global",entryGlobalName:"globalName"in t?t.globalName:n.name,shareScope:"",version:"version"in t?t.version:void 0},url:f});var p="modules"in t?t.modules:[],m=Po(u.exposes);if(m.length&&"modules"in t){var v;p=t==null||(v=t.modules)==null?void 0:v.reduce(function(e,t){return(m===null||m===void 0?void 0:m.indexOf(t.moduleName))!==-1&&e.push(t),e},[])}if(i(o,"handleAssets"),p){var y=p.length;for(var g=0;g<y;g++){var b,_,E,S,I,R;var w=p[g],k="".concat(n.name,"/").concat(w.moduleName);e.remoteHandler.hooks.lifecycle.handlePreloadModule.emit({id:w.moduleName==="."?n.name:k,name:n.name,remoteSnapshot:t,preloadConfig:u,remote:n,origin:e}),!po(k)&&(u.resourceCategory==="all"?((b=a).push.apply(b,_to_consumable_array(o(w.assets.css.async))),(_=a).push.apply(_,_to_consumable_array(o(w.assets.css.sync))),(E=c).push.apply(E,_to_consumable_array(o(w.assets.js.async))),(S=c).push.apply(S,_to_consumable_array(o(w.assets.js.sync)))):(u.resourceCategory="sync")&&((I=a).push.apply(I,_to_consumable_array(o(w.assets.css.sync))),(R=c).push.apply(R,_to_consumable_array(o(w.assets.js.sync)))),fo(k))}}},!0,{},o),o.shared){var p=i(function(t,n){var r=Y(e.shareScopeMap,n.sharedName,t,e.sharedHandler.hooks.lifecycle.resolveShare);r&&typeof r.lib=="function"&&(n.assets.js.sync.forEach(function(e){u.add(e)}),n.assets.css.sync.forEach(function(e){l.add(e)}))},"collectSharedAssets");o.shared.forEach(function(e){var t;var n=(t=f.shared)==null?void 0:t[e.sharedName];if(!n)return;var r=e.version?n.find(function(t){return t.version===e.version}):n;r&&ar(r).forEach(function(t){p(t,e)})})}var m=c.filter(function(e){return!u.has(e)});return{cssAssets:a.filter(function(e){return!l.has(e)}),jsAssetsWithoutEntry:m,entryAssets:s}};var Lt=function e(e,t){var n=ke({name:t.options.name,version:t.options.version}),r=n&&"remotesInfo"in n&&n.remotesInfo&&X(n.remotesInfo,e.name).value;return r&&r.matchedVersion?{hostGlobalSnapshot:n,globalSnapshot:Zt(),remoteSnapshot:ke({name:e.name,version:r.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:Zt(),remoteSnapshot:ke({name:e.name,version:"version"in e?e.version:void 0})}};var mr=function e(e){if(b)return b.registerRemotes(e.remotes),b;var t=Vr(e.name,e.version);if(t)return t.initOptions(e),b||(b=t),t;{var n=Wr()||He;return b=new n(e),Br(b),b}};var pr=function e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}return w(b,"Please call init first"),b.loadRemote.apply(b,t)};var fr=function e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}return w(b,"Please call init first"),b.loadShare.apply(b,t)};var dr=function e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}return w(b,"Please call init first"),b.loadShareSync.apply(b,t)};var yr=function e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}return w(b,"Please call init first"),b.preloadRemote.apply(b,t)};var gr=function e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}return w(b,"Please call init first"),b.registerRemotes.apply(b,t)};var _r=function e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}return w(b,"Please call init first"),b.registerPlugins.apply(b,t)};var Er=function e(){return b};var rt=Object.defineProperty;var Lo=Object.getOwnPropertyDescriptor;var Ho=Object.getOwnPropertyNames;var Do=Object.prototype.hasOwnProperty;var U=function(e){return(typeof require==="undefined"?"undefined":_type_of(require))<"u"?require:(typeof Proxy==="undefined"?"undefined":_type_of(Proxy))<"u"?new Proxy(e,{get:function(e,t){return((typeof require==="undefined"?"undefined":_type_of(require))<"u"?require:e)[t]}}):e}(function(e){if((typeof require==="undefined"?"undefined":_type_of(require))<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var ot=function(e,t){for(var n in t)rt(e,n,{get:t[n],enumerable:!0})},Fo=function(e,t,n,r){var o=true,a=false,i=undefined;if(t&&(typeof t==="undefined"?"undefined":_type_of(t))=="object"||typeof t=="function")try{var c=function(){var o=u.value;!Do.call(e,o)&&o!==n&&rt(e,o,{get:function(){return t[o]},enumerable:!(r=Lo(t,o))||r.enumerable})};for(var s=Ho(t)[Symbol.iterator](),u;!(o=(u=s.next()).done);o=true)c()}catch(e){a=true;i=e}finally{try{if(!o&&s.return!=null){s.return()}}finally{if(a){throw i}}}return e};var jo=function(e){return Fo(rt({},"__esModule",{value:!0}),e)};var zo={};ot(zo,{MFRuntime:function(){return Qe},MFSDK:function(){return et}});var Qe={};ot(Qe,{FederationHost:function(){return He},Module:function(){return Pe},getInstance:function(){return Er},getRemoteEntry:function(){return Le},getRemoteInfo:function(){return me},init:function(){return mr},loadRemote:function(){return pr},loadScript:function(){return W},loadScriptNode:function(){return q},loadShare:function(){return fr},loadShareSync:function(){return dr},preloadRemote:function(){return yr},registerGlobalPlugins:function(){return lr},registerPlugins:function(){return _r},registerRemotes:function(){return gr}});var Co=Object.create,ee=Object.defineProperty,Go=Object.getOwnPropertyDescriptor,Uo=Object.getOwnPropertyNames,Vo=Object.getPrototypeOf,Bo=Object.prototype.hasOwnProperty,Wo=function(e,t,n){return t in e?ee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},i=function(e,t){return ee(e,"name",{value:t,configurable:!0})},Yo=function(e){return(typeof U==="undefined"?"undefined":_type_of(U))<"u"?U:(typeof Proxy==="undefined"?"undefined":_type_of(Proxy))<"u"?new Proxy(e,{get:function(e,t){return((typeof U==="undefined"?"undefined":_type_of(U))<"u"?U:e)[t]}}):e}(function(e){if((typeof U==="undefined"?"undefined":_type_of(U))<"u")return U.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),te=function(e,t){return function(){return e&&(t=e(e=0)),t}},Xo=function(e,t){return function(){return t||e((t={exports:{}}).exports,t),t.exports}},Jo=function(e,t){for(var n in t)ee(e,n,{get:t[n],enumerable:!0})},Ir=function(e,t,n,r){var o=true,a=false,i=undefined;if(t&&(typeof t==="undefined"?"undefined":_type_of(t))=="object"||typeof t=="function")try{var c=function(){var o=u.value;!Bo.call(e,o)&&o!==n&&ee(e,o,{get:function(){return t[o]},enumerable:!(r=Go(t,o))||r.enumerable})};for(var s=Uo(t)[Symbol.iterator](),u;!(o=(u=s.next()).done);o=true)c()}catch(e){a=true;i=e}finally{try{if(!o&&s.return!=null){s.return()}}finally{if(a){throw i}}}return e},Zo=function(e,t,n){return n=e!=null?Co(Vo(e)):{},Ir(t||!e||!e.__esModule?ee(n,"default",{value:e,enumerable:!0}):n,e)},Qo=function(e){return Ir(ee({},"__esModule",{value:!0}),e)},en=function(e,t,n){return Wo(e,(typeof t==="undefined"?"undefined":_type_of(t))!="symbol"?t+"":t,n)};function j(){return j=Object.assign||i(function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},"assign"),j.apply(this,arguments)}var qo=te(function(){"use strict";i(j,"_extends")});function De(e,t){return _async_to_generator(function(){var n,r,o,a;return _ts_generator(this,function(c){switch(c.label){case 0:n=t.fetch,r=t.vm;return[4,n(e)];case 1:return[4,c.sent().text()];case 2:o=c.sent(),a=new r.SourceTextModule(o,{importModuleDynamically:i(function(n,r){return _async_to_generator(function(){var r;return _ts_generator(this,function(o){r=new URL(n,e).href;return[2,De(r,t)]})})()},"importModuleDynamically")});return[4,a.link(function(n){return _async_to_generator(function(){var r;return _ts_generator(this,function(o){switch(o.label){case 0:r=new URL(n,e).href;return[4,De(r,t)];case 1:return[2,o.sent()]}})})()})];case 3:return[2,(c.sent(),a)]}})})()}var lt,Se,Ve,Be,R,P,Z,Ee,ct,ut,ht,mt,pt,ft,dt,yt,gt,_t,Et,Fe,$r,nt,je,at,bt,St,ae,be,$t,It,vt,z,Rt,Ce,se,V,st,vr,ie=te(function(){"use strict";var e,t;qo(),lt="federation-manifest.json",Se=".json",Ve="FEDERATION_DEBUG",Be="1",R={AT:"@",HYPHEN:"-",SLASH:"/"},P=(e={},_define_property(e,R.AT,"scope_"),_define_property(e,R.HYPHEN,"_"),_define_property(e,R.SLASH,"__"),e),Z=(t={},_define_property(t,P[R.AT],R.AT),_define_property(t,P[R.HYPHEN],R.HYPHEN),_define_property(t,P[R.SLASH],R.SLASH),t),Ee=":",ct="mf-manifest.json",ut="mf-stats.json",ht={NPM:"npm",APP:"app"},mt="__MF_DEVTOOLS_MODULE_INFO__",pt="ENCODE_NAME_PREFIX",ft=".federation",dt={identifier:"MFDataPrefetch",globalKey:"__PREFETCH__",library:"mf-data-prefetch",exportsKey:"__PREFETCH_EXPORTS__",fileName:"bootstrap.js"},yt=Object.freeze({__proto__:null}),gt=Object.freeze({__proto__:null}),_t=Object.freeze({__proto__:null}),Et=Object.freeze({__proto__:null}),i(M,"isBrowserEnv"),i(Q,"isDebugMode"),Fe=i(function(){return(typeof process==="undefined"?"undefined":_type_of(process))<"u"&&process.env?process.env:{}},"getProcessEnv"),$r="[ FEDERATION DEBUG ]",i(br,"safeToString$1"),i(Sr,"safeGetLocalStorageItem"),je=(nt=/*#__PURE__*/function(){function e(t){_class_call_check(this,e);this.enable=!1,this.identifier=t||$r,M()&&Sr()?this.enable=!0:Q()&&(this.enable=!0)}_create_class(e,[{key:"info",value:function e(e,t){if(this.enable){var n=br(t)||"";M()?console.info("%c ".concat(this.identifier,": ").concat(e," ").concat(n),"color:#3300CC"):console.info("\x1b[34m%s","".concat(this.identifier,": ").concat(e," ").concat(n?"\n".concat(n):""))}}},{key:"logOriginalInfo",value:function e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}var r,o;this.enable&&(M()?(console.info("%c ".concat(this.identifier,": OriginalInfo"),"color:#3300CC"),(r=console).log.apply(r,_to_consumable_array(t))):(console.info("%c ".concat(this.identifier,": OriginalInfo"),"color:#3300CC"),(o=console).log.apply(o,_to_consumable_array(t))))}}]);return e}(),i(nt,"Logger"),nt),at="[ Federation Runtime ]",bt=i(function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ee;var r=e.split(n),o=Fe().NODE_ENV==="development"&&t,a="*",c=i(function(e){return e.startsWith("http")||e.includes(Se)},"isEntry");if(r.length>=2){var s=_to_array(r),u=s[0],l=s.slice(1);e.startsWith(n)&&(l=[o||r.slice(-1)[0]],u=r.slice(0,-1).join(n));var f=o||l.join(n);return c(f)?{name:u,entry:f}:{name:u,version:f||a}}else if(r.length===1){var h=_sliced_to_array(r,1),d=h[0];return o&&c(o)?{name:d,entry:o}:{name:d,version:o||a}}else throw"Invalid entry value: ".concat(e)},"parseEntry"),St=new je,ae=i(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}return t.length?t.reduce(function(e,t){return t?e?"".concat(e).concat(Ee).concat(t):t:e},""):""},"composeKeyWithSeparator"),be=i(function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;try{var r=n?".js":"";return"".concat(t).concat(e.replace(new RegExp("".concat(R.AT),"g"),P[R.AT]).replace(new RegExp("".concat(R.HYPHEN),"g"),P[R.HYPHEN]).replace(new RegExp("".concat(R.SLASH),"g"),P[R.SLASH])).concat(r)}catch(e){throw e}},"encodeName"),$t=i(function(e,t,n){try{var r=e;if(t){if(!r.startsWith(t))return r;r=r.replace(new RegExp(t,"g"),"")}return r=r.replace(new RegExp("".concat(P[R.AT]),"g"),Z[P[R.AT]]).replace(new RegExp("".concat(P[R.SLASH]),"g"),Z[P[R.SLASH]]).replace(new RegExp("".concat(P[R.HYPHEN]),"g"),Z[P[R.HYPHEN]]),n&&(r=r.replace(".js","")),r}catch(e){throw e}},"decodeName"),It=i(function(e,t){if(!e)return"";var n=e;return n==="."&&(n="default_export"),n.startsWith("./")&&(n=n.replace("./","")),be(n,"__federation_expose_",t)},"generateExposeFilename"),vt=i(function(e,t){return e?be(e,"__federation_shared_",t):""},"generateShareFilename"),z=i(function(e,t){if("getPublicPath"in e){var n;return e.getPublicPath.startsWith("function")?n=new Function("return "+e.getPublicPath)()():n=new Function(e.getPublicPath)(),"".concat(n).concat(t)}else return"publicPath"in e?"".concat(e.publicPath).concat(t):(console.warn("Cannot get resource URL. If in debug mode, please ignore.",e,t),"")},"getResourceUrl"),Rt=i(function(e,t){e||Ce(t)},"assert"),Ce=i(function(e){throw new Error("".concat(at,": ").concat(e))},"error"),se=i(function(e){console.warn("".concat(at,": ").concat(e))},"warn"),i(re,"safeToString"),V=i(function(e,t){if(!e)return t;var n=i(function(e){if(e===".")return"";if(e.startsWith("./"))return e.replace("./","");if(e.startsWith("/")){var t=e.slice(1);return t.endsWith("/")?t.slice(0,-1):t}return e},"transformPath")(e);return n?n.endsWith("/")?"".concat(n).concat(t):"".concat(n,"/").concat(t):t},"simpleJoinRemoteEntry"),i(Ge,"inferAutoPublicPath"),i($e,"generateSnapshotFromManifest"),i(oe,"isManifestProvider"),i(Ie,"safeWrapper"),i(ve,"isStaticResourcesEqual"),i(ne,"createScript"),i(B,"createLink"),i(W,"loadScript"),i(J,"importNodeModule"),st=i(function(){return _async_to_generator(function(){var e;return _ts_generator(this,function(t){switch(t.label){case 0:return[4,J("node-fetch")];case 1:e=t.sent();return[2,e.default||e]}})})()},"loadNodeFetch"),vr=i(function(e,t){return _async_to_generator(function(){var n,r,o,a;return _ts_generator(this,function(c){switch(c.label){case 0:n=__webpack_require__.federation.instance.loaderHook;return[4,i(function(e,t){return n.lifecycle.fetch.emit(e,t)},"hook")(e,t||{})];case 1:r=c.sent();if(!(!r||!_instanceof(r,Response)))return[3,5];if(!((typeof fetch==="undefined"?"undefined":_type_of(fetch))>"u"))return[3,3];return[4,st()];case 2:a=c.sent();return[3,4];case 3:a=fetch;c.label=4;case 4:o=a(e,t||{});return[3,6];case 5:o=r;c.label=6;case 6:return[2,o]}})})()},"lazyLoaderHookFetch"),i(Ue,"createScriptNode"),i(q,"loadScriptNode"),i(De,"loadModule"),i(it,"normalizeOptions")});function T(){return T=Object.assign||i(function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},"assign"),T.apply(this,arguments)}var Gr=te(function(){"use strict";i(T,"_extends"),i(or,"_object_without_properties_loose")});var Me,uo,x,pe,fe,Zt,Rr,ke,Qt,ho,xe,lr,mo,po,fo,de,cr,Nt,We,le,Re,Ot,At,wr,Tt,kt,qe,K,yo,Nr,Or,ze,go,Pt,_o,Mt,Eo,bo,So,Ar,Tr,$o,Io,vo,Ro,Ze,ye,kr=te(function(){"use strict";Gr(),ie(),i(Ye,"getBuilderId"),Me="[ Federation Runtime ]",i(w,"assert"),i(F,"error"),i(ge,"warn"),i(qt,"addUniqueItem"),i(he,"getFMId"),i(Xe,"isRemoteInfoWithEntry"),i(nr,"isPureRemoteEntry"),i(Je,"isObject"),uo=Object.prototype.toString,i(Ur,"isPlainObject"),i(ar,"arrayOptions"),i(sr,"getRemoteEntryInfoFromSnapshot"),x=function(){try{return new Function("return this")()}catch(e){return globalThis}}(),pe=x,i(Ne,"definePropertyGlobalVal"),i(Oe,"includeOwnProperty"),Oe(globalThis,"__GLOBAL_LOADING_REMOTE_ENTRY__")||Ne(globalThis,"__GLOBAL_LOADING_REMOTE_ENTRY__",{}),fe=globalThis.__GLOBAL_LOADING_REMOTE_ENTRY__,i(wt,"setGlobalDefaultVal"),wt(globalThis),wt(x),i(Vr,"getGlobalFederationInstance"),i(Br,"setGlobalFederationInstance"),i(Wr,"getGlobalFederationConstructor"),i(qr,"setGlobalFederationConstructor"),i(X,"getInfoWithoutType"),Zt=i(function(){return x.__FEDERATION__.moduleInfo},"getGlobalSnapshot"),Rr=i(function(e,t){var n=he(e),r=X(t,n).value;if(r&&!r.version&&"version"in e&&e.version&&(r.version=e.version),r)return r;if("version"in e&&e.version){var o=e.version,a=or(e,["version"]),c=he(a),s=X(x.__FEDERATION__.moduleInfo,c).value;if((s===null||s===void 0?void 0:s.version)===o)return s}},"getTargetSnapshotInfoByModuleInfo"),ke=i(function(e){return Rr(e,x.__FEDERATION__.moduleInfo)},"getGlobalSnapshotInfoByModuleInfo"),Qt=i(function(e,t){var n=he(e);return x.__FEDERATION__.moduleInfo[n]=t,x.__FEDERATION__.moduleInfo},"setGlobalSnapshotInfoByModuleInfo"),ho=i(function(e){return x.__FEDERATION__.moduleInfo=T({},x.__FEDERATION__.moduleInfo,e),function(){var t=Object.keys(e);var n=true,r=false,o=undefined;try{for(var a=t[Symbol.iterator](),c;!(n=(c=a.next()).done);n=true){var s=c.value;delete x.__FEDERATION__.moduleInfo[s]}}catch(e){r=true;o=e}finally{try{if(!n&&a.return!=null){a.return()}}finally{if(r){throw o}}}}},"addGlobalSnapshot"),xe=i(function(e,t){var n=t||"__FEDERATION_".concat(e,":custom__"),r=globalThis[n];return{remoteEntryKey:n,entryExports:r}},"getRemoteEntryExports"),lr=i(function(e){var t=x.__FEDERATION__,n=t.__GLOBAL_PLUGIN__;e.forEach(function(e){n.findIndex(function(t){return t.name===e.name})===-1?n.push(e):ge("The plugin ".concat(e.name," has been registered."))})},"registerGlobalPlugins"),mo=i(function(){return x.__FEDERATION__.__GLOBAL_PLUGIN__},"getGlobalHostPlugins"),po=i(function(e){return globalThis.__FEDERATION__.__PRELOADED_MAP__.get(e)},"getPreloaded"),fo=i(function(e){return globalThis.__FEDERATION__.__PRELOADED_MAP__.set(e,!0)},"setPreloaded"),de="default",cr="global",Nt="[0-9A-Za-z-]+",We="(?:\\+(".concat(Nt,"(?:\\.").concat(Nt,")*))"),le="0|[1-9]\\d*",Re="[0-9]+",Ot="\\d*[a-zA-Z-][a-zA-Z0-9-]*",At="(?:".concat(Re,"|").concat(Ot,")"),wr="(?:-?(".concat(At,"(?:\\.").concat(At,")*))"),Tt="(?:".concat(le,"|").concat(Ot,")"),kt="(?:-(".concat(Tt,"(?:\\.").concat(Tt,")*))"),qe="".concat(le,"|x|X|\\*"),K="[v=\\s]*(".concat(qe,")(?:\\.(").concat(qe,")(?:\\.(").concat(qe,")(?:").concat(kt,")?").concat(We,"?)?)?"),yo="^\\s*(".concat(K,")\\s+-\\s+(").concat(K,")\\s*$"),Nr="(".concat(Re,")\\.(").concat(Re,")\\.(").concat(Re,")"),Or="[v=\\s]*".concat(Nr).concat(wr,"?").concat(We,"?"),ze="((?:<|>)?=?)",go="(\\s*)".concat(ze,"\\s*(").concat(Or,"|").concat(K,")"),Pt="(?:~>?)",_o="(\\s*)".concat(Pt,"\\s+"),Mt="(?:\\^)",Eo="(\\s*)".concat(Mt,"\\s+"),bo="(<|>)?=?\\s*\\*",So="^".concat(Mt).concat(K,"$"),Ar="(".concat(le,")\\.(").concat(le,")\\.(").concat(le,")"),Tr="v?".concat(Ar).concat(kt,"?").concat(We,"?"),$o="^".concat(Pt).concat(K,"$"),Io="^".concat(ze,"\\s*").concat(K,"$"),vo="^".concat(ze,"\\s*(").concat(Tr,")$|^$"),Ro="^\\s*>=\\s*0.0.0\\s*$",i(L,"parseRegex"),i(k,"isXVersion"),i(ir,"pipe"),i(zt,"extractComparator"),i(Kt,"combineVersion"),i(zr,"parseHyphen"),i(Kr,"parseComparatorTrim"),i(Yr,"parseTildeTrim"),i(Xr,"parseCaretTrim"),i(Jr,"parseCarets"),i(Zr,"parseTildes"),i(Qr,"parseXRanges"),i(eo,"parseStar"),i(to,"parseGTE0"),i(Ae,"compareAtom"),i(ro,"comparePreRelease"),i(we,"compareVersion"),i(Ke,"eq"),i(oo,"compare"),i(no,"parseComparatorString"),i(ao,"parseRange"),i(Te,"satisfy"),i(so,"formatShare"),i(Yt,"formatShareConfigs"),i(_e,"versionLt"),Ze=i(function(e,t){var n=t||function(e,t){return _e(e,t)};return Object.keys(e).reduce(function(e,t){return!e||n(e,t)||e==="0"?t:e},0)},"findVersion"),ye=i(function(e){return!!e.loaded||typeof e.lib=="function"},"isLoaded"),i(io,"findSingletonVersionOrderByVersion"),i(lo,"findSingletonVersionOrderByLoaded"),i(co,"getFindShareFunction"),i(Y,"getRegisteredShare"),i(Xt,"getGlobalShareScope"),i(Jt,"getTargetSharedOptions")});function hr(e,t,n,r){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},a=arguments.length>5?arguments[5]:void 0;var i=he(t),c=X(e,i),s=c.value,u=a||s;if(u&&!oe(u)&&(n(u,t,r),u.remotesInfo)){var l=Object.keys(u.remotesInfo);var f=true,h=false,d=undefined;try{for(var p=l[Symbol.iterator](),m;!(f=(m=p.next()).done);f=true){var v=m.value;if(o[v])continue;o[v]=!0;var y=Mo(v),g=u.remotesInfo[v];hr(e,{name:y.name,version:g.matchedVersion},n,!1,o,void 0)}}catch(e){h=true;d=e}finally{try{if(!f&&p.return!=null){p.return()}}finally{if(h){throw d}}}}}var Ht,Pe,Dt,C,Ft,D,jt,ce,Ct,G,Gt,ue,Dr,Ut,Fr,Vt,jr,Bt,Cr,Wt,He,b,xo=te(function(){"use strict";Gr(),ie(),ie(),kr(),kr(),i(Pr,"matchRemoteWithNameAndExpose"),i(wo,"matchRemote"),i(Mr,"registerPlugins$1"),i(No,"loadEsmEntry"),i(Oo,"loadSystemJsEntry"),i(Ao,"loadEntryScript"),i(To,"loadEntryDom"),i(ko,"loadEntryNode"),i(er,"getRemoteEntryUniqueKey"),i(Le,"getRemoteEntry"),i(me,"getRemoteInfo"),Pe=(Ht=/*#__PURE__*/function(){function e(t){var n=t.remoteInfo,r=t.host;_class_call_check(this,e);this.inited=!1,this.lib=void 0,this.remoteInfo=n,this.host=r}_create_class(e,[{key:"getEntry",value:function e(){return _async_to_generator(function(){var e;return _ts_generator(this,function(t){switch(t.label){case 0:if(this.remoteEntryExports)return[2,this.remoteEntryExports];return[4,Le({origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports})];case 1:e=t.sent();return[2,(w(e,"remoteEntryExports is undefined \n ".concat(re(this.remoteInfo))),this.remoteEntryExports=e,this.remoteEntryExports)]}})}).call(this)}},{key:"get",value:function e(e,t,n,r){return _async_to_generator(function(){var o,a,c,s,u,l,f,h,d,p,m,v,y;return _ts_generator(this,function(g){switch(g.label){case 0:o=n||{loadFactory:!0},a=o.loadFactory,c=a===void 0?!0:a;return[4,this.getEntry()];case 1:s=g.sent();if(!!this.inited)return[3,5];u=this.host.shareScopeMap,l=this.remoteInfo.shareScope||"default";u[l]||(u[l]={});f=u[l],h=[],d={version:this.remoteInfo.version||""};Object.defineProperty(d,"shareScopeMap",{value:u,enumerable:!1});return[4,this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope:f,remoteEntryInitOptions:d,initScope:h,remoteInfo:this.remoteInfo,origin:this.host})];case 2:p=g.sent();_type_of(s===null||s===void 0?void 0:s.init)>"u"&&console.error('The remote entry interface does not contain "init"',"\n","Ensure the name of this remote is not reserved or in use. Check if anything already exists on window[nameOfRemote]","\n","Ensure that window[nameOfRemote] is returning a {get,init} object.");return[4,s.init(p.shareScope,p.initScope,p.remoteEntryInitOptions)];case 3:g.sent();return[4,this.host.hooks.lifecycle.initContainer.emit(T({},p,{id:e,remoteSnapshot:r,remoteEntryExports:s}))];case 4:g.sent();g.label=5;case 5:this.lib=s,this.inited=!0;return[4,s.get(t)];case 6:m=g.sent();w(m,"".concat(he(this.remoteInfo)," remote don't export ").concat(t,"."));v=this.wraperFactory(m,e);if(!c)return[3,8];return[4,v()];case 7:y=g.sent();return[3,9];case 8:y=v;g.label=9;case 9:return[2,y]}})}).call(this)}},{key:"wraperFactory",value:function e(e,t){function n(e,t){e&&(typeof e==="undefined"?"undefined":_type_of(e))=="object"&&Object.isExtensible(e)&&!Object.getOwnPropertyDescriptor(e,Symbol.for("mf_module_id"))&&Object.defineProperty(e,Symbol.for("mf_module_id"),{value:t,enumerable:!1})}return i(n,"defineModuleId"),_instanceof(e,Promise)?function(){return _async_to_generator(function(){var r;return _ts_generator(this,function(o){switch(o.label){case 0:return[4,e()];case 1:r=o.sent();return[2,(n(r,t),r)]}})})()}:function(){var r=e();return n(r,t),r}}}]);return e}(),i(Ht,"Module"),Ht),C=(Dt=/*#__PURE__*/function(){function e(t){_class_call_check(this,e);this.type="",this.listeners=new Set,t&&(this.type=t)}_create_class(e,[{key:"on",value:function e(e){typeof e=="function"&&this.listeners.add(e)}},{key:"once",value:function e(e){var t=this;this.on(i(function n(){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++){o[a]=arguments[a]}return t.remove(n),e.apply(null,o)},"wrapper"))}},{key:"emit",value:function e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}var r;return this.listeners.size>0&&this.listeners.forEach(function(e){r=e.apply(void 0,_to_consumable_array(t))}),r}},{key:"remove",value:function e(e){this.listeners.delete(e)}},{key:"removeAll",value:function e(){this.listeners.clear()}}]);return e}(),i(Dt,"SyncHook"),Dt),D=(Ft=/*#__PURE__*/function(e){_inherits(t,e);function t(){_class_call_check(this,t);return _call_super(this,t,arguments)}_create_class(t,[{key:"emit",value:function e(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}var r,o=Array.from(this.listeners);if(o.length>0){var a=0,c=i(function(e){return e===!1?!1:a<o.length?Promise.resolve(o[a++].apply(null,t)).then(c):e},"call");r=c()}return Promise.resolve(r)}}]);return t}(C),i(Ft,"AsyncHook"),Ft),i(xt,"checkReturnData"),ce=(jt=/*#__PURE__*/function(e){_inherits(t,e);function t(e){_class_call_check(this,t);var n;n=_call_super(this,t),n.onerror=F,n.type=e;return n}_create_class(t,[{key:"emit",value:function e(e){Je(e)||F('The data for the "'.concat(this.type,'" hook should be an object.'));var t=true,n=false,r=undefined;try{for(var o=this.listeners[Symbol.iterator](),a;!(t=(a=o.next()).done);t=true){var c=a.value;try{var s=c(e);if(xt(e,s))e=s;else{this.onerror('A plugin returned an unacceptable value for the "'.concat(this.type,'" type.'));break}}catch(e){ge(e),this.onerror(e)}}}catch(e){n=true;r=e}finally{try{if(!t&&o.return!=null){o.return()}}finally{if(n){throw r}}}return e}}]);return t}(C),i(jt,"SyncWaterfallHook"),jt),G=(Ct=/*#__PURE__*/function(e){_inherits(t,e);function t(e){_class_call_check(this,t);var n;n=_call_super(this,t),n.onerror=F,n.type=e;return n}_create_class(t,[{key:"emit",value:function e(e){var t=this;Je(e)||F('The response data for the "'.concat(this.type,'" hook must be an object.'));var n=Array.from(this.listeners);if(n.length>0){var r=0,o=i(function(n){return ge(n),t.onerror(n),e},"processError"),a=i(function(c){if(xt(e,c)){if(e=c,r<n.length)try{return Promise.resolve(n[r++](e)).then(a,o)}catch(e){return o(e)}}else t.onerror('A plugin returned an incorrect value for the "'.concat(t.type,'" type.'));return e},"call");return Promise.resolve(a(e))}return Promise.resolve(e)}}]);return t}(C),i(Ct,"AsyncWaterfallHook"),Ct),ue=(Gt=/*#__PURE__*/function(){function e(t){_class_call_check(this,e);this.registerPlugins={},this.lifecycle=t,this.lifecycleKeys=Object.keys(t)}_create_class(e,[{key:"applyPlugin",value:function e(e){var t=this;w(Ur(e),"Plugin configuration is invalid.");var n=e.name;w(n,"A name must be provided by the plugin."),this.registerPlugins[n]||(this.registerPlugins[n]=e,Object.keys(this.lifecycle).forEach(function(n){var r=e[n];r&&t.lifecycle[n].on(r)}))}},{key:"removePlugin",value:function e(e){var t=this;w(e,"A name is required.");var n=this.registerPlugins[e];w(n,'The plugin "'.concat(e,'" is not registered.')),Object.keys(n).forEach(function(e){e!=="name"&&t.lifecycle[e].remove(n[e])})}},{key:"inherit",value:function e(e){var t=this;var n=e.lifecycle,r=e.registerPlugins;Object.keys(n).forEach(function(e){w(!t.lifecycle[e],'The hook "'.concat(e,'" has a conflict and cannot be inherited.')),t.lifecycle[e]=n[e]}),Object.keys(r).forEach(function(e){w(!t.registerPlugins[e],'The plugin "'.concat(e,'" has a conflict and cannot be inherited.')),t.applyPlugin(r[e])})}}]);return e}(),i(Gt,"PluginSystem"),Gt),i(ur,"defaultPreloadArgs"),i(xr,"formatPreloadArgs"),i(Po,"normalizePreloadExposes"),i(tr,"preloadAssets"),i(rr,"assignRemoteInfo"),i(Lr,"snapshotPlugin"),i(Mo,"splitId"),i(hr,"traverseModuleInfo"),i(Hr,"generatePreloadAssets"),Dr=i(function(){return{name:"generate-preload-assets-plugin",generatePreloadAssets:function e(e){return _async_to_generator(function(){var t,n,r,o,a,c;return _ts_generator(this,function(s){t=e.origin,n=e.preloadOptions,r=e.remoteInfo,o=e.remote,a=e.globalSnapshot,c=e.remoteSnapshot;return[2,Xe(o)&&nr(o)?{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:o.name,url:o.entry,moduleInfo:{name:r.name,entry:o.entry,type:r.type||"global",entryGlobalName:"",shareScope:""}}]}:(rr(r,c),Hr(t,n,r,a,c))]})})()}}},"generatePreloadAssetsPlugin"),i(Lt,"getGlobalRemoteInfo"),Fr=(Ut=/*#__PURE__*/function(){function e(t){_class_call_check(this,e);this.loadingHostSnapshot=null,this.manifestCache=new Map,this.hooks=new ue({beforeLoadRemoteSnapshot:new D("beforeLoadRemoteSnapshot"),loadSnapshot:new G("loadGlobalSnapshot"),loadRemoteSnapshot:new G("loadRemoteSnapshot")}),this.manifestLoading=pe.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=t,this.loaderHook=t.loaderHook}_create_class(e,[{key:"loadSnapshot",value:function e(e){return _async_to_generator(function(){var t,n,r,o,a,c,s,u,l;return _ts_generator(this,function(f){switch(f.label){case 0:t=this.HostInstance,n=t.options,r=this.getGlobalRemoteInfo(e),o=r.hostGlobalSnapshot,a=r.remoteSnapshot,c=r.globalSnapshot;return[4,this.hooks.lifecycle.loadSnapshot.emit({options:n,moduleInfo:e,hostGlobalSnapshot:o,remoteSnapshot:a,globalSnapshot:c})];case 1:s=f.sent(),u=s.remoteSnapshot,l=s.globalSnapshot;return[2,{remoteSnapshot:u,globalSnapshot:l}]}})}).call(this)}},{key:"loadRemoteSnapshotInfo",value:function e(e){return _async_to_generator(function(){var t,n,r,o,a,c,s,u,l,f,h,d,p,m,v,y,g,_,E;return _ts_generator(this,function(S){switch(S.label){case 0:t=this.HostInstance,n=t.options;return[4,this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:n,moduleInfo:e})];case 1:S.sent();r=ke({name:this.HostInstance.options.name,version:this.HostInstance.options.version});r||(r={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}},ho(_define_property({},this.HostInstance.options.name,r))),r&&"remotesInfo"in r&&!X(r.remotesInfo,e.name).value&&("version"in e||"entry"in e)&&(r.remotesInfo=T({},r===null||r===void 0?void 0:r.remotesInfo,_define_property({},e.name,{matchedVersion:"version"in e?e.version:e.entry})));o=this.getGlobalRemoteInfo(e),a=o.hostGlobalSnapshot,c=o.remoteSnapshot,s=o.globalSnapshot;return[4,this.hooks.lifecycle.loadSnapshot.emit({options:n,moduleInfo:e,hostGlobalSnapshot:a,remoteSnapshot:c,globalSnapshot:s})];case 2:u=S.sent(),l=u.remoteSnapshot,f=u.globalSnapshot;if(!l)return[3,7];if(!oe(l))return[3,4];h=M()?l.remoteEntry:l.ssrRemoteEntry||l.remoteEntry||"";return[4,this.getManifestJson(h,e,{})];case 3:d=S.sent(),p=Qt(T({},e,{entry:h}),d);return[2,{remoteSnapshot:d,globalSnapshot:p}];case 4:return[4,this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:l,from:"global"})];case 5:m=S.sent(),v=m.remoteSnapshot;return[2,{remoteSnapshot:v,globalSnapshot:f}];case 6:return[3,11];case 7:if(!Xe(e))return[3,10];return[4,this.getManifestJson(e.entry,e,{})];case 8:y=S.sent(),g=Qt(e,y);return[4,this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:y,from:"global"})];case 9:_=S.sent(),E=_.remoteSnapshot;return[2,{remoteSnapshot:E,globalSnapshot:g}];case 10:F("\n Cannot get remoteSnapshot with the name: '".concat(e.name,"', version: '").concat(e.version,"' from __FEDERATION__.moduleInfo. The following reasons may be causing the problem:\n\n 1. The Deploy platform did not deliver the correct data. You can use __FEDERATION__.moduleInfo to check the remoteInfo.\n\n 2. The remote '").concat(e.name,"' version '").concat(e.version,"' is not released.\n\n The transformed module info: ").concat(JSON.stringify(f),"\n "));S.label=11;case 11:return[2]}})}).call(this)}},{key:"getGlobalRemoteInfo",value:function e(e){return Lt(e,this.HostInstance)}},{key:"getManifestJson",value:function e(e,t,n){return _async_to_generator(function(){var n,r,o;return _ts_generator(this,function(a){n=this;r=i(function(){return _async_to_generator(function(){var n,r,o,a;return _ts_generator(this,function(c){switch(c.label){case 0:n=this.manifestCache.get(e);if(n)return[2,n];c.label=1;case 1:c.trys.push([1,6,,7]);return[4,this.loaderHook.lifecycle.fetch.emit(e,{})];case 2:r=c.sent();o=!r||!_instanceof(r,Response);if(!o)return[3,4];return[4,fetch(e,{})];case 3:o=r=c.sent();c.label=4;case 4:o;return[4,r.json()];case 5:return[2,(n=c.sent(),w(n.metaData&&n.exposes&&n.shared,"".concat(e," is not a federation manifest")),this.manifestCache.set(e,n),n)];case 6:a=c.sent();delete this.manifestLoading[e],F("Failed to get manifestJson for ".concat(t.name,". The manifest URL is ").concat(e,". Please ensure that the manifestUrl is accessible.\n \n Error message:\n \n ").concat(a));return[3,7];case 7:return[2]}})}).call(n)},"getManifest"),o=i(function(){return _async_to_generator(function(){var n,o,a,c;return _ts_generator(this,function(s){switch(s.label){case 0:return[4,r()];case 1:n=s.sent(),o=$e(n,{version:e});return[4,this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:t,manifestJson:n,remoteSnapshot:o,manifestUrl:e,from:"manifest"})];case 2:a=s.sent(),c=a.remoteSnapshot;return[2,c]}})}).call(n)},"asyncLoadProcess");return[2,(this.manifestLoading[e]||(this.manifestLoading[e]=o().then(function(e){return e})),this.manifestLoading[e])]})}).call(this)}}]);return e}(),i(Ut,"SnapshotHandler"),Ut),jr=(Vt=/*#__PURE__*/function(){function e(t){_class_call_check(this,e);this.hooks=new ue({afterResolve:new G("afterResolve"),beforeLoadShare:new G("beforeLoadShare"),loadShare:new D,resolveShare:new ce("resolveShare"),initContainerShareScopeMap:new ce("initContainerShareScopeMap")}),this.host=t,this.shareScopeMap={},this.initTokens={},this._setGlobalShareScopeMap(t.options)}_create_class(e,[{key:"registerShared",value:function e(e,t){var n=this;var r=Yt(e,t),o=r.shareInfos,a=r.shared;return Object.keys(o).forEach(function(e){o[e].forEach(function(r){!Y(n.shareScopeMap,e,r,n.hooks.lifecycle.resolveShare)&&r&&r.lib&&n.setShared({pkgName:e,lib:r.lib,get:r.get,loaded:!0,shared:r,from:t.name})})}),{shareInfos:o,shared:a}}},{key:"loadShare",value:function e(e,t){return _async_to_generator(function(){var n,r,o,a,c,s,u,l,f,h,d,p;return _ts_generator(this,function(m){switch(m.label){case 0:n=this;r=this,o=r.host,a=Jt({pkgName:e,extraOptions:t,shareInfos:o.options.shared});c=a===null||a===void 0?void 0:a.scope;if(!c)return[3,2];return[4,Promise.all(a.scope.map(function(e){return _async_to_generator(function(){return _ts_generator(this,function(t){switch(t.label){case 0:return[4,Promise.all(this.initializeSharing(e,{strategy:a.strategy}))];case 1:t.sent();return[2]}})}).call(n)}))];case 1:c=m.sent();m.label=2;case 2:c;return[4,this.hooks.lifecycle.beforeLoadShare.emit({pkgName:e,shareInfo:a,shared:o.options.shared,origin:o})];case 3:s=m.sent(),u=s.shareInfo;w(u,"Cannot find ".concat(e," Share in the ").concat(o.options.name,". Please ensure that the ").concat(e," Share parameters have been injected"));l=Y(this.shareScopeMap,e,u,this.hooks.lifecycle.resolveShare),f=i(function(e){e.useIn||(e.useIn=[]),qt(e.useIn,o.options.name)},"addUseIn");if(l&&l.lib)return[2,(f(l),l.lib)];if(!(l&&l.loading&&!l.loaded))return[3,5];return[4,l.loading];case 4:h=m.sent();return[2,(l.loaded=!0,l.lib||(l.lib=h),f(l),h)];case 5:if(l){d=i(function(){return _async_to_generator(function(){var t,n;return _ts_generator(this,function(r){switch(r.label){case 0:return[4,l.get()];case 1:t=r.sent();u.lib=t,u.loaded=!0,f(u);n=Y(this.shareScopeMap,e,u,this.hooks.lifecycle.resolveShare);return[2,(n&&(n.lib=t,n.loaded=!0),t)]}})}).call(n)},"asyncLoadProcess")();return[2,(this.setShared({pkgName:e,loaded:!1,shared:l,from:o.options.name,lib:null,loading:d}),d)]}else{if(t===null||t===void 0?void 0:t.customShareInfo)return[2,!1];p=i(function(){return _async_to_generator(function(){var t,n;return _ts_generator(this,function(r){switch(r.label){case 0:return[4,u.get()];case 1:t=r.sent();u.lib=t,u.loaded=!0,f(u);n=Y(this.shareScopeMap,e,u,this.hooks.lifecycle.resolveShare);return[2,(n&&(n.lib=t,n.loaded=!0),t)]}})}).call(n)},"asyncLoadProcess")();return[2,(this.setShared({pkgName:e,loaded:!1,shared:u,from:o.options.name,lib:null,loading:p}),p)]}m.label=6;case 6:return[2]}})}).call(this)}},{key:"initializeSharing",value:function e(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:de,t=arguments.length>1?arguments[1]:void 0;var n=this,r=n.host,o=t===null||t===void 0?void 0:t.from,a=t===null||t===void 0?void 0:t.strategy,c=t===null||t===void 0?void 0:t.initScope,s=[];if(o!=="build"){var u=this,l=u.initTokens;c||(c=[]);var f=l[e];if(f||(f=l[e]={from:this.host.name}),c.indexOf(f)>=0)return s;c.push(f)}var h=this.shareScopeMap,d=r.options.name;h[e]||(h[e]={});var p=h[e],m=i(function(e,t){var n;var r=t.version,o=t.eager;p[e]=p[e]||{};var a=p[e],c=a[r],s=!!(c&&(c.eager||(n=c.shareConfig)!=null&&n.eager));(!c||c.strategy!=="loaded-first"&&!c.loaded&&(!o!=!s?o:d>c.from))&&(a[r]=t)},"register"),v=i(function(t){return t&&t.init&&t.init(h[e],c)},"initFn"),y=i(function(e){return _async_to_generator(function(){var t,n,o,a,c;return _ts_generator(this,function(s){switch(s.label){case 0:return[4,r.remoteHandler.getRemoteModuleAndOptions({id:e})];case 1:t=s.sent(),n=t.module;if(!n.getEntry)return[3,9];s.label=2;case 2:s.trys.push([2,4,,6]);return[4,n.getEntry()];case 3:o=s.sent();return[3,6];case 4:a=s.sent();return[4,r.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:a,from:"runtime",lifecycle:"beforeLoadShare",origin:r})];case 5:o=s.sent();return[3,6];case 6:c=n.inited;if(c)return[3,8];return[4,v(o)];case 7:c=(s.sent(),n.inited=!0);s.label=8;case 8:c;s.label=9;case 9:return[2]}})})()},"initRemoteModule");return Object.keys(r.options.shared).forEach(function(t){r.options.shared[t].forEach(function(n){n.scope.includes(e)&&m(t,n)})}),(r.options.shareStrategy==="version-first"||a==="version-first")&&r.options.remotes.forEach(function(t){t.shareScope===e&&s.push(y(t.name))}),s}},{key:"loadShareSync",value:function e(e,t){var n=this;var r=this,o=r.host,a=Jt({pkgName:e,extraOptions:t,shareInfos:o.options.shared});(a===null||a===void 0?void 0:a.scope)&&a.scope.forEach(function(e){n.initializeSharing(e,{strategy:a.strategy})});var c=Y(this.shareScopeMap,e,a,this.hooks.lifecycle.resolveShare),s=i(function(e){e.useIn||(e.useIn=[]),qt(e.useIn,o.options.name)},"addUseIn");if(c){if(typeof c.lib=="function")return s(c),c.loaded||(c.loaded=!0,c.from===o.options.name&&(a.loaded=!0)),c.lib;if(typeof c.get=="function"){var u=c.get();if(!_instanceof(u,Promise))return s(c),this.setShared({pkgName:e,loaded:!0,from:o.options.name,lib:u,shared:c}),u}}if(a.lib)return a.loaded||(a.loaded=!0),a.lib;if(a.get){var l=a.get();if(_instanceof(l,Promise))throw new Error("\n The loadShareSync function was unable to load ".concat(e,". The ").concat(e," could not be found in ").concat(o.options.name,".\n Possible reasons for failure: \n\n 1. The ").concat(e," share was registered with the 'get' attribute, but loadShare was not used beforehand.\n\n 2. The ").concat(e," share was not registered with the 'lib' attribute.\n\n "));return a.lib=l,this.setShared({pkgName:e,loaded:!0,from:o.options.name,lib:a.lib,shared:a}),a.lib}throw new Error("\n The loadShareSync function was unable to load ".concat(e,". The ").concat(e," could not be found in ").concat(o.options.name,".\n Possible reasons for failure: \n\n 1. The ").concat(e," share was registered with the 'get' attribute, but loadShare was not used beforehand.\n\n 2. The ").concat(e," share was not registered with the 'lib' attribute.\n\n "))}},{key:"initShareScopeMap",value:function e(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var r=this,o=r.host;this.shareScopeMap[e]=t,this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope:t,options:o.options,origin:o,scopeName:e,hostShareScopeMap:n.hostShareScopeMap})}},{key:"setShared",value:function e(e){var t=this;var n=e.pkgName,r=e.shared,o=e.from,a=e.lib,c=e.loading,s=e.loaded,u=e.get;var l=r.version,f=r.scope,h=f===void 0?"default":f,d=or(r,["version","scope"]);(Array.isArray(h)?h:[h]).forEach(function(e){if(t.shareScopeMap[e]||(t.shareScopeMap[e]={}),t.shareScopeMap[e][n]||(t.shareScopeMap[e][n]={}),!t.shareScopeMap[e][n][l]){t.shareScopeMap[e][n][l]=T({version:l,scope:["default"]},d,{lib:a,loaded:s,loading:c}),u&&(t.shareScopeMap[e][n][l].get=u);return}var r=t.shareScopeMap[e][n][l];c&&!r.loading&&(r.loading=c)})}},{key:"_setGlobalShareScopeMap",value:function e(e){var t=Xt(),n=e.id||e.name;n&&!t[n]&&(t[n]=this.shareScopeMap)}}]);return e}(),i(Vt,"SharedHandler"),Vt),Cr=(Bt=/*#__PURE__*/function(){function e(t){_class_call_check(this,e);this.hooks=new ue({beforeRegisterRemote:new ce("beforeRegisterRemote"),registerRemote:new ce("registerRemote"),beforeRequest:new G("beforeRequest"),onLoad:new D("onLoad"),handlePreloadModule:new C("handlePreloadModule"),errorLoadRemote:new D("errorLoadRemote"),beforePreloadRemote:new D("beforePreloadRemote"),generatePreloadAssets:new D("generatePreloadAssets"),afterPreloadRemote:new D,loadEntry:new D}),this.host=t,this.idToRemoteMap={}}_create_class(e,[{key:"formatAndRegisterRemote",value:function e(e,t){var n=this;return(t.remotes||[]).reduce(function(e,t){return n.registerRemote(t,e,{force:!1}),e},e.remotes)}},{key:"setIdToRemoteMap",value:function e(e,t){var n=t.remote,r=t.expose,o=n.name,a=n.alias;if(this.idToRemoteMap[e]={name:n.name,expose:r},a&&e.startsWith(o)){var c=e.replace(o,a);this.idToRemoteMap[c]={name:n.name,expose:r};return}if(a&&e.startsWith(a)){var s=e.replace(a,o);this.idToRemoteMap[s]={name:n.name,expose:r}}}},{key:"loadRemote",value:function e(e,t){return _async_to_generator(function(){var n,r,o,a,c,s,u,l,f,h,d,p,m,v,y,g,_,E,S,I,R;return _ts_generator(this,function(k){switch(k.label){case 0:n=this,r=n.host;k.label=1;case 1:k.trys.push([1,5,,7]);o=t||{loadFactory:!0},a=o.loadFactory,c=a===void 0?!0:a;return[4,this.getRemoteModuleAndOptions({id:e})];case 2:s=k.sent(),u=s.module,l=s.moduleOptions,f=s.remoteMatchInfo,h=f.pkgNameOrAlias,d=f.remote,p=f.expose,m=f.id,v=f.remoteSnapshot;return[4,u.get(m,p,t,v)];case 3:y=k.sent();return[4,this.hooks.lifecycle.onLoad.emit({id:m,pkgNameOrAlias:h,expose:p,exposeModule:c?y:void 0,exposeModuleFactory:c?void 0:y,remote:d,options:l,moduleInstance:u,origin:r})];case 4:g=k.sent();return[2,(this.setIdToRemoteMap(e,f),typeof g=="function"?g:y)];case 5:_=k.sent();E=t||{from:"runtime"},S=E.from,I=S===void 0?"runtime":S;return[4,this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:_,from:I,lifecycle:"onLoad",origin:r})];case 6:R=k.sent();if(!R)throw _;return[2,R];case 7:return[2]}})}).call(this)}},{key:"preloadRemote",value:function e(e){return _async_to_generator(function(){var t,n,r,o;return _ts_generator(this,function(a){switch(a.label){case 0:t=this;n=this,r=n.host;return[4,this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:e,options:r.options,origin:r})];case 1:a.sent();o=xr(r.options.remotes,e);return[4,Promise.all(o.map(function(e){return _async_to_generator(function(){var t,n,o,a,c,s;return _ts_generator(this,function(u){switch(u.label){case 0:t=e.remote,n=me(t);return[4,r.snapshotHandler.loadRemoteSnapshotInfo(t)];case 1:o=u.sent(),a=o.globalSnapshot,c=o.remoteSnapshot;return[4,this.hooks.lifecycle.generatePreloadAssets.emit({origin:r,preloadOptions:e,remote:t,remoteInfo:n,globalSnapshot:a,remoteSnapshot:c})];case 2:s=u.sent();s&&tr(n,r,s);return[2]}})}).call(t)}))];case 2:a.sent();return[2]}})}).call(this)}},{key:"registerRemotes",value:function e(e,t){var n=this;var r=this,o=r.host;e.forEach(function(e){n.registerRemote(e,o.options.remotes,{force:t===null||t===void 0?void 0:t.force})})}},{key:"getRemoteModuleAndOptions",value:function e(e){return _async_to_generator(function(){var t,n,r,o,a,c,s,u,l,f,h,d,p,m;return _ts_generator(this,function(v){switch(v.label){case 0:t=this,n=t.host,r=e.id;v.label=1;case 1:v.trys.push([1,3,,5]);return[4,this.hooks.lifecycle.beforeRequest.emit({id:r,options:n.options,origin:n})];case 2:o=v.sent();return[3,5];case 3:a=v.sent();return[4,this.hooks.lifecycle.errorLoadRemote.emit({id:r,options:n.options,origin:n,from:"runtime",error:a,lifecycle:"beforeRequest"})];case 4:if(o=v.sent(),!o)throw a;return[3,5];case 5:c=o.id,s=Pr(n.options.remotes,c);w(s,"\n Unable to locate ".concat(c," in ").concat(n.options.name,". Potential reasons for failure include:\n\n 1. ").concat(c," was not included in the 'remotes' parameter of ").concat(n.options.name||"the host",".\n\n 2. ").concat(c," could not be found in the 'remotes' of ").concat(n.options.name," with either 'name' or 'alias' attributes.\n 3. ").concat(c," is not online, injected, or loaded.\n 4. ").concat(c," cannot be accessed on the expected.\n 5. The 'beforeRequest' hook was provided but did not return the correct 'remoteInfo' when attempting to load ").concat(c,".\n "));u=s.remote,l=me(u);return[4,n.sharedHandler.hooks.lifecycle.afterResolve.emit(T({id:c},s,{options:n.options,origin:n,remoteInfo:l}))];case 6:f=v.sent(),h=f.remote,d=f.expose;w(h&&d,"The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ".concat(c,"."));p=n.moduleCache.get(h.name),m={host:n,remoteInfo:l};return[2,(p||(p=new Pe(m),n.moduleCache.set(h.name,p)),{module:p,moduleOptions:m,remoteMatchInfo:f})]}})}).call(this)}},{key:"registerRemote",value:function e(e,t,n){var r=this,o=r.host,a=i(function(){if(e.alias){var n=t.find(function(t){var n;return e.alias&&(t.name.startsWith(e.alias)||((n=t.alias)==null?void 0:n.startsWith(e.alias)))});w(!n,"The alias ".concat(e.alias," of remote ").concat(e.name," is not allowed to be the prefix of ").concat(n&&n.name," name or alias"))}"entry"in e&&M()&&!e.entry.startsWith("http")&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||(e.shareScope=de),e.type||(e.type=cr)},"normalizeRemote");this.hooks.lifecycle.beforeRegisterRemote.emit({remote:e,origin:o});var c=t.find(function(t){return t.name===e.name});if(!c)a(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:o});else{var s=['The remote "'.concat(e.name,'" is already registered.'),(n===null||n===void 0?void 0:n.force)?"Hope you have known that OVERRIDE it may have some unexpected errors":'If you want to merge the remote, you can set "force: true".'];(n===null||n===void 0?void 0:n.force)&&(this.removeRemote(c),a(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:o})),se(s.join(" "))}}},{key:"removeRemote",value:function e(e){try{var t=this,n=t.host,r=e.name,o=n.options.remotes.findIndex(function(e){return e.name===r});o!==-1&&n.options.remotes.splice(o,1);var a=n.moduleCache.get(e.name);if(a){var c=a.remoteInfo,s=c.entryGlobalName;if(globalThis[s]){var u;(u=Object.getOwnPropertyDescriptor(globalThis,s))!=null&&u.configurable?delete globalThis[s]:globalThis[s]=void 0}var l=er(a.remoteInfo);fe[l]&&delete fe[l],n.snapshotHandler.manifestCache.delete(c.entry);var f=c.buildVersion?ae(c.name,c.buildVersion):c.name,h=globalThis.__FEDERATION__.__INSTANCES__.findIndex(function(e){return c.buildVersion?e.options.id===f:e.name===f});if(h!==-1){var d=globalThis.__FEDERATION__.__INSTANCES__[h];f=d.options.id||f;var p=Xt(),m=!0,v=[];Object.keys(p).forEach(function(e){var t=p[e];t&&Object.keys(t).forEach(function(n){var r=t[n];r&&Object.keys(r).forEach(function(t){var o=r[t];o&&Object.keys(o).forEach(function(r){var a=o[r];a&&(typeof a==="undefined"?"undefined":_type_of(a))=="object"&&a.from===c.name&&(a.loaded||a.loading?(a.useIn=a.useIn.filter(function(e){return e!==c.name}),a.useIn.length?m=!1:v.push([e,n,t,r])):v.push([e,n,t,r]))})})})}),m&&(d.shareScopeMap={},delete p[f]),v.forEach(function(e){var t=_sliced_to_array(e,4),n=t[0],r=t[1],o=t[2],a=t[3];var c,s,u;(u=p[n])==null||(s=u[r])==null||(c=s[o])==null||delete c[a]}),globalThis.__FEDERATION__.__INSTANCES__.splice(h,1)}var y=Lt(e,n),g=y.hostGlobalSnapshot;if(g){var _=g&&"remotesInfo"in g&&g.remotesInfo&&X(g.remotesInfo,e.name).key;_&&(delete g.remotesInfo[_],pe.__FEDERATION__.__MANIFEST_LOADING__[_]&&delete pe.__FEDERATION__.__MANIFEST_LOADING__[_])}n.moduleCache.delete(e.name)}}catch(e){console.log("removeRemote fail: ",e)}}}]);return e}(),i(Bt,"RemoteHandler"),Bt),He=(Wt=/*#__PURE__*/function(){function e(t){_class_call_check(this,e);this.hooks=new ue({beforeInit:new ce("beforeInit"),init:new C,beforeInitContainer:new G("beforeInitContainer"),initContainer:new G("initContainer")}),this.version="0.6.10",this.moduleCache=new Map,this.loaderHook=new ue({getModuleInfo:new C,createScript:new C,createLink:new C,fetch:new D});var n={id:Ye(),name:t.name,plugins:[Lr(),Dr()],remotes:[],shared:{},inBrowser:M()};this.name=t.name,this.options=n,this.snapshotHandler=new Fr(this),this.sharedHandler=new jr(this),this.remoteHandler=new Cr(this),this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins(_to_consumable_array(n.plugins).concat(_to_consumable_array(t.plugins||[]))),this.options=this.formatOptions(n,t)}_create_class(e,[{key:"initOptions",value:function e(e){this.registerPlugins(e.plugins);var t=this.formatOptions(this.options,e);return this.options=t,t}},{key:"loadShare",value:function e(e,t){return _async_to_generator(function(){return _ts_generator(this,function(n){return[2,this.sharedHandler.loadShare(e,t)]})}).call(this)}},{key:"loadShareSync",value:function e(e,t){return this.sharedHandler.loadShareSync(e,t)}},{key:"initializeSharing",value:function e(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:de,t=arguments.length>1?arguments[1]:void 0;return this.sharedHandler.initializeSharing(e,t)}},{key:"initRawContainer",value:function e(e,t,n){var r=me({name:e,entry:t}),o=new Pe({host:this,remoteInfo:r});return o.remoteEntryExports=n,this.moduleCache.set(e,o),o}},{key:"loadRemote",value:function e(e,t){return _async_to_generator(function(){return _ts_generator(this,function(n){return[2,this.remoteHandler.loadRemote(e,t)]})}).call(this)}},{key:"preloadRemote",value:function e(e){return _async_to_generator(function(){return _ts_generator(this,function(t){return[2,this.remoteHandler.preloadRemote(e)]})}).call(this)}},{key:"initShareScopeMap",value:function e(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.sharedHandler.initShareScopeMap(e,t,n)}},{key:"formatOptions",value:function e(e,t){var n=Yt(e,t),r=n.shared,o=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:t,options:e,shareInfo:r}),a=o.userOptions,c=o.options,s=this.remoteHandler.formatAndRegisterRemote(c,a),u=this.sharedHandler.registerShared(c,a),l=u.shared,f=_to_consumable_array(c.plugins);a.plugins&&a.plugins.forEach(function(e){f.includes(e)||f.push(e)});var h=T({},e,t,{plugins:f,remotes:s,shared:l});return this.hooks.lifecycle.init.emit({origin:this,options:h}),h}},{key:"registerPlugins",value:function e(e){var t=Mr(e,[this.hooks,this.remoteHandler.hooks,this.sharedHandler.hooks,this.snapshotHandler.hooks,this.loaderHook]);this.options.plugins=this.options.plugins.reduce(function(e,t){return t&&e&&!e.find(function(e){return e.name===t.name})&&e.push(t),e},t||[])}},{key:"registerRemotes",value:function e(e,t){return this.remoteHandler.registerRemotes(e,t)}}]);return e}(),i(Wt,"FederationHost"),Wt),b=null,i(mr,"init"),i(pr,"loadRemote"),i(fr,"loadShare"),i(dr,"loadShareSync"),i(yr,"preloadRemote"),i(gr,"registerRemotes"),i(_r,"registerPlugins"),i(Er,"getInstance"),qr(He)});xo();var et={};ot(et,{BROWSER_LOG_KEY:function(){return Ve},BROWSER_LOG_VALUE:function(){return Be},ENCODE_NAME_PREFIX:function(){return pt},EncodedNameTransformMap:function(){return Z},FederationModuleManifest:function(){return lt},Logger:function(){return je},MANIFEST_EXT:function(){return Se},MFModuleType:function(){return ht},MFPrefetchCommon:function(){return dt},MODULE_DEVTOOL_IDENTIFIER:function(){return mt},ManifestFileName:function(){return ct},NameTransformMap:function(){return P},NameTransformSymbol:function(){return R},SEPARATOR:function(){return Ee},StatsFileName:function(){return ut},TEMP_DIR:function(){return ft},assert:function(){return Rt},composeKeyWithSeparator:function(){return ae},containerPlugin:function(){return yt},containerReferencePlugin:function(){return gt},createLink:function(){return B},createScript:function(){return ne},createScriptNode:function(){return Ue},decodeName:function(){return $t},encodeName:function(){return be},error:function(){return Ce},generateExposeFilename:function(){return It},generateShareFilename:function(){return vt},generateSnapshotFromManifest:function(){return $e},getProcessEnv:function(){return Fe},getResourceUrl:function(){return z},inferAutoPublicPath:function(){return Ge},isBrowserEnv:function(){return M},isDebugMode:function(){return Q},isManifestProvider:function(){return oe},isStaticResourcesEqual:function(){return ve},loadScript:function(){return W},loadScriptNode:function(){return q},logger:function(){return St},moduleFederationPlugin:function(){return _t},normalizeOptions:function(){return it},parseEntry:function(){return bt},safeToString:function(){return re},safeWrapper:function(){return Ie},sharePlugin:function(){return Et},simpleJoinRemoteEntry:function(){return V},warn:function(){return se}});ie();return jo(zo)}();//# sourceMappingURL=sdk.js.map
|