function _OverloadYield(e,t){this.v=e,this.k=t}function _applyDecoratedDescriptor(e,t,r,n,o){var i={};return Object.keys(n).forEach((function(e){i[e]=n[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer?(Object.defineProperty(e,t,i),null):i}function _applyDecs2311(e,t,r,n,o,i){var a,s,c,u,l,f,p,d=Symbol.metadata||Symbol.for("Symbol.metadata"),y=Object.defineProperty,v=Object.create,h=[v(null),v(null)],b=t.length;function m(t,r,n){return function(o,i){r&&(i=o,o=e);for(var a=0;a=0;T-=r?2:1){var I=g(v[T],"A decorator","be",!0),F=r?v[T-1]:void 0,C={},x={kind:["field","accessor","method","getter","setter","class"][o],name:n,metadata:a,addInitializer:function(e,t){if(e.v)throw new TypeError("attempted to call addInitializer after decoration was finished");g(t,"An initializer","be",!0),i.push(t)}.bind(null,C)};if(_)s=I.call(F,k,x),C.v=1,g(s,"class decorators","return")&&(k=s);else if(x.static=u,x.private=l,s=x.access={has:l?p.bind():function(e){return n in e}},O||(s.get=l?E?function(e){return d(e),j.value}:S("get",0,d):function(e){return e[n]}),E||P||(s.set=l?S("set",0,d):function(e,t){e[n]=t}),k=I.call(F,w?{get:j.get,set:j.set}:j[D],x),C.v=1,w){if("object"==typeof k&&k)(s=g(k.get,"accessor.get"))&&(j.get=s),(s=g(k.set,"accessor.set"))&&(j.set=s),(s=g(k.init,"accessor.init"))&&A.unshift(s);else if(void 0!==k)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else g(k,(f?"field":"method")+" decorators","return")&&(f?A.unshift(k):j[D]=k)}return o<2&&c.push(m(A,u,1),m(i,u,0)),f||_||(l?w?c.splice(-1,0,S("get",u),S("set",u)):c.push(E?j[D]:g.call.bind(j[D])):y(e,n,j)),k}function w(e){return y(e,d,{configurable:!0,enumerable:!0,value:a})}return void 0!==i&&(a=i[d]),a=v(null==a?null:a),l=[],f=function(e){e&&l.push(m(e))},p=function(t,n){for(var i=0;ie.length)&&(t=e.length);for(var r=0,n=Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}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 i,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,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function _createForOfIteratorHelperLoose(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=_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.")}function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var r,n=_getPrototypeOf(e);if(t){var o=_getPrototypeOf(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return _possibleConstructorReturn(this,r)}}function _decorate(e,t,r,n){var o=_getDecoratorsApi();if(n)for(var i=0;i=0;i--){var a=t[e.placement];a.splice(a.indexOf(e.key),1);var s=this.fromElementDescriptor(e),c=this.toElementFinisherExtras((0,o[i])(s)||s);e=c.element,this.addElementPlacement(e,t),c.finisher&&n.push(c.finisher);var u=c.extras;if(u){for(var l=0;l=0;n--){var o=this.fromClassDescriptor(e),i=this.toClassDescriptor((0,t[n])(o)||o);if(void 0!==i.finisher&&r.push(i.finisher),void 0!==i.elements){e=i.elements;for(var a=0;a1){for(var a=Array(i),s=0;s3?(o=y===n)&&(c=i[(s=i[4])?5:(s=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&dn||n>y)&&(i[4]=r,i[5]=n,p.n=y,s=0))}if(o||r>1)return a;throw f=!0,n}return function(o,l,y){if(u>1)throw TypeError("Generator is already running");for(f&&1===l&&d(l,y),s=l,c=y;(t=s<2?e:c)||!f;){i||(s?s<3?(s>1&&(p.n=-1),d(s,c)):p.n=c:p.v=c);try{if(u=2,i){if(s||(o="next"),t=i[o]){if(!(t=t.call(i,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,s<2&&(s=0)}else 1===s&&(t=i.return)&&t.call(i),s<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),s=1);i=e}else if((t=(f=p.n<0)?c:r.call(n,p))!==a)break}catch(t){i=e,s=1,c=t}finally{u=1}}return{value:t,done:f}}}(r,o,i),!0),u}var a={};function s(){}function c(){}function u(){}t=Object.getPrototypeOf;var l=[][n]?t(t([][n]())):(_regeneratorDefine(t={},n,(function(){return this})),t),f=u.prototype=s.prototype=Object.create(l);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,_regeneratorDefine(e,o,"GeneratorFunction")),e.prototype=Object.create(f),e}return c.prototype=u,_regeneratorDefine(f,"constructor",u),_regeneratorDefine(u,"constructor",c),c.displayName="GeneratorFunction",_regeneratorDefine(u,o,"GeneratorFunction"),_regeneratorDefine(f),_regeneratorDefine(f,o,"Generator"),_regeneratorDefine(f,n,(function(){return this})),_regeneratorDefine(f,"toString",(function(){return"[object Generator]"})),(_regenerator=function(){return{w:i,m:p}})()}function _regeneratorAsync(e,t,r,n,o){var i=_regeneratorAsyncGen(e,t,r,n,o);return i.next().then((function(e){return e.done?e.value:i.next()}))}function _regeneratorAsyncGen(e,t,r,n,o){return new _regeneratorAsyncIterator(_regenerator().w(e,t,r,n),o||Promise)}function _regeneratorAsyncIterator(e,t){function r(n,o,i,a){try{var s=e[n](o),c=s.value;return c instanceof _OverloadYield?t.resolve(c.v).then((function(e){r("next",e,i,a)}),(function(e){r("throw",e,i,a)})):t.resolve(c).then((function(e){s.value=e,i(s)}),(function(e){return r("throw",e,i,a)}))}catch(e){a(e)}}var n;this.next||(_regeneratorDefine(_regeneratorAsyncIterator.prototype),_regeneratorDefine(_regeneratorAsyncIterator.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",(function(){return this}))),_regeneratorDefine(this,"_invoke",(function(e,o,i){function a(){return new t((function(t,n){r(e,i,t,n)}))}return n=n?n.then(a,a):a()}),!0)}function _regeneratorDefine(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}_regeneratorDefine=function(e,t,r,n){function i(t,r){_regeneratorDefine(e,t,(function(e){return this._invoke(t,r,e)}))}t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(i("next",0),i("throw",1),i("return",2))},_regeneratorDefine(e,t,r,n)}function _regeneratorKeys(e){var t=Object(e),r=[];for(var n in t)r.unshift(n);return function e(){for(;r.length;)if((n=r.pop())in t)return e.value=n,e.done=!1,e;return e.done=!0,e}}function _regeneratorValues(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}throw new TypeError(typeof e+" is not iterable")}function set(e,t,r,n){return set="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(e,t,r,n){var o,i=_superPropBase(e,t);if(i){if((o=Object.getOwnPropertyDescriptor(i,t)).set)return o.set.call(n,r),!0;if(!o.writable)return!1}if(o=Object.getOwnPropertyDescriptor(n,t)){if(!o.writable)return!1;o.value=r,Object.defineProperty(n,t,o)}else _defineProperty(n,t,r);return!0},set(e,t,r,n)}function _set(e,t,r,n,o){if(!set(e,t,r,n||e)&&o)throw new TypeError("failed to set property");return r}function _setFunctionName(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}function _setPrototypeOf(e,t){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_setPrototypeOf(e,t)}function _skipFirstGeneratorNext(e){return function(){var t=e.apply(this,arguments);return t.next(),t}}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _superPropBase(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=_getPrototypeOf(e)););return e}function _superPropGet(e,t,r,n){var o=_get(_getPrototypeOf(1&n?e.prototype:e),t,r);return 2&n&&"function"==typeof o?function(e){return o.apply(r,e)}:o}function _superPropSet(e,t,r,n,o,i){return _set(_getPrototypeOf(i?e.prototype:e),t,r,n,o)}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function _taggedTemplateLiteralLoose(e,t){return t||(t=e.slice(0)),e.raw=t,e}function _tdz(e){throw new ReferenceError(e+" is not defined - temporal dead zone")}function _temporalRef(e,t){return e===_temporalUndefined?_tdz(t):e}function _temporalUndefined(){}function _toArray(e){return _arrayWithHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableRest()}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _toPrimitive(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)}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"==typeof t?t:t+""}function _toSetter(e,t,r){t||(t=[]);var n=t.length++;return Object.defineProperty({},"_",{set:function(o){t[n]=o,e.apply(r,t)}})}function _tsRewriteRelativeImportExtensions(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+)?)\.([cm]?)ts$/i,(function(e,r,n,o,i){return r?t?".jsx":".js":!n||o&&i?n+o+"."+i.toLowerCase()+"js":e})):e}function _typeof(e){return _typeof="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},_typeof(e)}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _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)?_arrayLikeToArray(e,t):void 0}}function _usingCtx(){var e="function"==typeof SuppressedError?SuppressedError:function(e,t){var r=Error();return r.name="SuppressedError",r.error=e,r.suppressed=t,r},t={},r=[];function n(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 n=t[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(void 0===n&&(n=t[Symbol.dispose||Symbol.for("Symbol.dispose")],e))var o=n;if("function"!=typeof n)throw new TypeError("Object is not disposable.");o&&(n=function(){try{o.call(t)}catch(e){return Promise.reject(e)}}),r.push({v:t,d:n,a:e})}else e&&r.push({d:t,a:e});return t}return{e:t,u:n.bind(null,!1),a:n.bind(null,!0),d:function(){var n,o=this.e,i=0;function a(){for(;n=r.pop();)try{if(!n.a&&1===i)return i=0,r.push(n),Promise.resolve().then(a);if(n.d){var e=n.d.call(n.v);if(n.a)return i|=2,Promise.resolve(e).then(a,s)}else i|=1}catch(e){return s(e)}if(1===i)return o!==t?Promise.reject(o):Promise.resolve();if(o!==t)throw o}function s(r){return o=o!==t?new e(r,o):r,a()}return a()}}}function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments))}}function AsyncGenerator(e){var t,r;function n(t,r){try{var i=e[t](r),a=i.value,s=a instanceof _OverloadYield;Promise.resolve(s?a.v:a).then((function(r){if(s){var c="return"===t&&a.k?t:"next";if(!a.k||r.done)return n(c,r);r=e[c](r).value}o(!!i.done,r)}),(function(e){n("throw",e)}))}catch(e){o(2,e)}}function o(e,o){2===e?t.reject(o):t.resolve({value:o,done:e}),(t=t.next)?n(t.key,t.arg):r=null}this._invoke=function(e,o){return new Promise((function(i,a){var s={key:e,arg:o,resolve:i,reject:a,next:null};r?r=r.next=s:(t=r=s,n(e,o))}))},"function"!=typeof e.return&&(this.return=void 0)}function _wrapNativeSuper(e){var t="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(e){if(null===e||!_isNativeFunction(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return _construct(e,arguments,_getPrototypeOf(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(r,e)},_wrapNativeSuper(e)}function _wrapRegExp(){_wrapRegExp=function(e,t){return new r(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function r(e,n,o){var i=RegExp(e,n);return t.set(i,o||t.get(e)),_setPrototypeOf(i,r.prototype)}function n(e,r){var n=t.get(r);return Object.keys(n).reduce((function(t,r){var o=n[r];if("number"==typeof o)t[r]=e[o];else{for(var i=0;void 0===e[o[i]]&&i+1]+)(>|$)/g,(function(e,t,r){if(""===r)return e;var n=i[t];return Array.isArray(n)?"$"+n.join("$"):"number"==typeof n?"$"+n:""})))}if("function"==typeof o){var a=this;return e[Symbol.replace].call(this,r,(function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(n(e,a)),o.apply(this,e)}))}return e[Symbol.replace].call(this,r,o)},_wrapRegExp.apply(this,arguments)}function _writeOnlyError(e){throw new TypeError('"'+e+'" is write-only')}function _AwaitValue(e){this.wrapped=e}function old_createMetadataMethodsForProperty(e,t,r,n){return{getMetadata:function(o){old_assertNotFinished(n,"getMetadata"),old_assertMetadataKey(o);var i=e[o];if(void 0!==i)if(1===t){var a=i.public;if(void 0!==a)return a[r]}else if(2===t){var s=i.private;if(void 0!==s)return s.get(r)}else if(Object.hasOwnProperty.call(i,"constructor"))return i.constructor},setMetadata:function(o,i){old_assertNotFinished(n,"setMetadata"),old_assertMetadataKey(o);var a=e[o];if(void 0===a&&(a=e[o]={}),1===t){var s=a.public;void 0===s&&(s=a.public={}),s[r]=i}else if(2===t){var c=a.priv;void 0===c&&(c=a.private=new Map),c.set(r,i)}else a.constructor=i}}}function old_convertMetadataMapToFinal(e,t){var r=e[Symbol.metadata||Symbol.for("Symbol.metadata")],n=Object.getOwnPropertySymbols(t);if(0!==n.length){for(var o=0;o=0;b--){var m;void 0!==(d=old_memberDec(h[b],n,u,s,c,o,i,a,p))&&(old_assertValidReturnValue(o,d),0===o?m=d:1===o?(m=old_getInit(d),y=d.get||p.get,v=d.set||p.set,p={get:y,set:v}):p=d,void 0!==m&&(void 0===l?l=m:"function"==typeof l?l=[l,m]:l.push(m)))}if(0===o||1===o){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var g=l;l=function(e,t){for(var r=t,n=0;n3,b=y>=5;if(b?(f=t,p=n,0!=(y-=5)&&(d=a=a||[])):(f=t.prototype,p=r,0!==y&&(d=i=i||[])),0!==y&&!h){var m=b?c:s,g=m.get(v)||0;if(!0===g||3===g&&4!==y||4===g&&3!==y)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: "+v);!g&&y>2?m.set(v,y):m.set(v,!0)}old_applyMemberDec(e,f,l,v,y,b,h,p,d)}}old_pushInitializers(e,i),old_pushInitializers(e,a)}function old_pushInitializers(e,t){t&&e.push((function(e){for(var r=0;r0){for(var o=[],i=t,a=t.name,s=n.length-1;s>=0;s--){var c={v:!1};try{var u=Object.assign({kind:"class",name:a,addInitializer:old_createAddInitializerMethod(o,c)},old_createMetadataMethodsForProperty(r,0,a,c)),l=n[s](i,u)}finally{c.v=!0}void 0!==l&&(old_assertValidReturnValue(10,l),i=l)}e.push(i,(function(){for(var e=0;e=0;b--){var m;void 0!==(d=t(h[b],i,l,u,a,s,c,p))&&(n(a,d),0===a?m=d:1===a?(m=d.init,y=d.get||p.get,v=d.set||p.set,p={get:y,set:v}):p=d,void 0!==m&&(void 0===f?f=m:"function"==typeof f?f=[f,m]:f.push(m)))}if(0===a||1===a){if(void 0===f)f=function(e,t){return t};else if("function"!=typeof f){var g=f;f=function(e,t){for(var r=t,n=0;n3,h=d>=5;if(h?(f=t,0!=(d-=5)&&(p=a=a||[])):(f=t.prototype,0!==d&&(p=n=n||[])),0!==d&&!v){var b=h?c:s,m=b.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?b.set(y,d):b.set(y,!0)}o(e,f,l,y,d,h,v,p)}}i(e,n),i(e,a)}(s,t,r),function(t,r,o){if(o.length>0){for(var i=[],a=r,s=r.name,c=o.length-1;c>=0;c--){var u={v:!1};try{var l=o[c](a,{kind:"class",name:s,addInitializer:e(i,u)})}finally{u.v=!0}void 0!==l&&(n(10,l),a=l)}t.push(a,(function(){for(var e=0;e=0;m--){var g;void 0!==(y=t(b[m],i,l,u,a,s,c,d))&&(n(a,y),0===a?g=y:1===a?(g=y.init,v=y.get||d.get,h=y.set||d.set,d={get:v,set:h}):d=y,void 0!==g&&(void 0===f?f=g:"function"==typeof f?f=[f,g]:f.push(g)))}if(0===a||1===a){if(void 0===f)f=function(e,t){return t};else if("function"!=typeof f){var _=f;f=function(e,t){for(var r=t,n=0;n<_.length;n++)r=_[n].call(e,r);return r}}else{var w=f;f=function(e,t){return w.call(e,t)}}e.push(f)}0!==a&&(1===a?(l.get=d.get,l.set=d.set):2===a?l.value=d:3===a?l.get=d:4===a&&(l.set=d),c?1===a?(e.push((function(e,t){return d.get.call(e,t)})),e.push((function(e,t){return d.set.call(e,t)}))):2===a?e.push(d):e.push((function(e,t){return d.call(e,t)})):Object.defineProperty(r,i,l))}function i(e,t){for(var r,n,i=[],s=new Map,c=new Map,u=0;u3,h=d>=5;if(h?(f=e,0!=(d-=5)&&(p=n=n||[])):(f=e.prototype,0!==d&&(p=r=r||[])),0!==d&&!v){var b=h?c:s,m=b.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?b.set(y,d):b.set(y,!0)}o(i,f,l,y,d,h,v,p)}}return a(i,r),a(i,n),i}function a(e,t){t&&e.push((function(e){for(var r=0;r0){for(var o=[],i=t,a=t.name,s=r.length-1;s>=0;s--){var c={v:!1};try{var u=r[s](i,{kind:"class",name:a,addInitializer:e(o,c)})}finally{c.v=!0}void 0!==u&&(n(10,u),i=u)}return[i,function(){for(var e=0;e=0;w--){var P;void 0!==(b=r(_[w],a,p,l,s,c,u,v,f))&&(o(s,b),0===s?P=b:1===s?(P=b.init,m=b.get||v.get,g=b.set||v.set,v={get:m,set:g}):v=b,void 0!==P&&(void 0===d?d=P:"function"==typeof d?d=[d,P]:d.push(P)))}if(0===s||1===s){if(void 0===d)d=function(e,t){return t};else if("function"!=typeof d){var O=d;d=function(e,t){for(var r=t,n=0;n3,m=v>=5,g=r;if(m?(d=e,0!=(v-=5)&&(y=o=o||[]),b&&!i&&(i=function(t){return _checkInRHS(t)===e}),g=i):(d=e.prototype,0!==v&&(y=n=n||[])),0!==v&&!b){var _=m?l:u,w=_.get(h)||0;if(!0===w||3===w&&4!==v||4===w&&3!==v)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: "+h);!w&&v>2?_.set(h,v):_.set(h,!0)}a(s,d,p,h,v,m,b,y,g)}}return c(s,n),c(s,o),s}function c(e,t){t&&e.push((function(e){for(var r=0;r0){for(var n=[],i=t,a=t.name,s=r.length-1;s>=0;s--){var c={v:!1};try{var u=r[s](i,{kind:"class",name:a,addInitializer:e(n,c)})}finally{c.v=!0}void 0!==u&&(o(10,u),i=u)}return[i,function(){for(var e=0;e=0;E-=r?2:1){var S=b[E],j=r?b[E-1]:void 0,A={},D={kind:["field","accessor","method","getter","setter","class"][o],name:n,metadata:i,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");c(t,"An initializer","be",!0),s.push(t)}.bind(null,A)};try{if(g)(h=c(S.call(j,O,D),"class decorators","return"))&&(O=h);else{var k,T;D.static=l,D.private=f,f?2===o?k=function(e){return v(e),_.value}:(o<4&&(k=a(_,"get",v)),3!==o&&(T=a(_,"set",v))):(k=function(e){return e[n]},(o<2||4===o)&&(T=function(e,t){e[n]=t}));var I=D.access={has:f?y.bind():function(e){return n in e}};if(k&&(I.get=k),T&&(I.set=T),O=S.call(j,d?{get:_.get,set:_.set}:_[P],D),d){if("object"==typeof O&&O)(h=c(O.get,"accessor.get"))&&(_.get=h),(h=c(O.set,"accessor.set"))&&(_.set=h),(h=c(O.init,"accessor.init"))&&w.push(h);else if(void 0!==O)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0")}else c(O,(p?"field":"method")+" decorators","return")&&(p?w.push(O):_[P]=O)}}finally{A.v=!0}}return(p||d)&&u.push((function(e,t){for(var r=w.length-1;r>=0;r--)t=w[r].call(e,t);return t})),p||g||(f?d?u.push(a(_,"get"),a(_,"set")):u.push(2===o?_[P]:a.call.bind(_[P])):Object.defineProperty(e,n,_)),O}function l(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}if(arguments.length>=6)var f=i[Symbol.metadata||Symbol.for("Symbol.metadata")];var p=Object.create(null==f?null:f),d=function(e,t,r,n){var o,i,a=[],c=function(t){return _checkInRHS(t)===e},l=new Map;function f(e){e&&a.push(s.bind(null,e))}for(var p=0;p3,b=16&y,m=!!(8&y),g=0==(y&=7),_=v+"/"+m;if(!g&&!h){var w=l.get(_);if(!0===w||3===w&&4!==y||4===w&&3!==y)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: "+v);l.set(_,!(y>2)||y)}u(m?e:e.prototype,d,b,h?"#"+v:_toPropertyKey(v),y,n,m?i=i||[]:o=o||[],a,m,h,g,1===y,m&&h?c:r)}}return f(o),f(i),a}(e,t,o,p);return r.length||l(e,p),{e:d,get c(){var t=[];return r.length&&[l(u(e,[r],n,e.name,5,p,t),p),s.bind(null,t,e)]}}}function _classApplyDescriptorDestructureSet(e,t){if(t.set)return"__destrObj"in t||(t.__destrObj={set value(r){t.set.call(e,r)}}),t.__destrObj;if(!t.writable)throw new TypeError("attempted to set read only private field");return t}function _classApplyDescriptorGet(e,t){return t.get?t.get.call(e):t.value}function _classApplyDescriptorSet(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}function _classCheckPrivateStaticAccess(e,t,r){return _assertClassBrand(t,e,r)}function _classCheckPrivateStaticFieldDescriptor(e,t){if(void 0===e)throw new TypeError("attempted to "+t+" private static field before its declaration")}function _classExtractFieldDescriptor(e,t){return _classPrivateFieldGet2(t,e)}function _classPrivateFieldDestructureSet(e,t){var r;return _classApplyDescriptorDestructureSet(e,_classPrivateFieldGet2(t,e))}function _classPrivateFieldGet(e,t){var r;return _classApplyDescriptorGet(e,_classPrivateFieldGet2(t,e))}function _classPrivateFieldSet(e,t,r){var n;return _classApplyDescriptorSet(e,_classPrivateFieldGet2(t,e),r),r}function _classPrivateMethodGet(e,t,r){return _assertClassBrand(t,e),r}function _classPrivateMethodSet(){throw new TypeError("attempted to reassign private method")}function _classStaticPrivateFieldDestructureSet(e,t,r){return _assertClassBrand(t,e),_classCheckPrivateStaticFieldDescriptor(r,"set"),_classApplyDescriptorDestructureSet(e,r)}function _classStaticPrivateFieldSpecGet(e,t,r){return _assertClassBrand(t,e),_classCheckPrivateStaticFieldDescriptor(r,"get"),_classApplyDescriptorGet(e,r)}function _classStaticPrivateFieldSpecSet(e,t,r,n){return _assertClassBrand(t,e),_classCheckPrivateStaticFieldDescriptor(r,"set"),_classApplyDescriptorSet(e,r,n),n}function _classStaticPrivateMethodSet(){throw new TypeError("attempted to set read only static private field")}function _defineEnumerableProperties(e,t){for(var r in t){var n=t[r];n.configurable=n.enumerable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,r,n)}if(Object.getOwnPropertySymbols)for(var o=Object.getOwnPropertySymbols(t),i=0;i0;)try{var i=e.pop(),a=i.d.call(i.v);if(i.a)return Promise.resolve(a).then(n,o)}catch(e){return o(e)}if(r)throw t}function o(e){return t=r?new dispose_SuppressedError(t,e):e,r=!0,n()}return n()}function _objectSpread(e){for(var t=1;t-1})),a=t.includes("-/paint/");if(i&&!a){var s=new XMLHttpRequest;s.open("GET",t),s.responseType="document",s.onreadystatechange=function(){if(s.readyState===XMLHttpRequest.DONE&&200===s.status){var o,i=s.response.querySelector("svg"),a;if(!i)return;i.querySelectorAll("*:not(g):not(title):not(desc)").forEach((function(e){e.style.fill=r}));for(var c=(new XMLSerializer).serializeToString(i),u=c.matchAll(/var\((--uc-color-color-[a-zA-Z0-9]+),\s*[a-fA-F0-9#]+\)/g),l=window.getComputedStyle(document.body),f=_createForOfIteratorHelperLoose(u),p;!(p=f()).done;){var d=p.value,y=l.getPropertyValue(d[1]);y&&(c=c.replace(d[0],y))}var v="data:image/svg+xml;base64,"+window.btoa(c);n?e.src=v:e.style.backgroundImage="url("+v+")",e.removeAttribute("data-original"),e.removeAttribute("data-color")}else s.readyState===XMLHttpRequest.DONE&&(n?e.src=t:e.style.backgroundImage="url("+t+")")},s.send()}else n?e.src=t:e.style.backgroundImage="url("+t+")"}}}))}}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e)},AsyncGenerator.prototype.throw=function(e){return this._invoke("throw",e)},AsyncGenerator.prototype.return=function(e){return this._invoke("return",e)};