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,l,u,f,p,d=Symbol.metadata||Symbol.for("Symbol.metadata"),y=Object.defineProperty,h=Object.create,v=[h(null),h(null)],m=t.length;function b(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(h[T],"A decorator","be",!0),x=r?h[T-1]:void 0,C={},F={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(x,D,F),C.v=1,g(s,"class decorators","return")&&(D=s);else if(F.static=l,F.private=u,s=F.access={has:u?p.bind():function(e){return n in e}},E||(s.get=u?O?function(e){return d(e),j.value}:S("get",0,d):function(e){return e[n]}),O||P||(s.set=u?S("set",0,d):function(e,t){e[n]=t}),D=I.call(x,w?{get:j.get,set:j.set}:j[A],F),C.v=1,w){if("object"==typeof D&&D)(s=g(D.get,"accessor.get"))&&(j.get=s),(s=g(D.set,"accessor.set"))&&(j.set=s),(s=g(D.init,"accessor.init"))&&k.unshift(s);else if(void 0!==D)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else g(D,(f?"field":"method")+" decorators","return")&&(f?k.unshift(D):j[A]=D)}return o<2&&c.push(b(k,l,1),b(i,l,0)),f||_||(u?w?c.splice(-1,0,S("get",l),S("set",l)):c.push(O?j[A]:g.call.bind(j[A])):y(e,n,j)),D}function w(e){return y(e,d,{configurable:!0,enumerable:!0,value:a})}return void 0!==i&&(a=i[d]),a=h(null==a?null:a),u=[],f=function(e){e&&u.push(b(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 l=c.extras;if(l){for(var u=0;u=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;s=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(c&&l){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),D(r),v}},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 o=n.arg;D(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:I(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}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 _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?"return":"next";if(!a.k||r.done)return n(c,r);r=e[c](r).value}o(i.done?"return":"normal",r)}),(function(e){n("throw",e)}))}catch(e){o("throw",e)}}function o(e,o){switch(e){case"return":t.resolve({value:o,done:!0});break;case"throw":t.reject(o);break;default:t.resolve({value:o,done:!1})}(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){var r=i[t];return"$"+(Array.isArray(r)?r.join("$"):r)})))}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;m--){var b;void 0!==(d=old_memberDec(v[m],n,l,s,c,o,i,a,p))&&(old_assertValidReturnValue(o,d),0===o?b=d:1===o?(b=old_getInit(d),y=d.get||p.get,h=d.set||p.set,p={get:y,set:h}):p=d,void 0!==b&&(void 0===u?u=b:"function"==typeof u?u=[u,b]:u.push(b)))}if(0===o||1===o){if(void 0===u)u=function(e,t){return t};else if("function"!=typeof u){var g=u;u=function(e,t){for(var r=t,n=0;n3,m=y>=5;if(m?(f=t,p=n,0!=(y-=5)&&(d=a=a||[])):(f=t.prototype,p=r,0!==y&&(d=i=i||[])),0!==y&&!v){var b=m?c:s,g=b.get(h)||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: "+h);!g&&y>2?b.set(h,y):b.set(h,!0)}old_applyMemberDec(e,f,u,h,y,m,v,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 l=Object.assign({kind:"class",name:a,addInitializer:old_createAddInitializerMethod(o,c)},old_createMetadataMethodsForProperty(r,0,a,c)),u=n[s](i,l)}finally{c.v=!0}void 0!==u&&(old_assertValidReturnValue(10,u),i=u)}e.push(i,(function(){for(var e=0;e=0;m--){var b;void 0!==(d=t(v[m],i,u,l,a,s,c,p))&&(n(a,d),0===a?b=d:1===a?(b=d.init,y=d.get||p.get,h=d.set||p.set,p={get:y,set:h}):p=d,void 0!==b&&(void 0===f?f=b:"function"==typeof f?f=[f,b]:f.push(b)))}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,v=d>=5;if(v?(f=t,0!=(d-=5)&&(p=a=a||[])):(f=t.prototype,0!==d&&(p=n=n||[])),0!==d&&!h){var m=v?c:s,b=m.get(y)||0;if(!0===b||3===b&&4!==d||4===b&&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);!b&&d>2?m.set(y,d):m.set(y,!0)}o(e,f,u,y,d,v,h,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 l={v:!1};try{var u=o[c](a,{kind:"class",name:s,addInitializer:e(i,l)})}finally{l.v=!0}void 0!==u&&(n(10,u),a=u)}t.push(a,(function(){for(var e=0;e=0;b--){var g;void 0!==(y=t(m[b],i,u,l,a,s,c,d))&&(n(a,y),0===a?g=y:1===a?(g=y.init,h=y.get||d.get,v=y.set||d.set,d={get:h,set:v}):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?(u.get=d.get,u.set=d.set):2===a?u.value=d:3===a?u.get=d:4===a&&(u.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,u))}function i(e,t){for(var r,n,i=[],s=new Map,c=new Map,l=0;l3,v=d>=5;if(v?(f=e,0!=(d-=5)&&(p=n=n||[])):(f=e.prototype,0!==d&&(p=r=r||[])),0!==d&&!h){var m=v?c:s,b=m.get(y)||0;if(!0===b||3===b&&4!==d||4===b&&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);!b&&d>2?m.set(y,d):m.set(y,!0)}o(i,f,u,y,d,v,h,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 l=r[s](i,{kind:"class",name:a,addInitializer:e(o,c)})}finally{c.v=!0}void 0!==l&&(n(10,l),i=l)}return[i,function(){for(var e=0;e=0;w--){var P;void 0!==(m=r(_[w],a,p,u,s,c,l,h,f))&&(o(s,m),0===s?P=m:1===s?(P=m.init,b=m.get||h.get,g=m.set||h.set,h={get:b,set:g}):h=m,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 E=d;d=function(e,t){for(var r=t,n=0;n3,b=h>=5,g=r;if(b?(d=e,0!=(h-=5)&&(y=o=o||[]),m&&!i&&(i=function(t){return _checkInRHS(t)===e}),g=i):(d=e.prototype,0!==h&&(y=n=n||[])),0!==h&&!m){var _=b?u:l,w=_.get(v)||0;if(!0===w||3===w&&4!==h||4===w&&3!==h)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);!w&&h>2?_.set(v,h):_.set(v,!0)}a(s,d,p,v,h,b,m,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 l=r[s](i,{kind:"class",name:a,addInitializer:e(n,c)})}finally{c.v=!0}void 0!==l&&(o(10,l),i=l)}return[i,function(){for(var e=0;e=0;O-=r?2:1){var S=m[O],j=r?m[O-1]:void 0,k={},A={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,k)};try{if(g)(v=c(S.call(j,E,A),"class decorators","return"))&&(E=v);else{var D,T;A.static=u,A.private=f,f?2===o?D=function(e){return h(e),_.value}:(o<4&&(D=a(_,"get",h)),3!==o&&(T=a(_,"set",h))):(D=function(e){return e[n]},(o<2||4===o)&&(T=function(e,t){e[n]=t}));var I=A.access={has:f?y.bind():function(e){return n in e}};if(D&&(I.get=D),T&&(I.set=T),E=S.call(j,d?{get:_.get,set:_.set}:_[P],A),d){if("object"==typeof E&&E)(v=c(E.get,"accessor.get"))&&(_.get=v),(v=c(E.set,"accessor.set"))&&(_.set=v),(v=c(E.init,"accessor.init"))&&w.push(v);else if(void 0!==E)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0")}else c(E,(p?"field":"method")+" decorators","return")&&(p?w.push(E):_[P]=E)}}finally{k.v=!0}}return(p||d)&&l.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?l.push(a(_,"get"),a(_,"set")):l.push(2===o?_[P]:a.call.bind(_[P])):Object.defineProperty(e,n,_)),E}function u(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},u=new Map;function f(e){e&&a.push(s.bind(null,e))}for(var p=0;p3,m=16&y,b=!!(8&y),g=0==(y&=7),_=h+"/"+b;if(!g&&!v){var w=u.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: "+h);u.set(_,!(y>2)||y)}l(b?e:e.prototype,d,m,v?"#"+h:_toPropertyKey(h),y,n,b?i=i||[]:o=o||[],a,b,v,g,1===y,b&&v?c:r)}}return f(o),f(i),a}(e,t,o,p);return r.length||u(e,p),{e:d,get c(){var t=[];return r.length&&[u(l(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),l=c.matchAll(/var\((--uc-color-color-[a-zA-Z0-9]+),\s*[a-fA-F0-9#]+\)/g),u=window.getComputedStyle(document.body),f=_createForOfIteratorHelperLoose(l),p;!(p=f()).done;){var d=p.value,y=u.getPropertyValue(d[1]);y&&(c=c.replace(d[0],y))}var h="data:image/svg+xml;base64,"+window.btoa(c);n?e.src=h:e.style.backgroundImage="url("+h+")",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)};