fire.app/dist/index.js

2 lines
40 KiB
JavaScript

/*! For license information please see index.js.LICENSE.txt */
var fireapp;(()=>{var t={666:t=>{var e=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function f(t,e,n,r){var i=e&&e.prototype instanceof m?e:m,c=Object.create(i.prototype),u=new A(r||[]);return o(c,"_invoke",{value:L(t,n,u)}),c}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var h="suspendedStart",p="suspendedYield",y="executing",d="completed",v={};function m(){}function g(){}function b(){}var w={};s(w,c,(function(){return this}));var x=Object.getPrototypeOf,O=x&&x(x(R([])));O&&O!==n&&r.call(O,c)&&(w=O);var E=b.prototype=m.prototype=Object.create(w);function S(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function n(o,i,c,u){var a=l(t[o],t,i);if("throw"!==a.type){var s=a.arg,f=s.value;return f&&"object"==typeof f&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return n("throw",t,c,u)}))}u(a.arg)}var i;o(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,o){n(t,r,e,o)}))}return i=i?i.then(o,o):o()}})}function L(t,e,n){var r=h;return function(o,i){if(r===y)throw new Error("Generator is already running");if(r===d){if("throw"===o)throw i;return T()}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var u=P(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===h)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=y;var a=l(t,e,n);if("normal"===a.type){if(r=n.done?d:p,a.arg===v)continue;return{value:a.arg,done:n.done}}"throw"===a.type&&(r=d,n.method="throw",n.arg=a.arg)}}}function P(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,P(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=l(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var c=i.arg;return c?c.done?(n[t.resultName]=c.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):c:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function R(t){if(t){var n=t[c];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}return{next:T}}function T(){return{value:e,done:!0}}return g.prototype=b,o(E,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:g,configurable:!0}),g.displayName=s(b,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,s(t,a,"GeneratorFunction")),t.prototype=Object.create(E),t},t.awrap=function(t){return{__await:t}},S(j.prototype),s(j.prototype,u,(function(){return this})),t.AsyncIterator=j,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var c=new j(f(e,n,r,o),i);return t.isGeneratorFunction(n)?c:c.next().then((function(t){return t.done?t.value:c.next()}))},S(E),s(E,a,"Generator"),s(E,c,(function(){return this})),s(E,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=R,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(k),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return u.type="throw",u.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i],u=c.completion;if("root"===c.tryLoc)return o("end");if(c.tryLoc<=this.prev){var a=r.call(c,"catchLoc"),s=r.call(c,"finallyLoc");if(a&&s){if(this.prev<c.catchLoc)return o(c.catchLoc,!0);if(this.prev<c.finallyLoc)return o(c.finallyLoc)}else if(a){if(this.prev<c.catchLoc)return o(c.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return o(c.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=t,c.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),k(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:R(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.p="/fireapp/1.5.0/";var r={};(()=>{"use strict";function t(e){return t="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)}function e(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function i(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,h(r.key),r)}}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u(t){var e="function"==typeof Map?new Map:void 0;return u=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return a(t,arguments,l(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),f(r,t)},u(t)}function a(t,e,n){return a=s()?Reflect.construct.bind():function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&f(o,n.prototype),o},a.apply(null,arguments)}function s(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function f(t,e){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},f(t,e)}function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},l(t)}function h(e){var n=function(e,n){if("object"!==t(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,"string");if("object"!==t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===t(n)?n:String(n)}n.d(r,{default:()=>F}),function(){const t="undefined"!=typeof self,e="undefined"!=typeof document,n=t?self:global;let r;if(e){const t=document.querySelector("base[href]");t&&(r=t.href)}if(!r&&"undefined"!=typeof location){r=location.href.split("#")[0].split("?")[0];const t=r.lastIndexOf("/");-1!==t&&(r=r.slice(0,t+1))}const o=/\\/g;function i(t,e){if(-1!==t.indexOf("\\")&&(t=t.replace(o,"/")),"/"===t[0]&&"/"===t[1])return e.slice(0,e.indexOf(":")+1)+t;if("."===t[0]&&("/"===t[1]||"."===t[1]&&("/"===t[2]||2===t.length&&(t+="/"))||1===t.length&&(t+="/"))||"/"===t[0]){const n=e.slice(0,e.indexOf(":")+1);let r;if("/"===e[n.length+1]?"file:"!==n?(r=e.slice(n.length+2),r=r.slice(r.indexOf("/")+1)):r=e.slice(8):r=e.slice(n.length+("/"===e[n.length])),"/"===t[0])return e.slice(0,e.length-r.length-1)+t;const o=r.slice(0,r.lastIndexOf("/")+1)+t,i=[];let c=-1;for(let t=0;t<o.length;t++)-1!==c?"/"===o[t]&&(i.push(o.slice(c,t+1)),c=-1):"."===o[t]?"."!==o[t+1]||"/"!==o[t+2]&&t+2!==o.length?"/"===o[t+1]||t+1===o.length?t+=1:c=t:(i.pop(),t+=2):c=t;return-1!==c&&i.push(o.slice(c)),e.slice(0,e.length-r.length)+i.join("")}}function c(t,e){return i(t,e)||(-1!==t.indexOf(":")?t:i("./"+t,e))}function u(t,e){for(let n in e)t[n]=e[n];return t}function a(t,e,n,r,o){for(let c in t){const u=i(c,n)||c,a=t[c];if("string"!=typeof a)continue;const s=h(r,i(a,n)||a,o);s?e[u]=s:l(c,a,"bare specifier did not resolve")}}function s(t,e){if(e[t])return t;let n=t.length;do{const r=t.slice(0,n+1);if(r in e)return r}while(-1!==(n=t.lastIndexOf("/",n-1)))}function f(t,e){const n=s(t,e);if(n){const r=e[n];if(null===r)return;if(!(t.length>n.length&&"/"!==r[r.length-1]))return r+t.slice(n.length);l(n,r,"should have a trailing '/'")}}function l(t,e,n){console.warn("Package target "+n+", resolving target '"+e+"' for "+t)}function h(t,e,n){let r=n&&s(n,t.scopes);for(;r;){const n=f(e,t.scopes[r]);if(n)return n;r=s(r.slice(0,r.lastIndexOf("/")),t.scopes)}return f(e,t.imports)||-1!==e.indexOf(":")&&e}const p="undefined"!=typeof Symbol,y=p&&Symbol.toStringTag,d=p?Symbol():"@";function v(){this[d]={}}const m=v.prototype;function g(t){return t.id}function b(t,e,n){if(t.onload(n,e.id,e.d&&e.d.map(g)),n)throw n}let w;function x(t,e,n){let r=t[d][e];if(r)return r;const o=[],i=Object.create(null);y&&Object.defineProperty(i,y,{value:"Module"});let c=Promise.resolve().then((function(){return t.instantiate(e,n)})).then((function(n){if(!n)throw Error("Module "+e+" did not instantiate");const c=n[1]((function(t,e){r.h=!0;let n=!1;if("object"!=typeof t)t in i&&i[t]===e||(i[t]=e,n=!0);else{for(let e in t){let r=t[e];e in i&&i[e]===r||(i[e]=r,n=!0)}t.__esModule&&(i.__esModule=t.__esModule)}if(n)for(let t=0;t<o.length;t++)o[t](i);return e}),2===n[1].length?{import:function(n){return t.import(n,e)},meta:t.createContext(e)}:void 0);return r.e=c.execute||function(){},[n[0],c.setters||[]]}));c=c.catch((function(e){b(t,r,e)}));const u=c.then((function(n){return Promise.all(n[0].map((function(r,o){const i=n[1][o];return Promise.resolve(t.resolve(r,e)).then((function(n){const r=x(t,n,e);return Promise.resolve(r.I).then((function(){return i&&(r.i.push(i),!r.h&&r.I||i(r.n)),r}))}))}))).then((function(t){r.d=t}))}));return u.catch((function(t){r.e=null,r.er=t})),r=t[d][e]={id:e,i:o,n:i,I:c,L:u,h:!1,d:void 0,e:void 0,er:void 0,E:void 0,C:void 0}}function O(t,e,n){if(!n[e.id])return n[e.id]=!0,Promise.resolve(e.L).then((function(){return Promise.all(e.d.map((function(e){return O(t,e,n)})))}))}m.prepareImport=function(){},m.import=function(t,e){const n=this;return Promise.resolve(n.prepareImport()).then((function(){return n.resolve(t,e)})).then((function(t){const e=x(n,t);return e.C||function(t,e){return e.C=O(t,e,{}).then((function(){return S(t,e,{})})).then((function(){return e.n}))}(n,e)}))},m.createContext=function(t){return{url:t}},m.onload=function(){},m.register=function(t,e){w=[t,e]},m.getRegister=function(){const t=w;return w=void 0,t};const E=Object.freeze(Object.create(null));function S(t,e,n){if(n[e.id])return;if(n[e.id]=!0,!e.e){if(e.er)throw e.er;return e.E?e.E:void 0}let r;return e.d.forEach((function(o){try{const i=S(t,o,n);i&&(i.catch((function(n){b(t,e,n)})),(r=r||[]).push(i))}catch(n){b(t,e,n)}})),r?Promise.all(r).then(o):o();function o(){try{let n=e.e.call(E);if(n)return n=n.then((function(){e.C=e.n,e.E=null,b(t,e,null)}),(function(n){b(t,e,n)})),e.E=e.E||n;e.C=e.n,b(t,e,null)}catch(n){throw b(t,e,n),e.er=n,n}finally{e.L=e.I=void 0,e.e=null}}}n.System=new v;let j,L={imports:{},scopes:{}};e&&Array.prototype.forEach.call(document.querySelectorAll('script[type="systemjs-importmap"][src]'),(function(t){t._j=fetch(t.src).then((function(t){return t.json()}))})),m.prepareImport=function(){return j||(j=Promise.resolve(),e&&Array.prototype.forEach.call(document.querySelectorAll('script[type="systemjs-importmap"]'),(function(t){j=j.then((function(){return(t._j||t.src&&fetch(t.src).then((function(t){return t.json()}))||Promise.resolve(JSON.parse(t.innerHTML))).then((function(e){L=function(t,e,n){const r={imports:u({},n.imports),scopes:u({},n.scopes)};if(t.imports&&a(t.imports,r.imports,e,n,null),t.scopes)for(let o in t.scopes){const i=c(o,e);a(t.scopes[o],r.scopes[i]||(r.scopes[i]={}),e,n,i)}return r}(e,t.src||r,L)}))}))}))),j},m.resolve=function(t,e){return h(L,i(t,e=e||r)||t,e)||function(t,e){throw Error("Unable to resolve specifier '"+t+(e?"' from "+e:"'"))}(t,e)};const P=m.register;let _,k;function A(){Array.prototype.forEach.call(document.querySelectorAll("script[type=systemjs-module]"),(function(t){t.src&&System.import("import:"===t.src.slice(0,7)?t.src.slice(7):c(t.src,r))}))}m.register=function(t,e){P.call(this,t,e)},m.createScript=function(t){const e=document.createElement("script");return e.charset="utf-8",e.async=!0,e.crossOrigin="anonymous",e.src=t,e},e&&window.addEventListener("error",(function(t){_=t.filename,k=t.error})),m.instantiate=function(t,e){const n=this;return new Promise((function(r,o){const i=m.createScript(t);i.addEventListener("error",(function(){o(Error("Error loading "+t+(e?" from "+e:"")))})),i.addEventListener("load",(function(){document.head.removeChild(i),_===t?o(k):r(n.getRegister())})),document.head.appendChild(i)}))},e&&(window.addEventListener("DOMContentLoaded",A),A()),t&&"function"==typeof importScripts&&(m.instantiate=function(t){const e=this;return new Promise((function(n,r){try{importScripts(t)}catch(t){r(t)}n(e.getRegister())}))}),function(t){const e=t.System.constructor.prototype,n=-1!==navigator.userAgent.indexOf("Trident");let r,o,i;const c=e.import;e.import=function(e,u){return function(){r=o=void 0;for(let e in t)!t.hasOwnProperty(e)||!isNaN(e)&&e<t.length||n&&t[e]&&t[e].parent===window||(r?o||(o=e):r=e,i=e)}(),c.call(this,e,u)};const u=[[],function(){return{}}],a=e.getRegister;e.getRegister=function(){const e=a.call(this);if(e)return e;const c=function(){let e,c=0;for(let i in t)if(!(!t.hasOwnProperty(i)||!isNaN(i)&&i<t.length||n&&t[i]&&t[i].parent===window)){if(0===c&&i!==r||1===c&&i!==o)return i;c++,e=i}if(e!==i)return e}();if(!c)return u;let s;try{s=t[c]}catch(t){return u}return[[],function(t){return{execute:function(){t({default:s,__useDefault:!0})}}}]}}("undefined"!=typeof self?self:global),function(t){const e=t.System.constructor.prototype,n=e.instantiate,r=/\.(css|html|json|wasm)$/;e.shouldFetch=function(t){const e=t.split("?")[0].split("#")[0];return e.slice(e.lastIndexOf(".")).match(r)},e.fetch=function(t){return fetch(t)},e.instantiate=function(t,e){const r=this;return this.shouldFetch(t)?this.fetch(t).then((function(n){if(!n.ok)throw Error(n.status+" "+n.statusText+", loading "+t+(e?" from "+e:""));const o=n.headers.get("content-type");if(o.match(/^(text|application)\/(x-)?javascript(;|$)/))return n.text().then((function(t){return(0,eval)(t),r.getRegister()}));if(o.match(/^application\/json(;|$)/))return n.text().then((function(t){return[[],function(e){return{execute:function(){e("default",JSON.parse(t))}}}]}));if(o.match(/^text\/css(;|$)/))return n.text().then((function(t){return[[],function(e){return{execute:function(){const n=new CSSStyleSheet;n.replaceSync(t),e("default",n)}}}]}));if(o.match(/^application\/wasm(;|$)/))return(WebAssembly.compileStreaming?WebAssembly.compileStreaming(n):n.arrayBuffer().then(WebAssembly.compile)).then((function(t){const e=[],n=[],r={};return WebAssembly.Module.imports&&WebAssembly.Module.imports(t).forEach((function(t){const o=t.module;-1===e.indexOf(o)&&(e.push(o),n.push((function(t){r[o]=t})))})),[e,function(e){return{setters:n,execute:function(){return WebAssembly.instantiate(t,r).then((function(t){e(t.exports)}))}}}]}));throw new Error('Unknown module type "'+o+'"')})):n.apply(this,arguments)}}("undefined"!=typeof self?self:global);const R="undefined"!=typeof Symbol&&Symbol.toStringTag;m.get=function(t){const e=this[d][t];if(e&&null===e.e&&!e.E)return e.er?null:e.n},m.set=function(t,e){let n;R&&"Module"===e[R]?n=e:(n=Object.assign(Object.create(null),e),R&&Object.defineProperty(n,R,{value:"Module"}));const r=Promise.resolve(n),o=this[d][t]||(this[d][t]={id:t,i:[],h:!1,d:[],e:null,er:void 0,E:void 0});return!o.e&&!o.E&&(Object.assign(o,{n,I:void 0,L:void 0,C:r}),n)},m.has=function(t){return!!this[d][t]},m.delete=function(t){const e=this[d],n=e[t];if(!n||null!==n.e||n.E)return!1;let r=n.i;return n.d&&n.d.forEach((function(t){const e=t.i.indexOf(n);-1!==e&&t.i.splice(e,1)})),delete e[t],function(){const n=e[t];if(!n||!r||null!==n.e||n.E)return!1;r.forEach((function(t){n.i.push(t),t(n.n)})),r=null}};const T="undefined"!=typeof Symbol&&Symbol.iterator;m.entries=function(){const t=this,e=Object.keys(t[d]);let n,r,o=0;const i={next:function(){for(;void 0!==(r=e[o++])&&void 0===(n=t.get(r)););return{done:void 0===r,value:void 0!==r&&[r,n]}}};return i[T]=function(){return this},i}}(),function(t){const e=t.System.constructor.prototype,n=[[],function(){return{}}];function r(){throw Error("AMD require not supported.")}let o,i;function c(){}const u=["require","exports","module"];function a(t,e){const n={},o={exports:n},i=[],c=[];let u=0;for(let e=0;e<t.length;e++){const a=t[e],s=c.length;if("require"===a)i[e]=r,u++;else if("module"===a)i[e]=o,u++;else if("exports"===a)i[e]=n,u++;else{const t=e;c.push((function(e){i[t]=e.__useDefault?e.default:e}))}u&&(t[s]=a)}u&&(t.length-=u);const a=e;return[t,function(t){return t({default:n,__useDefault:!0}),{setters:c,execute:function(){o.exports=a.apply(n,i)||o.exports,n!==o.exports&&t("default",o.exports)}}}]}const s=e.import;let f;e.import=function(){return i=null,s.apply(this,arguments)};const l=e.register;e.register=function(t,e,n){f="string"==typeof t?n:e,l.apply(this,arguments)};const h=e.instantiate;e.instantiate=function(){return y=null,h.apply(this,arguments)};const p=e.getRegister;let y,d;function v(t,e){return t instanceof Array?[t,e]:"object"==typeof t?[[],function(){return t}]:"function"==typeof t?[u,t]:void 0}function m(t,e){i||(i=e),o=e,System.registerRegistry[t]=System.getRegister(),o=null}e.getRegister=function(){if(o)return o;const t=i;i=null;const e=p.call(this);if(e&&e[1]===f)return e;const r=y;return y=null,t||(r?a(r,d):e||n)},t.define=function(t,e,n){if("string"==typeof t){const r=v(e,n);if(y){if(!System.registerRegistry)throw Error("Include the named register extension for SystemJS named AMD support.");return m(t,a(r[0],r[1])),y=[],void(d=c)}System.registerRegistry&&m(t,a([].concat(r[0]),r[1])),t=e,e=n}const r=v(t,e);y=r[0],d=r[1]},t.define.amd={}}("undefined"!=typeof self?self:global),function(t){const e=t.System;c(e);const n=e.constructor.prototype,r=e.constructor,o=function(){r.call(this),c(this)};let i;function c(t){t.registerRegistry=Object.create(null)}o.prototype=n,e.constructor=o;const u=n.import;n.import=function(){return i=null,u.apply(this,arguments)};const a=n.register;n.register=function(t,e,n){if("string"!=typeof t)return a.apply(this,arguments);const r=[e,n];return this.registerRegistry[t]=r,i||(i=r),a.apply(this,arguments)};const s=n.resolve;n.resolve=function(t,e){try{return s.call(this,t,e)}catch(e){if(t in this.registerRegistry)return t;throw e}};const f=n.instantiate;n.instantiate=function(t,e){return this.registerRegistry[t]||f.call(this,t,e)};const l=n.getRegister;n.getRegister=function(){const t=l.call(this),e=i||t;return i=null,e}}("undefined"!=typeof self?self:global),function(t){const e=t.System.constructor.prototype;let n;const r=e.register;e.register=function(t,e,o){n="string"==typeof t?o:e,r.apply(this,arguments)};const o=e.getRegister;e.getRegister=function(){const t=o.call(this);if(!t||t[1]===n||0===t[1].length)return t;const e=t[1];return t[1]=function(t,n){let r,o=!1;const i=e.call(this,(function(e,n){"object"==typeof e&&e.__useDefault?(r=e.default,o=!0):"default"===e?r=n:"__useDefault"===e&&(o=!0),t(e,n)}),n),c=i.execute;return c&&(i.execute=function(){if(c.call(this),o&&"object"==typeof r)for(let e in r)"default"!==e&&t(e,r[e])}),i},t}}("undefined"!=typeof self?self:global),function(t){const e=t.System.constructor.prototype,n=e.instantiate;e.instantiate=function(t,e){if(".wasm"===t.slice(-5))return n.call(this,t,e);const r=this;return fetch(t,{credentials:"same-origin"}).then((function(t){if(!t.ok)throw Error("Fetch error: "+t.status+" "+t.statusText+(e?" loading from "+e:""));return t.text()})).then((function(e){return r.transform.call(this,t,e)})).then((function(e){return(0,eval)(e+"\n//# sourceURL="+t),r.getRegister()}))},e.transform=function(t,e){return e}}("undefined"!=typeof self?self:global),n(666);var p=function(n){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&f(t,e)}(d,n);var r,u,a,p,y=(a=d,p=s(),function(){var e,n=l(a);if(p){var r=l(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return function(e,n){if(n&&("object"===t(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return c(e)}(this,e)});function d(t){var n,r,i,u;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,d),r=c(n=y.call(this)),u=function(t){var r,i=(r=n.keys(),function(t){if(Array.isArray(t))return o(t)}(r)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(r)||e(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).reduce((function(e,r){var o=r.replace(/^\/?/,"/"),i=e?e.replace(/^\/?/,"/"):e;return n.startWithPath(t,o)&&n.startWithPath(o,i)?r:e}),void 0);return n.get(i)||n.get("/")||{version:""}},(i=h(i="findApp"))in r?Object.defineProperty(r,i,{value:u,enumerable:!0,configurable:!0,writable:!0}):r[i]=u,n.merge(t),n}return r=d,(u=[{key:"merge",value:function(t){var n=this;Object.entries(t).forEach((function(t){var r,o,i=(o=2,function(t){if(Array.isArray(t))return t}(r=t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,c,u=[],a=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;a=!1}else for(;!(a=(r=i.call(n)).done)&&(u.push(r.value),u.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{if(!a&&null!=n.return&&(c=n.return(),Object(c)!==c))return}finally{if(s)throw o}}return u}}(r,o)||e(r,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=i[0],u=i[1];return n.set(c,u)}))}},{key:"startWithPath",value:function(t,e){if(!e)return!0;var n=String(t).split("/");return String(e).split("/").reduce((function(t,e,r){return t&&n[r]===e}),!0)}}])&&i(r.prototype,u),Object.defineProperty(r,"prototype",{writable:!1}),d}(u(Map));function y(){return y=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},y.apply(this,arguments)}function d(t){return"/"===t.charAt(0)}function v(t,e){for(var n=e,r=n+1,o=t.length;r<o;n+=1,r+=1)t[n]=t[r];t.pop()}const m=function(t,e){void 0===e&&(e="");var n,r=t&&t.split("/")||[],o=e&&e.split("/")||[],i=t&&d(t),c=e&&d(e),u=i||c;if(t&&d(t)?o=r:r.length&&(o.pop(),o=o.concat(r)),!o.length)return"/";if(o.length){var a=o[o.length-1];n="."===a||".."===a||""===a}else n=!1;for(var s=0,f=o.length;f>=0;f--){var l=o[f];"."===l?v(o,f):".."===l?(v(o,f),s++):s&&(v(o,f),s--)}if(!u)for(;s--;s)o.unshift("..");!u||""===o[0]||o[0]&&d(o[0])||o.unshift("");var h=o.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};var g="Invariant failed";function b(t,e,n,r){var o;"string"==typeof t?(o=function(t){var e=t||"/",n="",r="",o=e.indexOf("#");-1!==o&&(r=e.substr(o),e=e.substr(0,o));var i=e.indexOf("?");return-1!==i&&(n=e.substr(i),e=e.substr(0,i)),{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}}(t),o.state=e):(void 0===(o=y({},t)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==e&&void 0===o.state&&(o.state=e));try{o.pathname=decodeURI(o.pathname)}catch(t){throw t instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):t}return n&&(o.key=n),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=m(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}var w=!("undefined"==typeof window||!window.document||!window.document.createElement);function x(t,e){e(window.confirm(t))}var O="popstate",E="hashchange";function S(){try{return window.history.state||{}}catch(t){return{}}}const j=function(t){void 0===t&&(t={}),w||function(t,e){throw new Error(g)}();var e,n,r=window.history,o=(-1===(e=window.navigator.userAgent).indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),c=t,u=c.forceRefresh,a=void 0!==u&&u,s=c.getUserConfirmation,f=void 0===s?x:s,l=c.keyLength,h=void 0===l?6:l,p=t.basename?function(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t}("/"===(n=t.basename).charAt(0)?n:"/"+n):"";function d(t){var e=t||{},n=e.key,r=e.state,o=window.location,i=o.pathname+o.search+o.hash;return p&&(i=function(t,e){return function(t,e){return 0===t.toLowerCase().indexOf(e.toLowerCase())&&-1!=="/?#".indexOf(t.charAt(e.length))}(t,e)?t.substr(e.length):t}(i,p)),b(i,r,n)}function v(){return Math.random().toString(36).substr(2,h)}var m,j,L=(m=null,j=[],{setPrompt:function(t){return m=t,function(){m===t&&(m=null)}},confirmTransitionTo:function(t,e,n,r){if(null!=m){var o="function"==typeof m?m(t,e):m;"string"==typeof o?"function"==typeof n?n(o,r):r(!0):r(!1!==o)}else r(!0)},appendListener:function(t){var e=!0;function n(){e&&t.apply(void 0,arguments)}return j.push(n),function(){e=!1,j=j.filter((function(t){return t!==n}))}},notifyListeners:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];j.forEach((function(t){return t.apply(void 0,e)}))}});function P(t){y(D,t),D.length=r.length,L.notifyListeners(D.location,D.action)}function _(t){(function(t){return void 0===t.state&&-1===navigator.userAgent.indexOf("CriOS")})(t)||R(d(t.state))}function k(){R(d(S()))}var A=!1;function R(t){A?(A=!1,P()):L.confirmTransitionTo(t,"POP",f,(function(e){e?P({action:"POP",location:t}):function(t){var e=D.location,n=I.indexOf(e.key);-1===n&&(n=0);var r=I.indexOf(t.key);-1===r&&(r=0);var o=n-r;o&&(A=!0,C(o))}(t)}))}var T=d(S()),I=[T.key];function N(t){return p+function(t){var e=t.pathname,n=t.search,r=t.hash,o=e||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}(t)}function C(t){r.go(t)}var F=0;function M(t){1===(F+=t)&&1===t?(window.addEventListener(O,_),i&&window.addEventListener(E,k)):0===F&&(window.removeEventListener(O,_),i&&window.removeEventListener(E,k))}var G=!1,D={length:r.length,action:"POP",location:T,createHref:N,push:function(t,e){var n="PUSH",i=b(t,e,v(),D.location);L.confirmTransitionTo(i,n,f,(function(t){if(t){var e=N(i),c=i.key,u=i.state;if(o)if(r.pushState({key:c,state:u},null,e),a)window.location.href=e;else{var s=I.indexOf(D.location.key),f=I.slice(0,s+1);f.push(i.key),I=f,P({action:n,location:i})}else window.location.href=e}}))},replace:function(t,e){var n="REPLACE",i=b(t,e,v(),D.location);L.confirmTransitionTo(i,n,f,(function(t){if(t){var e=N(i),c=i.key,u=i.state;if(o)if(r.replaceState({key:c,state:u},null,e),a)window.location.replace(e);else{var s=I.indexOf(D.location.key);-1!==s&&(I[s]=i.key),P({action:n,location:i})}else window.location.replace(e)}}))},go:C,goBack:function(){C(-1)},goForward:function(){C(1)},block:function(t){void 0===t&&(t=!1);var e=L.setPrompt(t);return G||(M(1),G=!0),function(){return G&&(G=!1,M(-1)),e()}},listen:function(t){var e=L.appendListener(t);return M(1),function(){M(-1),e()}}};return D}();function L(t){return L="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},L(t)}function P(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 _(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==L(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,"string");if("object"!==L(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===L(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var k=function(t){var e,n,r,o,i=(n=(e=t).config,r=e.navigations,o=e.features,{getConfig:function(){return n},getConfigValue:function(t){return n[t]},getNavigations:function(){return r},getNavigationsValue:function(t){return r[t]},getAllFeatures:function(){return o},getFeatures:function(t){return o[t]},getHistory:function(){return j}});System.set("root.scope",function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?P(Object(n),!0).forEach((function(e){_(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},i))};function A(t){return A="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},A(t)}function R(){R=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function a(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{a({},"")}catch(t){a=function(t,e,n){return t[e]=n}}function s(t,e,n,o){var i=e&&e.prototype instanceof h?e:h,c=Object.create(i.prototype),u=new j(o||[]);return r(c,"_invoke",{value:x(t,n,u)}),c}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var l={};function h(){}function p(){}function y(){}var d={};a(d,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(L([])));m&&m!==e&&n.call(m,i)&&(d=m);var g=y.prototype=h.prototype=Object.create(d);function b(t){["next","throw","return"].forEach((function(e){a(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(r,i,c,u){var a=f(t[r],t,i);if("throw"!==a.type){var s=a.arg,l=s.value;return l&&"object"==A(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){o("next",t,c,u)}),(function(t){o("throw",t,c,u)})):e.resolve(l).then((function(t){s.value=t,c(s)}),(function(t){return o("throw",t,c,u)}))}u(a.arg)}var i;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){o(t,n,e,r)}))}return i=i?i.then(r,r):r()}})}function x(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var u=O(c,n);if(u){if(u===l)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var a=f(t,e,n);if("normal"===a.type){if(r=n.done?"completed":"suspendedYield",a.arg===l)continue;return{value:a.arg,done:n.done}}"throw"===a.type&&(r="completed",n.method="throw",n.arg=a.arg)}}}function O(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,O(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),l;var o=f(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,l;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function L(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:P}}function P(){return{value:void 0,done:!0}}return p.prototype=y,r(g,"constructor",{value:y,configurable:!0}),r(y,"constructor",{value:p,configurable:!0}),p.displayName=a(y,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,a(t,u,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),a(w.prototype,c,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var c=new w(s(e,n,r,o),i);return t.isGeneratorFunction(n)?c:c.next().then((function(t){return t.done?t.value:c.next()}))},b(g),a(g,u,"Generator"),a(g,i,(function(){return this})),a(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=L,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return c.type="throw",c.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),a=n.call(i,"finallyLoc");if(u&&a){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!a)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=t,c.arg=e,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),S(n),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:L(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},t}function T(t,e,n,r,o,i,c){try{var u=t[i](c),a=u.value}catch(t){return void n(t)}u.done?e(a):Promise.resolve(a).then(r,o)}function I(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function c(t){T(i,r,o,c,u,"next",t)}function u(t){T(i,r,o,c,u,"throw",t)}c(void 0)}))}}var N=function(){var t=I(R().mark((function t(e){var n,r,o,i;return R().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,System.import(e);case 2:return n=t.sent,r=n.default,o=n.mount,i=n.unmount,t.abrupt("return",{component:r,mount:o,unmount:i});case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),C=document.getElementById("app");C||((C=document.createElement("div")).id="app");const F=function(){var t=I(R().mark((function t(e){var r,o,i,c,u,a,s,f,l,h,y,d;return R().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return f=function(){return f=I(R().mark((function t(){var e,r,o,c,a,s,f;return R().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=u.findApp(j.location.pathname),r="/".concat(e.name,"/").concat(e.version),n.p="".concat(i.baseUrl).concat(r).concat(n.p),o="".concat(i.baseUrl).concat(r,"/index.js"),t.next=6,N(o);case 6:return c=t.sent,a=c.component,s=c.mount,f=c.unmount,t.abrupt("return",{component:a,mount:s,unmount:f});case 11:case"end":return t.stop()}}),t)}))),f.apply(this,arguments)},s=function(){return f.apply(this,arguments)},r=e.apps,o=e.navigations,i=e.config,c=e.features,k({navigations:o,config:i,features:c}),u=new p(r),a=window.location.pathname,t.next=8,s();case 8:l=t.sent,h=l.component,y=l.mount,d=l.unmount,y(h.default,C),j.listen(function(){var t=I(R().mark((function t(e){var n;return R().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.pathname===a){t.next=8;break}return a=e.pathname,d(),t.next=5,s();case 5:(n=t.sent).mount(n.component.default,C),d=n.unmount;case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()})(),fireapp=r.default})();