PageSourceSearch

https://portal-tributario.queretaro.gob.mx/app/ingresos/_next/static/chunks/remoteEntry.js

js queretaro.gob.mx collected 2026-09-24 19:35:10 UTC 87,334 bytes, 1 lines download raw bytes

1!function(){var e,t,n,r,o,i,s,a,c={47449:function(e,t,n){"use strict";var r={};function o(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}n.r(r),n.d(r,{Module:function(){return Xt},ModuleFederation:function(){return gn},createInstance:function(){return En},getInstance:function(){return $n},getRemoteEntry:function(){return Vt},getRemoteInfo:function(){return qt},init:function(){return _n},loadRemote:function(){return vn},loadScript:function(){return yt},loadScriptNode:function(){return wt},loadShare:function(){return wn},loadShareSync:function(){return kn},preloadRemote:function(){return In},registerGlobalPlugins:function(){return ie},registerPlugins:function(){return Nn},registerRemotes:function(){return Rn},registerShared:function(){return Tn}});const i=["script"];function s(e){const{webpackRequire:t,moduleToHandlerMapping:n}=e,{consumesLoadingData:r,initializeSharingData:o}=t,{sharedFallback:i,bundlerRuntime:s,libraryType:a}=t.federation;if(r&&!r._updated){const{moduleIdToConsumeDataMapping:o={},initialConsumes:c=[],chunkMapping:l={}}=r;if(Object.entries(o).forEach(([e,r])=>{n[e]||(n[e]={getter:i?s?.getSharedFallbackGetter({shareKey:r.shareKey,factory:r.fallback,webpackRequire:t,libraryType:a}):r.fallback,treeShakingGetter:i?r.fallback:void 0,shareInfo:{shareConfig:{requiredVersion:r.requiredVersion,strictVersion:r.strictVersion,singleton:r.singleton,eager:r.eager,layer:r.layer},scope:Array.isArray(r.shareScope)?r.shareScope:[r.shareScope||"default"],treeShaking:i?{get:r.fallback,mode:r.treeShakingMode}:void 0},shareKey:r.shareKey})}),"initialConsumes"in e){const{initialConsumes:t=[]}=e;c.forEach(e=>{t.includes(e)||t.push(e)})}if("chunkMapping"in e){const{chunkMapping:t={}}=e;Object.entries(l).forEach(([e,n])=>
1{t[e]||(t[e]=[]),n.forEach(n=>{t[e].includes(n)||t[e].push(n)})})}r._updated=1}if(o&&!o._updated){const{federation:e}=t;if(!e.instance||!o.scopeToSharingDataMapping)return;const n={};for(let[e,t]of Object.entries(o.scopeToSharingDataMapping))for(let r of t)if("object"==typeof r&&null!==r){const{name:t,version:o,factory:i,eager:s,singleton:a,requiredVersion:c,strictVersion:l}=r,u={requiredVersion:`^${o}`},f=function(e){return void 0!==e};f(a)&&(u.singleton=a),f(c)&&(u.requiredVersion=c),f(s)&&(u.eager=s),f(l)&&(u.strictVersion=l);const h={version:o,scope:[e],shareConfig:u,get:i};n[t]?n[t].push(h):n[t]=[h]}e.instance.registerShared(n),o._updated=1}}const a="@",c="-",l="/",u={[a]:"scope_",[c]:"_",[l]:"__"},f={[u[a]]:a,[u[c]]:c,[u[l]]:l};let h=function(e){return e[e.UNKNOWN=1]="UNKNOWN",e[e.CALCULATED=2]="CALCULATED",e[e.NO_USE=0]="NO_USE",e}({});var d=n(77836);const p="undefined"!=typeof ENV_TARGET?"web"===ENV_TARGET:"undefined"!=typeof window&&void 0!==window.document;function m(){return p}function g(){return"undefined"!=typeof navigator&&"ReactNative"===navigator?.product}function y(){return void 0!==d&&d.env&&d.env.FEDERATION_DEBUG?Boolean(d.env.FEDERATION_DEBUG):!("undefined"==typeof FEDERATION_DEBUG||!Boolean(FEDERATION_DEBUG))||function(){try{if(m()&&window.localStorage)return Boolean(localStorage.getItem("FEDERATION_DEBUG"))}catch(e){return!1}return!1}()}const b=function(...e){return e.length?e.reduce((e,t)=>t?e?`${e}:${t}`:t:e,""):""},E=(e,t)=>{if("getPublicPath"in e){let n;return n=e.getPublicPath.startsWith("function")?new Function("return "+e.getPublicPath)()():new Function(e.getPublicPath)(),`${n}${t}`}return"publicPath"in e?m()||g()||!("ssrPublicPath"in e)||"string"!=typeof e.ssrPublicPath?`${e.publicPath}${t}`:`${e.ssrPublicPath}${t}`:(console.warn("Cannot get resource URL. If in debug mode, please ignore.",e,t),"")},S=e=>{console.warn(`[ Federation Runtime ]: ${e}`)};function _(e){try{return JSON.stringify(e,null,2)}catch(e){return""}}function v(e,t){const n=e.federation.usedExports;if(n)return n[t]}const w="RUNTIME-012",k="[ Module Federation ]",I=console,R=["logger.ts","logger.js","captureStackTrace","Logger.emit","Logger.log","Logger.info","Logger.warn","Logger.error","Logger.debug"];var N=class{constructor(e,t=I){this.prefix=e,this.delegate=t??I}setPrefix(e){this.prefix=e}setDelegate(e){this.delegate=e??I}emit(e,t){const n=this.delegate,r=y()?function(){try{const e=(new Error).stack;if(!e)return;const[,...t]=e.split("\n"),n=t.filter(e=>!R.some(t=>e.includes(t)));if(!n.length)return;return`Stack trace:\n${n.slice(0,5).join("\n")}`}catch{return}}():void 0,o=r?[...t,r]:t,i=(()=>{switch(e){case"log":return["log","info"];case"info":return["info","log"];case"warn":return["warn","info","log"];case"error":return["error","warn","log"];default:return["debug","log"]}})();for(const e of i){const t=n[e];if("function"==typeof t)return void t.call(n,this.prefix,...o)}for(const e of i){const t=I[e];if("function"==typeof t)return void t.call(I,this.prefix,...o)}}log(...e){this.emit("log",e)}warn(...e){this.emit("warn",e)}error(...e){this.emit("error",e)}success(...e){this.emit("info",e)}info(...e){this.emit("info",e)}ready(...e){this.emit("info",e)}debug(...e){y()&&this.emit("debug",e)}};function $(e){return new N(e)}$(k),function(e){const t=new N(e);Object.defineProperty(t,"__mf_infrastructure_logger__",{value:!0,enumerable:!1,configurable:!1})}(k);const T=(e,t,n,r)=>{const o=[`${[t[e]]} #${e}`];return n&&o.push(`args: ${JSON.stringify(n)}`),o.push((e=>`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`)(e)),r&&o.push(`Original Error Message:\n ${r}`),o.join("\n")},O="[ Federation Runtime ]",A=$(O);function M(e,t,n,r,o){e||(void 0!==n?x(t,n,r,void 0):x(t))}function x(e,t,n,r,o){if(void 0!==t)return function(e,t,n,r,o){return(e=>{throw new Error(`${O}: ${e}`)})(T(e,t,n,o))}(e,t,n??{},0,r);const i=e;if(i instanceof Error)throw i.message.startsWith(O)||(i.message=`${O}: ${i.message}`),i;throw new Error(`${O}: ${i}`)}function P(e){e instanceof Error?(e.message.startsWith(O)||(e.message=`${O}: ${e.message}`),A.warn(e)):A.warn(e)}function L(e){return"version"in e&&e.version?`${e.name}:${e.version}`:"entry"in e&&e.entry?`${e.name}:${e.entry}`:`${e.name}`}function C(e){return void 0!==e.entry}function D(e){return!e.entry.includes(".json")}function j(e){return e&&"object"==typeof e}const F=Object.prototype.toString;function H(e){return Array.isArray(e)?e:[e]}function G(e){const t={url:"",type:"global",globalName:""};return p||g()||!("ssrRemoteEntry"in e)?"remoteEntry"in e?{url:e.remoteEntry,type:e.remoteEntryType,globalName:e.globalName}:t:"ssrRemoteEntry"in e?{url:e.ssrRemoteEntry||t.url,type:e.ssrRemoteEntryType||t.type,globalName:e.globalName}:t}const V="object"==typeof globalThis?globalThis:window,q=(()=>{try{return document.defaultView}catch{return V}})(),U=q;function B(e,t,n){Object.defineProperty(e,t,{value:n,configurable:!1,writable:!0})}function W(e,t){return Object.hasOwnProperty.call(e,t)}W(V,"__GLOBAL_LOADING_REMOTE_ENTRY__")||B(V,"__GLOBAL_LOADING_REMOTE_ENTRY__",{});const K=V.__GLOBAL_LOADING_REMOTE_ENTRY__;function z(e){W(e,"__VMOK__")&&!W(e,"__FEDERATION__")&&B(e,"__FEDERATION__",e.__VMOK__),W(e,"__FEDERATION__")||(B(e,"__FEDERATION__",{__GLOBAL_PLUGIN__:[],__INSTANCES__:[],moduleInfo:{},__SHARE__:{},__MANIFEST_LOADING__:{},__PRELOADED_MAP__:new Map}),B(e,"__VMOK__",e.__FEDERATION__)),e.__FEDERATION__.__GLOBAL_PLUGIN__??=[],e.__FEDERATION__.__INSTANCES__??=[],e.__FEDERATION__.moduleInfo??={},e.__FEDERATION__.__SHARE__??={},e.__FEDERATION__.__MANIFEST_LOADING__??={},e.__FEDERATION__.__PRELOADED_MAP__??=new Map}function J(e){V.__FEDERATION__.__INSTANCES__.push(e)}function Z(){return V.__FEDERATION__.__DEBUG_CONSTRUCTOR__}function X(e,t=y()){t&&(V.__FEDERATION__.__DEBUG_CONSTRUCTOR__=e,V.__FEDERATION__.__DEBUG_CONSTRUCTOR_VERSION__="2.3.0")}function Y(e,t){if("string"==typeof t){if(e[t])return{value:e[t],key:t};{const n=Object.keys(e);for(const r of n){const[n,o]=r.split(":"),i=`${n}:${t}`,s=e[i];if(s)return{value:s,key:i}}return{value:void 0,key:t}}}x(`getInfoWithoutType: "key" must be a string, got ${typeof t} (${JSON.stringify(t)}).`)}z(V),z(q);const Q=()=>q.__FEDERATION__.moduleInfo,ee=(e,t)=>
1{const n=Y(t,L(e)).value;if(n&&!n.version&&"version"in e&&e.version&&(n.version=e.version),n)return n;if("version"in e&&e.version){const{version:t,...n}=e,r=L(n),o=Y(q.__FEDERATION__.moduleInfo,r).value;if(o?.version===t)return o}},te=e=>ee(e,q.__FEDERATION__.moduleInfo),ne=(e,t)=>{const n=L(e);return q.__FEDERATION__.moduleInfo[n]=t,q.__FEDERATION__.moduleInfo},re=e=>(q.__FEDERATION__.moduleInfo={...q.__FEDERATION__.moduleInfo,...e},()=>{const t=Object.keys(e);for(const e of t)delete q.__FEDERATION__.moduleInfo[e]}),oe=(e,t)=>{const n=t||`__FEDERATION_${e}:custom__`;return{remoteEntryKey:n,entryExports:V[n]}},ie=e=>{const{__GLOBAL_PLUGIN__:t}=q.__FEDERATION__;e.forEach(e=>{-1===t.findIndex(t=>t.name===e.name)?t.push(e):P(`The plugin ${e.name} has been registered.`)})},se=()=>q.__FEDERATION__.__GLOBAL_PLUGIN__,ae=e=>V.__FEDERATION__.__PRELOADED_MAP__.get(e),ce=e=>V.__FEDERATION__.__PRELOADED_MAP__.set(e,!0),le="default",ue="global",fe="[0-9A-Za-z-]+",he=`(?:\\+(${fe}(?:\\.${fe})*))`,de="0|[1-9]\\d*",pe="[0-9]+",me="\\d*[a-zA-Z-][a-zA-Z0-9-]*",ge=`(?:${pe}|${me})`,ye=`(?:${de}|${me})`,be=`(?:-(${ye}(?:\\.${ye})*))`,Ee=`${de}|x|X|\\*`,Se=`[v=\\s]*(${Ee})(?:\\.(${Ee})(?:\\.(${Ee})(?:${be})?${he}?)?)?`,_e=`^\\s*(${Se})\\s+-\\s+(${Se})\\s*$`,ve="((?:<|>)?=?)",we=`(\\s*)${ve}\\s*([v=\\s]*(${pe})\\.(${pe})\\.(${pe})(?:-?(${ge}(?:\\.${ge})*))?${he}?|${Se})`,ke="(?:~>?)",Ie=`(\\s*)${ke}\\s+`,Re="(?:\\^)",Ne=`(\\s*)${Re}\\s+`,$e=`^${Re}${Se}$`,Te=`^${ke}${Se}$`,Oe=`^${ve}\\s*${Se}$`,Ae=`^${ve}\\s*(v?(${de})\\.(${de})\\.(${de})${be}?${he}?)$|^$`;function Me(e){return new RegExp(e)}function xe(e){return!e||"x"===e.toLowerCase()||"*"===e}function Pe(...e){return t=>e.reduce((e,t)=>t(e),t)}function Le(e){return e.match(Me(Ae))}function Ce(e,t,n,r){const o=`${e}.${t}.${n}`;return r?`${o}-${r}`:o}function De(e){return e.replace(Me(_e),(e,t,n,r,o,i,s,a,c,l,u,f)=>`${t=xe(n)?"":xe(r)?`>=${n}.0.0`:xe(o)?`>=${n}.${r}.0`:`>=${t}`} ${a=xe(c)?"":xe(l)?`<${Number(c)+1}.0.0-0`:xe(u)?`<${c}.${Number(l)+1}.0-0`:f?`<=${c}.${l}.${u}-${f}`:`<=${a}`}`.trim())}function je(e){return e.replace(Me(we),"$1$2$3")}function Fe(e){return e.replace(Me(Ie),"$1~")}function He(e){return e.replace(Me(Ne),"$1^")}function Ge(e){return e.trim().split(/\s+/).map(e=>e.replace(Me($e),(e,t,n,r,o)=>xe(t)?"":xe(n)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:xe(r)?"0"===t?`>=${t}.${n}.0 <${t}.${Number(n)+1}.0-0`:`>=${t}.${n}.0 <${Number(t)+1}.0.0-0`:o?"0"===t?"0"===n?`>=${t}.${n}.${r}-${o} <${t}.${n}.${Number(r)+1}-0`:`>=${t}.${n}.${r}-${o} <${t}.${Number(n)+1}.0-0`:`>=${t}.${n}.${r}-${o} <${Number(t)+1}.0.0-0`:"0"===t?"0"===n?`>=${t}.${n}.${r} <${t}.${n}.${Number(r)+1}-0`:`>=${t}.${n}.${r} <${t}.${Number(n)+1}.0-0`:`>=${t}.${n}.${r} <${Number(t)+1}.0.0-0`)).join(" ")}function Ve(e){return e.trim().split(/\s+/).map(e=>e.replace(Me(Te),(e,t,n,r,o)=>xe(t)?"":xe(n)?`>=${t}.0.0 <${Number(t)+1}.0.0-0`:xe(r)?`>=${t}.${n}.0 <${t}.${Number(n)+1}.0-0`:o?`>=${t}.${n}.${r}-${o} <${t}.${Number(n)+1}.0-0`:`>=${t}.${n}.${r} <${t}.${Number(n)+1}.0-0`)).join(" ")}function qe(e){return e.split(/\s+/).map(e=>e.trim().replace(Me(Oe),(e,t,n,r,o,i)=>{const s=xe(n),a=s||xe(r),c=a||xe(o);return"="===t&&c&&(t=""),i="",s?">"===t||"<"===t?"<0.0.0-0":"*":t&&c?(a&&(r=0),o=0,">"===t?(t=">=",a?(n=Number(n)+1,r=0,o=0):(r=Number(r)+1,o=0)):"<="===t&&(t="<",a?n=Number(n)+1:r=Number(r)+1),"<"===t&&(i="-0"),`${t+n}.${r}.${o}${i}`):a?`>=${n}.0.0${i} <${Number(n)+1}.0.0-0`:c?`>=${n}.${r}.0${i} <${n}.${Number(r)+1}.0-0`:e})).join(" ")}function Ue(e){return e.trim().replace(Me("(<|>)?=?\\s*\\*"),"")}function Be(e,t){return(e=Number(e)||e)>(t=Number(t)||t)?1:e===t?0:-1}function We(e,t){return Be(e.major,t.major)||Be(e.minor,t.minor)||Be(e.patch,t.patch)||function(e,t){const{preRelease:n}=e,{preRelease:r}=t;if(void 0===n&&Boolean(r))return 1;if(Boolean(n)&&void 0===r)return-1;if(void 0===n&&void 0===r)return 0;for(let e=0,t=n.length;e<=t;e++){const t=n[e],o=r[e];if(t!==o)return void 0===t&&void 0===o?0:t?o?Be(t,o):-1:1}return 0}(e,t)}function Ke(e,t){return e.version===t.version}function ze(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}}function Je(e){return Pe(Ge,Ve,qe,Ue)(e)}function Ze(e){return Pe(De,je,Fe,He)(e.trim()).split(/\s+/).join(" ")}function Xe(e,t){if(!e)return!1;const n=Le(e);if(!n)return!1;const[,r,,o,i,s,a]=n,c={operator:r,version:Ce(o,i,s,a),major:o,minor:i,patch:s,preRelease:a?.split(".")},l=t.split("||");for(const e of l){const t=e.trim();if(!t)return!0;
1if("*"===t||"x"===t)return!0;try{const e=Ze(t);if(!e.trim())return!0;const n=e.split(" ").map(e=>Je(e)).join(" ");if(!n.trim())return!0;const r=n.split(/\s+/).map(e=>e.trim().replace(Me("^\\s*>=\\s*0.0.0\\s*$"),"")).filter(Boolean);if(0===r.length)continue;let o=!0;for(const e of r){const t=Le(e);if(!t){o=!1;break}const[,n,,r,i,s,a]=t;if(!ze({operator:n,version:Ce(r,i,s,a),major:r,minor:i,patch:s,preRelease:a?.split(".")},c)){o=!1;break}}if(o)return!0}catch(e){console.error(`[semver] Error processing range part "${t}":`,e);continue}}return!1}function Ye(e,t){const n=t.shared||{},r=t.name,o=Object.keys(n).reduce((e,o)=>{const i=H(n[o]);return e[o]=e[o]||[],i.forEach(n=>{e[o].push(function(e,t,n,r){let o;return o="get"in e?e.get:"lib"in e?()=>Promise.resolve(e.lib):()=>Promise.resolve(()=>{x(`Cannot get shared "${n}" from "${t}": neither "get" nor "lib" is provided in the share config.`)}),e.shareConfig?.eager&&e.treeShaking?.mode&&x(`Invalid shared config for "${n}" from "${t}": cannot use both "eager: true" and "treeShaking.mode" simultaneously. Choose one strategy.`),{deps:[],useIn:[],from:t,loading:null,...e,shareConfig:{requiredVersion:`^${e.version}`,singleton:!1,eager:!1,strictVersion:!1,...e.shareConfig},get:o,loaded:!(!e?.loaded&&!("lib"in e))||void 0,version:e.version??"0",scope:Array.isArray(e.scope)?e.scope:[e.scope??"default"],strategy:(e.strategy??r)||"version-first",treeShaking:e.treeShaking?{...e.treeShaking,mode:e.treeShaking.mode??"server-calc",status:e.treeShaking.status??h.UNKNOWN,useIn:[]}:void 0}}(n,r,o,t.shareStrategy))}),e},{}),i={...e.shared};return Object.keys(o).forEach(e=>{i[e]?o[e].forEach(t=>{i[e].find(e=>e.version===t.version)||i[e].push(t)}):i[e]=o[e]}),{allShareInfos:i,newShareInfos:o}}function Qe(e,t){if(!e)return!1;const{status:n,mode:r}=e;return n!==h.NO_USE&&(n===h.CALCULATED||"runtime-infer"===r&&(!t||rt(e,t)))}function et(e,t){const n=e=>{if(!Number.isNaN(Number(e))){const t=e.split(".");let n=e;for(let e=0;e<3-t.length;e++)n+=".0";return n}return e};return!!Xe(n(e),`<=${n(t)}`)}const tt=(e,t)=>{const n=t||function(e,t){return et(e,t)};return Object.keys(e).reduce((e,t)=>e?n(e,t)||"0"===e?t:e:t,0)},nt=e=>Boolean(e.loaded)||"function"==typeof e.lib,rt=(e,t)=>{if(!e||!t)return!1;const{usedExports:n}=e;return!!n&&!!t.every(e=>n.includes(e))};function ot(e,t,n,r){const o=e[t][n];let i="",s=Qe(r);const a=function(e,t){return s?!o[e].treeShaking||!!o[t].treeShaking&&!nt(o[e].treeShaking)&&et(e,t):!nt(o[e])&&et(e,t)};if(s){if(i=tt(e[t][n],a),i)return{version:i,useTreesShaking:s};s=!1}return{version:tt(e[t][n],a),useTreesShaking:s}}const it=e=>nt(e)||(e=>Boolean(e.loading))(e);function st(e,t,n,r){const o=e[t][n];let i="",s=Qe(r);const a=function(e,t){if(s){if(!o[e].treeShaking)return!0;if(!o[t].treeShaking)return!1;if(it(o[t].treeShaking))return!it(o[e].treeShaking)||Boolean(et(e,t));if(it(o[e].treeShaking))return!1}return it(o[t])?!it(o[e])||Boolean(et(e,t)):!it(o[e])&&et(e,t)};if(s){if(i=tt(e[t][n],a),i)return{version:i,useTreesShaking:s};s=!1}return{version:tt(e[t][n],a),useTreesShaking:s}}function at(e){return"loaded-first"===e?st:ot}function ct(e,t,n,r){if(!e)return;const{shareConfig:o,scope:i=le,strategy:s,treeShaking:a}=n,c=Array.isArray(i)?i:[i];for(const i of c)if(o&&e[i]&&e[i][t]){const{requiredVersion:c}=o,{version:l,useTreesShaking:u}=at(s)(e,i,t,a),f=()=>{const r=e[i][t][l];if(o.singleton){if("string"==typeof c&&!Xe(l,c)){const e=`Version ${l} from ${l&&r.from} of shared singleton module ${t} does not satisfy the requirement of ${n.from} which needs ${c})`;o.strictVersion?x(e):P(e)}return{shared:r,useTreesShaking:u}}{if(!1===c||"*"===c)return{shared:r,useTreesShaking:u};if(Xe(l,c))return{shared:r,useTreesShaking:u};const n=Qe(a);if(n)for(const[r,o]of Object.entries(e[i][t]))if(Qe(o.treeShaking,a?.usedExports)&&Xe(r,c))return{shared:o,useTreesShaking:n};for(const[n,r]of Object.entries(e[i][t]))if(Xe(n,c))return{shared:r,useTreesShaking:!1}}},h={shareScopeMap:e,scope:i,pkgName:t,version:l,GlobalFederation:U.__FEDERATION__,shareInfo:n,resolver:f};return(r.emit(h)||h).resolver()}}function lt(){return U.__FEDERATION__.__SHARE__}function ut(e){const{pkgName:t,extraOptions:n,shareInfos:r}=e,o=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),i=(...e)=>{const t={};for(const n of e)if(n)for(const[e,r]of Object.entries(n)){const n=t[e];o(n)&&o(r)?t[e]=i(n,r):void 0!==r&&(t[e]=r)}return t};return i((n?.resolver??(e=>{if(!e)return;const t={};
1return e.forEach(e=>{t[e.version]=e}),t[tt(t,function(e,n){return!nt(t[e])&&et(e,n)})]}))(r[t]),n?.customShareInfo)}const ft=(e,t)=>{var n,r;e.useIn||(e.useIn=[]),n=e.useIn,r=t,-1===n.findIndex(e=>e===r)&&n.push(r)};function ht(e,t){return t&&e.treeShaking?e.treeShaking:e}async function dt(e,t){try{return await e()}catch(e){return void(!t&&S(e))}}function pt(e,t){const n=/^(https?:)?\/\//i;return e.replace(n,"").replace(/\/$/,"")===t.replace(n,"").replace(/\/$/,"")}function mt(e){let t,n=null,r=!0,o=2e4;const i=document.getElementsByTagName("script");for(let t=0;t<i.length;t++){const o=i[t],s=o.getAttribute("src");if(s&&pt(s,e.url)){n=o,r=!1;break}}if(!n){const t=e.attrs;let r;n=document.createElement("script"),n.type="module"===t?.type?"module":"text/javascript",e.createScriptHook&&(r=e.createScriptHook(e.url,e.attrs),r instanceof HTMLScriptElement?n=r:"object"==typeof r&&("script"in r&&r.script&&(n=r.script),"timeout"in r&&r.timeout&&(o=r.timeout))),n.src||(n.src=e.url),t&&!r&&Object.keys(t).forEach(e=>{n&&("async"===e||"defer"===e?n[e]=t[e]:n.getAttribute(e)||n.setAttribute(e,t[e]))})}let s=null;const a="undefined"!=typeof window?t=>{if(t.filename&&pt(t.filename,e.url)){const n=new Error(`ScriptExecutionError: Script "${e.url}" loaded but threw a runtime error during execution: ${t.message} (${t.filename}:${t.lineno}:${t.colno})`);n.name="ScriptExecutionError",s=n}}:null;a&&window.addEventListener("error",a);const c=async(r,o)=>{clearTimeout(t),a&&window.removeEventListener("error",a);const i=()=>{if("error"===o?.type){const t=new Error(o?.isTimeout?`ScriptNetworkError: Script "${e.url}" timed out.`:`ScriptNetworkError: Failed to load script "${e.url}" - the script URL is unreachable or the server returned an error (network failure, 404, CORS, etc.)`);t.name="ScriptNetworkError",e?.onErrorCallback&&e?.onErrorCallback(t)}else s?e?.onErrorCallback&&e?.onErrorCallback(s):e?.cb&&e?.cb()};if(n&&(n.onerror=null,n.onload=null,dt(()=>{const{needDeleteScript:t=!0}=e;t&&n?.parentNode&&n.parentNode.removeChild(n)}),r&&"function"==typeof r)){const e=r(o);if(e instanceof Promise){const t=await e;return i(),t}return i(),e}i()};return n.onerror=c.bind(null,n.onerror),n.onload=c.bind(null,n.onload),t=setTimeout(()=>{c(null,{type:"error",isTimeout:!0})},o),{script:n,needAttach:r}}function gt(e){let t=null,n=!0;const r=document.getElementsByTagName("link");for(let o=0;o<r.length;o++){const i=r[o],s=i.getAttribute("href"),a=i.getAttribute("rel");if(s&&pt(s,e.url)&&a===e.attrs.rel){t=i,n=!1;break}}if(!t){let n;t=document.createElement("link"),t.setAttribute("href",e.url);const r=e.attrs;e.createLinkHook&&(n=e.createLinkHook(e.url,r),n instanceof HTMLLinkElement&&(t=n)),r&&!n&&Object.keys(r).forEach(e=>{t&&!t.getAttribute(e)&&t.setAttribute(e,r[e])})}const o=(n,r)=>{const o=()=>{"error"===r?.type?e?.onErrorCallback&&e?.onErrorCallback(r):e?.cb&&e?.cb()};if(t&&(t.onerror=null,t.onload=null,dt(()=>{const{needDeleteLink:n=!0}=e;n&&t?.parentNode&&t.parentNode.removeChild(t)}),n)){const e=n(r);return o(),e}o()};return t.onerror=o.bind(null,t.onerror),t.onload=o.bind(null,t.onload),{link:t,needAttach:n}}function yt(e,t){const{attrs:n={},createScriptHook:r}=t;return new Promise((t,o)=>{const{script:i,needAttach:s}=mt({url:e,cb:t,onErrorCallback:o,attrs:{fetchpriority:"high",...n},createScriptHook:r,needDeleteScript:!0});s&&document.head.appendChild(i)})}var bt=n(77836);const Et=new Map;function St(e){if(!e)throw new Error("import specifier is required");if(Et.has(e))return Et.get(e);const t=new Function("name","return import(name)")(e).then(e=>e).catch(t=>{throw console.error(`Error importing module ${e}:`,t),Et.delete(e),t});return Et.set(e,t),t}const _t=async()=>{const e=await St("node-fetch");return e.default||e},vt="undefined"==typeof ENV_TARGET||"web"!==ENV_TARGET?(e,t,n,r)=>{if(r?.createScriptHook){const t=r.createScriptHook(e);t&&"object"==typeof t&&"url"in t&&(e=t.url)}let o;try{o=new URL(e)}catch(e){return console.error("Error constructing URL:",e),void t(new Error(`Invalid URL: ${e}`))}(async()=>r?.fetch?(e,t)=>(async(e,t,n)=>{const r=await((e,t)=>n.lifecycle.fetch.emit(e,t))(e,t||{});return r&&r instanceof Response?r:("undefined"==typeof fetch?await _t():fetch)(e,t||{})})(e,t,r):"undefined"==typeof fetch?_t():fetch)().then(async e=>{if("esm"===n?.type||"module"===n?.type)return It(o.href,{fetch:e,vm:await St("vm")}).then(async e=>{await e.evaluate(),t(void 0,e.namespace)}).catch(e=>{t(e instanceof Error?e:new Error(`Script execution error: ${e}`))});(async(e,r)=>{try{const o=await e(r.href),i=await o.text(),[s,a]=await Promise.all([St("path"),St("vm")]),c={exports:{},module:{exports:{}}}
1,l=r.pathname.split("/").slice(0,-1).join("/"),u=s.basename(r.pathname),f=new a.Script(`(function(exports, module, require, __dirname, __filename) {${i}\n})`,{filename:u,importModuleDynamically:a.constants?.USE_MAIN_CONTEXT_DEFAULT_LOADER??St});let h;h=(await St("node:module")).createRequire("file:"===r.protocol||"node:"===r.protocol?r.href:s.join(bt.cwd(),"__mf_require_base__.js")),f.runInThisContext()(c.exports,c.module,h,l,u);const d=c.module.exports||c.exports;if(n&&d&&n.globalName)return void t(void 0,d[n.globalName]||d);t(void 0,d)}catch(e){t(e instanceof Error?e:new Error(`Script execution error: ${e}`))}})(e,o)}).catch(e=>{t(e)})}:(e,t,n,r)=>{t(new Error("createScriptNode is disabled in non-Node.js environment"))},wt="undefined"==typeof ENV_TARGET||"web"!==ENV_TARGET?(e,t)=>new Promise((n,r)=>{vt(e,(e,o)=>{e?r(e):n(globalThis[t?.attrs?.globalName||`__FEDERATION_${t?.attrs?.name}:custom__`]=o)},t.attrs,t.loaderHook)}):(e,t)=>{throw new Error("loadScriptNode is disabled in non-Node.js environment")},kt=new Map;async function It(e,t){if(kt.has(e))return kt.get(e);const{fetch:n,vm:r}=t,o=await(await n(e)).text(),i=new r.SourceTextModule(o,{importModuleDynamically:async(n,r)=>It(new URL(n,e).href,t)});return kt.set(e,i),await i.link(async n=>{const r=new URL(n,e).href;return await It(r,t)}),i}const Rt="RUNTIME-001",Nt="RUNTIME-002",$t="RUNTIME-003",Tt="RUNTIME-004",Ot="RUNTIME-005",At="RUNTIME-006",Mt="RUNTIME-007",xt="RUNTIME-008",Pt="RUNTIME-009",Lt="RUNTIME-010",Ct="RUNTIME-011",Dt="RUNTIME-012",jt={[Rt]:"Failed to get remoteEntry exports.",[Nt]:'The remote entry interface does not contain "init"',[$t]:"Failed to get manifest.",[Tt]:"Failed to locate remote.",[Ot]:"Invalid loadShareSync function call from bundler runtime",[At]:"Invalid loadShareSync function call from runtime",[Mt]:"Failed to get remote snapshot.",[xt]:"Failed to load script resources.",[Pt]:"Please call createInstance first.",[Lt]:'The name option cannot be changed after initialization. If you want to create a new instance with a different name, please use "createInstance" api.',[Ct]:"The remoteEntry URL is missing from the remote snapshot.",[Dt]:'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.'},Ft=".then(callbacks[0]).catch(callbacks[1])";function Ht(e,t,n){const{remoteEntryKey:r,entryExports:o}=oe(e,t);return o||x(Rt,jt,{remoteName:e,remoteEntryUrl:n,remoteEntryKey:r}),o}function Gt(e){const{entry:t,name:n}=e;return b(n,t)}async function Vt(e){const{origin:t,remoteEntryExports:n,remoteInfo:r,getEntryUrl:o,_inErrorHandling:i=!1}=e,s=Gt(r);if(n)return n;if(!K[s]){const e=t.remoteHandler.hooks.lifecycle.loadEntry,a=t.loaderHook;K[s]=e.emit({loaderHook:a,remoteInfo:r,remoteEntryExports:n}).then(e=>e||(("undefined"!=typeof ENV_TARGET?"web"===ENV_TARGET:p)?async function({remoteInfo:e,remoteEntryExports:t,loaderHook:n,getEntryUrl:r}){const{entry:o,entryGlobalName:i,name:s,type:a}=e;switch(a){case"esm":case"module":return async function({entry:e,remoteEntryExports:t}){return new Promise((n,r)=>{try{t?n(t):"undefined"!=typeof FEDERATION_ALLOW_NEW_FUNCTION?new Function("callbacks",`import("${e}")${Ft}`)([n,r]):import(e).then(n).catch(r)}catch(t){x(`Failed to load ESM entry from "${e}". ${t instanceof Error?t.message:String(t)}`)}})}({entry:o,remoteEntryExports:t});case"system":return async function({entry:e,remoteEntryExports:t}){return new Promise((n,r)=>{try{t?n(t):new Function("callbacks",`System.import("${e}")${Ft}`)([n,r])}catch(t){x(`Failed to load SystemJS entry from "${e}". ${t instanceof Error?t.message:String(t)}`)}})}({entry:o,remoteEntryExports:t});default:return async function({name:e,globalName:t,entry:n,loaderHook:r,getEntryUrl:o}){const{entryExports:i}=oe(e,t);if(i)return i;const s=o?o(n):n;return yt(s,{attrs:{},createScriptHook:(e,t)=>{const n=r.lifecycle.createScript.emit({url:e,attrs:t});if(n)return n instanceof HTMLScriptElement||"script"in n||"timeout"in n?n:void 0}}).then(()=>Ht(e,t,n),t=>{const n=t instanceof Error?t.message:String(t);x(xt,jt,{remoteName:e,resourceUrl:s},n)})}({entry:o,globalName:i,name:s,loaderHook:n,getEntryUrl:r})}}({remoteInfo:r,remoteEntryExports:n,loaderHook:a,getEntryUrl:o}):async function({remoteInfo:e,loaderHook:t}){const{entry:n,entryGlobalName:r,name:o,type:i}=e,{entryExports:s}=oe(o,r);return s||wt(n,{attrs:{name:o,globalName:r,type:i},loaderHook:{createScriptHook:(e,n={})=>{const r=t.lifecycle.createScript.emit({url:e,attrs:n});if(r)return"url"in r?r:void 0}}}).then(()=>Ht(o,r,n)).catch(e=>{x(`Failed to load Node.js entry for remote "${o}" from "${n}". ${e instanceof Error?e.message:String(e)}`)})}({remoteInfo:r,loaderHook:a}))).catch(async e=>{const o=Gt(r),s=e instanceof Error&&e.message.includes("ScriptExecutionError");
1if(e instanceof Error&&e.message.includes(xt)&&!s&&!i){const e=e=>Vt({...e,_inErrorHandling:!0}),i=await t.loaderHook.lifecycle.loadEntryError.emit({getRemoteEntry:e,origin:t,remoteInfo:r,remoteEntryExports:n,globalLoading:K,uniqueKey:o});if(i)return i}throw e})}return K[s]}function qt(e){return{...e,entry:"entry"in e?e.entry:"",type:e.type||ue,entryGlobalName:e.entryGlobalName||e.name,shareScope:e.shareScope||le}}function Ut(e,t){for(const n of e){const e=t.startsWith(n.name);let r=t.replace(n.name,"");if(e){if(r.startsWith("/"))return r=`.${r}`,{pkgNameOrAlias:n.name,expose:r,remote:n};if(""===r)return{pkgNameOrAlias:n.name,expose:".",remote:n}}const o=n.alias&&t.startsWith(n.alias);let i=n.alias&&t.replace(n.alias,"");if(n.alias&&o){if(i&&i.startsWith("/"))return i=`.${i}`,{pkgNameOrAlias:n.alias,expose:i,remote:n};if(""===i)return{pkgNameOrAlias:n.alias,expose:".",remote:n}}}}function Bt(e){return{resourceCategory:"sync",share:!0,depsRemote:!0,prefetchInterface:!1,...e}}function Wt(e,t,n,r=!0){const{cssAssets:o,jsAssetsWithoutEntry:i,entryAssets:s}=n;if(t.options.inBrowser){if(s.forEach(n=>{const{moduleInfo:r}=n,o=t.moduleCache.get(e.name);Vt(o?{origin:t,remoteInfo:r,remoteEntryExports:o.remoteEntryExports}:{origin:t,remoteInfo:r,remoteEntryExports:void 0})}),r){const e={rel:"preload",as:"style"};o.forEach(n=>{const{link:r,needAttach:o}=gt({url:n,cb:()=>{},attrs:e,createLinkHook:(e,n)=>{const r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:n});if(r instanceof HTMLLinkElement)return r}});o&&document.head.appendChild(r)})}else{const e={rel:"stylesheet",type:"text/css"};o.forEach(n=>{const{link:r,needAttach:o}=gt({url:n,cb:()=>{},attrs:e,createLinkHook:(e,n)=>{const r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:n});if(r instanceof HTMLLinkElement)return r},needDeleteLink:!1});o&&document.head.appendChild(r)})}if(r){const e={rel:"preload",as:"script"};i.forEach(n=>{const{link:r,needAttach:o}=gt({url:n,cb:()=>{},attrs:e,createLinkHook:(e,n)=>{const r=t.loaderHook.lifecycle.createLink.emit({url:e,attrs:n});if(r instanceof HTMLLinkElement)return r}});o&&document.head.appendChild(r)})}else{const n={fetchpriority:"high",type:"module"===e?.type?"module":"text/javascript"};i.forEach(e=>{const{script:r,needAttach:o}=mt({url:e,cb:()=>{},attrs:n,createScriptHook:(e,n)=>{const r=t.loaderHook.lifecycle.createScript.emit({url:e,attrs:n});if(r instanceof HTMLScriptElement)return r},needDeleteScript:!0});o&&document.head.appendChild(r)})}}}const Kt={Global:U,nativeGlobal:q,resetFederationGlobalInfo:function(){V.__FEDERATION__.__GLOBAL_PLUGIN__=[],V.__FEDERATION__.__INSTANCES__=[],V.__FEDERATION__.moduleInfo={},V.__FEDERATION__.__SHARE__={},V.__FEDERATION__.__MANIFEST_LOADING__={},Object.keys(K).forEach(e=>{delete K[e]})},setGlobalFederationInstance:J,getGlobalFederationConstructor:Z,setGlobalFederationConstructor:X,getInfoWithoutType:Y,getGlobalSnapshot:Q,getTargetSnapshotInfoByModuleInfo:ee,getGlobalSnapshotInfoByModuleInfo:te,setGlobalSnapshotInfoByModuleInfo:ne,addGlobalSnapshot:re,getRemoteEntryExports:oe,registerGlobalPlugins:ie,getGlobalHostPlugins:se,getPreloaded:ae,setPreloaded:ce};var zt={global:Kt,share:{getRegisteredShare:ct,getGlobalShareScope:lt},utils:{matchRemoteWithNameAndExpose:Ut,preloadAssets:Wt,getRemoteInfo:qt}};function Jt(e){return{name:e.name,alias:e.alias,entry:"entry"in e?e.entry:void 0,version:"version"in e?e.version:void 0,type:e.type,entryGlobalName:e.entryGlobalName,shareScope:e.shareScope}}function Zt(e){const t={};for(const[n,r]of Object.entries(e.shared)){const e=r[0];e&&(t[n]={version:e.version,singleton:e.shareConfig?.singleton,requiredVersion:!1!==e.shareConfig?.requiredVersion&&e.shareConfig?.requiredVersion,eager:e.eager,strictVersion:e.shareConfig?.strictVersion})}return{project:{name:e.name,mfRole:e.remotes?.length>0?"host":"unknown"},mfConfig:{name:e.name,remotes:e.remotes?.map(Jt)??[],shared:t}}}var Xt=class{constructor({remoteInfo:e,host:t}){this.inited=!1,this.initing=!1,this.lib=void 0,this.remoteInfo=e,this.host=t}async getEntry(){if(this.remoteEntryExports)return this.remoteEntryExports;const e=await Vt({origin:this.host,remoteInfo:this.remoteInfo,remoteEntryExports:this.remoteEntryExports});return M(e,`remoteEntryExports is undefined \n ${_(this.remoteInfo)}`),this.remoteEntryExports=e,this.remoteEntryExports}async init(e,t,n){const r=await this.getEntry();if(this.inited)return r;if(this.initPromise)return await this.initPromise,r;this.initing=!0,this.initPromise=(async()=>{const{remoteEntryInitOptions:o,shareScope:i,initScope:s}=function(e,t,n){const r=t,o=Array.isArray(e.shareScope)?e.shareScope:[e.shareScope];
1o.length||o.push("default"),o.forEach(e=>{r[e]||(r[e]={})});const i={version:e.version||"",shareScopeKeys:Array.isArray(e.shareScope)?o:e.shareScope||"default"};return Object.defineProperty(i,"shareScopeMap",{value:r,enumerable:!1}),{remoteEntryInitOptions:i,shareScope:r[o[0]],initScope:n??[]}}(this.remoteInfo,this.host.shareScopeMap,n),a=await this.host.hooks.lifecycle.beforeInitContainer.emit({shareScope:i,remoteEntryInitOptions:o,initScope:s,remoteInfo:this.remoteInfo,origin:this.host});void 0===r?.init&&x(Nt,jt,{hostName:this.host.name,remoteName:this.remoteInfo.name,remoteEntryUrl:this.remoteInfo.entry,remoteEntryKey:this.remoteInfo.entryGlobalName},void 0,Zt(this.host.options)),await r.init(a.shareScope,a.initScope,a.remoteEntryInitOptions),await this.host.hooks.lifecycle.initContainer.emit({...a,id:e,remoteSnapshot:t,remoteEntryExports:r}),this.inited=!0})();try{await this.initPromise}finally{this.initing=!1,this.initPromise=void 0}return r}async get(e,t,n,r){const{loadFactory:o=!0}=n||{loadFactory:!0},i=await this.init(e,r);let s;this.lib=i,s=await this.host.loaderHook.lifecycle.getModuleFactory.emit({remoteEntryExports:i,expose:t,moduleInfo:this.remoteInfo}),s||(s=await i.get(t)),M(s,`${L(this.remoteInfo)} remote don't export ${t}.`);const a=((e,t)=>{let n;return n=e.endsWith("/")?e.slice(0,-1):e,t.startsWith(".")&&(t=t.slice(1)),n+=t,n})(this.remoteInfo.name,t),c=this.wraperFactory(s,a);return o?await c():c}wraperFactory(e,t){function n(e,t){e&&"object"==typeof e&&Object.isExtensible(e)&&!Object.getOwnPropertyDescriptor(e,Symbol.for("mf_module_id"))&&Object.defineProperty(e,Symbol.for("mf_module_id"),{value:t,enumerable:!1})}return e instanceof Promise?async()=>{const r=await e();return n(r,t),r}:()=>{const r=e();return n(r,t),r}}},Yt=class{constructor(e){this.type="",this.listeners=new Set,e&&(this.type=e)}on(e){"function"==typeof e&&this.listeners.add(e)}once(e){const t=this;this.on(function n(...r){return t.remove(n),e.apply(null,r)})}emit(...e){let t;return this.listeners.size>0&&this.listeners.forEach(n=>{t=n(...e)}),t}remove(e){this.listeners.delete(e)}removeAll(){this.listeners.clear()}},Qt=class extends Yt{emit(...e){let t;const n=Array.from(this.listeners);if(n.length>0){let r=0;const o=t=>!1!==t&&(r<n.length?Promise.resolve(n[r++].apply(null,e)).then(o):t);t=o()}return Promise.resolve(t)}};function en(e,t){if(!j(t))return!1;if(e!==t)for(const n in e)if(!(n in t))return!1;return!0}var tn=class extends Yt{constructor(e){super(),this.onerror=x,this.type=e}emit(e){j(e)||x(`The data for the "${this.type}" hook should be an object.`);for(const t of this.listeners)try{const n=t(e);if(!en(e,n)){this.onerror(`A plugin returned an unacceptable value for the "${this.type}" type.`);break}e=n}catch(e){P(e),this.onerror(e)}return e}},nn=class extends Yt{constructor(e){super(),this.onerror=x,this.type=e}emit(e){j(e)||x(`The response data for the "${this.type}" hook must be an object.`);const t=Array.from(this.listeners);if(t.length>0){let n=0;const r=t=>(P(t),this.onerror(t),e),o=i=>{if(en(e,i)){if(e=i,n<t.length)try{return Promise.resolve(t[n++](e)).then(o,r)}catch(e){return r(e)}}else this.onerror(`A plugin returned an incorrect value for the "${this.type}" type.`);return e};return Promise.resolve(o(e))}return Promise.resolve(e)}},rn=class{constructor(e){this.registerPlugins={},this.lifecycle=e,this.lifecycleKeys=Object.keys(e)}applyPlugin(e,t){var n;M((n=e,"[object Object]"===F.call(n)),"Plugin configuration is invalid.");const r=e.name;M(r,"A name must be provided by the plugin."),this.registerPlugins[r]||(this.registerPlugins[r]=e,e.apply?.(t),Object.keys(this.lifecycle).forEach(t=>{const n=e[t];n&&this.lifecycle[t].on(n)}))}removePlugin(e){M(e,"A name is required.");const t=this.registerPlugins[e];M(t,`The plugin "${e}" is not registered.`),Object.keys(t).forEach(e=>{"name"!==e&&this.lifecycle[e].remove(t[e])})}};function on(e,t){const n=G(t);n.url||x(Ct,jt,{remoteName:e.name});let r=E(t,n.url);p||r.startsWith("http")||(r=`https:${r}`),e.type=n.type,e.entryGlobalName=n.globalName,e.entry=r,e.version=t.version,e.buildVersion=t.buildVersion}const sn=(e,t)=>{if(!e)return t;const n=(e=>{if("."===e)return"";if(e.startsWith("./"))return e.replace("./","");if(e.startsWith("/")){const t=e.slice(1);return t.endsWith("/")?t.slice(0,-1):t}return e})(e);return n?n.endsWith("/")?`${n}${t}`:`${n}/${t}`:t};function an(e){return!(!("remoteEntry"in e)||!e.remoteEntry.includes(".json"))}function cn(e){const t=e.split(":");return 1===t.length?{name:t[0],version:void 0}:2===t.length?{name:t[0],version:t[1]}:{name:t[1],version:t[2]}}function ln(e,t,n,r,o={},i){const{value:s}=Y(e,L(t)),a=i||s;if(a&&!an(a)&&(n(a,t,r),a.remotesInfo)){const t=Object.keys(a.remotesInfo);for(const r of t){if(o[r])continue;o[r]=!0;const t=cn(r),i=a.remotesInfo[r];ln(e,{name:t.name,version:i.matchedVersion},n,!1,o,void 0)}}}const un=(e,t)=>document.querySelector(`${e}[${"link"===e?"href":"src"}="${t}"]`);function fn(e,t,n,r,o){const i=[],s=[],a=[],c=new Set,l=new Set,{options:u}=e,{preloadConfig:f}=t,{depsRemote:h}=f;if(ln(r,n,(t,n,r)=>{let o;if(r)o=f;else if(Array.isArray(h)){const e=h.find(e=>e.nameOrAlias===n.name||e.nameOrAlias===n.alias);if(!e)return;o=Bt(e)}else{if(!0!==h)return;o=f}const c=E(t,G(t).url);
1c&&a.push({name:n.name,moduleInfo:{name:n.name,entry:c,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:c});let l="modules"in t?t.modules:[];const u=(d=o.exposes)?d.map(e=>"."===e?e:e.startsWith("./")?e.replace("./",""):e):[];var d;function p(e){const n=e.map(e=>E(t,e));return o.filter?n.filter(o.filter):n}if(u.length&&"modules"in t&&(l=t?.modules?.reduce((e,t)=>(-1!==u?.indexOf(t.moduleName)&&e.push(t),e),[])),l){const r=l.length;for(let a=0;a<r;a++){const r=l[a],c=`${n.name}/${r.moduleName}`;e.remoteHandler.hooks.lifecycle.handlePreloadModule.emit({id:"."===r.moduleName?n.name:c,name:n.name,remoteSnapshot:t,preloadConfig:o,remote:n,origin:e}),ae(c)||("all"===o.resourceCategory?(i.push(...p(r.assets.css.async)),i.push(...p(r.assets.css.sync)),s.push(...p(r.assets.js.async)),s.push(...p(r.assets.js.sync))):"sync"===o.resourceCategory&&(i.push(...p(r.assets.css.sync)),s.push(...p(r.assets.js.sync))),ce(c))}}},!0,{},o),o.shared&&o.shared.length>0){const t=(t,n)=>{const{shared:r}=ct(e.shareScopeMap,n.sharedName,t,e.sharedHandler.hooks.lifecycle.resolveShare)||{};r&&"function"==typeof r.lib&&(n.assets.js.sync.forEach(e=>{c.add(e)}),n.assets.css.sync.forEach(e=>{l.add(e)}))};o.shared.forEach(e=>{const n=u.shared?.[e.sharedName];if(!n)return;const r=e.version?n.find(t=>t.version===e.version):n;r&&H(r).forEach(n=>{t(n,e)})})}const d=s.filter(e=>!c.has(e)&&!un("script",e));return{cssAssets:i.filter(e=>!l.has(e)&&!un("link",e)),jsAssetsWithoutEntry:d,entryAssets:a.filter(e=>!un("script",e.url))}}function hn(e,t){const n=te({name:t.name,version:t.options.version}),r=n&&"remotesInfo"in n&&n.remotesInfo&&Y(n.remotesInfo,e.name).value;return r&&r.matchedVersion?{hostGlobalSnapshot:n,globalSnapshot:Q(),remoteSnapshot:te({name:e.name,version:r.matchedVersion})}:{hostGlobalSnapshot:void 0,globalSnapshot:Q(),remoteSnapshot:te({name:e.name,version:"version"in e?e.version:void 0})}}var dn=class{constructor(e){this.loadingHostSnapshot=null,this.manifestCache=new Map,this.hooks=new rn({beforeLoadRemoteSnapshot:new Qt("beforeLoadRemoteSnapshot"),loadSnapshot:new nn("loadGlobalSnapshot"),loadRemoteSnapshot:new nn("loadRemoteSnapshot"),afterLoadSnapsh
1ot:new nn("afterLoadSnapshot")}),this.manifestLoading=U.__FEDERATION__.__MANIFEST_LOADING__,this.HostInstance=e,this.loaderHook=e.loaderHook}async loadRemoteSnapshotInfo({moduleInfo:e,id:t,expose:n}){const{options:r}=this.HostInstance;await this.hooks.lifecycle.beforeLoadRemoteSnapshot.emit({options:r,moduleInfo:e});let o=te({name:this.HostInstance.options.name,version:this.HostInstance.options.version});o||(o={version:this.HostInstance.options.version||"",remoteEntry:"",remotesInfo:{}},re({[this.HostInstance.options.name]:o})),o&&"remotesInfo"in o&&!Y(o.remotesInfo,e.name).value&&("version"in e||"entry"in e)&&(o.remotesInfo={...o?.remotesInfo,[e.name]:{matchedVersion:"version"in e?e.version:e.entry}});const{hostGlobalSnapshot:i,remoteSnapshot:s,globalSnapshot:a}=this.getGlobalRemoteInfo(e),{remoteSnapshot:c,globalSnapshot:l}=await this.hooks.lifecycle.loadSnapshot.emit({options:r,moduleInfo:e,hostGlobalSnapshot:i,remoteSnapshot:s,globalSnapshot:a});let u,f;if(c)if(an(c)){const t=p?c.remoteEntry:c.ssrRemoteEntry||c.remoteEntry||"",n=await this.getManifestJson(t,e,{});u=n,f=ne({...e,entry:t},n)}else{const{remoteSnapshot:t}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:c,from:"global"});u=t,f=l}else if(C(e)){const t=await this.getManifestJson(e.entry,e,{}),n=ne(e,t),{remoteSnapshot:r}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:e,remoteSnapshot:t,from:"global"});u=r,f=n}else x(Mt,jt,{remoteName:e.name,remoteVersion:e.version,hostName:this.HostInstance.options.name,globalSnapshot:JSON.stringify(l)},void 0,Zt(this.HostInstance.options));
1return await this.hooks.lifecycle.afterLoadSnapshot.emit({id:t,host:this.HostInstance,options:r,moduleInfo:e,remoteSnapshot:u}),{remoteSnapshot:u,globalSnapshot:f}}getGlobalRemoteInfo(e){return hn(e,this.HostInstance)}async getManifestJson(e,t,n){const r=async()=>{let n=this.manifestCache.get(e);if(n)return n;try{let t=await this.loaderHook.lifecycle.fetch.emit(e,{});t&&t instanceof Response||(t=await fetch(e,{})),n=await t.json()}catch(r){n=await this.HostInstance.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:r,from:"runtime",lifecycle:"afterResolve",origin:this.HostInstance}),n||(delete this.manifestLoading[e],x($t,jt,{manifestUrl:e,moduleName:t.name,hostName:this.HostInstance.options.name},`${r}`,Zt(this.HostInstance.options)))}return M(n.metaData&&n.exposes&&n.shared,`"${e}" is not a valid federation manifest for remote "${t.name}". Missing required fields: ${[!n.metaData&&"metaData",!n.exposes&&"exposes",!n.shared&&"shared"].filter(Boolean).join(", ")}.`),this.manifestCache.set(e,n),n};return this.manifestLoading[e]||(this.manifestLoading[e]=(async()=>{const n=await r(),o=function(e,t={}){const{remotes:n={},overrides:r={},version:o}=t;let i;const s=()=>"publicPath"in e.metaData?"auto"!==e.metaData.publicPath&&""!==e.metaData.publicPath||!o?e.metaData.publicPath:o.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"):e.metaData.getPublicPath,a=Object.keys(r);let c={};Object.keys(n).length||(c=e.remotes?.reduce((e,t)=>{let n;const o=t.federationContainerName;return n=a.includes(o)?r[o]:"version"in t?t.version:t.entry,e[o]={matchedVersion:n},e},{})||{}),Object.keys(n).forEach(e=>c[e]={matchedVersion:a.includes(e)?r[e]:n[e]});
1const{remoteEntry:{path:l,name:u,type:f},types:h={path:"",name:"",zip:"",api:""},buildInfo:{buildVersion:d},globalName:p,ssrRemoteEntry:m}=e.metaData,{exposes:g}=e;let y={version:o||"",buildVersion:d,globalName:p,remoteEntry:sn(l,u),remoteEntryType:f,remoteTypes:sn(h.path,h.name),remoteTypesZip:h.zip||"",remoteTypesAPI:h.api||"",remotesInfo:c,shared:e?.shared.map(e=>({assets:e.assets,sharedName:e.name,version:e.version,usedExports:e.referenceExports||[]})),modules:g?.map(e=>({moduleName:e.name,modulePath:e.path,assets:e.assets}))};if(e.metaData?.prefetchInterface){const t=e.metaData.prefetchInterface;y={...y,prefetchInterface:t}}if(e.metaData?.prefetchEntry){const{path:t,name:n,type:r}=e.metaData.prefetchEntry;y={...y,prefetchEntry:sn(t,n),prefetchEntryType:r}}if("publicPath"in e.metaData?(i={...y,publicPath:s()},"string"==typeof e.metaData.ssrPublicPath&&(i.ssrPublicPath=e.metaData.ssrPublicPath)):i={...y,getPublicPath:s()},m){const e=sn(m.path,m.name);i.ssrRemoteEntry=e,i.ssrRemoteEntryType=m.type||"commonjs-module"}return i}(n,{version:e}),{remoteSnapshot:i}=await this.hooks.lifecycle.loadRemoteSnapshot.emit({options:this.HostInstance.options,moduleInfo:t,manifestJson:n,remoteSnapshot:o,manifestUrl:e,from:"manifest"});return i})().then(e=>e)),this.manifestLoading[e]}},pn=class{constructor(e){this.hooks=new rn({beforeRegisterShare:new tn("beforeRegisterShare"),afterResolve:new nn("afterResolve"),beforeLoadShare:new nn("beforeLoadShare"),loadShare:new Qt,resolveShare:new tn("resolveShare"),initContainerShareScopeMap:new tn("initContainerShareScopeMap")}),this.host=e,this.shareScopeMap={},this.initTokens={},this._setGlobalShareScopeMap(e.options)}registerShared(e,t){const{newShareInfos:n,allShareInfos:r}=Ye(e,t);return Object.keys(n).forEach(e=>{n[e].forEach(n=>{n.scope.forEach(r=>{this.hooks.lifecycle.beforeRegisterShare.emit({origin:this.host,pkgName:e,shared:n}),this.shareScopeMap[r]?.[e]||this.setShared({pkgName:e,lib:n.lib,get:n.get,loaded:n.loaded||Boolean(n.lib),shared:n,from:t.name})})})}),{newShareInfos:n,allShareInfos:r}}async loadShare(e,t){const{host:n}=this,r=ut({pkgName:e,extraOptions:t,shareInfos:n.options.shared});r?.scope&&await Promise.all(r.scope.map(async e=>{await Promise.all(this.initializeSharing(e,{strategy:r.strategy}))}));const{shareInfo:o}=await this.hooks.lifecycle.beforeLoadShare.emit({pkgName:e,shareInfo:r,shared:n.options.shared,origin:n});M(o,`Cannot find shared "${e}" in host "${n.options.name}". Ensure the shared config for "${e}" is declared in the federation plugin options and the host has been initialized before loading shares.`);const{shared:i,useTreesShaking:s}=ct(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare)||{};if(i){const t=ht(i,s);if(t.lib)return ft(t,n.options.name),t.lib;if(t.loading&&!t.loaded){const e=await t.loading;return t.loaded=!0,t.lib||(t.lib=e),ft(t,n.options.name),e}{const r=(async()=>{const e=await t.get();return ft(t,n.options.name),t.loaded=!0,t.lib=e,e})();return this.setShared({pkgName:e,loaded:!1,shared:i,from:n.options.name,lib:null,loading:r,treeShaking:s?t:void 0}),r}}{if(t?.customShareInfo)return!1;const r=Qe(o.treeShaking),i=ht(o,r),s=(async()=>{const t=await i.get();i.lib=t,i.loaded=!0,ft(i,n.options.name);const{shared:r,useTreesShaking:s}=ct(this.shareScopeMap,e,o,this.hooks.lifecycle.resolveShare)||{};if(r){const e=ht(r,s);e.lib=t,e.loaded=!0,r.from=o.from}return t})();return this.setShared({pkgName:e,loaded:!1,shared:o,from:n.options.name,lib:null,loading:s,treeShaking:r?i:void 0}),s}}initializeSharing(e=le,t){const{host:n}=this,r=t?.from,o=t?.strategy;let i=t?.initScope;const s=[];if("build"!==r){const{initTokens:t}=this;i||(i=[]);let n=t[e];if(n||(n=t[e]={from:this.host.name}),i.indexOf(n)>=0)return s;i.push(n)}const a=this.shareScopeMap,c=n.options.name;a[e]||(a[e]={});const l=a[e];return Object.keys(n.options.shared).forEach(t=>{n.options.shared[t].forEach(n=>{n.scope.includes(e)&&((e,t)=>{const{version:n,eager:r}=t;l[e]=l[e]||{};const o=l[e],i=o[n]&&ht(o[n]),s=Boolean(i&&("eager"in i&&i.eager||"shareConfig"in i&&i.shareConfig?.eager));(!i||"loaded-first"!==i.strategy&&!i.loaded&&(Boolean(!r)!==!s?r:c>o[n].from))&&(o[n]=t)})(t,n)})}),"version-first"!==n.options.shareStrategy&&"version-first"!==o||n.options.remotes.forEac
1h(t=>{t.shareScope===e&&s.push((async e=>{const{module:t}=await n.remoteHandler.getRemoteModuleAndOptions({id:e});let r;try{r=await t.getEntry()}catch(t){if(r=await n.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:e,error:t,from:"runtime",lifecycle:"beforeLoadShare",origin:n}),!r)return}finally{r?.init&&!t.initing&&(t.remoteEntryExports=r,await t.init(void 0,void 0,i))}})(t.name))}),s}loadShareSync(e,t){const{host:n}=this,r=ut({pkgName:e,extraOptions:t,shareInfos:n.options.shared});r?.scope&&r.scope.forEach(e=>{this.initializeSharing(e,{strategy:r.strategy})});const{shared:o,useTreesShaking:i}=ct(this.shareScopeMap,e,r,this.hooks.lifecycle.resolveShare)||{};if(o){if("function"==typeof o.lib)return ft(o,n.options.name),o.loaded||(o.loaded=!0,o.from===n.options.name&&(r.loaded=!0)),o.lib;if("function"==typeof o.get){const t=o.get();if(!(t instanceof Promise))return ft(o,n.options.name),this.setShared({pkgName:e,loaded:!0,from:n.options.name,lib:t,shared:o}),t}}if(r.lib)return r.loaded||(r.loaded=!0),r.lib;if(r.get){const o=r.get();return o instanceof Promise&&x("build"===t?.from?Ot:At,jt,{hostName:n.options.name,sharedPkgName:e},void 0,Zt(n.options)),r.lib=o,this.setShared({pkgName:e,loaded:!0,from:n.options.name,lib:r.lib,shared:r}),r.lib}x(At,jt,{hostName:n.options.name,sharedPkgName:e},void 0,Zt(n.options))}initShareScopeMap(e,t,n={}){const{host:r}=this;this.shareScopeMap[e]=t,this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope:t,options:r.options,origin:r,scopeName:e,hostShareScopeMap:n.hostShareScopeMap})}setShared({pkgName:e,shared:t,from:n,lib:r,loading:o,loaded:i,get:s,treeShaking:a}){const{version:c,scope:l="default",...u}=t;(Array.isArray(l)?l:[l]).forEach(t=>{this.shareScopeMap[t]||(this.shareScopeMap[t]={}),this.shareScopeMap[t][e]||(this.shareScopeMap[t][e]={}),this.shareScopeMap[t][e][c]||(this.shareScopeMap[t][e][c]={version:c,scope:[t],...u,lib:r});const l=this.shareScopeMap[t][e][c];(e=>{const t=(e,t,n)=>{n&&!e[t]&&(e[t]=n)},n=a?e.treeShaking:e;t(n,"loaded",i),t(n,"loading",o),t(n,"get",s)})(l),n&&l.from!==n&&(l.from=n)})}_setGlobalShareScopeMap(e){const t=lt(),n=e.id||e.name;n&&!t[n]&&(t[n]=this.shareScopeMap)}},mn=class{constructor(e){this.hooks=new rn({beforeRegisterRemote:new tn("beforeRegisterRemote"),registerRemote:new tn("registerRemote"),beforeRequest:new nn("beforeRequest"),onLoad:new Qt("onLoad"),handlePreloadModule:new Yt("handlePreloadModule"),errorLoadRemote:new Qt("errorLoadRemote"),beforePreloadRemote:new Qt("beforePreloadRemote"),generatePreloadAssets:new Qt("generatePreloadAssets"),afterPreloadRemote:new Qt,loadEntry:new Qt}),this.host=e,this.idToRemoteMap={}}formatAndRegisterRemote(e,t){return(t.remotes||[]).reduce((e,t)=>(this.registerRemote(t,e,{force:!1}),e),e.remotes)}setIdToRemoteMap(e,t){const{remote:n,expose:r}=t,{name:o,alias:i}=n;if(this.idToRemoteMap[e]={name:n.name,expose:r},i&&e.startsWith(o)){const t=e.replace(o,i);return void(this.idToRemoteMap[t]={name:n.name,expose:r})}if(i&&e.startsWith(i)){const t=e.replace(i,o);this.idToRemoteMap[t]={name:n.name,expose:r}}}async loadRemote(e,t){const{host:n}=this;try{const{loadFactory:r=!0}=t||{loadFactory:!0},{module:o,moduleOptions:i,remoteMatchInfo:s}=await this.getRemoteModuleAndOptions({id:e}),{pkgNameOrAlias:a,remote:c,expose:l,id:u,remoteSnapshot:f}=s,h=await o.get(u,l,t,f),d=await this.hooks.lifecycle.onLoad.emit({id:u,pkgNameOrAlias:a,expose:l,exposeModule:r?h:void 0,exposeModuleFactory:r?void 0:h,remote:c,options:i,moduleInstance:o,origin:n});return this.setIdToRemoteMap(e,s),"function"==typeof d?d:h}catch(r){const{from:o="runtime"}=t||{from:"runtime"},i=await this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:r,from:o,lifecycle:"onLoad",origin:n});if(!i)throw r;return i}}async preloadRemote(e){const{host:t}=this;await this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:e,options:t.options,origin:t});const n=(r=t.options.remotes,e.map(e=>{const t=function(e,t){for(const n of e){if(t===n.name)return n;if(n.alias&&t===n.alias)return n}}(r,e.nameOrAlias);return M(t,`Unable to preload ${e.nameOrAlias} as it is not included in ${!t&&_({remoteInfo:t,remotes:r})}`),{remote:t,preloadConfig:Bt(e)}}));var r;await Promise.all(n.map(async e=>{const{remote:n}=e,r=qt(n),{globalSnapshot:o,remoteSnapshot:i}=await t.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:n}),s=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:t,preloadOptions:e,remote:n,remoteInfo:r,globalSnapshot:o,remoteSnapshot:i});s&&Wt(r,t,s)}))}registerRemotes(e,t){const{host:n}=this;
1e.forEach(e=>{this.registerRemote(e,n.options.remotes,{force:t?.force})})}async getRemoteModuleAndOptions(e){const{host:t}=this,{id:n}=e;let r;try{r=await this.hooks.lifecycle.beforeRequest.emit({id:n,options:t.options,origin:t})}catch(e){if(r=await this.hooks.lifecycle.errorLoadRemote.emit({id:n,options:t.options,origin:t,from:"runtime",error:e,lifecycle:"beforeRequest"}),!r)throw e}const{id:o}=r,i=Ut(t.options.remotes,o);i||x(Tt,jt,{hostName:t.options.name,requestId:o},void 0,Zt(t.options));const{remote:s}=i,a=qt(s),c=await t.sharedHandler.hooks.lifecycle.afterResolve.emit({id:o,...i,options:t.options,origin:t,remoteInfo:a}),{remote:l,expose:u}=c;M(l&&u,`The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${o}.`);let f=t.moduleCache.get(l.name);const h={host:t,remoteInfo:a};return f||(f=new Xt(h),t.moduleCache.set(l.name,f)),{module:f,moduleOptions:h,remoteMatchInfo:c}}registerRemote(e,t,n){const{host:r}=this,o=()=>{if(e.alias){const n=t.find(t=>e.alias&&(t.name.startsWith(e.alias)||t.alias?.startsWith(e.alias)));M(!n,`The alias ${e.alias} of remote ${e.name} is not allowed to be the prefix of ${n&&n.name} name or alias`)}"entry"in e&&p&&"undefined"!=typeof window&&!e.entry.startsWith("http")&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||(e.shareScope=le),e.type||(e.type=ue)};this.hooks.lifecycle.beforeRegisterRemote.emit({remote:e,origin:r});const i=t.find(t=>t.name===e.name);if(i){const s=[`The remote "${e.name}" is already registered.`,"Please note that overriding it may cause unexpected errors."];n?.force&&(this.removeRemote(i),o(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r}),S(s.join(" ")))}else o(),t.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r})}removeRemote(e){try{const{host:t}=this,{name:n}=e,r=t.options.remotes.findIndex(e=>e.name===n);-1!==r&&t.options.remotes.splice(r,1);const o=t.moduleCache.get(e.name);if(o){const n=o.remoteInfo,r=n.entryGlobalName;V[r]&&(Object.getOwnPropertyDescriptor(V,r)?.configurable?delete V[r]:V[r]=void 0);const i=Gt(o.remoteInfo);K[i]&&delete K[i],t.snapshotHandler.manifestCache.delete(n.entry);let s=n.buildVersion?b(n.name,n.buildVersion):n.name;const a=V.__FEDERATION__.__INSTANCES__.findIndex(e=>n.buildVersion?e.options.id===s:e.name===s);if(-1!==a){const e=V.__FEDERATION__.__INSTANCES__[a];s=e.options.id||s;const t=lt();let r=!0;const o=[];Object.keys(t).forEach(e=>{const i=t[e];
1i&&Object.keys(i).forEach(t=>{const s=i[t];s&&Object.keys(s).forEach(i=>{const a=s[i];a&&Object.keys(a).forEach(s=>{const c=a[s];c&&"object"==typeof c&&c.from===n.name&&(c.loaded||c.loading?(c.useIn=c.useIn.filter(e=>e!==n.name),c.useIn.length?r=!1:o.push([e,t,i,s])):o.push([e,t,i,s]))})})})}),r&&(e.shareScopeMap={},delete t[s]),o.forEach(([e,n,r,o])=>{delete t[e]?.[n]?.[r]?.[o]}),V.__FEDERATION__.__INSTANCES__.splice(a,1)}const{hostGlobalSnapshot:c}=hn(e,t);if(c){const t=c&&"remotesInfo"in c&&c.remotesInfo&&Y(c.remotesInfo,e.name).key;t&&(delete c.remotesInfo[t],Boolean(U.__FEDERATION__.__MANIFEST_LOADING__[t])&&delete U.__FEDERATION__.__MANIFEST_LOADING__[t])}t.moduleCache.delete(e.name)}}catch(e){A.error(`removeRemote failed: ${e instanceof Error?e.message:String(e)}`)}}},gn=class{constructor(e){this.hooks=new rn({beforeInit:new tn("beforeInit"),init:new Yt,beforeInitContainer:new nn("beforeInitContainer"),initContainer:new nn("initContainer")}),this.version="2.3.0",this.moduleCache=new Map,this.loaderHook=new rn({getModuleInfo:new Yt,createScript:new Yt,createLink:new Yt,fetch:new Qt,loadEntryError:new Qt,getModuleFactory:new Qt}),this.bridgeHook=new rn({beforeBridgeRender:new Yt,afterBridgeRender:new Yt,beforeBridgeDestroy:new Yt,afterBridgeDestroy:new Yt});const t=[{name:"snapshot-plugin",async afterResolve(e){const{remote:t,pkgNameOrAlias:n,expose:r,origin:o,remoteInfo:i,id:s}=e;if(!C(t)||!D(t)){const{remoteSnapshot:a,globalSnapshot:c}=await o.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:t,id:s});on(i,a);const l={remote:t,preloadConfig:{nameOrAlias:n,exposes:[r],resourceCategory:"sync",share:!1,depsRemote:!1}},u=await o.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:o,preloadOptions:l,remoteInfo:i,remote:t,remoteSnapshot:a,globalSnapshot:c});return u&&Wt(i,o,u,!1),{...e,remoteSnapshot:a}}return e}},{name:"generate-preload-assets-plugin",async generatePreloadAssets(e){const{origin:t,preloadOptions:n,remoteInfo:r,remote:o,globalSnapshot:i,remoteSnapshot:s}=e;return p?C(o)&&D(o)?{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[{name:o.name,url:o.entry,moduleInfo:{name:r.name,entry:o.entry,type:r.type||"global",entryGlobalName:"",shareScope:""}}]}:(on(r,s),fn(t,n,r,i,s)):{cssAssets:[],jsAssetsWithoutEntry:[],entryAssets:[]}}}],n={id:"host:0.1.0",name:e.name,plugins:t,remotes:[],shared:{},inBrowser:p};this.name=e.name,this.options=n,this.snapshotHandler=new dn(this),this.sharedHandler=new pn(this),this.remoteHandler=new mn(this),this.shareScopeMap=this.sharedHandler.shareScopeMap,this.registerPlugins([...n.plugins,...e.plugins||[]]),this.options=this.formatOptions(n,e)}initOptions(e){e.name&&e.name!==this.options.name&&x(T(Lt,jt)),this.registerPlugins(e.plugins);const t=this.formatOptions(this.options,e);return this.options=t,t}async loadShare(e,t){return this.sharedHandler.loadShare(e,t)}loadShareSync(e,t){return this.sharedHandler.loadShareSync(e,t)}initializeSharing(e=le,t){return this.sharedHandler.initializeSharing(e,t)}initRawContainer(e,t,n){const r=qt({name:e,entry:t}),o=new Xt({host:this,remoteInfo:r});return o.remoteEntryExports=n,this.moduleCache.set(e,o),o}async loadRemote(e,t){return this.remoteHandler.loadRemote(e,t)}async preloadRemote(e){return this.remoteHandler.preloadRemote(e)}initShareScopeMap(e,t,n={}){this.sharedHandler.initShareScopeMap(e,t,n)}formatOptions(e,t){const{allShareInfos:n}=Ye(e,t),{userOptions:r,options:o}=this.hooks.lifecycle.beforeInit.emit({origin:this,userOptions:t,options:e,shareInfo:n}),i=this.remoteHandler.formatAndRegisterRemote(o,r),{allShareInfos:s}=this.sharedHandler.registerShared(o,r),a=[...o.plugins];r.plugins&&r.plugins.forEach(e=>{a.includes(e)||a.push(e)});const c={...e,...t,plugins:a,remotes:i,shared:s};return this.hooks.lifecycle.init.emit({origin:this,options:c}),c}registerPlugins(e){const t=function(e,t){const n=se(),r=[t.hooks,t.remoteHandler.hooks,t.sharedHandler.hooks,t.snapshotHandler.hooks,t.loaderHook,t.bridgeHook];return n.length>0&&n.forEach(t=>{e?.find(e=>e.name!==t.name)&&e.push(t)}),e&&e.length>0&&e.forEach(e=>{r.forEach(n=>{n.applyPlugin(e,t)})}),e}(e,this);this.options.plugins=this.options.plugins.reduce((e,t)=>
1t?(e&&!e.find(e=>e.name===t.name)&&e.push(t),e):e,t||[])}registerRemotes(e,t){return this.remoteHandler.registerRemotes(e,t)}registerShared(e){this.sharedHandler.registerShared(this.options,{...this.options,shared:e})}};Object.defineProperty;const yn=zt;function bn(e,t){return V.__FEDERATION__.__INSTANCES__.find(n=>!("host:0.1.0"!==n.options.id&&(n.options.name!==e||n.options.version||t)&&(n.options.name!==e||!t||n.options.version!==t)))}function En(e){const t=new(Z()||gn)(e);return J(t),t}let Sn=null;function _n(e){const t=bn(e.name,e.version);return t?(t.initOptions(e),Sn||(Sn=t),t):(Sn=En(e),Sn)}function vn(...e){return M(Sn,Pt,jt),Sn.loadRemote.apply(Sn,e)}function wn(...e){return M(Sn,Pt,jt),Sn.loadShare.apply(Sn,e)}function kn(...e){return M(Sn,Pt,jt),Sn.loadShareSync.apply(Sn,e)}function In(...e){return M(Sn,Pt,jt),Sn.preloadRemote.apply(Sn,e)}function Rn(...e){return M(Sn,Pt,jt),Sn.registerRemotes.apply(Sn,e)}function Nn(...e){return M(Sn,Pt,jt),Sn.registerPlugins.apply(Sn,e)}function $n(){return Sn}function Tn(...e){return M(Sn,Pt,jt),Sn.registerShared.apply(Sn,e)}X(gn);const On={global:{...yn.global,getGlobalFederationInstance:bn},share:yn.share,utils:yn.utils},An={runtime:r,instance:void 0,initOptions:void 0,bundlerRuntime:{remotes:function(e){!function(e){const{webpackRequire:t,idToExternalAndNameMapping:n={},idToRemoteMap:r={},chunkMapping:o={}}=e,{remotesLoadingData:i}=t,s=t.federation?.bundlerRuntimeOptions?.remotes?.remoteInfos;if(!i||i._updated||!s)return;const{chunkMapping:a,moduleIdToRemoteDataMapping:c}=i;if(a&&c){for(let[e,t]of Object.entries(c))if(n[e]||(n[e]=[t.shareScope,t.name,t.externalModuleId]),!r[e]&&s[t.remoteName]){const n=s[t.remoteName];r[e]||=[],n.forEach(t=>{r[e].includes(t)||r[e].push(t)})}o&&Object.entries(a).forEach(([e,t])=>{o[e]||(o[e]=[]),t.forEach(t=>{o[e].includes(t)||o[e].push(t)})}),i._updated=1}}(e);const{chunkId:t,promises:n,webpackRequire:r,chunkMapping:s,idToExternalAndNameMapping:h,idToRemoteMap:d}=e;o(r),r.o(s,t)&&s[t].forEach(e=>{let t=r.R;t||(t=[]);const o=h[e],s=d[e]||[];if(t.indexOf(o)>=0)return;if(t.push(o),o.p)return n.push(o.p);const p=t=>{t||(t=new Error("Container missing")),"string"==typeof t.message&&(t.message+=`\nwhile loading "${o[1]}" from ${o[2]}`),r.m[e]=()=>{throw t},o.p=0},m=(e,t,r,i,s,a)=>{try{const c=e(t,r);if(!c||!c.then)return s(c,i,a);{const e=c.then(e=>s(e,i),p);if(!a)return e;n.push(o.p=e)}}catch(e){p(e)}};var g=(e,n,r)=>m(n.get,o[1],t,0,y,r),y=t=>{o.p=1,r.m[e]=e=>{e.exports=t()}};1===s.length&&i.includes(s[0].externalType)&&s[0].name?m(()=>{try{const e=function(e,t){try{let n=e;if(t){if(!n.startsWith(t))return n;n=n.replace(new RegExp(t,"g"),"")}return n=n.replace(new RegExp(`${u[a]}`,"g"),f[u[a]]).replace(new RegExp(`${u[l]}`,"g"),f[u[l]]).replace(new RegExp(`${u[c]}`,"g"),f[u[c]]),n}catch(e){throw e}}(s[0].name,"ENCODE_NAME_PREFIX")+o[1].slice(1),t=r.federation.instance,n=()=>r.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===t.options.shareStrategy){const e=Array.isArray(o[0])?o[0]:[o[0]];return Promise.all(e.map(e=>t.sharedHandler.initializeSharing(e))).then(()=>n())}return n()}catch(e){p(e)}},o[2],0,0,y,1):m(r,o[2],0,0,(e,t,n)=>e?m(r.I,o[0],0,e,g,n):p(),1)})},consumes:function(e){s(e);const{chunkId:t,promises:n,installedModules:r,webpackRequire:i,chunkMapping:a,moduleToHandlerMapping:c}=e;o(i),i.o(a,t)&&a[t].forEach(e=>{if(i.o(r,e))return n.push(r[e]);const t=t=>{r[e]=0,i.m[e]=n=>{delete i.c[e];const r=t(),{shareInfo:o}=c[e];if(o?.shareConfig?.layer&&r&&"object"==typeof r)try{r.hasOwnProperty("layer")&&void 0!==r.layer||(r.layer=o.shareConfig.layer)}catch(e){}n.exports=r}},o=t=>{delete r[e],i.m[e]=n=>{throw delete i.c[e],t}};try{const s=i.federation.instance;if(!s)throw new Error("Federation instance not found!");const{shareKey:a,getter:l,shareInfo:u,treeShakingGetter:f}=c[e],h=v(i,a),d={...u};Array.isArray(d.scope)&&Array.isArray(d.scope[0])&&(d.scope=d.scope[0]),h&&(d.treeShaking={usedExports:h,useIn:[s.options.name]});const p=s.loadShare(a,{customShareInfo:d}).then(e=>{if(!1===e){if("function"!=typeof l)throw new Error(((e,t,n)=>{const r=[`${[t[e]]} #${e}`];return n&&r.push(`args: ${JSON.stringify(n)}`),r.push((e=>`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`)(e)),r.join("\n")})(w,{[w]:'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.'},{shareKey:a}));return f?.()||l()}return e});
1p.then?n.push(r[e]=p.then(t).catch(o)):t(p)}catch(e){o(e)}})},I:function({shareScopeName:e,webpackRequire:t,initPromises:n,initTokens:r,initScope:s}){const a=Array.isArray(e)?e:[e];var c=[];return a.forEach(a=>{c.push(function(a){s||(s=[]);const c=t.federation.instance;var l=r[a];if(l||(l=r[a]={from:c.name}),s.indexOf(l)>=0)return;s.push(l);const u=n[a];if(u)return u;var f=n=>{var r=e=>{return t="Initialization of sharing external failed: "+e,"undefined"!=typeof console&&console.warn&&console.warn(t);var t};try{var o=t(n);if(!o)return;var i=n=>n&&n.init&&n.init(t.S[a],s,{shareScopeMap:t.S||{},shareScopeKeys:e});if(o.then)return h.push(o.then(i,r));var c=i(o);if(c&&"boolean"!=typeof c&&c.then)return h.push(c.catch(r))}catch(e){r(e)}};const h=c.initializeSharing(a,{strategy:c.options.shareStrategy,initScope:s,from:"build"});o(t);const d=t.federation.bundlerRuntimeOptions.remotes;return d&&Object.keys(d.idToRemoteMap).forEach(e=>{const t=d.idToRemoteMap[e],n=d.idToExternalAndNameMapping[e][2];if(t.length>1)f(n);else if(1===t.length){const e=t[0];i.includes(e.externalType)||f(n)}}),h.length?n[a]=Promise.all(h).then(()=>n[a]=!0):n[a]=!0}(a))}),Promise.all(c).then(()=>!0)},S:{},installInitialConsumes:function(e){s(e);const{moduleToHandlerMapping:t,webpackRequire:n,installedModules:r,initialConsumes:o,asyncLoad:i}=e,a=[];o.forEach(e=>{a.push([e,()=>function(e){const{moduleId:t,moduleToHandlerMapping:n,webpackRequire:r,asyncLoad:o}=e,i=r.federation.instance;if(!i)throw new Error("Federation instance not found!");const{shareKey:s,shareInfo:a}=n[t];try{const e=v(r,s),t={...a};return e&&(t.treeShaking={usedExports:e,useIn:[i.options.name]}),o?i.loadShare(s,{customShareInfo:t}):i.loadShareSync(s,{customShareInfo:t})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}}({moduleId:e,moduleToHandlerMapping:t,webpackRequire:n,asyncLoad:i})])});const c=(e,o)=>{n.m[e]=i=>{r[e]=0,delete n.c[e];const s=o();if("function"!=typeof s)throw new Error(`Shared module is not available for eager consumption: ${e}`);const a=s(),{shareInfo:c}=t[e];if(c?.shareConfig?.layer&&a&&"object"==typeof a)try{a.hasOwnProperty("layer")&&void 0!==a.layer||(a.layer=c.shareConfig.layer)}catch(e){}i.exports=a}};if(i)return Promise.all(a.map(async([e,t])=>{const n=await t();c(e,()=>n)}));a.forEach(([e,t])=>{c(e,t)})},initContainerEntry:function(e){const{webpackRequire:t,shareScope:n,initScope:r,shareScopeKey:o,remoteEntryInitOptions:i}=e;if(!t.S)return;if(!t.federation||!t.federation.instance||!t.federation.initOptions)return;const s=t.federation.instance;s.initOptions({name:t.federation.initOptions.name,remotes:[],...i});const a=i?.shareScopeKeys,c=i?.shareScopeMap;if(o&&"string"!=typeof o)o.forEach(e=>{if(!a||!c)return void s.initShareScopeMap(e,n,{hostShareScopeMap:i?.shareScopeMap||{}});c[e]||(c[e]={});const t=c[e];s.initShareScopeMap(e,t,{hostShareScopeMap:i?.shareScopeMap||{}})});else{const e=o||"default";Array.isArray(a)?a.forEach(e=>{c[e]||(c[e]={});const t=c[e];s.initShareScopeMap(e,t,{hostShareScopeMap:i?.shareScopeMap||{}})}):s.initShareScopeMap(e,n,{hostShareScopeMap:i?.shareScopeMap||{}})}return t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),"function"==typeof t.federation.prefetch&&t.federation.prefetch(),Array.isArray(o)?Boolean(t.federation.initOptions.shared)?t.I(o,r):Promise.all(o.map(e=>t.I(e,r))).then(()=>!0):t.I(o||"default",r)},init:function({webpackRequire:e}){const{initOptions:t,runtime:r,sharedFallback:o,bundlerRuntime:i,libraryType:s}=e.federation;if(!t)throw new Error("initOptions is required!");return t.plugins||=[],t.plugins.push({name:"tree-shake-plugin",beforeInit(t){const{userOptions:r,origin:a,options:c}=t,l=r.version||c.version;if(!o)return t;const u=r.shared||{},f=[];Object.keys(u).forEach(t=>{(Array.isArray(u[t])?u[t]:[u[t]]).forEach(n=>{f.push([t,n]),"get"in n&&(n.treeShaking||={},n.treeShaking.get=n.get,n.get=i.getSharedFallbackGetter({shareKey:t,factory:n.get,webpackRequire:e,libraryType:s,version:n.version}))})});const h=On.global.getGlobalSnapshotInfoByModuleInfo({name:a.name,version:l});return h&&"shared"in h?(Object.keys(c.shared||{}
1).forEach(e=>{c.shared[e].forEach(t=>{f.push([e,t])})}),f.forEach(([e,t])=>{((e,t)=>{const r=h.shared.find(t=>t.sharedName===e);if(!r)return;const{treeShaking:o}=t;if(!o)return;const{secondarySharedTreeShakingName:i,secondarySharedTreeShakingEntry:c,treeShakingStatus:l}=r;o.status!==l&&(o.status=l,c&&s&&i&&(o.get=async()=>{const e=await Vt({origin:a,remoteInfo:{name:i,entry:c,type:s,entryGlobalName:i,shareScope:"default"}});return await e.init(a,n.federation.bundlerRuntime),e.get()}))})(e,t)}),t):t}}),r.init(t)},getSharedFallbackGetter:({shareKey:e,factory:t,version:n,webpackRequire:r,libraryType:o="global"})=>{const{runtime:i,instance:s,bundlerRuntime:a,sharedFallback:c}=r.federation;if(!c)return t;const l=c[e];if(!l)return t;const u=n?l.find(e=>e[1]===n):l[0];if(!u)throw new Error(`No fallback item found for shareKey: ${e} and version: ${n}`);return()=>i.getRemoteEntry({origin:r.federation.instance,remoteInfo:{name:u[2],entry:`${r.p}${u[0]}`,type:o,entryGlobalName:u[2],shareScope:"default"}}).then(t=>{if(!t)throw new Error(`Failed to load fallback entry for shareKey: ${e} and version: ${n}`);return t.init(r.federation.instance,a).then(()=>t.get())})}},attachShareScopeMap:o,bundlerRuntimeOptions:{}};var Mn=n(24898),xn=n.n(Mn);if(!n.federation.runtime||!n.federation.bundlerRuntime){var Pn=n.federation;for(var Ln in n.federation={},An)n.federation[Ln]=An[Ln];for(var Ln in Pn)n.federation[Ln]=Pn[Ln]}if(!n.federation.instance){var Cn=[!!xn()&&(xn().default||xn())(void 0)].filter(Boolean);n.federation.initOptions.plugins=n.federation.initOptions.plugins?n.federation.initOptions.plugins.concat(Cn):Cn,n.federation.instance=n.federation.bundlerRuntime.init({webpackRequire:n}),n.federation.attachShareScopeMap&&n.federation.attachShareScopeMap(n),n.federation.installInitialConsumes&&n.federation.installInitialConsumes(),!n.federation.isMFRemote&&n.federation.prefetch&&n.federation.prefetch()}},77836:function(e,t,n){"use strict";var r,o;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(o=n.g.process)?void 0:o.env)?n.g.process:n(85307)},85307:function(e){!function(){var t={229:function(e){var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var a,c=[],l=!1,u=-1;function f(){l&&a&&(l=!1,a.length?c=a.concat(c):u=-1,c.length&&h())}function h(){if(!l){var e=s(f);l=!0;for(var t=c.length;t;){for(a=c,c=[];++u<t;)a&&a[u].run();u=-1,t=c.length}a=null,l=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function p(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new d(e,t)),1!==c.length||l||s(h)},d.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=p,r.addListener=p,r.once=p,r.off=p,r.removeListener=p,r.removeAllListeners=p,r.emit=p,r.prependListener=p,r.prependOnceListener=p,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}},s=!0;try{t[e](i,i.exports,r),s=!1}finally{s&&delete n[e]}return i.exports}void 0!==r&&(r.ab="//");var o=r(229);e.exports=o}()},54110:function(e,t,n){"use strict";var r={"./storeProvider":function(){return Promise.all([n.e(9839),n.e(3732),n.e(1995),n.e(3720)]).then(function(){return function(){return n(37875)}})},"./actions":function(){return Promise.all([n.e(9839),n.e(4663),n.e(3732),n.e(1995),n.e(6961)]).then(function(){return function(){return n(84343)}})}},o=function(e,t){return n.R=t,t=n.o(r,e)?r[e]():Promise.resolve().then(function(){throw new Error('Module "'+e+'" does not exist in container.')}),n.R=void 0,t},i=function(e,t,r){return n.federation.bundlerRuntime.initContainerEntry({webpackRequire:n,shareScope:e,initScope:t,remoteEntryInitOptions:r,shareScopeKey:"default"})};n.d(t,{get:function(){return o},init:function(){return i}})},24898:function(e,t,n){e.exports=function(){return{name:"next-internal-plugin",createScript:function(e){const t=e.url,n=e.attrs;if("undefined"!=typeof window){const e=document.createElement("script");return e.src=t,e.async=!0,delete n?.crossorigin,{script:e,timeout:8e3}}},errorLoadRemote:function(e){const t=e.id,n=e.error,r=e.from;globalThis.moduleGraphDirty=!0,console.error(t,"offline");
1const o=function(){return console.error(t,"offline",n),null};let i;return o.getInitialProps=function(e){return{}},i="build"===r?function(){return{__esModule:!0,default:o,getServerSideProps:function(){return{props:{}}}}}:{default:o,getServerSideProps:function(){return{props:{}}}},i},beforeInit:function(e){if(globalThis.usedChunks||(globalThis.usedChunks=new Set),"string"==typeof n.j&&!n.j.startsWith("webpack"))return e;const t=e.origin.moduleCache,r=e.origin.name;let o;try{o=new Function("return globalThis")()}catch(e){o=globalThis}const i=o[r];return i&&t.set(r,i),e},init:function(e){return e},beforeRequest:function(e){const t=e.options,n=e.id.split("/").shift(),r=t.remotes.find(function(e){return e.name===n});return r?(r&&r.entry&&r.entry.includes("?t=")||(r.entry=r.entry+"?t="+Date.now()),e):e},afterResolve:function(e){return e},onLoad:function(e){const t=e.exposeModuleFactory,n=e.exposeModule,r=e.id,o=t||n;if(!o)return e;if("undefined"==typeof window){let e;try{e=o()}catch(t){e=o}const t={get:function(t,n,o){if(t===e&&"function"==typeof e[n])return function(){return globalThis.usedChunks.add(r),e[n].apply(this,arguments)};const i=t[n];if("function"==typeof i){const e=function(){return globalThis.usedChunks.add(r),i.apply(this,arguments)};
1return Object.keys(i).forEach(function(t){Object.defineProperty(e,t,{value:i[t],writable:!0,enumerable:!0,configurable:!0})}),e}return Reflect.get(t,n,o)}};return"function"==typeof e?(e=new Proxy(e,t),Object.getOwnPropertyNames(e).forEach(function(n){"function"==typeof e[n]&&(e[n]=new Proxy(e[n],t))}),function(){return e}):(e=new Proxy(e,t),e)}return e},loadRemoteSnapshot(e){const{from:t,remoteSnapshot:n,manifestUrl:r,manifestJson:o,options:i}=e;if("manifest"!==t||!r||!o||!("publicPath"in n))return e;const{publicPath:s}=n;return i.inBrowser&&s.includes("/_next/")?n.publicPath=s.substring(0,s.lastIndexOf("/_next/")+7):n.publicPath=r.substring(0,r.indexOf("mf-manifest.json")),"publicPath"in o.metaData&&(o.metaData.publicPath=n.publicPath),e},resolveShare:function(e){if("react"!==e.pkgName&&"react-dom"!==e.pkgName&&!e.pkgName.startsWith("next/"))return e;const t=e.shareScopeMap,n=e.scope,r=e.pkgName,o=e.version,i=e.GlobalFederation.__INSTANCES__[0];return i&&i.options.shared[r]?(e.resolver=function(){return t[n][r][o]=i.options.shared[r][0],{shared:t[n][r][o],useTreesShaking:!1}},e):e},beforeLoadShare:async function(e){return e}}}},81751:function(){},33504:function(e,t,n){},93403:function(){},58028:function(e,t,n){},12165:function(){"use strict";Object.defineProperty}},l={};function u(e){var t=l[e];if(void 0!==t)return t.exports;var n=l[e]={exports:{}},r=!0;try{var o={id:e,module:n,factory:c[e],require:u};u.i.forEach(function(e){e(o)}),n=o.module,o.factory.call(n.exports,n,n.exports,o.require),r=!1}finally{r&&delete l[e]}return n.exports}u.m=c,u.c=l,u.i=[],u.x=function(){},u.federation||(u.federation={initOptions:{name:"host",remotes:[{alias:"contribuciones",name:"contribuciones",entry:"https://portal-tributario.queretaro.gob.mx/app/ctr/ingresos/_next/static/chunks/remoteEntry.js",shareScope:"default",externalType:"script"}],shareStrategy:"loaded-first"},chunkMatcher:function(e){return!/^(1995|3732|8122)$/.test(e)},rootOutputDir:"../../",bundlerRuntimeOptions:{remotes:{remoteInfos:{contribuciones:[{alias:"contribuciones",name:"contribuciones",entry:"https://portal-tributario.queretaro.gob.mx/app/ctr/ingresos/_next/static/chunks/remoteEntry.js",shareScope:"default",externalType:"script"}]},webpackRequire:u,idToRemoteMap:{},chunkMapping:{},idToExternalAndNameMapping:{}}}},u.consumesLoadingData={},u.remotesLoadingData={}),u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,{a:t}),t},u.d=function(e,t){for(var n in t)u.o(t,n)&&!u.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},u.f={},u.e=function(e){return Promise.all(Object.keys(u.f).reduce(function(t,n){return u.f[n](e,t),t},[]))},u.u=function(e){return"static/chunks/"+({3720:"__federation_expose_storeProvider",6961:"__federation_expose_actions"}[e]||e)+"."+{69:"8a8569ae915a5d93",255:"a1919ba86c892b8e",961:"e14c42a88a053caa",1106:"96a24a5497767938",2346:"d24b482a809e9301",2467:"1a42612d91e41937",2513:"4960f751374b6b6d",2636:"a1919ba86c892b8e",3368:"3075a60b5bbd3731",3650:"7e0bf4409ba62681",3720:"b4981625e03ca665",4656:"159285ef746195f3",4663:"ea3ff63cb13931f3",4848:"44915d49151e49ba",4865:"8713bfdeff3b53ae",4953:"a04f78030654616e",5338:"72d46cff7d413f66",5505:"54df824c5c83d3cb",6255:"0d8f8d0ae6fdf05e",6540:"baef9e0202b8877e",6715:"00154f0f21932e78",6816:"88d22be477a9c2c0",6961:"a6228db491096d33",7884:"f1084758504bfa3d",8023:"0a0c20b892dedacf",8519:"c21e3848873dca15",9839:"aefb85dac7a77c51"}[e]+".js"},u.miniCssF=function(e){},u.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e={},t="host:",u.l=function(n,r,o,i){if(e[n])e[n].push(r);else{var s,a;if(void 0!==o)for(var c=document.getElementsByTagName("script"),l=0;l<c.length;l++){var f=c[l];if(f.getAttribute("src")==n||f.getAttribute("data-webpack")==t+o){s=f;break}}s||(a=!0,(s=document.createElement("script")).charset="utf-8",u.nc&&s.setAttribute("nonce",u.nc),s.setAttribute("data-webpack",t+o),s.src=u.tu(n)),e[n]=[r];var h=function(t,r){s.onerror=s.onload=null,clearTimeout(d);var o=e[n];if(delete e[n],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach(function(e){return e(r)}),t)return t(r)},d=setTimeout(h.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=h.bind(null,s.onerror),s.onload=h.bind(null,s.onload),a&&document.head.appendChild(s)}},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
1),Object.defineProperty(e,"__esModule",{value:!0})},n={},r={},o={},u.federation.bundlerRuntimeOptions.remotes.chunkMapping=n,u.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping=r,u.federation.bundlerRuntimeOptions.remotes.idToRemoteMap=o,u.remotesLoadingData.moduleIdToRemoteDataMapping={},u.f.remotes=function(e,t){u.federation.bundlerRuntime.remotes({idToRemoteMap:o,chunkMapping:n,idToExternalAndNameMapping:r,chunkId:e,promises:t,webpackRequire:u})},u.j=9965,function(){u.S={};var e={},t={};u.I=function(n,r){r||(r=[]);var o=t[n];if(o||(o=t[n]={}),!(r.indexOf(o)>=0)){if(r.push(o),e[n])return e[n];u.o(u.S,n)||(u.S[n]={});var i=u.S[n],s="host",a=function(e,t,n,r){var o=i[e]=i[e]||{},a=o[t];(!a||!a.loaded&&(!r!=!a.eager?r:s>a.from))&&(o[t]={get:n,from:s,eager:!!r})},c=[];return"default"===n&&(a("@emotion/react","11.14.0",function(){return Promise.all([u.e(69),u.e(3732),u.e(6255)]).then(function(){return function(){return u(70069)}})}),a("@emotion/styled","11.14.1",function(){return Promise.all([u.e(3732),u.e(5505)]).then(function(){return function(){return u(25505)}})}),a("next/dynamic","14.2.35",function(){return Promise.all([u.e(3732),u.e(1995),u.e(4953)]).then(function(){return function(){return u(14953)}})}),a("next/head","14.2.35",function(){return Promise.all([u.e(3732),u.e(1995),u.e(3368)]).then(function(){return function(){return u(13368)}})}),a("next/image","14.2.35",function(){return Promise.all([u.e(2346),u.e(3732),u.e(1995),u.e(8122),u.e(3650)]).then(function(){return function(){return u(29965)}})}),a("next/link","14.2.35",function(){return Promise.all([u.e(8519),u.e(1106),u.e(3732),u.e(1995),u.e(4865)]).then(function(){return function(){return u(91106)}})}),a("next/router","14.2.35",function(){return Promise.all([u.e(8519),u.e(7884),u.e(6715),u.e(3732),u.e(1995),u.e(8122),u.e(8023)]).then(function(){return function(){return u(86715)}})}),a("next/script","14.2.35",function(){return Promise.all([u.e(7884),u.e(3732),u.e(1995),u.e(8122),u.e(4656)]).then(function(){return function(){return u(28133)}})}),a("react-dom/client","18.3.1",function(){return Promise.all([u.e(8122),u.e(5338)]).then(function(){return function(){return u(5338)}})}),a("react-dom","18.3.1",function(){return Promise.all([u.e(961),u.e(3732)]).then(function(){return function(){return u(40961)}})}),a("react-hot-toast","2.6.0",function(){return Promise.all([u.e(3732),u.e(2636)]).then(function(){return function(){return u(62636)}})}),a("react/jsx-runtime","18.3.1",function(){return Promise.all([u.e(3732),u.e(2467)]).then(function(){return function(){return u(74848)}})}),a("react","18.3.1",function(){return u.e(6540).then(function(){return function(){return u(96540)}})}),a("styled-jsx/style","5.1.1",function(){return Promise.all([u.e(3732),u.e(2513)]).then(function(){return function(){return u(32513)}})}),a("styled-jsx","5.1.1",function(){return Promise.all([u.e(3732),u.e(6816)]).then(function(){return function(){return u(36816)}})})),e[n]=c.length?Promise.all(c).then(function(){return e[n]=1}):1}}}(),u.tt=function(){return void 0===i&&(i={createScriptURL:function(e){return e}},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(i=trustedTypes.createPolicy("nextjs#bundler",i))),i},u.tu=function(e){return u.tt().createScriptURL(e)},function(){u.federation.initOptions.shared={"@emotion/react":[{version:"11.14.0",get:function(){return Promise.all([u.e(69),u.e(3732),u.e(6255)]).then(function(){return function(){return u(70069)}})},scope:["default"],shareConfig:{eager:!1,requiredVersion:!1,singleton:!0,layer:null}}],"@emotion/styled":[{version:"11.14.1",get:function(){return Promise.all([u.e(3732),u.e(5505)]).then(function(){return function(){return u(25505)}})},scope:["default"],shareConfig:{eager:!1,requiredVersion:!1,singleton:!0,layer:null}}],"next/dynamic":[{version:"14.2.35",get:function(){return Promise.all([u.e(3732),u.e(1995),u.e(4953)]).then(function(){return function(){return u(14953)}})},scope:["default"],shareConfig:{eager:!1,singleton:!0,layer:null}}],"next/head":[{version:"14.2.35",get:function(){return Promise.all([u.e(3732),u.e(1995),u.e(3368)]).then(function(){return function(){return u(13368)}})},scope:["default"],shareConfig:{eager:!1,singleton:!0,layer:null}}],"next/image":[{version:"14.2.35",get:function(){return Promise.all([u.e(2346),u.e(3732),u.e(1995),u.e(8122),u.e(3650)]).then(function(){return function(){return u(29965)}})},scope:["default"],shareConfig:{eager:!1,singleton:!0,layer:null}}],"next/link":[{version:"14.2.35",get:function(){return Promise.all([u.e(8519),u.e(1106),u.e(3732),u.e(1995),u.e(4865)]).then(function(){return function(){return u(91106)}})},scope:["default"],shareConfig:{eager:!1,singleton:!0,layer:null}}],"next/router":[{version:"14.2.35",get:function(){return Promise.all([u.e(8519),u.e(7884),u.e(6715),u.e(3732),u.e(1995),u.e(8122),u.e(8023)]).then(function(){return function(){return u(86715)}})},scope:["default"],shareConfig:{eager:!1,requiredVersion:!1,singleton:!0,layer:null}}],"next/script":[{version:"14.2.35",get:function(){return Promise.all([u.e(7884),u.e(3732),u.e(1995),u.e(8122),u.e(4656)]).then(function(){return function(){return u(28133)}})},scope:["default"],shareConfig:{eager:!1,singleton:!0,layer:null}}],"react-dom/client":[{version:"18.3.1",get:function(){return Promise.all([u.e(8122),u.e(5338)]).then(function(){return function(){return u(5338)}})},scope:["default"],shareConfig:{eager:!1,requiredVersion:!1,singleton:!0,layer:null}}],"react-dom":[{version:"18.3.1",get:function(){return Promise.all([u.e(961),u.e(3732)]).then(function(){return function(){return u(40961)}})},scope:["default"],shareConfig:{eager:!1,requiredVersion:!1,singleton:!0,layer:null}}],"react-hot-toast":[{version:"2.6.0",get:function(){return Promise.all([u.e(3732),u.e(2636)]).then(function(){return function(){return u(62636)}})},scope:["default"],shareConfig:{eager:!1,requiredVersion:!1,singleton:!0,layer:null}}],"react/jsx-runtime":[{version:"18.3.1",get:function(){return Promise.all([u.e(3732),u.e(2467)]).then(function(){return function(){return u(74848)}})},scope:["default"],shareConfig:{eager:!1,requiredVersion:!1,singleton:!0,layer:null}}],react:[{version:"18.3.1",get:function(){return u.e(6540).then(function(){return function(){return u(96540)}})},scope:["default"],shareConfig:{eager:!1,requiredVersion:!1,singleton:!0,layer:null}}],"styled-jsx/style":[{version:"5.1.1",get:function(){return Promise.all([u.e(3732),u.e(2513)]).then(function(){return function(){return u(32513)}})},scope:["default"],shareConfig:{eager:!1,requiredVersion:"^5.1.1",singleton:!0,layer:null}}],"styled-jsx":[{version:"5.1.1",get:function(){return Promise.all([u.e(3732),u.e(6816)]).then(function(){return function(){return u(36816)}})},scope:["default"],shareConfig:{eager:!1,requiredVersion:"^5.1.1",singleton:!0,layer:null}}]},u.S={};var e={},t={};u.I=function(n,r){return u.federation.bundlerRuntime.I({shareScopeName:n,webpackRequire:u,initPromises:e,initTokens:t,initScope:r})}}(),u.p="/app/ingresos/_next/",function(){var e={};u.consumesLoadingData.moduleIdToConsumeDataMapping={13732:{fallback:function(){return u.e(6540).then(function(){return function(){return u(96540)}})},shareScope:["default"],singleton:!0,requiredVersion:!1,strictVersion:!1,eager:!1,layer:void 0,shareKey:"react"},1995:{fallback:function(){return u.e(4848).then(function(){return function(){return u(74848)}})},shareScope:["default"],singleton:!0,requiredVersion:!1,strictVersion:!1,eager:!1,layer:void 0,shareKey:"react/jsx-runtime"},760:{fallback:function(){return u.e(255).then(function(){return function(){return u(62636)}})},shareScope:["default"],singleton:!0,requiredVersion:!1,strictVersion:!1,eager:!1,layer:void 0,shareKey:"react-hot-toast"},97531:{fallback:function(){return u.e(69).then(function(){return function(){return u(70069)}})},shareScope:["default"],singleton:!0,requiredVersion:!1,strictVersion:!1,eager:!1,layer:void 0,shareKey:"@emotion/react"},8122:{fallback:function(){return Promise.all([u.e(961),u.e(3732)]).then(function(){return function(){return u(40961)}})},shareScope:["default"],singleton:!0,requiredVersion:!1,strictVersion:!1,eager:!1,layer:void 0,shareKey:"react-dom"}};var t={};u.consumesLoadingData.chunkMapping={1995:[1995],3732:[13732],5505:[97531],6961:[760],8122:[8122]},u.f.consumes=function(n,r){u.federation.bundlerRuntime.consumes({chunkMapping:u.consumesLoadingData.chunkMapping,installedModules:e,chunkId:n,moduleToHandlerMapping:t,promises:r,webpackRequire:u})}}(),s=u.x,a=!1,u.x=function(){if(a||(a=!0,u(47449)),"function"==typeof s)return s();console.warn("[Module Federation] prevStartup is not a function, skipping startup execution")},function(){var e={9965:0};u.f.j=function(t,n){var r=u.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else if(/^(1995|3732|8122)$/.test(t))e[t]=0;else{var o=new Promise(function(n,o){r=e[t]=[n,o]});n.push(r[2]=o);var i=u.p+u.u(t),s=new Error;u.l(i,function(n){if(u.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,r[1](s)}},"chunk-"+t,t)}};
vendor: 357 bytes, line 1
1var t=function(t,n){var r,o,i=n[0],s=n[1],a=n[2],c=0;if(i.some(function(t){return 0!==e[t]})){for(r in s)u.o(s,r)&&(u.m[r]=s[r]);a&&a(u)}for(t&&t(n);c<i.length;c++)o=i[c],u.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=self.webpackChunkhost=self.webpackChunkhost||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}(),u.x();var f=u(54110);window.host=f}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.