2 lines
230 KiB
JavaScript
2 lines
230 KiB
JavaScript
|
|
function _OverloadYield(t,e){this.v=t,this.k=e}function _applyDecoratedDescriptor(t,e,r,o,n){var i={};return Object.keys(o).forEach((function(t){i[t]=o[t]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=r.slice().reverse().reduce((function(r,o){return o(t,e,r)||r}),i),n&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(n):void 0,i.initializer=void 0),void 0===i.initializer?(Object.defineProperty(t,e,i),null):i}function _applyDecs2311(t,e,r,o,n,i){var a,s,c,l,d,p,u,_=Symbol.metadata||Symbol.for("Symbol.metadata"),f=Object.defineProperty,y=Object.create,v=[y(null),y(null)],g=e.length;function m(e,r,o){return function(n,i){r&&(i=n,n=t);for(var a=0;a<e.length;a++)i=e[a].apply(n,o?[i]:[]);return o?i:n}}function h(t,e,r,o){if("function"!=typeof t&&(o||void 0!==t))throw new TypeError(e+" must "+(r||"be")+" a function"+(o?"":" or undefined"));return t}function b(t,e,r,o,n,i,c,l,d,p,u){function _(t){if(!u(t))throw new TypeError("Attempted to access private element on non-instance")}var y=[].concat(e[0]),g=e[3],b=!c,w=1===n,S=3===n,E=4===n,P=2===n;function A(e,r,o){return function(n,i){return r&&(i=n,n=t),o&&o(n),C[e].call(n,i)}}if(!b){var C={},j=[],x=S?"get":E||w?"set":"value";if(d?(p||w?C={get:_setFunctionName((function(){return g(this)}),o,"get"),set:function(t){e[4](this,t)}}:C[x]=g,p||_setFunctionName(C[x],o,P?"":x)):p||(C=Object.getOwnPropertyDescriptor(t,o)),!p&&!d){if((s=v[+l][o])&&7!=(s^n))throw Error("Decorating two elements with the same name ("+C[x].name+") is not supported yet");v[+l][o]=n<3?1:n}}for(var O=t,k=y.length-1;k>=0;k-=r?2:1){var L=h(y[k],"A decorator","be",!0),q=r?y[k-1]:void 0,T={},I={kind:["field","accessor","method","getter","setter","class"][n],name:o,metadata:a,addInitializer:function(t,e){if(t.v)throw new TypeError("attempted to call addInitializer after decoration was finished");h(e,"An initializer","be",!0),i.push(e)}.bind(null,T)};if(b)s=L.call(q,O,I),T.v=1,h(s,"class decorators","return")&&(O=s);else if(I.static=l,I.private=d,s=I.access={has:d?u.bind():function(t){return o in t}},E||(s.get=d?P?function(t){return _(t),C.value}:A("get",0,_):function(t){return t[o]}),P||S||(s.set=d?A("set",0,_):function(t,e){t[o]=e}),O=L.call(q,w?{get:C.get,set:C.set}:C[x],I),T.v=1,w){if("object"==typeof O&&O)(s=h(O.get,"accessor.get"))&&(C.get=s),(s=h(O.set,"accessor.set"))&&(C.set=s),(s=h(O.init,"accessor.init"))&&j.unshift(s);else if(void 0!==O)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else h(O,(p?"field":"method")+" decorators","return")&&(p?j.unshift(O):C[x]=O)}return n<2&&c.push(m(j,l,1),m(i,l,0)),p||b||(d?w?c.splice(-1,0,A("get",l),A("set",l)):c.push(P?C[x]:h.call.bind(C[x])):f(t,o,C)),O}function w(t){return f(t,_,{configurable:!0,enumerable:!0,value:a})}return void 0!==i&&(a=i[_]),a=y(null==a?null:a),d=[],p=function(t){t&&d.push(m(t))},u=function(e,o){for(var i=0;i<r.length;i++){var a=r[i],s=a[1],p=7&s;if((8&s)==e&&!p==o){var u=a[2],_=!!a[3],f=16&s;b(e?t:t.prototype,a,f,_?"#"+u:_toPropertyKey(u),p,p<2?[]:e?l=l||[]:c=c||[],d,!!e,_,o,e&&_?function(e){return _checkInRHS(e)===t}:n)}}},u(8,0),u(0,0),u(8,1),u(0,1),p(c),p(l),s=d,g||w(t),{e:s,get c(){var r=[];return g&&[w(t=b(t,[e],o,t.name,5,r)),m(r,1)]}}}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=Array(e);r<e;r++)o[r]=t[r];return o}function _arrayWithHoles(t){if(Array.isArray(t))return t}function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}function _assertClassBrand(t,e,r){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:r;throw new TypeError("Private element is not present on this object")}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _asyncGeneratorDelegate(t){var e={},r=!1;function o(e,o){return r=!0,o=new Promise((function(r){r(t[e](o))})),{done:!1,value:new _OverloadYield(o,1)}}return e["undefined"!=typeof Symbol&&Symbol.iter
|