UNPKG

gs-portal-components

Version:
6 lines 462 kB
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("gs-portal-components",[],e):"object"==typeof exports?exports["gs-portal-components"]=e():t["gs-portal-components"]=e()}("undefined"!=typeof self?self:this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=98)}([function(t,e,n){var r=n(61),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){"use strict";function r(t){return Object(o.a)(t)||Object(i.a)(t)||Object(a.a)(t)||Object(s.a)()}e.a=r;var o=n(105),i=n(106),a=n(59),s=n(107)},function(t,e,n){"use strict";function r(t){"@babel/helpers - typeof";return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}e.a=r},function(t,e,n){function r(t,e){var n=i(t,e);return o(n)?n:void 0}var o=n(127),i=n(130);t.exports=r},function(t,e,n){function r(t){if(!i(t))return!1;var e=o(t);return e==s||e==c||e==a||e==u}var o=n(11),i=n(1),a="[object AsyncFunction]",s="[object Function]",c="[object GeneratorFunction]",u="[object Proxy]";t.exports=r},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";function r(t,e,n,r,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise(function(o,i){function a(t){r(c,o,i,a,s,"next",t)}function s(t){r(c,o,i,a,s,"throw",t)}var c=t.apply(e,n);a(void 0)})}}e.a=o},function(t,e,n){var r=n(108)();t.exports=r;try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(t,e,n){function r(t){return null==t?void 0===t?c:s:u&&u in Object(t)?i(t):a(t)}var o=n(16),i=n(114),a=n(115),s="[object Null]",c="[object Undefined]",u=o?o.toStringTag:void 0;t.exports=r},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}e.a=o},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.a=r},function(t,e,n){"use strict";function r(t){return Array.isArray(t)?t:[t]}function o(t){k||(k=!0,M(function(){t(),k=!1}))}function i(t){var e=t.prototype&&t.prototype.constructor===t&&Object.getOwnPropertyNames(t.prototype).length>1;if(e)return!0;if(C.has(t))return C.get(t);var n=e;if(!n){var r=t.toString(),o=/^function\b\s[A-Z].*/,i=/^class\b/;n=o.test(r)||i.test(r)}return C.set(t,n),n}function a(t){if(P.has(t))return!0;var e="function"==typeof t&&t instanceof Function;return e&&P.set(t,e),e}function s(t,e){if(!t||!e)return!1;var n=A.get(t)||{};if(n[e])return n[e];var r=Object.getOwnPropertyDescriptor(t,e),o=Boolean(r&&!1===r.configurable&&(!1===r.writable||r.get&&!r.set));return n[e]=o,A.set(t,n),o}function c(t){if(L.has(t))return L.get(t);var e=0===t.name.indexOf("bound ")&&!t.hasOwnProperty("prototype");return L.set(t,e),e}function u(t,e){return function(n){var r;return r=-1!==n.indexOf("<head>")?n.replace("<head>","<".concat(I,">")).replace("</head>","</".concat(I,">")):"<".concat(I,"></").concat(I,">").concat(n),'<div id="'.concat(l(t),'" data-name="').concat(t,'" data-version="').concat(T.a,'" data-sandbox-cfg=').concat(JSON.stringify(e),">").concat(r,"</div>")}}function l(t){return"__qiankun_microapp_wrapper_for_".concat(_()(t),"__")}function f(t){var e=null!==t&&void 0!==t?t:{},n=e.bootstrap,r=e.mount,o=e.unmount;return w()(n)&&w()(r)&&w()(o)}function d(t){return"object"===Object(m.a)(t)&&(!t.strictStyleIsolation&&!!t.experimentalStyleIsolation)}function p(t,e){if(e.body.contains(t)){for(var n,r,o="",i=t;i!==e.documentElement;){for(n=0,r=i;r;)1===r.nodeType&&r.nodeName===i.nodeName&&(n+=1),r=r.previousSibling;o="*[name()='".concat(i.nodeName,"'][").concat(n,"]/").concat(o),i=i.parentNode}return o="/*[name()='".concat(e.documentElement.nodeName,"']/").concat(o),o=o.replace(/\/$/,"")}}function h(t){return"string"==typeof t?document.querySelector(t):t}function v(t){if(t){var e=h(t);if(e)return p(e,document)}}e.q=r,e.o=o,e.j=i,e.h=a,e.l=s,e.g=c,n.d(e,"i",function(){return D}),n.d(e,"p",function(){return I}),e.e=u,e.f=l,n.d(e,"n",function(){return R}),n.d(e,"m",function(){return N}),n.d(e,"b",function(){return H}),e.r=f,n.d(e,"a",function(){return $}),e.k=d,e.c=h,e.d=v;var m=n(5),g=n(12),y=n(13),b=n(7),w=n.n(b),x=n(207),S=n.n(x),O=n(214),_=n.n(O),E=n(225),j=n.n(E),T=n(226),M="function"==typeof window.__zone_symbol__setTimeout?window.__zone_symbol__setTimeout:function(t){return Promise.resolve().then(t)},k=!1,C=new WeakMap,P=new WeakMap,A=new WeakMap,L=new WeakMap,D=j()(function(){try{return new Function("const { a } = { a: 1 }")(),!0}catch(t){return!1}}),I="qiankun-head",R=new Function("return this")(),N=new Function("return document")(),z=S()(function(){return R.hasOwnProperty("__app_instance_name_map__")||Object.defineProperty(R,"__app_instance_name_map__",{enumerable:!1,configurable:!0,writable:!0,value:{}}),R.__app_instance_name_map__}),H=function(t){var e=z();return t in e?(e[t]++,"".concat(t,"_").concat(e[t])):(R.__app_instance_name_map__[t]=0,t)},$=Object(g.a)(function t(){var e=this;Object(y.a)(this,t),this.promise=void 0,this.resolve=void 0,this.reject=void 0,this.promise=new Promise(function(t,n){e.resolve=t,e.reject=n})});"undefined"!=typeof performance&&"function"==typeof performance.mark&&"function"==typeof performance.clearMarks&&"function"==typeof performance.measure&&"function"==typeof performance.clearMeasures&&performance.getEntriesByName},function(t,e,n){"use strict";(function(t){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e,n){var r=u(t,e,n);dt.length?dt.forEach(function(t){return t(r)}):setTimeout(function(){throw r})}function a(t){if("function"!=typeof t)throw Error(c(28,!1));dt.push(t)}function s(t){if("function"!=typeof t)throw Error(c(29,!1));var e=!1;return dt=dt.filter(function(n){var r=n===t;return e=e||r,!r}),e}function c(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return"single-spa minified message #".concat(t,": ").concat(e?e+" ":"","See https://single-spa.js.org/error/?code=").concat(t).concat(r.length?"&arg=".concat(r.join("&arg=")):"")}function u(t,e,n){var r,o="".concat(h(e)," '").concat(d(e),"' died in status ").concat(e.status,": ");if(t instanceof Error){try{t.message=o+t.message}catch(t){}r=t}else{console.warn(c(30,!1,e.status,d(e)));try{r=Error(o+JSON.stringify(t))}catch(e){r=t}}return r.appOrParcelName=d(e),e.status=n,r}function l(t){return t.status===bt}function f(t){try{return t.activeWhen(window.location)}catch(e){return i(e,t,_t),!1}}function d(t){return t.name}function p(t){return Boolean(t.unmountThisParcel)}function h(t){return p(t)?"parcel":"application"}function v(){for(var t=arguments.length-1;t>0;t--)for(var e in arguments[t])"__proto__"!==e&&(arguments[t-1][e]=arguments[t][e]);return arguments[0]}function m(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return t[n];return null}function g(t){return t&&("function"==typeof t||(e=t,Array.isArray(e)&&!m(e,function(t){return"function"!=typeof t})));var e}function y(t,e){var n=t[e]||[];0===(n=Array.isArray(n)?n:[n]).length&&(n=[function(){return Promise.resolve()}]);var r=h(t),o=d(t);return function(t){return n.reduce(function(n,i,a){return n.then(function(){var n=i(t);return b(n)?n:Promise.reject(c(15,!1,r,o,e,a))})},Promise.resolve())}}function b(t){return t&&"function"==typeof t.then&&"function"==typeof t.catch}function w(t,e){function n(){return t.status=gt,t}return Promise.resolve().then(function(){return t.status!==vt?t:(t.status=mt,t.bootstrap?P(t,"bootstrap").then(n).catch(function(n){if(e)throw u(n,t,_t);return i(n,t,_t),t}):Promise.resolve().then(n))})}function x(t,e){return Promise.resolve().then(function(){function n(){return P(t,"unmount").then(function(){t.status=gt}).catch(function(n){if(e)throw u(n,t,_t);i(n,t,_t)})}if(t.status!==bt)return t;t.status=xt;var r=Object.keys(t.parcels).map(function(e){return t.parcels[e].unmountThisParcel()});return Promise.all(r).then(n,function(r){return n().then(function(){var n=Error(r.message);if(e)throw u(n,t,_t);i(n,t,_t)})}).then(function(){return t})})}function S(t,e){return Promise.resolve().then(function(){return t.status!==gt?t:(Et||(window.dispatchEvent(new ft("single-spa:before-first-mount")),Et=!0),P(t,"mount").then(function(){return t.status=bt,jt||(window.dispatchEvent(new ft("single-spa:first-mount")),jt=!0),t}).catch(function(n){function r(){if(e)throw u(n,t,_t);return i(n,t,_t),t}return t.status=bt,x(t,!0).then(r,r)}))})}function O(){return _.apply(Mt,arguments)}function _(t,e){var n=this;if(!t||"object"!==r(t)&&"function"!=typeof t)throw Error(c(2,!1));if(t.name&&"string"!=typeof t.name)throw Error(c(3,!1,r(t.name)));if("object"!==r(e))throw Error(c(4,!1,name,r(e)));if(!e.domElement)throw Error(c(5,!1,name));var o,i=Tt++,a="function"==typeof t,s=a?t:function(){return Promise.resolve(t)},l={id:i,parcels:{},status:a?ht:vt,customProps:e,parentName:d(n),unmountThisParcel:function(){return m.then(function(){if(l.status!==bt)throw Error(c(6,!1,name,l.status));return x(l,!0)}).then(function(t){return l.parentName&&delete n.parcels[l.id],t}).then(function(t){return p(t),t}).catch(function(t){throw l.status=_t,h(t),t})}};n.parcels[i]=l;var f=s();if(!f||"function"!=typeof f.then)throw Error(c(7,!1));var p,h,v=(f=f.then(function(t){if(!t)throw Error(c(8,!1));var e=t.name||"parcel-".concat(i);if(Object.prototype.hasOwnProperty.call(t,"bootstrap")&&!g(t.bootstrap))throw Error(c(9,!1,e));if(!g(t.mount))throw Error(c(10,!1,e));if(!g(t.unmount))throw Error(c(11,!1,e));if(t.update&&!g(t.update))throw Error(c(12,!1,e));var n=y(t,"bootstrap"),r=y(t,"mount"),a=y(t,"unmount");l.status=vt,l.name=e,l.bootstrap=n,l.mount=r,l.unmount=a,l.timeouts=A(t.timeouts),t.update&&(l.update=y(t,"update"),o.update=function(t){return l.customProps=t,E(function(t){return Promise.resolve().then(function(){if(t.status!==bt)throw Error(c(32,!1,d(t)));return t.status=wt,P(t,"update").then(function(){return t.status=bt,t}).catch(function(e){throw u(e,t,_t)})})}(l))})})).then(function(){return w(l,!0)}),m=v.then(function(){return S(l,!0)}),b=new Promise(function(t,e){p=t,h=e});return o={mount:function(){return E(Promise.resolve().then(function(){if(l.status!==gt)throw Error(c(13,!1,name,l.status));return n.parcels[i]=l,S(l)}))},unmount:function(){return E(l.unmountThisParcel())},getStatus:function(){return l.status},loadPromise:E(f),bootstrapPromise:E(v),mountPromise:E(m),unmountPromise:E(b)}}function E(t){return t.then(function(){return null})}function j(t){var e=d(t),n="function"==typeof t.customProps?t.customProps(e,window.location):t.customProps;("object"!==r(n)||null===n||Array.isArray(n))&&(n={},console.warn(c(40,!1),e,n));var o=v({},n,{name:e,mountParcel:_.bind(t),singleSpa:ut});return p(t)&&(o.unmountSelf=t.unmountThisParcel),o}function T(t,e,n){if("number"!=typeof t||t<=0)throw Error(c(16,!1));kt.bootstrap={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function M(t,e,n){if("number"!=typeof t||t<=0)throw Error(c(17,!1));kt.mount={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function k(t,e,n){if("number"!=typeof t||t<=0)throw Error(c(18,!1));kt.unmount={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function C(t,e,n){if("number"!=typeof t||t<=0)throw Error(c(19,!1));kt.unload={millis:t,dieOnTimeout:e,warningMillis:n||1e3}}function P(t,e){var n=t.timeouts[e],r=n.warningMillis,o=h(t);return new Promise(function(i,a){function s(t){if(!u)if(!0===t)l=!0,n.dieOnTimeout?a(Error(f)):console.error(f);else if(!l){var e=t,o=e*r;console.warn(f),o+r<n.millis&&setTimeout(function(){return s(e+1)},r)}}var u=!1,l=!1;t[e](j(t)).then(function(t){u=!0,i(t)}).catch(function(t){u=!0,a(t)}),setTimeout(function(){return s(1)},r),setTimeout(function(){return s(!0)},n.millis);var f=c(31,!1,e,o,d(t),n.millis)})}function A(t){var e={};for(var n in kt)e[n]=v({},kt[n],t&&t[n]||{});return e}function L(t){return Promise.resolve().then(function(){return t.loadPromise?t.loadPromise:t.status!==pt&&t.status!==Ot?t:(t.status=ht,t.loadPromise=Promise.resolve().then(function(){var o=t.loadApp(j(t));if(!b(o))throw n=!0,Error(c(33,!1,d(t)));return o.then(function(n){var o;t.loadErrorTime=null,"object"!==r(e=n)&&(o=34),Object.prototype.hasOwnProperty.call(e,"bootstrap")&&!g(e.bootstrap)&&(o=35),g(e.mount)||(o=36),g(e.unmount)||(o=37);var a=h(e);if(o){var s;try{s=JSON.stringify(e)}catch(t){}return console.error(c(o,!1,a,d(t),s),e),i(void 0,t,_t),t}return e.devtools&&e.devtools.overlays&&(t.devtools.overlays=v({},t.devtools.overlays,e.devtools.overlays)),t.status=vt,t.bootstrap=y(e,"bootstrap"),t.mount=y(e,"mount"),t.unmount=y(e,"unmount"),t.unload=y(e,"unload"),t.timeouts=A(e.timeouts),delete t.loadPromise,t})}).catch(function(e){var r;return delete t.loadPromise,n?r=_t:(r=Ot,t.loadErrorTime=(new Date).getTime()),i(e,t,r),t}));var e,n})}function D(t){var 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(c(14,!1));e=t.currentTarget.href,t.preventDefault()}var n=H(window.location.href),r=H(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 I(t){var e=this;if(t){var n=t[0].type;At.indexOf(n)>=0&&Pt[n].forEach(function(n){try{n.apply(e,t)}catch(t){setTimeout(function(){throw t})}})}}function R(){ot([],arguments)}function N(t,e){return function(){var n=window.location.href,r=t.apply(this,arguments),o=window.location.href;return ct&&n===o||(st()?window.dispatchEvent(z(window.history.state,e)):ot([])),r}}function z(t,e){var n;try{n=new PopStateEvent("popstate",{state:t})}catch(e){(n=document.createEvent("PopStateEvent")).initPopStateEvent("popstate",!1,!1,t)}return n.singleSpa=!0,n.singleSpaTrigger=e,n}function H(t){var e=document.createElement("a");return e.href=t,e}function $(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.jQuery;if(t||window.$&&window.$.fn&&window.$.fn.jquery&&(t=window.$),t&&!It){var e=t.fn.on,n=t.fn.off;t.fn.on=function(t,n){return B.call(this,e,window.addEventListener,t,n,arguments)},t.fn.off=function(t,e){return B.call(this,n,window.removeEventListener,t,e,arguments)},It=!0}}function B(t,e,n,r,o){return"string"!=typeof n?t.apply(this,o):(n.split(/\s+/).forEach(function(t){At.indexOf(t)>=0&&(e(t,r),n=n.replace(t,""))}),""===n.trim()?this:t.apply(this,o))}function G(t){return Promise.resolve().then(function(){var e=Rt[d(t)];if(!e)return t;if(t.status===pt)return F(t,e),t;if(t.status===St)return e.promise.then(function(){return t});if(t.status!==gt&&t.status!==Ot)return t;var n=t.status===Ot?Promise.resolve():P(t,"unload");return t.status=St,n.then(function(){return F(t,e),t}).catch(function(n){return function(t,e,n){delete Rt[d(t)],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,i(n,t,_t),e.reject(n)}(t,e,n),t})})}function F(t,e){delete Rt[d(t)],delete t.bootstrap,delete t.mount,delete t.unmount,delete t.unload,t.status=pt,e.resolve()}function W(t,e,n,r){Rt[d(t)]={app:t,resolve:n,reject:r},Object.defineProperty(Rt[d(t)],"promise",{get:e})}function V(t){return Rt[t]}function U(){var t=[],e=[],n=[],r=[],o=(new Date).getTime();return Nt.forEach(function(i){var a=i.status!==_t&&f(i);switch(i.status){case Ot:a&&o-i.loadErrorTime>=200&&n.push(i);break;case pt:case ht:a&&n.push(i);break;case vt:case gt:!a&&V(d(i))?t.push(i):a&&r.push(i);break;case bt:a||e.push(i)}}),{appsToUnload:t,appsToUnmount:e,appsToLoad:n,appsToMount:r}}function q(){return Nt.filter(l).map(d)}function Y(){return Nt.map(d)}function K(t){var e=m(Nt,function(e){return d(e)===t});return e?e.status:null}function X(t,e,n,o){var i=function(t,e,n,o){var i,a={name:null,loadApp:null,activeWhen:null,customProps:null};return"object"===r(t)?(function(t){if(Array.isArray(t)||null===t)throw Error(c(39,!1));var e=["name","app","activeWhen","customProps"],n=Object.keys(t).reduce(function(t,n){return e.indexOf(n)>=0?t:t.concat(n)},[]);if(0!==n.length)throw Error(c(38,!1,e.join(", "),n.join(", ")));if("string"!=typeof t.name||0===t.name.length)throw Error(c(20,!1));if("object"!==r(t.app)&&"function"!=typeof t.app)throw Error(c(20,!1));var o=function(t){return"string"==typeof t||"function"==typeof t};if(!(o(t.activeWhen)||Array.isArray(t.activeWhen)&&t.activeWhen.every(o)))throw Error(c(24,!1));if(!et(t.customProps))throw Error(c(22,!1))}(t),a.name=t.name,a.loadApp=t.app,a.activeWhen=t.activeWhen,a.customProps=t.customProps):(function(t,e,n,r){if("string"!=typeof t||0===t.length)throw Error(c(20,!1));if(!e)throw Error(c(23,!1));if("function"!=typeof n)throw Error(c(24,!1));if(!et(r))throw Error(c(22,!1))}(t,e,n,o),a.name=t,a.loadApp=e,a.activeWhen=n,a.customProps=o),a.loadApp="function"!=typeof(i=a.loadApp)?function(){return Promise.resolve(i)}:i,a.customProps=function(t){return t||{}}(a.customProps),a.activeWhen=function(t){var e=Array.isArray(t)?t:[t];return e=e.map(function(t){return"function"==typeof t?t:nt(t)}),function(t){return e.some(function(e){return e(t)})}}(a.activeWhen),a}(t,e,n,o);if(-1!==Y().indexOf(i.name))throw Error(c(21,!1,i.name));Nt.push(v({loadErrorTime:null,status:pt,parcels:{},devtools:{overlays:{options:{},selectors:[]}}},i)),Ct&&($(),ot())}function Z(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location;return Nt.filter(function(e){return e.activeWhen(t)}).map(d)}function J(t){if(0===Nt.filter(function(e){return d(e)===t}).length)throw Error(c(25,!1,t));return Q(t).then(function(){var e=Nt.map(d).indexOf(t);Nt.splice(e,1)})}function Q(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{waitForUnmount:!1};if("string"!=typeof t)throw Error(c(26,!1));var n=m(Nt,function(e){return d(e)===t});if(!n)throw Error(c(27,!1,t));var r,o=V(d(n));if(e&&e.waitForUnmount){if(o)return o.promise;var i=new Promise(function(t,e){W(n,function(){return i},t,e)});return i}return o?(r=o.promise,tt(n,o.resolve,o.reject)):r=new Promise(function(t,e){W(n,function(){return r},t,e),tt(n,t,e)}),r}function tt(t,e,n){x(t).then(G).then(function(){e(),setTimeout(function(){ot()})}).catch(n)}function et(t){return!t||"function"==typeof t||"object"===r(t)&&null!==t&&!Array.isArray(t)}function nt(t,e){var n=function(t,e){function n(n){var a=t.slice(r,n).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&");if(i+=o?"[^/]+/?":a,n===t.length)if(o)e&&(i+="$");else{var s=e?"":".*";i="/"===i.charAt(i.length-1)?"".concat(i).concat(s,"$"):"".concat(i,"(/").concat(s,")?(#.*)?$")}o=!o,r=n}var r=0,o=!1,i="^";"/"!==t[0]&&(t="/"+t);for(var a=0;a<t.length;a++){var s=t[a];(!o&&":"===s||o&&"/"===s)&&n(a)}return n(t.length),new RegExp(i,"i")}(t,e);return function(t){var e=t.origin;e||(e="".concat(t.protocol,"//").concat(t.host));var r=t.href.replace(e,"").replace(t.search,"").split("?")[0];return n.test(r)}}function rt(){return ot()}function ot(){function t(){h=!0}function e(){var t=q();i.forEach(function(e){return e.resolve(t)});try{var e=0===s.length?"single-spa:no-app-change":"single-spa:app-change";window.dispatchEvent(new ft(e,r())),window.dispatchEvent(new ft("single-spa:routing-event",r()))}catch(t){setTimeout(function(){throw t})}if(zt=!1,Ht.length>0){var n=Ht;Ht=[],ot(n)}return t}function n(){i.forEach(function(t){I(t.eventArguments)}),I(a)}function r(){function t(t,e){var n=d(t);e=e||K(n),i[n]=e,(c[e]=c[e]||[]).push(n)}var e,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1?arguments[1]:void 0,i={},c=(o(e={},bt,[]),o(e,gt,[]),o(e,pt,[]),o(e,_t,[]),e);n?(f.concat(p).forEach(function(e,n){t(e,bt)}),u.forEach(function(e){t(e,pt)}),l.forEach(function(e){t(e,gt)})):s.forEach(function(e){t(e)});var y={detail:{newAppStatuses:i,appsByNewStatus:c,totalAppChanges:s.length,originalEvent:null==a?void 0:a[0],oldUrl:m,newUrl:g,navigationIsCanceled:h}};return r&&v(y.detail,r),y}var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=arguments.length>1?arguments[1]:void 0;if(zt)return new Promise(function(t,e){Ht.push({resolve:t,reject:e,eventArguments:a})});var s,c=U(),u=c.appsToUnload,l=c.appsToUnmount,f=c.appsToLoad,p=c.appsToMount,h=!1,m=$t,g=$t=window.location.href;return st()?(zt=!0,s=u.concat(f,l,p),function(){return Promise.resolve().then(function(){if(window.dispatchEvent(new ft(0===s.length?"single-spa:before-no-app-change":"single-spa:before-app-change",r(!0))),window.dispatchEvent(new ft("single-spa:before-routing-event",r(!0,{cancelNavigation:t}))),h)return window.dispatchEvent(new ft("single-spa:before-mount-routing-event",r(!0))),e(),void D(m);var o=u.map(G),a=l.map(x).map(function(t){return t.then(G)}).concat(o),c=Promise.all(a);c.then(function(){window.dispatchEvent(new ft("single-spa:before-mount-routing-event",r(!0)))});var d=f.map(function(t){return L(t).then(function(t){return it(t,c)})}),v=p.filter(function(t){return f.indexOf(t)<0}).map(function(t){return it(t,c)});return c.catch(function(t){throw n(),t}).then(function(){return n(),Promise.all(d.concat(v)).catch(function(t){throw i.forEach(function(e){return e.reject(t)}),t}).then(e)})})}()):(s=f,function(){return Promise.resolve().then(function(){var t=f.map(L);return Promise.all(t).then(n).then(function(){return[]}).catch(function(t){throw n(),t})})}())}function it(t,e){return f(t)?w(t).then(function(t){return e.then(function(){return f(t)?S(t):t})}):e.then(function(){return t})}function at(t){var e;Bt=!0,t&&t.urlRerouteOnly&&(e=t.urlRerouteOnly,ct=e),Ct&&ot()}function st(){return Bt}n.d(e,"a",function(){return pt}),n.d(e,"b",function(){return Z}),n.d(e,"c",function(){return K}),n.d(e,"d",function(){return q}),n.d(e,"e",function(){return O}),n.d(e,"f",function(){return D}),n.d(e,"g",function(){return X}),n.d(e,"h",function(){return at});var ct,ut=Object.freeze({__proto__:null,get start(){return at},get ensureJQuerySupport(){return $},get setBootstrapMaxTime(){return T},get setMountMaxTime(){return M},get setUnmountMaxTime(){return k},get setUnloadMaxTime(){return C},get registerApplication(){return X},get unregisterApplication(){return J},get getMountedApps(){return q},get getAppStatus(){return K},get unloadApplication(){return Q},get checkActivityFunctions(){return Z},get getAppNames(){return Y},get pathToActiveWhen(){return nt},get navigateToUrl(){return D},get triggerAppChange(){return rt},get addErrorHandler(){return a},get removeErrorHandler(){return s},get mountRootParcel(){return O},get NOT_LOADED(){return pt},get LOADING_SOURCE_CODE(){return ht},get NOT_BOOTSTRAPPED(){return vt},get BOOTSTRAPPING(){return mt},get NOT_MOUNTED(){return gt},get MOUNTING(){return yt},get UPDATING(){return wt},get LOAD_ERROR(){return Ot},get MOUNTED(){return bt},get UNLOADING(){return St},get UNMOUNTING(){return xt},get SKIP_BECAUSE_BROKEN(){return _t}}),lt=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{}).CustomEvent,ft=function(){try{var t=new lt("cat",{detail:{foo:"bar"}});return"cat"===t.type&&"bar"===t.detail.foo}catch(t){}return!1}()?lt:"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},dt=[],pt="NOT_LOADED",ht="LOADING_SOURCE_CODE",vt="NOT_BOOTSTRAPPED",mt="BOOTSTRAPPING",gt="NOT_MOUNTED",yt="MOUNTING",bt="MOUNTED",wt="UPDATING",xt="UNMOUNTING",St="UNLOADING",Ot="LOAD_ERROR",_t="SKIP_BECAUSE_BROKEN",Et=!1,jt=!1,Tt=0,Mt={parcels:{}},kt={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}},Ct="undefined"!=typeof window,Pt={hashchange:[],popstate:[]},At=["hashchange","popstate"];if(Ct){window.addEventListener("hashchange",R),window.addEventListener("popstate",R);var Lt=window.addEventListener,Dt=window.removeEventListener;window.addEventListener=function(t,e){if(!("function"==typeof e&&At.indexOf(t)>=0)||m(Pt[t],function(t){return t===e}))return Lt.apply(this,arguments);Pt[t].push(e)},window.removeEventListener=function(t,e){if(!("function"==typeof e&&At.indexOf(t)>=0))return Dt.apply(this,arguments);Pt[t]=Pt[t].filter(function(t){return t!==e})},window.history.pushState=N(window.history.pushState,"pushState"),window.history.replaceState=N(window.history.replaceState,"replaceState"),window.singleSpaNavigate?console.warn(c(41,!1)):window.singleSpaNavigate=D}var It=!1,Rt={},Nt=[],zt=!1,Ht=[],$t=Ct&&window.location.href,Bt=!1;Ct&&setTimeout(function(){Bt||console.warn(c(1,!1))},5e3);var Gt={getRawAppData:function(){return[].concat(Nt)},reroute:ot,NOT_LOADED:pt,toLoadPromise:L,toBootstrapPromise:w,unregisterApplication:J};Ct&&window.__SINGLE_SPA_DEVTOOLS__&&(window.__SINGLE_SPA_DEVTOOLS__.exposedMethods=Gt)}).call(e,n(8))},function(t,e,n){var r=n(0),o=r.Symbol;t.exports=o},function(t,e,n){function r(t){return null!=t&&i(t.length)&&!o(t)}var o=n(7),i=n(73);t.exports=r},function(t,e,n){function r(t,e,n,r){var a=!n;n||(n={});for(var s=-1,c=e.length;++s<c;){var u=e[s],l=r?r(n[u],t[u],u,n,t):void 0;void 0===l&&(l=t[u]),a?i(n,u,l):o(n,u,l)}return n}var o=n(76),i=n(41);t.exports=r},function(t,e,n){function r(t){return a(t)?o(t,!0):i(t)}var o=n(77),i=n(152),a=n(17);t.exports=r},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r;!function(t){t.Proxy="Proxy",t.Snapshot="Snapshot",t.LegacyProxy="LegacyProxy"}(r||(r={}))},function(t,e){function n(){}t.exports=n},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}e.a=r},function(t,e){function n(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}t.exports=n},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(117),i=n(118),a=n(119),s=n(120),c=n(121);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=c,t.exports=r},function(t,e,n){function r(t,e){for(var n=t.length;n--;)if(o(t[n][0],e))return n;return-1}var o=n(26);t.exports=r},function(t,e){function n(t,e){return t===e||t!==t&&e!==e}t.exports=n},function(t,e,n){var r=n(6),o=r(Object,"create");t.exports=o},function(t,e,n){function r(t,e){var n=t.__data__;return o(e)?n["string"==typeof e?"string":"hash"]:n.map}var o=n(139);t.exports=r},function(t,e){function n(t){return function(e){return t(e)}}t.exports=n},function(t,e,n){function r(t){return a(t)?o(t):i(t)}var o=n(77),i=n(165),a=n(17);t.exports=r},function(t,e,n){"use strict";function r(){return c}function o(t){c=t}function i(){c=null}function a(t,e){if(Object(s.h)(e)&&!Object(s.g)(e)&&!Object(s.j)(e)){var n=u.get(e);if(n)return n;var r=Function.prototype.bind.call(e,t);if(Object.getOwnPropertyNames(e).forEach(function(t){r.hasOwnProperty(t)||Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(e,t))}),e.hasOwnProperty("prototype")&&!r.hasOwnProperty("prototype")&&Object.defineProperty(r,"prototype",{value:e.prototype,enumerable:!1,writable:!0}),"function"==typeof e.toString){var o=e.hasOwnProperty("toString")&&!r.hasOwnProperty("toString"),i=r.toString===Function.prototype.toString;if(o||i){var a=Object.getOwnPropertyDescriptor(o?e:Function.prototype,"toString");Object.defineProperty(r,"toString",Object.assign({},a,(null===a||void 0===a?void 0:a.get)?null:{value:function(){return e.toString()}}))}}return u.set(e,r),r}return e}e.b=r,e.d=o,e.a=i,e.c=a;var s=n(14),c=null,u=new WeakMap},function(t,e){function n(t,e){var n=t[1]||"",o=t[3];if(!o)return n;if(e&&"function"==typeof btoa){var i=r(o);return[n].concat(o.sources.map(function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"})).concat([i]).join("\n")}return[n].join("\n")}function r(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var r=n(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(t,e,n){function r(t){for(var e=0;e<t.length;e++){var n=t[e],r=l[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(i(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o<n.parts.length;o++)a.push(i(n.parts[o]));l[n.id]={id:n.id,refs:1,parts:a}}}}function o(){var t=document.createElement("style");return t.type="text/css",f.appendChild(t),t}function i(t){var e,n,r=document.querySelector('style[data-vue-ssr-id~="'+t.id+'"]');if(r){if(h)return v;r.parentNode.removeChild(r)}if(m){var i=p++;r=d||(d=o()),e=a.bind(null,r,i,!1),n=a.bind(null,r,i,!0)}else r=o(),e=s.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}function a(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=g(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function s(t,e){var n=e.css,r=e.media,o=e.sourceMap;if(r&&t.setAttribute("media",r),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var c="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!c)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var u=n(102),l={},f=c&&(document.head||document.getElementsByTagName("head")[0]),d=null,p=0,h=!1,v=function(){},m="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,n){h=n;var o=u(t,e);return r(o),function(e){for(var n=[],i=0;i<o.length;i++){var a=o[i],s=l[a.id];s.refs--,n.push(s)}e?(o=u(t,e),r(o)):o=[];for(var i=0;i<n.length;i++){var s=n[i];if(0===s.refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete l[s.id]}}}};var g=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e){t.exports=function(t,e,n,r,o,i){var a,s=t=t||{},c=typeof t.default;"object"!==c&&"function"!==c||(a=t,s=t.default);var u="function"==typeof s?s.options:s;e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId=o);var l;if(i?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},u._ssrRegister=l):r&&(l=r),l){var f=u.functional,d=f?u.render:u.beforeCreate;f?(u._injectStyles=l,u.render=function(t,e){return l.call(e),d(t,e)}):u.beforeCreate=d?[].concat(d,l):[l]}return{esModule:a,exports:s,options:u}}},function(t,e,n){"use strict";(function(t){/*! * vuex v3.6.2 * (c) 2021 Evan You * @license MIT */ function r(t){function e(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:e});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[e].concat(t.init):e,n.call(this,t)}}}function o(t){M&&(t._devtoolHook=M,M.emit("vuex:init",t),M.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(t,e){M.emit("vuex:mutation",t,e)},{prepend:!0}),t.subscribeAction(function(t,e){M.emit("vuex:action",t,e)},{prepend:!0}))}function i(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function a(t){return null!==t&&"object"==typeof t}function s(t){return t&&"function"==typeof t.then}function c(t,e){return function(){return t(e)}}function u(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return;u(t.concat(r),e.getChild(r),n.modules[r])}}function l(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function f(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;p(t,n,[],t._modules.root,!0),d(t,n,e)}function d(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,a={};i(o,function(e,n){a[n]=c(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})});var s=A.config.silent;A.config.silent=!0,t._vm=new A({data:{$$state:e},computed:a}),A.config.silent=s,t.strict&&b(t),r&&(n&&t._withCommit(function(){r._data.$$state=null}),A.nextTick(function(){return r.$destroy()}))}function p(t,e,n,r,o){var i=!n.length,a=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=r),!i&&!o){var s=w(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit(function(){A.set(s,c,r.state)})}var u=r.context=h(t,a,n);r.forEachMutation(function(e,n){m(t,a+n,e,u)}),r.forEachAction(function(e,n){var r=e.root?n:a+n,o=e.handler||e;g(t,r,o,u)}),r.forEachGetter(function(e,n){y(t,a+n,e,u)}),r.forEachChild(function(r,i){p(t,e,n.concat(i),r,o)})}function h(t,e,n){var r=""===e,o={dispatch:r?t.dispatch:function(n,r,o){var i=x(n,r,o),a=i.payload,s=i.options,c=i.type;return s&&s.root||(c=e+c),t.dispatch(c,a)},commit:r?t.commit:function(n,r,o){var i=x(n,r,o),a=i.payload,s=i.options,c=i.type;s&&s.root||(c=e+c),t.commit(c,a,s)}};return Object.defineProperties(o,{getters:{get:r?function(){return t.getters}:function(){return v(t,e)}},state:{get:function(){return w(t.state,n)}}}),o}function v(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach(function(o){if(o.slice(0,r)===e){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return t.getters[o]},enumerable:!0})}}),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function m(t,e,n,r){(t._mutations[e]||(t._mutations[e]=[])).push(function(e){n.call(t,r.state,e)})}function g(t,e,n,r){(t._actions[e]||(t._actions[e]=[])).push(function(e){var o=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return s(o)||(o=Promise.resolve(o)),t._devtoolHook?o.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):o})}function y(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)})}function b(t){t._vm.$watch(function(){return this._data.$$state},function(){},{deep:!0,sync:!0})}function w(t,e){return e.reduce(function(t,e){return t[e]},t)}function x(t,e,n){return a(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function S(t){A&&t===A||(A=t,r(A))}function O(t){return _(t)?Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}}):[]}function _(t){return Array.isArray(t)||a(t)}function E(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function j(t,e,n){return t._modulesNamespaceMap[n]}n.d(e,"a",function(){return I});var T="undefined"!=typeof window?window:void 0!==t?t:{},M=T.__VUE_DEVTOOLS_GLOBAL_HOOK__,k=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},C={namespaced:{configurable:!0}};C.namespaced.get=function(){return!!this._rawModule.namespaced},k.prototype.addChild=function(t,e){this._children[t]=e},k.prototype.removeChild=function(t){delete this._children[t]},k.prototype.getChild=function(t){return this._children[t]},k.prototype.hasChild=function(t){return t in this._children},k.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},k.prototype.forEachChild=function(t){i(this._children,t)},k.prototype.forEachGetter=function(t){this._rawModule.getters&&i(this._rawModule.getters,t)},k.prototype.forEachAction=function(t){this._rawModule.actions&&i(this._rawModule.actions,t)},k.prototype.forEachMutation=function(t){this._rawModule.mutations&&i(this._rawModule.mutations,t)},Object.defineProperties(k.prototype,C);var P=function(t){this.register([],t,!1)};P.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},P.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")},"")},P.prototype.update=function(t){u([],this.root,t)},P.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var o=new k(e,n);if(0===t.length)this.root=o;else{this.get(t.slice(0,-1)).addChild(t[t.length-1],o)}e.modules&&i(e.modules,function(e,o){r.register(t.concat(o),e,n)})},P.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],r=e.getChild(n);r&&r.runtime&&e.removeChild(n)},P.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var A,L=function(t){var e=this;void 0===t&&(t={}),!A&&"undefined"!=typeof window&&window.Vue&&S(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new P(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new A,this._makeLocalGettersCache=Object.create(null);var i=this,a=this,s=a.dispatch,c=a.commit;this.dispatch=function(t,e){return s.call(i,t,e)},this.commit=function(t,e,n){return c.call(i,t,e,n)},this.strict=r;var u=this._modules.root.state;p(this,u,[],this._modules.root),d(this,u),n.forEach(function(t){return t(e)}),(void 0!==t.devtools?t.devtools:A.config.devtools)&&o(this)},D={state:{configurable:!0}};D.state.get=function(){return this._vm._data.$$state},D.state.set=function(t){},L.prototype.commit=function(t,e,n){var r=this,o=x(t,e,n),i=o.type,a=o.payload,s=(o.options,{type:i,payload:a}),c=this._mutations[i];c&&(this._withCommit(function(){c.forEach(function(t){t(a)})}),this._subscribers.slice().forEach(function(t){return t(s,r.state)}))},L.prototype.dispatch=function(t,e){var n=this,r=x(t,e),o=r.type,i=r.payload,a={type:o,payload:i},s=this._actions[o];if(s){try{this._actionSubscribers.slice().filter(function(t){return t.before}).forEach(function(t){return t.before(a,n.state)})}catch(t){}var c=s.length>1?Promise.all(s.map(function(t){return t(i)})):s[0](i);return new Promise(function(t,e){c.then(function(e){try{n._actionSubscribers.filter(function(t){return t.after}).forEach(function(t){return t.after(a,n.state)})}catch(t){}t(e)},function(t){try{n._actionSubscribers.filter(function(t){return t.error}).forEach(function(e){return e.error(a,n.state,t)})}catch(t){}e(t)})})}},L.prototype.subscribe=function(t,e){return l(t,this._subscribers,e)},L.prototype.subscribeAction=function(t,e){return l("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},L.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch(function(){return t(r.state,r.getters)},e,n)},L.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},L.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),p(this,this.state,t,this._modules.get(t),n.preserveState),d(this,this.state)},L.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var n=w(e.state,t.slice(0,-1));A.delete(n,t[t.length-1])}),f(this)},L.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},L.prototype.hotUpdate=function(t){this._modules.update(t),f(this,!0)},L.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(L.prototype,D);var I=(E(function(t,e){var n={};return O(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=j(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof o?o.call(this,e,n):e[o]},n[r].vuex=!0}),n}),E(function(t,e){var n={};return O(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var i=j(this.$store,"mapMutations",t);if(!i)return;r=i.context.commit}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}}),n}),E(function(t,e){var n={};return O(e).forEach(function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){if(!t||j(this.$store,"mapGetters",t))return this.$store.getters[o]},n[r].vuex=!0}),n}),E(function(t,e){var n={};return O(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var i=j(this.$store,"mapActions",t);if(!i)return;r=i.context.dispatch}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}}),n}))}).call(e,n(8))},function(t,e,n){"use strict";function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach(function(e){Object(i.a)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}e.a=o;var i=n(22)},function(t,e,n){var r=n(113),o=n(2),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return o(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},function(t,e){function n(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}t.exports=n},function(t,e,n){var r=n(6),o=n(0),i=r(o,"Map");t.exports=i},function(t,e,n){function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}var o=n(131),i=n(138),a=n(140),s=n(141),c=n(142);r.prototype.clear=o,r.prototype.delete=i,r.prototype.get=a,r.prototype.has=s,r.prototype.set=c,t.exports=r},function(t,e,n){function r(t,e,n){"__proto__"==e&&o?o(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}var o=n(66);t.exports=r},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){function r(t){var e=new t.constructor(t.byteLength);return new o(e).set(new o(t)),e}var o=n(145);t.exports=r},function(t,e,n){var r=n(71),o=r(Object.getPrototypeOf,Object);t.exports=o},function(t,e){function n(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}var r=Object.prototype;t.exports=n},function(t,e,n){(function(t){var r=n(0),o=n(147),i="object"==typeof e&&e&&!e.nodeType&&e,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===i,c=s?r.Buffer:void 0,u=c?c.isBuffer:void 0,l=u||o;t.exports=l}).call(e,n(42)(t))},function(t,e,n){(function(t){var r=n(61),o="object"==typeof e&&e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o,s=a&&r.process,c=function(){try{var t=i&&i.require&&i.require("util").types;return t||s&&s.binding&&s.binding("util")}catch(t){}}();t.exports=c}).call(e,n(42)(t))},function(t,e){function n(t){return t}t.exports=n},function(t,e,n){"use strict";function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach(function(e){Object(h.a)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function i(t){return t}function a(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.fetch,o=void 0===r?w:r,i=t;return c(e,o).then(function(t){return i=e.reduce(function(e,n,r){return e=e.replace(Object(v.b)(n),x(n)?"".concat(n):"<style>/* ".concat(n," */").concat(t[r],"</style>"))},i)})}function s(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.proxy,o=n.strictGlobal,i=n.scopedGlobalVariables,a=void 0===i?[]:i,s=x(t)?"":"//# sourceURL=".concat(t,"\n"),c=a.length?"const {".concat(a.join(","),"}=this;"):"";return(0,eval)("window").proxy=r,o?c?";(function(){with(this){".concat(c).concat(e,"\n").concat(s,"}}).bind(window.proxy)();"):";(function(window, self, globalThis){with(window){;".concat(e,"\n").concat(s,"}}).bind(window.proxy)(window.proxy, window.proxy, window.proxy);"):";(function(window, self, globalThis){;".concat(e,"\n").concat(s,"}).bind(window.proxy)(window.proxy, window.proxy, window.proxy);")}function c(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w;return Promise.all(t.map(function(t){return x(t)?Object(m.d)(t):g[t]||(g[t]=e(t).then(function(t){return t.text()}))}))}function u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w,n=function(t,n){return y[t]||(y[t]=e(t,n).then(function(e){if(e.status>=400)throw new Error("".concat(t," load failed with status ").concat(e.status));return e.text()}))};return Promise.all(t.map(function(t){if("string"==typeof t)return x(t)?Object(m.d)(t):n(t);var e=t.src,r=t.async,o=t.crossOrigin,i=o?{credentials:"include"}:{};return r?{src:e,async:!0,content:new Promise(function(t,r){return Object(m.i)(function(){return n(e,i).then(t,r)})})}:n(e,i)}))}function l(t,e){setTimeout(function(){throw console.error(e),t})}function f(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.fetch,i=void 0===o?w:o,a=r.strictGlobal,c=void 0!==a&&a,f=r.success,d=r.error,p=void 0===d?function(){}:d,h=r.beforeExec,v=void 0===h?function(){}:h,g=r.afterExec,y=void 0===g?function(){}:g,b=r.scopedGlobalVariables,x=void 0===b?[]:b;return u(e,i).then(function(r){function o(e,r,o){"Evaluating script ".concat(e),"Evaluating Time Consuming: ".concat(e);if(e===t){Object(m.f)(c?n:window);try{a(e,r);o(n[Object(m.c)(c?n:window)]||{})}catch(t){throw console.error("[import-html-entry]: error occurs while executing entry script ".concat(e)),t}}else if("string"==typeof r)try{null!==e&&void 0!==e&&e.src?a(e.src,r):a(e,r)}catch(t){l(t,"[import-html-entry]: error occurs while executing normal script ".concat(e))}else r.async&&(null===r||void 0===r||r.content.then(function(t){return a(r.src,t)}).catch(function(t){l(t,"[import-html-entry]: error occurs while executing async script ".concat(r.src))}))}function i(n,a){if(n<e.length){o(e[n],r[n],a),t||n!==e.length-1?i(n+1,a):a()}}var a=function(t,e){var r=v(e,t)||e,o=s(t,r,{proxy:n,strictGlobal:c,scopedGlobalVariables:x});Object(m.b)(t,o),y(e,t)};return new Promise(function(t){return i(0,f||t)})}).catch(function(t){throw p(),t})}function d(t){var