ls-webbuilder
Version:
Can be used by projects to build a full standalone web application. Orders, concats, uglifies and transpiles the js or ts source and append some other assets like referenced html and css/less files
1 lines • 248 kB
JavaScript
var regeneratorRuntime=function(o){"use strict";var e=Object.prototype;var u=e.hasOwnProperty;var l;var t=typeof Symbol==="function"?Symbol:{};var i=t.iterator||"@@iterator";var r=t.asyncIterator||"@@asyncIterator";var n=t.toStringTag||"@@toStringTag";function a(e,t,r,n){var i=t&&t.prototype instanceof s?t:s;var o=Object.create(i.prototype);var a=new L(n||[]);o._invoke=P(e,r,a);return o}o.wrap=a;function c(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}var f="suspendedStart";var p="suspendedYield";var h="executing";var d="completed";var y={};function s(){}function v(){}function b(){}var g={};g[i]=function(){return this};var m=Object.getPrototypeOf;var w=m&&m(m(_([])));if(w&&w!==e&&u.call(w,i)){g=w}var k=b.prototype=s.prototype=Object.create(g);v.prototype=k.constructor=b;b.constructor=v;b[n]=v.displayName="GeneratorFunction";function x(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}o.isGeneratorFunction=function(e){var t=typeof e==="function"&&e.constructor;return t?t===v||(t.displayName||t.name)==="GeneratorFunction":false};o.mark=function(e){if(Object.setPrototypeOf){Object.setPrototypeOf(e,b)}else{e.__proto__=b;if(!(n in e)){e[n]="GeneratorFunction"}}e.prototype=Object.create(k);return e};o.awrap=function(e){return{__await:e}};function j(s){function l(e,t,r,n){var i=c(s[e],s,t);if(i.type==="throw"){n(i.arg)}else{var o=i.arg;var a=o.value;if(a&&typeof a==="object"&&u.call(a,"__await")){return Promise.resolve(a.__await).then(function(e){l("next",e,r,n)},function(e){l("throw",e,r,n)})}return Promise.resolve(a).then(function(e){o.value=e;r(o)},function(e){return l("throw",e,r,n)})}}var t;function e(r,n){function e(){return new Promise(function(e,t){l(r,n,e,t)})}return t=t?t.then(e,e):e()}this._invoke=e}x(j.prototype);j.prototype[r]=function(){return this};o.AsyncIterator=j;o.async=function(e,t,r,n){var i=new j(a(e,t,r,n));return o.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})};function P(a,s,l){var u=f;return function e(t,r){if(u===h){throw new Error("Generator is already running")}if(u===d){if(t==="throw"){throw r}return F()}l.method=t;l.arg=r;while(true){var n=l.delegate;if(n){var i=E(n,l);if(i){if(i===y)continue;return i}}if(l.method==="next"){l.sent=l._sent=l.arg}else if(l.method==="throw"){if(u===f){u=d;throw l.arg}l.dispatchException(l.arg)}else if(l.method==="return"){l.abrupt("return",l.arg)}u=h;var o=c(a,s,l);if(o.type==="normal"){u=l.done?d:p;if(o.arg===y){continue}return{value:o.arg,done:l.done}}else if(o.type==="throw"){u=d;l.method="throw";l.arg=o.arg}}}}function E(e,t){var r=e.iterator[t.method];if(r===l){t.delegate=null;if(t.method==="throw"){if(e.iterator.return){t.method="return";t.arg=l;E(e,t);if(t.method==="throw"){return y}}t.method="throw";t.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var n=c(r,e.iterator,t.arg);if(n.type==="throw"){t.method="throw";t.arg=n.arg;t.delegate=null;return y}var i=n.arg;if(!i){t.method="throw";t.arg=new TypeError("iterator result is not an object");t.delegate=null;return y}if(i.done){t[e.resultName]=i.value;t.next=e.nextLoc;if(t.method!=="return"){t.method="next";t.arg=l}}else{return i}t.delegate=null;return y}x(k);k[n]="Generator";k[i]=function(){return this};k.toString=function(){return"[object Generator]"};function O(e){var t={tryLoc:e[0]};if(1 in e){t.catchLoc=e[1]}if(2 in e){t.finallyLoc=e[2];t.afterLoc=e[3]}this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal";delete t.arg;e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}];e.forEach(O,this);this.reset(true)}o.keys=function(r){var n=[];for(var e in r){n.push(e)}n.reverse();return function e(){while(n.length){var t=n.pop();if(t in r){e.value=t;e.done=false;return e}}e.done=true;return e}};function _(t){if(t){var e=t[i];if(e){return e.call(t)}if(typeof t.next==="function"){return t}if(!isNaN(t.length)){var r=-1,n=function e(){while(++r<t.length){if(u.call(t,r)){e.value=t[r];e.done=false;return e}}e.value=l;e.done=true;return e};return n.next=n}}return{next:F}}o.values=_;function F(){return{value:l,done:true}}L.prototype={constructor:L,reset:function(e){this.prev=0;this.next=0;this.sent=this._sent=l;this.done=false;this.delegate=null;this.method="next";this.arg=l;this.tryEntries.forEach(S);if(!e){for(var t in this){if(t.charAt(0)==="t"&&u.call(this,t)&&!isNaN(+t.slice(1))){this[t]=l}}}},stop:function(){this.done=true;var e=this.tryEntries[0];var t=e.completion;if(t.type==="throw"){throw t.arg}return this.rval},dispatchException:function(r){if(this.done){throw r}var n=this;function e(e,t){o.type="throw";o.arg=r;n.next=e;if(t){n.method="next";n.arg=l}return!!t}for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t];var o=i.completion;if(i.tryLoc==="root"){return e("end")}if(i.tryLoc<=this.prev){var a=u.call(i,"catchLoc");var s=u.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc){return e(i.catchLoc,true)}else if(this.prev<i.finallyLoc){return e(i.finallyLoc)}}else if(a){if(this.prev<i.catchLoc){return e(i.catchLoc,true)}}else if(s){if(this.prev<i.finallyLoc){return e(i.finallyLoc)}}else{throw new Error("try statement without catch or finally")}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&u.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}if(i&&(e==="break"||e==="continue")&&i.tryLoc<=t&&t<=i.finallyLoc){i=null}var o=i?i.completion:{};o.type=e;o.arg=t;if(i){this.method="next";this.next=i.finallyLoc;return y}return this.complete(o)},complete:function(e,t){if(e.type==="throw"){throw e.arg}if(e.type==="break"||e.type==="continue"){this.next=e.arg}else if(e.type==="return"){this.rval=this.arg=e.arg;this.method="return";this.next="end"}else if(e.type==="normal"&&t){this.next=t}return y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e){this.complete(r.completion,r.afterLoc);S(r);return y}}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if(n.type==="throw"){var i=n.arg;S(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){this.delegate={iterator:_(e),resultName:t,nextLoc:r};if(this.method==="next"){this.arg=l}return y}};return o}(typeof module==="object"?module.exports:{});(function(I){var A=I.babelHelpers={};function D(e,t){this.v=e,this.k=t}A.OverloadYield=D;function G(r,n,e,t,i){var o={};return Object.keys(t).forEach(function(e){o[e]=t[e]}),o.enumerable=!!o.enumerable,o.configurable=!!o.configurable,("value"in o||o.initializer)&&(o.writable=!0),o=e.slice().reverse().reduce(function(e,t){return t(r,n,e)||e},o),i&&void 0!==o.initializer&&(o.value=o.initializer?o.initializer.call(i):void 0,o.initializer=void 0),void 0===o.initializer&&(Object.defineProperty(r,n,o),o=null),o}A.applyDecoratedDescriptor=G;function M(u,t,c,r,f,e){var _,F,p,h,d,n,i,o=Symbol.metadata||Symbol.for("Symbol.metadata"),T=Object.defineProperty,a=Object.create,H=[a(null),a(null)],s=t.length;function C(n,i,o){return function(e,t){i&&(t=e,e=u);for(var r=0;r<n.length;r++)t=n[r].apply(e,o?[t]:[]);return o?t:e}}function N(e,t,r,n){if("function"!=typeof e&&(n||void 0!==e))throw new TypeError(t+" must "+(r||"be")+" a function"+(n?"":" or undefined"));return e}function y(o,t,e,r,n,i,a,s,l,u,c){function f(e){if(!c(e))throw new TypeError("Attempted to access private element on non-instance")}var p=[].concat(t[0]),h=t[3],d=!a,y=1===n,v=3===n,b=4===n,g=2===n;function m(r,n,i){return function(e,t){return n&&(t=e,e=o),i&&i(e),w[r].call(e,t)}}if(!d){var w={},k=[],x=v?"get":b||y?"set":"value";if(l?(u||y?w={get:A.setFunctionName(function(){return h(this)},r,"get"),set:function(e){t[4](this,e)}}:w[x]=h,u||A.setFunctionName(w[x],r,g?"":x)):u||(w=Object.getOwnPropertyDescriptor(o,r)),!u&&!l){if((F=H[+s][r])&&7!=(F^n))throw Error("Decorating two elements with the same name ("+w[x].name+") is not supported yet");H[+s][r]=n<3?1:n}}for(var j=o,P=p.length-1;P>=0;P-=e?2:1){var E=N(p[P],"A decorator","be",!0),O=e?p[P-1]:void 0,S={},L={kind:["field","accessor","method","getter","setter","class"][n],name:r,metadata:_,addInitializer:function(e,t){if(e.v)throw new TypeError("attempted to call addInitializer after decoration was finished");N(t,"An initializer","be",!0),i.push(t)}.bind(null,S)};if(d)F=E.call(O,j,L),S.v=1,N(F,"class decorators","return")&&(j=F);else if(L.static=s,L.private=l,F=L.access={has:l?c.bind():function(e){return r in e}},b||(F.get=l?g?function(e){return f(e),w.value}:m("get",0,f):function(e){return e[r]}),g||v||(F.set=l?m("set",0,f):function(e,t){e[r]=t}),j=E.call(O,y?{get:w.get,set:w.set}:w[x],L),S.v=1,y){if("object"==typeof j&&j)(F=N(j.get,"accessor.get"))&&(w.get=F),(F=N(j.set,"accessor.set"))&&(w.set=F),(F=N(j.init,"accessor.init"))&&k.unshift(F);else if(void 0!==j)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else N(j,(u?"field":"method")+" decorators","return")&&(u?k.unshift(j):w[x]=j)}return n<2&&a.push(C(k,s,1),C(i,s,0)),u||d||(l?y?a.splice(-1,0,m("get",s),m("set",s)):a.push(g?w[x]:N.call.bind(w[x])):T(o,r,w)),j}function l(e){return T(e,o,{configurable:!0,enumerable:!0,value:_})}return void 0!==e&&(_=e[o]),_=a(null==_?null:_),d=[],n=function(e){e&&d.push(C(e))},i=function(e,t){for(var r=0;r<c.length;r++){var n=c[r],i=n[1],o=7&i;if((8&i)==e&&!o==t){var a=n[2],s=!!n[3],l=16&i;y(e?u:u.prototype,n,l,s?"#"+a:A.toPropertyKey(a),o,o<2?[]:e?h=h||[]:p=p||[],d,!!e,s,t,e&&s?function(e){return A.checkInRHS(e)===u}:f)}}},i(8,0),i(0,0),i(8,1),i(0,1),n(p),n(h),F=d,s||l(u),{e:F,get c(){var e=[];return s&&[l(u=y(u,[t],r,u.name,5,e)),C(e,1)]}}}A.applyDecs2311=M;function R(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}A.arrayLikeToArray=R;function B(e){if(Array.isArray(e))return e}A.arrayWithHoles=B;function z(e){if(Array.isArray(e))return A.arrayLikeToArray(e)}A.arrayWithoutHoles=z;function J(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}A.assertClassBrand=J;function q(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}A.assertThisInitialized=q;function Y(n){var e={},i=!1;function t(t,r){return i=!0,r=new Promise(function(e){e(n[t](r))}),{done:!1,value:new A.OverloadYield(r,1)}}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},e.next=function(e){return i?(i=!1,e):t("next",e)},"function"==typeof n.throw&&(e.throw=function(e){if(i)throw i=!1,e;return t("throw",e)}),"function"==typeof n.return&&(e.return=function(e){return i?(i=!1,e):t("return",e)}),e}A.asyncGeneratorDelegate=Y;function U(e){var t,r,n,i=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,n=Symbol.iterator);i--;){if(r&&null!=(t=e[r]))return t.call(e);if(n&&null!=(t=e[n]))return new o(t.call(e));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function o(e){function r(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var t=e.done;return Promise.resolve(e.value).then(function(e){return{value:e,done:t}})}return o=function(e){this.s=e,this.n=e.next},o.prototype={s:null,n:null,next:function(){return r(this.n.apply(this.s,arguments))},return:function(e){var t=this.s.return;return void 0===t?Promise.resolve({value:e,done:!0}):r(t.apply(this.s,arguments))},throw:function(e){var t=this.s.return;return void 0===t?Promise.reject(e):r(t.apply(this.s,arguments))}},new o(e)}A.asyncIterator=U;function l(e,t,r,n,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function X(s){return function(){var e=this,a=arguments;return new Promise(function(t,r){var n=s.apply(e,a);function i(e){l(n,t,r,i,o,"next",e)}function o(e){l(n,t,r,i,o,"throw",e)}i(void 0)})}}A.asyncToGenerator=X;function W(e){return new A.OverloadYield(e,0)}A.awaitAsyncGenerator=W;function K(e,t,r){return t=A.getPrototypeOf(t),A.possibleConstructorReturn(e,A.isNativeReflectConstruct()?Reflect.construct(t,r||[],A.getPrototypeOf(e).constructor):t.apply(e,r))}A.callSuper=K;function $(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?typeof e:"null"));return e}A.checkInRHS=$;function V(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}A.checkPrivateRedeclaration=V;function Z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}A.classCallCheck=Z;function Q(e){throw new ReferenceError('Class "'+e+'" cannot be referenced in computed property keys.')}A.classNameTDZError=Q;function ee(e,t){return e.get(A.assertClassBrand(e,t))}A.classPrivateFieldGet2=ee;function te(e,t,r){A.checkPrivateRedeclaration(e,t),t.set(e,r)}A.classPrivateFieldInitSpec=te;function re(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}A.classPrivateFieldLooseBase=re;var ne=0;function ie(e){return"__private_"+ne+++"_"+e}A.classPrivateFieldLooseKey=ie;function oe(e,t,r){return e.set(A.assertClassBrand(e,t),r),r}A.classPrivateFieldSet2=oe;function ae(e,t,r){return r(A.assertClassBrand(e,t))}A.classPrivateGetter=ae;function se(e,t){A.checkPrivateRedeclaration(e,t),t.add(e)}A.classPrivateMethodInitSpec=se;function le(e,t,r,n){return t(A.assertClassBrand(e,r),n),n}A.classPrivateSetter=le;function ue(e,t,r){return A.assertClassBrand(t,e),r}A.classStaticPrivateMethodGet=ue;function ce(e,t,r){if(A.isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var i=new(e.bind.apply(e,n));return r&&A.setPrototypeOf(i,r.prototype),i}A.construct=ce;function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,A.toPropertyKey(n.key),n)}}function fe(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}A.createClass=fe;function pe(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=A.unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}A.createForOfIteratorHelper=pe;function he(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=A.unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}A.createForOfIteratorHelperLoose=he;function de(n){var i=A.isNativeReflectConstruct();return function(){var e,t=A.getPrototypeOf(n);if(i){var r=A.getPrototypeOf(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return A.possibleConstructorReturn(this,e)}}A.createSuper=de;function ye(e,t,r,n){var i=u();if(n)for(var o=0;o<n.length;o++)i=n[o](i);var a=t(function(e){i.initializeInstanceElements(e,s.elements)},r),s=i.decorateClass(ge(a.d.map(ve)),e);return i.initializeClassElements(a.F,s.elements),i.runClassFinishers(a.F,s.finishers)}function u(){u=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(r,e){["method","field"].forEach(function(t){e.forEach(function(e){e.kind===t&&"own"===e.placement&&this.defineClassElement(r,e)},this)},this)},initializeClassElements:function(i,e){var o=i.prototype;["method","field"].forEach(function(n){e.forEach(function(e){var t=e.placement;if(e.kind===n&&("static"===t||"prototype"===t)){var r="static"===t?i:o;this.defineClassElement(r,e)}},this)},this)},defineClassElement:function(e,t){var r=t.descriptor;if("field"===t.kind){var n=t.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===n?void 0:n.call(e)}}Object.defineProperty(e,t.key,r)},decorateClass:function(e,t){var r=[],n=[],i={static:[],prototype:[],own:[]};if(e.forEach(function(e){this.addElementPlacement(e,i)},this),e.forEach(function(e){if(!a(e))return r.push(e);var t=this.decorateElement(e,i);r.push(t.element),r.push.apply(r,t.extras),n.push.apply(n,t.finishers)},this),!t)return{elements:r,finishers:n};var o=this.decorateConstructor(r,t);return n.push.apply(n,o.finishers),o.finishers=n,o},addElementPlacement:function(e,t,r){var n=t[e.placement];if(!r&&-1!==n.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");n.push(e.key)},decorateElement:function(e,t){for(var r=[],n=[],i=e.decorators,o=i.length-1;o>=0;o--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,i[o])(s)||s);e=l.element,this.addElementPlacement(e,t),l.finisher&&n.push(l.finisher);var u=l.extras;if(u){for(var c=0;c<u.length;c++)this.addElementPlacement(u[c],t);r.push.apply(r,u)}}return{element:e,finishers:n,extras:r}},decorateConstructor:function(e,t){for(var r=[],n=t.length-1;n>=0;n--){var i=this.fromClassDescriptor(e),o=this.toClassDescriptor((0,t[n])(i)||i);if(void 0!==o.finisher&&r.push(o.finisher),void 0!==o.elements){e=o.elements;for(var a=0;a<e.length-1;a++)for(var s=a+1;s<e.length;s++)if(e[a].key===e[s].key&&e[a].placement===e[s].placement)throw new TypeError("Duplicated element ("+e[a].key+")")}}return{elements:e,finishers:r}},fromElementDescriptor:function(e){var t={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(t.initializer=e.initializer),t},toElementDescriptors:function(e){if(void 0!==e)return A.toArray(e).map(function(e){var t=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),t},this)},toElementDescriptor:function(e){var t=e.kind+"";if("method"!==t&&"field"!==t)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+t+'"');var r=A.toPropertyKey(e.key),n=e.placement+"";if("static"!==n&&"prototype"!==n&&"own"!==n)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+n+'"');var i=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var o={kind:t,key:r,placement:n,descriptor:Object.assign({},i)};return"field"!==t?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(i,"get","The property descriptor of a field descriptor"),this.disallowProperty(i,"set","The property descriptor of a field descriptor"),this.disallowProperty(i,"value","The property descriptor of a field descriptor"),o.initializer=e.initializer),o},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:i(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var t={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(t,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),t},toClassDescriptor:function(e){var t=e.kind+"";if("class"!==t)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+t+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var r=i(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:r}},runClassFinishers:function(e,t){for(var r=0;r<t.length;r++){var n=(0,t[r])(e);if(void 0!==n){if("function"!=typeof n)throw new TypeError("Finishers must return a constructor.");e=n}}return e},disallowProperty:function(e,t,r){if(void 0!==e[t])throw new TypeError(r+" can't have a ."+t+" property.")}};return e}function ve(e){var t,r=A.toPropertyKey(e.key);"method"===e.kind?t={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?t={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?t={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(t={configurable:!0,writable:!0,enumerable:!0});var n={kind:"field"===e.kind?"field":"method",key:r,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:t};return e.decorators&&(n.decorators=e.decorators),"field"===e.kind&&(n.initializer=e.value),n}function be(e,t){void 0!==e.descriptor.get?t.descriptor.get=e.descriptor.get:t.descriptor.set=e.descriptor.set}function ge(e){for(var t=[],r=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},n=0;n<e.length;n++){var i,o=e[n];if("method"===o.kind&&(i=t.find(r))){if(s(o.descriptor)||s(i.descriptor)){if(a(o)||a(i))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");i.descriptor=o.descriptor}else{if(a(o)){if(a(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}be(o,i)}}else t.push(o)}return t}function a(e){return e.decorators&&e.decorators.length}function s(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function i(e,t){var r=e[t];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+t+"' to be a function");return r}A.decorate=ye;function me(e,t){for(var r=Object.getOwnPropertyNames(t),n=0;n<r.length;n++){var i=r[n],o=Object.getOwnPropertyDescriptor(t,i);o&&o.configurable&&void 0===e[i]&&Object.defineProperty(e,i,o)}return e}A.defaults=me;function we(e,t,r,n){var i={configurable:!0,enumerable:!0};return i[e]=n,Object.defineProperty(t,r,i)}A.defineAccessor=we;function ke(e,t,r){return(t=A.toPropertyKey(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}A.defineProperty=ke;function e(){return A.extends=e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.apply(null,arguments)}A.extends=e;function t(){return A.get=t="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var n=A.superPropBase(e,t);if(n){var i=Object.getOwnPropertyDescriptor(n,t);return i.get?i.get.call(arguments.length<3?e:r):i.value}},t.apply(null,arguments)}A.get=t;function r(e){return A.getPrototypeOf=r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}A.getPrototypeOf=r;function xe(e){return e}A.identity=xe;function je(i){var o=null,e=function(e){return function(){return e}},t=function(n){return function(e,t,r){return null===o&&(o=i()),n(o,t,r)}};return new Proxy({},{defineProperty:e(!1),deleteProperty:e(!1),get:t(Reflect.get),getOwnPropertyDescriptor:t(Reflect.getOwnPropertyDescriptor),getPrototypeOf:e(null),isExtensible:e(!1),has:t(Reflect.has),ownKeys:t(Reflect.ownKeys),preventExtensions:e(!0),set:e(!1),setPrototypeOf:e(!1)})}A.importDeferProxy=je;function Pe(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&A.setPrototypeOf(e,t)}A.inherits=Pe;function Ee(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,A.setPrototypeOf(e,t)}A.inheritsLoose=Ee;function Oe(e,t,r,n){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void 0})}A.initializerDefineProperty=Oe;function Se(e,t){throw Error("Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.")}A.initializerWarningHelper=Se;function Le(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}A.instanceof=Le;function _e(e){return e&&e.__esModule?e:{default:e}}A.interopRequireDefault=_e;function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}function Fe(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&{}.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,r&&r.set(e,n),n}A.interopRequireWildcard=Fe;function Te(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}A.isNativeFunction=Te;function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(A.isNativeReflectConstruct=f=function(){return!!e})()}A.isNativeReflectConstruct=f;function He(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}A.iterableToArray=He;function Ce(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}A.iterableToArrayLimit=Ce;var p;function Ne(e,t,r,n){p||(p="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var i=e&&e.defaultProps,o=arguments.length-3;if(t||0===o||(t={children:void 0}),1===o)t.children=n;else if(o>1){for(var a=Array(o),s=0;s<o;s++)a[s]=arguments[s+3];t.children=a}if(t&&i)for(var l in i)void 0===t[l]&&(t[l]=i[l]);else t||(t=i||{});return{$$typeof:p,type:e,key:void 0===r?null:""+r,ref:null,props:t,_owner:null}}A.jsx=Ne;function Ae(e,t,r){if(t&&!Array.isArray(t)&&"number"==typeof t.length){var n=t.length;return A.arrayLikeToArray(t,void 0!==r&&r<n?r:n)}return e(t,r)}A.maybeArrayLike=Ae;function Ie(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}A.newArrowCheck=Ie;function De(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}A.nonIterableRest=De;function Ge(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}A.nonIterableSpread=Ge;function Me(e){throw new TypeError("Cannot set property of null or undefined.")}A.nullishReceiverError=Me;function Re(e){if(null==e)throw new TypeError("Cannot destructure "+e)}A.objectDestructuringEmpty=Re;function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function Be(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?h(Object(r),!0).forEach(function(e){A.defineProperty(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}A.objectSpread2=Be;function ze(e,t){if(null==e)return{};var r,n,i=A.objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}A.objectWithoutProperties=ze;function Je(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}A.objectWithoutPropertiesLoose=Je;function qe(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return A.assertThisInitialized(e)}A.possibleConstructorReturn=qe;function Ye(e){throw new TypeError('"'+e+'" is read-only')}A.readOnlyError=Ye;function H(){"use strict";A.regeneratorRuntime=H=function(){return a};var u,a={},e=Object.prototype,c=e.hasOwnProperty,f=Object.defineProperty||function(e,t,r){e[t]=r.value},t="function"==typeof Symbol?Symbol:{},i=t.iterator||"@@iterator",r=t.asyncIterator||"@@asyncIterator",n=t.toStringTag||"@@toStringTag";function o(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{o({},"")}catch(u){o=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var i=t&&t.prototype instanceof l?t:l,o=Object.create(i.prototype),a=new F(n||[]);return f(o,"_invoke",{value:O(e,r,a)}),o}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}a.wrap=s;var h="suspendedStart",d="suspendedYield",y="executing",v="completed",b={};function l(){}function g(){}function m(){}var w={};o(w,i,function(){return this});var k=Object.getPrototypeOf,x=k&&k(k(T([])));x&&x!==e&&c.call(x,i)&&(w=x);var j=m.prototype=l.prototype=Object.create(w);function P(e){["next","throw","return"].forEach(function(t){o(e,t,function(e){return this._invoke(t,e)})})}function E(s,l){function u(e,t,r,n){var i=p(s[e],s,t);if("throw"!==i.type){var o=i.arg,a=o.value;return a&&"object"==typeof a&&c.call(a,"__await")?l.resolve(a.__await).then(function(e){u("next",e,r,n)},function(e){u("throw",e,r,n)}):l.resolve(a).then(function(e){o.value=e,r(o)},function(e){return u("throw",e,r,n)})}n(i.arg)}var t;f(this,"_invoke",{value:function(r,n){function e(){return new l(function(e,t){u(r,n,e,t)})}return t=t?t.then(e,e):e()}})}function O(o,a,s){var l=h;return function(e,t){if(l===y)throw Error("Generator is already running");if(l===v){if("throw"===e)throw t;return{value:u,done:!0}}for(s.method=e,s.arg=t;;){var r=s.delegate;if(r){var n=S(r,s);if(n){if(n===b)continue;return n}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if(l===h)throw l=v,s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);l=y;var i=p(o,a,s);if("normal"===i.type){if(l=s.done?v:d,i.arg===b)continue;return{value:i.arg,done:s.done}}"throw"===i.type&&(l=v,s.method="throw",s.arg=i.arg)}}}function S(e,t){var r=t.method,n=e.iterator[r];if(n===u)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=u,S(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var i=p(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,b;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=u),t.delegate=null,b):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,b)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function F(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function T(t){if(t||""===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,n=function e(){for(;++r<t.length;)if(c.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=u,e.done=!0,e};return n.next=n}}throw new TypeError(typeof t+" is not iterable")}return g.prototype=m,f(j,"constructor",{value:m,configurable:!0}),f(m,"constructor",{value:g,configurable:!0}),g.displayName=o(m,n,"GeneratorFunction"),a.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,o(e,n,"GeneratorFunction")),e.prototype=Object.create(j),e},a.awrap=function(e){return{__await:e}},P(E.prototype),o(E.prototype,r,function(){return this}),a.AsyncIterator=E,a.async=function(e,t,r,n,i){void 0===i&&(i=Promise);var o=new E(s(e,t,r,n),i);return a.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},P(j),o(j,n,"Generator"),o(j,i,function(){return this}),o(j,"toString",function(){return"[object Generator]"}),a.keys=function(e){var r=Object(e),n=[];for(var t in r)n.push(t);return n.reverse(),function e(){for(;n.length;){var t=n.pop();if(t in r)return e.value=t,e.done=!1,e}return e.done=!0,e}},a.values=T,F.prototype={constructor:F,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(_),!e)for(var t in this)"t"===t.charAt(0)&&c.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=u)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function e(e,t){return o.type="throw",o.arg=r,n.next=e,t&&(n.method="next",n.arg=u),!!t}for(var t=this.tryEntries.length-1;t>=0;--t){var i=this.tryEntries[t],o=i.completion;if("root"===i.tryLoc)return e("end");if(i.tryLoc<=this.prev){var a=c.call(i,"catchLoc"),s=c.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return e(i.catchLoc,!0);if(this.prev<i.finallyLoc)return e(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return e(i.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return e(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&c.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),_(r),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;_(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:T(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=u),b}},a}A.regeneratorRuntime=H;function d(e,t,r,n){return d="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(e,t,r,n){var i,o=A.superPropBase(e,t);if(o){if((i=Object.getOwnPropertyDescriptor(o,t)).set)return i.set.call(n,r),!0;if(!i.writable)return!1}if(i=Object.getOwnPropertyDescriptor(n,t)){if(!i.writable)return!1;i.value=r,Object.defineProperty(n,t,i)}else A.defineProperty(n,t,r);return!0},d(e,t,r,n)}function Ue(e,t,r,n,i){if(!d(e,t,r,n||e)&&i)throw new TypeError("failed to set property");return r}A.set=Ue;function Xe(e,t,r){"symbol"==typeof t&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:r?r+" "+t:t})}catch(e){}return e}A.setFunctionName=Xe;function y(e,t){return A.setPrototypeOf=y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}A.setPrototypeOf=y;function We(t){return function(){var e=t.apply(this,arguments);return e.next(),e}}A.skipFirstGeneratorNext=We;function Ke(e,t){return A.arrayWithHoles(e)||A.iterableToArrayLimit(e,t)||A.unsupportedIterableToArray(e,t)||A.nonIterableRest()}A.slicedToArray=Ke;function $e(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=A.getPrototypeOf(e)););return e}A.superPropBase=$e;function Ve(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}A.taggedTemplateLiteral=Ve;function Ze(e,t){return t||(t=e.slice(0)),e.raw=t,e}A.taggedTemplateLiteralLoose=Ze;function Qe(e){throw new ReferenceError(e+" is not defined - temporal dead zone")}A.tdz=Qe;function et(e,t){return e===A.temporalUndefined?A.tdz(t):e}A.temporalRef=et;function tt(){}A.temporalUndefined=tt;function rt(e){return A.arrayWithHoles(e)||A.iterableToArray(e)||A.unsupportedIterableToArray(e)||A.nonIterableRest()}A.toArray=rt;function nt(e){return A.arrayWithoutHoles(e)||A.iterableToArray(e)||A.unsupportedIterableToArray(e)||A.nonIterableSpread()}A.toConsumableArray=nt;function it(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}A.toPrimitive=it;function ot(e){var t=A.toPrimitive(e,"string");return"symbol"==typeof t?t:t+""}A.toPropertyKey=ot;function at(t,r,n){r||(r=[]);var i=r.length++;return Object.defineProperty({},"_",{set:function(e){r[i]=e,t.apply(n,r)}})}A.toSetter=at;function v(e){"@babel/helpers - typeof";return A.typeof=v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}A.typeof=v;function st(e,t){if(e){if("string"==typeof e)return A.arrayLikeToArray(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?A.arrayLikeToArray(e,t):void 0}}A.unsupportedIterableToArray=st;function lt(){var t="function"==typeof SuppressedError?SuppressedError:function(e,t){var r=Error();return r.name="SuppressedError",r.error=e,r.suppressed=t,r},o={},a=[];function e(e,t){if(null!=t){if(Object(t)!==t)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(e)var r=t[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(null==r&&(r=t[Symbol.dispose||Symbol.for("Symbol.dispose")]),"function"!=typeof r)throw new TypeError("Property [Symbol.dispose] is not a function.");a.push({v:t,d:r,a:e})}else e&&a.push({d:t,a:e});return t}return{e:o,u:e.bind(null,!1),a:e.bind(null,!0),d:function(){var r=this.e;function n(){for(;e=a.pop();)try{var e,t=e.d&&e.d.call(e.v);if(e.a)return Promise.resolve(t).then(n,i)}catch(e){return i(e)}if(r!==o)throw r}function i(e){return r=r!==o?new t(e,r):e,n()}return n()}}}A.usingCtx=lt;function ut(e){return function(){return new b(e.apply(this,arguments))}}function b(a){var o,s;function l(r,e){try{var n=a[r](e),i=n.value,o=i instanceof A.OverloadYield;Promise.resolve(o?i.v:i).then(function(e){if(o){var t="return"===r?"return":"next";if(!i.k||e.done)return l(t,e);e=a[t](e).value}u(n.done?"return":"normal",e)},function(e){l("throw",e)})}catch(e){u("throw",e)}}function u(e,t){switch(e){case"return":o.resolve({value:t,done:!0});break;case"throw":o.reject(t);break;default:o.resolve({value:t,done:!1})}(o=o.next)?l(o.key,o.arg):s=null}this._invoke=function(n,i){return new Promise(function(e,t){var r={key:n,arg:i,resolve:e,reject:t,next:null};s?s=s.next=r:(o=s=r,l(n,i))})},"function"!=typeof a.return&&(this.return=void 0)}b.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},b.prototype.next=function(e){return this._invoke("next",e)},b.prototype.throw=function(e){return this._invoke("throw",e)},b.prototype.return=function(e){return this._invoke("return",e)};A.wrapAsyncGenerator=ut;function g(e){var r="function"==typeof Map?new Map:void 0;return A.wrapNativeSuper=g=function(e){if(null===e||!A.isNativeFunction(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,t)}function t(){return A.construct(e,arguments,A.getPrototypeOf(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),A.setPrototypeOf(t,e)},g(e)}A.wrapNativeSuper=g;function m(){A.wrapRegExp=m=function(e,t){return new o(e,void 0,t)};var i=RegExp.prototype,a=new WeakMap;function o(e,t,r){var n=RegExp(e,t);return a.set(n,r||a.get(e)),A.setPrototypeOf(n,o.prototype)}function s(i,e){var o=a.get(e);return Object.keys(o).reduce(function(e,t){var r=o[t];if("number"==typeof r)e[t]=i[r];else{for(var n=0;void 0===i[r[n]]&&n+1<r.length;)n++;e[t]=i[r[n]]}return e},Object.create(null))}return A.inherits(o,RegExp),o.prototype.exec=function(e){var t=i.exec.call(this,e);if(t){t.groups=s(t,this);var r=t.indices;r&&(r.groups=s(r,this))}return t},o.prototype[Symbol.replace]=function(e,t){if("string"==typeof t){var n=a.get(this);return i[Symbol.replace].call(this,e,t.replace(/\$<([^>]+)>/g,function(e,t){var r=n[t];return"$"+(Array.isArray(r)?r.join("$"):r)}))}if("function"==typeof t){var r=this;return i[Symbol.replace].call(this,e,function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(s(e,r)),t.apply(this,e)})}return i[Symbol.replace].call(this,e,t)},m.apply(this,arguments)}A.wrapRegExp=m;function ct(e){throw new TypeError('"'+e+'" is write-only')}A.writeOnlyError=ct;function ft(e){this.wrapped=e}A.AwaitValue=ft;function w(o,a,s,l){return{getMetadata:function(e){P(l,"getMetadata"),E(e);var t=o[e];if(void 0!==t)if(1===a){var r=t.public;if(void 0!==r)return r[s]}else if(2===a){var n=t.private;if(void 0!==n)return n.get(s)}else if(Object.hasOwnProperty.call(t,"constructor"))return t.constructor},setMetadata:function(e,t){P(l,"setMetadata"),E(e);var r=o[e];if(void 0===r&&(r=o[e]={}),1===a){var n=r.public;void 0===n&&(n=r.public={}),n[s]=t}else if(2===a){var i=r.priv;void 0===i&&(i=r.private=new Map),i.set(s,t)}else r.constructor=t}}}function k(e,t){var r=e[Symbol.metadata||Symbol.for("Symbol.metadata")],n=Object.getOwnPropertySymbols(t);if(0!==n.length){for(var i=0;i<n.length;i++){var o=n[i],a=t[o],s=r?r[o]:null,l=a.public,u=s?s.public:null;l&&u&&Object.setPrototypeOf(l,u);var c=a.private;if(c){var f=Array.from(c.values()),p=s?s.private:null;p&&(f=f.concat(p)),a.private=f}s&&Object.setPrototypeOf(a,s)}r&&Object.setPrototypeOf(t,r),e[Symbol.metadata||Symbol.for("Symbol.metadata")]=t}}function x(t,r){return function(e){P(r,"addInitializer"),O(e,"An initializer"),t.push(e)}}function j(e,t,r,n,i,o,a,s,l){var u;switch(o){case 1:u="accessor";break;case 2:u="method";break;case 3:u="getter";break;case 4:u="setter";break;default:u="field"}var c,f,p={kind:u,name:s?"#"+t:A.toPropertyKey(t),isStatic:a,isPrivate:s},h={v:!1};if(0!==o&&(p.addInitializer=x(i,h)),s){c=2,f=Symbol(t);var d={};0===o?(d.get=r.get,d.set=r.set):2===o?d.get=function(){return r.value}:(1!==o&&3!==o||(d.get=function(){return r.get.call(this)}),1!==o&&4!==o||(d.set=function(e){r.set.call(this,e)})),p.access=d}else c=1,f=t;try{return e(l,Object.assign(p,w(n,c,f,h)))}finally{h.v=!0}}function P(e,t){if(e.v)throw Error("attempted to call "+t+" after decoration was finished")}function E(e){if("symbol"!=typeof e)throw new TypeError("Metadata keys must be symbols, received: "+e)}function O(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function S(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&O(t.get,"accessor.get"),void 0!==t.set&&O(t.set,"accessor.set"),void 0!==t.init&&O(t.init,"accessor.init"),void 0!==t.initializer&&O(t.initializer,"accessor.initializer")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function L(e){var t;return null==(t=e.init)&&(t=e.initializer)&&void 0!==console&&console.warn(".initializer has been renamed to .init as of March 2022"),t}function pt(e,t,r,n,i,o,a,s,l){var u,c,f,p,h,d,y,v=r[0];if(a?(0===i||1===i?(u={get:r[3],set:r[4]},f="get"):3===i?(u={get:r[3]},f="get"):4===i?(u={set:r[3]},f="set"):u={value:r[3]},0!==i&&(1===i&&A.setFunctionName(r[4],"#"+n,"set"),A.setFunctionName(r[3],"#"+n,f))):0!==i&&(u=Object.getOwnPropertyDescriptor(t,n)),1===i?p={get:u.get,set:u.set}:2===i?p=u.value:3===i?p=u.get:4===i&&(p=u.set),"function"==typeof v)void 0!==(h=j(v,n,u,s,l,i,o,a,p))&&(S(i,h),0===i?c=h:1===i?(c=L(h),d=h.get||p.get,y=h.set||p.set,p={get:d,set:y}):p=h);else for(var b=v.length-1;b>=0;b--){var g;void 0!==(h=j(v[b],n,u,s,l,i,o,a,p))&&(S(i,h),0===i?g=h:1===i?(g=L(h),d=h.get||p.get,y=h.set||p.set,p={get:d,set:y}):p=h,void 0!==g&&(void 0===c?c=g:"function"==typeof c?c=[c,g]:c.push(g)))}if(0===i||1===i){if(void 0===c)c=function(e,t){return t};else if("function"!=typeof c){var m=c;c=function(e,t){for(var r=t,n=0;n<m.length;n++)r=m[n].call(e,r);return r}}else{var w=c;c=function(e,t){return w.call(e,t)}}e.push(c)}0!==i&&(1===i?(u.get=p.get,u.set=p.set):2===i?u.value=p:3===i?u.get=p:4===i&&(u.set=p),a?1===i?(e.push(function(e,t){return p.get.call(e,t)}),e.push(function(e,t){return p.set.call(e,t)})):2===i?e.push(p):e.push(function(e,t){return p.call(e,t)}):Object.defineProperty(t,n,u))}function ht(e,t,r,n,i){for(var o,a,s=new Map,l=new Map,u=0;u<i.length;u++){var c=i[u];if(Array.isArray(c)){var f,p,h,d=c[1],y=c[2],v=c.length>3,b=d>=5;if(b?(f=t,p=n,0!=(d-=5)&&(h=a=a||[])):(f=t.prototype,p=r,0!==d&&(h=o=o||[])),0!==d&&!v){var g=b?l:s,m=g.get(y)||0;if(!0===m||3===m&&4!==d||4===m&&3!==d)throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: "+y);!m&&d>2?g.set(y,d):g.set(y,!0)}pt(e,f,c,y,d,b,v,p,h)}}_(e,o),_(e,a)}function _(e,r){r&&e.push(function(e){for(var t=0;t<r.length;t++)r[t].call(e);return e})}function dt(e,t,r,n){if(n.length>0){for(var i=[],o=t,a=t.name,s=n.length-1;s>=0;s--){var l={v:!1};try{var u=Object.assign({kind:"class",name:a,addInitializer:x(i,l)},w(r,0,a,l)),c=n[s](o,u)}finally{l.v=!0}void 0!==c&&(S(10,c),o=c)}e.push(o,function(){for(var e=0;e<i.length;e++)i[e].call(o)})}}function yt(e,t,r){var n=[],i={},o={};return ht(n,e,o,i,t),k(e.prototype,o),dt(n,e,i,r),k(e,i),n}A.applyDecs=yt;function vt(){function h(t,r){return function(e){!function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(r),n(e,"An initializer"),t.push(e)}}function m(e,t,r,n,i,o,a,s){var l;switch(i){case 1:l="accessor";break;case 2:l="method";break;case 3:l="getter";break;case 4:l="setter";break;default:l="field"}var u,c,f={kind:l,name:a?"#"+t:t,static:o,private:a},p={v:!1};0!==i&&(f.addInitializer=h(n,p)),0===i?a?(u=r.get,c=r.set):(u=function(){return this[t]},c=function(e){this[t]=e}):2===i?u=function(){return r.value}:(1!==i&&3!==i||(u=function(){return r.get.call(this)}),1!==i&&4!==i||(c=function(e){r.set.call(this,e)})),f.access=u&&c?{get:u,set:c}:u?{get:u}:{set:c};try{return e(s,f)}finally{p.v=!0}}function n(e,t){if("function"!=typeof e)throw new TypeError(t+" must be a function")}function w(e,t){var r=typeof t;if(1===e){if("object"!==r||null===t)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");void 0!==t.get&&n(t.get,"accessor.get"),void 0!==t.set&&n(t.set,"accessor.set"),void 0!==t.init&&n(t.init,"accessor.init")}else if("function"!==r)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function b(e,t,r,n,i,o,a,s){var l,u,c,f,p,h,d=r[0];if(a?l=0===i||1===i?{get:r[3],set:r[4]}:3===i?{get:r[3]}:4===i?{set:r[3]}:{value:r[3]}:0!==i&&(l=Object.getOwnPropertyDescriptor(t,n)),1===i?c={get:l.get,set:l.set}:2===i?c=l.value:3===i?c=l.get:4===i&&(c=l.set),"function"==typeof d)void 0!==(f=m(d,n,l,s,i,o,a,c))&&(w(i,f),0===i?u=f:1===i?(u=f.init,p=f.get||c.get,h=f.set||c.set,c={get:p,set:h}):c=f);else for(var y=d.length-1;y>=0;y--){var v;void 0!==(f=m(d[y],n,l,s,i,o,a,c))&&(w(i,f),0===i?v=f:1===i?(v=f.init,p=f.get||c.get,h=f.set||c.set,c={get:p,set:h}):c=f,void 0!==v&&(void 0===u?u=v:"function"==typeof u?u=[u,v]:u.push(v)))}if(0===i||1===i){if(void 0===u)u=function(e,t){return t};else if("function"!=typeof u){var b=u;u=function(e,t){for(var r=t,n=0;n<b.length;n++)r=b[n].call(e,r);return r}}else{var g=u;u=function(e,t){return g.call(e,t)}}e.push(u)}0!==i&&(1===i?(l.get=c.get,l.set=c.set):2===i?l.value=c:3===i?l.get=c:4===i&&(l.set=c),a?1===i?(e.push(function(e,t){return c.get.call(e,t)}),e.push(function(e,t){return c.set.call(e,t)})):2===i?e.push(c):e.push(function(e,t){return c.call(e,t)}):Object.defineProperty(t,n,l))}function g(e,r){r&&e.push(function(e){for(var t=0;t<r.length;t++)r[t].call(e);return e})}return function(e,t,r){var n=[];return function(e,t,r){for(var n,i,o=new Map,a=ne