single-spa
Version:
The router for easy microfrontends
4 lines (3 loc) • 19.1 kB
JavaScript
/* single-spa@6.0.3 - ES2015 - prod */
var t=Object.freeze({__proto__:null,get start(){return It},get ensureJQuerySupport(){return ft},get setBootstrapMaxTime(){return K},get setMountMaxTime(){return H},get setUnmountMaxTime(){return J},get setUnloadMaxTime(){return Q},get registerApplication(){return Tt},get unregisterApplication(){return At},get getMountedApps(){return Et},get getAppStatus(){return Pt},get unloadApplication(){return Nt},get checkActivityFunctions(){return bt},get getAppNames(){return vt},get pathToActiveWhen(){return Dt},get navigateToUrl(){return tt},get patchHistoryApi(){return at},get triggerAppChange(){return $t},get addErrorHandler(){return i},get removeErrorHandler(){return s},get mountRootParcel(){return G},get NOT_LOADED(){return c},get LOADING_SOURCE_CODE(){return l},get NOT_BOOTSTRAPPED(){return f},get BOOTSTRAPPING(){return p},get NOT_MOUNTED(){return h},get MOUNTING(){return m},get UPDATING(){return w},get LOAD_ERROR(){return E},get MOUNTED(){return d},get UNLOADING(){return y},get UNMOUNTING(){return g},get SKIP_BECAUSE_BROKEN(){return v}}),e=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{}).CustomEvent,n=function(){try{var t=new e("cat",{detail:{foo:"bar"}});return"cat"===t.type&&"bar"===t.detail.foo}catch(t){}return!1}()?e:"undefined"!=typeof document&&"function"==typeof document.createEvent?function(t,e){var n=document.createEvent("CustomEvent");return e?n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail):n.initCustomEvent(t,!1,!1,void 0),n}:function(t,e){var n=document.createEventObject();return n.type=t,e?(n.bubbles=Boolean(e.bubbles),n.cancelable=Boolean(e.cancelable),n.detail=e.detail):(n.bubbles=!1,n.cancelable=!1,n.detail=void 0),n};let r=[];function o(t,e,n){const o=a(t,e,n);r.length?r.forEach((t=>t(o))):setTimeout((()=>{throw o}))}function i(t){if("function"!=typeof t)throw Error(u(28,!1));r.push(t)}function s(t){if("function"!=typeof t)throw Error(u(29,!1));let e=!1;return r=r.filter((n=>{const r=n===t;return e=e||r,!r})),e}function u(t,e,...n){return`single-spa minified message #${t}: ${e?e+" ":""}See https://single-spa.js.org/error/?code=${t}${n.length?`&arg=${n.join("&arg=")}`:""}`}function a(t,e,n){const r=`${A(e)} '${T(e)}' died in status ${e.status}: `;let o;if(t instanceof Error){try{t.message=r+t.message}catch(t){}o=t}else{console.warn(u(30,!1,e.status,T(e)));try{o=Error(r+JSON.stringify(t))}catch(e){o=t}}return o.appOrParcelName=T(e),e.status=n,o}const c="NOT_LOADED",l="LOADING_SOURCE_CODE",f="NOT_BOOTSTRAPPED",p="BOOTSTRAPPING",h="NOT_MOUNTED",m="MOUNTING",d="MOUNTED",w="UPDATING",g="UNMOUNTING",y="UNLOADING",E="LOAD_ERROR",v="SKIP_BECAUSE_BROKEN";function P(t){return t.status===d}function O(t){try{return t.activeWhen(window.location)}catch(e){return o(e,t,v),!1}}function T(t){return t.name}function b(t){return Boolean(t.unmountThisParcel)}function A(t){return b(t)?"parcel":"application"}function N(){for(let t=arguments.length-1;t>0;t--)for(let e in arguments[t])"__proto__"!==e&&(arguments[t-1][e]=arguments[t][e]);return arguments[0]}function S(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return t[n];return null}function _(t){return t&&("function"==typeof t||(e=t,Array.isArray(e)&&!S(e,(t=>"function"!=typeof t))));var e}function D(t,e){let n=t[e]||[];n=Array.isArray(n)?n:[n],0===n.length&&(n=[()=>Promise.resolve()]);const r=A(t),o=T(t);return function(t){return n.reduce(((n,i,s)=>n.then((()=>{const n=i(t);return U(n)?n:Promise.reject(u(15,!1,r,o,e,s))}))),Promise.resolve())}}function U(t){return t&&"function"==typeof t.then&&"function"==typeof t.catch}let M=[];function j(t,e){return Promise.resolve().then((()=>t.status!==f?t:(t.status=p,t.bootstrap?V(t,"bootstrap").then(n).catch((n=>{if(e)throw a(n,t,v);return o(n,t,v),t})):Promise.resolve().then(n))));function n(){return t.status=h,t}}function $(t,e){return Promise.resolve().then((()=>{if(t.status!==d)return t;t.status=g;const n=Object.keys(t.parcels).map((e=>t.parcels[e].unmountThisParcel()));return Promise.all(n).then(r,(n=>r().then((()=>{const r=Error(n.message);if(e)throw a(r,t,v);o(r,t,v)})))).then((()=>t));function r(){return V(t,"unmount").then((()=>{t.status=h}),(n=>{if(e)throw a(n,t,v);o(n,t,v)}))}}))}let L=!1,R=!1;function x(t,e){return Promise.resolve().then((()=>t.status!==h?t:(L||(window.dispatchEvent(new n("single-spa:before-first-mount")),L=!0),t.status=m,V(t,"mount").then((()=>(t.status=d,R||(window.dispatchEvent(new n("single-spa:first-mount")),R=!0),t))).catch((n=>{return t.status=d,$(t,!0).then(r,r);function r(){if(e)throw a(n,t,v);return o(n,t,v),t}})))))}let I=0;const B={parcels:{}};function G(){return W.apply(B,arguments)}function W(t,e){const n=this;if(!t||"object"!=typeof t&&"function"!=typeof t)throw Error(u(2,!1));if(t.name&&"string"!=typeof t.name)throw Error(u(3,!1,typeof t.name));const r=I++;let o=t.name||`parcel-${r}`;if("object"!=typeof e)throw Error(u(4,!1,o,typeof e));if(!e.domElement)throw Error(u(5,!1,o));const i="function"==typeof t,s=i?t:()=>Promise.resolve(t),c={id:r,parcels:{},status:i?l:f,customProps:e,parentName:T(n),unmountThisParcel:()=>y.then((()=>{if(c.status!==d)throw Error(u(6,!1,o,c.status));return $(c,!0)})).then((t=>(c.parentName&&delete n.parcels[c.id],t))).then((t=>(E(t),t))).catch((t=>{throw c.status=v,P(t),t}))};let p;n.parcels[r]=c;let m=s();if(!m||"function"!=typeof m.then)throw Error(u(7,!1));m=m.then((t=>{if(!t)throw Error(u(8,!1));if(o=t.name||`parcel-${r}`,Object.prototype.hasOwnProperty.call(t,"bootstrap")&&!_(t.bootstrap))throw Error(u(9,!1,o));if(!_(t.mount))throw Error(u(10,!1,o));if(!_(t.unmount))throw Error(u(11,!1,o));if(t.update&&!_(t.update))throw Error(u(12,!1,o));const e=D(t,"bootstrap"),n=D(t,"mount"),i=D(t,"unmount");c.status=f,c.name=o,c.bootstrap=e,c.mount=n,c.unmount=i,c.timeouts=q(t.timeouts),t.update&&(c.update=D(t,"update"),p.update=function(t){return c.customProps=t,C((e=c,Promise.resolve().then((()=>{if(e.status!==d)throw Error(u(32,!1,T(e)));return e.status=w,V(e,"update").then((()=>(e.status=d,e))).catch((t=>{throw a(t,e,v)}))}))));var e})}));const g=m.then((()=>j(c,!0))),y=g.then((()=>x(c,!0)));let E,P;const O=new Promise(((t,e)=>{E=t,P=e}));return p={mount:()=>C(Promise.resolve().then((()=>{if(c.status!==h)throw Error(u(13,!1,o,c.status));return n.parcels[r]=c,x(c)}))),unmount:()=>C(c.unmountThisParcel()),getStatus:()=>c.status,loadPromise:C(m),bootstrapPromise:C(g),mountPromise:C(y),unmountPromise:C(O)},p}function C(t){return t.then((()=>null))}function k(e){const n=T(e);let r="function"==typeof e.customProps?e.customProps(n,window.location):e.customProps;("object"!=typeof r||null===r||Array.isArray(r))&&(r={},console.warn(u(40,!1),n,r));const o=N({},r,{name:n,mountParcel:W.bind(e),singleSpa:t});return b(e)&&(o.unmountSelf=e.unmountThisParcel),o}const F={bootstrap:{millis:4e3,dieOnTimeout:!1,warningMillis:1e3},mount:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},unmount:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},unload:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3},update:{millis:3e3,dieOnTimeout:!1,warningMillis:1e3}};function K(t,e,n){if("number"!=typeof t||t<=0)throw Error(u(16,!1));F.bootstrap={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function H(t,e,n){if("number"!=typeof t||t<=0)throw Error(u(17,!1));F.mount={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function J(t,e,n){if("number"!=typeof t||t<=0)throw Error(u(18,!1));F.unmount={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function Q(t,e,n){if("number"!=typeof t||t<=0)throw Error(u(19,!1));F.unload={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function V(t,e){const n=t.timeouts[e],r=n.warningMillis,o=A(t);return new Promise(((i,s)=>{let a=!1,c=!1;t[e](k(t)).then((t=>{a=!0,i(t)})).catch((t=>{a=!0,s(t)})),setTimeout((()=>f(1)),r),setTimeout((()=>f(!0)),n.millis);const l=u(31,!1,e,o,T(t),n.millis);function f(t){if(!a)if(!0===t)c=!0,n.dieOnTimeout?s(Error(l)):console.error(l);else if(!c){const e=t,o=e*r;console.warn(l),o+r<n.millis&&setTimeout((()=>f(e+1)),r)}}}))}function q(t){const e={};for(let n in F)e[n]=N({},F[n],t&&t[n]||{});return e}function z(t){return Promise.resolve().then((()=>{if(t.loadPromise)return t.loadPromise;if(t.status!==c&&t.status!==E)return t;let e,n;return t.status=l,t.loadPromise=Promise.resolve().then((()=>{const r=t.loadApp(k(t));if(!U(r))throw n=!0,Error(u(33,!1,T(t)));return r.then((n=>{let r;t.loadErrorTime=null,e=n,"object"!=typeof e&&(r=34),Object.prototype.hasOwnProperty.call(e,"bootstrap")&&!_(e.bootstrap)&&(r=35),_(e.mount)||(r=36),_(e.unmount)||(r=37);const i=A(e);if(r){let n;try{n=JSON.stringify(e)}catch(t){}return console.error(u(r,!1,i,T(t),n),e),o(void 0,t,v),t}return e.devtools&&e.devtools.overlays&&(t.devtools.overlays=N({},t.devtools.overlays,e.devtools.overlays)),t.status=f,t.bootstrap=D(e,"bootstrap"),t.mount=D(e,"mount"),t.unmount=D(e,"unmount"),t.unload=D(e,"unload"),t.timeouts=q(e.timeouts),delete t.loadPromise,t}))})).catch((e=>{let r;return delete t.loadPromise,n?r=v:(r=E,t.loadErrorTime=(new Date).getTime()),o(e,t,r),t}))}))}const X="undefined"!=typeof window,Y={hashchange:[],popstate:[]},Z=["hashchange","popstate"];function tt(t){let e;if("string"==typeof t)e=t;else if(this&&this.href)e=this.href;else{if(!(t&&t.currentTarget&&t.currentTarget.href&&t.preventDefault))throw Error(u(14,!1));e=t.currentTarget.href,t.preventDefault()}const n=ct(window.location.href),r=ct(e);0===e.indexOf("#")?window.location.hash=r.hash:n.host!==r.host&&r.host?window.location.href=e:r.pathname===n.pathname&&r.search===n.search?window.location.hash=r.hash:window.history.pushState(null,null,e)}function et(t){if(t){const e=t[0].type;Z.indexOf(e)>=0&&Y[e].forEach((e=>{try{e.apply(this,t)}catch(t){setTimeout((()=>{throw t}))}}))}}let nt;function rt(){Lt([],arguments)}function ot(t,e){return function(){const n=window.location.href,r=t.apply(this,arguments),o=window.location.href;return nt&&n===o||window.dispatchEvent(it(window.history.state,e)),r}}function it(t,e){let n;try{n=new PopStateEvent("popstate",{state:t})}catch(e){n=document.createEvent("PopStateEvent"),n.initPopStateEvent("popstate",!1,!1,t)}return n.singleSpa=!0,n.singleSpaTrigger=e,n}let st=null,ut=!1;function at(t){if(ut)throw Error(u(43,!1));nt=!t||!t.hasOwnProperty("urlRerouteOnly")||t.urlRerouteOnly,ut=!0,st=window.history.replaceState,window.addEventListener("hashchange",rt),window.addEventListener("popstate",rt);const e=window.addEventListener,n=window.removeEventListener;window.addEventListener=function(t,n){if(!("function"==typeof n&&Z.indexOf(t)>=0)||S(Y[t],(t=>t===n)))return e.apply(this,arguments);Y[t].push(n)},window.removeEventListener=function(t,e){return"function"==typeof e&&Z.indexOf(t)>=0&&(Y[t]=Y[t].filter((t=>t!==e))),n.apply(this,arguments)},window.history.pushState=ot(window.history.pushState,"pushState"),window.history.replaceState=ot(st,"replaceState")}function ct(t){const e=document.createElement("a");return e.href=t,e}X&&(window.singleSpaNavigate?console.warn(u(41,!1)):window.singleSpaNavigate=tt);let lt=!1;function ft(t=window.jQuery){if(t||window.$&&window.$.fn&&window.$.fn.jquery&&(t=window.$),t&&!lt){const e=t.fn.on,n=t.fn.off;t.fn.on=function(t,n){return pt.call(this,e,window.addEventListener,t,n,arguments)},t.fn.off=function(t,e){return pt.call(this,n,window.removeEventListener,t,e,arguments)},lt=!0}}function pt(t,e,n,r,o){return"string"!=typeof n?t.apply(this,o):(n.split(/\s+/).forEach((t=>{Z.indexOf(t)>=0&&(e(t,r),n=n.replace(t,""))})),""===n.trim()?this:t.apply(this,o))}const ht={};function mt(t){return Promise.resolve().then((()=>{const e=ht[T(t)];if(!e)return t;if(t.status===c)return dt(t,e),t;if(t.status===y)return e.promise.then((()=>t));if(t.status!==h&&t.status!==E)return t;const n=t.status===E?Promise.resolve():V(t,"unload");return t.status=y,n.then((()=>(dt(t,e),t))).catch((n=>(function(t,e,n){delete ht[T(t)],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,o(n,t,v),e.reject(n)}(t,e,n),t)))}))}function dt(t,e){delete ht[T(t)],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,t.status=c,e.resolve()}function wt(t,e,n,r){ht[T(t)]={app:t,resolve:n,reject:r},Object.defineProperty(ht[T(t)],"promise",{get:e})}function gt(t){return ht[t]}const yt=[];function Et(){return yt.filter(P).map(T)}function vt(){return yt.map(T)}function Pt(t){const e=S(yt,(e=>T(e)===t));return e?e.status:null}let Ot=!1;function Tt(t,e,n,r){const o=function(t,e,n,r){const o={name:null,loadApp:null,activeWhen:null,customProps:null};return"object"==typeof t?(function(t){if(Array.isArray(t)||null===t)throw Error(u(39,!1));const e=["name","app","activeWhen","customProps"],n=Object.keys(t).reduce(((t,n)=>e.indexOf(n)>=0?t:t.concat(n)),[]);if(0!==n.length)throw Error(u(38,!1,e.join(", "),n.join(", ")));if("string"!=typeof t.name||0===t.name.length)throw Error(u(20,!1));if("object"!=typeof t.app&&"function"!=typeof t.app)throw Error(u(20,!1));const r=t=>"string"==typeof t||"function"==typeof t;if(!(r(t.activeWhen)||Array.isArray(t.activeWhen)&&t.activeWhen.every(r)))throw Error(u(24,!1));if(!_t(t.customProps))throw Error(u(22,!1))}(t),o.name=t.name,o.loadApp=t.app,o.activeWhen=t.activeWhen,o.customProps=t.customProps):(function(t,e,n,r){if("string"!=typeof t||0===t.length)throw Error(u(20,!1));if(!e)throw Error(u(23,!1));if("function"!=typeof n)throw Error(u(24,!1));if(!_t(r))throw Error(u(22,!1))}(t,e,n,r),o.name=t,o.loadApp=e,o.activeWhen=n,o.customProps=r),o.loadApp="function"!=typeof(i=o.loadApp)?()=>Promise.resolve(i):i,o.customProps=function(t){return t||{}}(o.customProps),o.activeWhen=function(t){let e=Array.isArray(t)?t:[t];return e=e.map((t=>"function"==typeof t?t:Dt(t))),t=>e.some((e=>e(t)))}(o.activeWhen),o;var i}(t,e,n,r);if(Bt()||Ot||(Ot=!0,setTimeout((()=>{Bt()||console.warn(u(1,!1))}),5e3)),-1!==vt().indexOf(o.name))throw Error(u(21,!1,o.name));yt.push(N({loadErrorTime:null,status:c,parcels:{},devtools:{overlays:{options:{},selectors:[]}}},o)),X&&(ft(),Lt())}function bt(t=window.location){return yt.filter((e=>e.activeWhen(t))).map(T)}function At(t){if(0===yt.filter((e=>T(e)===t)).length)throw Error(u(25,!1,t));return(X?Nt(t,{waitForUnmount:!1}):Promise.resolve()).then((()=>{const e=yt.map(T).indexOf(t);yt.splice(e,1)}))}function Nt(t,e={waitForUnmount:!1}){if("string"!=typeof t)throw Error(u(26,!1));const n=S(yt,(e=>T(e)===t));if(!n)throw Error(u(27,!1,t));const r=gt(T(n));if(e&&e.waitForUnmount){if(r)return r.promise;{const t=new Promise(((e,r)=>{wt(n,(()=>t),e,r)}));return t}}{let t;return r?(t=r.promise,St(n,r.resolve,r.reject)):t=new Promise(((e,r)=>{wt(n,(()=>t),e,r),St(n,e,r)})),t}}function St(t,e,n){Promise.resolve().then((()=>{if(S(bt(),(e=>e===T(t))))return $t()})).then((()=>$(t).then(mt).then((()=>{e(),setTimeout((()=>{Lt()}))})))).catch(n)}function _t(t){return!t||"function"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)}function Dt(t,e){const n=function(t,e){let n=0,r=!1,o="^";"/"!==t[0]&&(t="/"+t);for(let e=0;e<t.length;e++){const n=t[e],o=r&&"/"===n;(!r&&":"===n||o)&&i(e)}return i(t.length),new RegExp(o,"i");function i(i){const s=t.slice(n,i).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");if(o+=r?"[^/]+/?":s,i===t.length)if(r)e&&(o+="$");else{const t=e?"":".*";o="/"===o.charAt(o.length-1)?`${o}${t}$`:`${o}(/${t})?(#.*)?$`}r=!r,n=i}}(t,e);return t=>{let e=t.origin;e||(e=`${t.protocol}//${t.host}`);const r=t.href.replace(e,"").replace(t.search,"").split("?")[0];return n.test(r)}}let Ut=!1,Mt=[],jt=X&&window.location.href;function $t(){return Lt()}function Lt(t=[],e,r=!1){if(Ut)return new Promise(((t,n)=>{Mt.push({resolve:t,reject:n,eventArguments:e})}));const{appsToUnload:o,appsToUnmount:i,appsToLoad:s,appsToMount:a}=function(){const t=[],e=[],n=[],r=[],o=(new Date).getTime();return yt.forEach((i=>{const s=i.status!==v&&O(i);switch(i.status){case E:s&&o-i.loadErrorTime>=200&&n.push(i);break;case c:case l:s&&n.push(i);break;case f:case h:!s&>(T(i))?t.push(i):s&&r.push(i);break;case d:s||e.push(i)}})),{appsToUnload:t,appsToUnmount:e,appsToLoad:n,appsToMount:r}}();let p,m=[],w=jt,g=jt=window.location.href;return Bt()?(Ut=!0,p=o.concat(s,i,a),Promise.resolve().then((()=>(S(0===p.length?"before-no-app-change":"before-app-change",A(!0)),S("before-routing-event",A(!0,{cancelNavigation:y})),Promise.all(m).then((n=>{if(n.some((t=>t)))return st.call(window.history,history.state,"",w.substring(location.origin.length)),jt=location.href,Ut=!1,Lt(t,e,!0);const r=o.map(mt),u=i.map($).map((t=>t.then(mt))).concat(r),c=Promise.all(u);c.then((()=>{S("before-mount-routing-event",A(!0))}),(t=>{throw t}));const l=s.map((t=>z(t).then((t=>Rt(t,c))))),f=a.filter((t=>s.indexOf(t)<0)).map((t=>Rt(t,c)));return c.catch((t=>{throw b(),t})).then((()=>(b(),Promise.all(l.concat(f)).catch((e=>{throw t.forEach((t=>t.reject(e))),e})).then(P).then((()=>{}),(t=>{throw t})))))})))))):(p=s,Promise.resolve().then((()=>{const t=s.map(z);return Promise.all(t).then(b).then((()=>[])).catch((t=>{throw b(),t})).finally((()=>{}))})));function y(t=!0){const e="function"==typeof(null==t?void 0:t.then)?t:Promise.resolve(t);m.push(e.catch((t=>(console.warn(Error(u(42,!1))),console.warn(t),!1))))}function P(){const e=Et();t.forEach((t=>t.resolve(e)));try{S(0===p.length?"no-app-change":"app-change",A()),S("routing-event",A())}catch(t){setTimeout((()=>{throw t}))}if(Ut=!1,Mt.length>0){const t=Mt;Mt=[],Lt(t)}return e}function b(){r||(t.forEach((t=>{et(t.eventArguments)})),et(e))}function A(t=!1,n){const r={},u={[d]:[],[h]:[],[c]:[],[v]:[]};t?(s.concat(a).forEach(((t,e)=>{f(t,d)})),o.forEach((t=>{f(t,c)})),i.forEach((t=>{f(t,h)}))):p.forEach((t=>{f(t)}));const l={detail:{newAppStatuses:r,appsByNewStatus:u,totalAppChanges:p.length,originalEvent:null==e?void 0:e[0],oldUrl:w,newUrl:g}};return n&&N(l.detail,n),l;function f(t,e){const n=T(t);e=e||Pt(n),r[n]=e,(u[e]=u[e]||[]).push(n)}}function S(t,e){r||window.dispatchEvent(new n(`single-spa:${t}`,e))}}function Rt(t,e){return O(t)?j(t).then((t=>e.then((()=>O(t)?x(t):t)))):e.then((()=>t))}let xt=!1;function It(t){xt=!0,X&&(at(t),Lt())}function Bt(){return xt}var Gt={getRawAppData:function(){return[...yt]},reroute:Lt,NOT_LOADED:c,toLoadPromise:z,toBootstrapPromise:j,unregisterApplication:At,getProfilerData:function(){return M}};X&&window.__SINGLE_SPA_DEVTOOLS__&&(window.__SINGLE_SPA_DEVTOOLS__.exposedMethods=Gt);export{p as BOOTSTRAPPING,l as LOADING_SOURCE_CODE,E as LOAD_ERROR,d as MOUNTED,m as MOUNTING,f as NOT_BOOTSTRAPPED,c as NOT_LOADED,h as NOT_MOUNTED,v as SKIP_BECAUSE_BROKEN,y as UNLOADING,g as UNMOUNTING,w as UPDATING,i as addErrorHandler,bt as checkActivityFunctions,ft as ensureJQuerySupport,vt as getAppNames,Pt as getAppStatus,Et as getMountedApps,G as mountRootParcel,tt as navigateToUrl,at as patchHistoryApi,Dt as pathToActiveWhen,Tt as registerApplication,s as removeErrorHandler,K as setBootstrapMaxTime,H as setMountMaxTime,Q as setUnloadMaxTime,J as setUnmountMaxTime,It as start,$t as triggerAppChange,Nt as unloadApplication,At as unregisterApplication};
//# sourceMappingURL=single-spa.min.js.map