obigen.tsplugin.2.0.0.source-code.ts-merger.js Maven / Gradle / Ivy
Show all versions of tsplugin Show documentation
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=89)}([function(e,t,r){"use strict";(function(e){function n(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(e,t){if(n()=n())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n().toString(16)+" bytes");return 0|e}function g(e){return+e!=e&&(e=0),a.alloc(+e)}function m(e,t){if(a.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return U(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return W(e).length;default:if(n)return U(e).length;t=(""+t).toLowerCase(),n=!0}}function h(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return M(this,t,r);case"utf8":case"utf-8":return w(this,t,r);case"ascii":return N(this,t,r);case"latin1":case"binary":return P(this,t,r);case"base64":return T(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function y(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function v(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,i);if("number"==typeof t)return t&=255,a.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):b(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,r,n,i){function a(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}var o=1,s=e.length,c=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;o=2,s/=2,c/=2,r/=2}var u;if(i){var l=-1;for(u=r;us&&(r=s-c),u=r;u>=0;u--){for(var d=!0,f=0;fi&&(n=i):n=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");n>a/2&&(n=a/2);for(var o=0;o239?4:a>223?3:a>191?2:1;if(i+s<=r){var c,u,l,d;switch(s){case 1:a<128&&(o=a);break;case 2:c=e[i+1],128==(192&c)&&(d=(31&a)<<6|63&c)>127&&(o=d);break;case 3:c=e[i+1],u=e[i+2],128==(192&c)&&128==(192&u)&&(d=(15&a)<<12|(63&c)<<6|63&u)>2047&&(d<55296||d>57343)&&(o=d);break;case 4:c=e[i+1],u=e[i+2],l=e[i+3],128==(192&c)&&128==(192&u)&&128==(192&l)&&(d=(15&a)<<18|(63&c)<<12|(63&u)<<6|63&l)>65535&&d<1114112&&(o=d)}}null===o?(o=65533,s=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),i+=s}return A(n)}function A(e){var t=e.length;if(t<=$)return String.fromCharCode.apply(String,e);for(var r="",n=0;nn)&&(r=n);for(var i="",a=t;ar)throw new RangeError("Trying to access beyond buffer length")}function F(e,t,r,n,i,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function R(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-r,2);i>>8*(n?i:1-i)}function L(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-r,4);i>>8*(n?i:3-i)&255}function B(e,t,r,n,i,a){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function j(e,t,r,n,i){return i||B(e,t,r,4,3.4028234663852886e38,-3.4028234663852886e38),Q.write(e,t,r,n,23,4),r+4}function z(e,t,r,n,i){return i||B(e,t,r,8,1.7976931348623157e308,-1.7976931348623157e308),Q.write(e,t,r,n,52,8),r+8}function K(e){if(e=J(e).replace(ee,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function J(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function q(e){return e<16?"0"+e.toString(16):e.toString(16)}function U(e,t){t=t||1/0;for(var r,n=e.length,i=null,a=[],o=0;o55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===n){(t-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function V(e){for(var t=[],r=0;r>8,i=r%256,a.push(i),a.push(n);return a}function W(e){return Y.toByteArray(K(e))}function G(e,t,r,n){for(var i=0;i=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function X(e){return e!==e}/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh
* @license MIT
*/
var Y=r(94),Q=r(95),Z=r(46);t.Buffer=a,t.SlowBuffer=g,t.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=n(),a.poolSize=8192,a._augment=function(e){return e.__proto__=a.prototype,e},a.from=function(e,t,r){return o(null,e,t,r)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0})),a.alloc=function(e,t,r){return c(null,e,t,r)},a.allocUnsafe=function(e){return u(null,e)},a.allocUnsafeSlow=function(e){return u(null,e)},a.isBuffer=function(e){return!(null==e||!e._isBuffer)},a.compare=function(e,t){if(!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),""},a.prototype.compare=function(e,t,r,n,i){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,s=r-t,c=Math.min(o,s),u=this.slice(n,i),l=e.slice(t,r),d=0;di)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return k(this,e,t,r);case"utf8":case"utf-8":return x(this,e,t,r);case"ascii":return S(this,e,t,r);case"latin1":case"binary":return C(this,e,t,r);case"base64":return E(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,e,t,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var $=4096;a.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)n+=this[e+--t]*i;return n},a.prototype.readUInt8=function(e,t){return t||I(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return t||I(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return t||I(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return t||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUInt32BE=function(e,t){return t||I(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||I(e,t,this.length);for(var n=this[e],i=1,a=0;++a=i&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||I(e,t,this.length);for(var n=t,i=1,a=this[e+--n];n>0&&(i*=256);)a+=this[e+--n]*i;return i*=128,a>=i&&(a-=Math.pow(2,8*t)),a},a.prototype.readInt8=function(e,t){return t||I(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){t||I(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(e,t){t||I(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt32LE=function(e,t){return t||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return t||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return t||I(e,4,this.length),Q.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return t||I(e,4,this.length),Q.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return t||I(e,8,this.length),Q.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return t||I(e,8,this.length),Q.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){F(this,e,t,r,Math.pow(2,8*r)-1,0)}var i=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+i]=e/a&255;return t+r},a.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,1,255,0),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},a.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},a.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):L(this,e,t,!0),t+4},a.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},a.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);F(this,e,t,r,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a>0)-s&255;return t+r},a.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);F(this,e,t,r,i-1,-i)}var a=r-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,1,127,-128),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},a.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},a.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):L(this,e,t,!0),t+4},a.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||F(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},a.prototype.writeFloatLE=function(e,t,r){return j(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return j(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return z(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return z(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--i)e[i+t]=this[i+r];else if(o<1e3||!a.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,e||(e=0);var o;if("number"==typeof e)for(o=t;o=49&&o<=54?o-49+10:o>=17&&o<=22?o-17+10:15&o}return n}function s(e,t,r,n){for(var i=0,a=Math.min(e.length,r),o=t;o=49?s-49+10:s>=17?s-17+10:s}return i}function c(e){for(var t=new Array(e.bitLength()),r=0;r>>i}return t}function u(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],a=0|t.words[0],o=i*a,s=67108863&o,c=o/67108864|0;r.words[0]=s;for(var u=1;u>>26,d=67108863&c,f=Math.min(u,t.length-1),_=Math.max(0,u-e.length+1);_<=f;_++){var p=u-_|0;i=0|e.words[p],a=0|t.words[_],o=i*a+d,l+=o/67108864|0,d=67108863&o}r.words[u]=0|d,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r.strip()}function l(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,a=0;a>>26)|0,i+=o>>>26,o&=67108863}r.words[a]=s,n=o,o=i}return 0!==n?r.words[a]=n:r.length--,r.strip()}function d(e,t,r){return(new f).mulp(e,t,r)}function f(e,t){this.x=e,this.y=t}function _(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function p(){_.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function g(){_.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function m(){_.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function h(){_.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function y(e){if("string"==typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function v(e){y.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}"object"==typeof e?e.exports=a:t.BN=a,a.BN=a,a.wordSize=26;var b;try{b=r(0).Buffer}catch(e){}a.isBN=function(e){return e instanceof a||null!==e&&"object"==typeof e&&e.constructor.wordSize===a.wordSize&&Array.isArray(e.words)},a.max=function(e,t){return e.cmp(t)>0?e:t},a.min=function(e,t){return e.cmp(t)<0?e:t},a.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=0;"-"===e[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),t,r)},a.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},a.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i=0;i-=3)o=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[a]|=o<>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);else if("le"===r)for(i=0,a=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);return this.strip()},a.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r=t;r-=6)i=o(e,r,r+6),this.words[n]|=i<>>26-a&4194303,(a+=24)>=26&&(a-=26,n++);r+6!==t&&(i=o(e,t,r+6),this.words[n]|=i<>>26-a&4194303),this.strip()},a.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var a=e.length-r,o=a%n,c=Math.min(a,a-o)+r,u=0,l=r;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},a.prototype.inspect=function(){return(this.red?""};var k=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],x=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],S=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];a.prototype.toString=function(e,t){e=e||10,t=0|t||1;var r;if(16===e||"hex"===e){r="";for(var i=0,a=0,o=0;o>>24-i&16777215,r=0!==a||o!==this.length-1?k[6-c.length]+c+r:c+r,i+=2,i>=26&&(i-=26,o--)}for(0!==a&&(r=a.toString(16)+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=x[e],l=S[e];r="";var d=this.clone();for(d.negative=0;!d.isZero();){var f=d.modn(l).toString(e);d=d.idivn(l),r=d.isZero()?f+r:k[u-f.length]+f+r}for(this.isZero()&&(r="0"+r);r.length%t!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16)},a.prototype.toBuffer=function(e,t){return n(void 0!==b),this.toArrayLike(b,e,t)},a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},a.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),a=r||Math.max(1,i);n(i<=a,"byte array longer than desired length"),n(a>0,"Requested array length <= 0"),this.strip();var o,s,c="le"===t,u=new e(a),l=this.clone();if(c){for(s=0;!l.isZero();s++)o=l.andln(255),l.iushrn(8),u[s]=o;for(;s=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0==(8191&t)&&(r+=13,t>>>=13),0==(127&t)&&(r+=7,t>>>=7),0==(15&t)&&(r+=4,t>>>=4),0==(3&t)&&(r+=2,t>>>=2),0==(1&t)&&r++,r},a.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;re.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<e.length?(r=this,n=e):(r=e,n=this);for(var i=0,a=0;a>>26;for(;0!==i&&a>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;ae.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;var n,i;r>0?(n=this,i=e):(n=e,i=this);for(var a=0,o=0;o>26,this.words[o]=67108863&t;for(;0!==a&&o>26,this.words[o]=67108863&t;if(0===a&&o>>13,_=0|o[1],p=8191&_,g=_>>>13,m=0|o[2],h=8191&m,y=m>>>13,v=0|o[3],b=8191&v,k=v>>>13,x=0|o[4],S=8191&x,C=x>>>13,E=0|o[5],D=8191&E,T=E>>>13,w=0|o[6],A=8191&w,N=w>>>13,P=0|o[7],M=8191&P,O=P>>>13,I=0|o[8],F=8191&I,R=I>>>13,L=0|o[9],B=8191&L,j=L>>>13,z=0|s[0],K=8191&z,J=z>>>13,q=0|s[1],U=8191&q,V=q>>>13,H=0|s[2],W=8191&H,G=H>>>13,X=0|s[3],Y=8191&X,Q=X>>>13,Z=0|s[4],$=8191&Z,ee=Z>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],ae=8191&ie,oe=ie>>>13,se=0|s[7],ce=8191&se,ue=se>>>13,le=0|s[8],de=8191&le,fe=le>>>13,_e=0|s[9],pe=8191&_e,ge=_e>>>13;r.negative=e.negative^t.negative,r.length=19,n=Math.imul(d,K),i=Math.imul(d,J),i=i+Math.imul(f,K)|0,a=Math.imul(f,J);var me=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(p,K),i=Math.imul(p,J),i=i+Math.imul(g,K)|0,a=Math.imul(g,J),n=n+Math.imul(d,U)|0,i=i+Math.imul(d,V)|0,i=i+Math.imul(f,U)|0,a=a+Math.imul(f,V)|0;var he=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(he>>>26)|0,he&=67108863,n=Math.imul(h,K),i=Math.imul(h,J),i=i+Math.imul(y,K)|0,a=Math.imul(y,J),n=n+Math.imul(p,U)|0,i=i+Math.imul(p,V)|0,i=i+Math.imul(g,U)|0,a=a+Math.imul(g,V)|0,n=n+Math.imul(d,W)|0,i=i+Math.imul(d,G)|0,i=i+Math.imul(f,W)|0,a=a+Math.imul(f,G)|0;var ye=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(b,K),i=Math.imul(b,J),i=i+Math.imul(k,K)|0,a=Math.imul(k,J),n=n+Math.imul(h,U)|0,i=i+Math.imul(h,V)|0,i=i+Math.imul(y,U)|0,a=a+Math.imul(y,V)|0,n=n+Math.imul(p,W)|0,i=i+Math.imul(p,G)|0,i=i+Math.imul(g,W)|0,a=a+Math.imul(g,G)|0,n=n+Math.imul(d,Y)|0,i=i+Math.imul(d,Q)|0,i=i+Math.imul(f,Y)|0,a=a+Math.imul(f,Q)|0;var ve=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(S,K),i=Math.imul(S,J),i=i+Math.imul(C,K)|0,a=Math.imul(C,J),n=n+Math.imul(b,U)|0,i=i+Math.imul(b,V)|0,i=i+Math.imul(k,U)|0,a=a+Math.imul(k,V)|0,n=n+Math.imul(h,W)|0,i=i+Math.imul(h,G)|0,i=i+Math.imul(y,W)|0,a=a+Math.imul(y,G)|0,n=n+Math.imul(p,Y)|0,i=i+Math.imul(p,Q)|0,i=i+Math.imul(g,Y)|0,a=a+Math.imul(g,Q)|0,n=n+Math.imul(d,$)|0,i=i+Math.imul(d,ee)|0,i=i+Math.imul(f,$)|0,a=a+Math.imul(f,ee)|0;var be=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(D,K),i=Math.imul(D,J),i=i+Math.imul(T,K)|0,a=Math.imul(T,J),n=n+Math.imul(S,U)|0,i=i+Math.imul(S,V)|0,i=i+Math.imul(C,U)|0,a=a+Math.imul(C,V)|0,n=n+Math.imul(b,W)|0,i=i+Math.imul(b,G)|0,i=i+Math.imul(k,W)|0,a=a+Math.imul(k,G)|0,n=n+Math.imul(h,Y)|0,i=i+Math.imul(h,Q)|0,i=i+Math.imul(y,Y)|0,a=a+Math.imul(y,Q)|0,n=n+Math.imul(p,$)|0,i=i+Math.imul(p,ee)|0,i=i+Math.imul(g,$)|0,a=a+Math.imul(g,ee)|0,n=n+Math.imul(d,re)|0,i=i+Math.imul(d,ne)|0,i=i+Math.imul(f,re)|0,a=a+Math.imul(f,ne)|0;var ke=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(A,K),i=Math.imul(A,J),i=i+Math.imul(N,K)|0,a=Math.imul(N,J),n=n+Math.imul(D,U)|0,i=i+Math.imul(D,V)|0,i=i+Math.imul(T,U)|0,a=a+Math.imul(T,V)|0,n=n+Math.imul(S,W)|0,i=i+Math.imul(S,G)|0,i=i+Math.imul(C,W)|0,a=a+Math.imul(C,G)|0,n=n+Math.imul(b,Y)|0,i=i+Math.imul(b,Q)|0,i=i+Math.imul(k,Y)|0,a=a+Math.imul(k,Q)|0,n=n+Math.imul(h,$)|0,i=i+Math.imul(h,ee)|0,i=i+Math.imul(y,$)|0,a=a+Math.imul(y,ee)|0,n=n+Math.imul(p,re)|0,i=i+Math.imul(p,ne)|0,i=i+Math.imul(g,re)|0,a=a+Math.imul(g,ne)|0,n=n+Math.imul(d,ae)|0,i=i+Math.imul(d,oe)|0,i=i+Math.imul(f,ae)|0,a=a+Math.imul(f,oe)|0;var xe=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(M,K),i=Math.imul(M,J),i=i+Math.imul(O,K)|0,a=Math.imul(O,J),n=n+Math.imul(A,U)|0,i=i+Math.imul(A,V)|0,i=i+Math.imul(N,U)|0,a=a+Math.imul(N,V)|0,n=n+Math.imul(D,W)|0,i=i+Math.imul(D,G)|0,i=i+Math.imul(T,W)|0,a=a+Math.imul(T,G)|0,n=n+Math.imul(S,Y)|0,i=i+Math.imul(S,Q)|0,i=i+Math.imul(C,Y)|0,a=a+Math.imul(C,Q)|0,n=n+Math.imul(b,$)|0,i=i+Math.imul(b,ee)|0,i=i+Math.imul(k,$)|0,a=a+Math.imul(k,ee)|0,n=n+Math.imul(h,re)|0,i=i+Math.imul(h,ne)|0,i=i+Math.imul(y,re)|0,a=a+Math.imul(y,ne)|0,n=n+Math.imul(p,ae)|0,i=i+Math.imul(p,oe)|0,i=i+Math.imul(g,ae)|0,a=a+Math.imul(g,oe)|0,n=n+Math.imul(d,ce)|0,i=i+Math.imul(d,ue)|0,i=i+Math.imul(f,ce)|0,a=a+Math.imul(f,ue)|0;var Se=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(F,K),i=Math.imul(F,J),i=i+Math.imul(R,K)|0,a=Math.imul(R,J),n=n+Math.imul(M,U)|0,i=i+Math.imul(M,V)|0,i=i+Math.imul(O,U)|0,a=a+Math.imul(O,V)|0,n=n+Math.imul(A,W)|0,i=i+Math.imul(A,G)|0,i=i+Math.imul(N,W)|0,a=a+Math.imul(N,G)|0,n=n+Math.imul(D,Y)|0,i=i+Math.imul(D,Q)|0,i=i+Math.imul(T,Y)|0,a=a+Math.imul(T,Q)|0,n=n+Math.imul(S,$)|0,i=i+Math.imul(S,ee)|0,i=i+Math.imul(C,$)|0,a=a+Math.imul(C,ee)|0,n=n+Math.imul(b,re)|0,i=i+Math.imul(b,ne)|0,i=i+Math.imul(k,re)|0,a=a+Math.imul(k,ne)|0,n=n+Math.imul(h,ae)|0,i=i+Math.imul(h,oe)|0,i=i+Math.imul(y,ae)|0,a=a+Math.imul(y,oe)|0,n=n+Math.imul(p,ce)|0,i=i+Math.imul(p,ue)|0,i=i+Math.imul(g,ce)|0,a=a+Math.imul(g,ue)|0,n=n+Math.imul(d,de)|0,i=i+Math.imul(d,fe)|0,i=i+Math.imul(f,de)|0,a=a+Math.imul(f,fe)|0;var Ce=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(B,K),i=Math.imul(B,J),i=i+Math.imul(j,K)|0,a=Math.imul(j,J),n=n+Math.imul(F,U)|0,i=i+Math.imul(F,V)|0,i=i+Math.imul(R,U)|0,a=a+Math.imul(R,V)|0,n=n+Math.imul(M,W)|0,i=i+Math.imul(M,G)|0,i=i+Math.imul(O,W)|0,a=a+Math.imul(O,G)|0,n=n+Math.imul(A,Y)|0,i=i+Math.imul(A,Q)|0,i=i+Math.imul(N,Y)|0,a=a+Math.imul(N,Q)|0,n=n+Math.imul(D,$)|0,i=i+Math.imul(D,ee)|0,i=i+Math.imul(T,$)|0,a=a+Math.imul(T,ee)|0,n=n+Math.imul(S,re)|0,i=i+Math.imul(S,ne)|0,i=i+Math.imul(C,re)|0,a=a+Math.imul(C,ne)|0,n=n+Math.imul(b,ae)|0,i=i+Math.imul(b,oe)|0,i=i+Math.imul(k,ae)|0,a=a+Math.imul(k,oe)|0,n=n+Math.imul(h,ce)|0,i=i+Math.imul(h,ue)|0,i=i+Math.imul(y,ce)|0,a=a+Math.imul(y,ue)|0,n=n+Math.imul(p,de)|0,i=i+Math.imul(p,fe)|0,i=i+Math.imul(g,de)|0,a=a+Math.imul(g,fe)|0,n=n+Math.imul(d,pe)|0,i=i+Math.imul(d,ge)|0,i=i+Math.imul(f,pe)|0,a=a+Math.imul(f,ge)|0;var Ee=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(B,U),i=Math.imul(B,V),i=i+Math.imul(j,U)|0,a=Math.imul(j,V),n=n+Math.imul(F,W)|0,i=i+Math.imul(F,G)|0,i=i+Math.imul(R,W)|0,a=a+Math.imul(R,G)|0,n=n+Math.imul(M,Y)|0,i=i+Math.imul(M,Q)|0,i=i+Math.imul(O,Y)|0,a=a+Math.imul(O,Q)|0,n=n+Math.imul(A,$)|0,i=i+Math.imul(A,ee)|0,i=i+Math.imul(N,$)|0,a=a+Math.imul(N,ee)|0,n=n+Math.imul(D,re)|0,i=i+Math.imul(D,ne)|0,i=i+Math.imul(T,re)|0,a=a+Math.imul(T,ne)|0,n=n+Math.imul(S,ae)|0,i=i+Math.imul(S,oe)|0,i=i+Math.imul(C,ae)|0,a=a+Math.imul(C,oe)|0,n=n+Math.imul(b,ce)|0,i=i+Math.imul(b,ue)|0,i=i+Math.imul(k,ce)|0,a=a+Math.imul(k,ue)|0,n=n+Math.imul(h,de)|0,i=i+Math.imul(h,fe)|0,i=i+Math.imul(y,de)|0,a=a+Math.imul(y,fe)|0,n=n+Math.imul(p,pe)|0,i=i+Math.imul(p,ge)|0,i=i+Math.imul(g,pe)|0,a=a+Math.imul(g,ge)|0;var De=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(De>>>26)|0,De&=67108863,n=Math.imul(B,W),i=Math.imul(B,G),i=i+Math.imul(j,W)|0,a=Math.imul(j,G),n=n+Math.imul(F,Y)|0,i=i+Math.imul(F,Q)|0,i=i+Math.imul(R,Y)|0,a=a+Math.imul(R,Q)|0,n=n+Math.imul(M,$)|0,i=i+Math.imul(M,ee)|0,i=i+Math.imul(O,$)|0,a=a+Math.imul(O,ee)|0,n=n+Math.imul(A,re)|0,i=i+Math.imul(A,ne)|0,i=i+Math.imul(N,re)|0,a=a+Math.imul(N,ne)|0,n=n+Math.imul(D,ae)|0,i=i+Math.imul(D,oe)|0,i=i+Math.imul(T,ae)|0,a=a+Math.imul(T,oe)|0,n=n+Math.imul(S,ce)|0,i=i+Math.imul(S,ue)|0,i=i+Math.imul(C,ce)|0,a=a+Math.imul(C,ue)|0,n=n+Math.imul(b,de)|0,i=i+Math.imul(b,fe)|0,i=i+Math.imul(k,de)|0,a=a+Math.imul(k,fe)|0,n=n+Math.imul(h,pe)|0,i=i+Math.imul(h,ge)|0,i=i+Math.imul(y,pe)|0,a=a+Math.imul(y,ge)|0;var Te=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(B,Y),i=Math.imul(B,Q),i=i+Math.imul(j,Y)|0,a=Math.imul(j,Q),n=n+Math.imul(F,$)|0,i=i+Math.imul(F,ee)|0,i=i+Math.imul(R,$)|0,a=a+Math.imul(R,ee)|0,n=n+Math.imul(M,re)|0,i=i+Math.imul(M,ne)|0,i=i+Math.imul(O,re)|0,a=a+Math.imul(O,ne)|0,n=n+Math.imul(A,ae)|0,i=i+Math.imul(A,oe)|0,i=i+Math.imul(N,ae)|0,a=a+Math.imul(N,oe)|0,n=n+Math.imul(D,ce)|0,i=i+Math.imul(D,ue)|0,i=i+Math.imul(T,ce)|0,a=a+Math.imul(T,ue)|0,n=n+Math.imul(S,de)|0,i=i+Math.imul(S,fe)|0,i=i+Math.imul(C,de)|0,a=a+Math.imul(C,fe)|0,n=n+Math.imul(b,pe)|0,i=i+Math.imul(b,ge)|0,i=i+Math.imul(k,pe)|0,a=a+Math.imul(k,ge)|0;var we=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(B,$),i=Math.imul(B,ee),i=i+Math.imul(j,$)|0,a=Math.imul(j,ee),n=n+Math.imul(F,re)|0,i=i+Math.imul(F,ne)|0,i=i+Math.imul(R,re)|0,a=a+Math.imul(R,ne)|0,n=n+Math.imul(M,ae)|0,i=i+Math.imul(M,oe)|0,i=i+Math.imul(O,ae)|0,a=a+Math.imul(O,oe)|0,n=n+Math.imul(A,ce)|0,i=i+Math.imul(A,ue)|0,i=i+Math.imul(N,ce)|0,a=a+Math.imul(N,ue)|0,n=n+Math.imul(D,de)|0,i=i+Math.imul(D,fe)|0,i=i+Math.imul(T,de)|0,a=a+Math.imul(T,fe)|0,n=n+Math.imul(S,pe)|0,i=i+Math.imul(S,ge)|0,i=i+Math.imul(C,pe)|0,a=a+Math.imul(C,ge)|0;var Ae=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(B,re),i=Math.imul(B,ne),i=i+Math.imul(j,re)|0,a=Math.imul(j,ne),n=n+Math.imul(F,ae)|0,i=i+Math.imul(F,oe)|0,i=i+Math.imul(R,ae)|0,a=a+Math.imul(R,oe)|0,n=n+Math.imul(M,ce)|0,i=i+Math.imul(M,ue)|0,i=i+Math.imul(O,ce)|0,a=a+Math.imul(O,ue)|0,n=n+Math.imul(A,de)|0,i=i+Math.imul(A,fe)|0,i=i+Math.imul(N,de)|0,a=a+Math.imul(N,fe)|0,n=n+Math.imul(D,pe)|0,i=i+Math.imul(D,ge)|0,i=i+Math.imul(T,pe)|0,a=a+Math.imul(T,ge)|0;var Ne=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,n=Math.imul(B,ae),i=Math.imul(B,oe),i=i+Math.imul(j,ae)|0,a=Math.imul(j,oe),n=n+Math.imul(F,ce)|0,i=i+Math.imul(F,ue)|0,i=i+Math.imul(R,ce)|0,a=a+Math.imul(R,ue)|0,n=n+Math.imul(M,de)|0,i=i+Math.imul(M,fe)|0,i=i+Math.imul(O,de)|0,a=a+Math.imul(O,fe)|0,n=n+Math.imul(A,pe)|0,i=i+Math.imul(A,ge)|0,i=i+Math.imul(N,pe)|0,a=a+Math.imul(N,ge)|0;var Pe=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(B,ce),i=Math.imul(B,ue),i=i+Math.imul(j,ce)|0,a=Math.imul(j,ue),n=n+Math.imul(F,de)|0,i=i+Math.imul(F,fe)|0,i=i+Math.imul(R,de)|0,a=a+Math.imul(R,fe)|0,n=n+Math.imul(M,pe)|0,i=i+Math.imul(M,ge)|0,i=i+Math.imul(O,pe)|0,a=a+Math.imul(O,ge)|0;var Me=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(B,de),i=Math.imul(B,fe),i=i+Math.imul(j,de)|0,a=Math.imul(j,fe),n=n+Math.imul(F,pe)|0,i=i+Math.imul(F,ge)|0,i=i+Math.imul(R,pe)|0,a=a+Math.imul(R,ge)|0;var Oe=(u+n|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(B,pe),i=Math.imul(B,ge),i=i+Math.imul(j,pe)|0,a=Math.imul(j,ge);var Ie=(u+n|0)+((8191&i)<<13)|0;return u=(a+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,c[0]=me,c[1]=he,c[2]=ye,c[3]=ve,c[4]=be,c[5]=ke,c[6]=xe,c[7]=Se,c[8]=Ce,c[9]=Ee,c[10]=De,c[11]=Te,c[12]=we,c[13]=Ae,c[14]=Ne,c[15]=Pe,c[16]=Me,c[17]=Oe,c[18]=Ie,0!==u&&(c[19]=u,r.length++),r};Math.imul||(C=u),a.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?C(this,e,t):r<63?u(this,e,t):r<1024?l(this,e,t):d(this,e,t)},f.prototype.makeRBT=function(e){for(var t=new Array(e),r=a.prototype._countBits(e)-1,n=0;n>=1;return n},f.prototype.permute=function(e,t,r,n,i,a){for(var o=0;o>>=1)i++;return 1<>>=13,r[2*o+1]=8191&a,a>>>=13;for(o=2*t;o>=26,t+=i/67108864|0,t+=a>>>26,this.words[r]=67108863&a}return 0!==t&&(this.words[r]=t,this.length++),this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=c(e);if(0===t.length)return new a(1);for(var r=this,n=0;n=0);var t,r=e%26,i=(e-r)/26,a=67108863>>>26-r<<26-r;if(0!==r){var o=0;for(t=0;t>>26-r}o&&(this.words[t]=o,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0);var i;i=t?(t-t%26)/26:0;var a=e%26,o=Math.min((e-a)/26,this.length),s=67108863^67108863>>>a<o)for(this.length-=o,u=0;u=0&&(0!==l||u>=i);u--){var d=0|this.words[u];this.words[u]=l<<26-a|d>>>a,l=d&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},a.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(c/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},a.prototype._wordDiv=function(e,t){var r=this.length-e.length,n=this.clone(),i=e,o=0|i.words[i.length-1];0!==(r=26-this._countBits(o))&&(i=i.ushln(r),n.iushln(r),o=0|i.words[i.length-1]);var s,c=n.length-i.length;if("mod"!==t){s=new a(null),s.length=c+1,s.words=new Array(s.length);for(var u=0;u=0;d--){var f=67108864*(0|n.words[i.length+d])+(0|n.words[i.length+d-1]);for(f=Math.min(f/o|0,67108863),n._ishlnsubmul(i,f,d);0!==n.negative;)f--,n.negative=0,n._ishlnsubmul(i,1,d),n.isZero()||(n.negative^=1);s&&(s.words[d]=f)}return s&&s.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},a.prototype.divmod=function(e,t,r){if(n(!e.isZero()),this.isZero())return{div:new a(0),mod:new a(0)};var i,o,s;return 0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:i,mod:o}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!=(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:s.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modn(e.words[0]))}:this._wordDiv(e,t)},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),a=r.cmp(n);return a<0||1===i&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},a.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new a(1),o=new a(0),s=new a(0),c=new a(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),d=t.clone();!t.isZero();){for(var f=0,_=1;0==(t.words[0]&_)&&f<26;++f,_<<=1);if(f>0)for(t.iushrn(f);f-- >0;)(i.isOdd()||o.isOdd())&&(i.iadd(l),o.isub(d)),i.iushrn(1),o.iushrn(1);for(var p=0,g=1;0==(r.words[0]&g)&&p<26;++p,g<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(d)),s.iushrn(1),c.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(s),o.isub(c)):(r.isub(t),s.isub(i),c.isub(o))}return{a:s,b:c,gcd:r.iushln(u)}},a.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new a(1),o=new a(0),s=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var c=0,u=1;0==(t.words[0]&u)&&c<26;++c,u<<=1);if(c>0)for(t.iushrn(c);c-- >0;)i.isOdd()&&i.iadd(s),i.iushrn(1);for(var l=0,d=1;0==(r.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(r.iushrn(l);l-- >0;)o.isOdd()&&o.iadd(s),o.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(o)):(r.isub(t),o.isub(i))}var f;return f=0===t.cmpn(1)?i:o,f.cmpn(0)<0&&f.iadd(e),f},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var a=t;t=r,r=a}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return 0==(1&this.words[0])},a.prototype.isOdd=function(){return 1==(1&this.words[0])},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,i=1<>>26,s&=67108863,this.words[o]=s}return 0!==a&&(this.words[o]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t=e<0;if(0!==this.negative&&!t)return-1;if(0===this.negative&&t)return 1;this.strip();var r;if(this.length>1)r=1;else{t&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];r=i===e?0:ie.length)return 1;if(this.length=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){ni&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return-1===this.cmpn(e)},a.prototype.lt=function(e){return-1===this.cmp(e)},a.prototype.lten=function(e){return this.cmpn(e)<=0},a.prototype.lte=function(e){return this.cmp(e)<=0},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new y(e)},a.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var E={k256:null,p224:null,p192:null,p25519:null};_.prototype._tmp=function(){var e=new a(null);return e.words=new Array(Math.ceil(this.n/13)),e},_.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),r=this.imulK(r),r=r.iadd(this.tmp),t=r.bitLength()}while(t>this.n);var n=t0?r.isub(this.p):r.strip(),r},_.prototype.split=function(e,t){e.iushrn(this.n,0,t)},_.prototype.imulK=function(e){return e.imul(this.k)},i(p,_),p.prototype.split=function(e,t){for(var r=Math.min(e.length,9),n=0;n>>22,i=a}i>>>=22,e.words[n-10]=i,0===i&&e.length>10?e.length-=10:e.length-=9},p.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){if(E[e])return E[e];var t;if("k256"===e)t=new p;else if("p224"===e)t=new g;else if("p192"===e)t=new m;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new h}return E[e]=t,t},y.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},y.prototype._verify2=function(e,t){n(0==(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},y.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},y.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},y.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},y.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},y.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},y.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},y.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},y.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},y.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},y.prototype.isqr=function(e){return this.imul(e,e.clone())},y.prototype.sqr=function(e){return this.mul(e,e)},y.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new a(1)).iushrn(2);return this.pow(e,r)}for(var i=this.m.subn(1),o=0;!i.isZero()&&0===i.andln(1);)o++,i.iushrn(1);n(!i.isZero());var s=new a(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new a(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var d=this.pow(l,i),f=this.pow(e,i.addn(1).iushrn(1)),_=this.pow(e,i),p=o;0!==_.cmp(s);){for(var g=_,m=0;0!==g.cmp(s);m++)g=g.redSqr();n(m=0;n--){for(var u=t.words[n],l=c-1;l>=0;l--){var d=u>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==d||0!==o?(o<<=1,o|=d,(4===++s||0===n&&0===l)&&(i=this.mul(i,r[o]),s=0,o=0)):s=0}c=26}return i},y.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},y.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new v(e)},i(v,y),v.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},v.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},v.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},v.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},v.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(void 0===e||e,this)}).call(t,r(128)(e))},function(e,t,r){"use strict";var n=t;n.version=r(134).version,n.utils=r(135),n.rand=r(69),n.curve=r(29),n.curves=r(140),n.ec=r(148),n.eddsa=r(152)},function(e,t){function r(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=r,r.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}},function(e,t){function r(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function i(e){if(l===setTimeout)return setTimeout(e,0);if((l===r||!l)&&setTimeout)return l=setTimeout,setTimeout(e,0);try{return l(e,0)}catch(t){try{return l.call(null,e,0)}catch(t){return l.call(this,e,0)}}}function a(e){if(d===clearTimeout)return clearTimeout(e);if((d===n||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function o(){g&&_&&(g=!1,_.length?p=_.concat(p):m=-1,p.length&&s())}function s(){if(!g){var e=i(o);g=!0;for(var t=p.length;t;){for(_=p,p=[];++m1)for(var r=1;r>8,o=255&i;a?r.push(a,o):r.push(o)}else for(n=0;n>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function o(e,t){for(var r="",n=0;n>>0}return a}function l(e,t){for(var r=new Array(4*e.length),n=0,i=0;n>>24,r[i+1]=a>>>16&255,r[i+2]=a>>>8&255,r[i+3]=255&a):(r[i+3]=a>>>24,r[i+2]=a>>>16&255,r[i+1]=a>>>8&255,r[i]=255&a)}return r}function d(e,t){return e>>>t|e<<32-t}function f(e,t){return e<>>32-t}function _(e,t){return e+t>>>0}function p(e,t,r){return e+t+r>>>0}function g(e,t,r,n){return e+t+r+n>>>0}function m(e,t,r,n,i){return e+t+r+n+i>>>0}function h(e,t,r,n){var i=e[t],a=e[t+1],o=n+a>>>0,s=(o>>0,e[t+1]=o}function y(e,t,r,n){return(t+n>>>0>>0}function v(e,t,r,n){return t+n>>>0}function b(e,t,r,n,i,a,o,s){var c=0,u=t;return u=u+n>>>0,c+=u>>0,c+=u>>0,c+=u>>0}function k(e,t,r,n,i,a,o,s){return t+n+a+s>>>0}function x(e,t,r,n,i,a,o,s,c,u){var l=0,d=t;return d=d+n>>>0,l+=d>>0,l+=d>>0,l+=d>>0,l+=d>>0}function S(e,t,r,n,i,a,o,s,c,u){return t+n+a+s+u>>>0}function C(e,t,r){return(t<<32-r|e>>>r)>>>0}function E(e,t,r){return(e<<32-r|t>>>r)>>>0}function D(e,t,r){return e>>>r}function T(e,t,r){return(e<<32-r|t>>>r)>>>0}var w=r(4),A=r(1);t.inherits=A,t.toArray=n,t.toHex=i,t.htonl=a,t.toHex32=o,t.zero2=s,t.zero8=c,t.join32=u,t.split32=l,t.rotr32=d,t.rotl32=f,t.sum32=_,t.sum32_3=p,t.sum32_4=g,t.sum32_5=m,t.sum64=h,t.sum64_hi=y,t.sum64_lo=v,t.sum64_4_hi=b,t.sum64_4_lo=k,t.sum64_5_hi=x,t.sum64_5_lo=S,t.rotr64_hi=C,t.rotr64_lo=E,t.shr64_hi=D,t.shr64_lo=T},function(e,t,r){function n(e,t){for(var r in e)t[r]=e[r]}function i(e,t,r){return o(e,t,r)}var a=r(0),o=a.Buffer;o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=a:(n(a,t),t.Buffer=i),n(o,i),i.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,r)},i.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},i.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},i.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return a.SlowBuffer(e)}},function(e,t,r){function n(e){a.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}var i=r(7).Buffer,a=r(33).Transform,o=r(37).StringDecoder;r(1)(n,a),n.prototype.update=function(e,t,r){"string"==typeof e&&(e=i.from(e,t));var n=this._update(e);return this.hashMode?this:(r&&(n=this._toString(n,r)),n)},n.prototype.setAutoPadding=function(){},n.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},n.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},n.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},n.prototype._transform=function(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){n=e}finally{r(n)}},n.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},n.prototype._finalOrDigest=function(e){var t=this.__final()||i.alloc(0);return e&&(t=this._toString(t,e,!0)),t},n.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new o(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n},e.exports=n},function(e,t){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";function n(e){if(!(this instanceof n))return new n(e);u.call(this,e),l.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",i)}function i(){this.allowHalfOpen||this._writableState.ended||o(a,this)}function a(e){e.end()}var o=r(24),s=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=n;var c=r(16);c.inherits=r(1);var u=r(47),l=r(36);c.inherits(n,u);for(var d=s(l.prototype),f=0;f=8*this._finalSize&&(this._update(this._block),this._block.fill(0)),this._block.writeInt32BE(t,this._blockSize-4);var r=this._update(this._block)||this._hash();return e?r.toString(e):r},r.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=r}).call(t,r(0).Buffer)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this.properties=[]}return e.prototype.setProperties=function(e){this.properties=e},e.prototype.getProperties=function(){return this.properties},e.prototype.addProperty=function(e){this.properties.push(e)},e.prototype.merge=function(e,t){var r,n=this;e.getProperties().forEach(function(e){r=!1,n.getProperties().forEach(function(n){n.getIdentifier()===e.getIdentifier()&&(n.merge(e,t),r=!0)}),r||n.addProperty(e)})},e.prototype.toString=function(){var e=this,t=[];return this.getProperties().forEach(function(r){t.push(r.toString()),e.getProperties().indexOf(r)65536)throw new Error("requested too many random bytes");var i=new t.Uint8Array(e);e>0&&s.getRandomValues(i);var a=o.from(i.buffer);return"function"==typeof r?n.nextTick(function(){r(null,a)}):a}var o=r(7).Buffer,s=t.crypto||t.msCrypto;s&&s.getRandomValues?e.exports=a:e.exports=i}).call(t,r(9),r(5))},function(e,t,r){"use strict";(function(t){function n(e){u.call(this,"digest"),this._hash=e,this.buffers=[]}function i(e){u.call(this,"digest"),this._hash=e}var a=r(1),o=r(23),s=r(32),c=r(38),u=r(8);a(n,u),n.prototype._update=function(e){this.buffers.push(e)},n.prototype._final=function(){var e=t.concat(this.buffers),r=this._hash(e);return this.buffers=null,r},a(i,u),i.prototype._update=function(e){this._hash.update(e)},i.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return e=e.toLowerCase(),"md5"===e?new n(o):new i("rmd160"===e||"ripemd160"===e?new s:c(e))}}).call(t,r(0).Buffer)},function(e,t,r){(function(e){function r(e){return Array.isArray?Array.isArray(e):"[object Array]"===m(e)}function n(e){return"boolean"==typeof e}function i(e){return null===e}function a(e){return null==e}function o(e){return"number"==typeof e}function s(e){return"string"==typeof e}function c(e){return"symbol"==typeof e}function u(e){return void 0===e}function l(e){return"[object RegExp]"===m(e)}function d(e){return"object"==typeof e&&null!==e}function f(e){return"[object Date]"===m(e)}function _(e){return"[object Error]"===m(e)||e instanceof Error}function p(e){return"function"==typeof e}function g(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function m(e){return Object.prototype.toString.call(e)}t.isArray=r,t.isBoolean=n,t.isNull=i,t.isNullOrUndefined=a,t.isNumber=o,t.isString=s,t.isSymbol=c,t.isUndefined=u,t.isRegExp=l,t.isObject=d,t.isDate=f,t.isError=_,t.isFunction=p,t.isPrimitive=g,t.isBuffer=e.isBuffer}).call(t,r(0).Buffer)},function(e,t,r){(function(t){e.exports=function(e,r){for(var n=Math.min(e.length,r.length),i=new t(n),a=0;a=this._delta8){e=this.pending;var r=e.length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=i.join32(e,0,e.length-r,this.endian);for(var n=0;n>>24&255,n[i++]=e>>>16&255,n[i++]=e>>>8&255,n[i++]=255&e}else for(n[i++]=255&e,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,a=8;a=0;l--)o=c[l],"."===o?c.splice(l,1):".."===o?u++:u>0&&(""===o?(c.splice(l+1,u),u=0):(c.splice(l,2),u--));return r=c.join("/"),""===r&&(r=s?"/":"."),a?(a.path=r,i(a)):r}function o(e,t){""===e&&(e="."),""===t&&(t=".");var r=n(t),o=n(e);if(o&&(e=o.path||"/"),r&&!r.scheme)return o&&(r.scheme=o.scheme),i(r);if(r||t.match(h))return t;if(o&&!o.host&&!o.path)return o.host=t,i(o);var s="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return o?(o.path=s,i(o)):s}function s(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var r=0;0!==t.indexOf(e+"/");){var n=e.lastIndexOf("/");if(n<0)return t;if(e=e.slice(0,n),e.match(/^([^\/]+:\/)?\/*$/))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)}function c(e){return e}function u(e){return d(e)?"$"+e:e}function l(e){return d(e)?e.slice(1):e}function d(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var r=t-10;r>=0;r--)if(36!==e.charCodeAt(r))return!1;return!0}function f(e,t,r){var n=e.source-t.source;return 0!==n?n:0!==(n=e.originalLine-t.originalLine)?n:0!==(n=e.originalColumn-t.originalColumn)||r?n:0!==(n=e.generatedColumn-t.generatedColumn)?n:(n=e.generatedLine-t.generatedLine,0!==n?n:e.name-t.name)}function _(e,t,r){var n=e.generatedLine-t.generatedLine;return 0!==n?n:0!==(n=e.generatedColumn-t.generatedColumn)||r?n:0!==(n=e.source-t.source)?n:0!==(n=e.originalLine-t.originalLine)?n:(n=e.originalColumn-t.originalColumn,0!==n?n:e.name-t.name)}function p(e,t){return e===t?0:e>t?1:-1}function g(e,t){var r=e.generatedLine-t.generatedLine;return 0!==r?r:0!==(r=e.generatedColumn-t.generatedColumn)?r:0!==(r=p(e.source,t.source))?r:0!==(r=e.originalLine-t.originalLine)?r:(r=e.originalColumn-t.originalColumn,0!==r?r:p(e.name,t.name))}t.getArg=r;var m=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,h=/^data:.+\,.+$/;t.urlParse=n,t.urlGenerate=i,t.normalize=a,t.join=o,t.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(m)},t.relative=s;var y=function(){return!("__proto__"in Object.create(null))}();t.toSetString=y?c:u,t.fromSetString=y?c:l,t.compareByOriginalPositions=f,t.compareByGeneratedPositionsDeflated=_,t.compareByGeneratedPositionsInflated=g},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this.elements=[]}return e.prototype.addElement=function(e){this.elements.push(e)},e.prototype.getElements=function(){return this.elements},e.prototype.setElements=function(e){this.elements=e},e.prototype.merge=function(e,t){var r,n=this;e.getElements().forEach(function(e){r=!1,n.getElements().forEach(function(t){e.toString()===t.toString()&&(r=!0)}),r||n.addElement(e)})},e.prototype.toString=function(){var e=this,t=[];return t.push("[\n"),this.getElements().forEach(function(r){e.elements.indexOf(r)>5]|=128<>>9<<4)]=t;for(var r=1732584193,n=-271733879,i=-1732584194,l=271733878,d=0;d>16)+(t>>16)+(r>>16)<<16|65535&r}function l(e,t){return e<>>32-t}var d=r(96);e.exports=function(e){return d(e,n)}},function(e,t,r){"use strict";(function(t){function r(e,r,n,i){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var a,o,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick(function(){e.call(null,r)});case 3:return t.nextTick(function(){e.call(null,r,n)});case 4:return t.nextTick(function(){e.call(null,r,n,i)});default:for(a=new Array(s-1),o=0;o0&&_.push(o),_.push(e),r&&_.push(r),o=i(t.concat(_)),_=[],s=0,n>0)for(;;){if(0===n)break;if(s===o.length)break;l[c++]=o[s],n--,s++}if(a>0&&s!==o.length)for(;;){if(0===a)break;if(s===o.length)break;d[u++]=o[s],a--,s++}if(0===n&&0===a)break}for(s=0;ss||e<0?(t=Math.abs(e)%s,e<0?s-t:t):e}function n(e){for(;0>>8^255&r^99,this.SBOX[i]=r,this.INV_SBOX[r]=i,a=e[i],o=e[a],s=e[o],n=257*e[r]^16843008*r,this.SUB_MIX[0][i]=n<<24|n>>>8,this.SUB_MIX[1][i]=n<<16|n>>>16,this.SUB_MIX[2][i]=n<<8|n>>>24,this.SUB_MIX[3][i]=n,n=16843009*s^65537*o^257*a^16843008*i,this.INV_SUB_MIX[0][r]=n<<24|n>>>8,this.INV_SUB_MIX[1][r]=n<<16|n>>>16,this.INV_SUB_MIX[2][r]=n<<8|n>>>24,this.INV_SUB_MIX[3][r]=n,0===i?i=c=1:(i=a^e[e[e[s^a]]],c^=e[e[c]]);return!0};var c=new i;o.blockSize=16,o.prototype.blockSize=o.blockSize,o.keySize=32,o.prototype.keySize=o.keySize,o.prototype._doReset=function(){var e,t,r,n,i,a;for(r=this._key,t=r.length,this._nRounds=t+6,i=4*(this._nRounds+1),this._keySchedule=[],n=0;n>>24,a=c.SBOX[a>>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a],a^=c.RCON[n/t|0]<<24):t>6&&n%t==4&&(a=c.SBOX[a>>>24]<<24|c.SBOX[a>>>16&255]<<16|c.SBOX[a>>>8&255]<<8|c.SBOX[255&a]),this._keySchedule[n-t]^a);for(this._invKeySchedule=[],e=0;e>>24]]^c.INV_SUB_MIX[1][c.SBOX[a>>>16&255]]^c.INV_SUB_MIX[2][c.SBOX[a>>>8&255]]^c.INV_SUB_MIX[3][c.SBOX[255&a]];return!0},o.prototype.encryptBlock=function(t){t=a(new e(t));var r=this._doCryptBlock(t,this._keySchedule,c.SUB_MIX,c.SBOX),n=new e(16);return n.writeUInt32BE(r[0],0),n.writeUInt32BE(r[1],4),n.writeUInt32BE(r[2],8),n.writeUInt32BE(r[3],12),n},o.prototype.decryptBlock=function(t){t=a(new e(t));var r=[t[3],t[1]];t[1]=r[0],t[3]=r[1];var n=this._doCryptBlock(t,this._invKeySchedule,c.INV_SUB_MIX,c.INV_SBOX),i=new e(16);return i.writeUInt32BE(n[0],0),i.writeUInt32BE(n[3],4),i.writeUInt32BE(n[2],8),i.writeUInt32BE(n[1],12),i},o.prototype.scrub=function(){n(this._keySchedule),n(this._invKeySchedule),n(this._key)},o.prototype._doCryptBlock=function(e,t,n,i){var a,o,s,c,u,l,d,f,_;o=e[0]^t[0],s=e[1]^t[1],c=e[2]^t[2],u=e[3]^t[3],a=4;for(var p=1;p>>24]^n[1][s>>>16&255]^n[2][c>>>8&255]^n[3][255&u]^t[a++],d=n[0][s>>>24]^n[1][c>>>16&255]^n[2][u>>>8&255]^n[3][255&o]^t[a++],f=n[0][c>>>24]^n[1][u>>>16&255]^n[2][o>>>8&255]^n[3][255&s]^t[a++],_=n[0][u>>>24]^n[1][o>>>16&255]^n[2][s>>>8&255]^n[3][255&c]^t[a++],o=l,s=d,c=f,u=_;return l=(i[o>>>24]<<24|i[s>>>16&255]<<16|i[c>>>8&255]<<8|i[255&u])^t[a++],d=(i[s>>>24]<<24|i[c>>>16&255]<<16|i[u>>>8&255]<<8|i[255&o])^t[a++],f=(i[c>>>24]<<24|i[u>>>16&255]<<16|i[o>>>8&255]<<8|i[255&s])^t[a++],_=(i[u>>>24]<<24|i[o>>>16&255]<<16|i[s>>>8&255]<<8|i[255&c])^t[a++],[r(l),r(d),r(f),r(_)]},t.AES=o}).call(t,r(0).Buffer)},function(e,t){t["aes-128-ecb"]={cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},t["aes-192-ecb"]={cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},t["aes-256-ecb"]={cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},t["aes-128-cbc"]={cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},t["aes-192-cbc"]={cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},t["aes-256-cbc"]={cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},t.aes128=t["aes-128-cbc"],t.aes192=t["aes-192-cbc"],t.aes256=t["aes-256-cbc"],t["aes-128-cfb"]={cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},t["aes-192-cfb"]={cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},t["aes-256-cfb"]={cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},t["aes-128-cfb8"]={cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},t["aes-192-cfb8"]={cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},t["aes-256-cfb8"]={cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},t["aes-128-cfb1"]={cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},t["aes-192-cfb1"]={cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},t["aes-256-cfb1"]={cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},t["aes-128-ofb"]={cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},t["aes-192-ofb"]={cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},t["aes-256-ofb"]={cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},t["aes-128-ctr"]={cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},t["aes-192-ctr"]={cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},t["aes-256-ctr"]={cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},t["aes-128-gcm"]={cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},t["aes-192-gcm"]={cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},t["aes-256-gcm"]={cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}},function(e,t,r){(function(e){function n(e){for(var t,r=e.length;r--;){if(255!==(t=e.readUInt8(r))){t++,e.writeUInt8(t,r);break}e.writeUInt8(0,r)}}function i(e){var t=e._cipher.encryptBlock(e._prev);return n(e._prev),t}var a=r(17);t.encrypt=function(t,r){for(;t._cache.length>>32-t}function a(e,t,r,n,a,o,s,c){return i(e+(t^r^n)+o+s|0,c)+a|0}function o(e,t,r,n,a,o,s,c){return i(e+(t&r|~t&n)+o+s|0,c)+a|0}function s(e,t,r,n,a,o,s,c){return i(e+((t|~r)^n)+o+s|0,c)+a|0}function c(e,t,r,n,a,o,s,c){return i(e+(t&n|r&~n)+o+s|0,c)+a|0}function u(e,t,r,n,a,o,s,c){return i(e+(t^(r|~n))+o+s|0,c)+a|0}var l=r(1),d=r(97);l(n,d),n.prototype._update=function(){for(var e=new Array(16),t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,l=this._c,d=this._d,f=this._e;r=a(r,n,l,d,f,e[0],0,11),l=i(l,10),f=a(f,r,n,l,d,e[1],0,14),n=i(n,10),d=a(d,f,r,n,l,e[2],0,15),r=i(r,10),l=a(l,d,f,r,n,e[3],0,12),f=i(f,10),n=a(n,l,d,f,r,e[4],0,5),d=i(d,10),r=a(r,n,l,d,f,e[5],0,8),l=i(l,10),f=a(f,r,n,l,d,e[6],0,7),n=i(n,10),d=a(d,f,r,n,l,e[7],0,9),r=i(r,10),l=a(l,d,f,r,n,e[8],0,11),f=i(f,10),n=a(n,l,d,f,r,e[9],0,13),d=i(d,10),r=a(r,n,l,d,f,e[10],0,14),l=i(l,10),f=a(f,r,n,l,d,e[11],0,15),n=i(n,10),d=a(d,f,r,n,l,e[12],0,6),r=i(r,10),l=a(l,d,f,r,n,e[13],0,7),f=i(f,10),n=a(n,l,d,f,r,e[14],0,9),d=i(d,10),r=a(r,n,l,d,f,e[15],0,8),l=i(l,10),f=o(f,r,n,l,d,e[7],1518500249,7),n=i(n,10),d=o(d,f,r,n,l,e[4],1518500249,6),r=i(r,10),l=o(l,d,f,r,n,e[13],1518500249,8),f=i(f,10),n=o(n,l,d,f,r,e[1],1518500249,13),d=i(d,10),r=o(r,n,l,d,f,e[10],1518500249,11),l=i(l,10),f=o(f,r,n,l,d,e[6],1518500249,9),n=i(n,10),d=o(d,f,r,n,l,e[15],1518500249,7),r=i(r,10),l=o(l,d,f,r,n,e[3],1518500249,15),f=i(f,10),n=o(n,l,d,f,r,e[12],1518500249,7),d=i(d,10),r=o(r,n,l,d,f,e[0],1518500249,12),l=i(l,10),f=o(f,r,n,l,d,e[9],1518500249,15),n=i(n,10),d=o(d,f,r,n,l,e[5],1518500249,9),r=i(r,10),l=o(l,d,f,r,n,e[2],1518500249,11),f=i(f,10),n=o(n,l,d,f,r,e[14],1518500249,7),d=i(d,10),r=o(r,n,l,d,f,e[11],1518500249,13),l=i(l,10),f=o(f,r,n,l,d,e[8],1518500249,12),n=i(n,10),d=s(d,f,r,n,l,e[3],1859775393,11),r=i(r,10),l=s(l,d,f,r,n,e[10],1859775393,13),f=i(f,10),n=s(n,l,d,f,r,e[14],1859775393,6),d=i(d,10),r=s(r,n,l,d,f,e[4],1859775393,7),l=i(l,10),f=s(f,r,n,l,d,e[9],1859775393,14),n=i(n,10),d=s(d,f,r,n,l,e[15],1859775393,9),r=i(r,10),l=s(l,d,f,r,n,e[8],1859775393,13),f=i(f,10),n=s(n,l,d,f,r,e[1],1859775393,15),d=i(d,10),r=s(r,n,l,d,f,e[2],1859775393,14),l=i(l,10),f=s(f,r,n,l,d,e[7],1859775393,8),n=i(n,10),d=s(d,f,r,n,l,e[0],1859775393,13),r=i(r,10),l=s(l,d,f,r,n,e[6],1859775393,6),f=i(f,10),n=s(n,l,d,f,r,e[13],1859775393,5),d=i(d,10),r=s(r,n,l,d,f,e[11],1859775393,12),l=i(l,10),f=s(f,r,n,l,d,e[5],1859775393,7),n=i(n,10),d=s(d,f,r,n,l,e[12],1859775393,5),r=i(r,10),l=c(l,d,f,r,n,e[1],2400959708,11),f=i(f,10),n=c(n,l,d,f,r,e[9],2400959708,12),d=i(d,10),r=c(r,n,l,d,f,e[11],2400959708,14),l=i(l,10),f=c(f,r,n,l,d,e[10],2400959708,15),n=i(n,10),d=c(d,f,r,n,l,e[0],2400959708,14),r=i(r,10),l=c(l,d,f,r,n,e[8],2400959708,15),f=i(f,10),n=c(n,l,d,f,r,e[12],2400959708,9),d=i(d,10),r=c(r,n,l,d,f,e[4],2400959708,8),l=i(l,10),f=c(f,r,n,l,d,e[13],2400959708,9),n=i(n,10),d=c(d,f,r,n,l,e[3],2400959708,14),r=i(r,10),l=c(l,d,f,r,n,e[7],2400959708,5),f=i(f,10),n=c(n,l,d,f,r,e[15],2400959708,6),d=i(d,10),r=c(r,n,l,d,f,e[14],2400959708,8),l=i(l,10),f=c(f,r,n,l,d,e[5],2400959708,6),n=i(n,10),d=c(d,f,r,n,l,e[6],2400959708,5),r=i(r,10),l=c(l,d,f,r,n,e[2],2400959708,12),f=i(f,10),n=u(n,l,d,f,r,e[4],2840853838,9),d=i(d,10),r=u(r,n,l,d,f,e[0],2840853838,15),l=i(l,10),f=u(f,r,n,l,d,e[5],2840853838,5),n=i(n,10),d=u(d,f,r,n,l,e[9],2840853838,11),r=i(r,10),l=u(l,d,f,r,n,e[7],2840853838,6),f=i(f,10),n=u(n,l,d,f,r,e[12],2840853838,8),d=i(d,10),r=u(r,n,l,d,f,e[2],2840853838,13),l=i(l,10),f=u(f,r,n,l,d,e[10],2840853838,12),n=i(n,10),d=u(d,f,r,n,l,e[14],2840853838,5),r=i(r,10),l=u(l,d,f,r,n,e[1],2840853838,12),f=i(f,10),n=u(n,l,d,f,r,e[3],2840853838,13),d=i(d,10),r=u(r,n,l,d,f,e[8],2840853838,14),l=i(l,10),f=u(f,r,n,l,d,e[11],2840853838,11),n=i(n,10),d=u(d,f,r,n,l,e[6],2840853838,8),r=i(r,10),l=u(l,d,f,r,n,e[15],2840853838,5),f=i(f,10),n=u(n,l,d,f,r,e[13],2840853838,6),d=i(d,10);var _=this._a,p=this._b,g=this._c,m=this._d,h=this._e;_=u(_,p,g,m,h,e[5],1352829926,8),g=i(g,10),h=u(h,_,p,g,m,e[14],1352829926,9),p=i(p,10),m=u(m,h,_,p,g,e[7],1352829926,9),_=i(_,10),g=u(g,m,h,_,p,e[0],1352829926,11),h=i(h,10),p=u(p,g,m,h,_,e[9],1352829926,13),m=i(m,10),_=u(_,p,g,m,h,e[2],1352829926,15),g=i(g,10),h=u(h,_,p,g,m,e[11],1352829926,15),p=i(p,10),m=u(m,h,_,p,g,e[4],1352829926,5),_=i(_,10),g=u(g,m,h,_,p,e[13],1352829926,7),h=i(h,10),p=u(p,g,m,h,_,e[6],1352829926,7),m=i(m,10),_=u(_,p,g,m,h,e[15],1352829926,8),g=i(g,10),h=u(h,_,p,g,m,e[8],1352829926,11),p=i(p,10),m=u(m,h,_,p,g,e[1],1352829926,14),_=i(_,10),g=u(g,m,h,_,p,e[10],1352829926,14),h=i(h,10),p=u(p,g,m,h,_,e[3],1352829926,12),m=i(m,10),_=u(_,p,g,m,h,e[12],1352829926,6),g=i(g,10),h=c(h,_,p,g,m,e[6],1548603684,9),p=i(p,10),m=c(m,h,_,p,g,e[11],1548603684,13),_=i(_,10),g=c(g,m,h,_,p,e[3],1548603684,15),h=i(h,10),p=c(p,g,m,h,_,e[7],1548603684,7),m=i(m,10),_=c(_,p,g,m,h,e[0],1548603684,12),g=i(g,10),h=c(h,_,p,g,m,e[13],1548603684,8),p=i(p,10),m=c(m,h,_,p,g,e[5],1548603684,9),_=i(_,10),g=c(g,m,h,_,p,e[10],1548603684,11),h=i(h,10),p=c(p,g,m,h,_,e[14],1548603684,7),m=i(m,10),_=c(_,p,g,m,h,e[15],1548603684,7),g=i(g,10),h=c(h,_,p,g,m,e[8],1548603684,12),p=i(p,10),m=c(m,h,_,p,g,e[12],1548603684,7),_=i(_,10),g=c(g,m,h,_,p,e[4],1548603684,6),h=i(h,10),p=c(p,g,m,h,_,e[9],1548603684,15),m=i(m,10),_=c(_,p,g,m,h,e[1],1548603684,13),g=i(g,10),h=c(h,_,p,g,m,e[2],1548603684,11),p=i(p,10),m=s(m,h,_,p,g,e[15],1836072691,9),_=i(_,10),g=s(g,m,h,_,p,e[5],1836072691,7),h=i(h,10),p=s(p,g,m,h,_,e[1],1836072691,15),m=i(m,10),_=s(_,p,g,m,h,e[3],1836072691,11),g=i(g,10),h=s(h,_,p,g,m,e[7],1836072691,8),p=i(p,10),m=s(m,h,_,p,g,e[14],1836072691,6),_=i(_,10),g=s(g,m,h,_,p,e[6],1836072691,6),h=i(h,10),p=s(p,g,m,h,_,e[9],1836072691,14),m=i(m,10),_=s(_,p,g,m,h,e[11],1836072691,12),g=i(g,10),h=s(h,_,p,g,m,e[8],1836072691,13),p=i(p,10),m=s(m,h,_,p,g,e[12],1836072691,5),_=i(_,10),g=s(g,m,h,_,p,e[2],1836072691,14),h=i(h,10),p=s(p,g,m,h,_,e[10],1836072691,13),m=i(m,10),_=s(_,p,g,m,h,e[0],1836072691,13),g=i(g,10),h=s(h,_,p,g,m,e[4],1836072691,7),p=i(p,10),m=s(m,h,_,p,g,e[13],1836072691,5),_=i(_,10),g=o(g,m,h,_,p,e[8],2053994217,15),h=i(h,10),p=o(p,g,m,h,_,e[6],2053994217,5),m=i(m,10),_=o(_,p,g,m,h,e[4],2053994217,8),g=i(g,10),h=o(h,_,p,g,m,e[1],2053994217,11),p=i(p,10),m=o(m,h,_,p,g,e[3],2053994217,14),_=i(_,10),g=o(g,m,h,_,p,e[11],2053994217,14),h=i(h,10),p=o(p,g,m,h,_,e[15],2053994217,6),m=i(m,10),_=o(_,p,g,m,h,e[0],2053994217,14),g=i(g,10),h=o(h,_,p,g,m,e[5],2053994217,6),p=i(p,10),m=o(m,h,_,p,g,e[12],2053994217,9),_=i(_,10),g=o(g,m,h,_,p,e[2],2053994217,12),h=i(h,10),p=o(p,g,m,h,_,e[13],2053994217,9),m=i(m,10),_=o(_,p,g,m,h,e[9],2053994217,12),g=i(g,10),h=o(h,_,p,g,m,e[7],2053994217,5),p=i(p,10),m=o(m,h,_,p,g,e[10],2053994217,15),_=i(_,10),g=o(g,m,h,_,p,e[14],2053994217,8),h=i(h,10),p=a(p,g,m,h,_,e[12],0,8),m=i(m,10),_=a(_,p,g,m,h,e[15],0,5),g=i(g,10),h=a(h,_,p,g,m,e[10],0,12),p=i(p,10),m=a(m,h,_,p,g,e[4],0,9),_=i(_,10),g=a(g,m,h,_,p,e[1],0,12),h=i(h,10),p=a(p,g,m,h,_,e[5],0,5),m=i(m,10),_=a(_,p,g,m,h,e[8],0,14),g=i(g,10),h=a(h,_,p,g,m,e[7],0,6),p=i(p,10),m=a(m,h,_,p,g,e[6],0,8),_=i(_,10),g=a(g,m,h,_,p,e[2],0,13),h=i(h,10),p=a(p,g,m,h,_,e[13],0,6),m=i(m,10),_=a(_,p,g,m,h,e[14],0,5),g=i(g,10),h=a(h,_,p,g,m,e[0],0,15),p=i(p,10),m=a(m,h,_,p,g,e[3],0,13),_=i(_,10),g=a(g,m,h,_,p,e[9],0,11),h=i(h,10),p=a(p,g,m,h,_,e[11],0,11),m=i(m,10);var y=this._b+l+m|0;this._b=this._c+d+h|0,this._c=this._d+f+_|0,this._d=this._e+r+p|0,this._e=this._a+n+g|0,this._a=y},n.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=new t(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=n}).call(t,r(0).Buffer)},function(e,t,r){function n(){i.call(this)}e.exports=n;var i=r(34).EventEmitter;r(1)(n,i),n.Readable=r(35),n.Writable=r(105),n.Duplex=r(106),n.Transform=r(107),n.PassThrough=r(108),n.Stream=n,n.prototype.pipe=function(e,t){function r(t){e.writable&&!1===e.write(t)&&u.pause&&u.pause()}function n(){u.readable&&u.resume&&u.resume()}function a(){l||(l=!0,e.end())}function o(){l||(l=!0,"function"==typeof e.destroy&&e.destroy())}function s(e){if(c(),0===i.listenerCount(this,"error"))throw e}function c(){u.removeListener("data",r),e.removeListener("drain",n),u.removeListener("end",a),u.removeListener("close",o),u.removeListener("error",s),e.removeListener("error",s),u.removeListener("end",c),u.removeListener("close",c),e.removeListener("close",c)}var u=this;u.on("data",r),e.on("drain",n),e._isStdio||t&&!1===t.end||(u.on("end",a),u.on("close",o));var l=!1;return u.on("error",s),e.on("error",s),u.on("end",c),u.on("close",c),e.on("close",c),e.emit("pipe",u),e}},function(e,t){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function n(e){return"function"==typeof e}function i(e){return"number"==typeof e}function a(e){return"object"==typeof e&&null!==e}function o(e){return void 0===e}e.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(e){if(!i(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},r.prototype.emit=function(e){var t,r,i,s,c,u;if(this._events||(this._events={}),"error"===e&&(!this._events.error||a(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var l=new Error('Uncaught, unspecified "error" event. ('+t+")");throw l.context=t,l}if(r=this._events[e],o(r))return!1;if(n(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),r.apply(this,s)}else if(a(r))for(s=Array.prototype.slice.call(arguments,1),u=r.slice(),i=u.length,c=0;c0&&this._events[e].length>i&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(e,t){function r(){this.removeListener(e,r),i||(i=!0,t.apply(this,arguments))}if(!n(t))throw TypeError("listener must be a function");var i=!1;return r.listener=t,this.on(e,r),this},r.prototype.removeListener=function(e,t){var r,i,o,s;if(!n(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(r=this._events[e],o=r.length,i=-1,r===t||n(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(a(r)){for(s=o;s-- >0;)if(r[s]===t||r[s].listener&&r[s].listener===t){i=s;break}if(i<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[e],n(r))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){return this._events&&this._events[e]?n(this._events[e])?[this._events[e]]:this._events[e].slice():[]},r.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(n(t))return 1;if(t)return t.length}return 0},r.listenerCount=function(e,t){return e.listenerCount(t)}},function(e,t,r){t=e.exports=r(47),t.Stream=t,t.Readable=t,t.Writable=r(36),t.Duplex=r(10),t.Transform=r(50),t.PassThrough=r(104)},function(e,t,r){"use strict";(function(t,n){function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){T(t,e)}}function a(e){return I.from(e)}function o(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)||I.isBuffer(e)}function s(){}function c(e,t){A=A||r(10),e=e||{},this.objectMode=!!e.objectMode,t instanceof A&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var n=e.highWaterMark,a=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:a,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var o=!1===e.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){y(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function u(e){if(A=A||r(10),!(R.call(u,this)||this instanceof A))return new u(e);this._writableState=new c(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),O.call(this)}function l(e,t){var r=new Error("write after end");e.emit("error",r),w(t,r)}function d(e,t,r,n){var i=!0,a=!1;return null===r?a=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),w(n,a),i=!1),i}function f(e,t,r){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=I.from(t,r)),t}function _(e,t,r,n,i,a){if(!r){var o=f(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=t.objectMode?1:n.length;t.length+=s;var c=t.length-1?n:w;u.WritableState=c;var P=r(16);P.inherits=r(1);var M={deprecate:r(103)},O=r(48),I=r(7).Buffer,F=r(49);P.inherits(u,O),c.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(c.prototype,"buffer",{get:M.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}();var R;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(R=Function.prototype[Symbol.hasInstance],Object.defineProperty(u,Symbol.hasInstance,{value:function(e){return!!R.call(this,e)||e&&e._writableState instanceof c}})):R=function(e){return e instanceof this},u.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},u.prototype.write=function(e,t,r){var n=this._writableState,i=!1,c=o(e)&&!n.objectMode;return c&&!I.isBuffer(e)&&(e=a(e)),"function"==typeof t&&(r=t,t=null),c?t="buffer":t||(t=n.defaultEncoding),"function"!=typeof r&&(r=s),n.ended?l(this,r):(c||d(this,n,e,r))&&(n.pendingcb++,i=_(this,n,c,e,t,r)),i},u.prototype.cork=function(){this._writableState.corked++},u.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||k(this,e))},u.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},u.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},u.prototype._writev=null,u.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!==e&&void 0!==e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||D(this,n,r)},Object.defineProperty(u.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),u.prototype.destroy=F.destroy,u.prototype._undestroy=F.undestroy,u.prototype._destroy=function(e,t){this.end(),t(e)}}).call(t,r(5),r(100).setImmediate)},function(e,t,r){function n(e){if(e&&!c(e))throw new Error("Unknown encoding: "+e)}function i(e){return e.toString(this.encoding)}function a(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function o(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}var s=r(0).Buffer,c=s.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},u=t.StringDecoder=function(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),n(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=a;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=o;break;default:return void(this.write=i)}this.charBuffer=new s(6),this.charReceived=0,this.charLength=0};u.prototype.write=function(e){for(var t="";this.charLength;){var r=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived=55296&&n<=56319)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var i=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,i),i-=this.charReceived),t+=e.toString(this.encoding,0,i);var i=t.length-1,n=t.charCodeAt(i);if(n>=55296&&n<=56319){var a=this.surrogateSize;return this.charLength+=a,this.charReceived+=a,this.charBuffer.copy(this.charBuffer,a,0,a),e.copy(this.charBuffer,0,0,a),t.substring(0,i)}return t},u.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var r=e[e.length-t];if(1==t&&r>>5==6){this.charLength=2;break}if(t<=2&&r>>4==14){this.charLength=3;break}if(t<=3&&r>>3==30){this.charLength=4;break}}this.charReceived=t},u.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var r=this.charReceived,n=this.charBuffer,i=this.encoding;t+=n.slice(0,r).toString(i)}return t}},function(e,t,r){var t=e.exports=function(e){e=e.toLowerCase();var r=t[e];if(!r)throw new Error(e+" is not supported (we accept pull requests)");return new r};t.sha=r(109),t.sha1=r(110),t.sha224=r(111),t.sha256=r(51),t.sha384=r(112),t.sha512=r(52)},function(e,t,r){function n(){return Object.keys(o)}var i=r(117);t.createCipher=t.Cipher=i.createCipher,t.createCipheriv=t.Cipheriv=i.createCipheriv;var a=r(119);t.createDecipher=t.Decipher=a.createDecipher,t.createDecipheriv=t.Decipheriv=a.createDecipheriv;var o=r(27);t.listCiphers=t.getCiphers=n},function(e,t,r){"use strict";t.utils=r(121),t.Cipher=r(122),t.DES=r(123),t.CBC=r(124),t.EDE=r(125)},function(e,t,r){(function(t){function n(e){var t=a(e);return{blinder:t.toRed(o.mont(e.modulus)).redPow(new o(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}function i(e,r){var i=n(r),a=r.modulus.byteLength(),s=(o.mont(r.modulus),new o(e).mul(i.blinder).umod(r.modulus)),c=s.toRed(o.mont(r.prime1)),u=s.toRed(o.mont(r.prime2)),l=r.coefficient,d=r.prime1,f=r.prime2,_=c.redPow(r.exponent1),p=u.redPow(r.exponent2);_=_.fromRed(),p=p.fromRed();var g=_.isub(p).imul(l).umod(d);return g.imul(f),p.iadd(g),new t(p.imul(i.unblinder).umod(r.modulus).toArray(!1,a))}function a(e){for(var t=e.modulus.byteLength(),r=new o(s(t));r.cmp(e.modulus)>=0||!r.umod(e.prime1)||!r.umod(e.prime2);)r=new o(s(t));return r}var o=r(2),s=r(14);e.exports=i,i.getr=a}).call(t,r(0).Buffer)},function(e,t,r){var n=t;n.utils=r(6),n.common=r(18),n.sha=r(141),n.ripemd=r(145),n.hmac=r(146),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=r(11),a=r(31),o=r(85),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.parameters=[],t.modifiers=[],t.decorators=[],t.body=new o.BodyMethod,t}return n(t,e),t.prototype.getParameters=function(){return this.parameters},t.prototype.getModifiers=function(){return this.modifiers},t.prototype.setModifiers=function(e){this.modifiers=e},t.prototype.getDecorators=function(){return this.decorators},t.prototype.setDecorators=function(e){this.decorators=e},t.prototype.addParameter=function(e){this.parameters.push(e)},t.prototype.addParameters=function(e){var t=this;e.forEach(function(e){t.parameters.push(e)})},t.prototype.addModifier=function(e){this.modifiers.push(e)},t.prototype.addModifiers=function(e){var t=this;e.forEach(function(e){t.modifiers.push(e)})},t.prototype.addDecorator=function(e){this.decorators.push(e)},t.prototype.addDecorators=function(e){var t=this;e.forEach(function(e){t.decorators.push(e)})},t.prototype.getBody=function(){return this.body},t.prototype.setBody=function(e){this.body=e},t.prototype.merge=function(e,t){var r,n=this;a.mergeDecorators(this.getDecorators(),e.getDecorators(),t),t?(this.setModifiers(e.getModifiers()),this.setBody(e.getBody())):this.getBody().merge(e.getBody(),t),e.getParameters().forEach(function(e){r=!1,n.getParameters().forEach(function(n){e.getIdentifier()===n.getIdentifier()&&(r=!0,n.merge(e,t))}),r||n.addParameter(e)})},t.prototype.toString=function(){var e=this,t=[];return this.decorators.forEach(function(e){t.push(e.toString(),"\n")}),this.modifiers.forEach(function(e){t.push(e," ")}),t.push(this.getIdentifier(),"("),this.parameters.forEach(function(r){t.push(r.toString()),e.parameters.indexOf(r)0;for(var r=0,n=e;r0?e[0]:void 0}function K(e){return e&&e.length>0?e[e.length-1]:void 0}function J(e){return e&&1===e.length?e[0]:void 0}function q(e){return e&&1===e.length?e[0]:e}function U(e,t,r){var n=e.slice(0);return n[t]=r,n}function V(e,t,r,n){if(!e||0===e.length)return-1;var i=n||0,a=e.length-1;for(r=void 0!==r?r:function(e,t){return et?1:0};i<=a;){var o=i+(a-i>>1),s=e[o];if(0===r(s,t))return o;r(s,t)>0?a=o-1:i=o+1}return~i}function H(e,t,r,n,i){if(e&&e.length>0){var a=e.length;if(a>0){var o=void 0===n||n<0?0:n,s=void 0===i||o+i>a-1?a-1:o+i,c=void 0;for(arguments.length<=2?(c=e[o],o++):c=r;o<=s;)c=t(c,e[o],o),o++;return c}}return r}function W(e,t,r,n,i){if(e){var a=e.length;if(a>0){var o=void 0===n||n>a-1?a-1:n,s=void 0===i||o-i<0?0:o-i,c=void 0;for(arguments.length<=2?(c=e[o],o--):c=r;o>=s;)c=t(c,e[o],o),o--;return c}}return r}function G(e,t){return nr.call(e,t)}function X(e,t){return nr.call(e,t)?e[t]:void 0}function Y(e){var t=[];for(var r in e)nr.call(e,r)&&t.push(r);return t}function Q(e,t){for(var r=[],n=e.next(),i=n.value,a=n.done;!a;o=e.next(),i=o.value,a=o.done,o)r.push(t?t(i):i);return r;var o}function Z(e,t){for(var r=[],n=e.next(),i=n.value,a=n.done;!a;o=e.next(),i=o.value,a=o.done,o)r.push(t(i));return r;var o}function $(e,t){for(var r=e.entries(),n=r.next(),i=n.value,a=n.done;!a;u=r.next(),i=u.value,a=u.done,u){var o=i[0],s=i[1],c=t(s,o);if(c)return c}return;var u}function ee(e,t){for(var r=e.keys(),n=r.next(),i=n.value,a=n.done;!a;s=r.next(),i=s.value,a=s.done,s){var o=t(i);if(o)return o}return;var s}function te(e,t){e.forEach(function(e,r){t.set(r,e)})}function re(e){for(var t=[],r=1;r=0,"start must be non-negative, is "+t),dr.assert(r>=0,"length must be non-negative, is "+r),e&&(dr.assert(t<=e.text.length,"start must be within the bounds of the file. "+t+" > "+e.text.length),dr.assert(i<=e.text.length,"end must be the bounds of the file. "+i+" > "+e.text.length));var a=ye(n);return arguments.length>4&&(a=he(a,arguments,4)),{file:e,start:t,length:r,messageText:a,category:n.category,code:n.code}}function be(e,t){var r=ye(t);return arguments.length>2&&(r=he(r,arguments,2)),r}function ke(e){var t=ye(e);return arguments.length>1&&(t=he(t,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:t,category:e.category,code:e.code}}function xe(e){return{file:void 0,start:void 0,length:void 0,code:e.code,category:e.category,messageText:e.next?e:e.messageText}}function Se(e,t){var r=ye(t);return arguments.length>2&&(r=he(r,arguments,2)),{messageText:r,category:t.category,code:t.code,next:e}}function Ce(e,t){for(var r=e;r.next;)r=r.next;return r.next=t,e}function Ee(e,t){return e===t?0:void 0===e?-1:void 0===t?1:e0?1:0}if(t=t.toUpperCase(),r=r.toUpperCase(),t===r)return 0}return t0&&".."!==K(i)?i.pop():s&&i.push(s))}return i}function Re(t){t=Oe(t);var r=Ie(t),n=t.substr(0,r),i=Fe(t,r);if(i.length){var a=n+i.join(e.directorySeparator);return Le(t)?a+e.directorySeparator:a}return n}function Le(e){return e.charCodeAt(e.length-1)===ir}function Be(t){return t.substr(0,Math.max(Ie(t),t.lastIndexOf(e.directorySeparator)))}function je(e){return e&&!Ve(e)&&-1!==e.indexOf("://")}function ze(e){return/^\.\.?($|[\\/])/.test(e)}function Ke(e){return e.target||0}function Je(t){return"number"==typeof t.module?t.module:Ke(t)>=2?e.ModuleKind.ES2015:e.ModuleKind.CommonJS}function qe(t){var r=t.moduleResolution;return void 0===r&&(r=Je(t)===e.ModuleKind.CommonJS?e.ModuleResolutionKind.NodeJs:e.ModuleResolutionKind.Classic),r}function Ue(e){for(var t=!1,r=0;r1&&""===K(s)&&s.length--;var c;for(c=0;c=0&&e.indexOf(t,r)===r}function ct(e){return et(e).indexOf(".")>=0}function ut(e,t){return e.length>t.length&&st(e,t)}function lt(e,t){for(var r=0,n=t;r0;)s+=")?",f--;return s}}function gt(e){return ht(e,sr)}function mt(e){return ht(e,cr)}function ht(e,t){return"*"===e?t:"?"===e?"[^/]":"\\"+e}function yt(e,t,r,n,i){e=Re(e),i=Re(i);var a=tt(i,e);return{includeFilePatterns:k(ft(r,a,"files"),function(e){return"^"+e+"$"}),includeFilePattern:dt(r,a,"files"),includeDirectoryPattern:dt(r,a,"directories"),excludePattern:dt(t,a,"exclude"),basePaths:bt(e,r,n)}}function vt(e,t,r,n,i,a,o){function s(e,r){var n=o(e),i=n.files,a=n.directories;i=i.slice().sort(g),a=a.slice().sort(g);for(var c=0,u=i;c=0;r--)if(ut(e,t[r]))return At(r,t);return 0}function At(e,t){return e<2?0:ei&&(i=c.prefix.length,n=s)}return n}function Xt(e,t){var r=e.prefix,n=e.suffix;return t.length>=r.length+n.length&&ot(t,r)&&st(t,n)}function Yt(e){dr.assert(Ue(e));var t=e.indexOf("*");return-1===t?void 0:{prefix:e.substr(0,t),suffix:e.substr(t+1)}}function Qt(e){return!(e>=0)}function Zt(t){return t<=e.Extension.LastTypeScriptExtension}function $t(e){var t=er(e);if(void 0!==t)return t;dr.fail("File "+e+" has unknown extension.")}function er(t){return ut(t,".d.ts")?e.Extension.Dts:ut(t,".ts")?e.Extension.Ts:ut(t,".tsx")?e.Extension.Tsx:ut(t,".js")?e.Extension.Js:ut(t,".jsx")?e.Extension.Jsx:void 0}function tr(e,t){return e.checkJsDirective?e.checkJsDirective.enabled:t.checkJs}!function(e){e[e.False=0]="False",e[e.Maybe=1]="Maybe",e[e.True=-1]="True"}(e.Ternary||(e.Ternary={})),e.collator="object"==typeof Intl&&"function"==typeof Intl.Collator?new Intl.Collator(void 0,{usage:"sort",sensitivity:"accent"}):void 0,e.localeCompareIsCorrect=e.collator&&e.collator.compare("a","B")<0,e.createMap=r,e.createMapFromTemplate=n;var rr="undefined"!=typeof Map&&"entries"in Map.prototype?Map:function(){var e=function(){function e(e,t){this.index=0,this.data=e,this.selector=t,this.keys=Object.keys(e)}return e.prototype.next=function(){var e=this.index;return e=t}function r(e,t,r){if(!e){var n="";throw r&&(n="\r\nVerbose Debug Information: "+r()),new Error("Debug Failure. False expression: "+(t||"")+n)}}function n(t){e.assert(!1,t)}e.currentAssertionLevel=0,e.shouldAssert=t,e.assert=r,e.fail=n}(dr=e.Debug||(e.Debug={})),e.orderedRemoveItem=jt,e.orderedRemoveItemAt=zt,e.unorderedRemoveItemAt=Kt,e.unorderedRemoveItem=Jt,e.createGetCanonicalFileName=Ut,e.matchPatternOrExact=Vt,e.patternText=Ht,e.matchedText=Wt,e.findBestPatternMatch=Gt,e.tryParsePattern=Yt,e.positionIsSynthesized=Qt,e.extensionIsTypeScript=Zt,e.extensionFromPath=$t,e.tryGetExtensionFromPath=er,e.isCheckJsEnabledForFile=tr}(o||(o={}));var o;!function(e){function a(){if(void 0!==t){var e=t.version;if(e){var r=e.indexOf(".");if(-1!==r)return parseInt(e.substring(1,r))}}}e.getNodeMajorVersion=a,e.sys=function(){function o(t,r){var n=e.getDirectoryPath(t),i=t!==n&&!r.directoryExists(n);i&&o(n,r),!i&&r.directoryExists(t)||r.createDirectory(t)}var s;if("undefined"!=typeof ChakraHost?s=function(){var t=ChakraHost.realpath&&function(e){return ChakraHost.realpath(e)};return{newLine:ChakraHost.newLine||"\r\n",args:ChakraHost.args,useCaseSensitiveFileNames:!!ChakraHost.useCaseSensitiveFileNames,write:ChakraHost.echo,readFile:function(e,t){return ChakraHost.readFile(e)},writeFile:function(e,t,r){r&&(t="\ufeff"+t),ChakraHost.writeFile(e,t)},resolvePath:ChakraHost.resolvePath,fileExists:ChakraHost.fileExists,directoryExists:ChakraHost.directoryExists,createDirectory:ChakraHost.createDirectory,getExecutingFilePath:function(){return ChakraHost.executingFile},getCurrentDirectory:function(){return ChakraHost.currentDirectory},getDirectories:ChakraHost.getDirectories,getEnvironmentVariable:ChakraHost.getEnvironmentVariable||function(){return""},readDirectory:function(t,r,n,i){var a=e.getFileMatcherPatterns(t,n,i,!!ChakraHost.useCaseSensitiveFileNames,ChakraHost.currentDirectory);return ChakraHost.readDirectory(t,r,a.basePaths,a.excludePattern,a.includeFilePattern,a.includeDirectoryPattern)},exit:ChakraHost.quit,realpath:t}}():void 0!==t&&t.nextTick&&!t.browser&&(s=function(){function o(e,t){if(d(e)){var r=g.readFileSync(e),n=r.length;if(n>=2&&254===r[0]&&255===r[1]){n&=-2;for(var i=0;i=2&&255===r[0]&&254===r[1]?r.toString("utf16le",2):n>=3&&239===r[0]&&187===r[1]&&191===r[2]?r.toString("utf8",3):r.toString("utf8")}}function s(e,t,r){r&&(t="\ufeff"+t);var n;try{n=g.openSync(e,"w"),g.writeSync(n,t,void 0,"utf8")}finally{void 0!==n&&g.closeSync(n)}}function c(t){try{for(var r=g.readdirSync(t||".").sort(),n=[],i=[],a=0,o=r;a=4,S=h.platform(),C=function(){return"win32"!==S&&"win64"!==S&&(!d(n.toUpperCase())||!d(n.toLowerCase()))}();!function(e){e[e.File=0]="File",e[e.Directory=1]="Directory"}(p||(p={}));var E={close:e.noop},D={args:t.argv.slice(2),newLine:h.EOL,useCaseSensitiveFileNames:C,write:function(e){t.stdout.write(e)},readFile:o,writeFile:s,watchFile:function(e,t,r){function n(r,n){+r.mtime<=+n.mtime||t(e)}if(v){var i=b.addFile(e,t);return{close:function(){return b.removeFile(i)}}}return g.watchFile(e,{persistent:!0,interval:r||250},n),{close:function(){return g.unwatchFile(e,n)}}},watchDirectory:function(r,n,i){var a;return f(r)?(a=!x||"win32"!==t.platform&&"darwin"!==t.platform?{persistent:!0}:{persistent:!0,recursive:!!i},g.watch(r,a,function(t,i){"rename"===t&&n(i?e.normalizePath(e.combinePaths(r,i)):i)})):E},resolvePath:function(e){return m.resolve(e)},fileExists:d,directoryExists:f,createDirectory:function(e){D.directoryExists(e)||g.mkdirSync(e)},getExecutingFilePath:function(){return n},getCurrentDirectory:function(){return t.cwd()},getDirectories:_,getEnvironmentVariable:function(e){return t.env[e]||""},readDirectory:u,getModifiedTime:function(e){try{return g.statSync(e).mtime}catch(e){return}},createHash:function(e){var t=y.createHash("md5");return t.update(e),t.digest("hex")},getMemoryUsage:function(){return i.gc&&i.gc(),t.memoryUsage().heapUsed},getFileSize:function(e){try{var t=g.statSync(e);if(t.isFile())return t.size}catch(e){}return 0},exit:function(e){t.exit(e)},realpath:function(e){return g.realpathSync(e)},tryEnableSourceMapsForHost:function(){try{r(174).install()}catch(e){}},setTimeout:setTimeout,clearTimeout:clearTimeout};return D}()),s){var c=s.writeFile;s.writeFile=function(t,r,n){var i=e.getDirectoryPath(e.normalizeSlashes(t));i&&!s.directoryExists(i)&&o(i,s),c.call(s,t,r,n)}}return s}(),e.sys&&e.sys.getEnvironmentVariable&&(e.Debug.currentAssertionLevel=/^development$/i.test(e.sys.getEnvironmentVariable("NODE_ENV"))?1:0)}(o||(o={}));var o;!function(e){e.Diagnostics={Unterminated_string_literal:{code:1002,category:e.DiagnosticCategory.Error,key:"Unterminated_string_literal_1002",message:"Unterminated string literal."},Identifier_expected:{code:1003,category:e.DiagnosticCategory.Error,key:"Identifier_expected_1003",message:"Identifier expected."},_0_expected:{code:1005,category:e.DiagnosticCategory.Error,key:"_0_expected_1005",message:"'{0}' expected."},A_file_cannot_have_a_reference_to_itself:{code:1006,category:e.DiagnosticCategory.Error,key:"A_file_cannot_have_a_reference_to_itself_1006",message:"A file cannot have a reference to itself."},Trailing_comma_not_allowed:{code:1009,category:e.DiagnosticCategory.Error,key:"Trailing_comma_not_allowed_1009",message:"Trailing comma not allowed."},Asterisk_Slash_expected:{code:1010,category:e.DiagnosticCategory.Error,key:"Asterisk_Slash_expected_1010",message:"'*/' expected."},Unexpected_token:{code:1012,category:e.DiagnosticCategory.Error,key:"Unexpected_token_1012",message:"Unexpected token."},A_rest_parameter_must_be_last_in_a_parameter_list:{code:1014,category:e.DiagnosticCategory.Error,key:"A_rest_parameter_must_be_last_in_a_parameter_list_1014",message:"A rest parameter must be last in a parameter list."},Parameter_cannot_have_question_mark_and_initializer:{code:1015,category:e.DiagnosticCategory.Error,key:"Parameter_cannot_have_question_mark_and_initializer_1015",message:"Parameter cannot have question mark and initializer."},A_required_parameter_cannot_follow_an_optional_parameter:{code:1016,category:e.DiagnosticCategory.Error,key:"A_required_parameter_cannot_follow_an_optional_parameter_1016",message:"A required parameter cannot follow an optional parameter."},An_index_signature_cannot_have_a_rest_parameter:{code:1017,category:e.DiagnosticCategory.Error,key:"An_index_signature_cannot_have_a_rest_parameter_1017",message:"An index signature cannot have a rest parameter."},An_index_signature_parameter_cannot_have_an_accessibility_modifier:{code:1018,category:e.DiagnosticCategory.Error,key:"An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018",message:"An index signature parameter cannot have an accessibility modifier."},An_index_signature_parameter_cannot_have_a_question_mark:{code:1019,category:e.DiagnosticCategory.Error,key:"An_index_signature_parameter_cannot_have_a_question_mark_1019",message:"An index signature parameter cannot have a question mark."},An_index_signature_parameter_cannot_have_an_initializer:{code:1020,category:e.DiagnosticCategory.Error,key:"An_index_signature_parameter_cannot_have_an_initializer_1020",message:"An index signature parameter cannot have an initializer."},An_index_signature_must_have_a_type_annotation:{code:1021,category:e.DiagnosticCategory.Error,key:"An_index_signature_must_have_a_type_annotation_1021",message:"An index signature must have a type annotation."},An_index_signature_parameter_must_have_a_type_annotation:{code:1022,category:e.DiagnosticCategory.Error,key:"An_index_signature_parameter_must_have_a_type_annotation_1022",message:"An index signature parameter must have a type annotation."},An_index_signature_parameter_type_must_be_string_or_number:{code:1023,category:e.DiagnosticCategory.Error,key:"An_index_signature_parameter_type_must_be_string_or_number_1023",message:"An index signature parameter type must be 'string' or 'number'."},readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:{code:1024,category:e.DiagnosticCategory.Error,key:"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024",message:"'readonly' modifier can only appear on a property declaration or index signature."},Accessibility_modifier_already_seen:{code:1028,category:e.DiagnosticCategory.Error,key:"Accessibility_modifier_already_seen_1028",message:"Accessibility modifier already seen."},_0_modifier_must_precede_1_modifier:{code:1029,category:e.DiagnosticCategory.Error,key:"_0_modifier_must_precede_1_modifier_1029",message:"'{0}' modifier must precede '{1}' modifier."},_0_modifier_already_seen:{code:1030,category:e.DiagnosticCategory.Error,key:"_0_modifier_already_seen_1030",message:"'{0}' modifier already seen."},_0_modifier_cannot_appear_on_a_class_element:{code:1031,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_appear_on_a_class_element_1031",message:"'{0}' modifier cannot appear on a class element."},super_must_be_followed_by_an_argument_list_or_member_access:{code:1034,category:e.DiagnosticCategory.Error,key:"super_must_be_followed_by_an_argument_list_or_member_access_1034",message:"'super' must be followed by an argument list or member access."},Only_ambient_modules_can_use_quoted_names:{code:1035,category:e.DiagnosticCategory.Error,key:"Only_ambient_modules_can_use_quoted_names_1035",message:"Only ambient modules can use quoted names."},Statements_are_not_allowed_in_ambient_contexts:{code:1036,category:e.DiagnosticCategory.Error,key:"Statements_are_not_allowed_in_ambient_contexts_1036",message:"Statements are not allowed in ambient contexts."},A_declare_modifier_cannot_be_used_in_an_already_ambient_context:{code:1038,category:e.DiagnosticCategory.Error,key:"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038",message:"A 'declare' modifier cannot be used in an already ambient context."},Initializers_are_not_allowed_in_ambient_contexts:{code:1039,category:e.DiagnosticCategory.Error,key:"Initializers_are_not_allowed_in_ambient_contexts_1039",message:"Initializers are not allowed in ambient contexts."},_0_modifier_cannot_be_used_in_an_ambient_context:{code:1040,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_be_used_in_an_ambient_context_1040",message:"'{0}' modifier cannot be used in an ambient context."},_0_modifier_cannot_be_used_with_a_class_declaration:{code:1041,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_be_used_with_a_class_declaration_1041",message:"'{0}' modifier cannot be used with a class declaration."},_0_modifier_cannot_be_used_here:{code:1042,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_be_used_here_1042",message:"'{0}' modifier cannot be used here."},_0_modifier_cannot_appear_on_a_data_property:{code:1043,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_appear_on_a_data_property_1043",message:"'{0}' modifier cannot appear on a data property."},_0_modifier_cannot_appear_on_a_module_or_namespace_element:{code:1044,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044",message:"'{0}' modifier cannot appear on a module or namespace element."},A_0_modifier_cannot_be_used_with_an_interface_declaration:{code:1045,category:e.DiagnosticCategory.Error,key:"A_0_modifier_cannot_be_used_with_an_interface_declaration_1045",message:"A '{0}' modifier cannot be used with an interface declaration."},A_declare_modifier_is_required_for_a_top_level_declaration_in_a_d_ts_file:{code:1046,category:e.DiagnosticCategory.Error,key:"A_declare_modifier_is_required_for_a_top_level_declaration_in_a_d_ts_file_1046",message:"A 'declare' modifier is required for a top level declaration in a .d.ts file."},A_rest_parameter_cannot_be_optional:{code:1047,category:e.DiagnosticCategory.Error,key:"A_rest_parameter_cannot_be_optional_1047",message:"A rest parameter cannot be optional."},A_rest_parameter_cannot_have_an_initializer:{code:1048,category:e.DiagnosticCategory.Error,key:"A_rest_parameter_cannot_have_an_initializer_1048",message:"A rest parameter cannot have an initializer."},A_set_accessor_must_have_exactly_one_parameter:{code:1049,category:e.DiagnosticCategory.Error,key:"A_set_accessor_must_have_exactly_one_parameter_1049",message:"A 'set' accessor must have exactly one parameter."},A_set_accessor_cannot_have_an_optional_parameter:{code:1051,category:e.DiagnosticCategory.Error,key:"A_set_accessor_cannot_have_an_optional_parameter_1051",message:"A 'set' accessor cannot have an optional parameter."},A_set_accessor_parameter_cannot_have_an_initializer:{code:1052,category:e.DiagnosticCategory.Error,key:"A_set_accessor_parameter_cannot_have_an_initializer_1052",message:"A 'set' accessor parameter cannot have an initializer."},A_set_accessor_cannot_have_rest_parameter:{code:1053,category:e.DiagnosticCategory.Error,key:"A_set_accessor_cannot_have_rest_parameter_1053",message:"A 'set' accessor cannot have rest parameter."},A_get_accessor_cannot_have_parameters:{code:1054,category:e.DiagnosticCategory.Error,key:"A_get_accessor_cannot_have_parameters_1054",message:"A 'get' accessor cannot have parameters."},Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value:{code:1055,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Prom_1055",message:"Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value."},Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:{code:1056,category:e.DiagnosticCategory.Error,key:"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056",message:"Accessors are only available when targeting ECMAScript 5 and higher."},An_async_function_or_method_must_have_a_valid_awaitable_return_type:{code:1057,category:e.DiagnosticCategory.Error,key:"An_async_function_or_method_must_have_a_valid_awaitable_return_type_1057",message:"An async function or method must have a valid awaitable return type."},The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:{code:1058,category:e.DiagnosticCategory.Error,key:"The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058",message:"The return type of an async function must either be a valid promise or must not contain a callable 'then' member."},A_promise_must_have_a_then_method:{code:1059,category:e.DiagnosticCategory.Error,key:"A_promise_must_have_a_then_method_1059",message:"A promise must have a 'then' method."},The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback:{code:1060,category:e.DiagnosticCategory.Error,key:"The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060",message:"The first parameter of the 'then' method of a promise must be a callback."},Enum_member_must_have_initializer:{code:1061,category:e.DiagnosticCategory.Error,key:"Enum_member_must_have_initializer_1061",message:"Enum member must have initializer."},Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method:{code:1062,category:e.DiagnosticCategory.Error,key:"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062",message:"Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method."},An_export_assignment_cannot_be_used_in_a_namespace:{code:1063,category:e.DiagnosticCategory.Error,key:"An_export_assignment_cannot_be_used_in_a_namespace_1063",message:"An export assignment cannot be used in a namespace."},The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type:{code:1064,category:e.DiagnosticCategory.Error,key:"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_1064",message:"The return type of an async function or method must be the global Promise type."},In_ambient_enum_declarations_member_initializer_must_be_constant_expression:{code:1066,category:e.DiagnosticCategory.Error,key:"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066",message:"In ambient enum declarations member initializer must be constant expression."},Unexpected_token_A_constructor_method_accessor_or_property_was_expected:{code:1068,category:e.DiagnosticCategory.Error,key:"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068",message:"Unexpected token. A constructor, method, accessor, or property was expected."},_0_modifier_cannot_appear_on_a_type_member:{code:1070,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_appear_on_a_type_member_1070",message:"'{0}' modifier cannot appear on a type member."},_0_modifier_cannot_appear_on_an_index_signature:{code:1071,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_appear_on_an_index_signature_1071",message:"'{0}' modifier cannot appear on an index signature."},A_0_modifier_cannot_be_used_with_an_import_declaration:{code:1079,category:e.DiagnosticCategory.Error,key:"A_0_modifier_cannot_be_used_with_an_import_declaration_1079",message:"A '{0}' modifier cannot be used with an import declaration."},Invalid_reference_directive_syntax:{code:1084,category:e.DiagnosticCategory.Error,key:"Invalid_reference_directive_syntax_1084",message:"Invalid 'reference' directive syntax."},Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:{code:1085,category:e.DiagnosticCategory.Error,key:"Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0_1085",message:"Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'."},An_accessor_cannot_be_declared_in_an_ambient_context:{code:1086,category:e.DiagnosticCategory.Error,key:"An_accessor_cannot_be_declared_in_an_ambient_context_1086",message:"An accessor cannot be declared in an ambient context."},_0_modifier_cannot_appear_on_a_constructor_declaration:{code:1089,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_appear_on_a_constructor_declaration_1089",message:"'{0}' modifier cannot appear on a constructor declaration."},_0_modifier_cannot_appear_on_a_parameter:{code:1090,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_appear_on_a_parameter_1090",message:"'{0}' modifier cannot appear on a parameter."},Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:{code:1091,category:e.DiagnosticCategory.Error,key:"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091",message:"Only a single variable declaration is allowed in a 'for...in' statement."},Type_parameters_cannot_appear_on_a_constructor_declaration:{code:1092,category:e.DiagnosticCategory.Error,key:"Type_parameters_cannot_appear_on_a_constructor_declaration_1092",message:"Type parameters cannot appear on a constructor declaration."},Type_annotation_cannot_appear_on_a_constructor_declaration:{code:1093,category:e.DiagnosticCategory.Error,key:"Type_annotation_cannot_appear_on_a_constructor_declaration_1093",message:"Type annotation cannot appear on a constructor declaration."},An_accessor_cannot_have_type_parameters:{code:1094,category:e.DiagnosticCategory.Error,key:"An_accessor_cannot_have_type_parameters_1094",message:"An accessor cannot have type parameters."},A_set_accessor_cannot_have_a_return_type_annotation:{code:1095,category:e.DiagnosticCategory.Error,key:"A_set_accessor_cannot_have_a_return_type_annotation_1095",message:"A 'set' accessor cannot have a return type annotation."},An_index_signature_must_have_exactly_one_parameter:{code:1096,category:e.DiagnosticCategory.Error,key:"An_index_signature_must_have_exactly_one_parameter_1096",message:"An index signature must have exactly one parameter."},_0_list_cannot_be_empty:{code:1097,category:e.DiagnosticCategory.Error,key:"_0_list_cannot_be_empty_1097",message:"'{0}' list cannot be empty."},Type_parameter_list_cannot_be_empty:{code:1098,category:e.DiagnosticCategory.Error,key:"Type_parameter_list_cannot_be_empty_1098",message:"Type parameter list cannot be empty."},Type_argument_list_cannot_be_empty:{code:1099,category:e.DiagnosticCategory.Error,key:"Type_argument_list_cannot_be_empty_1099",message:"Type argument list cannot be empty."},Invalid_use_of_0_in_strict_mode:{code:1100,category:e.DiagnosticCategory.Error,key:"Invalid_use_of_0_in_strict_mode_1100",message:"Invalid use of '{0}' in strict mode."},with_statements_are_not_allowed_in_strict_mode:{code:1101,category:e.DiagnosticCategory.Error,key:"with_statements_are_not_allowed_in_strict_mode_1101",message:"'with' statements are not allowed in strict mode."},delete_cannot_be_called_on_an_identifier_in_strict_mode:{code:1102,category:e.DiagnosticCategory.Error,key:"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102",message:"'delete' cannot be called on an identifier in strict mode."},A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator:{code:1103,category:e.DiagnosticCategory.Error,key:"A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator_1103",message:"A 'for-await-of' statement is only allowed within an async function or async generator."},A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:{code:1104,category:e.DiagnosticCategory.Error,key:"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104",message:"A 'continue' statement can only be used within an enclosing iteration statement."},A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:{code:1105,category:e.DiagnosticCategory.Error,key:"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105",message:"A 'break' statement can only be used within an enclosing iteration or switch statement."},Jump_target_cannot_cross_function_boundary:{code:1107,category:e.DiagnosticCategory.Error,key:"Jump_target_cannot_cross_function_boundary_1107",message:"Jump target cannot cross function boundary."},A_return_statement_can_only_be_used_within_a_function_body:{code:1108,category:e.DiagnosticCategory.Error,key:"A_return_statement_can_only_be_used_within_a_function_body_1108",message:"A 'return' statement can only be used within a function body."},Expression_expected:{code:1109,category:e.DiagnosticCategory.Error,key:"Expression_expected_1109",message:"Expression expected."},Type_expected:{code:1110,category:e.DiagnosticCategory.Error,key:"Type_expected_1110",message:"Type expected."},A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:{code:1113,category:e.DiagnosticCategory.Error,key:"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113",message:"A 'default' clause cannot appear more than once in a 'switch' statement."},Duplicate_label_0:{code:1114,category:e.DiagnosticCategory.Error,key:"Duplicate_label_0_1114",message:"Duplicate label '{0}'."},A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:{code:1115,category:e.DiagnosticCategory.Error,key:"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115",message:"A 'continue' statement can only jump to a label of an enclosing iteration statement."},A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:{code:1116,category:e.DiagnosticCategory.Error,key:"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116",message:"A 'break' statement can only jump to a label of an enclosing statement."},An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode:{code:1117,category:e.DiagnosticCategory.Error,key:"An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode_1117",message:"An object literal cannot have multiple properties with the same name in strict mode."},An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:{code:1118,category:e.DiagnosticCategory.Error,key:"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118",message:"An object literal cannot have multiple get/set accessors with the same name."},An_object_literal_cannot_have_property_and_accessor_with_the_same_name:{code:1119,category:e.DiagnosticCategory.Error,key:"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119",message:"An object literal cannot have property and accessor with the same name."},An_export_assignment_cannot_have_modifiers:{code:1120,category:e.DiagnosticCategory.Error,key:"An_export_assignment_cannot_have_modifiers_1120",message:"An export assignment cannot have modifiers."},Octal_literals_are_not_allowed_in_strict_mode:{code:1121,category:e.DiagnosticCategory.Error,key:"Octal_literals_are_not_allowed_in_strict_mode_1121",message:"Octal literals are not allowed in strict mode."},A_tuple_type_element_list_cannot_be_empty:{code:1122,category:e.DiagnosticCategory.Error,key:"A_tuple_type_element_list_cannot_be_empty_1122",message:"A tuple type element list cannot be empty."},Variable_declaration_list_cannot_be_empty:{code:1123,category:e.DiagnosticCategory.Error,key:"Variable_declaration_list_cannot_be_empty_1123",message:"Variable declaration list cannot be empty."},Digit_expected:{code:1124,category:e.DiagnosticCategory.Error,key:"Digit_expected_1124",message:"Digit expected."},Hexadecimal_digit_expected:{code:1125,category:e.DiagnosticCategory.Error,key:"Hexadecimal_digit_expected_1125",message:"Hexadecimal digit expected."},Unexpected_end_of_text:{code:1126,category:e.DiagnosticCategory.Error,key:"Unexpected_end_of_text_1126",message:"Unexpected end of text."},Invalid_character:{code:1127,category:e.DiagnosticCategory.Error,key:"Invalid_character_1127",message:"Invalid character."},Declaration_or_statement_expected:{code:1128,category:e.DiagnosticCategory.Error,key:"Declaration_or_statement_expected_1128",message:"Declaration or statement expected."},Statement_expected:{code:1129,category:e.DiagnosticCategory.Error,key:"Statement_expected_1129",message:"Statement expected."},case_or_default_expected:{code:1130,category:e.DiagnosticCategory.Error,key:"case_or_default_expected_1130",message:"'case' or 'default' expected."},Property_or_signature_expected:{code:1131,category:e.DiagnosticCategory.Error,key:"Property_or_signature_expected_1131",message:"Property or signature expected."},Enum_member_expected:{code:1132,category:e.DiagnosticCategory.Error,key:"Enum_member_expected_1132",message:"Enum member expected."},Variable_declaration_expected:{code:1134,category:e.DiagnosticCategory.Error,key:"Variable_declaration_expected_1134",message:"Variable declaration expected."},Argument_expression_expected:{code:1135,category:e.DiagnosticCategory.Error,key:"Argument_expression_expected_1135",message:"Argument expression expected."},Property_assignment_expected:{code:1136,category:e.DiagnosticCategory.Error,key:"Property_assignment_expected_1136",message:"Property assignment expected."},Expression_or_comma_expected:{code:1137,category:e.DiagnosticCategory.Error,key:"Expression_or_comma_expected_1137",message:"Expression or comma expected."},Parameter_declaration_expected:{code:1138,category:e.DiagnosticCategory.Error,key:"Parameter_declaration_expected_1138",message:"Parameter declaration expected."},Type_parameter_declaration_expected:{code:1139,category:e.DiagnosticCategory.Error,key:"Type_parameter_declaration_expected_1139",message:"Type parameter declaration expected."},Type_argument_expected:{code:1140,category:e.DiagnosticCategory.Error,key:"Type_argument_expected_1140",message:"Type argument expected."},String_literal_expected:{code:1141,category:e.DiagnosticCategory.Error,key:"String_literal_expected_1141",message:"String literal expected."},Line_break_not_permitted_here:{code:1142,category:e.DiagnosticCategory.Error,key:"Line_break_not_permitted_here_1142",message:"Line break not permitted here."},or_expected:{code:1144,category:e.DiagnosticCategory.Error,key:"or_expected_1144",message:"'{' or ';' expected."},Declaration_expected:{code:1146,category:e.DiagnosticCategory.Error,key:"Declaration_expected_1146",message:"Declaration expected."},Import_declarations_in_a_namespace_cannot_reference_a_module:{code:1147,category:e.DiagnosticCategory.Error,key:"Import_declarations_in_a_namespace_cannot_reference_a_module_1147",message:"Import declarations in a namespace cannot reference a module."},Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:{code:1148,category:e.DiagnosticCategory.Error,key:"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148",message:"Cannot use imports, exports, or module augmentations when '--module' is 'none'."},File_name_0_differs_from_already_included_file_name_1_only_in_casing:{code:1149,category:e.DiagnosticCategory.Error,key:"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149",message:"File name '{0}' differs from already included file name '{1}' only in casing."},new_T_cannot_be_used_to_create_an_array_Use_new_Array_T_instead:{code:1150,category:e.DiagnosticCategory.Error,key:"new_T_cannot_be_used_to_create_an_array_Use_new_Array_T_instead_1150",message:"'new T[]' cannot be used to create an array. Use 'new Array()' instead."},const_declarations_must_be_initialized:{code:1155,category:e.DiagnosticCategory.Error,key:"const_declarations_must_be_initialized_1155",message:"'const' declarations must be initialized."},const_declarations_can_only_be_declared_inside_a_block:{code:1156,category:e.DiagnosticCategory.Error,key:"const_declarations_can_only_be_declared_inside_a_block_1156",message:"'const' declarations can only be declared inside a block."},let_declarations_can_only_be_declared_inside_a_block:{code:1157,category:e.DiagnosticCategory.Error,key:"let_declarations_can_only_be_declared_inside_a_block_1157",message:"'let' declarations can only be declared inside a block."},Unterminated_template_literal:{code:1160,category:e.DiagnosticCategory.Error,key:"Unterminated_template_literal_1160",message:"Unterminated template literal."},Unterminated_regular_expression_literal:{code:1161,category:e.DiagnosticCategory.Error,key:"Unterminated_regular_expression_literal_1161",message:"Unterminated regular expression literal."},An_object_member_cannot_be_declared_optional:{code:1162,category:e.DiagnosticCategory.Error,key:"An_object_member_cannot_be_declared_optional_1162",message:"An object member cannot be declared optional."},A_yield_expression_is_only_allowed_in_a_generator_body:{code:1163,category:e.DiagnosticCategory.Error,key:"A_yield_expression_is_only_allowed_in_a_generator_body_1163",message:"A 'yield' expression is only allowed in a generator body."},Computed_property_names_are_not_allowed_in_enums:{code:1164,category:e.DiagnosticCategory.Error,key:"Computed_property_names_are_not_allowed_in_enums_1164",message:"Computed property names are not allowed in enums."},A_computed_property_name_in_an_ambient_context_must_directly_refer_to_a_built_in_symbol:{code:1165,category:e.DiagnosticCategory.Error,key:"A_computed_property_name_in_an_ambient_context_must_directly_refer_to_a_built_in_symbol_1165",message:"A computed property name in an ambient context must directly refer to a built-in symbol."},A_computed_property_name_in_a_class_property_declaration_must_directly_refer_to_a_built_in_symbol:{code:1166,category:e.DiagnosticCategory.Error,key:"A_computed_property_name_in_a_class_property_declaration_must_directly_refer_to_a_built_in_symbol_1166",message:"A computed property name in a class property declaration must directly refer to a built-in symbol."},A_computed_property_name_in_a_method_overload_must_directly_refer_to_a_built_in_symbol:{code:1168,category:e.DiagnosticCategory.Error,key:"A_computed_property_name_in_a_method_overload_must_directly_refer_to_a_built_in_symbol_1168",message:"A computed property name in a method overload must directly refer to a built-in symbol."},A_computed_property_name_in_an_interface_must_directly_refer_to_a_built_in_symbol:{code:1169,category:e.DiagnosticCategory.Error,key:"A_computed_property_name_in_an_interface_must_directly_refer_to_a_built_in_symbol_1169",message:"A computed property name in an interface must directly refer to a built-in symbol."},A_computed_property_name_in_a_type_literal_must_directly_refer_to_a_built_in_symbol:{code:1170,category:e.DiagnosticCategory.Error,key:"A_computed_property_name_in_a_type_literal_must_directly_refer_to_a_built_in_symbol_1170",message:"A computed property name in a type literal must directly refer to a built-in symbol."},A_comma_expression_is_not_allowed_in_a_computed_property_name:{code:1171,category:e.DiagnosticCategory.Error,key:"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171",message:"A comma expression is not allowed in a computed property name."},extends_clause_already_seen:{code:1172,category:e.DiagnosticCategory.Error,key:"extends_clause_already_seen_1172",message:"'extends' clause already seen."},extends_clause_must_precede_implements_clause:{code:1173,category:e.DiagnosticCategory.Error,key:"extends_clause_must_precede_implements_clause_1173",message:"'extends' clause must precede 'implements' clause."},Classes_can_only_extend_a_single_class:{code:1174,category:e.DiagnosticCategory.Error,key:"Classes_can_only_extend_a_single_class_1174",message:"Classes can only extend a single class."},implements_clause_already_seen:{code:1175,category:e.DiagnosticCategory.Error,key:"implements_clause_already_seen_1175",message:"'implements' clause already seen."},Interface_declaration_cannot_have_implements_clause:{code:1176,category:e.DiagnosticCategory.Error,key:"Interface_declaration_cannot_have_implements_clause_1176",message:"Interface declaration cannot have 'implements' clause."},Binary_digit_expected:{code:1177,category:e.DiagnosticCategory.Error,key:"Binary_digit_expected_1177",message:"Binary digit expected."},Octal_digit_expected:{code:1178,category:e.DiagnosticCategory.Error,key:"Octal_digit_expected_1178",message:"Octal digit expected."},Unexpected_token_expected:{code:1179,category:e.DiagnosticCategory.Error,key:"Unexpected_token_expected_1179",message:"Unexpected token. '{' expected."},Property_destructuring_pattern_expected:{code:1180,category:e.DiagnosticCategory.Error,key:"Property_destructuring_pattern_expected_1180",message:"Property destructuring pattern expected."},Array_element_destructuring_pattern_expected:{code:1181,category:e.DiagnosticCategory.Error,key:"Array_element_destructuring_pattern_expected_1181",message:"Array element destructuring pattern expected."},A_destructuring_declaration_must_have_an_initializer:{code:1182,category:e.DiagnosticCategory.Error,key:"A_destructuring_declaration_must_have_an_initializer_1182",message:"A destructuring declaration must have an initializer."},An_implementation_cannot_be_declared_in_ambient_contexts:{code:1183,category:e.DiagnosticCategory.Error,key:"An_implementation_cannot_be_declared_in_ambient_contexts_1183",message:"An implementation cannot be declared in ambient contexts."},Modifiers_cannot_appear_here:{code:1184,category:e.DiagnosticCategory.Error,key:"Modifiers_cannot_appear_here_1184",message:"Modifiers cannot appear here."},Merge_conflict_marker_encountered:{code:1185,category:e.DiagnosticCategory.Error,key:"Merge_conflict_marker_encountered_1185",message:"Merge conflict marker encountered."},A_rest_element_cannot_have_an_initializer:{code:1186,category:e.DiagnosticCategory.Error,key:"A_rest_element_cannot_have_an_initializer_1186",message:"A rest element cannot have an initializer."},A_parameter_property_may_not_be_declared_using_a_binding_pattern:{code:1187,category:e.DiagnosticCategory.Error,key:"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187",message:"A parameter property may not be declared using a binding pattern."},Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:{code:1188,category:e.DiagnosticCategory.Error,key:"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188",message:"Only a single variable declaration is allowed in a 'for...of' statement."},The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:{code:1189,category:e.DiagnosticCategory.Error,key:"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189",message:"The variable declaration of a 'for...in' statement cannot have an initializer."},The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:{code:1190,category:e.DiagnosticCategory.Error,key:"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190",message:"The variable declaration of a 'for...of' statement cannot have an initializer."},An_import_declaration_cannot_have_modifiers:{code:1191,category:e.DiagnosticCategory.Error,key:"An_import_declaration_cannot_have_modifiers_1191",message:"An import declaration cannot have modifiers."},Module_0_has_no_default_export:{code:1192,category:e.DiagnosticCategory.Error,key:"Module_0_has_no_default_export_1192",message:"Module '{0}' has no default export."},An_export_declaration_cannot_have_modifiers:{code:1193,category:e.DiagnosticCategory.Error,key:"An_export_declaration_cannot_have_modifiers_1193",message:"An export declaration cannot have modifiers."},Export_declarations_are_not_permitted_in_a_namespace:{code:1194,category:e.DiagnosticCategory.Error,key:"Export_declarations_are_not_permitted_in_a_namespace_1194",message:"Export declarations are not permitted in a namespace."},Catch_clause_variable_cannot_have_a_type_annotation:{code:1196,category:e.DiagnosticCategory.Error,key:"Catch_clause_variable_cannot_have_a_type_annotation_1196",message:"Catch clause variable cannot have a type annotation."},Catch_clause_variable_cannot_have_an_initializer:{code:1197,category:e.DiagnosticCategory.Error,key:"Catch_clause_variable_cannot_have_an_initializer_1197",message:"Catch clause variable cannot have an initializer."},An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:{code:1198,category:e.DiagnosticCategory.Error,key:"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198",message:"An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive."},Unterminated_Unicode_escape_sequence:{code:1199,category:e.DiagnosticCategory.Error,key:"Unterminated_Unicode_escape_sequence_1199",message:"Unterminated Unicode escape sequence."},Line_terminator_not_permitted_before_arrow:{code:1200,category:e.DiagnosticCategory.Error,key:"Line_terminator_not_permitted_before_arrow_1200",message:"Line terminator not permitted before arrow."},Import_assignment_cannot_be_used_when_targeting_ECMAScript_2015_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead:{code:1202,category:e.DiagnosticCategory.Error,key:"Import_assignment_cannot_be_used_when_targeting_ECMAScript_2015_modules_Consider_using_import_Asteri_1202",message:"Import assignment cannot be used when targeting ECMAScript 2015 modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead."},Export_assignment_cannot_be_used_when_targeting_ECMAScript_2015_modules_Consider_using_export_default_or_another_module_format_instead:{code:1203,category:e.DiagnosticCategory.Error,key:"Export_assignment_cannot_be_used_when_targeting_ECMAScript_2015_modules_Consider_using_export_defaul_1203",message:"Export assignment cannot be used when targeting ECMAScript 2015 modules. Consider using 'export default' or another module format instead."},Decorators_are_not_valid_here:{code:1206,category:e.DiagnosticCategory.Error,key:"Decorators_are_not_valid_here_1206",message:"Decorators are not valid here."},Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:{code:1207,category:e.DiagnosticCategory.Error,key:"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207",message:"Decorators cannot be applied to multiple get/set accessors of the same name."},Cannot_compile_namespaces_when_the_isolatedModules_flag_is_provided:{code:1208,category:e.DiagnosticCategory.Error,key:"Cannot_compile_namespaces_when_the_isolatedModules_flag_is_provided_1208",message:"Cannot compile namespaces when the '--isolatedModules' flag is provided."},Ambient_const_enums_are_not_allowed_when_the_isolatedModules_flag_is_provided:{code:1209,category:e.DiagnosticCategory.Error,key:"Ambient_const_enums_are_not_allowed_when_the_isolatedModules_flag_is_provided_1209",message:"Ambient const enums are not allowed when the '--isolatedModules' flag is provided."},Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode:{code:1210,category:e.DiagnosticCategory.Error,key:"Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode_1210",message:"Invalid use of '{0}'. Class definitions are automatically in strict mode."},A_class_declaration_without_the_default_modifier_must_have_a_name:{code:1211,category:e.DiagnosticCategory.Error,key:"A_class_declaration_without_the_default_modifier_must_have_a_name_1211",message:"A class declaration without the 'default' modifier must have a name."},Identifier_expected_0_is_a_reserved_word_in_strict_mode:{code:1212,category:e.DiagnosticCategory.Error,key:"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212",message:"Identifier expected. '{0}' is a reserved word in strict mode."},Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:{code:1213,category:e.DiagnosticCategory.Error,key:"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213",message:"Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."},Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:{code:1214,category:e.DiagnosticCategory.Error,key:"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214",message:"Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode."},Invalid_use_of_0_Modules_are_automatically_in_strict_mode:{code:1215,category:e.DiagnosticCategory.Error,key:"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215",message:"Invalid use of '{0}'. Modules are automatically in strict mode."},Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:{code:1216,category:e.DiagnosticCategory.Error,key:"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216",message:"Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules."},Export_assignment_is_not_supported_when_module_flag_is_system:{code:1218,category:e.DiagnosticCategory.Error,key:"Export_assignment_is_not_supported_when_module_flag_is_system_1218",message:"Export assignment is not supported when '--module' flag is 'system'."},Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_to_remove_this_warning:{code:1219,category:e.DiagnosticCategory.Error,key:"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219",message:"Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning."},Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher:{code:1220,category:e.DiagnosticCategory.Error,key:"Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher_1220",message:"Generators are only available when targeting ECMAScript 2015 or higher."},Generators_are_not_allowed_in_an_ambient_context:{code:1221,category:e.DiagnosticCategory.Error,key:"Generators_are_not_allowed_in_an_ambient_context_1221",message:"Generators are not allowed in an ambient context."},An_overload_signature_cannot_be_declared_as_a_generator:{code:1222,category:e.DiagnosticCategory.Error,key:"An_overload_signature_cannot_be_declared_as_a_generator_1222",message:"An overload signature cannot be declared as a generator."},_0_tag_already_specified:{code:1223,category:e.DiagnosticCategory.Error,key:"_0_tag_already_specified_1223",message:"'{0}' tag already specified."},Signature_0_must_have_a_type_predicate:{code:1224,category:e.DiagnosticCategory.Error,key:"Signature_0_must_have_a_type_predicate_1224",message:"Signature '{0}' must have a type predicate."},Cannot_find_parameter_0:{code:1225,category:e.DiagnosticCategory.Error,key:"Cannot_find_parameter_0_1225",message:"Cannot find parameter '{0}'."},Type_predicate_0_is_not_assignable_to_1:{code:1226,category:e.DiagnosticCategory.Error,key:"Type_predicate_0_is_not_assignable_to_1_1226",message:"Type predicate '{0}' is not assignable to '{1}'."},Parameter_0_is_not_in_the_same_position_as_parameter_1:{code:1227,category:e.DiagnosticCategory.Error,key:"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227",message:"Parameter '{0}' is not in the same position as parameter '{1}'."},A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods:{code:1228,category:e.DiagnosticCategory.Error,key:"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228",message:"A type predicate is only allowed in return type position for functions and methods."},A_type_predicate_cannot_reference_a_rest_parameter:{code:1229,category:e.DiagnosticCategory.Error,key:"A_type_predicate_cannot_reference_a_rest_parameter_1229",message:"A type predicate cannot reference a rest parameter."},A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:{code:1230,category:e.DiagnosticCategory.Error,key:"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230",message:"A type predicate cannot reference element '{0}' in a binding pattern."},An_export_assignment_can_only_be_used_in_a_module:{code:1231,category:e.DiagnosticCategory.Error,key:"An_export_assignment_can_only_be_used_in_a_module_1231",message:"An export assignment can only be used in a module."},An_import_declaration_can_only_be_used_in_a_namespace_or_module:{code:1232,category:e.DiagnosticCategory.Error,key:"An_import_declaration_can_only_be_used_in_a_namespace_or_module_1232",message:"An import declaration can only be used in a namespace or module."},An_export_declaration_can_only_be_used_in_a_module:{code:1233,category:e.DiagnosticCategory.Error,key:"An_export_declaration_can_only_be_used_in_a_module_1233",message:"An export declaration can only be used in a module."},An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:{code:1234,category:e.DiagnosticCategory.Error,key:"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234",message:"An ambient module declaration is only allowed at the top level in a file."},A_namespace_declaration_is_only_allowed_in_a_namespace_or_module:{code:1235,category:e.DiagnosticCategory.Error,key:"A_namespace_declaration_is_only_allowed_in_a_namespace_or_module_1235",message:"A namespace declaration is only allowed in a namespace or module."},The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:{code:1236,category:e.DiagnosticCategory.Error,key:"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236",message:"The return type of a property decorator function must be either 'void' or 'any'."},The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any:{code:1237,category:e.DiagnosticCategory.Error,key:"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237",message:"The return type of a parameter decorator function must be either 'void' or 'any'."},Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression:{code:1238,category:e.DiagnosticCategory.Error,key:"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238",message:"Unable to resolve signature of class decorator when called as an expression."},Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:{code:1239,category:e.DiagnosticCategory.Error,key:"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239",message:"Unable to resolve signature of parameter decorator when called as an expression."},Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:{code:1240,category:e.DiagnosticCategory.Error,key:"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240",message:"Unable to resolve signature of property decorator when called as an expression."},Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:{code:1241,category:e.DiagnosticCategory.Error,key:"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241",message:"Unable to resolve signature of method decorator when called as an expression."},abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:{code:1242,category:e.DiagnosticCategory.Error,key:"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242",message:"'abstract' modifier can only appear on a class, method, or property declaration."},_0_modifier_cannot_be_used_with_1_modifier:{code:1243,category:e.DiagnosticCategory.Error,key:"_0_modifier_cannot_be_used_with_1_modifier_1243",message:"'{0}' modifier cannot be used with '{1}' modifier."},Abstract_methods_can_only_appear_within_an_abstract_class:{code:1244,category:e.DiagnosticCategory.Error,key:"Abstract_methods_can_only_appear_within_an_abstract_class_1244",message:"Abstract methods can only appear within an abstract class."},Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:{code:1245,category:e.DiagnosticCategory.Error,key:"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245",message:"Method '{0}' cannot have an implementation because it is marked abstract."},An_interface_property_cannot_have_an_initializer:{code:1246,category:e.DiagnosticCategory.Error,key:"An_interface_property_cannot_have_an_initializer_1246",message:"An interface property cannot have an initializer."},A_type_literal_property_cannot_have_an_initializer:{code:1247,category:e.DiagnosticCategory.Error,key:"A_type_literal_property_cannot_have_an_initializer_1247",message:"A type literal property cannot have an initializer."},A_class_member_cannot_have_the_0_keyword:{code:1248,category:e.DiagnosticCategory.Error,key:"A_class_member_cannot_have_the_0_keyword_1248",message:"A class member cannot have the '{0}' keyword."},A_decorator_can_only_decorate_a_method_implementation_not_an_overload:{code:1249,category:e.DiagnosticCategory.Error,key:"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249",message:"A decorator can only decorate a method implementation, not an overload."},Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5:{code:1250,category:e.DiagnosticCategory.Error,key:"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250",message:"Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'."},Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:{code:1251,category:e.DiagnosticCategory.Error,key:"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251",message:"Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode."},Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:{code:1252,category:e.DiagnosticCategory.Error,key:"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252",message:"Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode."},_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag:{code:1253,category:e.DiagnosticCategory.Error,key:"_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag_1253",message:"'{0}' tag cannot be used independently as a top level JSDoc tag."},A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal:{code:1254,category:e.DiagnosticCategory.Error,key:"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_1254",message:"A 'const' initializer in an ambient context must be a string or numeric literal."},with_statements_are_not_allowed_in_an_async_function_block:{code:1300,category:e.DiagnosticCategory.Error,key:"with_statements_are_not_allowed_in_an_async_function_block_1300",message:"'with' statements are not allowed in an async function block."},await_expression_is_only_allowed_within_an_async_function:{code:1308,category:e.DiagnosticCategory.Error,key:"await_expression_is_only_allowed_within_an_async_function_1308",message:"'await' expression is only allowed within an async function."},can_only_be_used_in_an_object_literal_property_inside_a_destructuring_assignment:{code:1312,category:e.DiagnosticCategory.Error,key:"can_only_be_used_in_an_object_literal_property_inside_a_destructuring_assignment_1312",message:"'=' can only be used in an object literal property inside a destructuring assignment."},The_body_of_an_if_statement_cannot_be_the_empty_statement:{code:1313,category:e.DiagnosticCategory.Error,key:"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313",message:"The body of an 'if' statement cannot be the empty statement."},Global_module_exports_may_only_appear_in_module_files:{code:1314,category:e.DiagnosticCategory.Error,key:"Global_module_exports_may_only_appear_in_module_files_1314",message:"Global module exports may only appear in module files."},Global_module_exports_may_only_appear_in_declaration_files:{code:1315,category:e.DiagnosticCategory.Error,key:"Global_module_exports_may_only_appear_in_declaration_files_1315",message:"Global module exports may only appear in declaration files."},Global_module_exports_may_only_appear_at_top_level:{code:1316,category:e.DiagnosticCategory.Error,key:"Global_module_exports_may_only_appear_at_top_level_1316",message:"Global module exports may only appear at top level."},A_parameter_property_cannot_be_declared_using_a_rest_parameter:{code:1317,category:e.DiagnosticCategory.Error,key:"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317",message:"A parameter property cannot be declared using a rest parameter."},An_abstract_accessor_cannot_have_an_implementation:{code:1318,category:e.DiagnosticCategory.Error,key:"An_abstract_accessor_cannot_have_an_implementation_1318",message:"An abstract accessor cannot have an implementation."},A_default_export_can_only_be_used_in_an_ECMAScript_style_module:{code:1319,category:e.DiagnosticCategory.Error,key:"A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319",message:"A default export can only be used in an ECMAScript-style module."},Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:{code:1320,category:e.DiagnosticCategory.Error,key:"Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320",message:"Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member."},Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:{code:1321,category:e.DiagnosticCategory.Error,key:"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321",message:"Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member."},Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:{code:1322,category:e.DiagnosticCategory.Error,key:"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322",message:"Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."},Duplicate_identifier_0:{code:2300,category:e.DiagnosticCategory.Error,key:"Duplicate_identifier_0_2300",message:"Duplicate identifier '{0}'."},Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:{code:2301,category:e.DiagnosticCategory.Error,key:"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301",message:"Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."},Static_members_cannot_reference_class_type_parameters:{code:2302,category:e.DiagnosticCategory.Error,key:"Static_members_cannot_reference_class_type_parameters_2302",message:"Static members cannot reference class type parameters."},Circular_definition_of_import_alias_0:{code:2303,category:e.DiagnosticCategory.Error,key:"Circular_definition_of_import_alias_0_2303",message:"Circular definition of import alias '{0}'."},Cannot_find_name_0:{code:2304,category:e.DiagnosticCategory.Error,key:"Cannot_find_name_0_2304",message:"Cannot find name '{0}'."},Module_0_has_no_exported_member_1:{code:2305,category:e.DiagnosticCategory.Error,key:"Module_0_has_no_exported_member_1_2305",message:"Module '{0}' has no exported member '{1}'."},File_0_is_not_a_module:{code:2306,category:e.DiagnosticCategory.Error,key:"File_0_is_not_a_module_2306",message:"File '{0}' is not a module."},Cannot_find_module_0:{code:2307,category:e.DiagnosticCategory.Error,key:"Cannot_find_module_0_2307",message:"Cannot find module '{0}'."},Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:{code:2308,category:e.DiagnosticCategory.Error,key:"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308",message:"Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity."},An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements:{code:2309,category:e.DiagnosticCategory.Error,key:"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309",message:"An export assignment cannot be used in a module with other exported elements."},Type_0_recursively_references_itself_as_a_base_type:{code:2310,category:e.DiagnosticCategory.Error,key:"Type_0_recursively_references_itself_as_a_base_type_2310",message:"Type '{0}' recursively references itself as a base type."},A_class_may_only_extend_another_class:{code:2311,category:e.DiagnosticCategory.Error,key:"A_class_may_only_extend_another_class_2311",message:"A class may only extend another class."},An_interface_may_only_extend_a_class_or_another_interface:{code:2312,category:e.DiagnosticCategory.Error,key:"An_interface_may_only_extend_a_class_or_another_interface_2312",message:"An interface may only extend a class or another interface."},Type_parameter_0_has_a_circular_constraint:{code:2313,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_has_a_circular_constraint_2313",message:"Type parameter '{0}' has a circular constraint."},Generic_type_0_requires_1_type_argument_s:{code:2314,category:e.DiagnosticCategory.Error,key:"Generic_type_0_requires_1_type_argument_s_2314",message:"Generic type '{0}' requires {1} type argument(s)."},Type_0_is_not_generic:{code:2315,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_generic_2315",message:"Type '{0}' is not generic."},Global_type_0_must_be_a_class_or_interface_type:{code:2316,category:e.DiagnosticCategory.Error,key:"Global_type_0_must_be_a_class_or_interface_type_2316",message:"Global type '{0}' must be a class or interface type."},Global_type_0_must_have_1_type_parameter_s:{code:2317,category:e.DiagnosticCategory.Error,key:"Global_type_0_must_have_1_type_parameter_s_2317",message:"Global type '{0}' must have {1} type parameter(s)."},Cannot_find_global_type_0:{code:2318,category:e.DiagnosticCategory.Error,key:"Cannot_find_global_type_0_2318",message:"Cannot find global type '{0}'."},Named_property_0_of_types_1_and_2_are_not_identical:{code:2319,category:e.DiagnosticCategory.Error,key:"Named_property_0_of_types_1_and_2_are_not_identical_2319",message:"Named property '{0}' of types '{1}' and '{2}' are not identical."},Interface_0_cannot_simultaneously_extend_types_1_and_2:{code:2320,category:e.DiagnosticCategory.Error,key:"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320",message:"Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'."},Excessive_stack_depth_comparing_types_0_and_1:{code:2321,category:e.DiagnosticCategory.Error,key:"Excessive_stack_depth_comparing_types_0_and_1_2321",message:"Excessive stack depth comparing types '{0}' and '{1}'."},Type_0_is_not_assignable_to_type_1:{code:2322,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_assignable_to_type_1_2322",message:"Type '{0}' is not assignable to type '{1}'."},Cannot_redeclare_exported_variable_0:{code:2323,category:e.DiagnosticCategory.Error,key:"Cannot_redeclare_exported_variable_0_2323",message:"Cannot redeclare exported variable '{0}'."},Property_0_is_missing_in_type_1:{code:2324,category:e.DiagnosticCategory.Error,key:"Property_0_is_missing_in_type_1_2324",message:"Property '{0}' is missing in type '{1}'."},Property_0_is_private_in_type_1_but_not_in_type_2:{code:2325,category:e.DiagnosticCategory.Error,key:"Property_0_is_private_in_type_1_but_not_in_type_2_2325",message:"Property '{0}' is private in type '{1}' but not in type '{2}'."},Types_of_property_0_are_incompatible:{code:2326,category:e.DiagnosticCategory.Error,key:"Types_of_property_0_are_incompatible_2326",message:"Types of property '{0}' are incompatible."},Property_0_is_optional_in_type_1_but_required_in_type_2:{code:2327,category:e.DiagnosticCategory.Error,key:"Property_0_is_optional_in_type_1_but_required_in_type_2_2327",message:"Property '{0}' is optional in type '{1}' but required in type '{2}'."},Types_of_parameters_0_and_1_are_incompatible:{code:2328,category:e.DiagnosticCategory.Error,key:"Types_of_parameters_0_and_1_are_incompatible_2328",message:"Types of parameters '{0}' and '{1}' are incompatible."},Index_signature_is_missing_in_type_0:{code:2329,category:e.DiagnosticCategory.Error,key:"Index_signature_is_missing_in_type_0_2329",message:"Index signature is missing in type '{0}'."},Index_signatures_are_incompatible:{code:2330,category:e.DiagnosticCategory.Error,key:"Index_signatures_are_incompatible_2330",message:"Index signatures are incompatible."},this_cannot_be_referenced_in_a_module_or_namespace_body:{code:2331,category:e.DiagnosticCategory.Error,key:"this_cannot_be_referenced_in_a_module_or_namespace_body_2331",message:"'this' cannot be referenced in a module or namespace body."},this_cannot_be_referenced_in_current_location:{code:2332,category:e.DiagnosticCategory.Error,key:"this_cannot_be_referenced_in_current_location_2332",message:"'this' cannot be referenced in current location."},this_cannot_be_referenced_in_constructor_arguments:{code:2333,category:e.DiagnosticCategory.Error,key:"this_cannot_be_referenced_in_constructor_arguments_2333",message:"'this' cannot be referenced in constructor arguments."},this_cannot_be_referenced_in_a_static_property_initializer:{code:2334,category:e.DiagnosticCategory.Error,key:"this_cannot_be_referenced_in_a_static_property_initializer_2334",message:"'this' cannot be referenced in a static property initializer."},super_can_only_be_referenced_in_a_derived_class:{code:2335,category:e.DiagnosticCategory.Error,key:"super_can_only_be_referenced_in_a_derived_class_2335",message:"'super' can only be referenced in a derived class."},super_cannot_be_referenced_in_constructor_arguments:{code:2336,category:e.DiagnosticCategory.Error,key:"super_cannot_be_referenced_in_constructor_arguments_2336",message:"'super' cannot be referenced in constructor arguments."},Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:{code:2337,category:e.DiagnosticCategory.Error,key:"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337",message:"Super calls are not permitted outside constructors or in nested functions inside constructors."},super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class:{code:2338,category:e.DiagnosticCategory.Error,key:"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338",message:"'super' property access is permitted only in a constructor, member function, or member accessor of a derived class."},Property_0_does_not_exist_on_type_1:{code:2339,category:e.DiagnosticCategory.Error,key:"Property_0_does_not_exist_on_type_1_2339",message:"Property '{0}' does not exist on type '{1}'."},Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:{code:2340,category:e.DiagnosticCategory.Error,key:"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340",message:"Only public and protected methods of the base class are accessible via the 'super' keyword."},Property_0_is_private_and_only_accessible_within_class_1:{code:2341,category:e.DiagnosticCategory.Error,key:"Property_0_is_private_and_only_accessible_within_class_1_2341",message:"Property '{0}' is private and only accessible within class '{1}'."},An_index_expression_argument_must_be_of_type_string_number_symbol_or_any:{code:2342,category:e.DiagnosticCategory.Error,key:"An_index_expression_argument_must_be_of_type_string_number_symbol_or_any_2342",message:"An index expression argument must be of type 'string', 'number', 'symbol', or 'any'."},This_syntax_requires_an_imported_helper_named_1_but_module_0_has_no_exported_member_1:{code:2343,category:e.DiagnosticCategory.Error,key:"This_syntax_requires_an_imported_helper_named_1_but_module_0_has_no_exported_member_1_2343",message:"This syntax requires an imported helper named '{1}', but module '{0}' has no exported member '{1}'."},Type_0_does_not_satisfy_the_constraint_1:{code:2344,category:e.DiagnosticCategory.Error,key:"Type_0_does_not_satisfy_the_constraint_1_2344",message:"Type '{0}' does not satisfy the constraint '{1}'."},Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:{code:2345,category:e.DiagnosticCategory.Error,key:"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345",message:"Argument of type '{0}' is not assignable to parameter of type '{1}'."},Supplied_parameters_do_not_match_any_signature_of_call_target:{code:2346,category:e.DiagnosticCategory.Error,key:"Supplied_parameters_do_not_match_any_signature_of_call_target_2346",message:"Supplied parameters do not match any signature of call target."},Untyped_function_calls_may_not_accept_type_arguments:{code:2347,category:e.DiagnosticCategory.Error,key:"Untyped_function_calls_may_not_accept_type_arguments_2347",message:"Untyped function calls may not accept type arguments."},Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:{code:2348,category:e.DiagnosticCategory.Error,key:"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348",message:"Value of type '{0}' is not callable. Did you mean to include 'new'?"},Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatures:{code:2349,category:e.DiagnosticCategory.Error,key:"Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatur_2349",message:"Cannot invoke an expression whose type lacks a call signature. Type '{0}' has no compatible call signatures."},Only_a_void_function_can_be_called_with_the_new_keyword:{code:2350,category:e.DiagnosticCategory.Error,key:"Only_a_void_function_can_be_called_with_the_new_keyword_2350",message:"Only a void function can be called with the 'new' keyword."},Cannot_use_new_with_an_expression_whose_type_lacks_a_call_or_construct_signature:{code:2351,category:e.DiagnosticCategory.Error,key:"Cannot_use_new_with_an_expression_whose_type_lacks_a_call_or_construct_signature_2351",message:"Cannot use 'new' with an expression whose type lacks a call or construct signature."},Type_0_cannot_be_converted_to_type_1:{code:2352,category:e.DiagnosticCategory.Error,key:"Type_0_cannot_be_converted_to_type_1_2352",message:"Type '{0}' cannot be converted to type '{1}'."},Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:{code:2353,category:e.DiagnosticCategory.Error,key:"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353",message:"Object literal may only specify known properties, and '{0}' does not exist in type '{1}'."},This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found:{code:2354,category:e.DiagnosticCategory.Error,key:"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354",message:"This syntax requires an imported helper but module '{0}' cannot be found."},A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value:{code:2355,category:e.DiagnosticCategory.Error,key:"A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value_2355",message:"A function whose declared type is neither 'void' nor 'any' must return a value."},An_arithmetic_operand_must_be_of_type_any_number_or_an_enum_type:{code:2356,category:e.DiagnosticCategory.Error,key:"An_arithmetic_operand_must_be_of_type_any_number_or_an_enum_type_2356",message:"An arithmetic operand must be of type 'any', 'number' or an enum type."},The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:{code:2357,category:e.DiagnosticCategory.Error,key:"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357",message:"The operand of an increment or decrement operator must be a variable or a property access."},The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:{code:2358,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358",message:"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter."},The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type:{code:2359,category:e.DiagnosticCategory.Error,key:"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359",message:"The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type."},The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol:{code:2360,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol_2360",message:"The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'."},The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:{code:2361,category:e.DiagnosticCategory.Error,key:"The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter_2361",message:"The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter."},The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type:{code:2362,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type_2362",message:"The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type."},The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type:{code:2363,category:e.DiagnosticCategory.Error,key:"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type_2363",message:"The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type."},The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:{code:2364,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364",message:"The left-hand side of an assignment expression must be a variable or a property access."},Operator_0_cannot_be_applied_to_types_1_and_2:{code:2365,category:e.DiagnosticCategory.Error,key:"Operator_0_cannot_be_applied_to_types_1_and_2_2365",message:"Operator '{0}' cannot be applied to types '{1}' and '{2}'."},Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:{code:2366,category:e.DiagnosticCategory.Error,key:"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366",message:"Function lacks ending return statement and return type does not include 'undefined'."},Type_parameter_name_cannot_be_0:{code:2368,category:e.DiagnosticCategory.Error,key:"Type_parameter_name_cannot_be_0_2368",message:"Type parameter name cannot be '{0}'."},A_parameter_property_is_only_allowed_in_a_constructor_implementation:{code:2369,category:e.DiagnosticCategory.Error,key:"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369",message:"A parameter property is only allowed in a constructor implementation."},A_rest_parameter_must_be_of_an_array_type:{code:2370,category:e.DiagnosticCategory.Error,key:"A_rest_parameter_must_be_of_an_array_type_2370",message:"A rest parameter must be of an array type."},A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:{code:2371,category:e.DiagnosticCategory.Error,key:"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371",message:"A parameter initializer is only allowed in a function or constructor implementation."},Parameter_0_cannot_be_referenced_in_its_initializer:{code:2372,category:e.DiagnosticCategory.Error,key:"Parameter_0_cannot_be_referenced_in_its_initializer_2372",message:"Parameter '{0}' cannot be referenced in its initializer."},Initializer_of_parameter_0_cannot_reference_identifier_1_declared_after_it:{code:2373,category:e.DiagnosticCategory.Error,key:"Initializer_of_parameter_0_cannot_reference_identifier_1_declared_after_it_2373",message:"Initializer of parameter '{0}' cannot reference identifier '{1}' declared after it."},Duplicate_string_index_signature:{code:2374,category:e.DiagnosticCategory.Error,key:"Duplicate_string_index_signature_2374",message:"Duplicate string index signature."},Duplicate_number_index_signature:{code:2375,category:e.DiagnosticCategory.Error,key:"Duplicate_number_index_signature_2375",message:"Duplicate number index signature."},A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_or_has_parameter_properties:{code:2376,category:e.DiagnosticCategory.Error,key:"A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_proper_2376",message:"A 'super' call must be the first statement in the constructor when a class contains initialized properties or has parameter properties."},Constructors_for_derived_classes_must_contain_a_super_call:{code:2377,category:e.DiagnosticCategory.Error,key:"Constructors_for_derived_classes_must_contain_a_super_call_2377",message:"Constructors for derived classes must contain a 'super' call."},A_get_accessor_must_return_a_value:{code:2378,category:e.DiagnosticCategory.Error,key:"A_get_accessor_must_return_a_value_2378",message:"A 'get' accessor must return a value."},Getter_and_setter_accessors_do_not_agree_in_visibility:{code:2379,category:e.DiagnosticCategory.Error,key:"Getter_and_setter_accessors_do_not_agree_in_visibility_2379",message:"Getter and setter accessors do not agree in visibility."},get_and_set_accessor_must_have_the_same_type:{code:2380,category:e.DiagnosticCategory.Error,key:"get_and_set_accessor_must_have_the_same_type_2380",message:"'get' and 'set' accessor must have the same type."},A_signature_with_an_implementation_cannot_use_a_string_literal_type:{code:2381,category:e.DiagnosticCategory.Error,key:"A_signature_with_an_implementation_cannot_use_a_string_literal_type_2381",message:"A signature with an implementation cannot use a string literal type."},Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature:{code:2382,category:e.DiagnosticCategory.Error,key:"Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature_2382",message:"Specialized overload signature is not assignable to any non-specialized signature."},Overload_signatures_must_all_be_exported_or_non_exported:{code:2383,category:e.DiagnosticCategory.Error,key:"Overload_signatures_must_all_be_exported_or_non_exported_2383",message:"Overload signatures must all be exported or non-exported."},Overload_signatures_must_all_be_ambient_or_non_ambient:{code:2384,category:e.DiagnosticCategory.Error,key:"Overload_signatures_must_all_be_ambient_or_non_ambient_2384",message:"Overload signatures must all be ambient or non-ambient."},Overload_signatures_must_all_be_public_private_or_protected:{code:2385,category:e.DiagnosticCategory.Error,key:"Overload_signatures_must_all_be_public_private_or_protected_2385",message:"Overload signatures must all be public, private or protected."},Overload_signatures_must_all_be_optional_or_required:{code:2386,category:e.DiagnosticCategory.Error,key:"Overload_signatures_must_all_be_optional_or_required_2386",message:"Overload signatures must all be optional or required."},Function_overload_must_be_static:{code:2387,category:e.DiagnosticCategory.Error,key:"Function_overload_must_be_static_2387",message:"Function overload must be static."},Function_overload_must_not_be_static:{code:2388,category:e.DiagnosticCategory.Error,key:"Function_overload_must_not_be_static_2388",message:"Function overload must not be static."},Function_implementation_name_must_be_0:{code:2389,category:e.DiagnosticCategory.Error,key:"Function_implementation_name_must_be_0_2389",message:"Function implementation name must be '{0}'."},Constructor_implementation_is_missing:{code:2390,category:e.DiagnosticCategory.Error,key:"Constructor_implementation_is_missing_2390",message:"Constructor implementation is missing."},Function_implementation_is_missing_or_not_immediately_following_the_declaration:{code:2391,category:e.DiagnosticCategory.Error,key:"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391",message:"Function implementation is missing or not immediately following the declaration."},Multiple_constructor_implementations_are_not_allowed:{code:2392,category:e.DiagnosticCategory.Error,key:"Multiple_constructor_implementations_are_not_allowed_2392",message:"Multiple constructor implementations are not allowed."},Duplicate_function_implementation:{code:2393,category:e.DiagnosticCategory.Error,key:"Duplicate_function_implementation_2393",message:"Duplicate function implementation."},Overload_signature_is_not_compatible_with_function_implementation:{code:2394,category:e.DiagnosticCategory.Error,key:"Overload_signature_is_not_compatible_with_function_implementation_2394",message:"Overload signature is not compatible with function implementation."},Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:{code:2395,category:e.DiagnosticCategory.Error,key:"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395",message:"Individual declarations in merged declaration '{0}' must be all exported or all local."},Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:{code:2396,category:e.DiagnosticCategory.Error,key:"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396",message:"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters."},Declaration_name_conflicts_with_built_in_global_identifier_0:{code:2397,category:e.DiagnosticCategory.Error,key:"Declaration_name_conflicts_with_built_in_global_identifier_0_2397",message:"Declaration name conflicts with built-in global identifier '{0}'."},Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:{code:2399,category:e.DiagnosticCategory.Error,key:"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399",message:"Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference."},Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference:{code:2400,category:e.DiagnosticCategory.Error,key:"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400",message:"Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."},Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference:{code:2401,category:e.DiagnosticCategory.Error,key:"Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference_2401",message:"Duplicate identifier '_super'. Compiler uses '_super' to capture base class reference."},Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:{code:2402,category:e.DiagnosticCategory.Error,key:"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402",message:"Expression resolves to '_super' that compiler uses to capture base class reference."},Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2:{code:2403,category:e.DiagnosticCategory.Error,key:"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403",message:"Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'."},The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:{code:2404,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404",message:"The left-hand side of a 'for...in' statement cannot use a type annotation."},The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any:{code:2405,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405",message:"The left-hand side of a 'for...in' statement must be of type 'string' or 'any'."},The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access:{code:2406,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406",message:"The left-hand side of a 'for...in' statement must be a variable or a property access."},The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter:{code:2407,category:e.DiagnosticCategory.Error,key:"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_2407",message:"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter."},Setters_cannot_return_a_value:{code:2408,category:e.DiagnosticCategory.Error,key:"Setters_cannot_return_a_value_2408",message:"Setters cannot return a value."},Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:{code:2409,category:e.DiagnosticCategory.Error,key:"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409",message:"Return type of constructor signature must be assignable to the instance type of the class."},The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any:{code:2410,category:e.DiagnosticCategory.Error,key:"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410",message:"The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."},Property_0_of_type_1_is_not_assignable_to_string_index_type_2:{code:2411,category:e.DiagnosticCategory.Error,key:"Property_0_of_type_1_is_not_assignable_to_string_index_type_2_2411",message:"Property '{0}' of type '{1}' is not assignable to string index type '{2}'."},Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2:{code:2412,category:e.DiagnosticCategory.Error,key:"Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2_2412",message:"Property '{0}' of type '{1}' is not assignable to numeric index type '{2}'."},Numeric_index_type_0_is_not_assignable_to_string_index_type_1:{code:2413,category:e.DiagnosticCategory.Error,key:"Numeric_index_type_0_is_not_assignable_to_string_index_type_1_2413",message:"Numeric index type '{0}' is not assignable to string index type '{1}'."},Class_name_cannot_be_0:{code:2414,category:e.DiagnosticCategory.Error,key:"Class_name_cannot_be_0_2414",message:"Class name cannot be '{0}'."},Class_0_incorrectly_extends_base_class_1:{code:2415,category:e.DiagnosticCategory.Error,key:"Class_0_incorrectly_extends_base_class_1_2415",message:"Class '{0}' incorrectly extends base class '{1}'."},Class_static_side_0_incorrectly_extends_base_class_static_side_1:{code:2417,category:e.DiagnosticCategory.Error,key:"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417",message:"Class static side '{0}' incorrectly extends base class static side '{1}'."},Class_0_incorrectly_implements_interface_1:{code:2420,category:e.DiagnosticCategory.Error,key:"Class_0_incorrectly_implements_interface_1_2420",message:"Class '{0}' incorrectly implements interface '{1}'."},A_class_may_only_implement_another_class_or_interface:{code:2422,category:e.DiagnosticCategory.Error,key:"A_class_may_only_implement_another_class_or_interface_2422",message:"A class may only implement another class or interface."},Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:{code:2423,category:e.DiagnosticCategory.Error,key:"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423",message:"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor."},Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_property:{code:2424,category:e.DiagnosticCategory.Error,key:"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_proper_2424",message:"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member property."},Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function:{code:2425,category:e.DiagnosticCategory.Error,key:"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425",message:"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function."},Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:{code:2426,category:e.DiagnosticCategory.Error,key:"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426",message:"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function."},Interface_name_cannot_be_0:{code:2427,category:e.DiagnosticCategory.Error,key:"Interface_name_cannot_be_0_2427",message:"Interface name cannot be '{0}'."},All_declarations_of_0_must_have_identical_type_parameters:{code:2428,category:e.DiagnosticCategory.Error,key:"All_declarations_of_0_must_have_identical_type_parameters_2428",message:"All declarations of '{0}' must have identical type parameters."},Interface_0_incorrectly_extends_interface_1:{code:2430,category:e.DiagnosticCategory.Error,key:"Interface_0_incorrectly_extends_interface_1_2430",message:"Interface '{0}' incorrectly extends interface '{1}'."},Enum_name_cannot_be_0:{code:2431,category:e.DiagnosticCategory.Error,key:"Enum_name_cannot_be_0_2431",message:"Enum name cannot be '{0}'."},In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:{code:2432,category:e.DiagnosticCategory.Error,key:"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432",message:"In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element."},A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged:{code:2433,category:e.DiagnosticCategory.Error,key:"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433",message:"A namespace declaration cannot be in a different file from a class or function with which it is merged."},A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged:{code:2434,category:e.DiagnosticCategory.Error,key:"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434",message:"A namespace declaration cannot be located prior to a class or function with which it is merged."},Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces:{code:2435,category:e.DiagnosticCategory.Error,key:"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435",message:"Ambient modules cannot be nested in other modules or namespaces."},Ambient_module_declaration_cannot_specify_relative_module_name:{code:2436,category:e.DiagnosticCategory.Error,key:"Ambient_module_declaration_cannot_specify_relative_module_name_2436",message:"Ambient module declaration cannot specify relative module name."},Module_0_is_hidden_by_a_local_declaration_with_the_same_name:{code:2437,category:e.DiagnosticCategory.Error,key:"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437",message:"Module '{0}' is hidden by a local declaration with the same name."},Import_name_cannot_be_0:{code:2438,category:e.DiagnosticCategory.Error,key:"Import_name_cannot_be_0_2438",message:"Import name cannot be '{0}'."},Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:{code:2439,category:e.DiagnosticCategory.Error,key:"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439",message:"Import or export declaration in an ambient module declaration cannot reference module through relative module name."},Import_declaration_conflicts_with_local_declaration_of_0:{code:2440,category:e.DiagnosticCategory.Error,key:"Import_declaration_conflicts_with_local_declaration_of_0_2440",message:"Import declaration conflicts with local declaration of '{0}'."},Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:{code:2441,category:e.DiagnosticCategory.Error,key:"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441",message:"Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module."},Types_have_separate_declarations_of_a_private_property_0:{code:2442,category:e.DiagnosticCategory.Error,key:"Types_have_separate_declarations_of_a_private_property_0_2442",message:"Types have separate declarations of a private property '{0}'."},Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:{code:2443,category:e.DiagnosticCategory.Error,key:"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443",message:"Property '{0}' is protected but type '{1}' is not a class derived from '{2}'."},Property_0_is_protected_in_type_1_but_public_in_type_2:{code:2444,category:e.DiagnosticCategory.Error,key:"Property_0_is_protected_in_type_1_but_public_in_type_2_2444",message:"Property '{0}' is protected in type '{1}' but public in type '{2}'."},Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses:{code:2445,category:e.DiagnosticCategory.Error,key:"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445",message:"Property '{0}' is protected and only accessible within class '{1}' and its subclasses."},Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1:{code:2446,category:e.DiagnosticCategory.Error,key:"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_2446",message:"Property '{0}' is protected and only accessible through an instance of class '{1}'."},The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:{code:2447,category:e.DiagnosticCategory.Error,key:"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447",message:"The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead."},Block_scoped_variable_0_used_before_its_declaration:{code:2448,category:e.DiagnosticCategory.Error,key:"Block_scoped_variable_0_used_before_its_declaration_2448",message:"Block-scoped variable '{0}' used before its declaration."},Class_0_used_before_its_declaration:{code:2449,category:e.DiagnosticCategory.Error,key:"Class_0_used_before_its_declaration_2449",message:"Class '{0}' used before its declaration."},Enum_0_used_before_its_declaration:{code:2450,category:e.DiagnosticCategory.Error,key:"Enum_0_used_before_its_declaration_2450",message:"Enum '{0}' used before its declaration."},Cannot_redeclare_block_scoped_variable_0:{code:2451,category:e.DiagnosticCategory.Error,key:"Cannot_redeclare_block_scoped_variable_0_2451",message:"Cannot redeclare block-scoped variable '{0}'."},An_enum_member_cannot_have_a_numeric_name:{code:2452,category:e.DiagnosticCategory.Error,key:"An_enum_member_cannot_have_a_numeric_name_2452",message:"An enum member cannot have a numeric name."},The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_type_arguments_explicitly:{code:2453,category:e.DiagnosticCategory.Error,key:"The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_typ_2453",message:"The type argument for type parameter '{0}' cannot be inferred from the usage. Consider specifying the type arguments explicitly."},Variable_0_is_used_before_being_assigned:{code:2454,category:e.DiagnosticCategory.Error,key:"Variable_0_is_used_before_being_assigned_2454",message:"Variable '{0}' is used before being assigned."},Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0:{code:2455,category:e.DiagnosticCategory.Error,key:"Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0_2455",message:"Type argument candidate '{1}' is not a valid type argument because it is not a supertype of candidate '{0}'."},Type_alias_0_circularly_references_itself:{code:2456,category:e.DiagnosticCategory.Error,key:"Type_alias_0_circularly_references_itself_2456",message:"Type alias '{0}' circularly references itself."},Type_alias_name_cannot_be_0:{code:2457,category:e.DiagnosticCategory.Error,key:"Type_alias_name_cannot_be_0_2457",message:"Type alias name cannot be '{0}'."},An_AMD_module_cannot_have_multiple_name_assignments:{code:2458,category:e.DiagnosticCategory.Error,key:"An_AMD_module_cannot_have_multiple_name_assignments_2458",message:"An AMD module cannot have multiple name assignments."},Type_0_has_no_property_1_and_no_string_index_signature:{code:2459,category:e.DiagnosticCategory.Error,key:"Type_0_has_no_property_1_and_no_string_index_signature_2459",message:"Type '{0}' has no property '{1}' and no string index signature."},Type_0_has_no_property_1:{code:2460,category:e.DiagnosticCategory.Error,key:"Type_0_has_no_property_1_2460",message:"Type '{0}' has no property '{1}'."},Type_0_is_not_an_array_type:{code:2461,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_an_array_type_2461",message:"Type '{0}' is not an array type."},A_rest_element_must_be_last_in_a_destructuring_pattern:{code:2462,category:e.DiagnosticCategory.Error,key:"A_rest_element_must_be_last_in_a_destructuring_pattern_2462",message:"A rest element must be last in a destructuring pattern."},A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:{code:2463,category:e.DiagnosticCategory.Error,key:"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463",message:"A binding pattern parameter cannot be optional in an implementation signature."},A_computed_property_name_must_be_of_type_string_number_symbol_or_any:{code:2464,category:e.DiagnosticCategory.Error,key:"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464",message:"A computed property name must be of type 'string', 'number', 'symbol', or 'any'."},this_cannot_be_referenced_in_a_computed_property_name:{code:2465,category:e.DiagnosticCategory.Error,key:"this_cannot_be_referenced_in_a_computed_property_name_2465",message:"'this' cannot be referenced in a computed property name."},super_cannot_be_referenced_in_a_computed_property_name:{code:2466,category:e.DiagnosticCategory.Error,key:"super_cannot_be_referenced_in_a_computed_property_name_2466",message:"'super' cannot be referenced in a computed property name."},A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:{code:2467,category:e.DiagnosticCategory.Error,key:"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467",message:"A computed property name cannot reference a type parameter from its containing type."},Cannot_find_global_value_0:{code:2468,category:e.DiagnosticCategory.Error,key:"Cannot_find_global_value_0_2468",message:"Cannot find global value '{0}'."},The_0_operator_cannot_be_applied_to_type_symbol:{code:2469,category:e.DiagnosticCategory.Error,key:"The_0_operator_cannot_be_applied_to_type_symbol_2469",message:"The '{0}' operator cannot be applied to type 'symbol'."},Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object:{code:2470,category:e.DiagnosticCategory.Error,key:"Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object_2470",message:"'Symbol' reference does not refer to the global Symbol constructor object."},A_computed_property_name_of_the_form_0_must_be_of_type_symbol:{code:2471,category:e.DiagnosticCategory.Error,key:"A_computed_property_name_of_the_form_0_must_be_of_type_symbol_2471",message:"A computed property name of the form '{0}' must be of type 'symbol'."},Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:{code:2472,category:e.DiagnosticCategory.Error,key:"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472",message:"Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher."},Enum_declarations_must_all_be_const_or_non_const:{code:2473,category:e.DiagnosticCategory.Error,key:"Enum_declarations_must_all_be_const_or_non_const_2473",message:"Enum declarations must all be const or non-const."},In_const_enum_declarations_member_initializer_must_be_constant_expression:{code:2474,category:e.DiagnosticCategory.Error,key:"In_const_enum_declarations_member_initializer_must_be_constant_expression_2474",message:"In 'const' enum declarations member initializer must be constant expression."},const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment:{code:2475,category:e.DiagnosticCategory.Error,key:"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475",message:"'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment."},A_const_enum_member_can_only_be_accessed_using_a_string_literal:{code:2476,category:e.DiagnosticCategory.Error,key:"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476",message:"A const enum member can only be accessed using a string literal."},const_enum_member_initializer_was_evaluated_to_a_non_finite_value:{code:2477,category:e.DiagnosticCategory.Error,key:"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477",message:"'const' enum member initializer was evaluated to a non-finite value."},const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:{code:2478,category:e.DiagnosticCategory.Error,key:"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478",message:"'const' enum member initializer was evaluated to disallowed value 'NaN'."},Property_0_does_not_exist_on_const_enum_1:{code:2479,category:e.DiagnosticCategory.Error,key:"Property_0_does_not_exist_on_const_enum_1_2479",message:"Property '{0}' does not exist on 'const' enum '{1}'."},let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:{code:2480,category:e.DiagnosticCategory.Error,key:"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480",message:"'let' is not allowed to be used as a name in 'let' or 'const' declarations."},Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1:{code:2481,category:e.DiagnosticCategory.Error,key:"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481",message:"Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'."},The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation:{code:2483,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483",message:"The left-hand side of a 'for...of' statement cannot use a type annotation."},Export_declaration_conflicts_with_exported_declaration_of_0:{code:2484,category:e.DiagnosticCategory.Error,key:"Export_declaration_conflicts_with_exported_declaration_of_0_2484",message:"Export declaration conflicts with exported declaration of '{0}'."},The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access:{code:2487,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487",message:"The left-hand side of a 'for...of' statement must be a variable or a property access."},Type_must_have_a_Symbol_iterator_method_that_returns_an_iterator:{code:2488,category:e.DiagnosticCategory.Error,key:"Type_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488",message:"Type must have a '[Symbol.iterator]()' method that returns an iterator."},An_iterator_must_have_a_next_method:{code:2489,category:e.DiagnosticCategory.Error,key:"An_iterator_must_have_a_next_method_2489",message:"An iterator must have a 'next()' method."},The_type_returned_by_the_next_method_of_an_iterator_must_have_a_value_property:{code:2490,category:e.DiagnosticCategory.Error,key:"The_type_returned_by_the_next_method_of_an_iterator_must_have_a_value_property_2490",message:"The type returned by the 'next()' method of an iterator must have a 'value' property."},The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:{code:2491,category:e.DiagnosticCategory.Error,key:"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491",message:"The left-hand side of a 'for...in' statement cannot be a destructuring pattern."},Cannot_redeclare_identifier_0_in_catch_clause:{code:2492,category:e.DiagnosticCategory.Error,key:"Cannot_redeclare_identifier_0_in_catch_clause_2492",message:"Cannot redeclare identifier '{0}' in catch clause."},Tuple_type_0_with_length_1_cannot_be_assigned_to_tuple_with_length_2:{code:2493,category:e.DiagnosticCategory.Error,key:"Tuple_type_0_with_length_1_cannot_be_assigned_to_tuple_with_length_2_2493",message:"Tuple type '{0}' with length '{1}' cannot be assigned to tuple with length '{2}'."},Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:{code:2494,category:e.DiagnosticCategory.Error,key:"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494",message:"Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher."},Type_0_is_not_an_array_type_or_a_string_type:{code:2495,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_an_array_type_or_a_string_type_2495",message:"Type '{0}' is not an array type or a string type."},The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression:{code:2496,category:e.DiagnosticCategory.Error,key:"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496",message:"The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression."},Module_0_resolves_to_a_non_module_entity_and_cannot_be_imported_using_this_construct:{code:2497,category:e.DiagnosticCategory.Error,key:"Module_0_resolves_to_a_non_module_entity_and_cannot_be_imported_using_this_construct_2497",message:"Module '{0}' resolves to a non-module entity and cannot be imported using this construct."},Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:{code:2498,category:e.DiagnosticCategory.Error,key:"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498",message:"Module '{0}' uses 'export =' and cannot be used with 'export *'."},An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:{code:2499,category:e.DiagnosticCategory.Error,key:"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499",message:"An interface can only extend an identifier/qualified-name with optional type arguments."},A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments:{code:2500,category:e.DiagnosticCategory.Error,key:"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500",message:"A class can only implement an identifier/qualified-name with optional type arguments."},A_rest_element_cannot_contain_a_binding_pattern:{code:2501,category:e.DiagnosticCategory.Error,key:"A_rest_element_cannot_contain_a_binding_pattern_2501",message:"A rest element cannot contain a binding pattern."},_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:{code:2502,category:e.DiagnosticCategory.Error,key:"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502",message:"'{0}' is referenced directly or indirectly in its own type annotation."},Cannot_find_namespace_0:{code:2503,category:e.DiagnosticCategory.Error,key:"Cannot_find_namespace_0_2503",message:"Cannot find namespace '{0}'."},Type_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:{code:2504,category:e.DiagnosticCategory.Error,key:"Type_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504",message:"Type must have a '[Symbol.asyncIterator]()' method that returns an async iterator."},A_generator_cannot_have_a_void_type_annotation:{code:2505,category:e.DiagnosticCategory.Error,key:"A_generator_cannot_have_a_void_type_annotation_2505",message:"A generator cannot have a 'void' type annotation."},_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:{code:2506,category:e.DiagnosticCategory.Error,key:"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506",message:"'{0}' is referenced directly or indirectly in its own base expression."},Type_0_is_not_a_constructor_function_type:{code:2507,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_a_constructor_function_type_2507",message:"Type '{0}' is not a constructor function type."},No_base_constructor_has_the_specified_number_of_type_arguments:{code:2508,category:e.DiagnosticCategory.Error,key:"No_base_constructor_has_the_specified_number_of_type_arguments_2508",message:"No base constructor has the specified number of type arguments."},Base_constructor_return_type_0_is_not_a_class_or_interface_type:{code:2509,category:e.DiagnosticCategory.Error,key:"Base_constructor_return_type_0_is_not_a_class_or_interface_type_2509",message:"Base constructor return type '{0}' is not a class or interface type."},Base_constructors_must_all_have_the_same_return_type:{code:2510,category:e.DiagnosticCategory.Error,key:"Base_constructors_must_all_have_the_same_return_type_2510",message:"Base constructors must all have the same return type."},Cannot_create_an_instance_of_the_abstract_class_0:{code:2511,category:e.DiagnosticCategory.Error,key:"Cannot_create_an_instance_of_the_abstract_class_0_2511",message:"Cannot create an instance of the abstract class '{0}'."},Overload_signatures_must_all_be_abstract_or_non_abstract:{code:2512,category:e.DiagnosticCategory.Error,key:"Overload_signatures_must_all_be_abstract_or_non_abstract_2512",message:"Overload signatures must all be abstract or non-abstract."},Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:{code:2513,category:e.DiagnosticCategory.Error,key:"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513",message:"Abstract method '{0}' in class '{1}' cannot be accessed via super expression."},Classes_containing_abstract_methods_must_be_marked_abstract:{code:2514,category:e.DiagnosticCategory.Error,key:"Classes_containing_abstract_methods_must_be_marked_abstract_2514",message:"Classes containing abstract methods must be marked abstract."},Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:{code:2515,category:e.DiagnosticCategory.Error,key:"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515",message:"Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'."},All_declarations_of_an_abstract_method_must_be_consecutive:{code:2516,category:e.DiagnosticCategory.Error,key:"All_declarations_of_an_abstract_method_must_be_consecutive_2516",message:"All declarations of an abstract method must be consecutive."},Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:{code:2517,category:e.DiagnosticCategory.Error,key:"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517",message:"Cannot assign an abstract constructor type to a non-abstract constructor type."},A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard:{code:2518,category:e.DiagnosticCategory.Error,key:"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518",message:"A 'this'-based type guard is not compatible with a parameter-based type guard."},An_async_iterator_must_have_a_next_method:{code:2519,category:e.DiagnosticCategory.Error,key:"An_async_iterator_must_have_a_next_method_2519",message:"An async iterator must have a 'next()' method."},Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:{code:2520,category:e.DiagnosticCategory.Error,key:"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520",message:"Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."},Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions:{code:2521,category:e.DiagnosticCategory.Error,key:"Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions_2521",message:"Expression resolves to variable declaration '{0}' that compiler uses to support async functions."},The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method:{code:2522,category:e.DiagnosticCategory.Error,key:"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522",message:"The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method."},yield_expressions_cannot_be_used_in_a_parameter_initializer:{code:2523,category:e.DiagnosticCategory.Error,key:"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523",message:"'yield' expressions cannot be used in a parameter initializer."},await_expressions_cannot_be_used_in_a_parameter_initializer:{code:2524,category:e.DiagnosticCategory.Error,key:"await_expressions_cannot_be_used_in_a_parameter_initializer_2524",message:"'await' expressions cannot be used in a parameter initializer."},Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value:{code:2525,category:e.DiagnosticCategory.Error,key:"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525",message:"Initializer provides no value for this binding element and the binding element has no default value."},A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface:{code:2526,category:e.DiagnosticCategory.Error,key:"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526",message:"A 'this' type is available only in a non-static member of a class or interface."},The_inferred_type_of_0_references_an_inaccessible_this_type_A_type_annotation_is_necessary:{code:2527,category:e.DiagnosticCategory.Error,key:"The_inferred_type_of_0_references_an_inaccessible_this_type_A_type_annotation_is_necessary_2527",message:"The inferred type of '{0}' references an inaccessible 'this' type. A type annotation is necessary."},A_module_cannot_have_multiple_default_exports:{code:2528,category:e.DiagnosticCategory.Error,key:"A_module_cannot_have_multiple_default_exports_2528",message:"A module cannot have multiple default exports."},Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:{code:2529,category:e.DiagnosticCategory.Error,key:"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529",message:"Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions."},Property_0_is_incompatible_with_index_signature:{code:2530,category:e.DiagnosticCategory.Error,key:"Property_0_is_incompatible_with_index_signature_2530",message:"Property '{0}' is incompatible with index signature."},Object_is_possibly_null:{code:2531,category:e.DiagnosticCategory.Error,key:"Object_is_possibly_null_2531",message:"Object is possibly 'null'."},Object_is_possibly_undefined:{code:2532,category:e.DiagnosticCategory.Error,key:"Object_is_possibly_undefined_2532",message:"Object is possibly 'undefined'."},Object_is_possibly_null_or_undefined:{code:2533,category:e.DiagnosticCategory.Error,key:"Object_is_possibly_null_or_undefined_2533",message:"Object is possibly 'null' or 'undefined'."},A_function_returning_never_cannot_have_a_reachable_end_point:{code:2534,category:e.DiagnosticCategory.Error,key:"A_function_returning_never_cannot_have_a_reachable_end_point_2534",message:"A function returning 'never' cannot have a reachable end point."},Enum_type_0_has_members_with_initializers_that_are_not_literals:{code:2535,category:e.DiagnosticCategory.Error,key:"Enum_type_0_has_members_with_initializers_that_are_not_literals_2535",message:"Enum type '{0}' has members with initializers that are not literals."},Type_0_cannot_be_used_to_index_type_1:{code:2536,category:e.DiagnosticCategory.Error,key:"Type_0_cannot_be_used_to_index_type_1_2536",message:"Type '{0}' cannot be used to index type '{1}'."},Type_0_has_no_matching_index_signature_for_type_1:{code:2537,category:e.DiagnosticCategory.Error,key:"Type_0_has_no_matching_index_signature_for_type_1_2537",message:"Type '{0}' has no matching index signature for type '{1}'."},Type_0_cannot_be_used_as_an_index_type:{code:2538,category:e.DiagnosticCategory.Error,key:"Type_0_cannot_be_used_as_an_index_type_2538",message:"Type '{0}' cannot be used as an index type."},Cannot_assign_to_0_because_it_is_not_a_variable:{code:2539,category:e.DiagnosticCategory.Error,key:"Cannot_assign_to_0_because_it_is_not_a_variable_2539",message:"Cannot assign to '{0}' because it is not a variable."},Cannot_assign_to_0_because_it_is_a_constant_or_a_read_only_property:{code:2540,category:e.DiagnosticCategory.Error,key:"Cannot_assign_to_0_because_it_is_a_constant_or_a_read_only_property_2540",message:"Cannot assign to '{0}' because it is a constant or a read-only property."},The_target_of_an_assignment_must_be_a_variable_or_a_property_access:{code:2541,category:e.DiagnosticCategory.Error,key:"The_target_of_an_assignment_must_be_a_variable_or_a_property_access_2541",message:"The target of an assignment must be a variable or a property access."},Index_signature_in_type_0_only_permits_reading:{code:2542,category:e.DiagnosticCategory.Error,key:"Index_signature_in_type_0_only_permits_reading_2542",message:"Index signature in type '{0}' only permits reading."},Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference:{code:2543,category:e.DiagnosticCategory.Error,key:"Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543",message:"Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference."},Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference:{code:2544,category:e.DiagnosticCategory.Error,key:"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544",message:"Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference."},A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any:{code:2545,category:e.DiagnosticCategory.Error,key:"A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545",message:"A mixin class must have a constructor with a single rest parameter of type 'any[]'."},Property_0_has_conflicting_declarations_and_is_inaccessible_in_type_1:{code:2546,category:e.DiagnosticCategory.Error,key:"Property_0_has_conflicting_declarations_and_is_inaccessible_in_type_1_2546",message:"Property '{0}' has conflicting declarations and is inaccessible in type '{1}'."},The_type_returned_by_the_next_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:{code:2547,category:e.DiagnosticCategory.Error,key:"The_type_returned_by_the_next_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value__2547",message:"The type returned by the 'next()' method of an async iterator must be a promise for a type with a 'value' property."},Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:{code:2548,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548",message:"Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator."},Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:{code:2549,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549",message:"Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator."},Generic_type_instantiation_is_excessively_deep_and_possibly_infinite:{code:2550,category:e.DiagnosticCategory.Error,key:"Generic_type_instantiation_is_excessively_deep_and_possibly_infinite_2550",message:"Generic type instantiation is excessively deep and possibly infinite."},JSX_element_attributes_type_0_may_not_be_a_union_type:{code:2600,category:e.DiagnosticCategory.Error,key:"JSX_element_attributes_type_0_may_not_be_a_union_type_2600",message:"JSX element attributes type '{0}' may not be a union type."},The_return_type_of_a_JSX_element_constructor_must_return_an_object_type:{code:2601,category:e.DiagnosticCategory.Error,key:"The_return_type_of_a_JSX_element_constructor_must_return_an_object_type_2601",message:"The return type of a JSX element constructor must return an object type."},JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:{code:2602,category:e.DiagnosticCategory.Error,key:"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602",message:"JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist."},Property_0_in_type_1_is_not_assignable_to_type_2:{code:2603,category:e.DiagnosticCategory.Error,key:"Property_0_in_type_1_is_not_assignable_to_type_2_2603",message:"Property '{0}' in type '{1}' is not assignable to type '{2}'."},JSX_element_type_0_does_not_have_any_construct_or_call_signatures:{code:2604,category:e.DiagnosticCategory.Error,key:"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604",message:"JSX element type '{0}' does not have any construct or call signatures."},JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements:{code:2605,category:e.DiagnosticCategory.Error,key:"JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements_2605",message:"JSX element type '{0}' is not a constructor function for JSX elements."},Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:{code:2606,category:e.DiagnosticCategory.Error,key:"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606",message:"Property '{0}' of JSX spread attribute is not assignable to target property."},JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property:{code:2607,category:e.DiagnosticCategory.Error,key:"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607",message:"JSX element class does not support attributes because it does not have a '{0}' property."},The_global_type_JSX_0_may_not_have_more_than_one_property:{code:2608,category:e.DiagnosticCategory.Error,key:"The_global_type_JSX_0_may_not_have_more_than_one_property_2608",message:"The global type 'JSX.{0}' may not have more than one property."},JSX_spread_child_must_be_an_array_type:{code:2609,category:e.DiagnosticCategory.Error,key:"JSX_spread_child_must_be_an_array_type_2609",message:"JSX spread child must be an array type."},Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:{code:2649,category:e.DiagnosticCategory.Error,key:"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649",message:"Cannot augment module '{0}' with value exports because it resolves to a non-module entity."},Cannot_emit_namespaced_JSX_elements_in_React:{code:2650,category:e.DiagnosticCategory.Error,key:"Cannot_emit_namespaced_JSX_elements_in_React_2650",message:"Cannot emit namespaced JSX elements in React."},A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:{code:2651,category:e.DiagnosticCategory.Error,key:"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651",message:"A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums."},Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead:{code:2652,category:e.DiagnosticCategory.Error,key:"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652",message:"Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead."},Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1:{code:2653,category:e.DiagnosticCategory.Error,key:"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653",message:"Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."},Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_package_author_to_update_the_package_definition:{code:2654,category:e.DiagnosticCategory.Error,key:"Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_pack_2654",message:"Exported external package typings file cannot contain tripleslash references. Please contact the package author to update the package definition."},Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_the_package_definition:{code:2656,category:e.DiagnosticCategory.Error,key:"Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_2656",message:"Exported external package typings file '{0}' is not a module. Please contact the package author to update the package definition."},JSX_expressions_must_have_one_parent_element:{code:2657,category:e.DiagnosticCategory.Error,key:"JSX_expressions_must_have_one_parent_element_2657",message:"JSX expressions must have one parent element."},Type_0_provides_no_match_for_the_signature_1:{code:2658,category:e.DiagnosticCategory.Error,key:"Type_0_provides_no_match_for_the_signature_1_2658",message:"Type '{0}' provides no match for the signature '{1}'."},super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher:{code:2659,category:e.DiagnosticCategory.Error,key:"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659",message:"'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher."},super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions:{code:2660,category:e.DiagnosticCategory.Error,key:"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660",message:"'super' can only be referenced in members of derived classes or object literal expressions."},Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module:{code:2661,category:e.DiagnosticCategory.Error,key:"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661",message:"Cannot export '{0}'. Only local declarations can be exported from a module."},Cannot_find_name_0_Did_you_mean_the_static_member_1_0:{code:2662,category:e.DiagnosticCategory.Error,key:"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662",message:"Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?"},Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:{code:2663,category:e.DiagnosticCategory.Error,key:"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663",message:"Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?"},Invalid_module_name_in_augmentation_module_0_cannot_be_found:{code:2664,category:e.DiagnosticCategory.Error,key:"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664",message:"Invalid module name in augmentation, module '{0}' cannot be found."},Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented:{code:2665,category:e.DiagnosticCategory.Error,key:"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665",message:"Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented."},Exports_and_export_assignments_are_not_permitted_in_module_augmentations:{code:2666,category:e.DiagnosticCategory.Error,key:"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666",message:"Exports and export assignments are not permitted in module augmentations."},Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module:{code:2667,category:e.DiagnosticCategory.Error,key:"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667",message:"Imports are not permitted in module augmentations. Consider moving them to the enclosing external module."},export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible:{code:2668,category:e.DiagnosticCategory.Error,key:"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668",message:"'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible."},Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:{code:2669,category:e.DiagnosticCategory.Error,key:"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669",message:"Augmentations for the global scope can only be directly nested in external modules or ambient module declarations."},Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context:{code:2670,category:e.DiagnosticCategory.Error,key:"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670",message:"Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context."},Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity:{code:2671,category:e.DiagnosticCategory.Error,key:"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671",message:"Cannot augment module '{0}' because it resolves to a non-module entity."},Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:{code:2672,category:e.DiagnosticCategory.Error,key:"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672",message:"Cannot assign a '{0}' constructor type to a '{1}' constructor type."},Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:{code:2673,category:e.DiagnosticCategory.Error,key:"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673",message:"Constructor of class '{0}' is private and only accessible within the class declaration."},Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration:{code:2674,category:e.DiagnosticCategory.Error,key:"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674",message:"Constructor of class '{0}' is protected and only accessible within the class declaration."},Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:{code:2675,category:e.DiagnosticCategory.Error,key:"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675",message:"Cannot extend a class '{0}'. Class constructor is marked as private."},Accessors_must_both_be_abstract_or_non_abstract:{code:2676,category:e.DiagnosticCategory.Error,key:"Accessors_must_both_be_abstract_or_non_abstract_2676",message:"Accessors must both be abstract or non-abstract."},A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:{code:2677,category:e.DiagnosticCategory.Error,key:"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677",message:"A type predicate's type must be assignable to its parameter's type."},Type_0_is_not_comparable_to_type_1:{code:2678,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_comparable_to_type_1_2678",message:"Type '{0}' is not comparable to type '{1}'."},A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void:{code:2679,category:e.DiagnosticCategory.Error,key:"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679",message:"A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'."},A_this_parameter_must_be_the_first_parameter:{code:2680,category:e.DiagnosticCategory.Error,key:"A_this_parameter_must_be_the_first_parameter_2680",message:"A 'this' parameter must be the first parameter."},A_constructor_cannot_have_a_this_parameter:{code:2681,category:e.DiagnosticCategory.Error,key:"A_constructor_cannot_have_a_this_parameter_2681",message:"A constructor cannot have a 'this' parameter."},get_and_set_accessor_must_have_the_same_this_type:{code:2682,category:e.DiagnosticCategory.Error,key:"get_and_set_accessor_must_have_the_same_this_type_2682",message:"'get' and 'set' accessor must have the same 'this' type."},this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:{code:2683,category:e.DiagnosticCategory.Error,key:"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683",message:"'this' implicitly has type 'any' because it does not have a type annotation."},The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1:{code:2684,category:e.DiagnosticCategory.Error,key:"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684",message:"The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'."},The_this_types_of_each_signature_are_incompatible:{code:2685,category:e.DiagnosticCategory.Error,key:"The_this_types_of_each_signature_are_incompatible_2685",message:"The 'this' types of each signature are incompatible."},_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead:{code:2686,category:e.DiagnosticCategory.Error,key:"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686",message:"'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead."},All_declarations_of_0_must_have_identical_modifiers:{code:2687,category:e.DiagnosticCategory.Error,key:"All_declarations_of_0_must_have_identical_modifiers_2687",message:"All declarations of '{0}' must have identical modifiers."},Cannot_find_type_definition_file_for_0:{code:2688,category:e.DiagnosticCategory.Error,key:"Cannot_find_type_definition_file_for_0_2688",message:"Cannot find type definition file for '{0}'."},Cannot_extend_an_interface_0_Did_you_mean_implements:{code:2689,category:e.DiagnosticCategory.Error,key:"Cannot_extend_an_interface_0_Did_you_mean_implements_2689",message:"Cannot extend an interface '{0}'. Did you mean 'implements'?"},An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead:{code:2691,category:e.DiagnosticCategory.Error,key:"An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead_2691",message:"An import path cannot end with a '{0}' extension. Consider importing '{1}' instead."},_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:{code:2692,category:e.DiagnosticCategory.Error,key:"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692",message:"'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible."},_0_only_refers_to_a_type_but_is_being_used_as_a_value_here:{code:2693,category:e.DiagnosticCategory.Error,key:"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693",message:"'{0}' only refers to a type, but is being used as a value here."},Namespace_0_has_no_exported_member_1:{code:2694,category:e.DiagnosticCategory.Error,key:"Namespace_0_has_no_exported_member_1_2694",message:"Namespace '{0}' has no exported member '{1}'."},Left_side_of_comma_operator_is_unused_and_has_no_side_effects:{code:2695,category:e.DiagnosticCategory.Error,key:"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695",message:"Left side of comma operator is unused and has no side effects."},The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:{code:2696,category:e.DiagnosticCategory.Error,key:"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696",message:"The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?"},An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:{code:2697,category:e.DiagnosticCategory.Error,key:"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697",message:"An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your `--lib` option."},Spread_types_may_only_be_created_from_object_types:{code:2698,category:e.DiagnosticCategory.Error,key:"Spread_types_may_only_be_created_from_object_types_2698",message:"Spread types may only be created from object types."},Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1:{code:2699,category:e.DiagnosticCategory.Error,key:"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699",message:"Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'."},Rest_types_may_only_be_created_from_object_types:{code:2700,category:e.DiagnosticCategory.Error,key:"Rest_types_may_only_be_created_from_object_types_2700",message:"Rest types may only be created from object types."},The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:{code:2701,category:e.DiagnosticCategory.Error,key:"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701",message:"The target of an object rest assignment must be a variable or a property access."},_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here:{code:2702,category:e.DiagnosticCategory.Error,key:"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702",message:"'{0}' only refers to a type, but is being used as a namespace here."},The_operand_of_a_delete_operator_must_be_a_property_reference:{code:2703,category:e.DiagnosticCategory.Error,key:"The_operand_of_a_delete_operator_must_be_a_property_reference_2703",message:"The operand of a delete operator must be a property reference."},The_operand_of_a_delete_operator_cannot_be_a_read_only_property:{code:2704,category:e.DiagnosticCategory.Error,key:"The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704",message:"The operand of a delete operator cannot be a read-only property."},An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:{code:2705,category:e.DiagnosticCategory.Error,key:"An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_de_2705",message:"An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your `--lib` option."},Required_type_parameters_may_not_follow_optional_type_parameters:{code:2706,category:e.DiagnosticCategory.Error,key:"Required_type_parameters_may_not_follow_optional_type_parameters_2706",message:"Required type parameters may not follow optional type parameters."},Generic_type_0_requires_between_1_and_2_type_arguments:{code:2707,category:e.DiagnosticCategory.Error,key:"Generic_type_0_requires_between_1_and_2_type_arguments_2707",message:"Generic type '{0}' requires between {1} and {2} type arguments."},Cannot_use_namespace_0_as_a_value:{code:2708,category:e.DiagnosticCategory.Error,key:"Cannot_use_namespace_0_as_a_value_2708",message:"Cannot use namespace '{0}' as a value."},Cannot_use_namespace_0_as_a_type:{code:2709,category:e.DiagnosticCategory.Error,key:"Cannot_use_namespace_0_as_a_type_2709",message:"Cannot use namespace '{0}' as a type."},_0_are_specified_twice_The_attribute_named_0_will_be_overwritten:{code:2710,category:e.DiagnosticCategory.Error,key:"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710",message:"'{0}' are specified twice. The attribute named '{0}' will be overwritten."},Import_declaration_0_is_using_private_name_1:{code:4e3,category:e.DiagnosticCategory.Error,key:"Import_declaration_0_is_using_private_name_1_4000",message:"Import declaration '{0}' is using private name '{1}'."},Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:{code:4002,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002",message:"Type parameter '{0}' of exported class has or is using private name '{1}'."},Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1:{code:4004,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004",message:"Type parameter '{0}' of exported interface has or is using private name '{1}'."},Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:{code:4006,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006",message:"Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."},Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:{code:4008,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008",message:"Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'."},Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:{code:4010,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010",message:"Type parameter '{0}' of public static method from exported class has or is using private name '{1}'."},Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:{code:4012,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012",message:"Type parameter '{0}' of public method from exported class has or is using private name '{1}'."},Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:{code:4014,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014",message:"Type parameter '{0}' of method from exported interface has or is using private name '{1}'."},Type_parameter_0_of_exported_function_has_or_is_using_private_name_1:{code:4016,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016",message:"Type parameter '{0}' of exported function has or is using private name '{1}'."},Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:{code:4019,category:e.DiagnosticCategory.Error,key:"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019",message:"Implements clause of exported class '{0}' has or is using private name '{1}'."},extends_clause_of_exported_class_0_has_or_is_using_private_name_1:{code:4020,category:e.DiagnosticCategory.Error,key:"extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020",message:"'extends' clause of exported class '{0}' has or is using private name '{1}'."},extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:{code:4022,category:e.DiagnosticCategory.Error,key:"extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022",message:"'extends' clause of exported interface '{0}' has or is using private name '{1}'."},Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:{code:4023,category:e.DiagnosticCategory.Error,key:"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023",message:"Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named."},Exported_variable_0_has_or_is_using_name_1_from_private_module_2:{code:4024,category:e.DiagnosticCategory.Error,key:"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024",message:"Exported variable '{0}' has or is using name '{1}' from private module '{2}'."},Exported_variable_0_has_or_is_using_private_name_1:{code:4025,category:e.DiagnosticCategory.Error,key:"Exported_variable_0_has_or_is_using_private_name_1_4025",message:"Exported variable '{0}' has or is using private name '{1}'."},Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:{code:4026,category:e.DiagnosticCategory.Error,key:"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026",message:"Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."},Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:{code:4027,category:e.DiagnosticCategory.Error,key:"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027",message:"Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'."},Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:{code:4028,category:e.DiagnosticCategory.Error,key:"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028",message:"Public static property '{0}' of exported class has or is using private name '{1}'."},Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:{code:4029,category:e.DiagnosticCategory.Error,key:"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029",message:"Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."},Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:{code:4030,category:e.DiagnosticCategory.Error,key:"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030",message:"Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'."},Public_property_0_of_exported_class_has_or_is_using_private_name_1:{code:4031,category:e.DiagnosticCategory.Error,key:"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031",message:"Public property '{0}' of exported class has or is using private name '{1}'."},Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:{code:4032,category:e.DiagnosticCategory.Error,key:"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032",message:"Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'."},Property_0_of_exported_interface_has_or_is_using_private_name_1:{code:4033,category:e.DiagnosticCategory.Error,key:"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033",message:"Property '{0}' of exported interface has or is using private name '{1}'."},Parameter_0_of_public_static_property_setter_from_exported_class_has_or_is_using_name_1_from_private_module_2:{code:4034,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_static_property_setter_from_exported_class_has_or_is_using_name_1_from_private_4034",message:"Parameter '{0}' of public static property setter from exported class has or is using name '{1}' from private module '{2}'."},Parameter_0_of_public_static_property_setter_from_exported_class_has_or_is_using_private_name_1:{code:4035,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_static_property_setter_from_exported_class_has_or_is_using_private_name_1_4035",message:"Parameter '{0}' of public static property setter from exported class has or is using private name '{1}'."},Parameter_0_of_public_property_setter_from_exported_class_has_or_is_using_name_1_from_private_module_2:{code:4036,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_property_setter_from_exported_class_has_or_is_using_name_1_from_private_module_4036",message:"Parameter '{0}' of public property setter from exported class has or is using name '{1}' from private module '{2}'."},Parameter_0_of_public_property_setter_from_exported_class_has_or_is_using_private_name_1:{code:4037,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_property_setter_from_exported_class_has_or_is_using_private_name_1_4037",message:"Parameter '{0}' of public property setter from exported class has or is using private name '{1}'."},Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:{code:4038,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_name_0_from_externa_4038",message:"Return type of public static property getter from exported class has or is using name '{0}' from external module {1} but cannot be named."},Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_name_0_from_private_module_1:{code:4039,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_name_0_from_private_4039",message:"Return type of public static property getter from exported class has or is using name '{0}' from private module '{1}'."},Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_private_name_0:{code:4040,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_private_name_0_4040",message:"Return type of public static property getter from exported class has or is using private name '{0}'."},Return_type_of_public_property_getter_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:{code:4041,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_property_getter_from_exported_class_has_or_is_using_name_0_from_external_modul_4041",message:"Return type of public property getter from exported class has or is using name '{0}' from external module {1} but cannot be named."},Return_type_of_public_property_getter_from_exported_class_has_or_is_using_name_0_from_private_module_1:{code:4042,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_property_getter_from_exported_class_has_or_is_using_name_0_from_private_module_4042",message:"Return type of public property getter from exported class has or is using name '{0}' from private module '{1}'."},Return_type_of_public_property_getter_from_exported_class_has_or_is_using_private_name_0:{code:4043,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_property_getter_from_exported_class_has_or_is_using_private_name_0_4043",message:"Return type of public property getter from exported class has or is using private name '{0}'."},Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:{code:4044,category:e.DiagnosticCategory.Error,key:"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044",message:"Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'."},Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0:{code:4045,category:e.DiagnosticCategory.Error,key:"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045",message:"Return type of constructor signature from exported interface has or is using private name '{0}'."},Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:{code:4046,category:e.DiagnosticCategory.Error,key:"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046",message:"Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'."},Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0:{code:4047,category:e.DiagnosticCategory.Error,key:"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047",message:"Return type of call signature from exported interface has or is using private name '{0}'."},Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:{code:4048,category:e.DiagnosticCategory.Error,key:"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048",message:"Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'."},Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0:{code:4049,category:e.DiagnosticCategory.Error,key:"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049",message:"Return type of index signature from exported interface has or is using private name '{0}'."},Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:{code:4050,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050",message:"Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named."},Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:{code:4051,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051",message:"Return type of public static method from exported class has or is using name '{0}' from private module '{1}'."},Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:{code:4052,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052",message:"Return type of public static method from exported class has or is using private name '{0}'."},Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:{code:4053,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053",message:"Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named."},Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:{code:4054,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054",message:"Return type of public method from exported class has or is using name '{0}' from private module '{1}'."},Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:{code:4055,category:e.DiagnosticCategory.Error,key:"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055",message:"Return type of public method from exported class has or is using private name '{0}'."},Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:{code:4056,category:e.DiagnosticCategory.Error,key:"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056",message:"Return type of method from exported interface has or is using name '{0}' from private module '{1}'."},Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0:{code:4057,category:e.DiagnosticCategory.Error,key:"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057",message:"Return type of method from exported interface has or is using private name '{0}'."},Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:{code:4058,category:e.DiagnosticCategory.Error,key:"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058",message:"Return type of exported function has or is using name '{0}' from external module {1} but cannot be named."},Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:{code:4059,category:e.DiagnosticCategory.Error,key:"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059",message:"Return type of exported function has or is using name '{0}' from private module '{1}'."},Return_type_of_exported_function_has_or_is_using_private_name_0:{code:4060,category:e.DiagnosticCategory.Error,key:"Return_type_of_exported_function_has_or_is_using_private_name_0_4060",message:"Return type of exported function has or is using private name '{0}'."},Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:{code:4061,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061",message:"Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named."},Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:{code:4062,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062",message:"Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'."},Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1:{code:4063,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063",message:"Parameter '{0}' of constructor from exported class has or is using private name '{1}'."},Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:{code:4064,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064",message:"Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'."},Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:{code:4065,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065",message:"Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."},Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:{code:4066,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066",message:"Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'."},Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:{code:4067,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067",message:"Parameter '{0}' of call signature from exported interface has or is using private name '{1}'."},Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:{code:4068,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068",message:"Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named."},Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:{code:4069,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069",message:"Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'."},Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:{code:4070,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070",message:"Parameter '{0}' of public static method from exported class has or is using private name '{1}'."},Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:{code:4071,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071",message:"Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named."},Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:{code:4072,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072",message:"Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'."},Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:{code:4073,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073",message:"Parameter '{0}' of public method from exported class has or is using private name '{1}'."},Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:{code:4074,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074",message:"Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'."},Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:{code:4075,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075",message:"Parameter '{0}' of method from exported interface has or is using private name '{1}'."},Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:{code:4076,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076",message:"Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named."},Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:{code:4077,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077",message:"Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'."},Parameter_0_of_exported_function_has_or_is_using_private_name_1:{code:4078,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078",message:"Parameter '{0}' of exported function has or is using private name '{1}'."},Exported_type_alias_0_has_or_is_using_private_name_1:{code:4081,category:e.DiagnosticCategory.Error,key:"Exported_type_alias_0_has_or_is_using_private_name_1_4081",message:"Exported type alias '{0}' has or is using private name '{1}'."},Default_export_of_the_module_has_or_is_using_private_name_0:{code:4082,category:e.DiagnosticCategory.Error,key:"Default_export_of_the_module_has_or_is_using_private_name_0_4082",message:"Default export of the module has or is using private name '{0}'."},Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1:{code:4083,category:e.DiagnosticCategory.Error,key:"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083",message:"Type parameter '{0}' of exported type alias has or is using private name '{1}'."},Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:{code:4090,category:e.DiagnosticCategory.Message,key:"Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_librar_4090",message:"Conflicting definitions for '{0}' found at '{1}' and '{2}'. Consider installing a specific version of this library to resolve the conflict."},Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:{code:4091,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091",message:"Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'."},Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1:{code:4092,category:e.DiagnosticCategory.Error,key:"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092",message:"Parameter '{0}' of index signature from exported interface has or is using private name '{1}'."},extends_clause_of_exported_class_0_refers_to_a_type_whose_name_cannot_be_referenced:{code:4093,category:e.DiagnosticCategory.Error,key:"extends_clause_of_exported_class_0_refers_to_a_type_whose_name_cannot_be_referenced_4093",message:"'extends' clause of exported class '{0}' refers to a type whose name cannot be referenced."},The_current_host_does_not_support_the_0_option:{code:5001,category:e.DiagnosticCategory.Error,key:"The_current_host_does_not_support_the_0_option_5001",message:"The current host does not support the '{0}' option."},Cannot_find_the_common_subdirectory_path_for_the_input_files:{code:5009,category:e.DiagnosticCategory.Error,key:"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009",message:"Cannot find the common subdirectory path for the input files."},File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:{code:5010,category:e.DiagnosticCategory.Error,key:"File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010",message:"File specification cannot end in a recursive directory wildcard ('**'): '{0}'."},File_specification_cannot_contain_multiple_recursive_directory_wildcards_Asterisk_Asterisk_Colon_0:{code:5011,category:e.DiagnosticCategory.Error,key:"File_specification_cannot_contain_multiple_recursive_directory_wildcards_Asterisk_Asterisk_Colon_0_5011",message:"File specification cannot contain multiple recursive directory wildcards ('**'): '{0}'."},Cannot_read_file_0_Colon_1:{code:5012,category:e.DiagnosticCategory.Error,key:"Cannot_read_file_0_Colon_1_5012",message:"Cannot read file '{0}': {1}."},Failed_to_parse_file_0_Colon_1:{code:5014,category:e.DiagnosticCategory.Error,key:"Failed_to_parse_file_0_Colon_1_5014",message:"Failed to parse file '{0}': {1}."},Unknown_compiler_option_0:{code:5023,category:e.DiagnosticCategory.Error,key:"Unknown_compiler_option_0_5023",message:"Unknown compiler option '{0}'."},Compiler_option_0_requires_a_value_of_type_1:{code:5024,category:e.DiagnosticCategory.Error,key:"Compiler_option_0_requires_a_value_of_type_1_5024",message:"Compiler option '{0}' requires a value of type {1}."},Could_not_write_file_0_Colon_1:{code:5033,category:e.DiagnosticCategory.Error,key:"Could_not_write_file_0_Colon_1_5033",message:"Could not write file '{0}': {1}."},Option_project_cannot_be_mixed_with_source_files_on_a_command_line:{code:5042,category:e.DiagnosticCategory.Error,key:"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042",message:"Option 'project' cannot be mixed with source files on a command line."},Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher:{code:5047,category:e.DiagnosticCategory.Error,key:"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047",message:"Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher."},Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:{code:5051,category:e.DiagnosticCategory.Error,key:"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051",message:"Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."},Option_0_cannot_be_specified_without_specifying_option_1:{code:5052,category:e.DiagnosticCategory.Error,key:"Option_0_cannot_be_specified_without_specifying_option_1_5052",message:"Option '{0}' cannot be specified without specifying option '{1}'."},Option_0_cannot_be_specified_with_option_1:{code:5053,category:e.DiagnosticCategory.Error,key:"Option_0_cannot_be_specified_with_option_1_5053",message:"Option '{0}' cannot be specified with option '{1}'."},A_tsconfig_json_file_is_already_defined_at_Colon_0:{code:5054,category:e.DiagnosticCategory.Error,key:"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054",message:"A 'tsconfig.json' file is already defined at: '{0}'."},Cannot_write_file_0_because_it_would_overwrite_input_file:{code:5055,category:e.DiagnosticCategory.Error,key:"Cannot_write_file_0_because_it_would_overwrite_input_file_5055",message:"Cannot write file '{0}' because it would overwrite input file."},Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files:{code:5056,category:e.DiagnosticCategory.Error,key:"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056",message:"Cannot write file '{0}' because it would be overwritten by multiple input files."},Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0:{code:5057,category:e.DiagnosticCategory.Error,key:"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057",message:"Cannot find a tsconfig.json file at the specified directory: '{0}'."},The_specified_path_does_not_exist_Colon_0:{code:5058,category:e.DiagnosticCategory.Error,key:"The_specified_path_does_not_exist_Colon_0_5058",message:"The specified path does not exist: '{0}'."},Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:{code:5059,category:e.DiagnosticCategory.Error,key:"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059",message:"Invalid value for '--reactNamespace'. '{0}' is not a valid identifier."},Option_paths_cannot_be_used_without_specifying_baseUrl_option:{code:5060,category:e.DiagnosticCategory.Error,key:"Option_paths_cannot_be_used_without_specifying_baseUrl_option_5060",message:"Option 'paths' cannot be used without specifying '--baseUrl' option."},Pattern_0_can_have_at_most_one_Asterisk_character:{code:5061,category:e.DiagnosticCategory.Error,key:"Pattern_0_can_have_at_most_one_Asterisk_character_5061",message:"Pattern '{0}' can have at most one '*' character."},Substitution_0_in_pattern_1_in_can_have_at_most_one_Asterisk_character:{code:5062,category:e.DiagnosticCategory.Error,key:"Substitution_0_in_pattern_1_in_can_have_at_most_one_Asterisk_character_5062",message:"Substitution '{0}' in pattern '{1}' in can have at most one '*' character."},Substitutions_for_pattern_0_should_be_an_array:{code:5063,category:e.DiagnosticCategory.Error,key:"Substitutions_for_pattern_0_should_be_an_array_5063",message:"Substitutions for pattern '{0}' should be an array."},Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:{code:5064,category:e.DiagnosticCategory.Error,key:"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064",message:"Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'."},File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:{code:5065,category:e.DiagnosticCategory.Error,key:"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065",message:"File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'."},Substitutions_for_pattern_0_shouldn_t_be_an_empty_array:{code:5066,category:e.DiagnosticCategory.Error,key:"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066",message:"Substitutions for pattern '{0}' shouldn't be an empty array."},Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:{code:5067,category:e.DiagnosticCategory.Error,key:"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067",message:"Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name."},Concatenate_and_emit_output_to_single_file:{code:6001,category:e.DiagnosticCategory.Message,key:"Concatenate_and_emit_output_to_single_file_6001",message:"Concatenate and emit output to single file."},Generates_corresponding_d_ts_file:{code:6002,category:e.DiagnosticCategory.Message,key:"Generates_corresponding_d_ts_file_6002",message:"Generates corresponding '.d.ts' file."},Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:{code:6003,category:e.DiagnosticCategory.Message,key:"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6003",message:"Specify the location where debugger should locate map files instead of generated locations."},Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:{code:6004,category:e.DiagnosticCategory.Message,key:"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004",message:"Specify the location where debugger should locate TypeScript files instead of source locations."},Watch_input_files:{code:6005,category:e.DiagnosticCategory.Message,key:"Watch_input_files_6005",message:"Watch input files."},Redirect_output_structure_to_the_directory:{code:6006,category:e.DiagnosticCategory.Message,key:"Redirect_output_structure_to_the_directory_6006",message:"Redirect output structure to the directory."},Do_not_erase_const_enum_declarations_in_generated_code:{code:6007,category:e.DiagnosticCategory.Message,key:"Do_not_erase_const_enum_declarations_in_generated_code_6007",message:"Do not erase const enum declarations in generated code."},Do_not_emit_outputs_if_any_errors_were_reported:{code:6008,category:e.DiagnosticCategory.Message,key:"Do_not_emit_outputs_if_any_errors_were_reported_6008",message:"Do not emit outputs if any errors were reported."},Do_not_emit_comments_to_output:{code:6009,category:e.DiagnosticCategory.Message,key:"Do_not_emit_comments_to_output_6009",message:"Do not emit comments to output."},Do_not_emit_outputs:{code:6010,category:e.DiagnosticCategory.Message,key:"Do_not_emit_outputs_6010",message:"Do not emit outputs."},Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:{code:6011,category:e.DiagnosticCategory.Message,key:"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011",message:"Allow default imports from modules with no default export. This does not affect code emit, just typechecking."},Skip_type_checking_of_declaration_files:{code:6012,category:e.DiagnosticCategory.Message,key:"Skip_type_checking_of_declaration_files_6012",message:"Skip type checking of declaration files."},Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_or_ESNEXT:{code:6015,category:e.DiagnosticCategory.Message,key:"Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_or_ESNEXT_6015",message:"Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'."},Specify_module_code_generation_Colon_commonjs_amd_system_umd_or_es2015:{code:6016,category:e.DiagnosticCategory.Message,key:"Specify_module_code_generation_Colon_commonjs_amd_system_umd_or_es2015_6016",message:"Specify module code generation: 'commonjs', 'amd', 'system', 'umd' or 'es2015'."},Print_this_message:{code:6017,category:e.DiagnosticCategory.Message,key:"Print_this_message_6017",message:"Print this message."},Print_the_compiler_s_version:{code:6019,category:e.DiagnosticCategory.Message,key:"Print_the_compiler_s_version_6019",message:"Print the compiler's version."},Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json:{code:6020,category:e.DiagnosticCategory.Message,key:"Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020",message:"Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'."},Syntax_Colon_0:{code:6023,category:e.DiagnosticCategory.Message,key:"Syntax_Colon_0_6023",message:"Syntax: {0}"},options:{code:6024,category:e.DiagnosticCategory.Message,key:"options_6024",message:"options"},file:{code:6025,category:e.DiagnosticCategory.Message,key:"file_6025",message:"file"},Examples_Colon_0:{code:6026,category:e.DiagnosticCategory.Message,key:"Examples_Colon_0_6026",message:"Examples: {0}"},Options_Colon:{code:6027,category:e.DiagnosticCategory.Message,key:"Options_Colon_6027",message:"Options:"},Version_0:{code:6029,category:e.DiagnosticCategory.Message,key:"Version_0_6029",message:"Version {0}"},Insert_command_line_options_and_files_from_a_file:{code:6030,category:e.DiagnosticCategory.Message,key:"Insert_command_line_options_and_files_from_a_file_6030",message:"Insert command line options and files from a file."},File_change_detected_Starting_incremental_compilation:{code:6032,category:e.DiagnosticCategory.Message,key:"File_change_detected_Starting_incremental_compilation_6032",message:"File change detected. Starting incremental compilation..."},KIND:{code:6034,category:e.DiagnosticCategory.Message,key:"KIND_6034",message:"KIND"},FILE:{code:6035,category:e.DiagnosticCategory.Message,key:"FILE_6035",message:"FILE"},VERSION:{code:6036,category:e.DiagnosticCategory.Message,key:"VERSION_6036",message:"VERSION"},LOCATION:{code:6037,category:e.DiagnosticCategory.Message,key:"LOCATION_6037",message:"LOCATION"},DIRECTORY:{code:6038,category:e.DiagnosticCategory.Message,key:"DIRECTORY_6038",message:"DIRECTORY"},STRATEGY:{code:6039,category:e.DiagnosticCategory.Message,key:"STRATEGY_6039",message:"STRATEGY"},FILE_OR_DIRECTORY:{code:6040,category:e.DiagnosticCategory.Message,key:"FILE_OR_DIRECTORY_6040",message:"FILE OR DIRECTORY"},Compilation_complete_Watching_for_file_changes:{code:6042,category:e.DiagnosticCategory.Message,key:"Compilation_complete_Watching_for_file_changes_6042",message:"Compilation complete. Watching for file changes."},Generates_corresponding_map_file:{code:6043,category:e.DiagnosticCategory.Message,key:"Generates_corresponding_map_file_6043",message:"Generates corresponding '.map' file."},Compiler_option_0_expects_an_argument:{code:6044,category:e.DiagnosticCategory.Error,key:"Compiler_option_0_expects_an_argument_6044",message:"Compiler option '{0}' expects an argument."},Unterminated_quoted_string_in_response_file_0:{code:6045,category:e.DiagnosticCategory.Error,key:"Unterminated_quoted_string_in_response_file_0_6045",message:"Unterminated quoted string in response file '{0}'."},Argument_for_0_option_must_be_Colon_1:{code:6046,category:e.DiagnosticCategory.Error,key:"Argument_for_0_option_must_be_Colon_1_6046",message:"Argument for '{0}' option must be: {1}."},Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:{code:6048,category:e.DiagnosticCategory.Error,key:"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048",message:"Locale must be of the form or -. For example '{0}' or '{1}'."},Unsupported_locale_0:{code:6049,category:e.DiagnosticCategory.Error,key:"Unsupported_locale_0_6049",message:"Unsupported locale '{0}'."},Unable_to_open_file_0:{code:6050,category:e.DiagnosticCategory.Error,key:"Unable_to_open_file_0_6050",message:"Unable to open file '{0}'."},Corrupted_locale_file_0:{code:6051,category:e.DiagnosticCategory.Error,key:"Corrupted_locale_file_0_6051",message:"Corrupted locale file {0}."},Raise_error_on_expressions_and_declarations_with_an_implied_any_type:{code:6052,category:e.DiagnosticCategory.Message,key:"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052",message:"Raise error on expressions and declarations with an implied 'any' type."},File_0_not_found:{code:6053,category:e.DiagnosticCategory.Error,key:"File_0_not_found_6053",message:"File '{0}' not found."},File_0_has_unsupported_extension_The_only_supported_extensions_are_1:{code:6054,category:e.DiagnosticCategory.Error,key:"File_0_has_unsupported_extension_The_only_supported_extensions_are_1_6054",message:"File '{0}' has unsupported extension. The only supported extensions are {1}."},Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:{code:6055,category:e.DiagnosticCategory.Message,key:"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055",message:"Suppress noImplicitAny errors for indexing objects lacking index signatures."},Do_not_emit_declarations_for_code_that_has_an_internal_annotation:{code:6056,category:e.DiagnosticCategory.Message,key:"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056",message:"Do not emit declarations for code that has an '@internal' annotation."},Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir:{code:6058,category:e.DiagnosticCategory.Message,key:"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058",message:"Specify the root directory of input files. Use to control the output directory structure with --outDir."},File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files:{code:6059,category:e.DiagnosticCategory.Error,key:"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059",message:"File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files."},Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix:{code:6060,category:e.DiagnosticCategory.Message,key:"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060",message:"Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix)."},NEWLINE:{code:6061,category:e.DiagnosticCategory.Message,key:"NEWLINE_6061",message:"NEWLINE"},Option_0_can_only_be_specified_in_tsconfig_json_file:{code:6064,category:e.DiagnosticCategory.Error,key:"Option_0_can_only_be_specified_in_tsconfig_json_file_6064",message:"Option '{0}' can only be specified in 'tsconfig.json' file."},Enables_experimental_support_for_ES7_decorators:{code:6065,category:e.DiagnosticCategory.Message,key:"Enables_experimental_support_for_ES7_decorators_6065",message:"Enables experimental support for ES7 decorators."},Enables_experimental_support_for_emitting_type_metadata_for_decorators:{code:6066,category:e.DiagnosticCategory.Message,key:"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066",message:"Enables experimental support for emitting type metadata for decorators."},Enables_experimental_support_for_ES7_async_functions:{code:6068,category:e.DiagnosticCategory.Message,key:"Enables_experimental_support_for_ES7_async_functions_6068",message:"Enables experimental support for ES7 async functions."},Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6:{code:6069,category:e.DiagnosticCategory.Message,key:"Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6_6069",message:"Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6)."},Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:{code:6070,category:e.DiagnosticCategory.Message,key:"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070",message:"Initializes a TypeScript project and creates a tsconfig.json file."},Successfully_created_a_tsconfig_json_file:{code:6071,category:e.DiagnosticCategory.Message,key:"Successfully_created_a_tsconfig_json_file_6071",message:"Successfully created a tsconfig.json file."},Suppress_excess_property_checks_for_object_literals:{code:6072,category:e.DiagnosticCategory.Message,key:"Suppress_excess_property_checks_for_object_literals_6072",message:"Suppress excess property checks for object literals."},Stylize_errors_and_messages_using_color_and_context_experimental:{code:6073,category:e.DiagnosticCategory.Message,key:"Stylize_errors_and_messages_using_color_and_context_experimental_6073",message:"Stylize errors and messages using color and context (experimental)."},Do_not_report_errors_on_unused_labels:{code:6074,category:e.DiagnosticCategory.Message,key:"Do_not_report_errors_on_unused_labels_6074",message:"Do not report errors on unused labels."},Report_error_when_not_all_code_paths_in_function_return_a_value:{code:6075,category:e.DiagnosticCategory.Message,key:"Report_error_when_not_all_code_paths_in_function_return_a_value_6075",message:"Report error when not all code paths in function return a value."},Report_errors_for_fallthrough_cases_in_switch_statement:{code:6076,category:e.DiagnosticCategory.Message,key:"Report_errors_for_fallthrough_cases_in_switch_statement_6076",message:"Report errors for fallthrough cases in switch statement."},Do_not_report_errors_on_unreachable_code:{code:6077,category:e.DiagnosticCategory.Message,key:"Do_not_report_errors_on_unreachable_code_6077",message:"Do not report errors on unreachable code."},Disallow_inconsistently_cased_references_to_the_same_file:{code:6078,category:e.DiagnosticCategory.Message,key:"Disallow_inconsistently_cased_references_to_the_same_file_6078",message:"Disallow inconsistently-cased references to the same file."},Specify_library_files_to_be_included_in_the_compilation_Colon:{code:6079,category:e.DiagnosticCategory.Message,key:"Specify_library_files_to_be_included_in_the_compilation_Colon_6079",message:"Specify library files to be included in the compilation: "},Specify_JSX_code_generation_Colon_preserve_react_native_or_react:{code:6080,category:e.DiagnosticCategory.Message,key:"Specify_JSX_code_generation_Colon_preserve_react_native_or_react_6080",message:"Specify JSX code generation: 'preserve', 'react-native', or 'react'."},File_0_has_an_unsupported_extension_so_skipping_it:{code:6081,category:e.DiagnosticCategory.Message,key:"File_0_has_an_unsupported_extension_so_skipping_it_6081",message:"File '{0}' has an unsupported extension, so skipping it."},Only_amd_and_system_modules_are_supported_alongside_0:{code:6082,category:e.DiagnosticCategory.Error,key:"Only_amd_and_system_modules_are_supported_alongside_0_6082",message:"Only 'amd' and 'system' modules are supported alongside --{0}."},Base_directory_to_resolve_non_absolute_module_names:{code:6083,category:e.DiagnosticCategory.Message,key:"Base_directory_to_resolve_non_absolute_module_names_6083",message:"Base directory to resolve non-absolute module names."},Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit:{code:6084,category:e.DiagnosticCategory.Message,key:"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084",message:"[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit"},Enable_tracing_of_the_name_resolution_process:{code:6085,category:e.DiagnosticCategory.Message,key:"Enable_tracing_of_the_name_resolution_process_6085",message:"Enable tracing of the name resolution process."},Resolving_module_0_from_1:{code:6086,category:e.DiagnosticCategory.Message,key:"Resolving_module_0_from_1_6086",message:"======== Resolving module '{0}' from '{1}'. ========"},Explicitly_specified_module_resolution_kind_Colon_0:{code:6087,category:e.DiagnosticCategory.Message,key:"Explicitly_specified_module_resolution_kind_Colon_0_6087",message:"Explicitly specified module resolution kind: '{0}'."},Module_resolution_kind_is_not_specified_using_0:{code:6088,category:e.DiagnosticCategory.Message,key:"Module_resolution_kind_is_not_specified_using_0_6088",message:"Module resolution kind is not specified, using '{0}'."},Module_name_0_was_successfully_resolved_to_1:{code:6089,category:e.DiagnosticCategory.Message,key:"Module_name_0_was_successfully_resolved_to_1_6089",message:"======== Module name '{0}' was successfully resolved to '{1}'. ========"},Module_name_0_was_not_resolved:{code:6090,category:e.DiagnosticCategory.Message,key:"Module_name_0_was_not_resolved_6090",message:"======== Module name '{0}' was not resolved. ========"},paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:{code:6091,category:e.DiagnosticCategory.Message,key:"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091",message:"'paths' option is specified, looking for a pattern to match module name '{0}'."},Module_name_0_matched_pattern_1:{code:6092,category:e.DiagnosticCategory.Message,key:"Module_name_0_matched_pattern_1_6092",message:"Module name '{0}', matched pattern '{1}'."},Trying_substitution_0_candidate_module_location_Colon_1:{code:6093,category:e.DiagnosticCategory.Message,key:"Trying_substitution_0_candidate_module_location_Colon_1_6093",message:"Trying substitution '{0}', candidate module location: '{1}'."},Resolving_module_name_0_relative_to_base_url_1_2:{code:6094,category:e.DiagnosticCategory.Message,key:"Resolving_module_name_0_relative_to_base_url_1_2_6094",message:"Resolving module name '{0}' relative to base url '{1}' - '{2}'."},Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1:{code:6095,category:e.DiagnosticCategory.Message,key:"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1_6095",message:"Loading module as file / folder, candidate module location '{0}', target file type '{1}'."},File_0_does_not_exist:{code:6096,category:e.DiagnosticCategory.Message,key:"File_0_does_not_exist_6096",message:"File '{0}' does not exist."},File_0_exist_use_it_as_a_name_resolution_result:{code:6097,category:e.DiagnosticCategory.Message,key:"File_0_exist_use_it_as_a_name_resolution_result_6097",message:"File '{0}' exist - use it as a name resolution result."},Loading_module_0_from_node_modules_folder_target_file_type_1:{code:6098,category:e.DiagnosticCategory.Message,key:"Loading_module_0_from_node_modules_folder_target_file_type_1_6098",message:"Loading module '{0}' from 'node_modules' folder, target file type '{1}'."},Found_package_json_at_0:{code:6099,category:e.DiagnosticCategory.Message,key:"Found_package_json_at_0_6099",message:"Found 'package.json' at '{0}'."},package_json_does_not_have_a_0_field:{code:6100,category:e.DiagnosticCategory.Message,key:"package_json_does_not_have_a_0_field_6100",message:"'package.json' does not have a '{0}' field."},package_json_has_0_field_1_that_references_2:{code:6101,category:e.DiagnosticCategory.Message,key:"package_json_has_0_field_1_that_references_2_6101",message:"'package.json' has '{0}' field '{1}' that references '{2}'."},Allow_javascript_files_to_be_compiled:{code:6102,category:e.DiagnosticCategory.Message,key:"Allow_javascript_files_to_be_compiled_6102",message:"Allow javascript files to be compiled."},Option_0_should_have_array_of_strings_as_a_value:{code:6103,category:e.DiagnosticCategory.Error,key:"Option_0_should_have_array_of_strings_as_a_value_6103",message:"Option '{0}' should have array of strings as a value."},Checking_if_0_is_the_longest_matching_prefix_for_1_2:{code:6104,category:e.DiagnosticCategory.Message,key:"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104",message:"Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'."},Expected_type_of_0_field_in_package_json_to_be_string_got_1:{code:6105,category:e.DiagnosticCategory.Message,key:"Expected_type_of_0_field_in_package_json_to_be_string_got_1_6105",message:"Expected type of '{0}' field in 'package.json' to be 'string', got '{1}'."},baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1:{code:6106,category:e.DiagnosticCategory.Message,key:"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106",message:"'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'."},rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0:{code:6107,category:e.DiagnosticCategory.Message,key:"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107",message:"'rootDirs' option is set, using it to resolve relative module name '{0}'."},Longest_matching_prefix_for_0_is_1:{code:6108,category:e.DiagnosticCategory.Message,key:"Longest_matching_prefix_for_0_is_1_6108",message:"Longest matching prefix for '{0}' is '{1}'."},Loading_0_from_the_root_dir_1_candidate_location_2:{code:6109,category:e.DiagnosticCategory.Message,key:"Loading_0_from_the_root_dir_1_candidate_location_2_6109",message:"Loading '{0}' from the root dir '{1}', candidate location '{2}'."},Trying_other_entries_in_rootDirs:{code:6110,category:e.DiagnosticCategory.Message,key:"Trying_other_entries_in_rootDirs_6110",message:"Trying other entries in 'rootDirs'."},Module_resolution_using_rootDirs_has_failed:{code:6111,category:e.DiagnosticCategory.Message,key:"Module_resolution_using_rootDirs_has_failed_6111",message:"Module resolution using 'rootDirs' has failed."},Do_not_emit_use_strict_directives_in_module_output:{code:6112,category:e.DiagnosticCategory.Message,key:"Do_not_emit_use_strict_directives_in_module_output_6112",message:"Do not emit 'use strict' directives in module output."},Enable_strict_null_checks:{code:6113,category:e.DiagnosticCategory.Message,key:"Enable_strict_null_checks_6113",message:"Enable strict null checks."},Unknown_option_excludes_Did_you_mean_exclude:{code:6114,category:e.DiagnosticCategory.Error,key:"Unknown_option_excludes_Did_you_mean_exclude_6114",message:"Unknown option 'excludes'. Did you mean 'exclude'?"},Raise_error_on_this_expressions_with_an_implied_any_type:{code:6115,category:e.DiagnosticCategory.Message,key:"Raise_error_on_this_expressions_with_an_implied_any_type_6115",message:"Raise error on 'this' expressions with an implied 'any' type."},Resolving_type_reference_directive_0_containing_file_1_root_directory_2:{code:6116,category:e.DiagnosticCategory.Message,key:"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116",message:"======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"},Resolving_using_primary_search_paths:{code:6117,category:e.DiagnosticCategory.Message,key:"Resolving_using_primary_search_paths_6117",message:"Resolving using primary search paths..."},Resolving_from_node_modules_folder:{code:6118,category:e.DiagnosticCategory.Message,key:"Resolving_from_node_modules_folder_6118",message:"Resolving from node_modules folder..."},Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:{code:6119,category:e.DiagnosticCategory.Message,key:"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119",message:"======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========"},Type_reference_directive_0_was_not_resolved:{code:6120,category:e.DiagnosticCategory.Message,key:"Type_reference_directive_0_was_not_resolved_6120",message:"======== Type reference directive '{0}' was not resolved. ========"},Resolving_with_primary_search_path_0:{code:6121,category:e.DiagnosticCategory.Message,key:"Resolving_with_primary_search_path_0_6121",message:"Resolving with primary search path '{0}'."},Root_directory_cannot_be_determined_skipping_primary_search_paths:{code:6122,category:e.DiagnosticCategory.Message,key:"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122",message:"Root directory cannot be determined, skipping primary search paths."},Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:{code:6123,category:e.DiagnosticCategory.Message,key:"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123",message:"======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========"},Type_declaration_files_to_be_included_in_compilation:{code:6124,category:e.DiagnosticCategory.Message,key:"Type_declaration_files_to_be_included_in_compilation_6124",message:"Type declaration files to be included in compilation."},Looking_up_in_node_modules_folder_initial_location_0:{code:6125,category:e.DiagnosticCategory.Message,key:"Looking_up_in_node_modules_folder_initial_location_0_6125",message:"Looking up in 'node_modules' folder, initial location '{0}'."},Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder:{code:6126,category:e.DiagnosticCategory.Message,key:"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126",message:"Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder."},Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1:{code:6127,category:e.DiagnosticCategory.Message,key:"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127",message:"======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========"},Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set:{code:6128,category:e.DiagnosticCategory.Message,key:"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128",message:"======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========"},The_config_file_0_found_doesn_t_contain_any_source_files:{code:6129,category:e.DiagnosticCategory.Error,key:"The_config_file_0_found_doesn_t_contain_any_source_files_6129",message:"The config file '{0}' found doesn't contain any source files."},Resolving_real_path_for_0_result_1:{code:6130,category:e.DiagnosticCategory.Message,key:"Resolving_real_path_for_0_result_1_6130",message:"Resolving real path for '{0}', result '{1}'."},Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:{code:6131,category:e.DiagnosticCategory.Error,key:"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131",message:"Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'."},File_name_0_has_a_1_extension_stripping_it:{code:6132,category:e.DiagnosticCategory.Message,key:"File_name_0_has_a_1_extension_stripping_it_6132",message:"File name '{0}' has a '{1}' extension - stripping it."},_0_is_declared_but_never_used:{code:6133,category:e.DiagnosticCategory.Error,key:"_0_is_declared_but_never_used_6133",message:"'{0}' is declared but never used."},Report_errors_on_unused_locals:{code:6134,category:e.DiagnosticCategory.Message,key:"Report_errors_on_unused_locals_6134",message:"Report errors on unused locals."},Report_errors_on_unused_parameters:{code:6135,category:e.DiagnosticCategory.Message,key:"Report_errors_on_unused_parameters_6135",message:"Report errors on unused parameters."},The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:{code:6136,category:e.DiagnosticCategory.Message,key:"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136",message:"The maximum dependency depth to search under node_modules and load JavaScript files."},Property_0_is_declared_but_never_used:{code:6138,category:e.DiagnosticCategory.Error,key:"Property_0_is_declared_but_never_used_6138",message:"Property '{0}' is declared but never used."},Import_emit_helpers_from_tslib:{code:6139,category:e.DiagnosticCategory.Message,key:"Import_emit_helpers_from_tslib_6139",message:"Import emit helpers from 'tslib'."},Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2:{code:6140,category:e.DiagnosticCategory.Error,key:"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140",message:"Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'."},Parse_in_strict_mode_and_emit_use_strict_for_each_source_file:{code:6141,category:e.DiagnosticCategory.Message,key:"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141",message:'Parse in strict mode and emit "use strict" for each source file.'},Module_0_was_resolved_to_1_but_jsx_is_not_set:{code:6142,category:e.DiagnosticCategory.Error,key:"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142",message:"Module '{0}' was resolved to '{1}', but '--jsx' is not set."},Module_0_was_resolved_to_1_but_allowJs_is_not_set:{code:6143,category:e.DiagnosticCategory.Error,key:"Module_0_was_resolved_to_1_but_allowJs_is_not_set_6143",message:"Module '{0}' was resolved to '{1}', but '--allowJs' is not set."},Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:{code:6144,category:e.DiagnosticCategory.Message,key:"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144",message:"Module '{0}' was resolved as locally declared ambient module in file '{1}'."},Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified:{code:6145,category:e.DiagnosticCategory.Message,key:"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145",message:"Module '{0}' was resolved as ambient module declared in '{1}' since this file was not modified."},Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h:{code:6146,category:e.DiagnosticCategory.Message,key:"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146",message:"Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'."},Resolution_for_module_0_was_found_in_cache:{code:6147,category:e.DiagnosticCategory.Message,key:"Resolution_for_module_0_was_found_in_cache_6147",message:"Resolution for module '{0}' was found in cache."},Directory_0_does_not_exist_skipping_all_lookups_in_it:{code:6148,category:e.DiagnosticCategory.Message,key:"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148",message:"Directory '{0}' does not exist, skipping all lookups in it."},Show_diagnostic_information:{code:6149,category:e.DiagnosticCategory.Message,key:"Show_diagnostic_information_6149",message:"Show diagnostic information."},Show_verbose_diagnostic_information:{code:6150,category:e.DiagnosticCategory.Message,key:"Show_verbose_diagnostic_information_6150",message:"Show verbose diagnostic information."},Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:{code:6151,category:e.DiagnosticCategory.Message,key:"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151",message:"Emit a single file with source maps instead of having a separate file."},Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set:{code:6152,category:e.DiagnosticCategory.Message,key:"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152",message:"Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set."},Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule:{code:6153,category:e.DiagnosticCategory.Message,key:"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153",message:"Transpile each file as a separate module (similar to 'ts.transpileModule')."},Print_names_of_generated_files_part_of_the_compilation:{code:6154,category:e.DiagnosticCategory.Message,key:"Print_names_of_generated_files_part_of_the_compilation_6154",message:"Print names of generated files part of the compilation."},Print_names_of_files_part_of_the_compilation:{code:6155,category:e.DiagnosticCategory.Message,key:"Print_names_of_files_part_of_the_compilation_6155",message:"Print names of files part of the compilation."},The_locale_used_when_displaying_messages_to_the_user_e_g_en_us:{code:6156,category:e.DiagnosticCategory.Message,key:"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156",message:"The locale used when displaying messages to the user (e.g. 'en-us')"},Do_not_generate_custom_helper_functions_like_extends_in_compiled_output:{code:6157,category:e.DiagnosticCategory.Message,key:"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157",message:"Do not generate custom helper functions like '__extends' in compiled output."},Do_not_include_the_default_library_file_lib_d_ts:{code:6158,category:e.DiagnosticCategory.Message,key:"Do_not_include_the_default_library_file_lib_d_ts_6158",message:"Do not include the default library file (lib.d.ts)."},Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files:{code:6159,category:e.DiagnosticCategory.Message,key:"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159",message:"Do not add triple-slash references or imported modules to the list of compiled files."},Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files:{code:6160,category:e.DiagnosticCategory.Message,key:"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160",message:"[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files."},List_of_folders_to_include_type_definitions_from:{code:6161,category:e.DiagnosticCategory.Message,key:"List_of_folders_to_include_type_definitions_from_6161",message:"List of folders to include type definitions from."},Disable_size_limitations_on_JavaScript_projects:{code:6162,category:e.DiagnosticCategory.Message,key:"Disable_size_limitations_on_JavaScript_projects_6162",message:"Disable size limitations on JavaScript projects."},The_character_set_of_the_input_files:{code:6163,category:e.DiagnosticCategory.Message,key:"The_character_set_of_the_input_files_6163",message:"The character set of the input files."},Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:{code:6164,category:e.DiagnosticCategory.Message,key:"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6164",message:"Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."},Do_not_truncate_error_messages:{code:6165,category:e.DiagnosticCategory.Message,key:"Do_not_truncate_error_messages_6165",message:"Do not truncate error messages."},Output_directory_for_generated_declaration_files:{code:6166,category:e.DiagnosticCategory.Message,key:"Output_directory_for_generated_declaration_files_6166",message:"Output directory for generated declaration files."},A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl:{code:6167,category:e.DiagnosticCategory.Message,key:"A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167",message:"A series of entries which re-map imports to lookup locations relative to the 'baseUrl'."},List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime:{code:6168,category:e.DiagnosticCategory.Message,key:"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168",message:"List of root folders whose combined content represents the structure of the project at runtime."},Show_all_compiler_options:{code:6169,category:e.DiagnosticCategory.Message,key:"Show_all_compiler_options_6169",message:"Show all compiler options."},Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:{code:6170,category:e.DiagnosticCategory.Message,key:"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170",message:"[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file"},Command_line_Options:{code:6171,category:e.DiagnosticCategory.Message,key:"Command_line_Options_6171",message:"Command-line Options"},Basic_Options:{code:6172,category:e.DiagnosticCategory.Message,key:"Basic_Options_6172",message:"Basic Options"},Strict_Type_Checking_Options:{code:6173,category:e.DiagnosticCategory.Message,key:"Strict_Type_Checking_Options_6173",message:"Strict Type-Checking Options"},Module_Resolution_Options:{code:6174,category:e.DiagnosticCategory.Message,key:"Module_Resolution_Options_6174",message:"Module Resolution Options"},Source_Map_Options:{code:6175,category:e.DiagnosticCategory.Message,key:"Source_Map_Options_6175",message:"Source Map Options"},Additional_Checks:{code:6176,category:e.DiagnosticCategory.Message,key:"Additional_Checks_6176",message:"Additional Checks"},Experimental_Options:{code:6177,category:e.DiagnosticCategory.Message,key:"Experimental_Options_6177",message:"Experimental Options"},Advanced_Options:{code:6178,category:e.DiagnosticCategory.Message,key:"Advanced_Options_6178",message:"Advanced Options"},Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:{code:6179,category:e.DiagnosticCategory.Message,key:"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179",message:"Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'."},Enable_all_strict_type_checking_options:{code:6180,category:e.DiagnosticCategory.Message,key:"Enable_all_strict_type_checking_options_6180",message:"Enable all strict type-checking options."},List_of_language_service_plugins:{code:6181,category:e.DiagnosticCategory.Message,key:"List_of_language_service_plugins_6181",message:"List of language service plugins."},Scoped_package_detected_looking_in_0:{code:6182,category:e.DiagnosticCategory.Message,key:"Scoped_package_detected_looking_in_0_6182",message:"Scoped package detected, looking in '{0}'"},Variable_0_implicitly_has_an_1_type:{code:7005,category:e.DiagnosticCategory.Error,key:"Variable_0_implicitly_has_an_1_type_7005",message:"Variable '{0}' implicitly has an '{1}' type."},Parameter_0_implicitly_has_an_1_type:{code:7006,category:e.DiagnosticCategory.Error,key:"Parameter_0_implicitly_has_an_1_type_7006",message:"Parameter '{0}' implicitly has an '{1}' type."},Member_0_implicitly_has_an_1_type:{code:7008,category:e.DiagnosticCategory.Error,key:"Member_0_implicitly_has_an_1_type_7008",message:"Member '{0}' implicitly has an '{1}' type."},new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:{code:7009,category:e.DiagnosticCategory.Error,key:"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009",message:"'new' expression, whose target lacks a construct signature, implicitly has an 'any' type."},_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:{code:7010,category:e.DiagnosticCategory.Error,key:"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010",message:"'{0}', which lacks return-type annotation, implicitly has an '{1}' return type."},Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:{code:7011,category:e.DiagnosticCategory.Error,key:"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011",message:"Function expression, which lacks return-type annotation, implicitly has an '{0}' return type."},Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:{code:7013,category:e.DiagnosticCategory.Error,key:"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013",message:"Construct signature, which lacks return-type annotation, implicitly has an 'any' return type."},Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:{code:7015,category:e.DiagnosticCategory.Error,key:"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015",message:"Element implicitly has an 'any' type because index expression is not of type 'number'."},Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type:{code:7016,category:e.DiagnosticCategory.Error,key:"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016",message:"Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type."},Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature:{code:7017,category:e.DiagnosticCategory.Error,key:"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017",message:"Element implicitly has an 'any' type because type '{0}' has no index signature."},Object_literal_s_property_0_implicitly_has_an_1_type:{code:7018,category:e.DiagnosticCategory.Error,key:"Object_literal_s_property_0_implicitly_has_an_1_type_7018",message:"Object literal's property '{0}' implicitly has an '{1}' type."},Rest_parameter_0_implicitly_has_an_any_type:{code:7019,category:e.DiagnosticCategory.Error,key:"Rest_parameter_0_implicitly_has_an_any_type_7019",message:"Rest parameter '{0}' implicitly has an 'any[]' type."},Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:{code:7020,category:e.DiagnosticCategory.Error,key:"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020",message:"Call signature, which lacks return-type annotation, implicitly has an 'any' return type."},_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer:{code:7022,category:e.DiagnosticCategory.Error,key:"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022",message:"'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer."},_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:{code:7023,category:e.DiagnosticCategory.Error,key:"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023",message:"'{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."},Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:{code:7024,category:e.DiagnosticCategory.Error,key:"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024",message:"Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."},Generator_implicitly_has_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type:{code:7025,category:e.DiagnosticCategory.Error,key:"Generator_implicitly_has_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_typ_7025",message:"Generator implicitly has type '{0}' because it does not yield any values. Consider supplying a return type."},JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:{code:7026,category:e.DiagnosticCategory.Error,key:"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026",message:"JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists."},Unreachable_code_detected:{code:7027,category:e.DiagnosticCategory.Error,key:"Unreachable_code_detected_7027",message:"Unreachable code detected."},Unused_label:{code:7028,category:e.DiagnosticCategory.Error,key:"Unused_label_7028",message:"Unused label."},Fallthrough_case_in_switch:{code:7029,category:e.DiagnosticCategory.Error,key:"Fallthrough_case_in_switch_7029",message:"Fallthrough case in switch."},Not_all_code_paths_return_a_value:{code:7030,category:e.DiagnosticCategory.Error,key:"Not_all_code_paths_return_a_value_7030",message:"Not all code paths return a value."},Binding_element_0_implicitly_has_an_1_type:{code:7031,category:e.DiagnosticCategory.Error,key:"Binding_element_0_implicitly_has_an_1_type_7031",message:"Binding element '{0}' implicitly has an '{1}' type."},Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:{code:7032,category:e.DiagnosticCategory.Error,key:"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032",message:"Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation."},Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation:{code:7033,category:e.DiagnosticCategory.Error,key:"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033",message:"Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation."},Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined:{code:7034,category:e.DiagnosticCategory.Error,key:"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034",message:"Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined."},You_cannot_rename_this_element:{code:8e3,category:e.DiagnosticCategory.Error,key:"You_cannot_rename_this_element_8000",message:"You cannot rename this element."},You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:{code:8001,category:e.DiagnosticCategory.Error,key:"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001",message:"You cannot rename elements that are defined in the standard TypeScript library."},import_can_only_be_used_in_a_ts_file:{code:8002,category:e.DiagnosticCategory.Error,key:"import_can_only_be_used_in_a_ts_file_8002",message:"'import ... =' can only be used in a .ts file."},export_can_only_be_used_in_a_ts_file:{code:8003,category:e.DiagnosticCategory.Error,key:"export_can_only_be_used_in_a_ts_file_8003",message:"'export=' can only be used in a .ts file."},type_parameter_declarations_can_only_be_used_in_a_ts_file:{code:8004,category:e.DiagnosticCategory.Error,key:"type_parameter_declarations_can_only_be_used_in_a_ts_file_8004",message:"'type parameter declarations' can only be used in a .ts file."},implements_clauses_can_only_be_used_in_a_ts_file:{code:8005,category:e.DiagnosticCategory.Error,key:"implements_clauses_can_only_be_used_in_a_ts_file_8005",message:"'implements clauses' can only be used in a .ts file."},interface_declarations_can_only_be_used_in_a_ts_file:{code:8006,category:e.DiagnosticCategory.Error,key:"interface_declarations_can_only_be_used_in_a_ts_file_8006",message:"'interface declarations' can only be used in a .ts file."},module_declarations_can_only_be_used_in_a_ts_file:{code:8007,category:e.DiagnosticCategory.Error,key:"module_declarations_can_only_be_used_in_a_ts_file_8007",message:"'module declarations' can only be used in a .ts file."},type_aliases_can_only_be_used_in_a_ts_file:{code:8008,category:e.DiagnosticCategory.Error,key:"type_aliases_can_only_be_used_in_a_ts_file_8008",message:"'type aliases' can only be used in a .ts file."},_0_can_only_be_used_in_a_ts_file:{code:8009,category:e.DiagnosticCategory.Error,key:"_0_can_only_be_used_in_a_ts_file_8009",message:"'{0}' can only be used in a .ts file."},types_can_only_be_used_in_a_ts_file:{code:8010,category:e.DiagnosticCategory.Error,key:"types_can_only_be_used_in_a_ts_file_8010",message:"'types' can only be used in a .ts file."},type_arguments_can_only_be_used_in_a_ts_file:{code:8011,category:e.DiagnosticCategory.Error,key:"type_arguments_can_only_be_used_in_a_ts_file_8011",message:"'type arguments' can only be used in a .ts file."},parameter_modifiers_can_only_be_used_in_a_ts_file:{code:8012,category:e.DiagnosticCategory.Error,key:"parameter_modifiers_can_only_be_used_in_a_ts_file_8012",message:"'parameter modifiers' can only be used in a .ts file."},enum_declarations_can_only_be_used_in_a_ts_file:{code:8015,category:e.DiagnosticCategory.Error,key:"enum_declarations_can_only_be_used_in_a_ts_file_8015",message:"'enum declarations' can only be used in a .ts file."},type_assertion_expressions_can_only_be_used_in_a_ts_file:{code:8016,category:e.DiagnosticCategory.Error,key:"type_assertion_expressions_can_only_be_used_in_a_ts_file_8016",message:"'type assertion expressions' can only be used in a .ts file."},Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_class_extends_clause:{code:9002,category:e.DiagnosticCategory.Error,key:"Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_clas_9002",message:"Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clause."},class_expressions_are_not_currently_supported:{code:9003,category:e.DiagnosticCategory.Error,key:"class_expressions_are_not_currently_supported_9003",message:"'class' expressions are not currently supported."},Language_service_is_disabled:{code:9004,category:e.DiagnosticCategory.Error,key:"Language_service_is_disabled_9004",message:"Language service is disabled."},JSX_attributes_must_only_be_assigned_a_non_empty_expression:{code:17e3,category:e.DiagnosticCategory.Error,key:"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000",message:"JSX attributes must only be assigned a non-empty 'expression'."},JSX_elements_cannot_have_multiple_attributes_with_the_same_name:{code:17001,category:e.DiagnosticCategory.Error,key:"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001",message:"JSX elements cannot have multiple attributes with the same name."},Expected_corresponding_JSX_closing_tag_for_0:{code:17002,category:e.DiagnosticCategory.Error,key:"Expected_corresponding_JSX_closing_tag_for_0_17002",message:"Expected corresponding JSX closing tag for '{0}'."},JSX_attribute_expected:{code:17003,category:e.DiagnosticCategory.Error,key:"JSX_attribute_expected_17003",message:"JSX attribute expected."},Cannot_use_JSX_unless_the_jsx_flag_is_provided:{code:17004,category:e.DiagnosticCategory.Error,key:"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004",message:"Cannot use JSX unless the '--jsx' flag is provided."},A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:{code:17005,category:e.DiagnosticCategory.Error,key:"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005",message:"A constructor cannot contain a 'super' call when its class extends 'null'."},An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:{code:17006,category:e.DiagnosticCategory.Error,key:"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006",message:"An unary expression with the '{0}' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."},A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:{code:17007,category:e.DiagnosticCategory.Error,key:"A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007",message:"A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."},JSX_element_0_has_no_corresponding_closing_tag:{code:17008,category:e.DiagnosticCategory.Error,key:"JSX_element_0_has_no_corresponding_closing_tag_17008",message:"JSX element '{0}' has no corresponding closing tag."},super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:{code:17009,category:e.DiagnosticCategory.Error,key:"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009",message:"'super' must be called before accessing 'this' in the constructor of a derived class."},Unknown_type_acquisition_option_0:{code:17010,category:e.DiagnosticCategory.Error,key:"Unknown_type_acquisition_option_0_17010",message:"Unknown type acquisition option '{0}'."},super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class:{code:17011,category:e.DiagnosticCategory.Error,key:"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011",message:"'super' must be called before accessing a property of 'super' in the constructor of a derived class."},_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2:{code:17012,category:e.DiagnosticCategory.Error,key:"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012",message:"'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?"},Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor:{code:17013,category:e.DiagnosticCategory.Error,key:"Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013",message:"Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor."},Circularity_detected_while_resolving_configuration_Colon_0:{code:18e3,category:e.DiagnosticCategory.Error,key:"Circularity_detected_while_resolving_configuration_Colon_0_18000",message:"Circularity detected while resolving configuration: {0}"},A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not:{code:18001,category:e.DiagnosticCategory.Error,key:"A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not_18001",message:"A path in an 'extends' option must be relative or rooted, but '{0}' is not."},The_files_list_in_config_file_0_is_empty:{code:18002,category:e.DiagnosticCategory.Error,key:"The_files_list_in_config_file_0_is_empty_18002",message:"The 'files' list in config file '{0}' is empty."},No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2:{code:18003,category:e.DiagnosticCategory.Error,key:"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003",message:"No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."},Add_missing_super_call:{code:90001,category:e.DiagnosticCategory.Message,key:"Add_missing_super_call_90001",message:"Add missing 'super()' call."},Make_super_call_the_first_statement_in_the_constructor:{code:90002,category:e.DiagnosticCategory.Message,key:"Make_super_call_the_first_statement_in_the_constructor_90002",message:"Make 'super()' call the first statement in the constructor."},Change_extends_to_implements:{code:90003,category:e.DiagnosticCategory.Message,key:"Change_extends_to_implements_90003",message:"Change 'extends' to 'implements'."},Remove_declaration_for_Colon_0:{code:90004,category:e.DiagnosticCategory.Message,key:"Remove_declaration_for_Colon_0_90004",message:"Remove declaration for: '{0}'."},Implement_interface_0:{code:90006,category:e.DiagnosticCategory.Message,key:"Implement_interface_0_90006",message:"Implement interface '{0}'."},Implement_inherited_abstract_class:{code:90007,category:e.DiagnosticCategory.Message,key:"Implement_inherited_abstract_class_90007",message:"Implement inherited abstract class."},Add_this_to_unresolved_variable:{code:90008,category:e.DiagnosticCategory.Message,key:"Add_this_to_unresolved_variable_90008",message:"Add 'this.' to unresolved variable."},Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig:{code:90009,category:e.DiagnosticCategory.Error,key:"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__90009",message:"Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig."},Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:{code:90010,category:e.DiagnosticCategory.Error,key:"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_90010",message:"Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."},Import_0_from_1:{code:90013,category:e.DiagnosticCategory.Message,key:"Import_0_from_1_90013",message:"Import {0} from {1}."},Change_0_to_1:{code:90014,category:e.DiagnosticCategory.Message,key:"Change_0_to_1_90014",message:"Change {0} to {1}."},Add_0_to_existing_import_declaration_from_1:{code:90015,category:e.DiagnosticCategory.Message,key:"Add_0_to_existing_import_declaration_from_1_90015",message:"Add {0} to existing import declaration from {1}."},Add_declaration_for_missing_property_0:{code:90016,category:e.DiagnosticCategory.Message,key:"Add_declaration_for_missing_property_0_90016",message:"Add declaration for missing property '{0}'."},Add_index_signature_for_missing_property_0:{code:90017,category:e.DiagnosticCategory.Message,key:"Add_index_signature_for_missing_property_0_90017",message:"Add index signature for missing property '{0}'."},Disable_checking_for_this_file:{code:90018,category:e.DiagnosticCategory.Message,key:"Disable_checking_for_this_file_90018",message:"Disable checking for this file."},Ignore_this_error_message:{code:90019,category:e.DiagnosticCategory.Message,key:"Ignore_this_error_message_90019",message:"Ignore this error message."},Initialize_property_0_in_the_constructor:{code:90020,category:e.DiagnosticCategory.Message,key:"Initialize_property_0_in_the_constructor_90020",message:"Initialize property '{0}' in the constructor."},Initialize_static_property_0:{code:90021,category:e.DiagnosticCategory.Message,key:"Initialize_static_property_0_90021",message:"Initialize static property '{0}'."},Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:{code:8017,category:e.DiagnosticCategory.Error,key:"Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0_8017",message:"Octal literal types must use ES2015 syntax. Use the syntax '{0}'."},Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0:{code:8018,category:e.DiagnosticCategory.Error,key:"Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0_8018",message:"Octal literals are not allowed in enums members initializer. Use the syntax '{0}'."},Report_errors_in_js_files:{code:8019,category:e.DiagnosticCategory.Message,key:"Report_errors_in_js_files_8019",message:"Report errors in .js files."}}}(o||(o={}));var o;!function(e){function t(e){return e>=71}function r(e,t){if(e=1?r(e,z):r(e,B)}function i(e,t){return t>=1?r(e,K):r(e,j)}function a(e){return J[e]}function o(e){return L.get(e)}function s(e){for(var t=new Array,r=0,n=0;r127&&g(i)&&(t.push(n),n=r)}}return t.push(n),t}function c(e,t,r){return u(l(e),t,r)}function u(t,r,n){return e.Debug.assert(r>=0&&r=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function g(e){return 10===e||13===e||8232===e||8233===e}function m(e){return e>=48&&e<=57}function h(e){return e>=48&&e<=55}function y(e,t){var r=e.charCodeAt(t);switch(r){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 61:case 62:return!0;case 35:return 0===t;default:return r>127}}function v(t,r,n,i){if(void 0===i&&(i=!1),e.positionIsSynthesized(r))return r;for(;;){var a=t.charCodeAt(r);switch(a){case 13:10===t.charCodeAt(r+1)&&r++;case 10:if(r++,n)return r;continue;case 9:case 11:case 12:case 32:r++;continue;case 47:if(i)break;if(47===t.charCodeAt(r+1)){for(r+=2;r127&&_(a)){r++;continue}}return r}}function b(t,r){if(e.Debug.assert(r>=0),0===r||g(t.charCodeAt(r-1))){var n=t.charCodeAt(r);if(r+q=0&&r127&&_(m)){d&&g(m)&&(l=!0),r++;continue}break e}}return d&&(p=i(s,c,u,l,a,p)),p}function E(e,t,r,n){return C(!1,e,t,!1,r,n)}function D(e,t,r,n){return C(!1,e,t,!0,r,n)}function T(e,t,r,n,i){return C(!0,e,t,!1,r,n,i)}function w(e,t,r,n,i){return C(!0,e,t,!0,r,n,i)}function A(e,t,r,n,i,a){return a||(a=[]),a.push({kind:r,pos:e,end:t,hasTrailingNewLine:n}),a}function N(e,t){return T(e,t,A,void 0,void 0)}function P(e,t){return w(e,t,A,void 0,void 0)}function M(e){return U.test(e)?U.exec(e)[0]:void 0}function O(e,t){return e>=65&&e<=90||e>=97&&e<=122||36===e||95===e||e>127&&n(e,t)}function I(e,t){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||36===e||95===e||e>127&&i(e,t)}function F(e,t){if(!O(e.charCodeAt(0),t))return!1;for(var r=1;r=48&&i<=57)n=16*n+i-48;else if(i>=65&&i<=70)n=16*n+i-65+10;else{if(!(i>=97&&i<=102))break;n=16*n+i-97+10}re++,r++}return r=ne){n+=a.substring(i,re),le=!0,u(e.Diagnostics.Unterminated_string_literal);break}var o=a.charCodeAt(re);if(o===r){n+=a.substring(i,re),re++;break}if(92===o&&t)n+=a.substring(i,re),n+=D(),i=re;else{if(g(o)){n+=a.substring(i,re),le=!0,u(e.Diagnostics.Unterminated_string_literal);break}re++}}return n}function E(){var t=96===a.charCodeAt(re);re++;for(var r,n=re,i="";;){if(re>=ne){i+=a.substring(n,re),le=!0,u(e.Diagnostics.Unterminated_template_literal),r=t?13:16;break}var o=a.charCodeAt(re);if(96===o){i+=a.substring(n,re),re++,r=t?13:16;break}if(36===o&&re+1=ne)return u(e.Diagnostics.Unexpected_end_of_text),"";var t=a.charCodeAt(re);switch(re++,t){case 48:return"\0";case 98:return"\b";case 116:return"\t";case 110:return"\n";case 118:return"\v";case 102:return"\f";case 114:return"\r";case 39:return"'";case 34:return'"';case 117:return re=0?String.fromCharCode(r):(u(e.Diagnostics.Hexadecimal_digit_expected),"")}function w(){var t=y(1),r=!1;return t<0?(u(e.Diagnostics.Hexadecimal_digit_expected),r=!0):t>1114111&&(u(e.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),r=!0),re>=ne?(u(e.Diagnostics.Unexpected_end_of_text),r=!0):125===a.charCodeAt(re)?re++:(u(e.Diagnostics.Unterminated_Unicode_escape_sequence),r=!0),r?"":A(t)}function A(t){if(e.Debug.assert(0<=t&&t<=1114111),t<=65535)return String.fromCharCode(t);var r=Math.floor((t-65536)/1024)+55296,n=(t-65536)%1024+56320;return String.fromCharCode(r,n)}function N(){if(re+5=0&&I(n,r)))break;e+=a.substring(t,re),e+=String.fromCharCode(n),re+=6,t=re}}return e+=a.substring(t,re)}function M(){var e=se.length;if(e>=2&&e<=11){var t=se.charCodeAt(0);if(t>=97&&t<=122&&void 0!==(oe=L.get(se)))return oe}return oe=71}function F(t){e.Debug.assert(2===t||8===t,"Expected either base 2 or base 8");for(var r=0,n=0;;){var i=a.charCodeAt(re),o=i-48;if(!m(i)||o>=t)break;r=r*t+o,re++,n++}return 0===n?-1:r}function R(){for(ie=re,ue=!1,ce=!1,le=!1,de=0;;){if(ae=re,re>=ne)return oe=1;var t=a.charCodeAt(re);if(35===t&&0===re&&x(a,re)){if(re=S(a,re),n)continue;return oe=6}switch(t){case 10:case 13:if(ce=!0,n){re++;continue}return 13===t&&re+1=0&&O(f,r)?(re+=6,se=String.fromCharCode(f)+P(),oe=M()):(u(e.Diagnostics.Invalid_character),re++,oe=0);default:if(O(t,r)){for(re++;re=ne){le=!0,u(e.Diagnostics.Unterminated_regular_expression_literal);break}var o=a.charCodeAt(t);if(g(o)){le=!0,u(e.Diagnostics.Unterminated_regular_expression_literal);break}if(n)n=!1;else{if(47===o&&!i){t++;break}91===o?i=!0:92===o?n=!0:93===o&&(i=!1)}t++}for(;t=ne)return oe=1;var e=a.charCodeAt(re);if(60===e)return 47===a.charCodeAt(re+1)?(re+=2,oe=28):(re++,oe=27);if(123===e)return re++,oe=17;for(var t=0;re=ne)return oe=1;ie=re,ae=re;var e=a.charCodeAt(re);switch(e){case 9:case 11:case 12:case 32:for(;re=0),re=t,ie=t,ae=t,oe=0,ce=!1,se=void 0,ue=!1,le=!1}void 0===i&&(i=0);var re,ne,ie,ae,oe,se,ce,ue,le,de;return Q(a,s,c),{getStartPos:function(){return ie},getTextPos:function(){return re},getToken:function(){return oe},getTokenPos:function(){return ae},getTokenText:function(){return a.substring(ae,re)},getTokenValue:function(){return se},hasExtendedUnicodeEscape:function(){return ue},hasPrecedingLineBreak:function(){return ce},isIdentifier:function(){return 71===oe||oe>107},isReservedWord:function(){return oe>=72&&oe<=107},isUnterminated:function(){return le},getNumericLiteralFlags:function(){return de},reScanGreaterToken:B,reScanSlashToken:j,reScanTemplateToken:z,scanJsxIdentifier:q,scanJsxAttributeValue:U,reScanJsxToken:K,scanJsxToken:J,scanJSDocToken:V,scan:R,getText:Y,setText:Q,setScriptTarget:$,setLanguageVariant:ee,setOnError:Z,setTextPos:te,tryScan:X,lookAhead:G,scanRange:W}}e.tokenIsIdentifierOrKeyword=t;var L=e.createMapFromTemplate({abstract:117,any:119,as:118,boolean:122,break:72,case:73,catch:74,class:75,continue:77,const:76,constructor:123,debugger:78,declare:124,default:79,delete:80,do:81,else:82,enum:83,export:84,extends:85,false:86,finally:87,for:88,from:140,function:89,get:125,if:90,implements:108,import:91,in:92,instanceof:93,interface:109,is:126,keyof:127,let:110,module:128,namespace:129,never:130,new:94,null:95,number:133,object:134,package:111,private:112,protected:113,public:114,readonly:131,require:132,global:141,return:96,set:135,static:115,string:136,super:97,switch:98,symbol:137,this:99,throw:100,true:101,try:102,type:138,typeof:103,undefined:139,var:104,void:105,while:106,with:107,yield:116,async:120,await:121,of:142,"{":17,"}":18,"(":19,")":20,"[":21,"]":22,".":23,"...":24,";":25,",":26,"<":27,">":29,"<=":30,">=":31,"==":32,"!=":33,"===":34,"!==":35,"=>":36,"+":37,"-":38,"**":40,"*":39,"/":41,"%":42,"++":43,"--":44,"<<":45,"":28,">>":46,">>>":47,"&":48,"|":49,"^":50,"!":51,"~":52,"&&":53,"||":54,"?":55,":":56,"=":58,"+=":59,"-=":60,"*=":61,"**=":62,"/=":63,"%=":64,"<<=":65,">>=":66,">>>=":67,"&=":68,"|=":69,"^=":70,"@":57}),B=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1569,1594,1600,1610,1649,1747,1749,1749,1765,1766,1786,1788,1808,1808,1810,1836,1920,1957,2309,2361,2365,2365,2384,2384,2392,2401,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2784,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2877,2877,2908,2909,2911,2913,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3294,3294,3296,3297,3333,3340,3342,3344,3346,3368,3370,3385,3424,3425,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3805,3840,3840,3904,3911,3913,3946,3976,3979,4096,4129,4131,4135,4137,4138,4176,4181,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6067,6176,6263,6272,6312,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8319,8319,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12329,12337,12341,12344,12346,12353,12436,12445,12446,12449,12538,12540,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65138,65140,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],j=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,768,846,864,866,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1155,1158,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1425,1441,1443,1465,1467,1469,1471,1471,1473,1474,1476,1476,1488,1514,1520,1522,1569,1594,1600,1621,1632,1641,1648,1747,1749,1756,1759,1768,1770,1773,1776,1788,1808,1836,1840,1866,1920,1968,2305,2307,2309,2361,2364,2381,2384,2388,2392,2403,2406,2415,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2492,2494,2500,2503,2504,2507,2509,2519,2519,2524,2525,2527,2531,2534,2545,2562,2562,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2649,2652,2654,2654,2662,2676,2689,2691,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2784,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2876,2883,2887,2888,2891,2893,2902,2903,2908,2909,2911,2913,2918,2927,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3006,3010,3014,3016,3018,3021,3031,3031,3047,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3134,3140,3142,3144,3146,3149,3157,3158,3168,3169,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3262,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3297,3302,3311,3330,3331,3333,3340,3342,3344,3346,3368,3370,3385,3390,3395,3398,3400,3402,3405,3415,3415,3424,3425,3430,3439,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3805,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3946,3953,3972,3974,3979,3984,3991,3993,4028,4038,4038,4096,4129,4131,4135,4137,4138,4140,4146,4150,4153,4160,4169,4176,4185,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,4969,4977,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6099,6112,6121,6160,6169,6176,6263,6272,6313,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8319,8319,8400,8412,8417,8417,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12335,12337,12341,12344,12346,12353,12436,12441,12442,12445,12446,12449,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65056,65059,65075,65076,65101,65103,65136,65138,65140,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65381,65470,65474,65479,65482,65487,65490,65495,65498,65500],z=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1319,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2208,2208,2210,2220,2308,2361,2365,2365,2384,2384,2392,2401,2417,2423,2425,2431,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3133,3160,3161,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3424,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6263,6272,6312,6314,6314,6320,6389,6400,6428,6480,6509,6512,6516,6528,6571,6593,6599,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7401,7404,7406,7409,7413,7414,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42647,42656,42735,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43648,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],K=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1319,1329,1366,1369,1369,1377,1415,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1520,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2048,2093,2112,2139,2208,2208,2210,2220,2276,2302,2304,2403,2406,2415,2417,2423,2425,2431,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3161,3168,3171,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3330,3331,3333,3340,3342,3344,3346,3386,3389,3396,3398,3400,3402,3406,3415,3415,3424,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6428,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6617,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7376,7378,7380,7414,7424,7654,7676,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8204,8205,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,11823,11823,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12442,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42647,42655,42737,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43047,43072,43123,43136,43204,43216,43225,43232,43255,43259,43259,43264,43309,43312,43347,43360,43388,43392,43456,43471,43481,43520,43574,43584,43597,43600,43609,43616,43638,43642,43643,43648,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65062,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500];e.isUnicodeIdentifierStart=n;var J=function(e){var t=[];return e.forEach(function(e,r){t[e]=r}),t}(L);e.tokenToString=a,e.stringToToken=o,e.computeLineStarts=s,e.getPositionOfLineAndCharacter=c,e.computePositionOfLineAndCharacter=u,e.getLineStarts=l,e.computeLineAndCharacterOfPosition=d,e.getLineAndCharacterOfPosition=f,e.isWhiteSpaceLike=_,e.isWhiteSpaceSingleLine=p,e.isLineBreak=g,e.isOctalDigit=h,e.couldStartTrivia=y,e.skipTrivia=v;var q="<<<<<<<".length,U=/^#!.*/;e.forEachLeadingCommentRange=E,e.forEachTrailingCommentRange=D,e.reduceEachLeadingCommentRange=T,e.reduceEachTrailingCommentRange=w,e.getLeadingCommentRanges=N,e.getTrailingCommentRanges=P,e.getShebang=M,e.isIdentifierStart=O,e.isIdentifierPart=I,e.isIdentifierText=F,e.createScanner=R}(o||(o={}));var o;!function(e){function t(e,t){var r=e.declarations;if(r)for(var n=0,i=r;n=0),e.getLineStarts(r)[t]}function y(t){var r=g(t),n=e.getLineAndCharacterOfPosition(r,t.pos);return r.fileName+"("+(n.line+1)+","+(n.character+1)+")"}function v(e){return e.pos}function b(e){return void 0!==e}function k(t,r){e.Debug.assert(t>=0);var n=e.getLineStarts(r),i=t,a=r.text;if(i+1===n.length)return a.length-1;var o=n[i],s=n[i+1]-1;for(e.Debug.assert(e.isLineBreak(a.charCodeAt(s)));o<=s&&e.isLineBreak(a.charCodeAt(s));)s--;return s}function x(e){return void 0===e||e.pos===e.end&&e.pos>=0&&1!==e.kind}function S(e){return!x(e)}function C(e){return e.kind>=0&&e.kind<=142}function E(t,r,n){return x(t)?t.pos:D(t)?e.skipTrivia((r||g(t)).text,t.pos,!1,!0):n&&t.jsDoc&&t.jsDoc.length>0?E(t.jsDoc[0]):294===t.kind&&t._children.length>0?E(t._children[0],r,n):e.skipTrivia((r||g(t)).text,t.pos)}function D(e){return e.kind>=267&&e.kind<=293}function T(e){return e.kind>=283&&e.kind<=293}function w(t,r){return x(t)||!t.decorators?E(t,r):e.skipTrivia((r||g(t)).text,t.decorators.end)}function A(t,r,n){if(void 0===n&&(n=!1),x(r))return"";var i=t.text;return i.substring(n?r.pos:e.skipTrivia(i,r.pos),r.end)}function N(t,r){return x(r)?"":t.substring(e.skipTrivia(t,r.pos),r.end)}function P(e,t){return void 0===t&&(t=!1),A(g(e),e,t)}function M(t,r){if(!or(t)&&t.parent)return A(r,t);switch(t.kind){case 9:return O('"',t.text,'"');case 13:return O("`",t.text,"`");case 14:return O("`",t.text,"${");case 15:return O("}",t.text,"${");case 16:return O("}",t.text,"`");case 8:return t.text}e.Debug.fail("Literal kind '"+t.kind+"' not accounted for.")}function O(e,t,r){return e+kr(hr(t))+r}function I(e){return e.length>=2&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)?"_"+e:e}function F(t){return e.getBaseFileName(t).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}function R(t){return 0!=(3&e.getCombinedNodeFlags(t))||L(t)}function L(e){var t=ir(e);return 226===t.kind&&260===t.parent.kind}function B(e){return e&&233===e.kind&&(9===e.name.kind||J(e))}function j(e){return z(e.valueDeclaration)}function z(e){return e&&233===e.kind&&!e.body}function K(e){return 265===e.kind||233===e.kind||xe(e)}function J(e){return!!(512&e.flags)}function q(t){if(!t||!B(t))return!1;switch(t.parent.kind){case 265:return e.isExternalModule(t.parent);case 234:return B(t.parent.parent)&&!e.isExternalModule(t.parent.parent.parent)}return!1}function U(t,r){return e.isExternalModule(t)||r.isolatedModules}function V(e,t){switch(e.kind){case 265:case 235:case 260:case 233:case 214:case 215:case 216:case 152:case 151:case 153:case 154:case 228:case 186:case 187:return!0;case 207:return t&&!xe(t)}return!1}function H(e){for(var t=e.parent;t;){if(V(t,t.parent))return t;t=t.parent}}function W(e){return 0===a(e)?"(Missing)":P(e)}function G(e){return e.declaration?W(e.declaration.parameters[0].name):void 0}function X(e){switch(e.kind){case 71:return e.text;case 9:case 8:return e.text;case 144:if(Gt(e.expression))return e.expression.text}}function Y(t){switch(t.kind){case 71:return 0===a(t)?e.unescapeIdentifier(t.text):P(t);case 143:return Y(t.left)+"."+Y(t.right);case 179:return Y(t.expression)+"."+Y(t.name)}}function Q(e,t,r,n,i){return Z(g(e),e,t,r,n,i)}function Z(t,r,n,i,a,o){var s=re(t,r);return e.createFileDiagnostic(t,s.start,s.length,n,i,a,o)}function $(e,t){var r=g(e),n=re(r,e);return{file:r,start:n.start,length:n.length,code:t.code,category:t.category,messageText:t.next?t:t.messageText}}function ee(t,r){var n=e.createScanner(t.languageVersion,!0,t.languageVariant,t.text,void 0,r);n.scan();var i=n.getTokenPos();return e.createTextSpanFromBounds(i,n.getTextPos())}function te(t,r){var n=e.skipTrivia(t.text,r.pos);if(r.body&&207===r.body.kind){var i=e.getLineAndCharacterOfPosition(t,r.body.pos).line;if(i=0;case 183:return!1}}return!1}function pe(e,t){for(;e;){if(e.kind===t)return!0;e=e.parent}return!1}function ge(e){return 192===e.kind}function me(t,r){function n(t){switch(t.kind){case 219:return r(t);case 235:case 207:case 211:case 212:case 213:case 214:case 215:case 216:case 220:case 221:case 257:case 258:case 222:case 224:case 260:return e.forEachChild(t,n)}}return n(t)}function he(t,r){function n(t){switch(t.kind){case 197:r(t);var i=t.expression;return void(i&&n(i));case 232:case 230:case 233:case 231:case 229:case 199:return;default:if(xe(t)){var a=t.name;if(a&&144===a.kind)return void n(a.expression)}else _e(t)||e.forEachChild(t,n)}}return n(t)}function ye(t){return t&&164===t.kind?t.elementType:t&&159===t.kind?e.singleOrUndefined(t.typeArguments):void 0}function ve(e){if(e)switch(e.kind){case 176:case 264:case 146:case 261:case 149:case 148:case 262:case 226:return!0}return!1}function be(e){return e&&(153===e.kind||154===e.kind)}function ke(e){return e&&(229===e.kind||199===e.kind)}function xe(e){return e&&Se(e.kind)}function Se(e){switch(e){case 152:case 186:case 228:case 187:case 151:case 150:case 153:case 154:case 155:case 156:case 157:case 160:case 161:return!0}return!1}function Ce(e){switch(e.kind){case 151:case 150:case 152:case 153:case 154:case 228:case 186:return!0}return!1}function Ee(e,t){switch(e.kind){case 214:case 215:case 216:case 212:case 213:return!0;case 222:return t&&Ee(e.statement,t)}return!1}function De(e,t){for(;;){if(t&&t(e),222!==e.statement.kind)return e.statement;e=e.statement}}function Te(e){return e&&207===e.kind&&xe(e.parent)}function we(e){return e&&151===e.kind&&178===e.parent.kind}function Ae(e){return 151===e.kind&&(178===e.parent.kind||199===e.parent.kind)}function Ne(e){return e&&1===e.kind}function Pe(e){return e&&0===e.kind}function Me(e){for(;;)if(!(e=e.parent)||xe(e))return e}function Oe(e){for(;;)if(!(e=e.parent)||ke(e))return e}function Ie(e,t){for(;;){if(!(e=e.parent))return;switch(e.kind){case 144:if(ke(e.parent.parent))return e;e=e.parent;break;case 147:146===e.parent.kind&&vi(e.parent.parent)?e=e.parent.parent:vi(e.parent)&&(e=e.parent);break;case 187:if(!t)continue;case 228:case 186:case 233:case 149:case 148:case 151:case 150:case 152:case 153:case 154:case 155:case 156:case 157:case 232:case 265:return e}}}function Fe(e){var t=Ie(e,!1);if(t)switch(t.kind){case 152:case 228:case 186:return t}}function Re(e,t){for(;;){if(!(e=e.parent))return e;switch(e.kind){case 144:e=e.parent;break;case 228:case 186:case 187:if(!t)continue;case 149:case 148:case 151:case 150:case 152:case 153:case 154:return e;case 147:146===e.parent.kind&&vi(e.parent.parent)?e=e.parent.parent:vi(e.parent)&&(e=e.parent)}}}function Le(e){if(186===e.kind||187===e.kind){for(var t=e,r=e.parent;185===r.kind;)t=r,r=r.parent;if(181===r.kind&&r.expression===t)return r}}function Be(e){var t=e.kind;return(179===t||180===t)&&97===e.expression.kind}function je(e){switch(e.kind){case 159:case 277:return e.typeName;case 201:return pn(e.expression)?e.expression:void 0;case 71:case 143:return e}}function ze(e){switch(e.kind){case 251:case 250:case 181:case 182:case 183:case 147:return!0;default:return!1}}function Ke(e){return 183===e.kind?e.tag:Ra(e)?e.tagName:e.expression}function Je(e){switch(e.kind){case 229:return!0;case 149:return 229===e.parent.kind;case 153:case 154:case 151:return void 0!==e.body&&229===e.parent.kind;case 146:return void 0!==e.parent.body&&(152===e.parent.kind||151===e.parent.kind||154===e.parent.kind)&&229===e.parent.parent.kind}return!1}function qe(e){return void 0!==e.decorators&&Je(e)}function Ue(e){return qe(e)||Ve(e)}function Ve(t){switch(t.kind){case 229:return e.forEach(t.members,Ue);case 151:case 154:return e.forEach(t.parameters,qe)}}function He(e){var t=e.parent;return(251===t.kind||250===t.kind||252===t.kind)&&t.tagName===e}function We(e){switch(e.kind){case 99:case 97:case 95:case 101:case 86:case 12:case 177:case 178:case 179:case 180:case 181:case 182:case 183:case 202:case 184:case 203:case 185:case 186:case 199:case 187:case 190:case 188:case 189:case 192:case 193:case 194:case 195:case 198:case 196:case 13:case 200:case 249:case 250:case 197:case 191:case 204:return!0;case 143:for(;143===e.parent.kind;)e=e.parent;return 162===e.parent.kind||He(e);case 71:if(162===e.parent.kind||He(e))return!0;case 8:case 9:case 99:var t=e.parent;switch(t.kind){case 226:case 146:case 149:case 148:case 264:case 261:case 176:return t.initializer===e;case 210:case 211:case 212:case 213:case 219:case 220:case 221:case 257:case 223:case 221:return t.expression===e;case 214:var r=t;return r.initializer===e&&227!==r.initializer.kind||r.condition===e||r.incrementor===e;case 215:case 216:var n=t;return n.initializer===e&&227!==n.initializer.kind||n.expression===e;case 184:case 202:case 205:case 144:return e===t.expression;case 147:case 256:case 255:case 263:return!0;case 201:return t.expression===e&&fn(t);default:if(We(t))return!0}}return!1}function Ge(t,r){var n=e.getModuleInstanceState(t);return 1===n||r&&2===n}function Xe(e){return 237===e.kind&&248===e.moduleReference.kind}function Ye(t){return e.Debug.assert(Xe(t)),t.moduleReference.expression}function Qe(e){return 237===e.kind&&248!==e.moduleReference.kind}function Ze(e){return $e(e)}function $e(e){return e&&!!(65536&e.flags)}function et(e,t){if(181!==e.kind)return!1;var r=e,n=r.expression,i=r.arguments;if(71!==n.kind||"require"!==n.text)return!1;if(1!==i.length)return!1;var a=i[0];return!t||9===a.kind||13===a.kind}function tt(e){return 39===e||34===e}function rt(e){if(e.valueDeclaration&&226===e.valueDeclaration.kind){var t=e.valueDeclaration;return t.initializer&&(186===t.initializer.kind||199===t.initializer.kind)}return!1}function nt(e){for(;cn(e,!0);)e=e.right;return e}function it(e){return ai(e)&&"exports"===e.text}function at(e){return Fi(e)&&ai(e.expression)&&"module"===e.expression.text&&"exports"===e.name.text}function ot(e){if(!$e(e))return 0;var t=e;if(58!==t.operatorToken.kind||179!==t.left.kind)return 0;var r=t.left;if(71===r.expression.kind){var n=r.expression;return"exports"===n.text?1:"module"===n.text&&"exports"===r.name.text?2:5}if(99===r.expression.kind)return 4;if(179===r.expression.kind){var i=r.expression;if(71===i.expression.kind){if("module"===i.expression.text&&"exports"===i.name.text)return 1;if("prototype"===i.name.text)return 3}}return 0}function st(e){if(238===e.kind)return e.moduleSpecifier;if(237===e.kind){var t=e.moduleReference;if(248===t.kind)return t.expression}return 244===e.kind?e.moduleSpecifier:233===e.kind&&9===e.name.kind?e.name:void 0}function ct(e){if(237===e.kind)return e;var t=e.importClause;return t&&t.namedBindings&&240===t.namedBindings.kind?t.namedBindings:void 0}function ut(e){return 238===e.kind&&e.importClause&&!!e.importClause.name}function lt(e){if(e)switch(e.kind){case 146:case 151:case 150:case 262:case 261:case 149:case 148:return void 0!==e.questionToken}return!1}function dt(e){return 279===e.kind&&e.parameters.length>0&&281===e.parameters[0].type.kind}function ft(t){return e.map(mt(t),function(e){return e.comment})}function _t(e){var t=pt(e,286);return t&&t.length>0}function pt(t,r){var n=mt(t);if(n){for(var i=[],a=0,o=n;a0?t.types[0]:void 0}function Lt(e){var t=jt(e.heritageClauses,108);return t?t.types:void 0}function Bt(e){var t=jt(e.heritageClauses,85);return t?t.types:void 0}function jt(e,t){if(e)for(var r=0,n=e;r/gim;if(n.test(t)){if(i.test(t))return{isNoDefaultLib:!0};var a=e.fullTripleSlashReferencePathRegEx.exec(t),o=!a&&e.fullTripleSlashReferenceTypeReferenceDirectiveRegEx.exec(t);if(a||o){return{fileReference:{pos:r.pos,end:r.end,fileName:(a||o)[3]},isNoDefaultLib:!1,isTypeReferenceDirective:!!o}}return{diagnosticMessage:e.Diagnostics.Invalid_reference_directive_syntax,isNoDefaultLib:!1}}}function qt(e){return 72<=e&&e<=142}function Ut(e){return 2<=e&&e<=7}function Vt(e){var t=0;switch(e.kind){case 228:case 186:case 151:e.asteriskToken&&(t|=1);case 187:tn(e,256)&&(t|=2)}return e.body||(t|=4),t}function Ht(e){switch(e.kind){case 228:case 186:case 187:case 151:return void 0!==e.body&&void 0===e.asteriskToken&&tn(e,256)}return!1}function Wt(e){return 8===e.kind}function Gt(e){var t=e.kind;return 9===t||8===t}function Xt(e){return e.name&&Yt(e.name)}function Yt(e){return 144===e.kind&&!Gt(e.expression)&&!Qt(e.expression)}function Qt(e){return Fi(e)&&er(e.expression)}function Zt(e){if(71===e.kind||9===e.kind||8===e.kind||146===e.kind)return e.text;if(144===e.kind){var t=e.expression;if(Qt(t)){return $t(t.name.text)}if(9===t.kind||8===t.kind)return t.text}}function $t(e){return"__@"+e}function er(e){return 71===e.kind&&"Symbol"===e.text}function tr(e){return"push"===e.text||"unshift"===e.text}function rr(e){switch(e){case 117:case 120:case 76:case 124:case 79:case 84:case 114:case 112:case 113:case 131:case 115:return!0}return!1}function nr(e){return 146===ir(e).kind}function ir(e){for(;176===e.kind;)e=e.parent.parent;return e}function ar(e){var t=e.kind;return 152===t||186===t||228===t||187===t||151===t||153===t||154===t||233===t||265===t}function or(t){return e.positionIsSynthesized(t.pos)||e.positionIsSynthesized(t.end)}function sr(t){return 266===t.kind?e.updateBundle(t,e.sameMap(t.sourceFiles,cr)):cr(t)}function cr(t){return e.getParseTreeNode(t,qa)||t}function ur(t){return e.sameMap(t,cr)}function lr(t){return t=e.getOriginalNode(t),t?e.getNodeId(t):0}function dr(e){var t=pr(e),r=182===e.kind&&void 0!==e.arguments;return fr(e.kind,t,r)}function fr(e,t,r){switch(e){case 182:return r?0:1;case 192:case 189:case 190:case 188:case 191:case 195:case 197:return 1;case 194:switch(t){case 40:case 58:case 59:case 60:case 62:case 61:case 63:case 64:case 65:case 66:case 67:case 68:case 70:case 69:return 1}}return 0}function _r(e){var t=pr(e),r=182===e.kind&&void 0!==e.arguments;return gr(e.kind,t,r)}function pr(e){return 194===e.kind?e.operatorToken.kind:192===e.kind||193===e.kind?e.operator:e.kind}function gr(e,t,r){switch(e){case 99:case 97:case 71:case 95:case 101:case 86:case 8:case 9:case 177:case 178:case 186:case 187:case 199:case 249:case 250:case 12:case 13:case 196:case 185:case 200:return 19;case 183:case 179:case 180:return 18;case 182:return r?18:17;case 181:return 17;case 193:return 16;case 192:case 189:case 190:case 188:case 191:return 15;case 194:switch(t){case 51:case 52:return 15;case 40:case 39:case 41:case 42:return 14;case 37:case 38:return 13;case 45:case 46:case 47:return 12;case 27:case 30:case 29:case 31:case 92:case 93:return 11;case 32:case 34:case 33:case 35:return 10;case 48:return 9;case 50:return 8;case 49:return 7;case 53:return 6;case 54:return 5;case 58:case 59:case 60:case 62:case 61:case 63:case 64:case 65:case 66:case 67:case 68:case 70:case 69:return 3;case 26:return 0;default:return-1}case 195:return 4;case 197:return 2;case 198:return 1;default:return-1}}function mr(){function t(){return l}function r(t){e.forEach(c.get(t.fileName),function(e){return e.file=t})}function n(e){var t;e.file?(t=c.get(e.file.fileName))||(t=[],c.set(e.file.fileName,t)):t=s,t.push(e),u=!0,l++}function i(){return o(),s}function a(t){function r(e){n.push(e)}if(o(),t)return c.get(t)||[];var n=[];return e.forEach(s,r),c.forEach(function(t){e.forEach(t,r)}),e.sortAndDeduplicateDiagnostics(n)}function o(){u&&(u=!1,s=e.sortAndDeduplicateDiagnostics(s),c.forEach(function(t,r){c.set(r,e.sortAndDeduplicateDiagnostics(t))}))}var s=[],c=e.createMap(),u=!1,l=0;return{add:n,getGlobalDiagnostics:i,getDiagnostics:a,getModificationCount:t,reattachFileDiagnostics:r}}function hr(e){return e.replace(Ha,yr)}function yr(e){return Wa.get(e)||br(e.charCodeAt(0))}function vr(e){var t=e.substr(0,1);return t.toLowerCase()===t}function br(e){return"\\u"+("0000"+e.toString(16).toUpperCase()).slice(-4)}function kr(e){return Ga.test(e)?e.replace(Ga,function(e){return br(e.charCodeAt(0))}):e}function xr(e){return void 0===Xa[e]&&(Xa[e]=xr(e-1)+Xa[1]),Xa[e]}function Sr(){return Xa[1].length}function Cr(t){function r(e){e&&e.length&&(l&&(c+=xr(u),l=!1),c+=e)}function n(){c="",u=0,l=!0,d=0,f=0}function i(e){void 0!==e&&(l&&(l=!1),c+=e)}function a(t){if(t&&t.length){r(t);var n=e.computeLineStarts(t);n.length>1&&(d=d+n.length-1,f=c.length-t.length+e.lastOrUndefined(n))}}function o(){l||(c+=t,d++,f=c.length,l=!0)}function s(e,t){r(N(e,t))}var c,u,l,d,f;return n(),{write:r,rawWrite:i,writeTextOfNode:s,writeLiteral:a,writeLine:o,increaseIndent:function(){u++},decreaseIndent:function(){u--},getIndent:function(){return u},getTextPos:function(){return c.length},getLine:function(){return d+1},getColumn:function(){return l?u*Sr()+1:c.length-f+1},getText:function(){return c},isAtStartOfLine:function(){return l},reset:n}}function Er(e,t){return t.moduleName||Tr(e,t.fileName)}function Dr(e,t,r){var n=t.getExternalModuleFileFromDeclaration(r);if(n&&!ie(n))return Er(e,n)}function Tr(t,r){var n=function(e){return t.getCanonicalFileName(e)},i=e.toPath(t.getCommonSourceDirectory(),t.getCurrentDirectory(),n),a=e.getNormalizedAbsolutePath(r,t.getCurrentDirectory()),o=e.getRelativePathToDirectoryOrUrl(i,a,i,n,!1);return e.removeFileExtension(o)}function wr(t,r,n){var i=r.getCompilerOptions();return(i.outDir?e.removeFileExtension(Fr(t,r,i.outDir)):e.removeFileExtension(t.fileName))+n}function Ar(t,r){var n=r.getCompilerOptions(),i=n.declarationDir||n.outDir,a=i?Fr(t,r,i):t.fileName;return e.removeFileExtension(a)+".d.ts"}function Nr(t,r){var n=t.getCompilerOptions(),i=function(e){return t.isSourceFileFromExternalLibrary(e)};if(n.outFile||n.out){var a=e.getEmitModuleKind(n),o=a===e.ModuleKind.AMD||a===e.ModuleKind.System;return e.filter(t.getSourceFiles(),function(t){return(o||!e.isExternalModule(t))&&Pr(t,n,i)})}var s=void 0===r?t.getSourceFiles():[r];return e.filter(s,function(e){return Pr(e,n,i)})}function Pr(e,t,r){return!(t.noEmitForJsFiles&&Ze(e)||ie(e)||r(e))}function Mr(t,r,n,i){var a=e.isArray(n)?n:Nr(t,n),o=t.getCompilerOptions();if(o.outFile||o.out){if(a.length){var s=o.outFile||o.out,c=Or(s,o),u=o.declaration?e.removeFileExtension(s)+".d.ts":"";r({jsFilePath:s,sourceMapFilePath:c,declarationFilePath:u},e.createBundle(a),i)}}else for(var l=0,d=a;l0){var t=2===e.parameters.length&&Jr(e.parameters[0]);return e.parameters[t?1:0].type}}function Kr(e){if(e.parameters.length){var t=e.parameters[0];if(Jr(t))return t}}function Jr(e){return qr(e.name)}function qr(e){return e&&71===e.kind&&Ur(e)}function Ur(e){return 99===e.originalKeywordKind}function Vr(t,r){var n,i,a,o;return Xt(r)?(n=r,153===r.kind?a=r:154===r.kind?o=r:e.Debug.fail("Accessor has wrong kind")):e.forEach(t,function(e){if((153===e.kind||154===e.kind)&&tn(e,32)===tn(r,32)){Zt(e.name)===Zt(r.name)&&(n?i||(i=e):n=e,153!==e.kind||a||(a=e),154!==e.kind||o||(o=e))}}),{firstAccessor:n,secondAccessor:i,getAccessor:a,setAccessor:o}}function Hr(e,t,r,n){Wr(e,t,r.pos,n)}function Wr(e,t,r,n){n&&n.length&&r!==n[0].pos&&Br(e,r)!==Br(e,n[0].pos)&&t.writeLine()}function Gr(e,t,r,n){r!==n&&Br(e,r)!==Br(e,n)&&t.writeLine()}function Xr(e,t,r,n,i,a,o,s){if(n&&n.length>0){i&&r.write(" ");for(var c=!1,u=0,l=n;u=m+2)break}d.push(g),f=g}if(d.length){var m=Br(r,e.lastOrUndefined(d).end);Br(r,e.skipTrivia(t,a.pos))>=m+2&&(Hr(r,n,a,u),Xr(t,r,n,d,!1,!0,o,i),l={nodePos:a.pos,detachedCommentEndPos:e.lastOrUndefined(d).end})}}return l}function Qr(t,r,n,i,a,o){if(42===t.charCodeAt(i+1))for(var s=e.computeLineAndCharacterOfPosition(r,i),c=r.length,u=void 0,l=i,d=s.line;l0){var g=p%Sr(),m=xr((p-g)/Sr());for(n.rawWrite(m);g;)n.rawWrite(" "),g--}else n.rawWrite("")}Zr(t,a,n,o,l,f),l=f}else n.write(t.substring(i,a))}function Zr(e,t,r,n,i,a){var o=Math.min(t,a-1),s=e.substring(i,o).replace(/^\s+|\s+$/g,"");s?(r.write(s),o!==t&&r.writeLine()):r.writeLiteral(n)}function $r(t,r,n){for(var i=0;r=58&&e<=70}function sn(e){if(201===e.kind&&85===e.parent.token&&ke(e.parent.parent))return e.parent.parent}function cn(e,t){return Bi(e)&&(t?58===e.operatorToken.kind:on(e.operatorToken.kind))&&Vi(e.left)}function un(e){if(cn(e,!0)){var t=e.left.kind;return 178===t||177===t}return!1}function ln(e){return dn(e.expression)}function dn(e){return 71===e.kind||!!Fi(e)&&dn(e.expression)}function fn(e){return void 0!==sn(e)}function _n(e){return 201===e.kind&&pn(e.expression)&&e.parent&&108===e.parent.token&&e.parent.parent&&ke(e.parent.parent)}function pn(e){return 71===e.kind||179===e.kind&&pn(e.expression)}function gn(e){return 143===e.parent.kind&&e.parent.right===e||179===e.parent.kind&&e.parent.name===e}function mn(e){return 178===e.kind&&0===e.properties.length}function hn(e){return 177===e.kind&&0===e.elements.length}function yn(e){return vn(e)?e.valueDeclaration.localSymbol:void 0}function vn(e){return e&&e.valueDeclaration&&tn(e.valueDeclaration,512)}function bn(t){return e.find(e.supportedTypescriptExtensionsForExtractExtension,function(r){return e.fileExtensionIs(t,r)})}function kn(t){for(var r=[],n=t.length,i=0;i>6|192),r.push(63&a|128)):a<65536?(r.push(a>>12|224),r.push(a>>6&63|128),r.push(63&a|128)):a<131072?(r.push(a>>18|240),r.push(a>>12&63|128),r.push(a>>6&63|128),r.push(63&a|128)):e.Debug.assert(!1,"Unexpected code point")}return r}function xn(e){for(var t,r,n,i,a="",o=kn(e),s=0,c=o.length;s>2,r=(3&o[s])<<4|o[s+1]>>4,n=(15&o[s+1])<<2|o[s+2]>>6,i=63&o[s+2],s+1>=c?n=i=64:s+2>=c&&(i=64),a+=Ya.charAt(t)+Ya.charAt(r)+Ya.charAt(n)+Ya.charAt(i),s+=3;return a}function Sn(t){return 0===t.newLine?Qa:1===t.newLine?Za:e.sys?e.sys.newLine:Qa}function Cn(e){return En(e,0)}function En(e,t){if(t<=5){var r=e.kind;if(9===r||8===r||12===r||13===r||71===r||99===r||97===r||101===r||86===r||95===r)return!0;if(179===r)return En(e.expression,t+1);if(180===r)return En(e.expression,t+1)&&En(e.argumentExpression,t+1);if(192===r||193===r)return En(e.operand,t+1);if(194===r)return 40!==e.operatorToken.kind&&En(e.left,t+1)&&En(e.right,t+1);if(195===r)return En(e.condition,t+1)&&En(e.whenTrue,t+1)&&En(e.whenFalse,t+1);if(190===r||189===r||188===r)return En(e.expression,t+1);if(177===r)return 0===e.elements.length;if(178===r)return 0===e.properties.length;if(181===r){if(!En(e.expression,t+1))return!1;for(var n=0,i=e.arguments;n0?Mn(e,e.decorators.end):e}function In(e){return e.modifiers&&e.modifiers.length>0?Mn(e,e.modifiers.end):On(e)}function Fn(e){return e.pos===e.end}function Rn(e){return Fn(e)?e:Pn(e,e.pos)}function Ln(e){return Fn(e)?e:Mn(e,e.end)}function Bn(t,r){return Nn(t,t+e.tokenToString(r).length)}function jn(e,t){return Jn(e,e,t)}function zn(e,t,r){return Un(Vn(e,r),Vn(t,r),r)}function Kn(e,t,r){return Un(e.end,t.end,r)}function Jn(e,t,r){return Un(Vn(e,r),t.end,r)}function qn(e,t,r){return Un(e.end,Vn(t,r),r)}function Un(e,t,r){return e===t||Lr(r,e)===Lr(r,t)}function Vn(t,r){return e.positionIsSynthesized(t.pos)?-1:e.skipTrivia(r.text,t.pos)}function Hn(t){var r=e.getParseTreeNode(t);if(r)switch(r.parent.kind){case 232:case 233:return r===r.parent.name}return!1}function Wn(t){return e.filter(t.declarations,Gn)}function Gn(e){return void 0!==e.initializer}function Xn(e){if(e.symbol)for(var t=0,r=e.symbol.declarations;t0}function ci(e){return rr(e.kind)}function ui(e){return 143===e.kind}function li(e){return 144===e.kind}function di(e){var t=e.kind;return 143===t||71===t}function fi(e){var t=e.kind;return 71===t||9===t||8===t||144===t}function _i(e){var t=e.kind;return 71===t||9===t}function pi(e){var t=e.kind;return 71===t||174===t||175===t}function gi(e){return 145===e.kind}function mi(e){return 146===e.kind}function hi(e){return 147===e.kind}function yi(e){return 151===e.kind}function vi(e){var t=e.kind;return 152===t||149===t||151===t||153===t||154===t||157===t||206===t}function bi(e){var t=e.kind;return 261===t||262===t||263===t||151===t||153===t||154===t||247===t}function ki(e){return e>=158&&e<=173||119===e||133===e||134===e||122===e||136===e||137===e||99===e||105===e||139===e||95===e||130===e||201===e}function xi(e){return ki(e.kind)}function Si(e){return 175===e.kind}function Ci(e){return 174===e.kind}function Ei(e){if(e){var t=e.kind;return 175===t||174===t}return!1}function Di(e){var t=e.kind;return 177===t||178===t}function Ti(e){return 176===e.kind}function wi(e){var t=e.kind;return 176===t||200===t}function Ai(e){switch(e.kind){case 226:case 146:case 176:return!0}return!1}function Ni(e){return Pi(e)||Mi(e)}function Pi(e){switch(e.kind){case 174:case 178:return!0}return!1}function Mi(e){switch(e.kind){case 175:case 177:return!0}return!1}function Oi(e){return 177===e.kind}function Ii(e){return 178===e.kind}function Fi(e){return 179===e.kind}function Ri(e){var t=e.kind;return 179===t||143===t}function Li(e){return 180===e.kind}function Bi(e){return 194===e.kind}function ji(e){return 195===e.kind}function zi(e){return 181===e.kind}function Ki(e){var t=e.kind;return 196===t||13===t}function Ji(e){return 198===e.kind}function qi(e){return 201===e.kind}function Ui(e){return 179===e||180===e||182===e||181===e||249===e||250===e||183===e||177===e||185===e||178===e||199===e||186===e||71===e||12===e||8===e||9===e||13===e||196===e||86===e||95===e||99===e||101===e||97===e||203===e||204===e}function Vi(t){return Ui(e.skipPartiallyEmittedExpressions(t).kind)}function Hi(e){return 192===e||193===e||188===e||189===e||190===e||191===e||184===e||Ui(e)}function Wi(t){return Hi(e.skipPartiallyEmittedExpressions(t).kind)}function Gi(e){return 195===e||197===e||187===e||194===e||198===e||202===e||200===e||Hi(e)}function Xi(t){return Gi(e.skipPartiallyEmittedExpressions(t).kind)}function Yi(e){var t=e.kind;return 184===t||202===t}function Qi(e){return 296===e.kind}function Zi(e){return 295===e.kind}function $i(e){return Zi(e)||Qi(e)}function ea(e){return 200===e.kind}function ta(e){return 205===e.kind}function ra(e){return 207===e.kind}function na(e){return ra(e)||Xi(e)}function ia(e){return ra(e)}function aa(e){return sa(e)||Xi(e)}function oa(e){return 226===e.kind}function sa(e){return 227===e.kind}function ca(e){return 235===e.kind}function ua(e){var t=e.kind;return 234===t||233===t||71===t}function la(e){var t=e.kind;return 234===t||233===t}function da(e){var t=e.kind;return 71===t||233===t}function fa(e){return 237===e.kind}function _a(e){return 239===e.kind}function pa(e){var t=e.kind;return 241===t||240===t}function ga(e){return 242===e.kind}function ma(e){return 245===e.kind}function ha(e){return 246===e.kind}function ya(e){return 233===e.kind||232===e.kind}function va(e){return 187===e||176===e||229===e||199===e||152===e||232===e||264===e||246===e||228===e||186===e||153===e||239===e||237===e||242===e||230===e||253===e||151===e||150===e||233===e||236===e||240===e||146===e||261===e||149===e||148===e||154===e||262===e||231===e||145===e||226===e||290===e}function ba(e){return 228===e||247===e||229===e||230===e||231===e||232===e||233===e||238===e||237===e||244===e||243===e||236===e}function ka(e){return 218===e||217===e||225===e||212===e||210===e||209===e||215===e||216===e||214===e||211===e||222===e||219===e||221===e||223===e||224===e||208===e||213===e||220===e||295===e||298===e||297===e}function xa(e){return va(e.kind)}function Sa(e){return ba(e.kind)}function Ca(e){return ka(e.kind)}function Ea(e){var t=e.kind;return ka(t)||ba(t)||207===t}function Da(e){var t=e.kind;return 248===t||143===t||71===t}function Ta(e){return 251===e.kind}function wa(e){return 252===e.kind}function Aa(e){var t=e.kind;return 99===t||71===t||179===t}function Na(e){var t=e.kind;return 249===t||256===t||250===t||10===t}function Pa(e){return 254===e.kind}function Ma(e){var t=e.kind;return 253===t||255===t}function Oa(e){return 255===e.kind}function Ia(e){return 253===e.kind}function Fa(e){var t=e.kind;return 9===t||256===t}function Ra(e){var t=e.kind;return 251===t||250===t}function La(e){var t=e.kind;return 257===t||258===t}function Ba(e){return 259===e.kind}function ja(e){return 260===e.kind}function za(e){return 261===e.kind}function Ka(e){return 262===e.kind}function Ja(e){return 264===e.kind}function qa(e){return 265===e.kind}function Ua(e){return e.watch&&e.hasOwnProperty("watch")}e.externalHelpersModuleNameText="tslib",e.getDeclarationOfKind=t,e.findDeclaration=r;var Va=[];e.getSingleLineStringWriter=n,e.releaseStringWriter=i,e.getFullWidth=a,e.hasResolvedModule=o,e.getResolvedModule=s,e.setResolvedModule=c,e.setResolvedTypeReferenceDirective=u,e.moduleResolutionIsEqualTo=l,e.typeDirectiveIsEqualTo=d,e.hasChangesInResolutions=f,e.containsParseError=_,e.getSourceFileOfNode=g,e.isStatementWithLocals=m,e.getStartPositionOfLine=h,e.nodePosToString=y,e.getStartPosOfNode=v,e.isDefined=b,e.getEndLinePosition=k,e.nodeIsMissing=x,e.nodeIsPresent=S,e.isToken=C,e.getTokenPosOfNode=E,e.isJSDocNode=D,e.isJSDocTag=T,e.getNonDecoratorTokenPosOfNode=w,e.getSourceTextOfNodeFromSourceFile=A,e.getTextOfNodeFromSourceText=N,e.getTextOfNode=P,e.getLiteralText=M,e.escapeIdentifier=I,e.makeIdentifierFromModuleName=F,e.isBlockOrCatchScoped=R,e.isCatchClauseVariableDeclarationOrBindingElement=L,e.isAmbientModule=B,e.isShorthandAmbientModuleSymbol=j,e.isBlockScopedContainerTopLevel=K,e.isGlobalScopeAugmentation=J,e.isExternalModuleAugmentation=q,e.isEffectiveExternalModule=U,e.isBlockScope=V,e.getEnclosingBlockScopeContainer=H,e.declarationNameToString=W,e.getNameFromIndexInfo=G,e.getTextOfPropertyName=X,e.entityNameToString=Y,e.createDiagnosticForNode=Q,e.createDiagnosticForNodeInSourceFile=Z,e.createDiagnosticForNodeFromMessageChain=$,e.getSpanOfTokenAtPosition=ee,e.getErrorSpanForNode=re,e.isExternalOrCommonJsModule=ne,e.isDeclarationFile=ie,e.isConstEnumDeclaration=ae,e.isConst=oe,e.isLet=se,e.isSuperCall=ce,e.isPrologueDirective=ue,e.getLeadingCommentRangesOfNode=le,e.getLeadingCommentRangesOfNodeFromText=de,e.getJSDocCommentRanges=fe,e.fullTripleSlashReferencePathRegEx=/^(\/\/\/\s* /,e.fullTripleSlashReferenceTypeReferenceDirectiveRegEx=/^(\/\/\/\s* /,e.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s* /,e.isPartOfTypeNode=_e,e.isChildOfNodeWithKind=pe,e.isPrefixUnaryExpression=ge,e.forEachReturnStatement=me,e.forEachYieldExpression=he,e.getRestParameterElementType=ye,e.isVariableLike=ve,e.isAccessor=be,e.isClassLike=ke,e.isFunctionLike=xe,e.isFunctionLikeKind=Se,e.introducesArgumentsExoticObject=Ce,e.isIterationStatement=Ee,e.unwrapInnermostStatementOfLabel=De,e.isFunctionBlock=Te,e.isObjectLiteralMethod=we,e.isObjectLiteralOrClassExpressionMethod=Ae,e.isIdentifierTypePredicate=Ne,e.isThisTypePredicate=Pe,e.getContainingFunction=Me,e.getContainingClass=Oe,e.getThisContainer=Ie,e.getNewTargetContainer=Fe,e.getSuperContainer=Re,e.getImmediatelyInvokedFunctionExpression=Le,e.isSuperProperty=Be,e.getEntityNameFromTypeNode=je,e.isCallLikeExpression=ze,e.getInvokedExpression=Ke,e.nodeCanBeDecorated=Je,e.nodeIsDecorated=qe,e.nodeOrChildIsDecorated=Ue,e.childIsDecorated=Ve,e.isJSXTagName=He,e.isPartOfExpression=We,e.isInstantiatedModule=Ge,e.isExternalModuleImportEqualsDeclaration=Xe,e.getExternalModuleImportEqualsDeclarationExpression=Ye,e.isInternalModuleImportEqualsDeclaration=Qe,e.isSourceFileJavaScript=Ze,e.isInJavaScriptFile=$e,e.isRequireCall=et,e.isSingleOrDoubleQuote=tt,e.isDeclarationOfFunctionOrClassExpression=rt,e.getRightMostAssignedExpression=nt,e.isExportsIdentifier=it,e.isModuleExportsPropertyAccessExpression=at,e.getSpecialPropertyAssignmentKind=ot,e.getExternalModuleName=st,e.getNamespaceDeclarationNode=ct,e.isDefaultImport=ut,e.hasQuestionToken=lt,e.isJSDocConstructSignature=dt,e.getCommentsFromJSDoc=ft,e.hasJSDocParameterTags=_t,e.getJSDocs=mt,e.getJSDocParameterTags=ht,e.getJSDocType=yt,e.getJSDocAugmentsTag=vt,e.getJSDocReturnTag=bt,e.getJSDocTemplateTag=kt,e.hasRestParameter=xt,e.hasDeclaredRestParameter=St,e.isRestParameter=Ct,e.isDeclaredRestParam=Et;!function(e){e[e.None=0]="None",e[e.Definite=1]="Definite",e[e.Compound=2]="Compound"}(e.AssignmentKind||(e.AssignmentKind={})),e.getAssignmentTargetKind=Dt,e.isAssignmentTarget=Tt,e.isDeleteTarget=wt,e.isNodeDescendantOf=At,e.isInAmbientContext=Nt,e.isDeclarationName=Pt,e.isLiteralComputedPropertyDeclarationName=Mt,e.isIdentifierName=Ot,e.isAliasSymbolDeclaration=It,e.exportAssignmentIsAlias=Ft,e.getClassExtendsHeritageClauseElement=Rt,e.getClassImplementsHeritageClauseElements=Lt,e.getInterfaceBaseTypeNodes=Bt,e.getHeritageClause=jt,e.tryResolveScriptReference=zt,e.getAncestor=Kt,e.getFileReferenceFromReferencePath=Jt,e.isKeyword=qt,e.isTrivia=Ut;!function(e){e[e.Normal=0]="Normal",e[e.Generator=1]="Generator",e[e.Async=2]="Async",e[e.AsyncOrAsyncGenerator=3]="AsyncOrAsyncGenerator",e[e.Invalid=4]="Invalid",e[e.InvalidAsyncOrAsyncGenerator=7]="InvalidAsyncOrAsyncGenerator",e[e.InvalidGenerator=5]="InvalidGenerator"}(e.FunctionFlags||(e.FunctionFlags={})),e.getFunctionFlags=Vt,e.isAsyncFunction=Ht,e.isNumericLiteral=Wt,e.isStringOrNumericLiteral=Gt,e.hasDynamicName=Xt,e.isDynamicName=Yt,e.isWellKnownSymbolSyntactically=Qt,e.getPropertyNameForPropertyNameNode=Zt,e.getPropertyNameForKnownSymbolName=$t,e.isESSymbolIdentifier=er,e.isPushOrUnshiftIdentifier=tr,e.isModifierKind=rr,e.isParameterDeclaration=nr,e.getRootDeclaration=ir,e.nodeStartsNewLexicalEnvironment=ar,e.nodeIsSynthesized=or,e.getOriginalSourceFileOrBundle=sr,e.getOriginalSourceFiles=ur,e.getOriginalNodeId=lr;!function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(e.Associativity||(e.Associativity={})),e.getExpressionAssociativity=dr,e.getOperatorAssociativity=fr,e.getExpressionPrecedence=_r,e.getOperator=pr,e.getOperatorPrecedence=gr,e.createDiagnosticCollection=mr;var Ha=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,Wa=e.createMapFromTemplate({"\0":"\\0","\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"\u2028":"\\u2028","\u2029":"\\u2029","
":"\\u0085"});e.escapeString=hr,e.isIntrinsicJsxName=vr;var Ga=/[^\u0000-\u007F]/g;e.escapeNonAsciiCharacters=kr;var Xa=[""," "];e.getIndentString=xr,e.getIndentSize=Sr,e.createTextWriter=Cr,e.getResolvedExternalModuleName=Er,e.getExternalModuleNameFromDeclaration=Dr,e.getExternalModuleNameFromPath=Tr,e.getOwnEmitOutputFilePath=wr,e.getDeclarationEmitOutputFilePath=Ar,e.getSourceFilesToEmit=Nr,e.sourceFileMayBeEmitted=Pr,e.forEachEmittedFile=Mr,e.getSourceFilePathInNewDir=Fr,e.writeFile=Rr,e.getLineOfLocalPosition=Lr,e.getLineOfLocalPositionFromLineMap=Br,e.getFirstConstructorWithBody=jr,e.getSetAccessorTypeAnnotationNode=zr,e.getThisParameter=Kr,e.parameterIsThisKeyword=Jr,e.isThisIdentifier=qr,e.identifierIsThisKeyword=Ur,e.getAllAccessorDeclarations=Vr,e.emitNewLineBeforeLeadingComments=Hr,e.emitNewLineBeforeLeadingCommentsOfPosition=Wr,e.emitNewLineBeforeLeadingCommentOfPosition=Gr,e.emitComments=Xr,e.emitDetachedComments=Yr,e.writeCommentRange=Qr,e.hasModifiers=en,e.hasModifier=tn,e.getModifierFlags=rn,e.modifierToFlag=nn,e.isLogicalOperator=an,e.isAssignmentOperator=on,e.tryGetClassExtendingExpressionWithTypeArguments=sn,e.isAssignmentExpression=cn,e.isDestructuringAssignment=un,e.isSupportedExpressionWithTypeArguments=ln,e.isExpressionWithTypeArgumentsInClassExtendsClause=fn,e.isExpressionWithTypeArgumentsInClassImplementsClause=_n,e.isEntityNameExpression=pn,e.isRightSideOfQualifiedNameOrPropertyAccess=gn,e.isEmptyObjectLiteral=mn,e.isEmptyArrayLiteral=hn,e.getLocalSymbolForExportDefault=yn,e.tryExtractTypeScriptExtension=bn;var Ya="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";e.convertToBase64=xn;var Qa="\r\n",Za="\n";e.getNewLineCharacter=Sn,e.isSimpleExpression=Cn;var $a=[];e.formatSyntaxKind=Dn,e.getRangePos=Tn,e.getRangeEnd=wn,e.movePos=An,e.createRange=Nn,e.moveRangeEnd=Pn,e.moveRangePos=Mn,e.moveRangePastDecorators=On,e.moveRangePastModifiers=In,e.isCollapsedRange=Fn,e.collapseRangeToStart=Rn,e.collapseRangeToEnd=Ln,e.createTokenRange=Bn,e.rangeIsOnSingleLine=jn,e.rangeStartPositionsAreOnSameLine=zn,e.rangeEndPositionsAreOnSameLine=Kn,e.rangeStartIsOnSameLineAsRangeEnd=Jn,e.rangeEndIsOnSameLineAsRangeStart=qn,e.positionsAreOnSameLine=Un,e.getStartPositionOfRange=Vn,e.isDeclarationNameOfEnumOrNamespace=Hn,e.getInitializedVariables=Wn,e.isMergedWithClass=Xn,e.isFirstDeclarationOfKind=Yn,e.isNodeArray=Qn,e.isNoSubstitutionTemplateLiteral=Zn,e.isLiteralKind=$n,e.isTextualLiteralKind=ei,e.isLiteralExpression=ti,e.isTemplateLiteralKind=ri,e.isTemplateHead=ni,e.isTemplateMiddleOrTemplateTail=ii,e.isIdentifier=ai,e.isVoidExpression=oi,e.isGeneratedIdentifier=si,e.isModifier=ci,e.isQualifiedName=ui,e.isComputedPropertyName=li,e.isEntityName=di,e.isPropertyName=fi,e.isModuleName=_i,e.isBindingName=pi,e.isTypeParameter=gi,e.isParameter=mi,e.isDecorator=hi,e.isMethodDeclaration=yi,e.isClassElement=vi,e.isObjectLiteralElementLike=bi,e.isTypeNode=xi,e.isArrayBindingPattern=Si,e.isObjectBindingPattern=Ci,e.isBindingPattern=Ei,e.isAssignmentPattern=Di,e.isBindingElement=Ti,e.isArrayBindingElement=wi,e.isDeclarationBindingElement=Ai,e.isBindingOrAssignmentPattern=Ni,e.isObjectBindingOrAssignmentPattern=Pi,e.isArrayBindingOrAssignmentPattern=Mi,e.isArrayLiteralExpression=Oi,e.isObjectLiteralExpression=Ii,e.isPropertyAccessExpression=Fi,e.isPropertyAccessOrQualifiedName=Ri,e.isElementAccessExpression=Li,e.isBinaryExpression=Bi,e.isConditionalExpression=ji,e.isCallExpression=zi,e.isTemplateLiteral=Ki,e.isSpreadExpression=Ji,e.isExpressionWithTypeArguments=qi,e.isLeftHandSideExpression=Vi,e.isUnaryExpression=Wi,e.isExpression=Xi,e.isAssertionExpression=Yi,e.isPartiallyEmittedExpression=Qi,e.isNotEmittedStatement=Zi,e.isNotEmittedOrPartiallyEmittedNode=$i,e.isOmittedExpression=ea,e.isTemplateSpan=ta,e.isBlock=ra,e.isConciseBody=na,e.isFunctionBody=ia,e.isForInitializer=aa,e.isVariableDeclaration=oa,e.isVariableDeclarationList=sa,e.isCaseBlock=ca,e.isModuleBody=ua,e.isNamespaceBody=la,e.isJSDocNamespaceBody=da,e.isImportEqualsDeclaration=fa,e.isImportClause=_a,e.isNamedImportBindings=pa,e.isImportSpecifier=ga,e.isNamedExports=ma,e.isExportSpecifier=ha,e.isModuleOrEnumDeclaration=ya,e.isDeclaration=xa,e.isDeclarationStatement=Sa,e.isStatementButNotDeclaration=Ca,e.isStatement=Ea,e.isModuleReference=Da,e.isJsxOpeningElement=Ta,e.isJsxClosingElement=wa,e.isJsxTagNameExpression=Aa,e.isJsxChild=Na,e.isJsxAttributes=Pa,e.isJsxAttributeLike=Ma,e.isJsxSpreadAttribute=Oa,e.isJsxAttribute=Ia,e.isStringLiteralOrJsxExpression=Fa,e.isJsxOpeningLikeElement=Ra,e.isCaseOrDefaultClause=La,e.isHeritageClause=Ba,e.isCatchClause=ja,e.isPropertyAssignment=za,e.isShorthandPropertyAssignment=Ka,e.isEnumMember=Ja,e.isSourceFile=qa,e.isWatchSet=Ua}(o||(o={})),function(e){function t(e){switch(e.target){case 5:return"lib.esnext.full.d.ts";case 4:return"lib.es2017.full.d.ts";case 3:return"lib.es2016.full.d.ts";case 2:return"lib.es6.d.ts";default:return"lib.d.ts"}}function r(e){return e.start+e.length}function n(e){return 0===e.length}function i(e,t){return t>=e.start&&t=e.start&&r(t)<=r(e)}function o(e,t){return Math.max(e.start,t.start)=e.start}function u(e,t,n){var i=t+n;return t<=r(e)&&i>=e.start}function l(e,t,r,n){var i=e+t,a=r+n;return r<=i&&a>=e}function d(e,t){return t<=r(e)&&t>=e.start}function f(e,t){var n=Math.max(e.start,t.start),i=Math.min(r(e),r(t));if(n<=i)return p(n,i)}function _(e,t){if(e<0)throw new Error("start < 0");if(t<0)throw new Error("length < 0");return{start:e,length:t}}function p(e,t){return _(e,t-e)}function g(e){return _(e.span.start,e.newLength)}function m(e){return n(e.span)&&0===e.newLength}function h(e,t){if(t<0)throw new Error("newLength < 0");return{span:e,newLength:t}}function y(t){if(0===t.length)return e.unchangedTextChangeRange;if(1===t.length)return t[0];for(var n=t[0],i=n.span.start,a=r(n.span),o=i+n.newLength,s=1;s=3&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&95===e.charCodeAt(2)?e.substr(1):e}e.getDefaultLibFileName=t,e.textSpanEnd=r,e.textSpanIsEmpty=n,e.textSpanContainsPosition=i,e.textSpanContainsTextSpan=a,e.textSpanOverlapsWith=o,e.textSpanOverlap=s,e.textSpanIntersectsWithTextSpan=c,e.textSpanIntersectsWith=u,e.decodedTextSpanIntersectsWith=l,e.textSpanIntersectsWithPosition=d,e.textSpanIntersection=f,e.createTextSpan=_,e.createTextSpanFromBounds=p,e.textChangeRangeNewSpan=g,e.textChangeRangeIsUnchanged=m,e.createTextChangeRange=h,e.unchangedTextChangeRange=h(_(0,0),0),e.collapseTextChangeRangesAcrossMultipleVersions=y,e.getTypeParameterOwner=v,e.isParameterPropertyDeclaration=b,e.getCombinedModifierFlags=x,e.getCombinedNodeFlags=S,e.validateLocaleAndSetLanguage=C,e.getOriginalNode=E,e.isParseTreeNode=D,e.getParseTreeNode=T,e.unescapeIdentifier=w}(o||(o={}));var o;!function(e){function t(t){var r=e.createNode(t,-1,-1);return r.flags|=8,r}function r(t,r){return t!==r&&(Ai(t,r),oi(t,r),r.startsOnNewLine&&(t.startsOnNewLine=!0),e.aggregateTransformFlags(t)),t}function n(t,r){if(t){if(e.isNodeArray(t))return t}else t=[];var n=t;return n.pos=-1,n.end=-1,n.hasTrailingComma=r,n}function i(e){var r=t(e.kind);r.flags|=e.flags,Ai(r,e);for(var n in e)!r.hasOwnProperty(n)&&e.hasOwnProperty(n)&&(r[n]=e[n]);return r}function a(e){return"number"==typeof e?o(e+""):"boolean"==typeof e?e?y():v():"string"==typeof e?s(e):c(e)}function o(e){var r=t(8);return r.text=e,r.numericLiteralFlags=0,r}function s(e){var r=t(9);return r.text=e,r}function c(e){var t=s(e.text);return t.textSourceNode=e,t}function u(r){var n=t(71);return n.text=e.escapeIdentifier(r),n.originalKeywordKind=r?e.stringToToken(r):0,n.autoGenerateKind=0,n.autoGenerateId=0,n}function l(e){var t=u("");return t.autoGenerateKind=1,t.autoGenerateId=Mi,Mi++,e&&e(t),t}function d(){var e=u("");return e.autoGenerateKind=2,e.autoGenerateId=Mi,Mi++,e}function f(e){var t=u(e);return t.autoGenerateKind=3,t.autoGenerateId=Mi,Mi++,t}function _(e){var t=u("");return t.autoGenerateKind=4,t.autoGenerateId=Mi,t.original=e,Mi++,t}function p(e){return t(e)}function g(){return t(97)}function m(){return t(99)}function h(){return t(95)}function y(){return t(101)}function v(){return t(86)}function b(e,r){var n=t(143);return n.left=e,n.right=ei(r),n}function k(e,t,n){return e.left!==t||e.right!==n?r(b(t,n),e):e}function x(e){var r=t(144);return r.expression=e,r}function S(e,t){return e.expression!==t?r(x(t),e):e}function C(e,r,n,i){var a=t(e);return a.typeParameters=ri(r),a.parameters=ri(n),a.type=i,a}function E(e,t,n,i){return e.typeParameters!==t||e.parameters!==n||e.type!==i?r(C(e.kind,t,n,i),e):e}function D(e,t,r){return C(160,e,t,r)}function T(e,t,r,n){return E(e,t,r,n)}function w(e,t,r){return C(161,e,t,r)}function A(e,t,r,n){return E(e,t,r,n)}function N(e,t,r){return C(155,e,t,r)}function P(e,t,r,n){return E(e,t,r,n)}function M(e,t,r){return C(156,e,t,r)}function O(e,t,r,n){return E(e,t,r,n)}function I(e,t,r,n,i){var a=C(150,e,t,r);return a.name=ei(n),a.questionToken=i,a}function F(e,t,n,i,a,o){return e.typeParameters!==t||e.parameters!==n||e.type!==i||e.name!==a||e.questionToken!==o?r(I(t,n,i,a,o),e):e}function R(e){return t(e)}function L(){return t(169)}function B(e){var r=t(173);return r.literal=e,r}function j(e,t){return e.literal!==t?r(B(t),e):e}function z(e,r){var n=t(159);return n.typeName=ei(e),n.typeArguments=ri(r),n}function K(e,t,n){return e.typeName!==t||e.typeArguments!==n?r(z(t,n),e):e}function J(e,r){var n=t(158);return n.parameterName=ei(e),n.type=r,n}function q(e,t,n){return e.parameterName!==t||e.type!==n?r(J(t,n),e):e}function U(e){var r=t(162);return r.exprName=e,r}function V(e,t){return e.exprName!==t?r(U(t),e):e}function H(e){var r=t(164);return r.elementType=e,r}function W(e,t){return e.elementType!==t?r(H(t),e):e}function G(e,r){var i=t(e);return i.types=n(r),i}function X(e,t){return e.types!==t?r(G(e.kind,t),e):e}function Y(e){var r=t(163);return r.members=n(e),r}function Q(e,t){return e.members!==t?r(Y(t),e):e}function Z(e){var r=t(165);return r.elementTypes=n(e),r}function $(e,t){return e.elementTypes!==t?r(Z(t),e):e}function ee(e,r,n,i){var a=t(172);return a.readonlyToken=e,a.typeParameter=r,a.questionToken=n,a.type=i,a}function te(e,t,n,i,a){return e.readonlyToken!==t||e.typeParameter!==n||e.questionToken!==i||e.type!==a?r(ee(t,n,i,a),e):e}function re(e){var r=t(170);return r.operator=127,r.type=e,r}function ne(e,t){return e.type!==t?r(re(t),e):e}function ie(e,r){var n=t(171);return n.objectType=e,n.indexType=r,n}function ae(e,t,n){return e.objectType!==t||e.indexType!==n?r(ie(t,n),e):e}function oe(e,r,n){var i=t(145);return i.name=ei(e),i.constraint=r,i.default=n,i}function se(e,t,n,i){return e.name!==t||e.constraint!==n||e.default!==i?r(oe(t,n,i),e):e}function ce(e,r,n,i){var a=t(148);return a.name=ei(e),a.questionToken=r,a.type=n,a.initializer=i,a}function ue(e,t,n,i,a){return e.name!==t||e.questionToken!==n||e.type!==i||e.initializer!==a?r(ce(t,n,i,a),e):e}function le(e,r,i,a){var o=t(157);return o.decorators=ri(e),o.modifiers=ri(r),o.parameters=n(i),o.type=a,o}function de(e,t,n,i,a){return e.parameters!==i||e.type!==a||e.decorators!==t||e.modifiers!==n?r(le(t,n,i,a),e):e}function fe(r,n,i,a,o,s,c){var u=t(146);return u.decorators=ri(r),u.modifiers=ri(n),u.dotDotDotToken=i,u.name=ei(a),u.questionToken=o,u.type=s,u.initializer=c?e.parenthesizeExpressionForList(c):void 0,u}function _e(e,t,n,i,a,o,s,c){return e.decorators!==t||e.modifiers!==n||e.dotDotDotToken!==i||e.name!==a||e.questionToken!==o||e.type!==s||e.initializer!==c?r(fe(t,n,i,a,e.questionToken,s,c),e):e}function pe(r){var n=t(147);return n.expression=e.parenthesizeForAccess(r),n}function ge(e,t){return e.expression!==t?r(pe(t),e):e}function me(e,r,n,i,a,o){var s=t(149);return s.decorators=ri(e),s.modifiers=ri(r),s.name=ei(n),s.questionToken=i,s.type=a,s.initializer=o,s}function he(e,t,n,i,a,o){return e.decorators!==t||e.modifiers!==n||e.name!==i||e.type!==a||e.initializer!==o?r(me(t,n,i,e.questionToken,a,o),e):e}function ye(e,r,i,a,o,s,c,u,l){var d=t(151);return d.decorators=ri(e),d.modifiers=ri(r),d.asteriskToken=i,d.name=ei(a),d.questionToken=o,d.typeParameters=ri(s),d.parameters=n(c),d.type=u,d.body=l,d}function ve(e,t,n,i,a,o,s,c,u,l){return e.decorators!==t||e.modifiers!==n||e.asteriskToken!==i||e.name!==a||e.typeParameters!==s||e.parameters!==c||e.type!==u||e.body!==l?r(ye(t,n,i,a,o,s,c,u,l),e):e}function be(e,r,i,a){var o=t(152);return o.decorators=ri(e),o.modifiers=ri(r),o.typeParameters=void 0,o.parameters=n(i),o.type=void 0,o.body=a,o}function ke(e,t,n,i,a){return e.decorators!==t||e.modifiers!==n||e.parameters!==i||e.body!==a?r(be(t,n,i,a),e):e}function xe(e,r,i,a,o,s){var c=t(153);return c.decorators=ri(e),c.modifiers=ri(r),c.name=ei(i),c.typeParameters=void 0,c.parameters=n(a),c.type=o,c.body=s,c}function Se(e,t,n,i,a,o,s){return e.decorators!==t||e.modifiers!==n||e.name!==i||e.parameters!==a||e.type!==o||e.body!==s?r(xe(t,n,i,a,o,s),e):e}function Ce(e,r,i,a,o){var s=t(154);return s.decorators=ri(e),s.modifiers=ri(r),s.name=ei(i),s.typeParameters=void 0,s.parameters=n(a),s.body=o,s}function Ee(e,t,n,i,a,o){return e.decorators!==t||e.modifiers!==n||e.name!==i||e.parameters!==a||e.body!==o?r(Ce(t,n,i,a,o),e):e}function De(e){var r=t(174);return r.elements=n(e),r}function Te(e,t){return e.elements!==t?r(De(t),e):e}function we(e){var r=t(175);return r.elements=n(e),r}function Ae(e,t){return e.elements!==t?r(we(t),e):e}function Ne(e,r,n,i){var a=t(176);return a.dotDotDotToken=e,a.propertyName=ei(r),a.name=ei(n),a.initializer=i,a}function Pe(e,t,n,i,a){return e.propertyName!==n||e.dotDotDotToken!==t||e.name!==i||e.initializer!==a?r(Ne(t,n,i,a),e):e}function Me(r,i){var a=t(177);return a.elements=e.parenthesizeListElements(n(r)),i&&(a.multiLine=!0),a}function Oe(e,t){return e.elements!==t?r(Me(t,e.multiLine),e):e}function Ie(e,r){var i=t(178);return i.properties=n(e),r&&(i.multiLine=!0),i}function Fe(e,t){return e.properties!==t?r(Ie(t,e.multiLine),e):e}function Re(r,n){var i=t(179);return i.expression=e.parenthesizeForAccess(r),i.name=ei(n),ci(i,65536),i}function Le(e,t,n){return e.expression!==t||e.name!==n?r(ci(Re(t,n),si(e)),e):e}function Be(r,n){var i=t(180);return i.expression=e.parenthesizeForAccess(r),i.argumentExpression=ti(n),i}function je(e,t,n){return e.expression!==t||e.argumentExpression!==n?r(Be(t,n),e):e}function ze(r,i,a){var o=t(181);return o.expression=e.parenthesizeForAccess(r),o.typeArguments=ri(i),o.arguments=e.parenthesizeListElements(n(a)),o}function Ke(e,t,n,i){return t!==e.expression||n!==e.typeArguments||i!==e.arguments?r(ze(t,n,i),e):e}function Je(r,i,a){var o=t(182);return o.expression=e.parenthesizeForNew(r),o.typeArguments=ri(i),o.arguments=a?e.parenthesizeListElements(n(a)):void 0,o}function qe(e,t,n,i){return e.expression!==t||e.typeArguments!==n||e.arguments!==i?r(Je(t,n,i),e):e}function Ue(r,n){var i=t(183);return i.tag=e.parenthesizeForAccess(r),i.template=n,i}function Ve(e,t,n){return e.tag!==t||e.template!==n?r(Ue(t,n),e):e}function He(r,n){var i=t(184);return i.type=r,i.expression=e.parenthesizePrefixOperand(n),i}function We(e,t,n){return e.type!==t||e.expression!==n?r(He(t,n),e):e}function Ge(e){var r=t(185);return r.expression=e,r}function Xe(e,t){return e.expression!==t?r(Ge(t),e):e}function Ye(e,r,i,a,o,s,c){var u=t(186);return u.modifiers=ri(e),u.asteriskToken=r,u.name=ei(i),u.typeParameters=ri(a),u.parameters=n(o),u.type=s,u.body=c,u}function Qe(e,t,n,i,a,o,s,c){return e.name!==i||e.modifiers!==t||e.asteriskToken!==n||e.typeParameters!==a||e.parameters!==o||e.type!==s||e.body!==c?r(Ye(t,n,i,a,o,s,c),e):e}function Ze(r,i,a,o,s,c){var u=t(187);return u.modifiers=ri(r),u.typeParameters=ri(i),u.parameters=n(a),u.type=o,u.equalsGreaterThanToken=s||p(36),u.body=e.parenthesizeConciseBody(c),u}function $e(e,t,n,i,a,o){return e.modifiers!==t||e.typeParameters!==n||e.parameters!==i||e.type!==a||e.body!==o?r(Ze(t,n,i,a,e.equalsGreaterThanToken,o),e):e}function et(r){var n=t(188);return n.expression=e.parenthesizePrefixOperand(r),n}function tt(e,t){return e.expression!==t?r(et(t),e):e}function rt(r){var n=t(189);return n.expression=e.parenthesizePrefixOperand(r),n}function nt(e,t){return e.expression!==t?r(rt(t),e):e}function it(r){var n=t(190);return n.expression=e.parenthesizePrefixOperand(r),n}function at(e,t){return e.expression!==t?r(it(t),e):e}function ot(r){var n=t(191);return n.expression=e.parenthesizePrefixOperand(r),n}function st(e,t){return e.expression!==t?r(ot(t),e):e}function ct(r,n){var i=t(192);return i.operator=r,i.operand=e.parenthesizePrefixOperand(n),i}function ut(e,t){return e.operand!==t?r(ct(e.operator,t),e):e}function lt(r,n){var i=t(193);return i.operand=e.parenthesizePostfixOperand(r),i.operator=n,i}function dt(e,t){return e.operand!==t?r(lt(t,e.operator),e):e}function ft(r,n,i){var a=t(194),o=ni(n),s=o.kind;return a.left=e.parenthesizeBinaryOperand(s,r,!0,void 0),a.operatorToken=o,a.right=e.parenthesizeBinaryOperand(s,i,!1,a.left),a}function _t(e,t,n){return e.left!==t||e.right!==n?r(ft(t,e.operatorToken,n),e):e}function pt(r,n,i,a,o){var s=t(195);return s.condition=e.parenthesizeForConditionalHead(r),s.questionToken=o?n:p(55),s.whenTrue=e.parenthesizeSubexpressionOfConditionalExpression(o?i:n),s.colonToken=o?a:p(56),s.whenFalse=e.parenthesizeSubexpressionOfConditionalExpression(o||i),s}function gt(e,t,n,i){return e.condition!==t||e.whenTrue!==n||e.whenFalse!==i?r(pt(t,e.questionToken,n,e.colonToken,i),e):e}function mt(e,r){var i=t(196);return i.head=e,i.templateSpans=n(r),i}function ht(e,t,n){return e.head!==t||e.templateSpans!==n?r(mt(t,n),e):e}function yt(e,r){var n=t(197);return n.asteriskToken=e&&39===e.kind?e:void 0,n.expression=e&&39!==e.kind?e:r,n}function vt(e,t,n){return e.expression!==n||e.asteriskToken!==t?r(yt(t,n),e):e}function bt(r){var n=t(198);return n.expression=e.parenthesizeExpressionForList(r),n}function kt(e,t){return e.expression!==t?r(bt(t),e):e}function xt(e,r,i,a,o){var s=t(199);return s.decorators=void 0,s.modifiers=ri(e),s.name=ei(r),s.typeParameters=ri(i),s.heritageClauses=ri(a),s.members=n(o),s}function St(e,t,n,i,a,o){return e.modifiers!==t||e.name!==n||e.typeParameters!==i||e.heritageClauses!==a||e.members!==o?r(xt(t,n,i,a,o),e):e}function Ct(){return t(200)}function Et(r,n){var i=t(201);return i.expression=e.parenthesizeForAccess(n),i.typeArguments=ri(r),i}function Dt(e,t,n){return e.typeArguments!==t||e.expression!==n?r(Et(t,n),e):e}function Tt(e,r){var n=t(202);return n.expression=e,n.type=r,n}function wt(e,t,n){return e.expression!==t||e.type!==n?r(Tt(t,n),e):e}function At(r){var n=t(203);return n.expression=e.parenthesizeForAccess(r),n}function Nt(e,t){return e.expression!==t?r(At(t),e):e}function Pt(e,r){var n=t(205);return n.expression=e,n.literal=r,n}function Mt(e,t,n){return e.expression!==t||e.literal!==n?r(Pt(t,n),e):e}function Ot(e,r){var i=t(207);return i.statements=n(e),r&&(i.multiLine=r),i}function It(e,t){return t!==e.statements?r(Ot(t,e.multiLine),e):e}function Ft(r,n){var i=t(208);return i.decorators=void 0,i.modifiers=ri(r),i.declarationList=e.isArray(n)?Lt(n):n,i}function Rt(e,t,n){return e.modifiers!==t||e.declarationList!==n?r(Ft(t,n),e):e}function Lt(e,r){var i=t(227);return i.flags|=r,i.declarations=n(e),i}function Bt(e,t){return e.declarations!==t?r(Lt(t,e.flags),e):e}function jt(r,n,i){var a=t(226);return a.name=ei(r),a.type=n,a.initializer=void 0!==i?e.parenthesizeExpressionForList(i):void 0,a}function zt(e,t,n,i){return e.name!==t||e.type!==n||e.initializer!==i?r(jt(t,n,i),e):e}function Kt(){return t(209)}function Jt(r){var n=t(210);return n.expression=e.parenthesizeExpressionForExpressionStatement(r),n}function qt(e,t){return e.expression!==t?r(Jt(t),e):e}function Ut(e,r,n){var i=t(211);return i.expression=e,i.thenStatement=r,i.elseStatement=n,i}function Vt(e,t,n,i){return e.expression!==t||e.thenStatement!==n||e.elseStatement!==i?r(Ut(t,n,i),e):e}function Ht(e,r){var n=t(212);return n.statement=e,n.expression=r,n}function Wt(e,t,n){return e.statement!==t||e.expression!==n?r(Ht(t,n),e):e}function Gt(e,r){var n=t(213);return n.expression=e,n.statement=r,n}function Xt(e,t,n){return e.expression!==t||e.statement!==n?r(Gt(t,n),e):e}function Yt(e,r,n,i){var a=t(214);return a.initializer=e,a.condition=r,a.incrementor=n,a.statement=i,a}function Qt(e,t,n,i,a){return e.initializer!==t||e.condition!==n||e.incrementor!==i||e.statement!==a?r(Yt(t,n,i,a),e):e}function Zt(e,r,n){var i=t(215);return i.initializer=e,i.expression=r,i.statement=n,i}function $t(e,t,n,i){return e.initializer!==t||e.expression!==n||e.statement!==i?r(Zt(t,n,i),e):e}function er(e,r,n,i){var a=t(216);return a.awaitModifier=e,a.initializer=r,a.expression=n,a.statement=i,a}function tr(e,t,n,i,a){return e.awaitModifier!==t||e.initializer!==n||e.expression!==i||e.statement!==a?r(er(t,n,i,a),e):e}function rr(e){var r=t(217);return r.label=ei(e),r}function nr(e,t){return e.label!==t?r(rr(t),e):e}function ir(e){var r=t(218);return r.label=ei(e),r}function ar(e,t){return e.label!==t?r(ir(t),e):e}function or(e){var r=t(219);return r.expression=e,r}function sr(e,t){return e.expression!==t?r(or(t),e):e}function cr(e,r){var n=t(220);return n.expression=e,n.statement=r,n}function ur(e,t,n){return e.expression!==t||e.statement!==n?r(cr(t,n),e):e}function lr(r,n){var i=t(221);return i.expression=e.parenthesizeExpressionForList(r),i.caseBlock=n,i}function dr(e,t,n){return e.expression!==t||e.caseBlock!==n?r(lr(t,n),e):e}function fr(e,r){var n=t(222);return n.label=ei(e),n.statement=r,n}function _r(e,t,n){return e.label!==t||e.statement!==n?r(fr(t,n),e):e}function pr(e){var r=t(223);return r.expression=e,r}function gr(e,t){return e.expression!==t?r(pr(t),e):e}function mr(e,r,n){var i=t(224);return i.tryBlock=e,i.catchClause=r,i.finallyBlock=n,i}function hr(e,t,n,i){return e.tryBlock!==t||e.catchClause!==n||e.finallyBlock!==i?r(mr(t,n,i),e):e}function yr(e,r,i,a,o,s,c,u){var l=t(228);return l.decorators=ri(e),l.modifiers=ri(r),l.asteriskToken=i,l.name=ei(a),l.typeParameters=ri(o),l.parameters=n(s),l.type=c,l.body=u,l}function vr(e,t,n,i,a,o,s,c,u){return e.decorators!==t||e.modifiers!==n||e.asteriskToken!==i||e.name!==a||e.typeParameters!==o||e.parameters!==s||e.type!==c||e.body!==u?r(yr(t,n,i,a,o,s,c,u),e):e}function br(e,r,i,a,o,s){var c=t(229);return c.decorators=ri(e),c.modifiers=ri(r),c.name=ei(i),c.typeParameters=ri(a),c.heritageClauses=ri(o),c.members=n(s),c}function kr(e,t,n,i,a,o,s){return e.decorators!==t||e.modifiers!==n||e.name!==i||e.typeParameters!==a||e.heritageClauses!==o||e.members!==s?r(br(t,n,i,a,o,s),e):e}function xr(e,r,i,a){var o=t(232);return o.decorators=ri(e),o.modifiers=ri(r),o.name=ei(i),o.members=n(a),o}function Sr(e,t,n,i,a){return e.decorators!==t||e.modifiers!==n||e.name!==i||e.members!==a?r(xr(t,n,i,a),e):e}function Cr(e,r,n,i,a){var o=t(233);return o.flags|=a,o.decorators=ri(e),o.modifiers=ri(r),o.name=n,o.body=i,o}function Er(e,t,n,i,a){return e.decorators!==t||e.modifiers!==n||e.name!==i||e.body!==a?r(Cr(t,n,i,a,e.flags),e):e}function Dr(e){var r=t(234);return r.statements=n(e),r}function Tr(e,t){return e.statements!==t?r(Dr(t),e):e}function wr(e){var r=t(235);return r.clauses=n(e),r}function Ar(e,t){return e.clauses!==t?r(wr(t),e):e}function Nr(e,r,n,i){var a=t(237);return a.decorators=ri(e),a.modifiers=ri(r),a.name=ei(n),a.moduleReference=i,a}function Pr(e,t,n,i,a){return e.decorators!==t||e.modifiers!==n||e.name!==i||e.moduleReference!==a?r(Nr(t,n,i,a),e):e}function Mr(e,r,n,i){var a=t(238);return a.decorators=ri(e),a.modifiers=ri(r),a.importClause=n,a.moduleSpecifier=i,a}function Or(e,t,n,i,a){return e.decorators!==t||e.modifiers!==n||e.importClause!==i||e.moduleSpecifier!==a?r(Mr(t,n,i,a),e):e}function Ir(e,r){var n=t(239);return n.name=e,n.namedBindings=r,n}function Fr(e,t,n){return e.name!==t||e.namedBindings!==n?r(Ir(t,n),e):e}function Rr(e){var r=t(240);return r.name=e,r}function Lr(e,t){return e.name!==t?r(Rr(t),e):e}function Br(e){var r=t(241);return r.elements=n(e),r}function jr(e,t){return e.elements!==t?r(Br(t),e):e}function zr(e,r){var n=t(242);return n.propertyName=e,n.name=r,n}function Kr(e,t,n){return e.propertyName!==t||e.name!==n?r(zr(t,n),e):e}function Jr(e,r,n,i){var a=t(243);return a.decorators=ri(e),a.modifiers=ri(r),a.isExportEquals=n,a.expression=i,a}function qr(e,t,n,i){return e.decorators!==t||e.modifiers!==n||e.expression!==i?r(Jr(t,n,e.isExportEquals,i),e):e}function Ur(e,r,n,i){var a=t(244);return a.decorators=ri(e),a.modifiers=ri(r),a.exportClause=n,a.moduleSpecifier=i,a}function Vr(e,t,n,i,a){return e.decorators!==t||e.modifiers!==n||e.exportClause!==i||e.moduleSpecifier!==a?r(Ur(t,n,i,a),e):e}function Hr(e){var r=t(245);return r.elements=n(e),r}function Wr(e,t){return e.elements!==t?r(Hr(t),e):e}function Gr(e,r){var n=t(246);return n.propertyName=ei(e),n.name=ei(r),n}function Xr(e,t,n){return e.propertyName!==t||e.name!==n?r(Gr(t,n),e):e}function Yr(e){var r=t(248);return r.expression=e,r}function Qr(e,t){return e.expression!==t?r(Yr(t),e):e}function Zr(e,r,i){var a=t(249);return a.openingElement=e,a.children=n(r),a.closingElement=i,a}function $r(e,t,n,i){return e.openingElement!==t||e.children!==n||e.closingElement!==i?r(Zr(t,n,i),e):e}function en(e,r){var n=t(250);return n.tagName=e,n.attributes=r,n}function tn(e,t,n){return e.tagName!==t||e.attributes!==n?r(en(t,n),e):e}function rn(e,r){var n=t(251);return n.tagName=e,n.attributes=r,n}function nn(e,t,n){return e.tagName!==t||e.attributes!==n?r(rn(t,n),e):e}function an(e){var r=t(252);return r.tagName=e,r}function on(e,t){return e.tagName!==t?r(an(t),e):e}function sn(e){var r=t(254);return r.properties=n(e),r}function cn(e,t){return e.properties!==t?r(sn(t),e):e}function un(e,r){var n=t(253);return n.name=e,n.initializer=r,n}function ln(e,t,n){return e.name!==t||e.initializer!==n?r(un(t,n),e):e}function dn(e){var r=t(255);return r.expression=e,r}function fn(e,t){return e.expression!==t?r(dn(t),e):e}function _n(e,r){var n=t(256);return n.dotDotDotToken=e,n.expression=r,n}function pn(e,t){return e.expression!==t?r(_n(e.dotDotDotToken,t),e):e}function gn(e,r){var i=t(259);return i.token=e,i.types=n(r),i}function mn(e,t){return e.types!==t?r(gn(e.token,t),e):e}function hn(r,i){var a=t(257);return a.expression=e.parenthesizeExpressionForList(r),a.statements=n(i),a}function yn(e,t,n){return e.expression!==t||e.statements!==n?r(hn(t,n),e):e}function vn(e){var r=t(258);return r.statements=n(e),r}function bn(e,t){return e.statements!==t?r(vn(t),e):e}function kn(e,r){var n=t(260);return n.variableDeclaration="string"==typeof e?jt(e):e,n.block=r,n}function xn(e,t,n){return e.variableDeclaration!==t||e.block!==n?r(kn(t,n),e):e}function Sn(r,n){var i=t(261);return i.name=ei(r),i.questionToken=void 0,i.initializer=void 0!==n?e.parenthesizeExpressionForList(n):void 0,i}function Cn(e,t,n){return e.name!==t||e.initializer!==n?r(Sn(t,n),e):e}function En(r,n){var i=t(262);return i.name=ei(r),i.objectAssignmentInitializer=void 0!==n?e.parenthesizeExpressionForList(n):void 0,i}function Dn(e,t,n){return e.name!==t||e.objectAssignmentInitializer!==n?r(En(t,n),e):e}function Tn(r){var n=t(263);return n.expression=void 0!==r?e.parenthesizeExpressionForList(r):void 0,n}function wn(e,t){return e.expression!==t?r(Tn(t),e):e}function An(r,n){var i=t(264);return i.name=ei(r),i.initializer=n&&e.parenthesizeExpressionForList(n),i}function Nn(e,t,n){return e.name!==t||e.initializer!==n?r(An(t,n),e):e}function Pn(e,i){if(e.statements!==i){var a=t(265);return a.flags|=e.flags,a.statements=n(i),a.endOfFileToken=e.endOfFileToken,a.fileName=e.fileName,a.path=e.path,a.text=e.text,void 0!==e.amdDependencies&&(a.amdDependencies=e.amdDependencies),void 0!==e.moduleName&&(a.moduleName=e.moduleName),void 0!==e.referencedFiles&&(a.referencedFiles=e.referencedFiles),void 0!==e.typeReferenceDirectives&&(a.typeReferenceDirectives=e.typeReferenceDirectives),void 0!==e.languageVariant&&(a.languageVariant=e.languageVariant),void 0!==e.isDeclarationFile&&(a.isDeclarationFile=e.isDeclarationFile),void 0!==e.renamedDependencies&&(a.renamedDependencies=e.renamedDependencies),void 0!==e.hasNoDefaultLib&&(a.hasNoDefaultLib=e.hasNoDefaultLib),void 0!==e.languageVersion&&(a.languageVersion=e.languageVersion),void 0!==e.scriptKind&&(a.scriptKind=e.scriptKind),void 0!==e.externalModuleIndicator&&(a.externalModuleIndicator=e.externalModuleIndicator),void 0!==e.commonJsModuleIndicator&&(a.commonJsModuleIndicator=e.commonJsModuleIndicator),void 0!==e.identifiers&&(a.identifiers=e.identifiers),void 0!==e.nodeCount&&(a.nodeCount=e.nodeCount),void 0!==e.identifierCount&&(a.identifierCount=e.identifierCount),void 0!==e.symbolCount&&(a.symbolCount=e.symbolCount),void 0!==e.parseDiagnostics&&(a.parseDiagnostics=e.parseDiagnostics),void 0!==e.bindDiagnostics&&(a.bindDiagnostics=e.bindDiagnostics),void 0!==e.lineMap&&(a.lineMap=e.lineMap),void 0!==e.classifiableNames&&(a.classifiableNames=e.classifiableNames),void 0!==e.resolvedModules&&(a.resolvedModules=e.resolvedModules),void 0!==e.resolvedTypeReferenceDirectiveNames&&(a.resolvedTypeReferenceDirectiveNames=e.resolvedTypeReferenceDirectiveNames),void 0!==e.imports&&(a.imports=e.imports),void 0!==e.moduleAugmentations&&(a.moduleAugmentations=e.moduleAugmentations),r(a,e)}return e}function Mn(e){var t=i(e);return t.pos=e.pos,t.end=e.end,t.parent=e.parent,t}function On(e){var r=t(295);return r.original=e,oi(r,e),r}function In(e){var r=t(298);return r.emitNode={},r.original=e,r}function Fn(e){var r=t(297);return r.emitNode={},r.original=e,r}function Rn(e,r){var n=t(296);return n.expression=e,n.original=r,oi(n,r),n}function Ln(e,t){return e.expression!==t?r(Rn(t,e.original),e):e}function Bn(t){var r=e.createNode(266);return r.sourceFiles=t,r}function jn(e,t){return e.sourceFiles!==t?Bn(t):e}function zn(e,t){return ft(e,26,t)}function Kn(e,t){return ft(e,27,t)}function Jn(e,t){return ft(e,58,t)}function qn(e,t){return ft(e,34,t)}function Un(e,t){return ft(e,35,t)}function Vn(e,t){return ft(e,37,t)}function Hn(e,t){return ft(e,38,t)}function Wn(e){return lt(e,43)}function Gn(e,t){return ft(e,53,t)}function Xn(e,t){return ft(e,54,t)}function Yn(e){return ct(51,e)}function Qn(){return it(a(0))}function Zn(e){return Jr(void 0,void 0,!1,e)}function $n(e){return Ur(void 0,void 0,Hr([Gr(void 0,e)]))}function ei(e){return"string"==typeof e?u(e):e}function ti(e){return"string"==typeof e||"number"==typeof e?a(e):e}function ri(e){return e?n(e):void 0}function ni(e){return"number"==typeof e?p(e):e}function ii(t){t=e.getSourceFileOfNode(e.getParseTreeNode(t));var r=t&&t.emitNode,n=r&&r.annotatedNodes;if(n)for(var i=0,a=n;i0&&(a[c-s]=u)}s>0&&(a.length-=s)}}function wi(t,r){return t===r?0:t.priority===r.priority?0:void 0===t.priority?1:void 0===r.priority?-1:e.compareValues(t.priority,r.priority)}function Ai(e,t){if(e.original=t,t){var r=t.emitNode;r&&(e.emitNode=Ni(r,e.emitNode))}return e}function Ni(t,r){var n=t.flags,i=t.leadingComments,a=t.trailingComments,o=t.commentRange,s=t.sourceMapRange,c=t.tokenSourceMapRanges,u=t.constantValue,l=t.helpers;return r||(r={}),i&&(r.leadingComments=e.addRange(i.slice(),r.leadingComments)),a&&(r.trailingComments=e.addRange(a.slice(),r.trailingComments)),n&&(r.flags=n),o&&(r.commentRange=o),s&&(r.sourceMapRange=s),c&&(r.tokenSourceMapRanges=Pi(c,r.tokenSourceMapRanges)),void 0!==u&&(r.constantValue=u),l&&(r.helpers=e.addRange(r.helpers,l)),r}function Pi(e,t){t||(t=[]);for(var r in e)t[r]=e[r];return t}e.updateNode=r,e.createNodeArray=n,e.getSynthesizedClone=i,e.createLiteral=a,e.createNumericLiteral=o,e.createIdentifier=u;var Mi=0;e.createTempVariable=l,e.createLoopVariable=d,e.createUniqueName=f,e.getGeneratedNameForNode=_,e.createToken=p,e.createSuper=g,e.createThis=m,e.createNull=h,e.createTrue=y,e.createFalse=v,e.createQualifiedName=b,e.updateQualifiedName=k,e.createComputedPropertyName=x,e.updateComputedPropertyName=S,e.createSignatureDeclaration=C,e.createFunctionTypeNode=D,e.updateFunctionTypeNode=T,e.createConstructorTypeNode=w,e.updateConstructorTypeNode=A,e.createCallSignatureDeclaration=N,e.updateCallSignatureDeclaration=P,e.createConstructSignatureDeclaration=M,e.updateConstructSignatureDeclaration=O,e.createMethodSignature=I,e.updateMethodSignature=F,e.createKeywordTypeNode=R,e.createThisTypeNode=L,e.createLiteralTypeNode=B,e.updateLiteralTypeNode=j,e.createTypeReferenceNode=z,e.updateTypeReferenceNode=K,e.createTypePredicateNode=J,e.updateTypePredicateNode=q,e.createTypeQueryNode=U,e.updateTypeQueryNode=V,e.createArrayTypeNode=H,e.updateArrayTypeNode=W,e.createUnionOrIntersectionTypeNode=G,e.updateUnionOrIntersectionTypeNode=X,e.createTypeLiteralNode=Y,e.updateTypeLiteralNode=Q,e.createTupleTypeNode=Z,e.updateTypleTypeNode=$,e.createMappedTypeNode=ee,e.updateMappedTypeNode=te,e.createTypeOperatorNode=re,e.updateTypeOperatorNode=ne,e.createIndexedAccessTypeNode=ie,e.updateIndexedAccessTypeNode=ae,e.createTypeParameterDeclaration=oe,e.updateTypeParameterDeclaration=se,e.createPropertySignature=ce,e.updatePropertySignature=ue,e.createIndexSignatureDeclaration=le,e.updateIndexSignatureDeclaration=de,e.createParameter=fe,e.updateParameter=_e,e.createDecorator=pe,e.updateDecorator=ge,e.createProperty=me,e.updateProperty=he,e.createMethodDeclaration=ye,e.updateMethod=ve,e.createConstructor=be,e.updateConstructor=ke,e.createGetAccessor=xe,e.updateGetAccessor=Se,e.createSetAccessor=Ce,e.updateSetAccessor=Ee,e.createObjectBindingPattern=De,e.updateObjectBindingPattern=Te,e.createArrayBindingPattern=we,e.updateArrayBindingPattern=Ae,e.createBindingElement=Ne,e.updateBindingElement=Pe,e.createArrayLiteral=Me,e.updateArrayLiteral=Oe,e.createObjectLiteral=Ie,e.updateObjectLiteral=Fe,e.createPropertyAccess=Re,e.updatePropertyAccess=Le,e.createElementAccess=Be,e.updateElementAccess=je,e.createCall=ze,e.updateCall=Ke,e.createNew=Je,e.updateNew=qe,e.createTaggedTemplate=Ue,e.updateTaggedTemplate=Ve,e.createTypeAssertion=He,e.updateTypeAssertion=We,e.createParen=Ge,e.updateParen=Xe,e.createFunctionExpression=Ye,e.updateFunctionExpression=Qe,e.createArrowFunction=Ze,e.updateArrowFunction=$e,e.createDelete=et,e.updateDelete=tt,e.createTypeOf=rt,e.updateTypeOf=nt,e.createVoid=it,e.updateVoid=at,e.createAwait=ot,e.updateAwait=st,e.createPrefix=ct,e.updatePrefix=ut,e.createPostfix=lt,e.updatePostfix=dt,e.createBinary=ft,e.updateBinary=_t,e.createConditional=pt,e.updateConditional=gt,e.createTemplateExpression=mt,e.updateTemplateExpression=ht,e.createYield=yt,e.updateYield=vt,e.createSpread=bt,e.updateSpread=kt,e.createClassExpression=xt,e.updateClassExpression=St,e.createOmittedExpression=Ct,e.createExpressionWithTypeArguments=Et,e.updateExpressionWithTypeArguments=Dt,e.createAsExpression=Tt,e.updateAsExpression=wt,e.createNonNullExpression=At,e.updateNonNullExpression=Nt,e.createTemplateSpan=Pt,e.updateTemplateSpan=Mt,e.createBlock=Ot,e.updateBlock=It,e.createVariableStatement=Ft,e.updateVariableStatement=Rt,e.createVariableDeclarationList=Lt,e.updateVariableDeclarationList=Bt,e.createVariableDeclaration=jt,e.updateVariableDeclaration=zt,e.createEmptyStatement=Kt,e.createStatement=Jt,e.updateStatement=qt,e.createIf=Ut,e.updateIf=Vt,e.createDo=Ht,e.updateDo=Wt,e.createWhile=Gt,e.updateWhile=Xt,e.createFor=Yt,e.updateFor=Qt,e.createForIn=Zt,e.updateForIn=$t,e.createForOf=er,e.updateForOf=tr,e.createContinue=rr,e.updateContinue=nr,e.createBreak=ir,e.updateBreak=ar,e.createReturn=or,e.updateReturn=sr,e.createWith=cr,e.updateWith=ur,e.createSwitch=lr,e.updateSwitch=dr,e.createLabel=fr,e.updateLabel=_r,e.createThrow=pr,e.updateThrow=gr,e.createTry=mr,e.updateTry=hr,e.createFunctionDeclaration=yr,e.updateFunctionDeclaration=vr,e.createClassDeclaration=br,e.updateClassDeclaration=kr,e.createEnumDeclaration=xr,e.updateEnumDeclaration=Sr,e.createModuleDeclaration=Cr,e.updateModuleDeclaration=Er,e.createModuleBlock=Dr,e.updateModuleBlock=Tr,e.createCaseBlock=wr,e.updateCaseBlock=Ar,e.createImportEqualsDeclaration=Nr,e.updateImportEqualsDeclaration=Pr,e.createImportDeclaration=Mr,e.updateImportDeclaration=Or,e.createImportClause=Ir,e.updateImportClause=Fr,e.createNamespaceImport=Rr,e.updateNamespaceImport=Lr,e.createNamedImports=Br,e.updateNamedImports=jr,e.createImportSpecifier=zr,e.updateImportSpecifier=Kr,e.createExportAssignment=Jr,e.updateExportAssignment=qr,e.createExportDeclaration=Ur,e.updateExportDeclaration=Vr,e.createNamedExports=Hr,e.updateNamedExports=Wr,e.createExportSpecifier=Gr;e.updateExportSpecifier=Xr,e.createExternalModuleReference=Yr,e.updateExternalModuleReference=Qr,e.createJsxElement=Zr,e.updateJsxElement=$r,e.createJsxSelfClosingElement=en,e.updateJsxSelfClosingElement=tn,e.createJsxOpeningElement=rn,e.updateJsxOpeningElement=nn,e.createJsxClosingElement=an,e.updateJsxClosingElement=on,e.createJsxAttributes=sn,e.updateJsxAttributes=cn,e.createJsxAttribute=un,e.updateJsxAttribute=ln,e.createJsxSpreadAttribute=dn,e.updateJsxSpreadAttribute=fn,e.createJsxExpression=_n,e.updateJsxExpression=pn,e.createHeritageClause=gn,e.updateHeritageClause=mn,e.createCaseClause=hn,e.updateCaseClause=yn,e.createDefaultClause=vn,e.updateDefaultClause=bn,e.createCatchClause=kn,e.updateCatchClause=xn,e.createPropertyAssignment=Sn,e.updatePropertyAssignment=Cn,e.createShorthandPropertyAssignment=En,e.updateShorthandPropertyAssignment=Dn,e.createSpreadAssignment=Tn,e.updateSpreadAssignment=wn,e.createEnumMember=An,e.updateEnumMember=Nn,e.updateSourceFileNode=Pn,e.getMutableClone=Mn,e.createNotEmittedStatement=On,e.createEndOfDeclarationMarker=In,e.createMergeDeclarationMarker=Fn,e.createPartiallyEmittedExpression=Rn,e.updatePartiallyEmittedExpression=Ln,e.createBundle=Bn,e.updateBundle=jn,e.createComma=zn,e.createLessThan=Kn,e.createAssignment=Jn,e.createStrictEquality=qn,e.createStrictInequality=Un,e.createAdd=Vn,e.createSubtract=Hn,e.createPostfixIncrement=Wn,e.createLogicalAnd=Gn,e.createLogicalOr=Xn,e.createLogicalNot=Yn,e.createVoidZero=Qn,e.createExportDefault=Zn,e.createExternalModuleExport=$n,e.disposeEmitNodes=ii,e.getOrCreateEmitNode=ai,e.setTextRange=oi,e.getEmitFlags=si,e.setEmitFlags=ci,e.getSourceMapRange=ui,e.setSourceMapRange=li,e.getTokenSourceMapRange=di,e.setTokenSourceMapRange=fi,e.getCommentRange=_i,e.setCommentRange=pi,e.getSyntheticLeadingComments=gi,e.setSyntheticLeadingComments=mi,e.addSyntheticLeadingComment=hi,e.getSyntheticTrailingComments=yi,e.setSyntheticTrailingComments=vi,e.addSyntheticTrailingComment=bi,e.getConstantValue=ki,e.setConstantValue=xi,e.addEmitHelper=Si,e.addEmitHelpers=Ci,e.removeEmitHelper=Ei,e.getEmitHelpers=Di,e.moveEmitHelpers=Ti,e.compareEmitHelpers=wi,e.setOriginalNode=Ai}(o||(o={})),function(e){function t(t,r){return"undefined"===r?e.createStrictEquality(t,e.createVoidZero()):e.createStrictEquality(e.createTypeOf(t),e.createLiteral(r))}function r(t,r,n){if(e.isComputedPropertyName(r))return e.setTextRange(e.createElementAccess(t,r.expression),n);var i=e.setTextRange(e.isIdentifier(r)?e.createPropertyAccess(t,r):e.createElementAccess(t,r),r);return e.getOrCreateEmitNode(i).flags|=64,i}function n(t,r,n,i){return e.setTextRange(e.createCall(e.createPropertyAccess(t,"call"),void 0,[r].concat(n)),i)}function i(t,r,n,i){return e.setTextRange(e.createCall(e.createPropertyAccess(t,"apply"),void 0,[r,n]),i)}function a(t,r){var n=[];return void 0!==r&&n.push("number"==typeof r?e.createLiteral(r):r),e.createCall(e.createPropertyAccess(t,"slice"),void 0,n)}function o(t,r){return e.createCall(e.createPropertyAccess(t,"concat"),void 0,r)}function s(t,r,n){return e.setTextRange(e.createCall(e.createPropertyAccess(e.createIdentifier("Math"),"pow"),void 0,[t,r]),n)}function c(t,r){var n=e.createIdentifier(t||"React");return n.flags&=-9,n.parent=e.getParseTreeNode(r),n}function u(t,r){if(e.isQualifiedName(t)){var n=u(t.left,r),i=e.createIdentifier(t.right.text);return i.text=t.right.text,e.createPropertyAccess(n,i)}return c(t.text,r)}function l(t,r,n){return t?u(t,n):e.createPropertyAccess(c(r,n),"createElement")}function d(t,r,n,i,a,o,s){var c=[n];if(i&&c.push(i),a&&a.length>0)if(i||c.push(e.createNull()),a.length>1)for(var u=0,d=a;u0;default:return!0}}function b(t,r,n,i){var a,o,s=se(t,7);if(e.isSuperProperty(s))a=e.createThis(),o=s;else if(97===s.kind)a=e.createThis(),o=n<2?e.setTextRange(e.createIdentifier("_super"),s):s;else if(4096&e.getEmitFlags(s))a=e.createVoidZero(),o=Z(s);else switch(s.kind){case 179:v(s.expression,i)?(a=e.createTempVariable(r),o=e.createPropertyAccess(e.setTextRange(e.createAssignment(a,s.expression),s.expression),s.name),e.setTextRange(o,s)):(a=s.expression,o=s);break;case 180:v(s.expression,i)?(a=e.createTempVariable(r),o=e.createElementAccess(e.setTextRange(e.createAssignment(a,s.expression),s.expression),s.argumentExpression),e.setTextRange(o,s)):(a=s.expression,o=s);break;default:a=e.createVoidZero(),o=Z(t)}return{target:o,thisArg:a}}function k(t){return e.reduceLeft(t,e.createComma)}function x(t){if(e.isQualifiedName(t)){var r=x(t.left),n=e.getMutableClone(t.right);return e.setTextRange(e.createPropertyAccess(r,n),t)}return e.getMutableClone(t)}function S(t){return e.isIdentifier(t)?e.createLiteral(t):e.isComputedPropertyName(t)?e.getMutableClone(t.expression):e.getMutableClone(t)}function C(e,t,r){switch(t.kind){case 153:case 154:return E(e.properties,t,r,e.multiLine);case 261:return D(t,r);case 262:return T(t,r);case 151:return w(t,r)}}function E(t,r,n,i){var a=e.getAllAccessorDeclarations(t,r),o=a.firstAccessor,s=a.getAccessor,c=a.setAccessor;if(r===o){var u=[];if(s){var l=e.createFunctionExpression(s.modifiers,void 0,void 0,void 0,s.parameters,void 0,s.body);e.setTextRange(l,s),e.setOriginalNode(l,s);var d=e.createPropertyAssignment("get",l);u.push(d)}if(c){var f=e.createFunctionExpression(c.modifiers,void 0,void 0,void 0,c.parameters,void 0,c.body);e.setTextRange(f,c),e.setOriginalNode(f,c);var _=e.createPropertyAssignment("set",f);u.push(_)}u.push(e.createPropertyAssignment("enumerable",e.createTrue())),u.push(e.createPropertyAssignment("configurable",e.createTrue()));var p=e.setTextRange(e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"defineProperty"),void 0,[n,S(r.name),e.createObjectLiteral(u,i)]),o);return e.aggregateTransformFlags(p)}}function D(t,n){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(r(n,t.name,t.name),t.initializer),t),t))}function T(t,n){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(r(n,t.name,t.name),e.getSynthesizedClone(t.name)),t),t))}function w(t,n){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(r(n,t.name,t.name),e.setOriginalNode(e.setTextRange(e.createFunctionExpression(t.modifiers,t.asteriskToken,void 0,void 0,t.parameters,void 0,t.body),t),t)),t),t))}function A(e,t,r){return I(e,t,r,16384)}function N(t){return 0!=(16384&e.getEmitFlags(t))}function P(e,t,r){return I(e,t,r,8192)}function M(t){return 0!=(8192&e.getEmitFlags(t))}function O(e,t,r){return I(e,t,r)}function I(t,r,n,i){if(t.name&&e.isIdentifier(t.name)&&!e.isGeneratedIdentifier(t.name)){var a=e.getMutableClone(t.name);return i|=e.getEmitFlags(t.name),n||(i|=48),r||(i|=1536),i&&e.setEmitFlags(a,i),a}return e.getGeneratedNameForNode(t)}function F(t,r,n,i){return t&&e.hasModifier(r,1)?R(t,I(r),n,i):P(r,n,i)}function R(t,r,n,i){var a=e.createPropertyAccess(t,e.nodeIsSynthesized(r)?r:e.getSynthesizedClone(r));e.setTextRange(a,r);var o;return i||(o|=48),n||(o|=1536),o&&e.setEmitFlags(a,o),a}function L(t,r){return e.isBlock(t)?t:e.setTextRange(e.createBlock([e.setTextRange(e.createReturn(t),t)],r),t)}function B(e){return"use strict"===e.expression.text}function j(e,t,r,n){return K(e,t,z(e,t,r),n)}function z(t,r,n){e.Debug.assert(0===t.length,"Prologue directives should be at the first statement in the target statements array");for(var i=!1,a=0,o=r.length;ae.getOperatorPrecedence(194,26)?t:e.setTextRange(e.createParen(t),t)}function ne(t){var r=le(t);if(e.isCallExpression(r)){var n=r.expression,i=le(n).kind;if(186===i||187===i){var a=e.getMutableClone(r);return a.expression=e.setTextRange(e.createParen(n),n),ie(t,a)}}else{var o=ae(r).kind;if(178===o||186===o)return e.setTextRange(e.createParen(t),t)}return t}function ie(t,r){if(e.isPartiallyEmittedExpression(t)){var n=e.getMutableClone(t);return n.expression=ie(n.expression,r),n}return r}function ae(e){for(;;){switch(e.kind){case 193:e=e.operand;continue;case 194:e=e.left;continue;case 195:e=e.condition;continue;case 181:case 180:case 179:case 296:e=e.expression;continue}return e}}function oe(t){return e.isBlock(t)||178!==ae(t).kind?t:e.setTextRange(e.createParen(t),t)}function se(e,t){void 0===t&&(t=7);var r;do{r=e,1&t&&(e=ce(e)),2&t&&(e=ue(e)),4&t&&(e=le(e))}while(r!==e);return e}function ce(e){for(;185===e.kind;)e=e.expression;return e}function ue(t){for(;e.isAssertionExpression(t);)t=t.expression;return t}function le(e){for(;296===e.kind;)e=e.expression;return e}function de(e){return e.startsOnNewLine=!0,e}function fe(t){var r=e.getOriginalNode(t,e.isSourceFile),n=r&&r.emitNode;return n&&n.externalHelpersModuleName}function _e(t,r){if(r.importHelpers&&(e.isExternalModule(t)||r.isolatedModules)){var n=fe(t);if(n)return n;var i=e.getEmitHelpers(t);if(i)for(var a=0,o=i;a= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n };\n '};e.createValuesHelper=_;var Ie={name:"typescript:read",scoped:!1,text:'\n var __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === "function" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i["return"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n };\n '};e.createReadHelper=p;var Fe={name:"typescript:spread",scoped:!1,text:"\n var __spread = (this && this.__spread) || function () {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n };"};e.createSpreadHelper=g,e.createForOfBindingStatement=m,e.insertLeadingStatement=h,e.restoreEnclosingLabel=y,e.createCallBinding=b,e.inlineExpressions=k,e.createExpressionFromEntityName=x,e.createExpressionForPropertyName=S,e.createExpressionForObjectLiteralElementLike=C,e.getLocalName=A,e.isLocalName=N,e.getExportName=P,e.isExportName=M,e.getDeclarationName=O,e.getExternalModuleOrNamespaceExportName=F,e.getNamespaceMemberName=R,e.convertToFunctionBody=L,e.addPrologue=j,e.addStandardPrologue=z,e.addCustomPrologue=K,e.startsWithUseStrict=J,e.ensureUseStrict=q,e.parenthesizeConditionalHead=U,e.parenthesizeBinaryOperand=V,e.parenthesizeForConditionalHead=X,e.parenthesizeSubexpressionOfConditionalExpression=Y,e.parenthesizeForNew=Q,e.parenthesizeForAccess=Z,e.parenthesizePostfixOperand=$,e.parenthesizePrefixOperand=ee,e.parenthesizeListElements=te,e.parenthesizeExpressionForList=re,e.parenthesizeExpressionForExpressionStatement=ne,e.parenthesizeConciseBody=oe;!function(e){e[e.Parentheses=1]="Parentheses",e[e.Assertions=2]="Assertions",e[e.PartiallyEmittedExpressions=4]="PartiallyEmittedExpressions",e[e.All=7]="All"}(e.OuterExpressionKinds||(e.OuterExpressionKinds={})),e.skipOuterExpressions=se,e.skipParentheses=ce,e.skipAssertions=ue,e.skipPartiallyEmittedExpressions=le,e.startOnNewLine=de,e.getExternalHelpersModuleName=fe,e.getOrCreateExternalHelpersModuleNameIfNeeded=_e,e.getLocalNameForExternalImport=pe,e.getExternalModuleNameLiteral=ge,e.tryGetModuleNameFromFile=he,e.getInitializerOfBindingOrAssignmentElement=ve,e.getTargetOfBindingOrAssignmentElement=be,e.getRestIndicatorOfBindingOrAssignmentElement=ke,e.getPropertyNameOfBindingOrAssignmentElement=xe,e.getElementsOfBindingOrAssignmentPattern=Se,e.convertToArrayAssignmentElement=Ce,e.convertToObjectAssignmentElement=Ee,e.convertToAssignmentPattern=De,e.convertToObjectAssignmentPattern=Te,e.convertToArrayAssignmentPattern=we,e.convertToAssignmentElementTarget=Ae,e.collectExternalModuleInfo=Ne}(o||(o={}));var o;!function(e){function t(t,r,n){return 265===t?new(g||(g=e.objectAllocator.getSourceFileConstructor()))(t,r,n):71===t?new(p||(p=e.objectAllocator.getIdentifierConstructor()))(t,r,n):t<143?new(_||(_=e.objectAllocator.getTokenConstructor()))(t,r,n):new(f||(f=e.objectAllocator.getNodeConstructor()))(t,r,n)}function r(e,t){if(t)return e(t)}function n(e,t){if(t)return e(t)}function i(e,t){if(t)for(var r=0,n=t;r107)}function G(t,r,n){return void 0===n&&(n=!0),R()===t?(n&&L(),!0):(r?P(r):P(e.Diagnostics._0_expected,e.tokenToString(t)),!1)}function X(e){return R()===e&&(L(),!0)}function Y(e){if(R()===e)return Z()}function Q(e,t,r,n){return Y(e)||ie(e,t,r,n)}function Z(){var e=te(R());return L(),ne(e)}function $(){return 25===R()||(18===R()||1===R()||da.hasPrecedingLineBreak())}function ee(){return $()?(25===R()&&L(),!0):G(25)}function te(e,t){return oa++,t>=0||(t=da.getStartPos()),e>=143?new Qi(e,t,t):71===e?new $i(e,t,t):new Zi(e,t,t)}function re(e,t){var r=e||[];return t>=0||(t=I()),r.pos=t,r.end=t,r}function ne(e,t){return e.end=void 0===t?da.getStartPos():t,la&&(e.flags|=la),_a&&(_a=!1,e.flags|=32768),e}function ie(e,t,r,n){t?M(da.getStartPos(),0,r,n):P(r,n);var i=te(e,da.getStartPos());return i.text="",ne(i)}function ae(t){t=e.escapeIdentifier(t);var r=sa.get(t);return void 0===r&&sa.set(t,r=t),r}function oe(t,r){if(ca++,t){var n=te(71);return 71!==R()&&(n.originalKeywordKind=R()),n.text=ae(da.getTokenValue()),L(),ne(n)}return ie(71,!1,r||e.Diagnostics.Identifier_expected)}function se(e){return oe(W(),e)}function ce(){return oe(e.tokenIsIdentifierOrKeyword(R()))}function ue(){return e.tokenIsIdentifierOrKeyword(R())||9===R()||8===R()}function le(e){return 9===R()||8===R()?Qe(!0):e&&21===R()?pe():ce()}function de(){return le(!0)}function fe(){return le(!1)}function _e(){return 9===R()||8===R()||e.tokenIsIdentifierOrKeyword(R())}function pe(){var e=te(144);return G(21),e.expression=v(er),G(22),ne(e)}function ge(e){return R()===e&&H(he)}function me(){return L(),!da.hasPrecedingLineBreak()&&ve()}function he(){return 76===R()?83===L():84===R()?(L(),79===R()?V(be):39!==R()&&118!==R()&&17!==R()&&ve()):79===R()?be():115===R()?(L(),ve()):me()}function ye(){return e.isModifierKind(R())&&H(he)}function ve(){return 21===R()||17===R()||39===R()||24===R()||ue()}function be(){return L(),75===R()||89===R()||117===R()&&V(On)||120===R()&&V(In)}function ke(t,r){if(Me(t))return!0;switch(t){case 0:case 1:case 3:return!(25===R()&&r)&&Bn();case 2:return 73===R()||79===R();case 4:return V(bt);case 5:return V(ui)||25===R()&&!r;case 6:return 21===R()||ue();case 12:return 21===R()||39===R()||24===R()||ue();case 17:return ue();case 9:return 21===R()||24===R()||ue();case 7:return 17===R()?V(xe):r?W()&&!Ee():Qt()&&!Ee();case 8:return Xn();case 10:return 26===R()||24===R()||Xn();case 18:return W();case 11:case 15:return 26===R()||24===R()||Zt();case 16:return ct();case 19:case 20:return 26===R()||Ft();case 21:return xi();case 22:return e.tokenIsIdentifierOrKeyword(R());case 13:return e.tokenIsIdentifierOrKeyword(R())||17===R();case 14:return!0;case 23:case 24:case 26:return ma.isJSDocType();case 25:return _e()}e.Debug.fail("Non-exhaustive case in 'isListElement'.")}function xe(){if(e.Debug.assert(17===R()),18===L()){var t=L();return 26===t||17===t||85===t||108===t}return!0}function Se(){return L(),W()}function Ce(){return L(),e.tokenIsIdentifierOrKeyword(R())}function Ee(){return(108===R()||85===R())&&V(De)}function De(){return L(),Zt()}function Te(e){if(1===R())return!0;switch(e){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 22:return 18===R();case 3:return 18===R()||73===R()||79===R();case 7:return 17===R()||85===R()||108===R();case 8:return we();case 18:return 29===R()||19===R()||17===R()||85===R()||108===R();case 11:return 20===R()||25===R();case 15:case 20:case 10:return 22===R();case 16:case 17:return 20===R()||22===R();case 19:return 26!==R();case 21:return 17===R()||18===R();case 13:return 29===R()||41===R();case 14:return 27===R()&&V(Ii);case 23:return 20===R()||56===R()||18===R();case 24:return 29===R()||18===R();case 26:return 22===R()||18===R();case 25:return 18===R()}}function we(){return!!$()||(!!hr(R())||36===R())}function Ae(){for(var e=0;e<27;e++)if(ua&1<=0&&(i.hasTrailingComma=!0),i.end=F(),ua=n,i}function Ve(){return re()}function He(e,t,r,n){if(G(r)){var i=Ue(e,t);return G(n),i}return Ve()}function We(e,t){for(var r=se(t);X(23);){var n=te(143,r.pos);n.left=r,n.right=Ge(e),r=ne(n)}return r}function Ge(t){if(da.hasPrecedingLineBreak()&&e.tokenIsIdentifierOrKeyword(R())){if(V(Mn))return ie(71,!0,e.Diagnostics.Identifier_expected)}return t?ce():se()}function Xe(){var t=te(196);t.head=Ze(),e.Debug.assert(14===t.head.kind,"Template head has wrong token kind");var r=re();do{r.push(Ye())}while(15===e.lastOrUndefined(r).literal.kind);return r.end=F(),t.templateSpans=r,ne(t)}function Ye(){var t=te(205);t.expression=v(er);var r;return 18===R()?(z(),r=$e()):r=Q(16,!1,e.Diagnostics._0_expected,e.tokenToString(18)),t.literal=r,ne(t)}function Qe(e){return et(R(),e)}function Ze(){var t=et(R(),!1);return e.Debug.assert(14===t.kind,"Template head has wrong token kind"),t}function $e(){var t=et(R(),!1);return e.Debug.assert(15===t.kind||16===t.kind,"Template fragment has wrong token kind"),t}function et(e,t){var r=te(e),n=da.getTokenValue();return r.text=t?ae(n):n,da.hasExtendedUnicodeEscape()&&(r.hasExtendedUnicodeEscape=!0),da.isUnterminated()&&(r.isUnterminated=!0),8===r.kind&&(r.numericLiteralFlags=da.getNumericLiteralFlags()),L(),ne(r),r}function tt(){var t=te(159);return t.typeName=We(!1,e.Diagnostics.Type_expected),da.hasPrecedingLineBreak()||27!==R()||(t.typeArguments=He(19,Gt,27,29)),ne(t)}function rt(e){L();var t=te(158,e.pos);return t.parameterName=e,t.type=Gt(),ne(t)}function nt(){var e=te(169);return L(),ne(e)}function it(){var e=te(162);return G(103),e.exprName=We(!0),ne(e)}function at(){var e=te(145);return e.name=se(),X(85)&&(Ft()||!Zt()?e.constraint=Gt():e.expression=Ar()),X(58)&&(e.default=Gt()),ne(e)}function ot(){if(27===R())return He(18,at,27,29)}function st(){if(X(56))return Gt()}function ct(){return 24===R()||Xn()||e.isModifierKind(R())||57===R()||99===R()}function ut(){var t=te(146);return 99===R()?(t.name=oe(!0),t.type=st(),ne(t)):(t.decorators=li(),t.modifiers=di(),t.dotDotDotToken=Y(24),t.name=Yn(),0===e.getFullWidth(t.name)&&!e.hasModifiers(t)&&e.isModifierKind(R())&&L(),t.questionToken=Y(55),t.type=st(),t.initializer=lt(!0),u(ne(t)))}function lt(e){return e?dt():oi()}function dt(){return tr(!0)}function ft(e,t,r,n,i){var a=36===e;i.typeParameters=ot(),i.parameters=_t(t,r,n),a?(G(e),i.type=Ht()):X(e)&&(i.type=Ht())}function _t(e,t,r){if(G(19)){var n=T(),i=N();p(e),m(t);var a=Ue(16,ut);if(p(n),m(i),!G(20)&&r)return;return a}return r?void 0:Ve()}function pt(){X(26)||ee()}function gt(e){var t=te(e);return 156===e&&G(94),ft(56,!1,!1,!1,t),pt(),u(ne(t))}function mt(){return 21===R()&&V(ht)}function ht(){if(L(),24===R()||22===R())return!0;if(e.isModifierKind(R())){if(L(),W())return!0}else{if(!W())return!1;L()}return 56===R()||26===R()||55===R()&&(L(),56===R()||26===R()||22===R())}function yt(e,t,r){var n=te(157,e);return n.decorators=t,n.modifiers=r,n.parameters=He(16,ut,21,22),n.type=Yt(),pt(),ne(n)}function vt(e,t){var r=de(),n=Y(55);if(19===R()||27===R()){var i=te(150,e);return i.modifiers=t,i.name=r,i.questionToken=n,ft(56,!1,!1,!1,i),pt(),u(ne(i))}var a=te(148,e);return a.modifiers=t,a.name=r,a.questionToken=n,a.type=Yt(),58===R()&&(a.initializer=oi()),pt(),u(ne(a))}function bt(){if(19===R()||27===R())return!0;for(var t;e.isModifierKind(R());)t=!0,L();return 21===R()||(ue()&&(t=!0,L()),!!t&&(19===R()||27===R()||55===R()||56===R()||26===R()||$()))}function kt(){if(19===R()||27===R())return gt(155);if(94===R()&&V(xt))return gt(156);var e=I(),t=di();return mt()?yt(e,void 0,t):vt(e,t)}function xt(){return L(),19===R()||27===R()}function St(){var e=te(163);return e.members=Ct(),ne(e)}function Ct(){var e;return G(17)?(e=Ne(4,kt),G(18)):e=Ve(),e}function Et(){return L(),131===R()&&L(),21===R()&&Se()&&92===L()}function Dt(){var e=te(145);return e.name=se(),G(92),e.constraint=Gt(),ne(e)}function Tt(){var e=te(172);return G(17),e.readonlyToken=Y(131),G(21),e.typeParameter=Dt(),G(22),e.questionToken=Y(55),e.type=Yt(),ee(),G(18),ne(e)}function wt(){var e=te(165);return e.elementTypes=He(20,Gt,21,22),ne(e)}function At(){var e=te(168);return G(19),e.type=Gt(),G(20),ne(e)}function Nt(e){var t=te(e);return 161===e&&G(94),ft(36,!1,!1,!1,t),ne(t)}function Pt(){var e=Z();return 23===R()?void 0:e}function Mt(){var e=te(173);return e.literal=Nr(),ne(e),e}function Ot(){return 8===L()}function It(){switch(R()){case 119:case 136:case 133:case 122:case 137:case 139:case 130:case 134:return H(Pt)||tt();case 9:case 8:case 101:case 86:return Mt();case 38:return V(Ot)?Mt():tt();case 105:case 95:return Z();case 99:var e=nt();return 126!==R()||da.hasPrecedingLineBreak()?e:rt(e);case 103:return it();case 17:return V(Et)?Tt():St();case 21:return wt();case 19:return At();default:return tt()}}function Ft(){switch(R()){case 119:case 136:case 133:case 122:case 137:case 105:case 139:case 95:case 99:case 103:case 130:case 17:case 21:case 27:case 49:case 48:case 94:case 9:case 8:case 101:case 86:case 134:return!0;case 38:return V(Ot);case 19:return V(Rt);default:return W()}}function Rt(){return L(),20===R()||ct()||Ft()}function Lt(){for(var e=It();!da.hasPrecedingLineBreak()&&X(21);)if(Ft()){var t=te(171,e.pos);t.objectType=e,t.indexType=Gt(),G(22),e=ne(t)}else{var t=te(164,e.pos);t.elementType=e,G(22),e=ne(t)}return e}function Bt(e){var t=te(170);return G(e),t.operator=e,t.type=jt(),ne(t)}function jt(){switch(R()){case 127:return Bt(127)}return Lt()}function zt(e,t,r){X(r);var n=t();if(R()===r){for(var i=re([n],n.pos);X(r);)i.push(t());i.end=F();var a=te(e,n.pos);a.types=i,n=ne(a)}return n}function Kt(){return zt(167,jt,48)}function Jt(){return zt(166,Kt,49)}function qt(){return 27===R()||19===R()&&V(Vt)}function Ut(){if(e.isModifierKind(R())&&di(),W()||99===R())return L(),!0;if(21===R()||17===R()){var t=ra.length;return Yn(),t===ra.length}return!1}function Vt(){if(L(),20===R()||24===R())return!0;if(Ut()){if(56===R()||26===R()||55===R()||58===R())return!0;if(20===R()&&(L(),36===R()))return!0}return!1}function Ht(){var e=W()&&H(Wt),t=Gt();if(e){var r=te(158,e.pos);return r.parameterName=e,r.type=t,ne(r)}return t}function Wt(){var e=se();if(126===R()&&!da.hasPrecedingLineBreak())return L(),e}function Gt(){return h(20480,Xt)}function Xt(){return qt()?Nt(160):94===R()?Nt(161):Jt()}function Yt(){return X(56)?Gt():void 0}function Qt(){switch(R()){case 99:case 97:case 95:case 101:case 86:case 8:case 9:case 13:case 14:case 19:case 21:case 17:case 89:case 75:case 94:case 41:case 63:case 71:return!0;default:return W()}}function Zt(){if(Qt())return!0;switch(R()){case 37:case 38:case 52:case 51:case 80:case 103:case 105:case 43:case 44:case 27:case 121:case 116:return!0;default:return!!vr()||W()}}function $t(){return 17!==R()&&89!==R()&&75!==R()&&57!==R()&&Zt()}function er(){var e=A();e&&g(!1);for(var t,r=rr();t=Y(26);)r=kr(r,t,rr());return e&&g(!0),r}function tr(e){if(58===R()||!(da.hasPrecedingLineBreak()||e&&17===R())&&Zt())return G(58),rr()}function rr(){if(nr())return ar();var t=sr()||dr();if(t)return t;var r=mr(0);return 71===r.kind&&36===R()?or(r):e.isLeftHandSideExpression(r)&&e.isAssignmentOperator(B())?kr(r,Z(),rr()):gr(r)}function nr(){return 116===R()&&(!!T()||V(Fn))}function ir(){return L(),!da.hasPrecedingLineBreak()&&W()}function ar(){var e=te(197);return L(),da.hasPrecedingLineBreak()||39!==R()&&!Zt()?ne(e):(e.asteriskToken=Y(39),e.expression=rr(),ne(e))}function or(t,r){e.Debug.assert(36===R(),"parseSimpleArrowFunctionExpression should only have been called if we had a =>");var n;r?(n=te(187,r.pos),n.modifiers=r):n=te(187,t.pos);var i=te(146,t.pos);return i.name=t,ne(i),n.parameters=re([i],i.pos),n.parameters.end=i.end,n.equalsGreaterThanToken=Q(36,!1,e.Diagnostics._0_expected,"=>"),n.body=pr(!!r),u(ne(n))}function sr(){var t=cr();if(0!==t){var r=1===t?_r(!0):H(lr);if(r){var n=!!(256&e.getModifierFlags(r)),i=R();return r.equalsGreaterThanToken=Q(36,!1,e.Diagnostics._0_expected,"=>"),r.body=36===i||17===i?pr(n):se(),u(ne(r))}}}function cr(){return 19===R()||27===R()||120===R()?V(ur):36===R()?1:0}function ur(){if(120===R()){if(L(),da.hasPrecedingLineBreak())return 0;if(19!==R()&&27!==R())return 0}var t=R(),r=L();if(19===t){if(20===r){switch(L()){case 36:case 56:case 17:return 1;default:return 0}}return 21===r||17===r?2:24===r?1:W()?56===L()?1:2:0}if(e.Debug.assert(27===t),!W())return 0;if(1===ta.languageVariant){return V(function(){var e=L();if(85===e){switch(L()){case 58:case 29:return!1;default:return!0}}else if(26===e)return!0;return!1})?1:0}return 2}function lr(){return _r(!1)}function dr(){if(120===R()){if(1===V(fr)){var e=fi();return or(mr(0),e)}}}function fr(){if(120===R()){if(L(),da.hasPrecedingLineBreak()||36===R())return 0;var e=mr(0);if(!da.hasPrecedingLineBreak()&&71===e.kind&&36===R())return 1}return 0}function _r(t){var r=te(187);if(r.modifiers=fi(),ft(56,!1,!!(256&e.getModifierFlags(r)),!t,r),r.parameters&&(t||36===R()||17===R()))return r}function pr(e){return 17===R()?pn(!1,e,!1):25!==R()&&89!==R()&&75!==R()&&Bn()&&!$t()?pn(!1,e,!0):e?S(rr):C(rr)}function gr(t){var r=Y(55);if(!r)return t;var n=te(195,t.pos);return n.condition=t,n.questionToken=r,n.whenTrue=h(fa,rr),n.colonToken=Q(56,!1,e.Diagnostics._0_expected,e.tokenToString(56)),n.whenFalse=rr(),ne(n)}function mr(e){return yr(e,Ar())}function hr(e){return 92===e||142===e}function yr(e,t){for(;;){B();var r=br();if(!(40===R()?r>=e:r>e))break;if(92===R()&&w())break;if(118===R()){if(da.hasPrecedingLineBreak())break;L(),t=xr(t,Gt())}else t=kr(t,Z(),mr(r))}return t}function vr(){return(!w()||92!==R())&&br()>0}function br(){switch(R()){case 54:return 1;case 53:return 2;case 49:return 3;case 50:return 4;case 48:return 5;case 32:case 33:case 34:case 35:return 6;case 27:case 29:case 30:case 31:case 93:case 92:case 118:return 7;case 45:case 46:case 47:return 8;case 37:case 38:return 9;case 39:case 41:case 42:return 10;case 40:return 11}return-1}function kr(e,t,r){var n=te(194,e.pos);return n.left=e,n.operatorToken=t,n.right=r,ne(n)}function xr(e,t){var r=te(202,e.pos);return r.expression=e,r.type=t,ne(r)}function Sr(){var e=te(192);return e.operator=R(),L(),e.operand=Nr(),ne(e)}function Cr(){var e=te(188);return L(),e.expression=Nr(),ne(e)}function Er(){var e=te(189);return L(),e.expression=Nr(),ne(e)}function Dr(){var e=te(190);return L(),e.expression=Nr(),ne(e)}function Tr(){return 121===R()&&(!!N()||V(ir))}function wr(){var e=te(191);return L(),e.expression=Nr(),ne(e)}function Ar(){if(Pr()){var t=Mr();return 40===R()?yr(br(),t):t}var r=R(),n=Nr();if(40===R()){var i=e.skipTrivia(aa,n.pos);184===n.kind?M(i,n.end-i,e.Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):M(i,n.end-i,e.Diagnostics.An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses,e.tokenToString(r))}return n}function Nr(){switch(R()){case 37:case 38:case 52:case 51:return Sr();case 80:return Cr();case 103:return Er();case 105:return Dr();case 27:return Gr();case 121:if(Tr())return wr();default:return Mr()}}function Pr(){switch(R()){case 37:case 38:case 52:case 51:case 80:case 103:case 105:case 121:return!1;case 27:if(1!==ta.languageVariant)return!1;default:return!0}}function Mr(){if(43===R()||44===R()){var t=te(192);return t.operator=R(),L(),t.operand=Or(),ne(t)}if(1===ta.languageVariant&&27===R()&&V(Ce))return Lr(!0);var r=Or();if(e.Debug.assert(e.isLeftHandSideExpression(r)),(43===R()||44===R())&&!da.hasPrecedingLineBreak()){var t=te(193,r.pos);return t.operand=r,t.operator=R(),L(),ne(t)}return r}function Or(){return Yr(97===R()?Fr():Ir())}function Ir(){return Xr(en())}function Fr(){var t=Z();if(19===R()||23===R()||21===R())return t;var r=te(179,t.pos);return r.expression=t,Q(23,!1,e.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access),r.name=Ge(!0),ne(r)}function Rr(e,t){return e.kind===t.kind&&(71===e.kind?e.text===t.text:99===e.kind||e.name.text===t.name.text&&Rr(e.expression,t.expression))}function Lr(t){var r,n=Jr(t);if(251===n.kind){var i=te(249,n.pos);i.openingElement=n,i.children=zr(i.openingElement.tagName),i.closingElement=Wr(t),Rr(i.openingElement.tagName,i.closingElement.tagName)||M(i.closingElement.pos,i.closingElement.end-i.closingElement.pos,e.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,e.getTextOfNodeFromSourceText(aa,i.openingElement.tagName)),r=ne(i)}else e.Debug.assert(250===n.kind),r=n;if(t&&27===R()){var a=H(function(){return Lr(!0)});if(a){P(e.Diagnostics.JSX_expressions_must_have_one_parent_element);var o=te(194,r.pos);return o.end=a.end,o.left=r,o.right=a,o.operatorToken=ie(26,!1,void 0),o.operatorToken.pos=o.operatorToken.end=o.right.pos,o}}return r}function Br(){var e=te(10,da.getStartPos());return e.containsOnlyWhiteSpaces=11===ia,ia=da.scanJsxToken(),ne(e)}function jr(){switch(R()){case 10:case 11:return Br();case 17:return Ur(!1);case 27:return Lr(!1)}e.Debug.fail("Unknown JSX child kind "+R())}function zr(t){var r=re(),n=ua;for(ua|=16384;;){if(ia=da.reScanJsxToken(),28===R())break;if(1===R()){M(t.pos,t.end-t.pos,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(aa,t));break}if(7===R())break;var i=jr();i&&r.push(i)}return r.end=da.getTokenPos(),ua=n,r}function Kr(){var e=te(254);return e.properties=Ne(13,Vr),ne(e)}function Jr(e){var t=da.getStartPos();G(27);var r,n=qr(),i=Kr();return 29===R()?(r=te(251,t),J()):(G(41),e?G(29):(G(29,void 0,!1),J()),r=te(250,t)),r.tagName=n,r.attributes=i,ne(r)}function qr(){K();for(var e=99===R()?Z():ce();X(23);){var t=te(179,e.pos);t.expression=e,t.name=Ge(!0),e=ne(t)}return e}function Ur(e){var t=te(256);return G(17),18!==R()&&(t.dotDotDotToken=Y(24),t.expression=rr()),e?G(18):(G(18,void 0,!1),J()),ne(t)}function Vr(){if(17===R())return Hr();K();var e=te(253);if(e.name=ce(),58===R())switch(q()){case 9:e.initializer=Qe();break;default:e.initializer=Ur(!0)}return ne(e)}function Hr(){var e=te(255);return G(17),G(24),e.expression=er(),G(18),ne(e)}function Wr(e){var t=te(252);return G(28),t.tagName=qr(),e?G(29):(G(29,void 0,!1),J()),ne(t)}function Gr(){var e=te(184);return G(27),e.type=Gt(),G(29),e.expression=Nr(),ne(e)}function Xr(e){for(;;){if(Y(23)){var t=te(179,e.pos);t.expression=e,t.name=Ge(!0),e=ne(t)}else if(51!==R()||da.hasPrecedingLineBreak())if(A()||!X(21)){if(13!==R()&&14!==R())return e;var r=te(183,e.pos);r.tag=e,r.template=13===R()?Qe():Xe(),e=ne(r)}else{var n=te(180,e.pos);if(n.expression=e,22!==R()&&(n.argumentExpression=v(er),9===n.argumentExpression.kind||8===n.argumentExpression.kind)){var i=n.argumentExpression;i.text=ae(i.text)}G(22),e=ne(n)}else{L();var a=te(203,e.pos);a.expression=e,e=ne(a)}}}function Yr(e){for(;;)if(e=Xr(e),27!==R()){if(19!==R())return e;var t=te(181,e.pos);t.expression=e,t.arguments=Qr(),e=ne(t)}else{var r=H(Zr);if(!r)return e;var t=te(181,e.pos);t.expression=e,t.typeArguments=r,t.arguments=Qr(),e=ne(t)}}function Qr(){G(19);var e=Ue(11,an);return G(20),e}function Zr(){if(X(27)){var e=Ue(19,Gt);if(G(29))return e&&$r()?e:void 0}}function $r(){switch(R()){case 19:case 23:case 20:case 22:case 56:case 25:case 55:case 32:case 34:case 33:case 35:case 53:case 54:case 50:case 48:case 49:case 18:case 1:return!0;case 26:case 17:default:return!1}}function en(){switch(R()){case 8:case 9:case 13:return Qe();case 99:case 97:case 95:case 101:case 86:return Z();case 19:return tn();case 21:return on();case 17:return un();case 120:if(!V(In))break;return ln();case 75:return pi();case 89:return ln();case 94:return fn();case 41:case 63:if(12===j())return Qe();break;case 14:return Xe()}return se(e.Diagnostics.Expression_expected)}function tn(){var e=te(185);return G(19),e.expression=v(er),G(20),ne(e)}function rn(){var e=te(198);return G(24),e.expression=rr(),ne(e)}function nn(){return 24===R()?rn():26===R()?te(200):rr()}function an(){return h(fa,nn)}function on(){var e=te(177);return G(21),da.hasPrecedingLineBreak()&&(e.multiLine=!0),e.elements=Ue(15,nn),G(22),ne(e)}function sn(e,t,r){return ge(125)?si(153,e,t,r):ge(135)?si(154,e,t,r):void 0}function cn(){var e=da.getStartPos();if(Y(24)){var t=te(263,e);return t.expression=rr(),u(ne(t))}var r=li(),n=di(),i=sn(e,r,n);if(i)return i;var a=Y(39),o=W(),s=de(),c=Y(55);if(a||19===R()||27===R())return ni(e,r,n,a,s,c);if(o&&(26===R()||18===R()||58===R())){var l=te(262,e);l.name=s,l.questionToken=c;var d=Y(58);return d&&(l.equalsToken=d,l.objectAssignmentInitializer=v(rr)),u(ne(l))}var f=te(261,e);return f.modifiers=n,f.name=s,f.questionToken=c,G(56),f.initializer=v(rr),u(ne(f))}function un(){var e=te(178);return G(17),da.hasPrecedingLineBreak()&&(e.multiLine=!0),e.properties=Ue(12,cn,!0),G(18),ne(e)}function ln(){var t=A();t&&g(!1);var r=te(186);r.modifiers=di(),G(89),r.asteriskToken=Y(39);var n=!!r.asteriskToken,i=!!(256&e.getModifierFlags(r));return r.name=n&&i?E(dn):n?k(dn):i?S(dn):dn(),ft(56,n,i,!1,r),r.body=pn(n,i,!1),t&&g(!0),u(ne(r))}function dn(){return W()?se():void 0}function fn(){var e=da.getStartPos();if(G(94),X(23)){var t=te(204,e);return t.keywordToken=94,t.name=ce(),ne(t)}var r=te(182,e);return r.expression=Ir(),r.typeArguments=H(Zr),(r.typeArguments||19===R())&&(r.arguments=Qr()),ne(r)}function _n(e,t){var r=te(207);return G(17,t)||e?(da.hasPrecedingLineBreak()&&(r.multiLine=!0),r.statements=Ne(1,Kn),G(18)):r.statements=Ve(),ne(r)}function pn(e,t,r,n){var i=T();p(e);var a=N();m(t);var o=A();o&&g(!1);var s=_n(r,n);return o&&g(!0),p(i),m(a),s}function gn(){var e=te(209);return G(25),ne(e)}function mn(){var e=te(211);return G(90),G(19),e.expression=v(er),G(20),e.thenStatement=Kn(),e.elseStatement=X(82)?Kn():void 0,ne(e)}function hn(){var e=te(212);return G(81),e.statement=Kn(),G(106),G(19),e.expression=v(er),G(20),X(25),ne(e)}function yn(){var e=te(213);return G(106),G(19),e.expression=v(er),G(20),e.statement=Kn(),ne(e)}function vn(){var e=I();G(88);var t=Y(121);G(19);var r=void 0;25!==R()&&(r=104===R()||110===R()||76===R()?Zn(!0):b(er));var n;if(t?G(142):X(142)){var i=te(216,e);i.awaitModifier=t,i.initializer=r,i.expression=v(rr),G(20),n=i}else if(X(92)){var a=te(215,e);a.initializer=r,a.expression=v(er),G(20),n=a}else{var o=te(214,e);o.initializer=r,G(25),25!==R()&&20!==R()&&(o.condition=v(er)),G(25),20!==R()&&(o.incrementor=v(er)),G(20),n=o}return n.statement=Kn(),ne(n)}function bn(e){var t=te(e);return G(218===e?72:77),$()||(t.label=se()),ee(),ne(t)}function kn(){var e=te(219);return G(96),$()||(e.expression=v(er)),ee(),ne(e)}function xn(){var e=te(220);return G(107),G(19),e.expression=v(er),G(20),e.statement=Kn(),ne(e)}function Sn(){var e=te(257);return G(73),e.expression=v(er),G(56),e.statements=Ne(3,Kn),ne(e)}function Cn(){var e=te(258);return G(79),G(56),e.statements=Ne(3,Kn),ne(e)}function En(){return 73===R()?Sn():Cn()}function Dn(){var e=te(221);G(98),G(19),e.expression=v(er),G(20);var t=te(235,da.getStartPos());return G(17),t.clauses=Ne(2,En),G(18),e.caseBlock=ne(t),ne(e)}function Tn(){var e=te(223);return G(100),e.expression=da.hasPrecedingLineBreak()?void 0:v(er),ee(),ne(e)}function wn(){var e=te(224);return G(102),e.tryBlock=_n(!1),e.catchClause=74===R()?An():void 0,e.catchClause&&87!==R()||(G(87),e.finallyBlock=_n(!1)),ne(e)}function An(){var e=te(260);return G(74),G(19)&&(e.variableDeclaration=Qn()),G(20),e.block=_n(!1),ne(e)}function Nn(){var e=te(225);return G(78),ee(),ne(e)}function Pn(){var e=da.getStartPos(),t=v(er);if(71===t.kind&&X(56)){var r=te(222,e);return r.label=t,r.statement=Kn(),u(ne(r))}var n=te(210,e);return n.expression=t,ee(),u(ne(n))}function Mn(){return L(),e.tokenIsIdentifierOrKeyword(R())&&!da.hasPrecedingLineBreak()}function On(){return L(),75===R()&&!da.hasPrecedingLineBreak()}function In(){return L(),89===R()&&!da.hasPrecedingLineBreak()}function Fn(){return L(),(e.tokenIsIdentifierOrKeyword(R())||8===R())&&!da.hasPrecedingLineBreak()}function Rn(){for(;;)switch(R()){case 104:case 110:case 76:case 89:case 75:case 83:return!0;case 109:case 138:return ir();case 128:case 129:return qn();case 117:case 120:case 124:case 112:case 113:case 114:case 131:if(L(),da.hasPrecedingLineBreak())return!1;continue;case 141:return L(),17===R()||71===R()||84===R();case 91:return L(),9===R()||39===R()||17===R()||e.tokenIsIdentifierOrKeyword(R());case 84:if(L(),58===R()||39===R()||17===R()||79===R()||118===R())return!0;continue;case 115:L();continue;default:return!1}}function Ln(){return V(Rn)}function Bn(){switch(R()){case 57:case 25:case 17:case 104:case 110:case 89:case 75:case 83:case 90:case 81:case 106:case 88:case 77:case 72:case 96:case 107:case 98:case 100:case 102:case 78:case 74:case 87:return!0;case 76:case 84:case 91:return Ln();case 120:case 124:case 109:case 128:case 129:case 138:case 141:return!0;case 114:case 112:case 113:case 115:case 131:return Ln()||!V(Mn);default:return Zt()}}function jn(){return L(),W()||17===R()||21===R()}function zn(){return V(jn)}function Kn(){switch(R()){case 25:return gn();case 17:return _n(!1);case 104:return ei(da.getStartPos(),void 0,void 0);case 110:if(zn())return ei(da.getStartPos(),void 0,void 0);break;case 89:return ti(da.getStartPos(),void 0,void 0);case 75:return gi(da.getStartPos(),void 0,void 0);case 90:return mn();case 81:return hn();case 106:return yn();case 88:return vn();case 77:return bn(217);case 72:return bn(218);case 96:return kn();case 107:return xn();case 98:return Dn();case 100:return Tn();case 102:case 74:case 87:return wn();case 78:return Nn();case 57:return Jn();case 120:case 109:case 138:case 128:case 129:case 124:case 76:case 83:case 84:case 91:case 112:case 113:case 114:case 117:case 115:case 131:case 141:if(Ln())return Jn()}return Pn()}function Jn(){var t=I(),r=li(),n=di();switch(R()){case 104:case 110:case 76:return ei(t,r,n);case 89:return ti(t,r,n);case 75:return gi(t,r,n);case 109:return Ci(t,r,n);case 138:return Ei(t,r,n);case 83:return Ti(t,r,n);case 141:case 128:case 129:return Pi(t,r,n);case 91:return Ri(t,r,n);case 84:switch(L(),R()){case 79:case 58:return Gi(t,r,n);case 118:return Fi(t,r,n);default:return Wi(t,r,n)}default:if(r||n){var i=ie(247,!0,e.Diagnostics.Declaration_expected);return i.pos=t,i.decorators=r,i.modifiers=n,ne(i)}}}function qn(){return L(),!da.hasPrecedingLineBreak()&&(W()||9===R())}function Un(e,t,r){return 17!==R()&&$()?void ee():pn(e,t,!1,r)}function Vn(){if(26===R())return te(200);var e=te(176);return e.dotDotDotToken=Y(24),e.name=Yn(),e.initializer=lt(!1),ne(e)}function Hn(){var e=te(176);e.dotDotDotToken=Y(24);var t=W(),r=de();return t&&56!==R()?e.name=r:(G(56),e.propertyName=r,e.name=Yn()),e.initializer=lt(!1),ne(e)}function Wn(){var e=te(174);return G(17),e.elements=Ue(9,Hn),G(18),ne(e)}function Gn(){var e=te(175);return G(21),e.elements=Ue(10,Vn),G(22),ne(e)}function Xn(){return 17===R()||21===R()||W()}function Yn(){return 21===R()?Gn():17===R()?Wn():se()}function Qn(){var e=te(226);return e.name=Yn(),e.type=Yt(),hr(R())||(e.initializer=tr(!1)),ne(e)}function Zn(t){var r=te(227);switch(R()){case 104:break;case 110:r.flags|=1;break;case 76:r.flags|=2;break;default:e.Debug.fail()}if(L(),142===R()&&V($n))r.declarations=Ve();else{var n=w();_(t),r.declarations=Ue(8,Qn),_(n)}return ne(r)}function $n(){return Se()&&20===L()}function ei(e,t,r){var n=te(208,e);return n.decorators=t,n.modifiers=r,n.declarationList=Zn(!1),ee(),u(ne(n))}function ti(t,r,n){var i=te(228,t);i.decorators=r,i.modifiers=n,G(89),i.asteriskToken=Y(39),i.name=e.hasModifier(i,512)?dn():se();var a=!!i.asteriskToken,o=e.hasModifier(i,256);return ft(56,a,o,!1,i),i.body=Un(a,o,e.Diagnostics.or_expected),u(ne(i))}function ri(t,r,n){var i=te(152,t);return i.decorators=r,i.modifiers=n,G(123),ft(56,!1,!1,!1,i),i.body=Un(!1,!1,e.Diagnostics.or_expected),u(ne(i))}function ni(t,r,n,i,a,o,s){var c=te(151,t);c.decorators=r,c.modifiers=n,c.asteriskToken=i,c.name=a,c.questionToken=o;var l=!!i,d=e.hasModifier(c,256);return ft(56,l,d,!1,c),c.body=Un(l,d,s),u(ne(c))}function ii(t,r,n,i,a){var o=te(149,t);return o.decorators=r,o.modifiers=n,o.name=i,o.questionToken=a,o.type=Yt(),o.initializer=e.hasModifier(o,32)?v(oi):h(6144,oi),ee(),u(ne(o))}function ai(t,r,n){var i=Y(39),a=de(),o=Y(55);return i||19===R()||27===R()?ni(t,r,n,i,a,o,e.Diagnostics.or_expected):ii(t,r,n,a,o)}function oi(){return tr(!1)}function si(e,t,r,n){var i=te(e,t);return i.decorators=r,i.modifiers=n,i.name=de(),ft(56,!1,!1,!1,i),i.body=Un(!1,!1),u(ne(i))}function ci(e){switch(e){case 114:case 112:case 113:case 115:case 131:return!0;default:return!1}}function ui(){var t;if(57===R())return!0;for(;e.isModifierKind(R());){if(t=R(),ci(t))return!0;L()}if(39===R())return!0;if(ue()&&(t=R(),L()),21===R())return!0;if(void 0!==t){if(!e.isKeyword(t)||135===t||125===t)return!0;switch(R()){case 19:case 27:case 56:case 58:case 55:return!0;default:return $()}}return!1}function li(){for(var e;;){var t=I();if(!X(57))break;var r=te(147,t);r.expression=x(Or),ne(r),e?e.push(r):e=re([r],t)}return e&&(e.end=F()),e}function di(e){for(var t;;){var r=da.getStartPos(),n=R();if(76===R()&&e){if(!H(me))break}else if(!ye())break;var i=ne(te(n,r));t?t.push(i):t=re([i],r)}return t&&(t.end=da.getStartPos()),t}function fi(){var e;if(120===R()){var t=da.getStartPos(),r=R();L();e=re([ne(te(r,t))],t),e.end=da.getStartPos()}return e}function _i(){if(25===R()){var t=te(206);return L(),ne(t)}var r=I(),n=li(),i=di(!0),a=sn(r,n,i);if(a)return a;if(123===R())return ri(r,n,i);if(mt())return yt(r,n,i);if(e.tokenIsIdentifierOrKeyword(R())||9===R()||8===R()||39===R()||21===R())return ai(r,n,i);if(n||i){return ii(r,n,i,ie(71,!0,e.Diagnostics.Declaration_expected),void 0)}e.Debug.fail("Should not have attempted to parse class member declaration.")}function pi(){return mi(da.getStartPos(),void 0,void 0,199)}function gi(e,t,r){return mi(e,t,r,229)}function mi(e,t,r,n){var i=te(n,e);return i.decorators=t,i.modifiers=r,G(75),i.name=hi(),i.typeParameters=ot(),i.heritageClauses=vi(),G(17)?(i.members=Si(),G(18)):i.members=Ve(),u(ne(i))}function hi(){return W()&&!yi()?se():void 0}function yi(){return 108===R()&&V(Ce)}function vi(){if(xi())return Ne(21,bi)}function bi(){var e=R();if(85===e||108===e){var t=te(259);return t.token=e,L(),t.types=Ue(7,ki),ne(t)}}function ki(){var e=te(201);return e.expression=Or(),27===R()&&(e.typeArguments=He(19,Gt,27,29)),ne(e)}function xi(){return 85===R()||108===R()}function Si(){return Ne(5,_i)}function Ci(e,t,r){var n=te(230,e);return n.decorators=t,n.modifiers=r,G(109),n.name=se(),n.typeParameters=ot(),n.heritageClauses=vi(),n.members=Ct(),u(ne(n))}function Ei(e,t,r){var n=te(231,e);return n.decorators=t,n.modifiers=r,G(138),n.name=se(),n.typeParameters=ot(),G(58),n.type=Gt(),ee(),u(ne(n))}function Di(){var e=te(264,da.getStartPos());return e.name=de(),e.initializer=v(oi),u(ne(e))}function Ti(e,t,r){var n=te(232,e);return n.decorators=t,n.modifiers=r,G(83),n.name=se(),G(17)?(n.members=Ue(6,Di),G(18)):n.members=Ve(),u(ne(n))}function wi(){var e=te(234,da.getStartPos());return G(17)?(e.statements=Ne(1,Kn),G(18)):e.statements=Ve(),ne(e)}function Ai(e,t,r,n){var i=te(233,e),a=16&n;return i.decorators=t,i.modifiers=r,i.flags|=n,i.name=se(),i.body=X(23)?Ai(I(),void 0,void 0,4|a):wi(),u(ne(i))}function Ni(e,t,r){var n=te(233,e);return n.decorators=t,n.modifiers=r,141===R()?(n.name=se(),n.flags|=512):n.name=Qe(!0),17===R()?n.body=wi():ee(),ne(n)}function Pi(e,t,r){var n=0;if(141===R())return Ni(e,t,r);if(X(129))n|=16;else if(G(128),9===R())return Ni(e,t,r);return Ai(e,t,r,n)}function Mi(){return 132===R()&&V(Oi)}function Oi(){return 19===L()}function Ii(){return 41===L()}function Fi(e,t,r){var n=te(236,e);return n.decorators=t,n.modifiers=r,G(118),G(129),n.name=se(),ee(),ne(n)}function Ri(e,t,r){G(91);var n,i=da.getStartPos();if(W()&&(n=se(),26!==R()&&140!==R()))return Li(e,t,r,n);var a=te(238,e);return a.decorators=t,a.modifiers=r,(n||39===R()||17===R())&&(a.importClause=Bi(n,i),G(140)),a.moduleSpecifier=Ki(),ee(),ne(a)}function Li(e,t,r,n){var i=te(237,e);return i.decorators=t,i.modifiers=r,i.name=n,G(58),i.moduleReference=ji(),ee(),u(ne(i))}function Bi(e,t){var r=te(239,t);return e&&(r.name=e),r.name&&!X(26)||(r.namedBindings=39===R()?Ji():qi(241)),ne(r)}function ji(){return Mi()?zi():We(!1)}function zi(){var e=te(248);return G(132),G(19),e.expression=Ki(),G(20),ne(e)}function Ki(){if(9===R()){var e=Qe();return ae(e.text),e}return er()}function Ji(){var e=te(240);return G(39),G(118),e.name=se(),ne(e)}function qi(e){var t=te(e);return t.elements=He(22,241===e?Vi:Ui,17,18),ne(t)}function Ui(){return Hi(246)}function Vi(){return Hi(242)}function Hi(t){var r=te(t),n=e.isKeyword(R())&&!W(),i=da.getTokenPos(),a=da.getTextPos(),o=ce();return 118===R()?(r.propertyName=o,G(118),n=e.isKeyword(R())&&!W(),i=da.getTokenPos(),a=da.getTextPos(),r.name=ce()):r.name=o,242===t&&n&&M(i,a-i,e.Diagnostics.Identifier_expected),ne(r)}function Wi(e,t,r){var n=te(244,e);return n.decorators=t,n.modifiers=r,X(39)?(G(140),n.moduleSpecifier=Ki()):(n.exportClause=qi(245),(140===R()||9===R()&&!da.hasPrecedingLineBreak())&&(G(140),n.moduleSpecifier=Ki())),ee(),ne(n)}function Gi(e,t,r){var n=te(243,e);return n.decorators=t,n.modifiers=r,X(58)?n.isExportEquals=!0:G(79),n.expression=rr(),ee(),ne(n)}function Xi(t){for(var r,n=e.createScanner(t.languageVersion,!1,0,aa),i=[],a=[],o=[],s=void 0;;){var c=n.scan();if(2!==c){if(e.isTrivia(c))continue;break}var u={kind:n.getToken(),pos:n.getTokenPos(),end:n.getTextPos()},l=aa.substring(u.pos,u.end),d=e.getFileReferenceFromReferencePath(l,u);if(d){var f=d.fileReference;t.hasNoDefaultLib=d.isNoDefaultLib;var _=d.diagnosticMessage;f&&(d.isTypeReferenceDirective?a.push(f):i.push(f)),_&&ra.push(e.createFileDiagnostic(t,u.pos,u.end-u.pos,_))}else{var p=/^\/\/\/\s*".length-r,e.Diagnostics.Type_argument_list_cannot_be_empty)}}function b(e){var t=te(143,e.pos);return t.left=e,t.right=ce(),ne(t)}function k(){var e=te(275);return e.literal=St(),ne(e)}function x(){var e=te(274);return L(),e.type=c(),ne(e)}function S(){var e=te(272);return L(),e.types=Ue(26,c),C(e.types),G(22),ne(e)}function C(t){if(0===ra.length&&t.hasTrailingComma){M(t.end-",".length,",".length,e.Diagnostics.Trailing_comma_not_allowed)}}function E(){var e=te(271);return L(),e.types=D(c()),G(20),ne(e)}function D(t){e.Debug.assert(!!t);for(var r=re([t],t.pos);X(49);)r.push(c());return r.end=da.getStartPos(),r}function T(){var e=te(268);return L(),ne(e)}function w(){var e=te(293);return e.literal=Mt(),ne(e)}function A(){var e=da.getStartPos();if(L(),26===R()||18===R()||20===R()||29===R()||58===R()||49===R()){var t=te(269,e);return ne(t)}var t=te(273,e);return t.type=c(),ne(t)}function N(e,t,r){o(e,5,void 0,1),ta={languageVariant:0,text:e};var n=I(t,r),i=ra;return s(),n?{jsDoc:n,diagnostics:i}:void 0}function O(e,t,r){var n=ia,i=ra.length,a=_a,o=I(t,r);return o&&(o.parent=e),ia=n,ra.length=i,_a=a,o}function I(t,r){function n(e){for(;e.length&&("\n"===e[0]||"\r"===e[0]);)e.shift()}function a(e){for(;e.length&&("\n"===e[e.length-1]||"\r"===e[e.length-1]);)e.pop()}function o(){var e=te(283,t);return e.tags=D,e.comment=w.length?w.join(""):void 0,ne(e,E)}function s(){for(;5===R()||4===R();)k()}function c(t){e.Debug.assert(57===R());var r=te(57,da.getTokenPos());r.end=da.getTextPos(),k();var n=x();if(s(),n){var i;if(n)switch(n.text){case"augments":i=h(r,n);break;case"param":i=_(r,n);break;case"return":case"returns":i=p(r,n);break;case"template":i=b(r,n);break;case"type":i=g(r,n);break;case"typedef":i=y(r,n);break;default:i=l(r,n)}else i=l(r,n);i&&d(i,u(t+i.end-i.pos))}}function u(e){function t(t){r||(r=e),i.push(t),e+=t.length}for(var r,i=[],o=0;57!==R()&&1!==R();){switch(R()){case 4:o>=1&&(o=0,i.push(da.getTokenText())),e=0;break;case 57:break;case 5:if(2===o)t(da.getTokenText());else{var s=da.getTokenText();void 0!==r&&e+s.length>r&&i.push(s.slice(r-e-1)),e+=s.length}break;case 39:if(0===o){o=1,e+=da.getTokenText().length;break}default:o=2,t(da.getTokenText())}if(57===R())break;k()}return n(i),a(i),i}function l(e,t){var r=te(284,e.pos);return r.atToken=e,r.tagName=t,ne(r)}function d(e,t){e.comment=t.join(""),D?D.push(e):D=re([e],e.pos),D.end=e.end}function f(){return H(function(){if(s(),17===R())return i()})}function _(t,r){var n=f();s();var i,a;if(Y(21)?(i=x(),s(),a=!0,Y(58)&&er(),G(22)):e.tokenIsIdentifierOrKeyword(R())&&(i=x()),!i)return void M(da.getStartPos(),0,e.Diagnostics.Identifier_expected);var o,c;n?c=i:o=i,n||(n=f());var u=te(286,t.pos);return u.atToken=t,u.tagName=r,u.preParameterName=o,u.typeExpression=n,u.postParameterName=c,u.parameterName=c||o,u.isBracketed=a,ne(u)}function p(t,r){e.forEach(D,function(e){return 287===e.kind})&&M(r.pos,da.getTokenPos()-r.pos,e.Diagnostics._0_tag_already_specified,r.text);var n=te(287,t.pos);return n.atToken=t,n.tagName=r,n.typeExpression=f(),ne(n)}function g(t,r){e.forEach(D,function(e){return 288===e.kind})&&M(r.pos,da.getTokenPos()-r.pos,e.Diagnostics._0_tag_already_specified,r.text);var n=te(288,t.pos);return n.atToken=t,n.tagName=r,n.typeExpression=f(),ne(n)}function m(t,r){var n=f();s();var i=x();if(s(),!i)return void M(da.getStartPos(),0,e.Diagnostics.Identifier_expected);var a=te(291,t.pos);return a.atToken=t,a.tagName=r,a.name=i,a.typeExpression=n,ne(a)}function h(e,t){var r=f(),n=te(285,e.pos);return n.atToken=e,n.tagName=t,n.typeExpression=r,ne(n)}function y(e,t){function r(){for(var e=te(292,da.getStartPos()),t=da.getStartPos(),r=!0,n=!1,i=!1;1!==R()&&!i;)switch(k(),R()){case 57:r&&((i=!v(e))||(t=da.getStartPos())),n=!1;break;case 4:t=da.getStartPos()-1,r=!0,n=!1;break;case 39:n&&(r=!1),n=!0;break;case 71:r=!1}return da.setTextPos(t),ne(e)}function n(e){var t=da.getTokenPos(),r=x();if(r&&X(23)){var i=te(233,t);return i.flags|=e,i.name=r,i.body=n(4),i}return r&&4&e&&(r.isInJSDocNamespace=!0),r}var i=f();s();var a=te(290,e.pos);if(a.atToken=e,a.tagName=t,a.fullName=n(0),a.fullName)for(var o=a.fullName;;){if(71===o.kind||!o.body){a.name=71===o.kind?o:o.name;break}o=o.body}if(a.typeExpression=i,s(),i){if(277===i.type.kind){var c=i.type;if(71===c.name.kind){"Object"===c.name.text&&(a.jsDocTypeLiteral=r())}}a.jsDocTypeLiteral||(a.jsDocTypeLiteral=i.type)}else a.jsDocTypeLiteral=r();return ne(a)}function v(t){e.Debug.assert(57===R());var r=te(57,da.getStartPos());r.end=da.getTextPos(),k();var n=x();if(s(),!n)return!1;switch(n.text){case"type":return!t.jsDocTypeTag&&(t.jsDocTypeTag=g(r,n),!0);case"prop":case"property":var i=m(r,n);return!!i&&(t.jsDocPropertyTags||(t.jsDocPropertyTags=[]),t.jsDocPropertyTags.push(i),!0)}return!1}function b(t,r){e.forEach(D,function(e){return 289===e.kind})&&M(r.pos,da.getTokenPos()-r.pos,e.Diagnostics._0_tag_already_specified,r.text);for(var n=re();;){var i=x();if(s(),!i)return void M(da.getStartPos(),0,e.Diagnostics.Identifier_expected);var a=te(145,i.pos);if(a.name=i,ne(a),n.push(a),26!==R())break;k(),s()}var o=te(289,t.pos);return o.atToken=t,o.tagName=r,o.typeParameters=n,ne(o),n.end=o.end,o}function k(){return ia=da.scanJSDocToken()}function x(){return S(e.tokenIsIdentifierOrKeyword(R()))}function S(t){if(!t)return void P(e.Diagnostics.Identifier_expected);var r=da.getTokenPos(),n=da.getTextPos(),i=te(71,r);return i.text=C.substring(r,n),ne(i,n),k(),i}var C=aa;t=t||0;var E=void 0===r?C.length:t+r;r=E-t,e.Debug.assert(t>=0),e.Debug.assert(t<=E),e.Debug.assert(E<=C.length);var D,T,w=[];return function(e,t){return 47===e.charCodeAt(t)&&42===e.charCodeAt(t+1)&&42===e.charCodeAt(t+2)&&42!==e.charCodeAt(t+3)}(C,t)?(da.scanRange(t+3,r-5,function(){function e(e){s||(s=u),w.push(e),u+=e.length}var r=!0,i=1,s=void 0,u=t-Math.max(C.lastIndexOf("\n",t),0)+4;for(k();5===R();)k();for(4===R()&&(i=0,u=0,k());1!==R();){switch(R()){case 57:0===i||1===i?(a(w),c(u),i=0,r=!1,s=void 0,u++):e(da.getTokenText());break;case 4:w.push(da.getTokenText()),i=0,u=0;break;case 39:var l=da.getTokenText();1===i||2===i?(i=2,e(l)):(i=1,u+=l.length);break;case 71:e(da.getTokenText()),i=2;break;case 5:var d=da.getTokenText();2===i?w.push(d):void 0!==s&&u+d.length>s&&w.push(d.slice(s-u-1)),u+=d.length;break;case 1:break;default:i=2,e(da.getTokenText())}r?k():r=!0}n(w),a(w),T=o()}),T):T}t.isJSDocType=r,t.parseJSDocTypeExpressionForTests=n,t.parseJSDocTypeExpression=i,t.parseIsolatedJSDocComment=N,t.parseJSDocComment=O;var F;!function(e){e[e.BeginningOfLine=0]="BeginningOfLine",e[e.SawAsterisk=1]="SawAsterisk",e[e.SavingComments=2]="SavingComments"}(F||(F={})),t.parseJSDocCommentWorker=I}(ma=t.JSDocParser||(t.JSDocParser={}))}(m||(m={}));var h;!function(t){function r(t,r,n,i){if(i=i||e.Debug.shouldAssert(2),d(t,r,n,i),e.textChangeRangeIsUnchanged(n))return t;if(0===t.statements.length)return m.parseSourceFile(t.fileName,r,t.languageVersion,void 0,!0,t.scriptKind);var a=t;e.Debug.assert(!a.hasBeenIncrementallyParsed),a.hasBeenIncrementallyParsed=!0;var o=t.text,s=f(t),l=u(t,n);d(t,r,l,i),e.Debug.assert(l.span.start<=n.span.start),e.Debug.assert(e.textSpanEnd(l.span)===e.textSpanEnd(n.span)),e.Debug.assert(e.textSpanEnd(e.textChangeRangeNewSpan(l))===e.textSpanEnd(e.textChangeRangeNewSpan(n)));var _=e.textChangeRangeNewSpan(l).length-l.span.length;return c(a,l.span.start,e.textSpanEnd(l.span),e.textSpanEnd(e.textChangeRangeNewSpan(l)),_,o,r,i),m.parseSourceFile(t.fileName,r,t.languageVersion,s,!0,t.scriptKind)}function n(t,r,n,o,c,u){function l(t){var r="";if(u&&i(t)&&(r=o.substring(t.pos,t.end)),t._children&&(t._children=void 0),t.pos+=n,t.end+=n,u&&i(t)&&e.Debug.assert(r===c.substring(t.pos,t.end)),a(t,l,d),t.jsDoc)for(var f=0,_=t.jsDoc;f<_.length;f++){var p=_[f];a(p,l,d)}s(t,u)}function d(e){e._children=void 0,e.pos+=n,e.end+=n;for(var t=0,r=e;t=r,"Adjusting an element that was entirely before the change range"),e.Debug.assert(t.pos<=n,"Adjusting an element that was entirely after the change range"),e.Debug.assert(t.pos<=t.end),t.pos=Math.min(t.pos,i),t.end>=n?t.end+=a:t.end=Math.min(t.end,i),e.Debug.assert(t.pos<=t.end),t.parent&&(e.Debug.assert(t.pos>=t.parent.pos),e.Debug.assert(t.end<=t.parent.end))}function s(t,r){if(r){var n=t.pos;a(t,function(t){e.Debug.assert(t.pos>=n),n=t.end}),e.Debug.assert(n<=t.end)}}function c(t,r,i,c,u,l,d,f){function _(t){if(e.Debug.assert(t.pos<=t.end),t.pos>i)return void n(t,!1,u,l,d,f);var g=t.end;if(g>=r)return t.intersectsChange=!0,t._children=void 0,o(t,r,i,c,u),a(t,_,p),void s(t,f);e.Debug.assert(gi)return void n(t,!0,u,l,d,f);var a=t.end;if(a>=r){t.intersectsChange=!0,t._children=void 0,o(t,r,i,c,u);for(var s=0,p=t;s0&&i<=1;i++){var a=l(t,n);e.Debug.assert(a.pos<=n);var o=a.pos;n=Math.max(0,o-1)}var s=e.createTextSpanFromBounds(n,e.textSpanEnd(r.span)),c=r.newLength+(r.span.start-n);return e.createTextChangeRange(s,c)}function l(t,r){function n(t){var r=void 0;return a(t,function(t){e.nodeIsPresent(t)&&(r=t)}),r}function i(t){if(!e.nodeIsMissing(t))return t.pos<=r?(t.pos>=s.pos&&(s=t),rr),!0)}var o,s=t;if(a(t,i),o){var c=function(e){for(;;){var t=n(e);if(!t)return e;e=t}}(o);c.pos>s.pos&&(s=c)}return s}function d(t,r,n,i){var a=t.text;if(n&&(e.Debug.assert(a.length-n.span.length+n.newLength===r.length),i||e.Debug.shouldAssert(3))){var o=a.substr(0,n.span.start),s=r.substr(0,n.span.start);e.Debug.assert(o===s);var c=a.substring(e.textSpanEnd(n.span),a.length),u=r.substring(e.textSpanEnd(e.textChangeRangeNewSpan(n)),r.length);e.Debug.assert(c===u)}}function f(t){function r(e){function r(t){return e>=t.pos&&e=t.pos&&e=158&&e<=173)return-3;switch(e){case 181:case 182:case 177:return 537396545;case 233:return 574674241;case 146:return 536872257;case 187:return 601249089;case 186:case 228:return 601281857;case 227:return 546309441;case 229:case 199:return 539358529;case 152:return 601015617;case 151:case 153:case 154:return 601015617;case 119:case 133:case 130:case 136:case 134:case 122:case 137:case 105:case 145:case 148:case 150:case 155:case 156:case 157:case 230:case 231:return-3;case 178:return 540087617;case 260:return 537920833;case 174:case 175:return 537396545;default:return 536872257}}!function(e){e[e.NonInstantiated=0]="NonInstantiated",e[e.Instantiated=1]="Instantiated",e[e.ConstEnumOnly=2]="ConstEnumOnly"}(e.ModuleInstanceState||(e.ModuleInstanceState={})),e.getModuleInstanceState=t;var M;!function(e){e[e.None=0]="None",e[e.IsContainer=1]="IsContainer",e[e.IsBlockScopedContainer=2]="IsBlockScopedContainer",e[e.IsControlFlowContainer=4]="IsControlFlowContainer",e[e.IsFunctionLike=8]="IsFunctionLike",e[e.IsFunctionExpression=16]="IsFunctionExpression",e[e.HasLocals=32]="HasLocals",e[e.IsInterface=64]="IsInterface",e[e.IsObjectLiteralOrClassExpressionMethod=128]="IsObjectLiteralOrClassExpressionMethod"}(M||(M={}));var O=function(){function r(t,r){Dt=t,Tt=r,wt=e.getEmitScriptTarget(Tt),Ut=i(Dt,r),Ht=e.createMap(),Gt=0,Wt=e.isDeclarationFile(Dt),Vt=e.objectAllocator.getSymbolConstructor(),Dt.locals||(He(Dt),Dt.symbolCount=Gt,Dt.classifiableNames=Ht),Dt=void 0,Tt=void 0,wt=void 0,At=void 0,Nt=void 0,Pt=void 0,Mt=void 0,Ot=!1,It=void 0,Ft=void 0,Rt=void 0,Lt=void 0,Bt=void 0,jt=void 0,Kt=void 0,Jt=!1,qt=0,Qt=0}function i(t,r){return!((void 0===r.alwaysStrict?!r.strict:!r.alwaysStrict)||e.isDeclarationFile(t))||!!t.externalModuleIndicator}function a(e,t){return Gt++,new Vt(e,t)}function o(t,r,n){if(t.flags|=n,r.symbol=t,t.declarations||(t.declarations=[]),t.declarations.push(r),1952&n&&!t.exports&&(t.exports=e.createMap()),6240&n&&!t.members&&(t.members=e.createMap()),107455&n){var i=t.valueDeclaration;(!i||i.kind!==r.kind&&233===i.kind)&&(t.valueDeclaration=r)}}function s(t){if(t.name){if(e.isAmbientModule(t))return e.isGlobalScopeAugmentation(t)?"__global":'"'+t.name.text+'"';if(144===t.name.kind){var r=t.name.expression;return e.isStringOrNumericLiteral(r)?r.text:(e.Debug.assert(e.isWellKnownSymbolSyntactically(r)),e.getPropertyNameForKnownSymbolName(r.name.text))}return t.name.text}switch(t.kind){case 152:return"__constructor";case 160:case 155:return"__call";case 161:case 156:return"__new";case 157:return"__index";case 244:return"__export";case 243:return t.isExportEquals?"export=":"default";case 194:switch(e.getSpecialPropertyAssignmentKind(t)){case 2:return"export=";case 1:case 4:case 5:return t.left.name.text;case 3:return t.left.expression.name.text}e.Debug.fail("Unknown binary declaration kind");break;case 228:case 229:return e.hasModifier(t,512)?"default":void 0;case 279:return e.isJSDocConstructSignature(t)?"__new":"__call";case 146:e.Debug.assert(279===t.parent.kind);var n=t.parent;return"arg"+e.indexOf(n.parameters,t);case 290:var i=t.parent&&t.parent.parent,a=void 0;if(i&&208===i.kind&&i.declarationList.declarations.length>0){var o=i.declarationList.declarations[0].name;71===o.kind&&(a=o.text)}return a}}function c(t){return t.name?e.declarationNameToString(t.name):s(t)}function u(t,r,n,i,u){e.Debug.assert(!e.hasDynamicName(n));var l,d=e.hasModifier(n,512),f=d&&r?"default":s(n);if(void 0===f)l=a(0,"__missing");else if(l=t.get(f),l||t.set(f,l=a(0,f)),f&&788448&i&&Ht.set(f,f),l.flags&u)if(l.isReplaceableByMethod)t.set(f,l=a(0,f));else{n.name&&(n.name.parent=n);var _=2&l.flags?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0;l.declarations&&l.declarations.length&&(d?_=e.Diagnostics.A_module_cannot_have_multiple_default_exports:l.declarations&&l.declarations.length&&(d||243===n.kind&&!n.isExportEquals)&&(_=e.Diagnostics.A_module_cannot_have_multiple_default_exports)),e.forEach(l.declarations,function(t){Dt.bindDiagnostics.push(e.createDiagnosticForNode(t.name||t,_,c(t)))}),Dt.bindDiagnostics.push(e.createDiagnosticForNode(n.name||n,_,c(n))),l=a(0,f)}return o(l,n,i),l.parent=r,l}function l(t,r,n){var i=1&e.getCombinedModifierFlags(t);if(8388608&r)return 246===t.kind||237===t.kind&&i?u(Nt.symbol.exports,Nt.symbol,t,r,n):u(Nt.locals,void 0,t,r,n);var a=290===t.kind&&t.name&&71===t.name.kind&&t.name.isInJSDocNamespace;if(!e.isAmbientModule(t)&&(i||32&Nt.flags)||a){var o=(107455&r?1048576:0)|(793064&r?2097152:0)|(1920&r?4194304:0),s=u(Nt.locals,void 0,t,o,n);return s.exportSymbol=u(Nt.symbol.exports,Nt.symbol,t,r,n),t.localSymbol=s,s}return u(Nt.locals,void 0,t,r,n)}function d(t,r){var n=Nt,i=Pt;if(1&r?(Nt=Pt=t,32&r&&(Nt.locals=e.createMap()),_e(Nt)):2&r&&(Pt=t,Pt.locals=void 0),4&r){var a=It,o=Ft,s=Rt,c=Lt,u=Kt,l=Jt,d=16&r&&!e.hasModifier(t,256)&&!!e.getImmediatelyInvokedFunctionExpression(t);d?Lt=x():(It={flags:2},144&r&&(It.container=t),Lt=void 0),Ft=void 0,Rt=void 0,Kt=void 0,Jt=!1,f(t),t.flags&=-1409,!(1&It.flags)&&8&r&&e.nodeIsPresent(t.body)&&(t.flags|=128,Jt&&(t.flags|=256)),265===t.kind&&(t.flags|=qt),d?(E(Lt,It),It=N(Lt)):It=a,Ft=o,Rt=s,Lt=c,Kt=u,Jt=l}else 64&r?(Ot=!1,f(t),t.flags=Ot?64|t.flags:-65&t.flags):f(t);Nt=n,Pt=i}function f(e){if(Wt)g(e);else if(536870912&e.transformFlags)Wt=!0,g(e),Wt=!1,Qt|=e.transformFlags&~P(e.kind);else{var t=Qt;Qt=0,g(e),Qt=t|n(e,Qt)}}function _(t){if(void 0!==t)if(Wt)e.forEach(t,He);else{var r=Qt;Qt=0;for(var n=0,i=0,a=t;i=108&&t.originalKeywordKind<=116&&!e.isIdentifierName(t)&&!e.isInAmbientContext(t)&&(Dt.parseDiagnostics.length||Dt.bindDiagnostics.push(e.createDiagnosticForNode(t,Ne(t),e.declarationNameToString(t))))}function Ne(t){return e.getContainingClass(t)?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:Dt.externalModuleIndicator?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode}function Pe(t){Ut&&e.isLeftHandSideExpression(t.left)&&e.isAssignmentOperator(t.operatorToken.kind)&&Fe(t,t.left)}function Me(e){Ut&&e.variableDeclaration&&Fe(e,e.variableDeclaration.name)}function Oe(t){if(Ut&&71===t.expression.kind){var r=e.getErrorSpanForNode(Dt,t.expression);Dt.bindDiagnostics.push(e.createFileDiagnostic(Dt,r.start,r.length,e.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}function Ie(e){return 71===e.kind&&("eval"===e.text||"arguments"===e.text)}function Fe(t,r){if(r&&71===r.kind){var n=r;if(Ie(n)){var i=e.getErrorSpanForNode(Dt,r);Dt.bindDiagnostics.push(e.createFileDiagnostic(Dt,i.start,i.length,Re(t),n.text))}}}function Re(t){return e.getContainingClass(t)?e.Diagnostics.Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode:Dt.externalModuleIndicator?e.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode:e.Diagnostics.Invalid_use_of_0_in_strict_mode}function Le(e){Ut&&Fe(e,e.name)}function Be(t){return e.getContainingClass(t)?e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:Dt.externalModuleIndicator?e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:e.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5}function je(t){if(wt<2&&265!==Pt.kind&&233!==Pt.kind&&!e.isFunctionLike(Pt)){var r=e.getErrorSpanForNode(Dt,t);Dt.bindDiagnostics.push(e.createFileDiagnostic(Dt,r.start,r.length,Be(t)))}}function ze(t){Ut&&4&t.numericLiteralFlags&&Dt.bindDiagnostics.push(e.createDiagnosticForNode(t,e.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode))}function Ke(e){Ut&&Fe(e,e.operand)}function Je(e){Ut&&(43!==e.operator&&44!==e.operator||Fe(e,e.operand))}function qe(t){Ut&&Ue(t,e.Diagnostics.with_statements_are_not_allowed_in_strict_mode)}function Ue(t,r,n,i,a){var o=e.getSpanOfTokenAtPosition(Dt,t.pos);Dt.bindDiagnostics.push(e.createFileDiagnostic(Dt,o.start,o.length,r,n,i,a))}function Ve(t){return"__"+e.indexOf(t.parent.parameters,t)}function He(t){if(t){t.parent=At;var r=Ut;if(e.isInJavaScriptFile(t)&&We(t),Ye(t),t.kind>142){var i=At;At=t;var a=fe(t);0===a?f(t):d(t,a),At=i}else Wt||0!=(536870912&t.transformFlags)||(Qt|=n(t,0));Ut=r}}function We(e){if(e.jsDoc)for(var t=0,r=e.jsDoc;t1);if(e.isGlobalScopeAugmentation(r))h(uv,r.symbol.exports);else{var n=e.isInAmbientContext(t.parent.parent)?void 0:e.Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found,i=oe(t,t,n,!0);if(!i)return;i=ce(i),1920&i.flags?(i=134217728&i.flags?i:g(i),m(i,r.symbol)):l(t,e.Diagnostics.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,t.text)}}function v(t,r,n){function i(t,r){return function(n){return Nv.add(e.createDiagnosticForNode(n,r,t))}}r.forEach(function(r,a){var o=t.get(a);o?e.forEach(o.declarations,i(a,n)):t.set(a,r)})}function b(e){if(134217728&e.flags)return e;var t=r(e);return vv[t]||(vv[t]={})}function k(e){var r=t(e);return bv[r]||(bv[r]={flags:0})}function x(e){return 32768&e.flags?e.objectFlags:0}function S(e){return 134217728&e.flags?e.checkFlags:0}function C(t){return 265===t.kind&&!e.isExternalOrCommonJsModule(t)}function E(t,r,n){if(n){var i=t.get(r);if(i){if(e.Debug.assert(0==(1&S(i)),"Should never get an instantiated symbol here."),i.flags&n)return i;if(8388608&i.flags){var a=$(i);if(a===$h||a.flags&n)return i}}}}function D(t,r){var n=t.parent,i=t.parent.parent,a=E(n.locals,r,107455),o=E(i.symbol.members,r,107455);if(a&&o)return[a,o];e.Debug.fail("There should exist two symbols, one as property declaration and one as parameter declaration")}function T(t,r){function i(t,r,n){return!!e.findAncestor(t,function(i){if(i===n)return"quit";if(e.isFunctionLike(i))return!0;if(i.parent&&149===i.parent.kind&&i.parent.initializer===i)if(32&e.getModifierFlags(i.parent)){if(151===r.kind)return!0}else{var a=149===r.kind&&!(32&e.getModifierFlags(r));if(!a||e.getContainingClass(t)!==e.getContainingClass(r))return!0}})}var a=e.getSourceFileOfNode(t),o=e.getSourceFileOfNode(r);if(a!==o){if(Fh&&(a.externalModuleIndicator||o.externalModuleIndicator)||!Oh.outFile&&!Oh.out)return!0;if(i(r,t))return!0;var s=n.getSourceFiles();return e.indexOf(s,a)<=e.indexOf(s,o)}if(t.pos<=r.pos){if(176===t.kind){var c=e.getAncestor(r,176);return c?e.findAncestor(c,e.isBindingElement)!==e.findAncestor(t,e.isBindingElement)||t.pos=o&&(a=a.substr(0,o-"...".length)+"..."),a}function He(t,r,n){var i=e.getSingleLineStringWriter();$e().buildTypePredicateDisplay(t,i,r,n);var a=i.string();return e.releaseStringWriter(i),a}function We(e){for(var t=[],r=0,n=0;n0&&(26!==t&&Je(i),Ke(i,t),Je(i)),c(e[r],26===t?0:64)}function l(e,t,r,o,s){if((32&e.flags||!Te(e.name))&&n(e,i,a,793064,0,s),r0&&(Ke(t,26),Je(t)),r(e[n])}function _(e,t,r,n){if(e&&e.length){Ke(r,27);for(var a=256,o=0;o0&&(Ke(r,26),Je(r),a=0),i(t(e[o]),r,n,a);Ke(r,29)}}function p(e,t,r,n,i,a){Ke(r,19),e&&s(e,r,n,i,a);for(var o=0;o0||e)&&(Ke(r,26),Je(r)),s(t[o],r,n,i,a);Ke(r,20)}function g(t,r,n,a,o){e.isIdentifierTypePredicate(t)?r.writeParameter(t.parameterName):ze(r,99),Je(r),ze(r,126),Je(r),i(t.type,r,n,a,o)}function m(e,t,r,n,a){var o=In(e);2048&n&&ut(o)||(8&n?(Je(t),Ke(t,36)):Ke(t,56),Je(t),e.typePredicate?g(e.typePredicate,t,r,n,a):i(o,t,r,n,a))}function h(e,t,r,n,i,a){1===i&&(ze(t,94),Je(t)),e.target&&32&n?_(e.target.typeParameters,e.mapper,t,r):l(e.typeParameters,t,r,n,a),p(e.thisParameter,e.parameters,t,r,n,a),m(e,t,r,n,a)}function y(t,r,n,a,o,s){if(t){switch(t.isReadonly&&(ze(r,131),Je(r)),Ke(r,21),r.writeParameter(t.declaration?e.declarationNameToString(t.declaration.parameters[0].name):"x"),Ke(r,56),Je(r),n){case 1:ze(r,133);break;case 0:ze(r,136)}Ke(r,22),Ke(r,56),Je(r),i(t.type,r,a,o,s),Ke(r,25),r.writeLine()}}return Fv||(Fv={buildSymbolDisplay:n,buildTypeDisplay:i,buildTypeParameterDisplay:o,buildTypePredicateDisplay:g,buildParameterDisplay:s,buildDisplayForParametersAndDelimiters:p,buildDisplayForTypeParametersAndDelimiters:l,buildTypeParameterDisplayFromSymbol:a,buildSignatureDisplay:h,buildIndexSignatureDisplay:y,buildReturnTypeDisplay:m})}function et(t){if(t){var r=k(t);return void 0===r.isVisible&&(r.isVisible=!!function(){switch(t.kind){case 176:return et(t.parent.parent);case 226:if(e.isBindingPattern(t.name)&&!t.name.elements.length)return!1;case 233:case 229:case 230:case 231:case 228:case 232:case 237:if(e.isExternalModuleAugmentation(t))return!0;var r=ot(t);return 1&e.getCombinedModifierFlags(t)||237!==t.kind&&265!==r.kind&&e.isInAmbientContext(r)?et(r):C(r);case 149:case 148:case 153:case 154:case 151:case 150:if(24&e.getModifierFlags(t))return!1;case 152:case 156:case 155:case 157:case 146:case 234:case 160:case 161:case 163:case 159:case 164:case 165:case 166:case 167:case 168:return et(t.parent);case 239:case 240:case 242:return!1;case 145:case 265:case 236:return!0;case 243:default:return!1}}()),r.isVisible}return!1}function tt(t){function r(t){e.forEach(t,function(t){k(t).isVisible=!0;var n=B(t)||t;if(e.contains(a,n)||a.push(n),e.isInternalModuleImportEqualsDeclaration(t)){var i=t.moduleReference,o=Qp(i),s=w(t,o.text,901119,void 0,void 0);s&&r(s.declarations)}})}var n;if(t.parent&&243===t.parent.kind)n=w(t.parent,t.text,9289727,e.Diagnostics.Cannot_find_name_0,t);else if(246===t.parent.kind){var i=t.parent;n=i.parent.parent.moduleSpecifier?H(i.parent.parent,i):ie(i.propertyName||i.name,9289727)}var a=[];return n&&r(n.declarations),a}function rt(e,t){var r=nt(e,t);if(r>=0){for(var n=gv.length,i=r;i=0;r--){if(it(gv[r],hv[r]))return-1;if(gv[r]===e&&hv[r]===t)return r}return-1}function it(t,r){return 0===r?b(t).type:2===r?b(t).declaredType:1===r?t.resolvedBaseConstructorType:3===r?t.resolvedReturnType:void e.Debug.fail("Unhandled TypeSystemPropertyName "+r)}function at(){return gv.pop(),hv.pop(),mv.pop()}function ot(t){return(t=e.findAncestor(e.getRootDeclaration(t),function(e){switch(e.kind){case 226:case 227:case 242:case 241:case 240:case 239:return!1;default:return!0}}))&&t.parent}function st(t){var r=_r(be(t));return r.typeParameters?Xn(r,e.map(r.typeParameters,function(e){return ty})):r}function ct(e,t){var r=dn(e,t);return r?Lt(r):void 0}function ut(e){return e&&0!=(1&e.flags)}function lt(e){var t=ve(e);return t&&b(t).type||yt(e,!1)}function dt(t){return 144===t.kind&&!e.isStringOrNumericLiteral(t.expression)}function ft(t,r,n){if(t=xc(t,function(e){return!(6144&e.flags)}),8192&t.flags)return yy;if(65536&t.flags)return Sc(t,function(e){return ft(e,r,n)});for(var i=e.createMap(),a=e.createMap(),o=0,s=r;o=2?Oi(ty):Oy;var o=e.map(i,function(t){return e.isOmittedExpression(t)?ty:bt(t,r,n)}),s=ji(o);return r&&(s=Yn(s),s.pattern=t),s}function St(e,t,r){return 174===e.kind?kt(e,t,r):xt(e,t,r)}function Ct(e,t){var r=yt(e,!0);return r?(t&&ys(e,r),261===e.kind?r:gs(r)):(r=e.dotDotDotToken?Oy:ty,t&&jh&&(Et(e)||hs(e,r)),r)}function Et(t){var r=e.getRootDeclaration(t);return p_(146===r.kind?r.parent:r)}function Dt(t){var r=b(t);if(!r.type){if(16777216&t.flags)return r.type=st(t);var n=t.valueDeclaration;if(e.isCatchClauseVariableDeclarationOrBindingElement(n))return r.type=ty;if(243===n.kind)return r.type=jf(n.expression);if(65536&n.flags&&291===n.kind&&n.typeExpression)return r.type=Na(n.typeExpression.type);if(!rt(t,0))return ny;var i=void 0;i=194===n.kind||179===n.kind&&194===n.parent.kind?vt(t):Ct(n,!0),at()||(i=Rt(t)),r.type=i}return r.type}function Tt(t){if(t){if(153===t.kind)return t.type&&Na(t.type);var r=e.getSetAccessorTypeAnnotationNode(t);return r&&Na(r)}}function wt(e){var t=Xm(e);return t&&t.symbol}function At(e){return On(wn(e))}function Nt(t){var r=b(t);if(!r.type){var n=e.getDeclarationOfKind(t,153),i=e.getDeclarationOfKind(t,154);if(n&&65536&n.flags){var a=pt(n);if(a)return r.type=a}if(!rt(t,0))return ny;var o=void 0,s=Tt(n);if(s)o=s;else{var c=Tt(i);c?o=c:n&&n.body?o=zd(n):(jh&&(i?l(i,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,qe(t)):(e.Debug.assert(!!n,"there must existed getter as we are current checking either setter or getter in this function"),l(n,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,qe(t)))),o=ty)}if(!at()&&(o=ty,jh)){l(e.getDeclarationOfKind(t,153),e.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,qe(t))}r.type=o}return r.type}function Pt(e){var t=Qt(ir(e));return 540672&t.flags?t:void 0}function Mt(t){var r=b(t);if(!r.type)if(1536&t.flags&&e.isShorthandAmbientModuleSymbol(t))r.type=ty;else{var n=De(16,t);if(32&t.flags){var i=Pt(t);r.type=i?ta([n,i]):n}else r.type=Bh&&67108864&t.flags?as(n,2048):n}return r.type}function Ot(e){var t=b(e);return t.type||(t.type=lr(e)),t.type}function It(e){var t=b(e);if(!t.type){var r=$(e);t.type=107455&r.flags?Lt(r):ny}return t.type}function Ft(t){var r=b(t);if(!r.type)if(100===Nh)l(t.valueDeclaration,e.Diagnostics.Generic_type_instantiation_is_excessively_deep_and_possibly_infinite),r.type=ny;else{if(!rt(t,0))return ny;Nh++;var n=to(Lt(r.target),r.mapper);Nh--,at()||(n=Rt(t)),r.type=n}return r.type}function Rt(t){return t.valueDeclaration.type?(l(t.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,qe(t)),ny):(jh&&l(t.valueDeclaration,e.Diagnostics._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,qe(t)),ty)}function Lt(e){return 1&S(e)?Ft(e):7&e.flags?Dt(e):9136&e.flags?Mt(e):8&e.flags?Ot(e):98304&e.flags?Nt(e):8388608&e.flags?It(e):ny}function Bt(e,t){return void 0!==e&&void 0!==t&&0!=(4&x(e))&&e.target===t}function jt(e){return 4&x(e)?e.target:e}function zt(t,r){function n(t){if(7&x(t)){var i=jt(t);return i===r||e.forEach(Zt(i),n)}if(131072&t.flags)return e.forEach(t.types,n)}return n(t)}function Kt(t,r){for(var n=0,i=r;n0)return!0;if(540672&e.flags){var t=tn(e);return t&&tr(t)&&Ht(t)}return!1}function Gt(t){return e.getClassExtendsHeritageClauseElement(t.symbol.valueDeclaration)}function Xt(t,r,n){var i=e.length(r),a=e.isInJavaScriptFile(n);return e.filter(_n(t,1),function(t){return(a||i>=Dn(t.typeParameters))&&i<=e.length(t.typeParameters)})}function Yt(t,r,n){var i=Xt(t,r,n);if(r){var a=e.map(r,Na);i=e.map(i,function(e){return Rn(e,a)})}return i}function Qt(t){if(!t.resolvedBaseConstructorType){var r=Gt(t);if(!r)return t.resolvedBaseConstructorType=iy;if(!rt(t,1))return ny;var n=jf(r.expression);if(163840&n.flags&&Wr(n),!at())return l(t.symbol.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,qe(t.symbol)),t.resolvedBaseConstructorType=ny;if(!(1&n.flags||n===sy||Wt(n)))return l(r.expression,e.Diagnostics.Type_0_is_not_a_constructor_function_type,Ve(n)),t.resolvedBaseConstructorType=ny;t.resolvedBaseConstructorType=n}return t.resolvedBaseConstructorType}function Zt(t){return t.resolvedBaseTypes||(8&t.objectFlags?t.resolvedBaseTypes=[Fi(Yi(t.typeParameters))]:96&t.symbol.flags?(32&t.symbol.flags&&$t(t),64&t.symbol.flags&&rr(t)):e.Debug.fail("type must be class or interface")),t.resolvedBaseTypes}function $t(t){t.resolvedBaseTypes=t.resolvedBaseTypes||Ph;var r=sn(Qt(t));if(163841&r.flags){var n,i=Gt(t),a=r&&r.symbol?_r(r.symbol):void 0;if(r.symbol&&32&r.symbol.flags&&er(a))n=Zn(i,r.symbol);else if(1&r.flags)n=r;else{var o=Yt(r,i.typeArguments,i);if(!o.length)return void l(i.expression,e.Diagnostics.No_base_constructor_has_the_specified_number_of_type_arguments);n=In(o[0])}var s=t.symbol.valueDeclaration;if(s&&e.isInJavaScriptFile(s)){var c=e.getJSDocAugmentsTag(t.symbol.valueDeclaration);c&&(n=Na(c.typeExpression.type))}if(n!==ny)return tr(n)?t===n||zt(n,t)?void l(s,e.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,Ve(t,void 0,1)):void(t.resolvedBaseTypes===Ph?t.resolvedBaseTypes=[n]:t.resolvedBaseTypes.push(n)):void l(i.expression,e.Diagnostics.Base_constructor_return_type_0_is_not_a_class_or_interface_type,Ve(n))}}function er(e){var t=e.outerTypeParameters;if(t){var r=t.length-1,n=e.typeArguments;return t[r].symbol!==n[r].symbol}return!0}function tr(t){return 16809985&t.flags&&!Hr(t)||131072&t.flags&&!e.forEach(t.types,function(e){return!tr(e)})}function rr(t){t.resolvedBaseTypes=t.resolvedBaseTypes||Ph;for(var r=0,n=t.symbol.declarations;r1&&(r.flags|=65536,r.types=n,Wh.set(Wn(n),r))}}return t.declaredType}function lr(e){var t=b(e);if(!t.declaredType){var r=ur(be(e));t.declaredType=65536&r.flags?r.memberTypes[rm(e.valueDeclaration)]:r}return t.declaredType}function dr(e){var t=b(e);if(!t.declaredType){var r=Ce(16384);r.symbol=e,t.declaredType=r}return t.declaredType}function fr(e){var t=b(e);return t.declaredType||(t.declaredType=_r($(e))),t.declaredType}function _r(e){return 96&e.flags?ir(e):524288&e.flags?ar(e):262144&e.flags?dr(e):384&e.flags?ur(e):8&e.flags?lr(e):8388608&e.flags?fr(e):ny}function pr(e){if(e.typeArguments)for(var t=0,r=e.typeArguments;t=f)&&s<=_){var p=_?Ln(d,Tn(o,d.typeParameters,f,i)):wr(d);p.typeParameters=t.localTypeParameters,p.resolvedReturnType=t,c.push(p)}}return c}function Nr(e,t,r,n,i){for(var a=0,o=e;a0)return;for(var i=1;i1){if(l=wr(c),e.forEach(u,function(e){return e.thisParameter})){var d=Yi(e.map(u,function(e){return Lt(e.thisParameter)||ty}),!0);l.thisParameter=us(c.thisParameter,d)}l.resolvedReturnType=void 0,l.unionSignatures=u}(i||(i=[])).push(l)}}}return i||Ph}function Or(e,t){for(var r=[],n=!1,i=0,a=e;i0&&(l=e.map(l,function(e){var t=wr(e);return t.resolvedReturnType=Br(In(e),o,c),t})),a=e.concatenate(a,l)}i=e.concatenate(i,_n(u,0)),r=Rr(r,mn(u,0)),n=Rr(n,mn(u,1))}(c);Ae(t,Mh,i,a,r,n)}function zr(e){var t=e.symbol;if(e.target){var r=br(Gr(e.target),e.mapper,!1),n=Oa(_n(e.target,0),e.mapper),i=Oa(_n(e.target,1),e.mapper),a=no(mn(e.target,0),e.mapper),o=no(mn(e.target,1),e.mapper);Ae(e,r,n,i,a,o)}else if(2048&t.flags){var r=t.members,n=Pn(r.get("__call")),i=Pn(r.get("__new")),a=qn(t,0),o=qn(t,1);Ae(e,r,n,i,a,o)}else{var r=Mh,i=Ph,a=void 0;if(t.exports&&(r=pe(t)),32&t.flags){var s=ir(t);i=Pn(t.members.get("__constructor")),i.length||(i=Ar(s));var c=Qt(s);704512&c.flags?(r=vr(we(r)),kr(r,Qr(c))):c===ty&&(a=Jn(ty,!1))}var o=384&t.flags?sv:void 0;Ae(e,r,Ph,i,a,o),8208&t.flags&&(e.callSignatures=Pn(t))}}function Kr(t){function r(e,r){var o=Ba([a],[e]),f=t.mapper?qa(t.mapper,o):o,_=to(s,f);if(32&e.flags){var p=e.text,g=dn(c,p),m=l||!!(g&&67108864&g.flags),h=d(4|(m?67108864:0),p);h.checkFlags=u||g&&Xd(g)?8:0,h.type=_,r&&(h.syntheticOrigin=r),i.set(p,h)}else 2&e.flags&&(n=Jn(_,u))}var n,i=e.createMap();Ae(t,Mh,Ph,Ph,void 0,void 0);var a=Jr(t),o=qr(t),s=Ur(t),c=sn(Vr(t)),u=!!t.declaration.readonlyToken,l=!!t.declaration.questionToken;if(170===t.declaration.typeParameter.constraint.kind){for(var f=0,_=Qr(c);f<_.length;f++){var p=_[f];r(ia(p),p)}mn(c,0)&&r(cy)}else{var g=540672&o.flags?sn(o):o;kc(262144&g.flags?oa(sn(g.type)):g,r)}Ae(t,i,Ph,Ph,n,void 0)}function Jr(e){return e.typeParameter||(e.typeParameter=dr(ve(e.declaration.typeParameter)))}function qr(e){return e.constraintType||(e.constraintType=to($r(Jr(e)),e.mapper||Ja)||ny)}function Ur(e){return e.templateType||(e.templateType=e.declaration.type?to(ht(Na(e.declaration.type),!!e.declaration.questionToken),e.mapper||Ja):ny)}function Vr(e){if(!e.modifiersType){var t=e.declaration.typeParameter.constraint;if(170===t.kind)e.modifiersType=to(Na(t.type),e.mapper||Ja);else{var r=pa(e.declaration),n=qr(r),i=n&&16384&n.flags?$r(n):n;e.modifiersType=i&&262144&i.flags?to(i.type,e.mapper||Ja):yy}}return e.modifiersType}function Hr(e){if(32&x(e)){return of(qr(e),802816)}return!1}function Wr(e){return e.members||(32768&e.flags?4&e.objectFlags?Dr(e):3&e.objectFlags?Er(e):16&e.objectFlags?zr(e):32&e.objectFlags&&Kr(e):65536&e.flags?Ir(e):131072&e.flags&&jr(e)),e}function Gr(e){return 32768&e.flags?Wr(e).properties:Ph}function Xr(e,t){if(32768&e.flags){var r=Wr(e),n=r.members.get(t);if(n&&xe(n))return n}}function Yr(t){if(!t.resolvedProperties){for(var r=e.createMap(),n=0,i=t.types;n=2):16777216&t.flags?yy:t}function cn(t,r){for(var n,i=t.types,a=65536&t.flags,o=a?24:0,s=a?0:67108864,c=4,u=0,l=0,f=i;l=0),i>=n.minArgumentCount}var a=e.getImmediatelyInvokedFunctionExpression(t.parent);return!!a&&(!t.type&&!t.dotDotDotToken&&e.indexOf(t.parent.parameters,t)>=a.arguments.length)}function En(e){if(71===e.parameterName.kind){var t=e.parameterName;return{kind:1,parameterName:t?t.text:void 0,parameterIndex:t?qf(e.parent.parameters,t):void 0,type:Na(e.type)}}return{kind:0,type:Na(e.type)}}function Dn(e){var t=0;if(e)for(var r=0;r=n)&&o<=a){t||(t=[]);for(var c=o;cc.arguments.length&&!f.type||xn(f)||l||(a=n.length)}if(!(153!==t.kind&&154!==t.kind||e.hasDynamicName(t)||s&&o)){var p=153===t.kind?154:153,g=e.getDeclarationOfKind(t.symbol,p);g&&(o=wt(g))}var m=152===t.kind?ir(ye(t.parent.symbol)):void 0,h=m?m.localTypeParameters:t.typeParameters?bn(t.typeParameters):vn(t),y=An(t,u,m),v=t.type&&158===t.type.kind?En(t.type):void 0;r.resolvedSignature=Tr(t,h,o,n,y,v,a,e.hasRestParameter(t),i)}return r.resolvedSignature}function An(t,r,n){if(r)return Na(t.parameters[0].type);if(n)return n;if(t.type)return Na(t.type);if(65536&t.flags){var i=Ld(t);if(i&&i!==ny)return i}if(153===t.kind&&!e.hasDynamicName(t)){return Tt(e.getDeclarationOfKind(t.symbol,154))}return e.nodeIsMissing(t.body)?ty:void 0}function Nn(t){function r(t){if(!t)return!1;switch(t.kind){case 71:return"arguments"===t.text&&e.isPartOfExpression(t);case 149:case 151:case 153:case 154:return 144===t.name.kind&&r(t.name);default:return!e.nodeStartsNewLexicalEnvironment(t)&&!e.isPartOfTypeNode(t)&&e.forEachChild(t,r)}}var n=k(t);return void 0===n.containsArgumentsReference&&(8192&n.flags?n.containsArgumentsReference=!0:n.containsArgumentsReference=r(t.body)),n.containsArgumentsReference}function Pn(e){if(!e)return Ph;for(var t=[],r=0;r0&&n.body){var i=e.declarations[r-1];if(n.parent===i.parent&&n.kind===i.kind&&n.pos===i.end)break}t.push(wn(n))}}return t}function Mn(e){var t=ae(e,e);if(t){var r=ce(t);if(r)return Lt(r)}return ty}function On(e){if(e.thisParameter)return Lt(e.thisParameter)}function In(t){if(!t.resolvedReturnType){if(!rt(t,3))return ny;var r=void 0;if(r=t.target?to(In(t.target),t.mapper):t.unionSignatures?Yi(e.map(t.unionSignatures,In),!0):zd(t.declaration),!at()&&(r=ty,jh)){var n=t.declaration;n.name?l(n.name,e.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,e.declarationNameToString(n.name)):l(n,e.Diagnostics.Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions)}t.resolvedReturnType=r}return t.resolvedReturnType}function Fn(t){if(t.hasRestParameter){var r=Lt(e.lastOrUndefined(t.parameters));if(4&x(r)&&r.target===Dy)return r.typeArguments[0]}return ty}function Rn(t,r){r=Tn(r,t.typeParameters,Dn(t.typeParameters));var n=t.instantiations||(t.instantiations=e.createMap()),i=Wn(r),a=n.get(i);return a||n.set(i,a=Ln(t,r)),a}function Ln(e,t){return Wa(e,Ba(e.typeParameters,t),!0)}function Bn(e){return e.typeParameters?(e.erasedSignatureCache||(e.erasedSignatureCache=Wa(e,ja(e.typeParameters),!0)),e.erasedSignatureCache):e}function jn(e){if(!e.isolatedSignatureType){var t=152===e.declaration.kind||156===e.declaration.kind,r=De(16);r.members=Mh,r.properties=Ph,r.callSignatures=t?Ph:[e],r.constructSignatures=t?[e]:Ph,e.isolatedSignatureType=r}return e.isolatedSignatureType}function zn(e){return e.members.get("__index")}function Kn(e,t){var r=1===t?133:136,n=zn(e);if(n)for(var i=0,a=n.declarations;i1&&(t+=":"+a),n+=a}return t}function Gn(e,t){for(var r=0,n=0,i=e;ni.length))return l(t,o===i.length?e.Diagnostics.Generic_type_0_requires_1_type_argument_s:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,Ve(n,void 0,1),o,i.length),ny;return Xn(n,e.concatenate(n.outerTypeParameters,Tn(e.map(t.typeArguments,Na),i,o,t)))}return t.typeArguments?(l(t,e.Diagnostics.Type_0_is_not_generic,Ve(n)),ny):n}function $n(e,t){var r=_r(e),n=b(e),i=n.typeParameters,a=Wn(t),o=n.instantiations.get(a);return o||n.instantiations.set(a,o=ro(r,Ba(i,Tn(t,i,Dn(i))))),o}function ei(t,r){var n=_r(r),i=b(r).typeParameters;if(i){var a=e.length(t.typeArguments),o=Dn(i);if(ai.length)return l(t,o===i.length?e.Diagnostics.Generic_type_0_requires_1_type_argument_s:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,qe(r),o,i.length),ny;return $n(r,e.map(t.typeArguments,Na))}return t.typeArguments?(l(t,e.Diagnostics.Type_0_is_not_generic,qe(r)),ny):n}function ti(t,r){return t.typeArguments?(l(t,e.Diagnostics.Type_0_is_not_generic,qe(r)),ny):_r(r)}function ri(t){switch(t.kind){case 159:return t.typeName;case 277:return t.name;case 201:var r=t.expression;if(e.isEntityNameExpression(r))return r}}function ni(e){return e?ie(e,793064)||$h:$h}function ii(e,t){return t===$h?ny:96&t.flags?Zn(e,t):524288&t.flags?ei(e,t):107455&t.flags&&277===e.kind?Lt(t):ti(e,t)}function ai(t){if(e.isIdentifier(t.name))switch(t.name.text){case"String":return cy;case"Number":return uy;case"Boolean":return fy;case"Void":return py;case"Undefined":return iy;case"Null":return oy;case"Object":return ty;case"Function":return xy;case"Array":case"array":return t.typeArguments&&t.typeArguments.length?void 0:Fi(ty);case"Promise":case"promise":return t.typeArguments&&t.typeArguments.length?void 0:Bd(ty)}}function oi(e){var t=Na(e.type);return Bh?Yi([t,oy]):t}function si(t){var r=k(t);if(!r.resolvedType){var n=void 0,i=void 0;if(277===t.kind){if(!(i=ai(t))){var a=ri(t);n=ni(a),i=ii(t,n)}}else{var o=159===t.kind?t.typeName:e.isEntityNameExpression(t.expression)?t.expression:void 0;n=o&&ie(o,793064)||$h,i=n===$h?ny:96&n.flags?Zn(t,n):524288&n.flags?ei(t,n):ti(t,n)}r.resolvedSymbol=n,r.resolvedType=i}return r.resolvedType}function ci(e){var t=k(e);return t.resolvedType||(t.resolvedType=gs(jf(e.exprName))),t.resolvedType}function ui(t,r){function n(e){for(var t=e.declarations,r=0,n=t;r>1),o=e[a].id;if(o===i)return a;o>i?n=a-1:r=a+1}return~r}function Ji(e,t){return Ki(e,t)>=0}function qi(e,t){var r=t.flags;if(65536&r)Ui(e,t.types);else if(1&r)e.containsAny=!0;else if(!Bh&&6144&r)2048&r&&(e.containsUndefined=!0),4096&r&&(e.containsNull=!0),2097152&r||(e.containsNonWideningType=!0);else if(!(8192&r)){2&r&&(e.containsString=!0),4&r&&(e.containsNumber=!0),96&r&&(e.containsStringOrNumberLiteral=!0);var n=e.length,i=n&&t.id>e[n-1].id?~n:Ki(e,t);i<0&&(32768&r&&16&t.objectFlags&&t.symbol&&8208&t.symbol.flags&&Vi(e,t)||e.splice(~i,0,t))}}function Ui(e,t){for(var r=0,n=t;r0;)r--,Hi(t[r],t)&&e.orderedRemoveItemAt(t,r)}function Xi(t){for(var r=t.length;r>0;){r--;var n=t[r];(32&n.flags&&t.containsString||64&n.flags&&t.containsNumber||96&n.flags&&1048576&n.flags&&Ji(t,n.regularType))&&e.orderedRemoveItemAt(t,r)}}function Yi(e,t,r,n){if(0===e.length)return gy;if(1===e.length)return e[0];var i=[];return Ui(i,e),i.containsAny?ty:(t?Gi(i):i.containsStringOrNumberLiteral&&Xi(i),0===i.length?i.containsNull?i.containsNonWideningType?oy:sy:i.containsUndefined?i.containsNonWideningType?iy:ay:gy:Qi(i,r,n))}function Qi(e,t,r){if(0===e.length)return gy;if(1===e.length)return e[0];var n=Wn(e),i=Wh.get(n);if(!i){i=Ce(65536|Gn(e,6144)),Wh.set(n,i),i.types=e,i.aliasSymbol=t,i.aliasTypeArguments=r}return i}function Zi(t){var r=k(t);return r.resolvedType||(r.resolvedType=Yi(e.map(t.types,Na),!1,ma(t),ha(t))),r.resolvedType}function $i(t,r){131072&r.flags?ea(t,r.types):1&r.flags?t.containsAny=!0:16&x(r)&&To(r)?t.containsEmptyObject=!0:8192&r.flags||!Bh&&6144&r.flags||e.contains(t,r)||(32768&r.flags&&(t.containsObjectType=!0),65536&r.flags&&void 0===t.unionIndex&&(t.unionIndex=t.length),32768&r.flags&&16&r.objectFlags&&r.symbol&&8208&r.symbol.flags&&Vi(t,r)||t.push(r))}function ea(e,t){for(var r=0,n=t;r=r?yy:n};return n.mappedTypes=t,n}function Ka(e){if(!e.mapper){var t=function(t){for(var r=e.signature.typeParameters,n=0;nr.parameters.length)return 0;t=Bn(t),r=Bn(r);var s=-1,c=On(t);if(c&&c!==py){var u=On(r);if(u){var l=o(c,u,!1)||o(u,c,i);if(!l)return i&&a(e.Diagnostics.The_this_types_of_each_signature_are_incompatible),0;s&=l}}for(var d=Co(t),f=Co(r),_=Eo(t,d,r,f),p=t.parameters,g=r.parameters,m=0;m<_;m++){var h=m0){for(var s=0;s=5&&32768&e.flags){var n=e.symbol;if(n)for(var i=0,a=0;a=5)return!0}}return!1}function jo(e,t){return 0!==zo(e,t,uo)}function zo(e,t,r){if(e===t)return-1;var n=24&Dl(e);if(n!==(24&Dl(t)))return 0;if(n){if(Lp(e)!==Lp(t))return 0}else if((67108864&e.flags)!=(67108864&t.flags))return 0;return Xd(e)!==Xd(t)?0:r(Lt(e),Lt(t))}function Ko(e,t,r){if(e.parameters.length===t.parameters.length&&e.minArgumentCount===t.minArgumentCount&&e.hasRestParameter===t.hasRestParameter)return!0;var n=e.hasRestParameter?1:0,i=t.hasRestParameter?1:0;return!!(r&&e.minArgumentCount<=t.minArgumentCount&&(n>i||n===i&&e.parameters.length>=t.parameters.length))}function Jo(t,r,n,i,a,o){if(t===r)return-1;if(!Ko(t,r,n))return 0;if(e.length(t.typeParameters)!==e.length(r.typeParameters))return 0;t=Bn(t),r=Bn(r);var s=-1;if(!i){var c=On(t);if(c){var u=On(r);if(u){var l=o(c,u);if(!l)return 0;s&=l}}}for(var d=r.parameters.length,f=0;f=e.parameters.length-1}function Uo(e,t){for(var r=0,n=t;ro&&(i=t[s],a=u,o=c),o===t.length-1)break}ho(a,i,r,e.Diagnostics.Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0,n)}function Xo(e){return 4&x(e)&&e.target===Dy}function Yo(e){return 4&x(e)&&(e.target===Dy||e.target===Ty)||!(6144&e.flags)&&_o(e,Fy)}function Qo(e){return!!dn(e,"0")}function Zo(e){return 0!=(6624&e.flags)}function $o(t){return!!(8&t.flags)||(65536&t.flags?!!(16&t.flags)||!e.forEach(t.types,function(e){return!Zo(e)}):Zo(t))}function es(t){return 32&t.flags?cy:64&t.flags?uy:128&t.flags?fy:256&t.flags?t.baseType:65536&t.flags&&!(16&t.flags)?Yi(e.sameMap(t.types,es)):t}function ts(t){return 32&t.flags&&1048576&t.flags?cy:64&t.flags&&1048576&t.flags?uy:128&t.flags?fy:256&t.flags?t.baseType:65536&t.flags&&!(16&t.flags)?Yi(e.sameMap(t.types,ts)):t}function rs(e){return!!(4&x(e)&&8&e.target.objectFlags)}function ns(e){for(var t=0,r=0,n=e;r=0&&!r[s].isFixed){var l=Es(n,i);l&&(m++,o(l,t[s]),m--)}return}if(16384&a.flags)return o(oa(n),a),void o(Yi(e.map(Qr(n),Lt)),Ur(i))}c(n,i),u(n,i,0),u(n,i,1),f(n,i)}function c(e,t){for(var r=Gr(t),n=0,i=r;nr)&&(t.failedTypeParameterIndex=r)}return i}function Os(e){for(var t=0;t=2||0==(34&r.flags)||260===r.valueDeclaration.parent.kind)){for(var n=e.getEnclosingBlockScopeContainer(r.valueDeclaration),i=Yc(t.parent,n),a=n,o=!1;a&&!e.nodeStartsNewLexicalEnvironment(a);){if(e.isIterationStatement(a,!1)){o=!0;break}a=a.parent}o&&(i&&(k(a).flags|=65536),214===n.kind&&e.getAncestor(r.valueDeclaration,227).parent===n&&Zc(t,n)&&(k(r.valueDeclaration).flags|=2097152),k(r.valueDeclaration).flags|=262144),i&&(k(r.valueDeclaration).flags|=131072)}}function Zc(t,r){for(var n=t;185===n.parent.kind;)n=n.parent;var i=!1;if(e.isAssignmentTarget(n))i=!0;else if(192===n.parent.kind||193===n.parent.kind){var a=n.parent;i=43===a.operator||44===a.operator}return!!i&&!!e.findAncestor(n,function(e){return e===r?"quit":e===r.statement})}function $c(e,t){if(k(e).flags|=2,149===t.kind||152===t.kind){k(t.parent).flags|=4}else k(t).flags|=4}function eu(t){if(e.isSuperCall(t))return t;if(!e.isFunctionLike(t))return e.forEachChild(t,eu)}function tu(e){var t=k(e);return void 0===t.hasSuperCall&&(t.superCall=eu(e.body),t.hasSuperCall=!!t.superCall),t.superCall}function ru(e){return Qt(_r(ve(e)))===sy}function nu(t,r,n){var i=r.parent;if(e.getClassExtendsHeritageClauseElement(i)&&!ru(i)){var a=tu(r);(!a||a.end>t.pos)&&l(t,n)}}function iu(t){var r=e.getThisContainer(t,!0),n=!1;switch(152===r.kind&&nu(t,r,e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class),187===r.kind&&(r=e.getThisContainer(r,!1),n=Ih<2),r.kind){case 233:l(t,e.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 232:l(t,e.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 152:ou(t,r)&&l(t,e.Diagnostics.this_cannot_be_referenced_in_constructor_arguments);break;case 149:case 148:32&e.getModifierFlags(r)&&l(t,e.Diagnostics.this_cannot_be_referenced_in_a_static_property_initializer);break;case 144:l(t,e.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name)}if(n&&$c(t,r),e.isFunctionLike(r)&&(!mu(t)||e.getThisParameter(r))){if(186===r.kind&&194===r.parent.kind&&3===e.getSpecialPropertyAssignmentKind(r.parent)){var i=r.parent.left.expression.expression,a=jf(i).symbol;if(a&&a.members&&16&a.flags)return Cd(a)}var o=At(r)||du(r);if(o)return o}if(e.isClassLike(r.parent)){var s=ve(r.parent),c=e.hasModifier(r,32)?Lt(s):_r(s).thisType;return Kc(t,c)}if(e.isInJavaScriptFile(t)){var c=au(r);if(c&&c!==ny)return c}return zh&&l(t,e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation),ty}function au(t){var r=e.getJSDocType(t);if(r&&279===r.kind){var n=r;if(n.parameters.length>0&&282===n.parameters[0].type.kind)return Na(n.parameters[0].type)}}function ou(t,r){return!!e.findAncestor(t,function(e){return e===r?"quit":146===e.kind})}function su(t){var r=181===t.parent.kind&&t.parent.expression===t,n=e.getSuperContainer(t,!0),i=!1;if(!r)for(;n&&187===n.kind;)n=e.getSuperContainer(n,!0),i=Ih<2;var a=function(t){return!!t&&(r?152===t.kind:!(!e.isClassLike(t.parent)&&178!==t.parent.kind)&&(32&e.getModifierFlags(t)?151===t.kind||150===t.kind||153===t.kind||154===t.kind:151===t.kind||150===t.kind||153===t.kind||154===t.kind||149===t.kind||148===t.kind||152===t.kind))}(n),o=0;if(!a){var s=e.findAncestor(t,function(e){return e===n?"quit":144===e.kind});return s&&144===s.kind?l(t,e.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name):r?l(t,e.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):n&&n.parent&&(e.isClassLike(n.parent)||178===n.parent.kind)?l(t,e.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class):l(t,e.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions),ny}if(r||152!==n.kind||nu(t,n,e.Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),o=32&e.getModifierFlags(n)||r?512:256,k(t).flags|=o,151===n.kind&&256&e.getModifierFlags(n)&&(e.isSuperProperty(t.parent)&&e.isAssignmentTarget(t.parent)?k(n).flags|=4096:k(n).flags|=2048),i&&$c(t.parent,n),178===n.parent.kind)return Ih<2?(l(t,e.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),ny):ty;var c=n.parent,u=_r(ve(c)),d=u&&Zt(u)[0];return d?152===n.kind&&ou(t,n)?(l(t,e.Diagnostics.super_cannot_be_referenced_in_constructor_arguments),ny):512===o?Qt(u):Sr(d,u.thisType):(e.getClassExtendsHeritageClauseElement(c)||l(t,e.Diagnostics.super_can_only_be_referenced_in_a_derived_class),ny)}function cu(e){return 151!==e.kind&&153!==e.kind&&154!==e.kind||178!==e.parent.kind?186===e.kind&&261===e.parent.kind?e.parent.parent:void 0:e.parent}function uu(e){return 4&x(e)&&e.target===My?e.typeArguments[0]:void 0}function lu(t){return Sc(t,function(t){return 131072&t.flags?e.forEach(t.types,uu):uu(t)})}function du(e){if(187!==e.kind){if(oo(e)){var t=Bu(e);if(t){var r=t.thisParameter;if(r)return Lt(r)}}if(zh){var n=cu(e);if(n){for(var i=Nu(n),a=n,o=i;o;){var s=lu(o);if(s)return to(s,Mu(n));if(261!==a.parent.kind)break;a=a.parent.parent,o=Nu(a)}return i?ss(i):Af(n)}if(194===e.parent.kind&&58===e.parent.operatorToken.kind){var c=e.parent.left;if(179===c.kind||180===c.kind)return Af(c.expression)}}}}function fu(t){var r=t.parent;if(oo(r)){var n=e.getImmediatelyInvokedFunctionExpression(r);if(n&&n.arguments){var i=e.indexOf(r.parameters,t);if(t.dotDotDotToken){for(var a=[],o=i;o=0){return Md(Sd(t),i)}}function vu(e,t){if(183===e.parent.kind)return yu(e.parent,t)}function bu(t){var r=t.parent,n=r.operatorToken.kind;if(n>=58&&n<=70){if(0!==e.getSpecialPropertyAssignmentKind(r))return;if(t===r.right)return Lf(r.left)}else{if(54===n){var i=Pu(r);return i||t!==r.right||(i=Lf(r.left)),i}if((53===n||26===n)&&t===r.right)return Pu(r)}}function ku(e,t){return Sc(e,function(e){var r=229376&e.flags?dn(e,t):void 0;return r?Lt(r):void 0})}function xu(e,t){return Sc(e,function(e){return gn(e,t)})}function Su(t){return!!(65536&t.flags?e.forEach(t.types,Qo):Qo(t))}function Cu(t){if(e.Debug.assert(e.isObjectLiteralMethod(t)),!yg(t))return Eu(t)}function Eu(t){var r=t.parent,n=Nu(r);if(n){if(!e.hasDynamicName(t)){var i=ve(t).name,a=ku(n,i);if(a)return a}return Ju(t.name)&&xu(n,1)||xu(n,0)}}function Du(t){var r=t.parent,n=Nu(r);if(n){return ku(n,""+e.indexOf(r.elements,t))||xu(n,1)||pp(n,void 0,!1,!1,!1)}}function Tu(e){var t=e.parent;return e===t.whenTrue||e===t.whenFalse?Pu(t):void 0}function wu(t){var r=e.isJsxAttributeLike(t.parent)?t.parent.parent:t.parent.openingElement.attributes,n=Pu(r);if(n&&!ut(n)){if(e.isJsxAttribute(t.parent))return ct(n,t.parent.name.text);if(249===t.parent.kind){var i=cl();return i&&""!==i?ct(n,i):ty}return n}}function Au(t){var r=Pu(t.parent);if(e.isJsxAttribute(t)){if(!r||ut(r))return;return ct(r,t.name.text)}return r}function Nu(e){var t=Pu(e);return t&&sn(t)}function Pu(t){if(!yg(t)){if(t.contextualType)return t.contextualType;var r=t.parent;switch(r.kind){case 226:case 146:case 149:case 148:case 176:return _u(t);case 187:case 219:return pu(t);case 197:return gu(r);case 181:case 182:return yu(r,t);case 184:case 202:return Na(r.type);case 194:return bu(t);case 261:case 262:return Eu(r);case 177:return Du(t);case 195:return Tu(t);case 205:return e.Debug.assert(196===r.parent.kind),vu(r.parent,t);case 185:return Pu(r);case 256:return wu(r);case 253:case 255:return Au(r);case 251:case 250:return gl(r)}}}function Mu(t){return t=e.findAncestor(t,function(e){return!!e.contextualMapper}),t?t.contextualMapper:Ja}function Ou(e,t){var r=fn(e,0);if(1===r.length){var n=r[0];if(!n.typeParameters&&!Iu(n,t))return n}}function Iu(t,r){for(var n=0;n0&&(s=ya(s,n()),o=[],a=e.createMap(),m=!1,h=!1,p=0);var S=jf(b.expression);if(!Yu(S))return l(b,e.Diagnostics.Spread_types_may_only_be_created_from_object_types),ny;s=ya(s,S),y=v+1;continue}e.Debug.assert(153===b.kind||154===b.kind),lg(b)}e.hasDynamicName(b)?Ju(b.name)?h=!0:m=!0:a.set(k.name,k),o.push(k)}if(f)for(var D=0,T=Qr(u);D0&&(s=ya(s,n())),32768&s.flags&&(s.flags|=c,s.symbol=t.symbol),s):n()}function Yu(t){return!!(16783361&t.flags||32768&t.flags&&!Hr(t)||196608&t.flags&&!e.forEach(t.types,function(e){return!Yu(e)}))}function Qu(e){return xl(e),yl()||ty}function Zu(e){return xl(e.openingElement),el(e.closingElement.tagName)?il(e.closingElement):jf(e.closingElement.tagName),yl()||ty}function $u(e){return e.indexOf("-")<0}function el(t){return 179!==t.kind&&99!==t.kind&&e.isIntrinsicJsxName(t.text)}function tl(t,r,n){function i(e,t){var r=Ne(e,t,Ph,Ph,void 0,void 0),n=Oh.suppressExcessPropertyErrors?0:1048576;return r.flags|=37748736|n,r.objectFlags|=128,r}for(var a=t.attributes,o=e.createMap(),s=yy,c=[],u=0,f=a.properties;u0&&(s=ya(s,i(a.symbol,o)),c=[],o=e.createMap());var g=jf(_.expression);if(!Yu(g))return l(_,e.Diagnostics.Spread_types_may_only_be_created_from_object_types),ty;if(ut(g))return ty;s=ya(s,g)}}s!==yy&&(c.length>0&&(s=ya(s,i(a.symbol,o)),c=[],o=e.createMap()),c=Qr(s)),o=e.createMap(),c&&e.forEach(c,function(e){r&&!r(e)||o.set(e.name,e)});var h=249===t.parent.kind?t.parent:void 0;if(h&&h.openingElement===t&&h.children.length>0){for(var y=[],v=0,b=h.children;v1&&l(n.declarations[0],e.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,t)}}function sl(){return Kv||(Kv=!0,Ov=ol(Uv.ElementAttributesPropertyNameContainer)),Ov}function cl(){return Jv||(Jv=!0,Iv=ol(Uv.ElementChildrenAttributeNameContainer)),Iv}function ul(t,r,n,i){if(e.Debug.assert(!(65536&r.flags)),!i||!_o(n,i)){var a=vl();if(a){var o=vd(t,r,void 0);if(o!==iv){var s=o&&In(o),c=s&&(0===o.parameters.length?yy:Lt(o.parameters[0]));if(s&&_o(s,a)){var u=nl(Uv.IntrinsicAttributes);return u!==ny&&(c=Fr(u,c)),c}}}}}function ll(t,r,n,i){if(e.Debug.assert(!(65536&r.flags)),!i||!_o(n,i)){var a=vl();if(a){var o=[];vd(t,r,o);for(var s=void 0,c=void 0,u=0,l=o;u0)?l(t,e.Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,sl()):yo(n,r,t.attributes.properties.length>0?t.attributes:t)}function Cl(t,r){if(t.expression){var n=jf(t.expression,r);return t.dotDotDotToken&&n!==ty&&!Xo(n)&&l(t,e.Diagnostics.JSX_spread_child_must_be_an_array_type,t.toString(),Ve(n)),n}return ny}function El(e){return e.valueDeclaration?e.valueDeclaration.kind:149}function Dl(t){if(t.valueDeclaration){var r=e.getCombinedModifierFlags(t.valueDeclaration);return t.parent&&32&t.parent.flags?r:-29&r}if(6&S(t)){var n=t.checkFlags;return(256&n?8:64&n?4:16)|(512&n?32:0)}return 16777216&t.flags?36:0}function Tl(t){return t.valueDeclaration?e.getCombinedNodeFlags(t.valueDeclaration):0}function wl(e){return!!(8192&e.flags||4&S(e))}function Al(t,r,n,i){var a=Dl(i),o=179===t.kind||226===t.kind?t.name:t.right;if(256&S(i))return l(o,e.Diagnostics.Property_0_has_conflicting_declarations_and_is_inaccessible_in_type_1,qe(i),Ve(n)),!1;if(97===r.kind){if(Ih<2){if(Mo(i,function(e){var t=El(e);return 151!==t&&150!==t}))return l(o,e.Diagnostics.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword),!1}if(128&a)return l(o,e.Diagnostics.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression,qe(i),Ve(Oo(i))),!1}if(!(24&a))return!0;if(8&a){return!!Eg(t,Bp(be(i)))||(l(o,e.Diagnostics.Property_0_is_private_and_only_accessible_within_class_1,qe(i),Ve(Oo(i))),!1)}if(97===r.kind)return!0;var s=Cg(t,function(e){var t=_r(ve(e));return Ro(t,i)?t:void 0});return s?!!(32&a)||(16384&n.flags&&n.isThisType&&(n=$r(n)),!!(3&x(jt(n))&&zt(n,s))||(l(o,e.Diagnostics.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1,qe(i),Ve(s)),!1)):(l(o,e.Diagnostics.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses,qe(i),Ve(Oo(i)||n)),!1)}function Nl(e){return Pl(jf(e),e)}function Pl(t,r){var n=6144&(Bh?is(t):t.flags);if(n){l(r,2048&n?4096&n?e.Diagnostics.Object_is_possibly_null_or_undefined:e.Diagnostics.Object_is_possibly_undefined:e.Diagnostics.Object_is_possibly_null);var i=ss(t);return 14336&i.flags?ny:i}return t}function Ml(e){return Ll(e,e.expression,e.name)}function Ol(e){return Ll(e,e.left,e.right)}function Il(t,r){var n;if(65536&r.flags&&!(8190&r.flags))for(var i=0,a=r.types;i=g&&o.length<=p))return!1;if(c>=0)return qo(n,c);if(!n.hasRestParameter&&a>n.parameters.length)return!1;var m=a>=n.minArgumentCount;return s||m}function Xl(e){if(32768&e.flags){var t=Wr(e);if(1===t.callSignatures.length&&0===t.constructSignatures.length&&0===t.properties.length&&!t.stringIndexInfo&&!t.numberIndexInfo)return t.callSignatures[0]}}function Yl(e,t,r){var n=bs(e,!0,!1);return vs(t,e,function(e,t){Ds(n,to(e,r),t)}),Rn(e,Os(n))}function Ql(e,t,r,n,i){for(var a=t.typeParameters,o=Ka(i),s=0;s0?[t.attributes]:Ph:t.arguments||Ph}return r}function nd(e,t,r){if(147!==e.kind)return t.length;switch(e.parent.kind){case 229:case 199:return 1;case 149:return 2;case 151:case 153:case 154:return 0===Ih?2:r.parameters.length>=3?3:2;case 146:return 3}}function id(t){if(229===t.kind){var r=ve(t);return Lt(r)}if(146===t.kind&&(t=t.parent,152===t.kind)){var r=ve(t);return Lt(r)}return 149===t.kind||151===t.kind||153===t.kind||154===t.kind?Lg(t):(e.Debug.fail("Unsupported decorator target."),ny)}function ad(t){if(229===t.kind)return e.Debug.fail("Class decorators should not have a second synthetic argument."),ny;if(146===t.kind&&(t=t.parent,152===t.kind))return ty;if(149===t.kind||151===t.kind||153===t.kind||154===t.kind){var r=t;switch(r.name.kind){case 71:case 8:case 9:return Ca(32,r.name.text);case 144:var n=Wu(r.name);return sf(n,512)?n:cy;default:return e.Debug.fail("Unsupported property name."),ny}}return e.Debug.fail("Unsupported decorator target."),ny}function od(t){if(229===t.kind)return e.Debug.fail("Class decorators should not have a third synthetic argument."),ny;if(146===t.kind)return uy;if(149===t.kind)return e.Debug.fail("Property decorators should not have a third synthetic argument."),ny;if(151===t.kind||153===t.kind||154===t.kind){return Ni(Og(t))}return e.Debug.fail("Unsupported decorator target."),ny}function sd(t,r){return 0===r?id(t.parent):1===r?ad(t.parent):2===r?od(t.parent):(e.Debug.fail("Decorators should not have a fourth synthetic argument."),ny)}function cd(e,t){return 147===e.kind?sd(e,t):0===t&&183===e.kind?gi():void 0}function ud(e,t,r){if(147!==e.kind&&(0!==r||183!==e.kind))return t[r]}function ld(e,t,r){return 147===e.kind?e.expression:0===t&&183===e.kind?e.template:r}function dd(t,r,n,i){function o(r,n,a,o){var s;s=e.chainDiagnosticMessages(s,r,n,a,o),i&&(s=e.chainDiagnosticMessages(s,i)),Nv.add(e.createDiagnosticForNodeFromMessageChain(t,s))}function s(r,n,i){void 0===i&&(i=!1);for(var a=0,o=r;a1&&(S=s(m,Vv,C)),S||(b=void 0,k=void 0,x=void 0,S=s(m,Hv,C)),S)return S;if(b){if(f)return b;ed(t,y,b,Hv,void 0,!0)}else if(k)if(u||l||!c){e.Debug.assert(x.failedTypeParameterIndex>=0);var E=k.typeParameters[x.failedTypeParameterIndex],D=Ns(x,x.failedTypeParameterIndex),T=e.chainDiagnosticMessages(void 0,e.Diagnostics.The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_type_arguments_explicitly,Ve(E));i&&(T=e.chainDiagnosticMessages(T,i)),Go(D,t.tagName||t.expression||t.tag,T)}else{var w=t.typeArguments;Zl(k,w,e.map(w,Na),!0,i)}else o(e.Diagnostics.Supplied_parameters_do_not_match_any_signature_of_call_target);if(!a)for(var A=0,N=m;A=0&&l(t.arguments[n],e.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}var i=Nl(t.expression);if(i===my)return ov;if((i=sn(i))===ny)return Vl(t);var a=i.symbol&&Bp(i.symbol);if(a&&128&e.getModifierFlags(a))return l(t,e.Diagnostics.Cannot_create_an_instance_of_the_abstract_class_0,e.declarationNameToString(a.name)),Vl(t);if(ut(i))return t.typeArguments&&l(t,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),Ul(t);var o=_n(i,1);if(o.length)return gd(t,o[0])?dd(t,o,r):Vl(t);var s=_n(i,0);if(s.length){var c=dd(t,s,r);return In(c)!==py&&l(t,e.Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword),On(c)===py&&l(t,e.Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void),c}return l(t,e.Diagnostics.Cannot_use_new_with_an_expression_whose_type_lacks_a_call_or_construct_signature),Vl(t)}function gd(t,r){if(!r||!r.declaration)return!0;var n=r.declaration,i=e.getModifierFlags(n);if(!(24&i))return!0;var a=Bp(n.parent.symbol),o=_r(n.parent.symbol);if(!Eg(t,a)){var s=e.getContainingClass(t);if(s)for(var c=Og(s),u=Zt(c);u.length;){var d=u[0];if(16&i&&d.symbol===n.parent.symbol)return!0;u=Zt(d)}return 8&i&&l(t,e.Diagnostics.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration,Ve(o)),16&i&&l(t,e.Diagnostics.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration,Ve(o)),!1}return!0}function md(t,r){var n=jf(t.tag),i=sn(n);if(i===ny)return Vl(t);var a=_n(i,0),o=_n(i,1);return _d(n,i,a.length,o.length)?Ul(t):a.length?dd(t,a,r):(l(t,e.Diagnostics.Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatures,Ve(i)),Vl(t))}function hd(t){switch(t.parent.kind){case 229:case 199:return e.Diagnostics.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression;case 146:return e.Diagnostics.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression;case 149:return e.Diagnostics.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression;case 151:case 153:case 154:return e.Diagnostics.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression}}function yd(t,r){var n=jf(t.expression),i=sn(n);if(i===ny)return Vl(t);var a=_n(i,0),o=_n(i,1);if(_d(n,i,a.length,o.length))return Ul(t);var s=hd(t);if(!a.length){var c=void 0;return c=e.chainDiagnosticMessages(c,e.Diagnostics.Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatures,Ve(i)),c=e.chainDiagnosticMessages(c,s),Nv.add(e.createDiagnosticForNodeFromMessageChain(t,c)),Vl(t)}return dd(t,a,r,s)}function vd(t,r,n){return e.Debug.assert(!(65536&r.flags)),bd(t,r,n)}function bd(e,t,r){if(65536&t.flags){for(var n=t.types,i=void 0,a=0,o=n;a0){return dd(e,c,r)}}function kd(t,r){switch(t.kind){case 181:return fd(t,r);case 182:return pd(t,r);case 183:return md(t,r);case 147:return yd(t,r);case 251:case 250:return bd(t,jf(t.tagName),r)}e.Debug.fail("Branch in 'resolveSignature' should be unreachable.")}function xd(e,t){var r=k(e),n=r.resolvedSignature;if(n&&n!==av&&!t)return n;r.resolvedSignature=av;var i=kd(e,t);return r.resolvedSignature=lv===dv?i:n,i}function Sd(e){return k(e).resolvedSignature===av?av:xd(e)}function Cd(e){var t=b(e);return t.inferredClassType||(t.inferredClassType=Ne(e,e.members,Ph,Ph,void 0,void 0)),t.inferredClassType}function Ed(t){Fm(t,t.typeArguments)||Lm(t,t.arguments);var r=xd(t);if(97===t.expression.kind)return py;if(182===t.kind){var n=r.declaration;if(n&&152!==n.kind&&156!==n.kind&&161!==n.kind&&!e.isJSDocConstructSignature(n)){var i=71===t.expression.kind?Is(t.expression):jf(t.expression).symbol;return i&&e.isDeclarationOfFunctionOrClassExpression(i)&&(i=ve(i.valueDeclaration.initializer)),i&&i.members&&16&i.flags?Cd(i):(jh&&l(t,e.Diagnostics.new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type),ty)}}return e.isInJavaScriptFile(t)&&Dd(t)?Mn(t.arguments[0]):In(r)}function Dd(t){if(!e.isRequireCall(t,!0))return!1;var r=w(t.expression,t.expression.text,107455,void 0,void 0);if(!r)return!0;if(8388608&r.flags)return!1;var n=16&r.flags?228:3&r.flags?226:0;if(0!==n){var i=e.getDeclarationOfKind(r,n);return e.isInAmbientContext(i)}return!1}function Td(e){return In(xd(e))}function wd(t){var r=ds(es(jf(t.expression)));ug(t.type);var n=Na(t.type);if(a&&n!==ny){go(n,gs(r))||vo(r,n,t,e.Diagnostics.Type_0_cannot_be_converted_to_type_1)}return n}function Ad(e){return ss(jf(e.expression))}function Nd(t){sh(t);var r=e.getNewTargetContainer(t);if(r){if(152===r.kind){var n=ve(r.parent);return Lt(n)}var n=ve(r);return Lt(n)}return l(t,e.Diagnostics.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor,"new.target"),ny}function Pd(e){var t=Lt(e);if(Bh){var r=e.valueDeclaration;if(r&&r.initializer)return as(t,2048)}return t}function Md(e,t){return e.hasRestParameter?t0?Md(e,0):gy}function Id(t,r,n,i){var a=t.parameters.length-(t.hasRestParameter?1:0);if(2===i)for(var o=0;o=58&&d<=70&&Zd(t,e.Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access)&&yo(r,f,t,void 0)}function u(){l(o||r,e.Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2,e.tokenToString(r.kind),Ve(f),Ve(_))}var d=r.kind;if(58===d&&(178===t.kind||177===t.kind))return mf(t,jf(n,i),i);var f=jf(t,i),_=jf(n,i);switch(d){case 39:case 40:case 61:case 62:case 41:case 63:case 42:case 64:case 38:case 60:case 45:case 65:case 46:case 66:case 47:case 67:case 49:case 69:case 50:case 70:case 48:case 68:if(f===my||_===my)return my;f=Pl(f,t),_=Pl(_,n);var p=void 0;if(136&f.flags&&136&_.flags&&void 0!==(p=function(e){switch(e){case 49:case 69:return 54;case 50:case 70:return 35;case 48:case 68:return 53;default:return}}(r.kind)))l(o||r,e.Diagnostics.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead,e.tokenToString(r.kind),e.tokenToString(p));else{var g=Gd(t,f,e.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type),m=Gd(n,_,e.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type);g&&m&&c(uy)}return uy;case 37:case 59:if(f===my||_===my)return my;sf(f,262179)||sf(_,262179)||(f=Pl(f,t),_=Pl(_,n));var h=void 0;if(sf(f,340)&&sf(_,340))h=uy;else if(sf(f,262178)||sf(_,262178)?h=cy:(ut(f)||ut(_))&&(h=f===ny||_===ny?ny:ty),h&&!s(d))return h;return h?(59===d&&c(h),h):(u(),ty);case 27:case 29:case 30:case 31:return s(d)&&(f=es(Pl(f,t)),_=es(Pl(_,n)),go(f,_)||go(_,f)||u()),fy;case 32:case 33:case 34:case 35:var y=$o(f),v=$o(_);return y&&v||(f=y?es(f):f,_=v?es(_):_),vf(f,_)||vf(_,f)||u(),fy;case 93:return lf(t,n,f,_);case 92:return df(t,n,f,_);case 53:return 1048576&Xs(f)?as(_,is(Bh?f:es(_))):f;case 54:return 2097152&Xs(f)?bf(os(f),_):f;case 58:return c(_),ds(_);case 26:return Oh.allowUnreachableCode||!yf(t)||function(e){return 71===e.kind&&"eval"===e.text}(n)||l(t,e.Diagnostics.Left_side_of_comma_operator_is_unused_and_has_no_side_effects),_}}function Sf(t){for(var r=t,n=t.parent;n;){if(e.isFunctionLike(n)&&r===n.body)return!1;if(e.isClassLike(r))return!0;r=n,n=n.parent}return!1}function Cf(t){if(a&&(4096&t.flags&&!Sf(t)||uh(t,e.Diagnostics.A_yield_expression_is_only_allowed_in_a_generator_body),mu(t)&&l(t,e.Diagnostics.yield_expressions_cannot_be_used_in_a_parameter_initializer)),t.expression){var r=e.getContainingFunction(t),n=r&&e.getFunctionFlags(r);if(t.asteriskToken&&(2&n?Ih<4&&hm(t,4096):Ih<2&&Oh.downlevelIteration&&hm(t,256)),1&n){var i=Af(t.expression,void 0),o=void 0,s=!!t.asteriskToken;if(s&&(o=_p(i,t.expression,!1,0!=(2&n))),r.type){var c=hp(Na(r.type),0!=(2&n))||ty;s?yo(2&n?k_(o,t.expression,e.Diagnostics.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):o,c,t.expression,void 0):yo(2&n?k_(i,t.expression,e.Diagnostics.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):i,c,t.expression,void 0)}}}return ty}function Ef(e,t){return jf(e.condition),bf(jf(e.whenTrue,t),jf(e.whenFalse,t))}function Df(e){switch(8===e.kind&&vh(e),e.kind){case 9:return xa(Ca(32,e.text));case 8:return xa(Ca(64,e.text));case 101:return ly;case 86:return dy}}function Tf(t){return e.forEach(t.templateSpans,function(e){jf(e.expression)}),cy}function wf(e,t,r){var n=e.contextualType,i=e.contextualMapper;e.contextualType=t,e.contextualMapper=r;var a=r===Ja?1:r?2:0,o=jf(e,a);return e.contextualType=n,e.contextualMapper=i,o}function Af(e,t){var r=k(e);if(!r.resolvedType){var n=lv;lv=dv,r.resolvedType=jf(e,t),lv=n}return r.resolvedType}function Nf(t){return t=e.skipParentheses(t),184===t.kind||202===t.kind}function Pf(t){var r=Lf(t.initializer,!0);return 2&e.getCombinedNodeFlags(t)||64&e.getCombinedModifierFlags(t)&&!e.isParameterPropertyDeclaration(t)||Nf(t.initializer)?r:ts(r)}function Mf(e){if(e){if(540672&e.flags){var t=tn(e)||yy;if(30&t.flags)return!0;e=t}return of(e,262624)}return!1}function Of(e,t){var r=jf(e,t);return Nf(e)||Mf(Pu(e))?r:ts(r)}function If(e,t){return 144===e.name.kind&&Wu(e.name),Of(e.initializer,t)}function Ff(e,t){return Qm(e),144===e.name.kind&&Wu(e.name),Rf(e,Hd(e,t),t)}function Rf(e,t,r){if(2===r){var n=Xl(t);if(n&&n.typeParameters){var i=Nu(e);if(i){var a=Xl(i);if(a&&!a.typeParameters)return jn(Yl(n,a,Mu(e)))}}}return t}function Lf(t,r){if(181===t.kind&&97!==t.expression.kind&&!e.isRequireCall(t,!0)){var n=Nl(t.expression),i=Xl(n);if(i&&!i.typeParameters)return In(i)}return r?Af(t):jf(t)}function Bf(e){var t=e.contextualType;e.contextualType=ty;var r=Lf(e);return e.contextualType=t,r}function jf(t,r){var n;if(143===t.kind)n=Ol(t);else{n=Rf(t,zf(t,r),r)}if(cf(n)){179===t.parent.kind&&t.parent.expression===t||180===t.parent.kind&&t.parent.expression===t||(71===t.kind||143===t.kind)&&Tg(t)||l(t,e.Diagnostics.const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment)}return n}function zf(t,r){switch(t.kind){case 71:return Xc(t);case 99:return iu(t);case 97:return su(t);case 95:return sy;case 9:case 8:case 101:case 86:return Df(t);case 196:return Tf(t);case 13:return cy;case 12:return Py;case 177:return Ku(t,r);case 178:return Xu(t,r);case 179:return Ml(t);case 180:return Jl(t);case 181:case 182:return Ed(t);case 183:return Td(t);case 185:return jf(t.expression,r);case 199:return Mp(t);case 186:case 187:return Hd(t,r);case 189:return ef(t);case 184:case 202:return wd(t);case 203:return Ad(t);case 204:return Nd(t);case 188:return $d(t);case 190:return tf(t);case 191:return rf(t);case 192:return nf(t);case 193:return af(t);case 194:return kf(t,r);case 195:return Ef(t,r);case 198:return ju(t,r);case 200:return ay;case 197:return Cf(t);case 256:return Cl(t,r);case 249:return Zu(t);case 250:return Qu(t);case 254:return rl(t,r);case 251:e.Debug.fail("Shouldn't ever directly check a JsxOpeningElement")}return ny}function Kf(t){t.expression&&uh(t.expression,e.Diagnostics.Type_expected),ug(t.constraint),ug(t.default);var r=dr(ve(t));rn(r)||l(t.constraint,e.Diagnostics.Type_parameter_0_has_a_circular_constraint,Ve(r));var n=$r(r),i=on(r);n&&i&&yo(i,Sr(n,i),t.default,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1),a&&wp(t.name,e.Diagnostics.Type_parameter_name_cannot_be_0)}function Jf(t){bm(t)||km(t),Z_(t);var r=e.getContainingFunction(t);92&e.getModifierFlags(t)&&(r=e.getContainingFunction(t),152===r.kind&&e.nodeIsPresent(r.body)||l(t,e.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation)),t.questionToken&&e.isBindingPattern(t.name)&&r.body&&l(t,e.Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),"this"===t.name.text&&(0!==e.indexOf(r.parameters,t)&&l(t,e.Diagnostics.A_this_parameter_must_be_the_first_parameter),152!==r.kind&&156!==r.kind&&161!==r.kind||l(t,e.Diagnostics.A_constructor_cannot_have_a_this_parameter)),!t.dotDotDotToken||e.isBindingPattern(t.name)||Xo(Lt(t.symbol))||l(t,e.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}function qf(e,t){if(e)for(var r=0;r=0)if(r.parameters[n.parameterIndex].dotDotDotToken)l(i,e.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter);else{var a=e.chainDiagnosticMessages(void 0,e.Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type);yo(n.type,Og(r.parameters[n.parameterIndex]),t.type,void 0,a)}else if(i){for(var o=!1,s=0,c=r.parameters;s0&&r.declarations[0]!==t)return}var n=zn(ve(t));if(n)for(var i=!1,a=!1,o=0,s=n.declarations;o=0)return void(r&&l(r,e.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method));Av.push(t.id);var d=k_(u,r,n);if(Av.pop(),!d)return;return i.awaitedTypeOfType=d}var f=ct(t,"then");return f&&_n(f,0).length>0?void(r&&(e.Debug.assert(!!n),l(r,n))):i.awaitedTypeOfType=t}function x_(t){var r=Na(t.type);if(Ih>=2){if(r===ny)return ny;var n=yi(!0);if(n!==ky&&!Bt(r,n))return l(t.type,e.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type),ny}else{if(C_(t.type),r===ny)return ny;var i=e.getEntityNameFromTypeNode(t.type);if(void 0===i)return l(t.type,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,Ve(r)),ny;var a=ie(i,107455,!0),o=a?Lt(a):ny;if(o===ny)return 71===i.kind&&"Promise"===i.text&&jt(r)===yi(!1)?l(t.type,e.Diagnostics.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option):l(t.type,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,e.entityNameToString(i)),ny;var s=bi(!0);if(s===yy)return l(t.type,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,e.entityNameToString(i)),ny;if(!yo(o,s,t.type,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value))return ny;var c=i&&Qp(i),u=E(t.locals,c.text,107455);if(u)return l(u.valueDeclaration,e.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,c.text,e.entityNameToString(i)),ny}return b_(r,t,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}function S_(t){var r=xd(t),n=In(r);if(!(1&n.flags)){var i,a,o=hd(t);switch(t.parent.kind){case 229:i=Yi([Lt(ve(t.parent)),py]);break;case 146:i=py,a=e.chainDiagnosticMessages(a,e.Diagnostics.The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any);break;case 149:i=py,a=e.chainDiagnosticMessages(a,e.Diagnostics.The_return_type_of_a_property_decorator_function_must_be_either_void_or_any);break;case 151:case 153:case 154:i=Yi([Ni(Og(t.parent)),py])}yo(n,i,t,o,a)}}function C_(t){var r=t&&e.getEntityNameFromTypeNode(t),n=r&&Qp(r),i=n&&w(n,n.text,8388608|(71===r.kind?793064:1920),void 0,void 0);i&&8388608&i.flags&&xe(i)&&!Qg($(i))&&te(i)}function E_(t){return t.dotDotDotToken?e.getRestParameterElementType(t.type):t.type}function D_(t){if(t.decorators&&e.nodeCanBeDecorated(t)){Oh.experimentalDecorators||l(t,e.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_to_remove_this_warning);var r=t.decorators[0];if(hm(r,8),146===t.kind&&hm(r,32),Oh.emitDecoratorMetadata)switch(hm(r,16),t.kind){case 229:var n=e.getFirstConstructorWithBody(t);if(n)for(var i=0,a=n.parameters;i=e.ModuleKind.ES2015)&&(K_(t,r,"require")||K_(t,r,"exports"))&&(233!==t.kind||1===e.getModuleInstanceState(t))){var n=ot(t);265===n.kind&&e.isExternalOrCommonJsModule(n)&&l(r,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,e.declarationNameToString(r),e.declarationNameToString(r))}}function G_(t,r){if(!(Ih>=4)&&K_(t,r,"Promise")&&(233!==t.kind||1===e.getModuleInstanceState(t))){var n=ot(t);265===n.kind&&e.isExternalOrCommonJsModule(n)&&1024&n.flags&&l(r,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,e.declarationNameToString(r),e.declarationNameToString(r))}}function X_(t){if(0==(3&e.getCombinedNodeFlags(t))&&!e.isParameterDeclaration(t)&&(226!==t.kind||t.initializer)){var r=ve(t);if(1&r.flags){var n=w(t,t.name.text,3,void 0,void 0);if(n&&n!==r&&2&n.flags&&3&Tl(n)){var i=e.getAncestor(n.valueDeclaration,227),a=208===i.parent.kind&&i.parent.parent?i.parent.parent:void 0;if(!(a&&(207===a.kind&&e.isFunctionLike(a.parent)||234===a.kind||233===a.kind||265===a.kind))){var o=qe(n);l(t,e.Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,o,o)}}}}}function Y_(t){function r(i){if(!e.isTypeNode(i)&&!e.isDeclarationName(i)){if(179===i.kind)return r(i.expression);if(71!==i.kind)return e.forEachChild(i,r);var a=w(i,i.text,8496063,void 0,void 0);if(a&&a!==$h&&a.valueDeclaration){if(a.valueDeclaration===t)return void l(i,e.Diagnostics.Parameter_0_cannot_be_referenced_in_its_initializer,e.declarationNameToString(t.name));if(e.getEnclosingBlockScopeContainer(a.valueDeclaration)===n){if(146===a.valueDeclaration.kind||176===a.valueDeclaration.kind){if(a.valueDeclaration.pos1)return uh(t,e.Diagnostics.Modifiers_cannot_appear_here)}}function ip(e){yh(e),jf(e.expression)}function ap(t){yh(t),jf(t.expression),ug(t.thenStatement),209===t.thenStatement.kind&&l(t.thenStatement,e.Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement),ug(t.elseStatement)}function op(e){yh(e),ug(e.statement),jf(e.expression)}function sp(e){yh(e),jf(e.expression),ug(e.statement)}function cp(t){yh(t)||t.initializer&&227===t.initializer.kind&&ih(t.initializer),t.initializer&&(227===t.initializer.kind?e.forEach(t.initializer.declarations,ep):jf(t.initializer)),t.condition&&jf(t.condition),t.incrementor&&jf(t.incrementor),ug(t.statement),t.locals&&A_(t)}function up(t){if(Hm(t),216===t.kind&&(t.awaitModifier?Ih<4&&hm(t,8192):Ih<2&&Oh.downlevelIteration&&hm(t,256)),227===t.initializer.kind)dp(t);else{var r=t.initializer,n=fp(t.expression,t.awaitModifier);if(177===r.kind||178===r.kind)mf(r,n||ny);else{var i=jf(r);Zd(r,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access),n&&yo(n,i,r,void 0)}}ug(t.statement),t.locals&&A_(t)}function lp(t){Hm(t);var r=Nl(t.expression);if(227===t.initializer.kind){var n=t.initializer.declarations[0];n&&e.isBindingPattern(n.name)&&l(n.name,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern),dp(t)}else{var i=t.initializer,a=jf(i);177===i.kind||178===i.kind?l(i,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern):_o(sa(r),a)?Zd(i,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access):l(i,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}Uu(r,17350656)||l(t.expression,e.Diagnostics.The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter),ug(t.statement),t.locals&&A_(t)}function dp(e){var t=e.initializer;if(t.declarations.length>=1){ep(t.declarations[0])}}function fp(e,t){return _p(Nl(e),e,!0,void 0!==t)}function _p(e,t,r,n){return ut(e)?e:pp(e,t,r,n,!0)||ty}function pp(t,r,n,i,a){var o=Ih>=2,s=!o&&Oh.downlevelIteration;if(o||s||i){var c=gp(t,o?r:void 0,i,i,a);if(c||o)return c}var u=t,d=!1,f=!1;if(n){if(65536&u.flags){var _=t.types,p=e.filter(_,function(e){return!(262178&e.flags)});p!==_&&(u=Yi(p,!0))}else 262178&u.flags&&(u=gy);if((f=u!==t)&&(Ih<1&&r&&(l(r,e.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),d=!0),8192&u.flags))return cy}if(!Yo(u)){if(r&&!d){l(r,!n||f?s?e.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:e.Diagnostics.Type_0_is_not_an_array_type:s?e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type,Ve(u))}return f?cy:void 0}var g=hn(u,1);return f&&g?262178&g.flags?cy:Yi([g,cy],!0):g}function gp(t,r,n,i,a){if(!ut(t)){var o=t;if(n?o.iteratedTypeOfAsyncIterable:o.iteratedTypeOfIterable)return n?o.iteratedTypeOfAsyncIterable:o.iteratedTypeOfIterable;if(n&&(Bt(t,ki(!1))||Bt(t,Si(!1))))return o.iteratedTypeOfAsyncIterable=t.typeArguments[0];if((!n||i)&&(Bt(t,Ci(!1))||Bt(t,Di(!1))))return n?o.iteratedTypeOfAsyncIterable=t.typeArguments[0]:o.iteratedTypeOfIterable=t.typeArguments[0];var s,c=!1;if(n){var u=ct(t,e.getPropertyNameForKnownSymbolName("asyncIterator"));if(ut(u))return;s=u&&_n(u,0)}if(!n||i&&!e.some(s)){var u=ct(t,e.getPropertyNameForKnownSymbolName("iterator"));if(ut(u))return;s=u&&_n(u,0),c=!0}if(e.some(s)){var d=Yi(e.map(s,In),!0),f=mp(d,r,!c);return a&&r&&f&&yo(t,c?Oi(f):Pi(f),r),n?o.iteratedTypeOfAsyncIterable=f:o.iteratedTypeOfIterable=f}r&&l(r,n?e.Diagnostics.Type_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:e.Diagnostics.Type_must_have_a_Symbol_iterator_method_that_returns_an_iterator)}}function mp(t,r,n){if(!ut(t)){var i=t;if(n?i.iteratedTypeOfAsyncIterator:i.iteratedTypeOfIterator)return n?i.iteratedTypeOfAsyncIterator:i.iteratedTypeOfIterator;if(Bt(t,(n?xi:Ei)(!1)))return n?i.iteratedTypeOfAsyncIterator=t.typeArguments[0]:i.iteratedTypeOfIterator=t.typeArguments[0];var a=ct(t,"next");if(!ut(a)){var o=a?_n(a,0):Ph;if(0===o.length)return void(r&&l(r,n?e.Diagnostics.An_async_iterator_must_have_a_next_method:e.Diagnostics.An_iterator_must_have_a_next_method));var s=Yi(e.map(o,In),!0);if(!(ut(s)||n&&(s=y_(s,r,e.Diagnostics.The_type_returned_by_the_next_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property),ut(s)))){var c=s&&ct(s,"value");return c?n?i.iteratedTypeOfAsyncIterator=c:i.iteratedTypeOfIterator=c:void(r&&l(r,n?e.Diagnostics.The_type_returned_by_the_next_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:e.Diagnostics.The_type_returned_by_the_next_method_of_an_iterator_must_have_a_value_property))}}}}function hp(e,t){if(!ut(e))return gp(e,void 0,t,!1,!1)||mp(e,void 0,t)}function yp(e){yh(e)||Zm(e)}function vp(t){return!(153!==t.kind||!e.getSetAccessorTypeAnnotationNode(e.getDeclarationOfKind(t.symbol,154)))}function bp(t,r){var n=2==(3&e.getFunctionFlags(t))?v_(r):r;return n&&of(n,1025)}function kp(t){if(!yh(t)){e.getContainingFunction(t)||uh(t,e.Diagnostics.A_return_statement_can_only_be_used_within_a_function_body)}var r=e.getContainingFunction(t);if(r){var n=wn(r),i=In(n);if(Bh||t.expression||8192&i.flags){var a=t.expression?Af(t.expression):iy,o=e.getFunctionFlags(r);if(1&o)return;if(154===r.kind)t.expression&&l(t,e.Diagnostics.Setters_cannot_return_a_value);else if(152===r.kind)t.expression&&!yo(a,i,t)&&l(t,e.Diagnostics.Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class);else if(r.type||vp(r))if(2&o){var s=v_(i),c=b_(a,t,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);s&&yo(c,s,t)}else yo(a,i,t)}else 152!==r.kind&&Oh.noImplicitReturns&&!bp(r,i)&&l(t,e.Diagnostics.Not_all_code_paths_return_a_value)}}function xp(t){yh(t)||16384&t.flags&&uh(t,e.Diagnostics.with_statements_are_not_allowed_in_an_async_function_block),jf(t.expression);var r=e.getSourceFileOfNode(t);if(!ch(r)){var n=e.getSpanOfTokenAtPosition(r,t.pos).start;lh(r,n,t.statement.pos-n,e.Diagnostics.The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any)}}function Sp(t){yh(t);var r,n=!1,i=jf(t.expression),o=$o(i);e.forEach(t.caseBlock.clauses,function(s){if(258===s.kind&&!n)if(void 0===r)r=s;else{var c=e.getSourceFileOfNode(t),u=e.skipTrivia(c.text,s.pos),l=s.statements.length>0?s.statements[0].pos:s.end;lh(c,u,l-u,e.Diagnostics.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement),n=!0}if(a&&257===s.kind){var d=s,f=jf(d.expression),_=$o(f),p=i;_&&o||(f=_?es(f):f,p=es(i)),vf(p,f)||vo(f,p,d.expression,void 0)}e.forEach(s.statements,ug)}),t.caseBlock.locals&&A_(t.caseBlock)}function Cp(t){yh(t)||e.findAncestor(t.parent,function(r){if(e.isFunctionLike(r))return"quit";if(222===r.kind&&r.label.text===t.label.text){var n=e.getSourceFileOfNode(t);return dh(t.label,e.Diagnostics.Duplicate_label_0,e.getTextOfNodeFromSourceText(n.text,t.label)),!0}}),ug(t.statement)}function Ep(t){yh(t)||void 0===t.expression&&bh(t,e.Diagnostics.Line_break_not_permitted_here),t.expression&&jf(t.expression)}function Dp(t){yh(t),j_(t.tryBlock);var r=t.catchClause;if(r){if(r.variableDeclaration)if(r.variableDeclaration.type)uh(r.variableDeclaration.type,e.Diagnostics.Catch_clause_variable_cannot_have_a_type_annotation);else if(r.variableDeclaration.initializer)uh(r.variableDeclaration.initializer,e.Diagnostics.Catch_clause_variable_cannot_have_an_initializer);else{var n=r.block.locals;n&&e.forEachKey(r.locals,function(t){var r=n.get(t);r&&0!=(2&r.flags)&&dh(r.valueDeclaration,e.Diagnostics.Cannot_redeclare_identifier_0_in_catch_clause,t)})}j_(r.block)}t.finallyBlock&&j_(t.finallyBlock)}function Tp(t){function r(t,r,n,i,a,o){if(a){var s=t.valueDeclaration;if(1!==o||(s?Ju(s.name):Hu(t.name))){var c;if(!s||144!==s.name.kind&&t.parent!==n.symbol){if(i)c=i;else if(2&x(n)){var u=e.forEach(Zt(n),function(e){return Xr(e,t.name)&&hn(e,o)});c=u?void 0:n.symbol.declarations[0]}}else c=s;if(c&&!_o(r,a)){l(c,0===o?e.Diagnostics.Property_0_of_type_1_is_not_assignable_to_string_index_type_2:e.Diagnostics.Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2,qe(t),Ve(r),Ve(a))}}}}var n=Kn(t.symbol,1),i=Kn(t.symbol,0),a=hn(t,0),o=hn(t,1);if((a||o)&&(e.forEach(Gr(t),function(e){var s=Lt(e);r(e,s,t,i,a,0),r(e,s,t,n,o,1)}),1&x(t)&&e.isClassLike(t.symbol.valueDeclaration)))for(var s=t.symbol.valueDeclaration,c=0,u=s.members;cn)return!1;for(var u=0;u>s;case 47:return i>>>s;case 45:return i<1&&e.forEach(n.declarations,function(t){e.isConstEnumDeclaration(t)!==r&&l(t.name,e.Diagnostics.Enum_declarations_must_all_be_const_or_non_const)});var i=!1;e.forEach(n.declarations,function(t){if(232!==t.kind)return!1;var r=t;if(!r.members.length)return!1;var n=r.members[0];n.initializer||(i?l(n.name,e.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):i=!0)})}}}function Wp(t){for(var r=t.declarations,n=0,i=r;n1&&!n&&e.isInstantiatedModule(t,Oh.preserveConstEnums||Oh.isolatedModules)){var s=Wp(o);s&&(e.getSourceFileOfNode(t)!==e.getSourceFileOfNode(s)?l(t.name,e.Diagnostics.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged):t.pos1)for(var s=0,c=i;s0?e.concatenate(o,a):a}return e.forEach(n.getSourceFiles(),fg),Nv.getDiagnostics()}function mg(){return hg(),Nv.getGlobalDiagnostics()}function hg(){if(!a)throw new Error("Trying to get diagnostics from a type checker that does not produce them.")}function yg(e){if(e)for(;e.parent;){if(220===e.parent.kind&&e.parent.statement===e)return!0;e=e.parent}return!1}function vg(t,r){function n(e,t){if(e.flags&t){var r=e.name;a.has(r)||a.set(r,e)}}function i(e,t){t&&e.forEach(function(e){n(e,t)})}if(yg(t))return[];var a=e.createMap(),o=0;return function(){for(;t;){switch(t.locals&&!C(t)&&i(t.locals,r),t.kind){case 265:if(!e.isExternalOrCommonJsModule(t))break;case 233:i(ve(t).exports,8914931&r);break;case 232:i(ve(t).exports,8&r);break;case 199:t.name&&n(t.symbol,r);case 229:case 230:32&o||i(ve(t).members,793064&r);break;case 186:t.name&&n(t.symbol,r)}e.introducesArgumentsExoticObject(t)&&n(Uh,r),o=e.getModifierFlags(t),t=t.parent}i(uv,r)}(),kn(a)}function bg(e){return 71===e.kind&&kg(e.parent)&&e.parent.name===e}function kg(e){switch(e.kind){case 145:case 229:case 230:case 231:case 232:return!0}}function xg(e){for(var t=e;t.parent&&143===t.parent.kind;)t=t.parent;return t.parent&&(159===t.parent.kind||277===t.parent.kind)}function Sg(e){for(var t=e;t.parent&&179===t.parent.kind;)t=t.parent;return t.parent&&201===t.parent.kind}function Cg(t,r){for(var n;;){if(!(t=e.getContainingClass(t)))break;if(n=r(t))break}return n}function Eg(e,t){return!!Cg(e,function(e){return e===t})}function Dg(e){for(;143===e.parent.kind;)e=e.parent;return 237===e.parent.kind?e.parent.moduleReference===e&&e.parent:243===e.parent.kind?e.parent.expression===e&&e.parent:void 0}function Tg(e){return void 0!==Dg(e)}function wg(t){switch(e.getSpecialPropertyAssignmentKind(t.parent.parent)){case 1:case 3:return ve(t.parent);case 4:case 2:case 5:return ve(t.parent.parent)}}function Ag(t){if(e.isDeclarationName(t))return ve(t.parent);if(e.isInJavaScriptFile(t)&&179===t.parent.kind&&t.parent===t.parent.parent.left){var r=wg(t);if(r)return r}if(243===t.parent.kind&&e.isEntityNameExpression(t))return ie(t,9289727);if(179!==t.kind&&Tg(t)){var n=e.getAncestor(t,237);return e.Debug.assert(void 0!==n),re(t,!0)}if(e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),Sg(t)){var i=0;201===t.parent.kind?(i=793064,e.isExpressionWithTypeArgumentsInClassExtendsClause(t.parent)&&(i|=107455)):i=1920,i|=8388608;var a=ie(t,i);if(a)return a}if(e.isPartOfExpression(t)){if(e.nodeIsMissing(t))return;if(71===t.kind)return e.isJSXTagName(t)&&el(t)?il(t.parent):ie(t,107455,!1,!0);if(179===t.kind){var o=k(t).resolvedSymbol;return o||Ml(t),k(t).resolvedSymbol}if(143===t.kind){var o=k(t).resolvedSymbol;return o||Ol(t),k(t).resolvedSymbol}}else{if(xg(t)){var i=159===t.parent.kind||277===t.parent.kind?793064:1920;return ie(t,i,!1,!0)}if(253===t.parent.kind)return ml(t.parent)}return 158===t.parent.kind?ie(t,1):void 0}function Ng(t){if(265===t.kind)return e.isExternalModule(t)?ye(t.symbol):void 0;if(!yg(t)){if(e.isDeclarationName(t))return ve(t.parent);if(e.isLiteralComputedPropertyDeclarationName(t))return ve(t.parent.parent);if(71===t.kind){if(Tg(t))return Ag(t);if(176===t.parent.kind&&174===t.parent.parent.kind&&t===t.parent.propertyName){var r=Og(t.parent.parent),n=r&&dn(r,t.text);if(n)return n}}switch(t.kind){case 71:case 179:case 143:return Ag(t);case 99:var i=e.getThisContainer(t,!1);if(e.isFunctionLike(i)){var a=wn(i);if(a.thisParameter)return a.thisParameter}case 97:return(e.isPartOfExpression(t)?Lf(t):Na(t)).symbol;case 169:return Na(t).symbol;case 123:var o=t.parent;if(o&&152===o.kind)return o.parent.symbol;return;case 9:if(e.isExternalModuleImportEqualsDeclaration(t.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(t.parent.parent)===t||(238===t.parent.kind||244===t.parent.kind)&&t.parent.moduleSpecifier===t)return ae(t,t);if(e.isInJavaScriptFile(t)&&e.isRequireCall(t.parent,!1))return ae(t,t);case 8:if(180===t.parent.kind&&t.parent.argumentExpression===t){var s=Lf(t.parent.expression);if(s===ny)return;var c=sn(s);if(c===ny)return;return dn(c,t.text)}}}}function Pg(e){if(e&&262===e.kind)return ie(e.name,8496063)}function Mg(e){return e.parent.parent.moduleSpecifier?H(e.parent.parent,e):ie(e.propertyName||e.name,9289727)}function Og(t){if(yg(t))return ny;if(e.isPartOfTypeNode(t)){var r=Na(t);if(r&&e.isExpressionWithTypeArgumentsInClassImplementsClause(t)){var n=e.getContainingClass(t),i=Og(n);r=Sr(r,i.thisType)}return r}if(e.isPartOfExpression(t))return Rg(t);if(e.isExpressionWithTypeArgumentsInClassExtendsClause(t)){var a=e.getContainingClass(t),i=_r(ve(a)),o=Zt(i)[0];return o&&Sr(o,i.thisType)}if(kg(t)){var s=ve(t);return _r(s)}if(bg(t)){var s=Ng(t);return s&&_r(s)}if(e.isDeclaration(t)){var s=ve(t);return Lt(s)}if(e.isDeclarationName(t)){var s=Ng(t);return s&&Lt(s)}if(e.isBindingPattern(t))return yt(t.parent,!0);if(Tg(t)){var s=Ng(t),c=s&&_r(s);return c!==ny?c:Lt(s)}return ny}function Ig(t){if(e.Debug.assert(178===t.kind||177===t.kind),216===t.parent.kind){var r=fp(t.parent.expression,t.parent.awaitModifier);return mf(t,r||ny)}if(194===t.parent.kind){var r=Lf(t.parent.right);return mf(t,r||ny)}if(261===t.parent.kind){return _f(Ig(t.parent.parent)||ny,t.parent)}e.Debug.assert(177===t.parent.kind);var n=Ig(t.parent),i=_p(n||ny,t.parent,!1,!1)||ny;return gf(t.parent,n,e.indexOf(t.parent.elements,t),i||ny)}function Fg(e){var t=Ig(e.parent.parent);return t&&dn(t,e.text)}function Rg(t){return e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),Sa(Lf(t))}function Lg(t){var r=ve(t.parent);return 32&e.getModifierFlags(t)?Lt(r):_r(r)}function Bg(t){t=sn(t);var r=vr(Qr(t));return(_n(t,0).length||_n(t,1).length)&&e.forEach(Qr(Ey),function(e){r.has(e.name)||r.set(e.name,e)}),we(r)}function jg(t){if(6&S(t)){var r=[],n=t.name;return e.forEach(b(t).containingType.types,function(e){var t=dn(e,n);t&&r.push(t)}),r}if(134217728&t.flags){if(t.leftSpread){var i=t;return jg(i.leftSpread).concat(jg(i.rightSpread))}if(t.syntheticOrigin)return jg(t.syntheticOrigin);for(var a=void 0,o=t;o=b(o).target;)a=o;if(a)return[a]}return[t]}function zg(t){if(!e.isGeneratedIdentifier(t)&&(t=e.getParseTreeNode(t,e.isIdentifier))){return!(179===t.parent.kind&&t.parent.name===t)&&fm(t)===Uh}return!1}function Kg(t){function r(e){return(e=Z(e))&&!!(107455&e.flags)}var n=ae(t.parent,t);if(!n||e.isShorthandAmbientModuleSymbol(n))return!0;var i=le(n);n=ce(n);var a=b(n);return void 0===a.exportsSomeValue&&(a.exportsSomeValue=i?!!(107455&n.flags):e.forEachEntry(ge(n),r)),a.exportsSomeValue}function Jg(t){var r=t.parent;return r&&e.isModuleOrEnumDeclaration(r)&&t===r.name}function qg(t,r){if(t=e.getParseTreeNode(t,e.isIdentifier)){var n=fm(t,Jg(t));if(n){if(1048576&n.flags){var i=ye(n.exportSymbol);if(!r&&944&i.flags)return;n=i}var a=be(n);if(a){if(512&a.flags&&265===a.valueDeclaration.kind){var o=a.valueDeclaration;return o!==e.getSourceFileOfNode(t)?void 0:o}return e.findAncestor(t.parent,function(t){return e.isModuleOrEnumDeclaration(t)&&ve(t)===a})}}}}function Ug(t){if(t=e.getParseTreeNode(t,e.isIdentifier)){var r=fm(t);if(r&&8388608&r.flags)return j(r)}}function Vg(t){if(418&t.flags){var r=b(t);if(void 0===r.isDeclarationWithCollidingName){var n=e.getEnclosingBlockScopeContainer(t.valueDeclaration);if(e.isStatementWithLocals(n)){var i=k(t.valueDeclaration);if(w(n.parent,t.name,107455,void 0,void 0))r.isDeclarationWithCollidingName=!0;else if(131072&i.flags){var a=262144&i.flags,o=e.isIterationStatement(n,!1),s=207===n.kind&&e.isIterationStatement(n.parent,!1);r.isDeclarationWithCollidingName=!(e.isBlockScopedContainerTopLevel(n)||a&&(o||s))}else r.isDeclarationWithCollidingName=!1}}return r.isDeclarationWithCollidingName}return!1}function Hg(t){if(!e.isGeneratedIdentifier(t)&&(t=e.getParseTreeNode(t,e.isIdentifier))){var r=fm(t);if(r&&Vg(r))return r.valueDeclaration}}function Wg(t){if(t=e.getParseTreeNode(t,e.isDeclaration)){var r=ve(t);if(r)return Vg(r)}return!1}function Gg(t){switch(t.kind){case 237:case 239:case 240:case 242:case 246:return Yg(ve(t)||$h);case 244:var r=t.exportClause;return r&&e.forEach(r.elements,Gg);case 243:return!t.expression||71!==t.expression.kind||Yg(ve(t)||$h)}return!1}function Xg(t){return!(void 0===(t=e.getParseTreeNode(t,e.isImportEqualsDeclaration))||265!==t.parent.kind||!e.isInternalModuleImportEqualsDeclaration(t))&&(Yg(ve(t))&&t.moduleReference&&!e.nodeIsMissing(t.moduleReference))}function Yg(e){var t=$(e);return t===$h||107455&t.flags&&(Oh.preserveConstEnums||!Qg(t))}function Qg(e){return uf(e)||e.constEnumOnlyModule}function Zg(t,r){if(e.isAliasSymbolDeclaration(t)){var n=ve(t);if(n&&b(n).referenced)return!0}return!!r&&e.forEachChild(t,function(e){return Zg(e,r)})}function $g(t){if(e.nodeIsPresent(t.body)){var r=ve(t),n=Pn(r);return n.length>1||1===n.length&&n[0].declaration!==t}return!1}function em(t){return Bh&&!Cn(t)&&t.initializer&&!(92&e.getModifierFlags(t))}function tm(e){return k(e).flags}function rm(e){return Vp(e.parent),k(e).enumMemberValue}function nm(e){switch(e.kind){case 264:case 179:case 180:return!0}return!1}function im(t){if(264===t.kind)return rm(t);var r=k(t).resolvedSymbol;return r&&8&r.flags&&e.isConstEnumDeclaration(r.valueDeclaration.parent)?rm(r.valueDeclaration):void 0}function am(e){return 32768&e.flags&&_n(e,0).length>0}function om(t,r){var n=ie(t,107455,!0,!1,r),i=ie(t,793064,!0,!1,r);if(n&&n===i){var a=vi(!1);if(a&&n===a)return e.TypeReferenceSerializationKind.Promise;var o=Lt(n);if(o&&Wt(o))return e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}if(!i)return e.TypeReferenceSerializationKind.ObjectType;var s=_r(i);return s===ny?e.TypeReferenceSerializationKind.Unknown:1&s.flags?e.TypeReferenceSerializationKind.ObjectType:sf(s,15360)?e.TypeReferenceSerializationKind.VoidNullableOrNeverType:sf(s,136)?e.TypeReferenceSerializationKind.BooleanType:sf(s,340)?e.TypeReferenceSerializationKind.NumberLikeType:sf(s,262178)?e.TypeReferenceSerializationKind.StringLikeType:rs(s)?e.TypeReferenceSerializationKind.ArrayLikeType:sf(s,512)?e.TypeReferenceSerializationKind.ESSymbolType:am(s)?e.TypeReferenceSerializationKind.TypeWithCallSignature:Xo(s)?e.TypeReferenceSerializationKind.ArrayLikeType:e.TypeReferenceSerializationKind.ObjectType}function sm(e,t,r,n){var i=ve(e),a=!i||133120&i.flags?ny:ts(Lt(i));4096&r&&(a=as(a,2048)),$e().buildTypeDisplay(a,n,t,r)}function cm(e,t,r,n){var i=wn(e);$e().buildTypeDisplay(In(i),n,t,r)}function um(e,t,r,n){var i=gs(Rg(e));$e().buildTypeDisplay(i,n,t,r)}function lm(e,t,r,n){var i=_r(ve(e));$t(i);var a=i.resolvedBaseTypes.length?i.resolvedBaseTypes[0]:ny;a.symbol||n.reportIllegalExtends(),$e().buildTypeDisplay(a,n,t,r)}function dm(e){return uv.has(e)}function fm(t,r){var n=k(t).resolvedSymbol;if(n)return n;var i=t;if(r){var a=t.parent;e.isDeclaration(a)&&t===a.name&&(i=ot(a))}return w(i,t.text,9544639,void 0,void 0)}function _m(t){if(!e.isGeneratedIdentifier(t)&&(t=e.getParseTreeNode(t,e.isIdentifier))){var r=fm(t);if(r)return ke(r).valueDeclaration}}function pm(t){if(e.isConst(t)){var r=Lt(ve(t));return!!(96&r.flags&&1048576&r.flags)}return!1}function gm(e,t){var r=Lt(ve(e));t.writeStringLiteral(Qe(r))}function mm(t){var r=e.getExternalModuleName(t),n=oe(r,r,void 0);if(n)return e.getDeclarationOfKind(n,265)}function hm(t,r){if((Sh&r)!==r&&Oh.importHelpers){var n=e.getSourceFileOfNode(t);if(e.isEffectiveExternalModule(n,Oh)&&!e.isInAmbientContext(t)){var i=vm(n,t);if(i!==$h)for(var a=r&~Sh,o=1;o<=8192;o<<=1)if(a&o){var s=ym(o),c=E(i.exports,e.escapeIdentifier(s),107455);c||l(t,e.Diagnostics.This_syntax_requires_an_imported_helper_named_1_but_module_0_has_no_exported_member_1,e.externalHelpersModuleNameText,s)}Sh|=r}}}function ym(t){switch(t){case 1:return"__extends";case 2:return"__assign";case 4:return"__rest";case 8:return"__decorate";case 16:return"__metadata";case 32:return"__param";case 64:return"__awaiter";case 128:return"__generator";case 256:return"__values";case 512:return"__read";case 1024:return"__spread";case 2048:return"__asyncGenerator";case 4096:return"__asyncDelegator";case 8192:return"__asyncValues";default:e.Debug.fail("Unrecognized helper.")}}function vm(t,r){return Ch||(Ch=se(t,e.externalHelpersModuleNameText,e.Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,r)||$h),Ch}function bm(t){if(!t.decorators)return!1;if(!e.nodeCanBeDecorated(t))return 151!==t.kind||e.nodeIsPresent(t.body)?uh(t,e.Diagnostics.Decorators_are_not_valid_here):uh(t,e.Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload);if(153===t.kind||154===t.kind){var r=e.getAllAccessorDeclarations(t.parent.members,t);if(r.firstAccessor.decorators&&t===r.secondAccessor)return uh(t,e.Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}return!1}function km(t){var r=xm(t);if(void 0!==r)return r;for(var n,i,a,o,s=0,c=0,u=t.modifiers;c1||e.modifiers[0].kind!==t}function Em(t,r){switch(t.kind){case 151:case 228:case 186:case 187:return!1}return dh(r,e.Diagnostics._0_modifier_cannot_be_used_here,"async")}function Dm(t){if(t&&t.hasTrailingComma){var r=t.end-",".length,n=t.end;return lh(e.getSourceFileOfNode(t[0]),r,n-r,e.Diagnostics.Trailing_comma_not_allowed)}}function Tm(t,r){if(Dm(t))return!0;if(t&&0===t.length){var n=t.pos-"<".length;return lh(r,n,e.skipTrivia(r.text,t.end)+">".length-n,e.Diagnostics.Type_parameter_list_cannot_be_empty)}}function wm(t){for(var r=!1,n=t.length,i=0;i".length-i,e.Diagnostics.Type_argument_list_cannot_be_empty)}}function Fm(e,t){return Dm(t)||Im(e,t)}function Rm(t,r){if(r)for(var n=e.getSourceFileOfNode(t),i=0,a=r;i1)return uh(o.types[1],e.Diagnostics.Classes_can_only_extend_a_single_class);r=!0}else{if(e.Debug.assert(108===o.token),n)return uh(o,e.Diagnostics.implements_clause_already_seen);n=!0}Bm(o)}}function zm(t){var r=!1;if(t.heritageClauses)for(var n=0,i=t.heritageClauses;n1){var i=215===t.kind?e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;return uh(r.declarations[1],i)}var a=n[0];if(a.initializer){var i=215===t.kind?e.Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:e.Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;return dh(a.name,i)}if(a.type){var i=215===t.kind?e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:e.Diagnostics.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation;return dh(a,i)}}}return!1}function Wm(t){var r=t.kind;if(Ih<1)return dh(t.name,e.Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);if(e.isInAmbientContext(t))return dh(t.name,e.Diagnostics.An_accessor_cannot_be_declared_in_an_ambient_context);if(!(void 0!==t.body||128&e.getModifierFlags(t)))return lh(e.getSourceFileOfNode(t),t.end-1,";".length,e.Diagnostics._0_expected,"{");if(t.body&&128&e.getModifierFlags(t))return dh(t,e.Diagnostics.An_abstract_accessor_cannot_have_an_implementation);if(t.typeParameters)return dh(t.name,e.Diagnostics.An_accessor_cannot_have_type_parameters);if(!Gm(t))return dh(t.name,153===r?e.Diagnostics.A_get_accessor_cannot_have_parameters:e.Diagnostics.A_set_accessor_must_have_exactly_one_parameter);if(154===r){if(t.type)return dh(t.name,e.Diagnostics.A_set_accessor_cannot_have_a_return_type_annotation);var n=t.parameters[0];if(n.dotDotDotToken)return dh(n.dotDotDotToken,e.Diagnostics.A_set_accessor_cannot_have_rest_parameter);if(n.questionToken)return dh(n.questionToken,e.Diagnostics.A_set_accessor_cannot_have_an_optional_parameter);if(n.initializer)return dh(t.name,e.Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer)}}function Gm(e){return Xm(e)||e.parameters.length===(153===e.kind?0:1)}function Xm(t){if(t.parameters.length===(153===t.kind?1:2))return e.getThisParameter(t)}function Ym(t,r){if(e.isDynamicName(t))return dh(t,r)}function Qm(t){if(np(t)||Am(t)||Jm(t))return!0;if(178===t.parent.kind){if(qm(t.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional))return!0;if(void 0===t.body)return lh(e.getSourceFileOfNode(t),t.end-1,";".length,e.Diagnostics._0_expected,"{")}if(e.isClassLike(t.parent)){if(e.isInAmbientContext(t))return Ym(t.name,e.Diagnostics.A_computed_property_name_in_an_ambient_context_must_directly_refer_to_a_built_in_symbol);if(!t.body)return Ym(t.name,e.Diagnostics.A_computed_property_name_in_a_method_overload_must_directly_refer_to_a_built_in_symbol)}else{if(230===t.parent.kind)return Ym(t.name,e.Diagnostics.A_computed_property_name_in_an_interface_must_directly_refer_to_a_built_in_symbol);if(163===t.parent.kind)return Ym(t.name,e.Diagnostics.A_computed_property_name_in_a_type_literal_must_directly_refer_to_a_built_in_symbol)}}function Zm(t){for(var r=t;r;){if(e.isFunctionLike(r))return dh(t,e.Diagnostics.Jump_target_cannot_cross_function_boundary);switch(r.kind){case 222:if(t.label&&r.label.text===t.label.text){return!!(217===t.kind&&!e.isIterationStatement(r.statement,!0))&&dh(t,e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement)}break;case 221:if(218===t.kind&&!t.label)return!1;break;default:if(e.isIterationStatement(r,!1)&&!t.label)return!1}r=r.parent}if(t.label){var n=218===t.kind?e.Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement;return dh(t,n)}var n=218===t.kind?e.Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:e.Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement;return dh(t,n)}function $m(t){if(t.dotDotDotToken){var r=t.parent.elements;if(t!==e.lastOrUndefined(r))return dh(t,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);if(175===t.name.kind||174===t.name.kind)return dh(t.name,e.Diagnostics.A_rest_element_cannot_contain_a_binding_pattern);if(t.initializer)return lh(e.getSourceFileOfNode(t),t.initializer.pos-1,1,e.Diagnostics.A_rest_element_cannot_have_an_initializer)}}function eh(e){return 9===e.kind||8===e.kind||192===e.kind&&38===e.operator&&8===e.operand.kind}function th(t){if(215!==t.parent.parent.kind&&216!==t.parent.parent.kind)if(e.isInAmbientContext(t)){if(t.initializer){if(!e.isConst(t)||t.type){var r="=".length;return lh(e.getSourceFileOfNode(t),t.initializer.pos-r,r,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}if(!eh(t.initializer))return dh(t.initializer,e.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal)}if(t.initializer&&(!e.isConst(t)||!eh(t.initializer))){var r="=".length;return lh(e.getSourceFileOfNode(t),t.initializer.pos-r,r,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}else if(!t.initializer){if(e.isBindingPattern(t.name)&&!e.isBindingPattern(t.parent))return dh(t,e.Diagnostics.A_destructuring_declaration_must_have_an_initializer);if(e.isConst(t))return dh(t,e.Diagnostics.const_declarations_must_be_initialized)}return Oh.module===e.ModuleKind.ES2015||Oh.module===e.ModuleKind.System||Oh.noEmit||e.isInAmbientContext(t.parent.parent)||!e.hasModifier(t.parent.parent,1)||rh(t.name),(e.isLet(t)||e.isConst(t))&&nh(t.name)}function rh(t){if(71===t.kind){if("__esModule"===e.unescapeIdentifier(t.text))return dh(t,e.Diagnostics.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules)}else for(var r=t.elements,n=0,i=r;n0}function uh(t,r,n,i,a){var o=e.getSourceFileOfNode(t);if(!ch(o)){var s=e.getSpanOfTokenAtPosition(o,t.pos);return Nv.add(e.createFileDiagnostic(o,s.start,s.length,r,n,i,a)),!0}}function lh(t,r,n,i,a,o,s){if(!ch(t))return Nv.add(e.createFileDiagnostic(t,r,n,i,a,o,s)),!0}function dh(t,r,n,i,a){if(!ch(e.getSourceFileOfNode(t)))return Nv.add(e.createDiagnosticForNode(t,r,n,i,a)),!0}function fh(t){if(t.typeParameters)return lh(e.getSourceFileOfNode(t),t.typeParameters.pos,t.typeParameters.end-t.typeParameters.pos,e.Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration)}function _h(t){if(t.type)return dh(t.type,e.Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration)}function ph(t){if(e.isClassLike(t.parent)){if(Ym(t.name,e.Diagnostics.A_computed_property_name_in_a_class_property_declaration_must_directly_refer_to_a_built_in_symbol))return!0}else if(230===t.parent.kind){if(Ym(t.name,e.Diagnostics.A_computed_property_name_in_an_interface_must_directly_refer_to_a_built_in_symbol))return!0;if(t.initializer)return dh(t.initializer,e.Diagnostics.An_interface_property_cannot_have_an_initializer)}else if(163===t.parent.kind){if(Ym(t.name,e.Diagnostics.A_computed_property_name_in_a_type_literal_must_directly_refer_to_a_built_in_symbol))return!0;if(t.initializer)return dh(t.initializer,e.Diagnostics.A_type_literal_property_cannot_have_an_initializer)}if(e.isInAmbientContext(t)&&t.initializer)return uh(t.initializer,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}function gh(t){return!(230===t.kind||231===t.kind||238===t.kind||237===t.kind||244===t.kind||243===t.kind||236===t.kind||515&e.getModifierFlags(t))&&uh(t,e.Diagnostics.A_declare_modifier_is_required_for_a_top_level_declaration_in_a_d_ts_file)}function mh(t){for(var r=0,n=t.statements;r=1?r=e.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:e.isChildOfNodeWithKind(t,173)?r=e.Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:e.isChildOfNodeWithKind(t,264)&&(r=e.Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0),r){var n=e.isPrefixUnaryExpression(t.parent)&&38===t.parent.operator,i=(n?"-":"")+"0o"+t.text;return dh(n?t.parent:t,r,i)}}}function bh(t,r,n,i,a){var o=e.getSourceFileOfNode(t);if(!ch(o)){var s=e.getSpanOfTokenAtPosition(o,t.pos);return Nv.add(e.createFileDiagnostic(o,e.textSpanEnd(s),0,r,n,i,a)),!0}}function kh(){var e=[];return uv.forEach(function(t,r){i.test(r)&&e.push(t)}),e}var xh,Sh,Ch,Eh=e.objectAllocator.getSymbolConstructor(),Dh=e.objectAllocator.getTypeConstructor(),Th=e.objectAllocator.getSignatureConstructor(),wh=0,Ah=0,Nh=0,Ph=[],Mh=e.createMap(),Oh=n.getCompilerOptions(),Ih=e.getEmitScriptTarget(Oh),Fh=e.getEmitModuleKind(Oh),Rh=!!Oh.noUnusedLocals||!!Oh.noUnusedParameters,Lh=void 0!==Oh.allowSyntheticDefaultImports?Oh.allowSyntheticDefaultImports:Fh===e.ModuleKind.System,Bh=void 0===Oh.strictNullChecks?Oh.strict:Oh.strictNullChecks,jh=void 0===Oh.noImplicitAny?Oh.strict:Oh.noImplicitAny,zh=void 0===Oh.noImplicitThis?Oh.strict:Oh.noImplicitThis,Kh=function(){function t(e){if(a){var t=179===e.kind||71===e.kind&&Fs(e)?1156031:794600,n=ie(e,t,!0);return n&&n!==$h?r(n,t):void 0}}function r(t,r){if(a&&i(t)){for(var n,o=0,s=t.declarations;o0){var a=o(n.slice(0,Qn(t)));if(a&&a.length>0)return e.createTupleTypeNode(a)}return void(c.encounteredError||c.flags&e.NodeBuilderFlags.allowEmptyTuple||(c.encounteredError=!0))}var u=t.target.outerTypeParameters,l=0,d=void 0;if(u)for(var f=u.length;l0?e.createUnionOrIntersectionTypeNode(166,h):void(c.encounteredError||c.flags&e.NodeBuilderFlags.allowEmptyUnionOrIntersection||(c.encounteredError=!0))}if(131072&t.flags)return e.createUnionOrIntersectionTypeNode(167,o(t.types));if(48&p)return e.Debug.assert(!!(32768&t.flags)),function(t){var r=t.symbol;if(r){if(32&r.flags&&!Pt(r)||896&r.flags||function(){var t=!!(8192&r.flags&&e.forEach(r.declarations,function(t){return 32&e.getModifierFlags(t)})),n=!!(16&r.flags)&&(r.parent||e.forEach(r.declarations,function(e){return 265===e.parent.kind||234===e.parent.kind}));if(t||n)return e.contains(c.symbolStack,r)}())return d(r);if(e.contains(c.symbolStack,r)){var n=Xe(t);if(n){var i=s(n,!1);return e.createTypeReferenceNode(i,void 0)}return e.createKeywordTypeNode(119)}c.symbolStack||(c.symbolStack=[]),c.symbolStack.push(r);var a=l(t);return c.symbolStack.pop(),a}return l(t)}(t);if(262144&t.flags){var y=t.type,v=r(y);return e.createTypeOperatorNode(v)}if(524288&t.flags){var b=r(t.objectType),v=r(t.indexType);return e.createIndexedAccessTypeNode(b,v)}e.Debug.fail("Should be unreachable.")}function n(t,n){var i=e.createKeywordTypeNode(0===n?136:133),a=e.getNameFromIndexInfo(t),o=e.createParameter(void 0,void 0,void 0,a,void 0,i,void 0),s=r(t.type);return e.createIndexSignatureDeclaration(void 0,t.isReadonly?[e.createToken(131)]:void 0,[o],s)}function i(t,n){var i,s=t.typeParameters&&t.typeParameters.map(function(e){return a(e)}),c=t.parameters.map(function(e){return o(e)});if(t.typePredicate){var u=t.typePredicate,l=1===u.kind?e.createIdentifier(u.parameterName):e.createThisTypeNode(),d=r(u.type);i=e.createTypePredicateNode(l,d)}else{var f=In(t);i=f&&r(f)}var _=i&&119!==i.kind?i:void 0;return e.createSignatureDeclaration(n,s,c,_)}function a(t){var n=Vn(t),i=n&&r(n),a=on(t),o=a&&r(a),c=s(t.symbol,!0);return e.createTypeParameterDeclaration(c,i,o)}function o(t){var n=e.getDeclarationOfKind(t,146),i=Lt(t),a=r(i);return e.createParameter(n.decorators,n.modifiers,n.dotDotDotToken&&e.createToken(24),e.getSynthesizedClone(n.name),n.questionToken&&e.createToken(55),a,n.initializer)}function s(t,r){function n(t,r){e.Debug.assert(t&&0<=r&&r0){var s=t[r-1],u=void 0;if(1&S(i))u=Vt(s);else{524384&Lp(s).flags&&(u=Ut(i))}if(u&&u.length>0){c.encounteredError||c.flags&e.NodeBuilderFlags.allowTypeParameterInQualifiedName||(c.encounteredError=!0);var l=e.getSingleLineStringWriter();$e().buildDisplayForTypeParametersAndDelimiters(u,l,c.enclosingDeclaration,0),o=l.string(),e.releaseStringWriter(l)}}var d=a(i),f=o.length>0?d+"<"+o+">":d,_=e.createIdentifier(f);return r>0?e.createQualifiedName(n(t,r-1),_):_}function i(t,r,n){var a,o=Oe(t,c.enclosingDeclaration,r,!1);if(!o||Ie(o[0],c.enclosingDeclaration,1===o.length?r:Me(r))){var s=be(o?o[0]:t);if(s){var u=i(s,Me(r),!1);u&&(a=s,o=u.concat(o||[t]))}}return o||(!n&&(!a&&e.forEach(t.declarations,Le)||6144&t.flags)?void 0:[t])}function a(t){var r=e.firstOrUndefined(t.declarations);if(r){if(r.name)return e.declarationNameToString(r.name);if(r.parent&&226===r.parent.kind)return e.declarationNameToString(r.parent.name);switch(c.encounteredError||c.flags&e.NodeBuilderFlags.allowAnonymousIdentifier||(c.encounteredError=!0),r.kind){case 199:return"(Anonymous class)";case 186:case 187:return"(Anonymous function)"}}return t.name}var o;return 262144&t.flags||!c.enclosingDeclaration?o=[t]:(o=i(t,0,!0),e.Debug.assert(o&&o.length>0)),!r||1===o.length||c.encounteredError||c.flags&e.NodeBuilderFlags.allowQualifedNameInPlaceOfIdentifier||(c.encounteredError=!0),n(o,o.length-1)}var c;return{typeToTypeNode:function(e,n,i){c=t(n,i);var a=r(e);return c.encounteredError?void 0:a},indexInfoToIndexSignatureDeclaration:function(e,r,i,a){c=t(i,a);var o=n(e,r);return c.encounteredError?void 0:o},signatureToSignatureDeclaration:function(e,r,n,a){c=t(n,a);var o=i(e,r);return c.encounteredError?void 0:o}}}(),qh=d(4,"undefined");qh.declarations=[];var Uh=d(4,"arguments"),Vh={getNodeCount:function(){return e.sum(n.getSourceFiles(),"nodeCount")},getIdentifierCount:function(){return e.sum(n.getSourceFiles(),"identifierCount")},getSymbolCount:function(){return e.sum(n.getSourceFiles(),"symbolCount")+Ah},getTypeCount:function(){return wh},isUndefinedSymbol:function(e){return e===qh},isArgumentsSymbol:function(e){return e===Uh},isUnknownSymbol:function(e){return e===$h},getMergedSymbol:ye,getDiagnostics:pg,getGlobalDiagnostics:mg,getTypeOfSymbolAtLocation:function(t,r){return r=e.getParseTreeNode(r),r?Jc(t,r):ny},getSymbolsOfParameterPropertyDeclaration:function(t,r){return t=e.getParseTreeNode(t,e.isParameter),e.Debug.assert(void 0!==t,"Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node."),D(t,r)},getDeclaredTypeOfSymbol:_r,getPropertiesOfType:Qr,getPropertyOfType:dn,getIndexInfoOfType:mn,getSignaturesOfType:_n,getIndexTypeOfType:hn,getBaseTypes:Zt,getBaseTypeOfLiteralType:es,getWidenedType:gs,getTypeFromTypeNode:function(t){return t=e.getParseTreeNode(t,e.isTypeNode),t?Na(t):ny},getParameterType:Md,getReturnTypeOfSignature:In,getNonNullableType:ss,typeToTypeNode:Jh.typeToTypeNode,indexInfoToIndexSignatureDeclaration:Jh.indexInfoToIndexSignatureDeclaration,signatureToSignatureDeclaration:Jh.signatureToSignatureDeclaration,getSymbolsInScope:function(t,r){return t=e.getParseTreeNode(t),t?vg(t,r):[]},getSymbolAtLocation:function(t){return t=e.getParseTreeNode(t),t?Ng(t):void 0},getShorthandAssignmentValueSymbol:function(t){return t=e.getParseTreeNode(t),t?Pg(t):void 0},getExportSpecifierLocalTargetSymbol:function(t){return t=e.getParseTreeNode(t,e.isExportSpecifier),t?Mg(t):void 0},getTypeAtLocation:function(t){return t=e.getParseTreeNode(t),t?Og(t):ny},getPropertySymbolOfDestructuringAssignment:function(t){return t=e.getParseTreeNode(t,e.isIdentifier),t?Fg(t):void 0},signatureToString:function(t,r,n,i){return Ue(t,e.getParseTreeNode(r),n,i)},typeToString:function(t,r,n){return Ve(t,e.getParseTreeNode(r),n)},getSymbolDisplayBuilder:$e,symbolToString:function(t,r,n){return qe(t,e.getParseTreeNode(r),n)},getAugmentedPropertiesOfType:Bg,getRootSymbols:jg,getContextualType:function(t){return t=e.getParseTreeNode(t,e.isExpression),t?Pu(t):void 0},getFullyQualifiedName:ne,getResolvedSignature:function(t,r){return t=e.getParseTreeNode(t,e.isCallLikeExpression),t?xd(t,r):void 0},getConstantValue:function(t){return t=e.getParseTreeNode(t,nm),t?im(t):void 0},isValidPropertyAccess:function(t,r){return!!(t=e.getParseTreeNode(t,e.isPropertyAccessOrQualifiedName))&&Bl(t,r)},getSignatureFromDeclaration:function(t){return t=e.getParseTreeNode(t,e.isFunctionLike),t?wn(t):void 0},isImplementationOfOverload:function(t){return t=e.getParseTreeNode(t,e.isFunctionLike),t?$g(t):void 0},getImmediateAliasedSymbol:function(t){e.Debug.assert(0!=(8388608&t.flags),"Should only get Alias here.");var r=b(t);if(!r.immediateTarget){var n=j(t);e.Debug.assert(!!n),r.immediateTarget=Q(n,!0)}return r.immediateTarget},getAliasedSymbol:$,getEmitResolver:u,getExportsOfModule:de,getExportsAndPropertiesOfModule:fe,getAmbientModules:kh,getAllAttributesTypeFromJsxOpeningLikeElement:function(t){return t=e.getParseTreeNode(t,e.isJsxOpeningLikeElement),t?pl(t):void 0},getJsxIntrinsicTagNames:bl,isOptionalParameter:function(t){return!!(t=e.getParseTreeNode(t,e.isParameter))&&Cn(t)},tryGetMemberInModuleExports:_e,tryFindAmbientModuleWithoutAugmentations:function(e){return Sn(e,!1)},getApparentType:sn},Hh=[],Wh=e.createMap(),Gh=e.createMap(),Xh=e.createMap(),Yh=e.createMap(),Qh=e.createMap(),Zh=[],$h=d(4,"unknown"),ey=d(0,"__resolving__"),ty=Ee(1,"any"),ry=Ee(1,"any"),ny=Ee(1,"unknown"),iy=Ee(2048,"undefined"),ay=Bh?iy:Ee(2099200,"undefined"),oy=Ee(4096,"null"),sy=Bh?oy:Ee(2101248,"null"),cy=Ee(2,"string"),uy=Ee(4,"number"),ly=Ee(128,"true"),dy=Ee(128,"false"),fy=function(e){var t=Yi(e);return t.flags|=8,t.intrinsicName="boolean",t}([ly,dy]),_y=Ee(512,"symbol"),py=Ee(1024,"void"),gy=Ee(8192,"never"),my=Ee(8192,"never"),hy=Ee(16777216,"object"),yy=Ne(void 0,Mh,Ph,Ph,void 0,void 0),vy=d(2048,"__type");vy.members=e.createMap();var by=Ne(vy,Mh,Ph,Ph,void 0,void 0),ky=Ne(void 0,Mh,Ph,Ph,void 0,void 0);ky.instantiations=e.createMap();var xy=Ne(void 0,Mh,Ph,Ph,void 0,void 0);xy.flags|=8388608;var Sy,Cy,Ey,Dy,Ty,wy,Ay,Ny,Py,My,Oy,Iy,Fy,Ry,Ly,By,jy,zy,Ky,Jy,qy,Uy,Vy,Hy,Wy,Gy,Xy,Yy,Qy,Zy,$y,ev,tv=Ne(void 0,Mh,Ph,Ph,void 0,void 0),rv=Ne(void 0,Mh,Ph,Ph,void 0,void 0),nv=Tr(void 0,void 0,void 0,Ph,ty,void 0,0,!1,!1),iv=Tr(void 0,void 0,void 0,Ph,ny,void 0,0,!1,!1),av=Tr(void 0,void 0,void 0,Ph,ty,void 0,0,!1,!1),ov=Tr(void 0,void 0,void 0,Ph,my,void 0,0,!1,!1),sv=Jn(cy,!0),cv=Jn(ty,!1),uv=e.createMap(),lv=0,dv=0,fv=0,_v=Ca(32,""),pv=Ca(64,"0"),gv=[],mv=[],hv=[],yv=[],vv=[],bv=[],kv=[],xv=[],Sv=[],Cv=[],Ev=[],Dv=[],Tv=[],wv=[],Av=[],Nv=e.createDiagnosticCollection();!function(e){e[e.None=0]="None",e[e.TypeofEQString=1]="TypeofEQString",e[e.TypeofEQNumber=2]="TypeofEQNumber",e[e.TypeofEQBoolean=4]="TypeofEQBoolean",e[e.TypeofEQSymbol=8]="TypeofEQSymbol",e[e.TypeofEQObject=16]="TypeofEQObject",e[e.TypeofEQFunction=32]="TypeofEQFunction",e[e.TypeofEQHostObject=64]="TypeofEQHostObject",e[e.TypeofNEString=128]="TypeofNEString",e[e.TypeofNENumber=256]="TypeofNENumber",e[e.TypeofNEBoolean=512]="TypeofNEBoolean",e[e.TypeofNESymbol=1024]="TypeofNESymbol",e[e.TypeofNEObject=2048]="TypeofNEObject",e[e.TypeofNEFunction=4096]="TypeofNEFunction",e[e.TypeofNEHostObject=8192]="TypeofNEHostObject",e[e.EQUndefined=16384]="EQUndefined",e[e.EQNull=32768]="EQNull",e[e.EQUndefinedOrNull=65536]="EQUndefinedOrNull",e[e.NEUndefined=131072]="NEUndefined",e[e.NENull=262144]="NENull",e[e.NEUndefinedOrNull=524288]="NEUndefinedOrNull",e[e.Truthy=1048576]="Truthy",e[e.Falsy=2097152]="Falsy",e[e.Discriminatable=4194304]="Discriminatable",e[e.All=8388607]="All",e[e.BaseStringStrictFacts=933633]="BaseStringStrictFacts",e[e.BaseStringFacts=3145473]="BaseStringFacts",e[e.StringStrictFacts=4079361]="StringStrictFacts",e[e.StringFacts=4194049]="StringFacts",e[e.EmptyStringStrictFacts=3030785]="EmptyStringStrictFacts",e[e.EmptyStringFacts=3145473]="EmptyStringFacts",e[e.NonEmptyStringStrictFacts=1982209]="NonEmptyStringStrictFacts",e[e.NonEmptyStringFacts=4194049]="NonEmptyStringFacts",e[e.BaseNumberStrictFacts=933506]="BaseNumberStrictFacts",e[e.BaseNumberFacts=3145346]="BaseNumberFacts",e[e.NumberStrictFacts=4079234]="NumberStrictFacts",e[e.NumberFacts=4193922]="NumberFacts",e[e.ZeroStrictFacts=3030658]="ZeroStrictFacts",e[e.ZeroFacts=3145346]="ZeroFacts",e[e.NonZeroStrictFacts=1982082]="NonZeroStrictFacts",e[e.NonZeroFacts=4193922]="NonZeroFacts",e[e.BaseBooleanStrictFacts=933252]="BaseBooleanStrictFacts",e[e.BaseBooleanFacts=3145092]="BaseBooleanFacts",e[e.BooleanStrictFacts=4078980]="BooleanStrictFacts",e[e.BooleanFacts=4193668]="BooleanFacts",e[e.FalseStrictFacts=3030404]="FalseStrictFacts",e[e.FalseFacts=3145092]="FalseFacts",e[e.TrueStrictFacts=1981828]="TrueStrictFacts",e[e.TrueFacts=4193668]="TrueFacts",e[e.SymbolStrictFacts=1981320]="SymbolStrictFacts",e[e.SymbolFacts=4193160]="SymbolFacts",e[e.ObjectStrictFacts=6166480]="ObjectStrictFacts",e[e.ObjectFacts=8378320]="ObjectFacts",e[e.FunctionStrictFacts=6164448]="FunctionStrictFacts",e[e.FunctionFacts=8376288]="FunctionFacts",e[e.UndefinedFacts=2457472]="UndefinedFacts",e[e.NullFacts=2340752]="NullFacts"}(ev||(ev={}));var Pv,Mv,Ov,Iv,Fv,Rv,Lv=e.createMapFromTemplate({string:1,number:2,boolean:4,symbol:8,undefined:16384,object:16,function:32}),Bv=e.createMapFromTemplate({string:128,number:256,boolean:512,symbol:1024,undefined:131072,object:2048,function:4096}),jv=e.createMapFromTemplate({string:cy,number:uy,boolean:fy,symbol:_y,undefined:iy}),zv=function(){return Yi(e.convertToArray(Lv.keys(),function(e){return Ca(32,e)}))}(),Kv=!1,Jv=!1,qv=e.createMap(),Uv={JSX:"JSX",IntrinsicElements:"IntrinsicElements",ElementClass:"ElementClass",ElementAttributesPropertyNameContainer:"ElementAttributesProperty",ElementChildrenAttributeNameContainer:"ElementChildrenAttribute",Element:"Element",IntrinsicAttributes:"IntrinsicAttributes",IntrinsicClassAttributes:"IntrinsicClassAttributes"},Vv=e.createMap(),Hv=e.createMap(),Wv=e.createMap(),Gv=e.createMap(),Xv=e.createMap();!function(e){e[e.Type=0]="Type",e[e.ResolvedBaseConstructorType=1]="ResolvedBaseConstructorType",e[e.DeclaredType=2]="DeclaredType",e[e.ResolvedReturnType=3]="ResolvedReturnType"}(Rv||(Rv={}));var Yv;!function(e){e[e.Normal=0]="Normal",e[e.SkipContextSensitive=1]="SkipContextSensitive",e[e.Inferential=2]="Inferential"}(Yv||(Yv={}));var Qv=e.createMap();return Qv.set(qh.name,qh),function(){for(var t=0,r=n.getSourceFiles();ts-i)&&(a=s-i),(i>0||a0&&d<=142||169===d)return o;switch(o.kind){case 206:case 209:case 200:case 225:case 298:case 247:return o;case 143:return e.updateQualifiedName(o,t(o.left,s,e.isEntityName),t(o.right,s,e.isIdentifier));case 144:return e.updateComputedPropertyName(o,t(o.expression,s,e.isExpression));case 160:return e.updateFunctionTypeNode(o,u(o.typeParameters,s,e.isTypeParameter),i(o.parameters,s,c,u),t(o.type,s,e.isTypeNode));case 161:return e.updateConstructorTypeNode(o,u(o.typeParameters,s,e.isTypeParameter),i(o.parameters,s,c,u),t(o.type,s,e.isTypeNode));case 155:return e.updateCallSignatureDeclaration(o,u(o.typeParameters,s,e.isTypeParameter),i(o.parameters,s,c,u),t(o.type,s,e.isTypeNode));case 156:return e.updateConstructSignatureDeclaration(o,u(o.typeParameters,s,e.isTypeParameter),i(o.parameters,s,c,u),t(o.type,s,e.isTypeNode));case 150:return e.updateMethodSignature(o,u(o.typeParameters,s,e.isTypeParameter),i(o.parameters,s,c,u),t(o.type,s,e.isTypeNode),t(o.name,s,e.isPropertyName),t(o.questionToken,l,e.isToken));case 157:return e.updateIndexSignatureDeclaration(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),i(o.parameters,s,c,u),t(o.type,s,e.isTypeNode));case 146:return e.updateParameter(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.dotDotDotToken,l,e.isToken),t(o.name,s,e.isBindingName),t(o.questionToken,l,e.isToken),t(o.type,s,e.isTypeNode),t(o.initializer,s,e.isExpression));case 147:return e.updateDecorator(o,t(o.expression,s,e.isExpression));case 159:return e.updateTypeReferenceNode(o,t(o.typeName,s,e.isEntityName),u(o.typeArguments,s,e.isTypeNode));case 158:return e.updateTypePredicateNode(o,t(o.parameterName,s),t(o.type,s,e.isTypeNode));case 162:return e.updateTypeQueryNode(o,t(o.exprName,s,e.isEntityName));case 163:return e.updateTypeLiteralNode(o,u(o.members,s));case 164:return e.updateArrayTypeNode(o,t(o.elementType,s,e.isTypeNode));case 165:return e.updateTypleTypeNode(o,u(o.elementTypes,s,e.isTypeNode));case 166:case 167:return e.updateUnionOrIntersectionTypeNode(o,u(o.types,s,e.isTypeNode));case 168:throw e.Debug.fail("not implemented.");case 170:return e.updateTypeOperatorNode(o,t(o.type,s,e.isTypeNode));case 171:return e.updateIndexedAccessTypeNode(o,t(o.objectType,s,e.isTypeNode),t(o.indexType,s,e.isTypeNode));case 172:return e.updateMappedTypeNode(o,t(o.readonlyToken,l,e.isToken),t(o.typeParameter,s,e.isTypeParameter),t(o.questionToken,l,e.isToken),t(o.type,s,e.isTypeNode));case 173:return e.updateLiteralTypeNode(o,t(o.literal,s,e.isExpression));case 145:return e.updateTypeParameterDeclaration(o,t(o.name,s,e.isIdentifier),t(o.constraint,s,e.isTypeNode),t(o.default,s,e.isTypeNode));case 148:return e.updatePropertySignature(o,t(o.name,s,e.isPropertyName),t(o.questionToken,l,e.isToken),t(o.type,s,e.isTypeNode),t(o.initializer,s,e.isExpression));case 149:return e.updateProperty(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.name,s,e.isPropertyName),t(o.type,s,e.isTypeNode),t(o.initializer,s,e.isExpression));case 151:return e.updateMethod(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.asteriskToken,l,e.isToken),t(o.name,s,e.isPropertyName),t(o.questionToken,l,e.isToken),u(o.typeParameters,s,e.isTypeParameter),i(o.parameters,s,c,u),t(o.type,s,e.isTypeNode),a(o.body,s,c));case 152:return e.updateConstructor(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),i(o.parameters,s,c,u),a(o.body,s,c));case 153:return e.updateGetAccessor(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.name,s,e.isPropertyName),i(o.parameters,s,c,u),t(o.type,s,e.isTypeNode),a(o.body,s,c));case 154:return e.updateSetAccessor(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.name,s,e.isPropertyName),i(o.parameters,s,c,u),a(o.body,s,c));case 174:return e.updateObjectBindingPattern(o,u(o.elements,s,e.isBindingElement));case 175:return e.updateArrayBindingPattern(o,u(o.elements,s,e.isArrayBindingElement));case 176:return e.updateBindingElement(o,t(o.dotDotDotToken,l,e.isToken),t(o.propertyName,s,e.isPropertyName),t(o.name,s,e.isBindingName),t(o.initializer,s,e.isExpression));case 177:return e.updateArrayLiteral(o,u(o.elements,s,e.isExpression));case 178:return e.updateObjectLiteral(o,u(o.properties,s,e.isObjectLiteralElementLike));case 179:return e.updatePropertyAccess(o,t(o.expression,s,e.isExpression),t(o.name,s,e.isIdentifier));case 180:return e.updateElementAccess(o,t(o.expression,s,e.isExpression),t(o.argumentExpression,s,e.isExpression));case 181:return e.updateCall(o,t(o.expression,s,e.isExpression),u(o.typeArguments,s,e.isTypeNode),u(o.arguments,s,e.isExpression));case 182:return e.updateNew(o,t(o.expression,s,e.isExpression),u(o.typeArguments,s,e.isTypeNode),u(o.arguments,s,e.isExpression));case 183:return e.updateTaggedTemplate(o,t(o.tag,s,e.isExpression),t(o.template,s,e.isTemplateLiteral));case 184:return e.updateTypeAssertion(o,t(o.type,s,e.isTypeNode),t(o.expression,s,e.isExpression));case 185:return e.updateParen(o,t(o.expression,s,e.isExpression));case 186:return e.updateFunctionExpression(o,u(o.modifiers,s,e.isModifier),t(o.asteriskToken,l,e.isToken),t(o.name,s,e.isIdentifier),u(o.typeParameters,s,e.isTypeParameter),i(o.parameters,s,c,u),t(o.type,s,e.isTypeNode),a(o.body,s,c));case 187:return e.updateArrowFunction(o,u(o.modifiers,s,e.isModifier),u(o.typeParameters,s,e.isTypeParameter),i(o.parameters,s,c,u),t(o.type,s,e.isTypeNode),a(o.body,s,c));case 188:return e.updateDelete(o,t(o.expression,s,e.isExpression));case 189:return e.updateTypeOf(o,t(o.expression,s,e.isExpression));case 190:return e.updateVoid(o,t(o.expression,s,e.isExpression));case 191:return e.updateAwait(o,t(o.expression,s,e.isExpression));case 194:return e.updateBinary(o,t(o.left,s,e.isExpression),t(o.right,s,e.isExpression));case 192:return e.updatePrefix(o,t(o.operand,s,e.isExpression));case 193:return e.updatePostfix(o,t(o.operand,s,e.isExpression));case 195:return e.updateConditional(o,t(o.condition,s,e.isExpression),t(o.whenTrue,s,e.isExpression),t(o.whenFalse,s,e.isExpression));case 196:return e.updateTemplateExpression(o,t(o.head,s,e.isTemplateHead),u(o.templateSpans,s,e.isTemplateSpan));case 197:return e.updateYield(o,t(o.asteriskToken,l,e.isToken),t(o.expression,s,e.isExpression));case 198:return e.updateSpread(o,t(o.expression,s,e.isExpression));case 199:return e.updateClassExpression(o,u(o.modifiers,s,e.isModifier),t(o.name,s,e.isIdentifier),u(o.typeParameters,s,e.isTypeParameter),u(o.heritageClauses,s,e.isHeritageClause),u(o.members,s,e.isClassElement));case 201:return e.updateExpressionWithTypeArguments(o,u(o.typeArguments,s,e.isTypeNode),t(o.expression,s,e.isExpression));case 202:return e.updateAsExpression(o,t(o.expression,s,e.isExpression),t(o.type,s,e.isTypeNode));case 203:return e.updateNonNullExpression(o,t(o.expression,s,e.isExpression));case 205:return e.updateTemplateSpan(o,t(o.expression,s,e.isExpression),t(o.literal,s,e.isTemplateMiddleOrTemplateTail));case 207:return e.updateBlock(o,u(o.statements,s,e.isStatement));case 208:return e.updateVariableStatement(o,u(o.modifiers,s,e.isModifier),t(o.declarationList,s,e.isVariableDeclarationList));case 210:return e.updateStatement(o,t(o.expression,s,e.isExpression));case 211:return e.updateIf(o,t(o.expression,s,e.isExpression),t(o.thenStatement,s,e.isStatement,e.liftToBlock),t(o.elseStatement,s,e.isStatement,e.liftToBlock));case 212:return e.updateDo(o,t(o.statement,s,e.isStatement,e.liftToBlock),t(o.expression,s,e.isExpression));case 213:return e.updateWhile(o,t(o.expression,s,e.isExpression),t(o.statement,s,e.isStatement,e.liftToBlock));case 214:return e.updateFor(o,t(o.initializer,s,e.isForInitializer),t(o.condition,s,e.isExpression),t(o.incrementor,s,e.isExpression),t(o.statement,s,e.isStatement,e.liftToBlock));case 215:return e.updateForIn(o,t(o.initializer,s,e.isForInitializer),t(o.expression,s,e.isExpression),t(o.statement,s,e.isStatement,e.liftToBlock));case 216:return e.updateForOf(o,o.awaitModifier,t(o.initializer,s,e.isForInitializer),t(o.expression,s,e.isExpression),t(o.statement,s,e.isStatement,e.liftToBlock));case 217:return e.updateContinue(o,t(o.label,s,e.isIdentifier));case 218:return e.updateBreak(o,t(o.label,s,e.isIdentifier));case 219:return e.updateReturn(o,t(o.expression,s,e.isExpression));case 220:return e.updateWith(o,t(o.expression,s,e.isExpression),t(o.statement,s,e.isStatement,e.liftToBlock));case 221:return e.updateSwitch(o,t(o.expression,s,e.isExpression),t(o.caseBlock,s,e.isCaseBlock));case 222:return e.updateLabel(o,t(o.label,s,e.isIdentifier),t(o.statement,s,e.isStatement,e.liftToBlock));case 223:return e.updateThrow(o,t(o.expression,s,e.isExpression));case 224:return e.updateTry(o,t(o.tryBlock,s,e.isBlock),t(o.catchClause,s,e.isCatchClause),t(o.finallyBlock,s,e.isBlock));case 226:return e.updateVariableDeclaration(o,t(o.name,s,e.isBindingName),t(o.type,s,e.isTypeNode),t(o.initializer,s,e.isExpression));case 227:return e.updateVariableDeclarationList(o,u(o.declarations,s,e.isVariableDeclaration));case 228:return e.updateFunctionDeclaration(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.asteriskToken,l,e.isToken),t(o.name,s,e.isIdentifier),u(o.typeParameters,s,e.isTypeParameter),i(o.parameters,s,c,u),t(o.type,s,e.isTypeNode),a(o.body,s,c));case 229:return e.updateClassDeclaration(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.name,s,e.isIdentifier),u(o.typeParameters,s,e.isTypeParameter),u(o.heritageClauses,s,e.isHeritageClause),u(o.members,s,e.isClassElement));case 232:return e.updateEnumDeclaration(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.name,s,e.isIdentifier),u(o.members,s,e.isEnumMember));case 233:return e.updateModuleDeclaration(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.name,s,e.isIdentifier),t(o.body,s,e.isModuleBody));case 234:return e.updateModuleBlock(o,u(o.statements,s,e.isStatement));case 235:return e.updateCaseBlock(o,u(o.clauses,s,e.isCaseOrDefaultClause));case 237:return e.updateImportEqualsDeclaration(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.name,s,e.isIdentifier),t(o.moduleReference,s,e.isModuleReference));case 238:return e.updateImportDeclaration(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.importClause,s,e.isImportClause),t(o.moduleSpecifier,s,e.isExpression));case 239:return e.updateImportClause(o,t(o.name,s,e.isIdentifier),t(o.namedBindings,s,e.isNamedImportBindings));case 240:return e.updateNamespaceImport(o,t(o.name,s,e.isIdentifier));case 241:return e.updateNamedImports(o,u(o.elements,s,e.isImportSpecifier));case 242:return e.updateImportSpecifier(o,t(o.propertyName,s,e.isIdentifier),t(o.name,s,e.isIdentifier));case 243:return e.updateExportAssignment(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.expression,s,e.isExpression));case 244:return e.updateExportDeclaration(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.exportClause,s,e.isNamedExports),t(o.moduleSpecifier,s,e.isExpression));case 245:return e.updateNamedExports(o,u(o.elements,s,e.isExportSpecifier));case 246:return e.updateExportSpecifier(o,t(o.propertyName,s,e.isIdentifier),t(o.name,s,e.isIdentifier));case 248:return e.updateExternalModuleReference(o,t(o.expression,s,e.isExpression));case 249:return e.updateJsxElement(o,t(o.openingElement,s,e.isJsxOpeningElement),u(o.children,s,e.isJsxChild),t(o.closingElement,s,e.isJsxClosingElement));case 254:return e.updateJsxAttributes(o,u(o.properties,s,e.isJsxAttributeLike));case 250:return e.updateJsxSelfClosingElement(o,t(o.tagName,s,e.isJsxTagNameExpression),t(o.attributes,s,e.isJsxAttributes));case 251:return e.updateJsxOpeningElement(o,t(o.tagName,s,e.isJsxTagNameExpression),t(o.attributes,s,e.isJsxAttributes));case 252:return e.updateJsxClosingElement(o,t(o.tagName,s,e.isJsxTagNameExpression));case 253:return e.updateJsxAttribute(o,t(o.name,s,e.isIdentifier),t(o.initializer,s,e.isStringLiteralOrJsxExpression));case 255:return e.updateJsxSpreadAttribute(o,t(o.expression,s,e.isExpression));case 256:return e.updateJsxExpression(o,t(o.expression,s,e.isExpression));case 257:return e.updateCaseClause(o,t(o.expression,s,e.isExpression),u(o.statements,s,e.isStatement));case 258:return e.updateDefaultClause(o,u(o.statements,s,e.isStatement));case 259:return e.updateHeritageClause(o,u(o.types,s,e.isExpressionWithTypeArguments));case 260:return e.updateCatchClause(o,t(o.variableDeclaration,s,e.isVariableDeclaration),t(o.block,s,e.isBlock));case 261:return e.updatePropertyAssignment(o,t(o.name,s,e.isPropertyName),t(o.initializer,s,e.isExpression));case 262:return e.updateShorthandPropertyAssignment(o,t(o.name,s,e.isIdentifier),t(o.objectAssignmentInitializer,s,e.isExpression));case 263:return e.updateSpreadAssignment(o,t(o.expression,s,e.isExpression));case 264:return e.updateEnumMember(o,t(o.name,s,e.isPropertyName),t(o.initializer,s,e.isExpression));case 265:return e.updateSourceFileNode(o,n(o.statements,s,c));case 296:return e.updatePartiallyEmittedExpression(o,t(o.expression,s,e.isExpression));default:return o}}}function s(t){return e.Debug.assert(t.length<=1,"Too many nodes written to output."),e.singleOrUndefined(t)}e.visitNode=t,e.visitNodes=r,e.visitLexicalEnvironment=n,e.visitParameterList=i,e.visitFunctionBody=a,e.visitEachChild=o}(o||(o={})),function(e){function t(e,t,r){return e?t(r,e):r}function r(e,t,r){return e?t(r,e):r}function n(n,i,a,o){if(void 0===n)return i;var s=o?r:e.reduceLeft,c=o||a,u=n.kind;if(u>0&&u<=142)return i;if(u>=158&&u<=173)return i;var l=i;switch(n.kind){case 206:case 209:case 200:case 225:case 295:break;case 143:l=t(n.left,a,l),l=t(n.right,a,l);break;case 144:l=t(n.expression,a,l);break;case 146:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=t(n.type,a,l),l=t(n.initializer,a,l);break;case 147:l=t(n.expression,a,l);break;case 149:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=t(n.type,a,l),l=t(n.initializer,a,l);break;case 151:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=s(n.typeParameters,c,l),l=s(n.parameters,c,l),l=t(n.type,a,l),l=t(n.body,a,l);break;case 152:l=s(n.modifiers,c,l),l=s(n.parameters,c,l),l=t(n.body,a,l);break;case 153:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=s(n.parameters,c,l),l=t(n.type,a,l),l=t(n.body,a,l);break;case 154:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=s(n.parameters,c,l),l=t(n.body,a,l);break;case 174:case 175:l=s(n.elements,c,l);break;case 176:l=t(n.propertyName,a,l),l=t(n.name,a,l),l=t(n.initializer,a,l);break;case 177:l=s(n.elements,c,l);break;case 178:l=s(n.properties,c,l);break;case 179:l=t(n.expression,a,l),l=t(n.name,a,l);break;case 180:l=t(n.expression,a,l),l=t(n.argumentExpression,a,l);break;case 181:case 182:l=t(n.expression,a,l),l=s(n.typeArguments,c,l),l=s(n.arguments,c,l);break;case 183:l=t(n.tag,a,l),l=t(n.template,a,l);break;case 184:l=t(n.type,a,l),l=t(n.expression,a,l);break;case 186:l=s(n.modifiers,c,l),l=t(n.name,a,l),l=s(n.typeParameters,c,l),l=s(n.parameters,c,l),l=t(n.type,a,l),l=t(n.body,a,l);break;case 187:l=s(n.modifiers,c,l),l=s(n.typeParameters,c,l),l=s(n.parameters,c,l),l=t(n.type,a,l),l=t(n.body,a,l);break;case 185:case 188:case 189:case 190:case 191:case 197:case 198:case 203:l=t(n.expression,a,l);break;case 192:case 193:l=t(n.operand,a,l);break;case 194:l=t(n.left,a,l),l=t(n.right,a,l);break;case 195:l=t(n.condition,a,l),l=t(n.whenTrue,a,l),l=t(n.whenFalse,a,l);break;case 196:l=t(n.head,a,l),l=s(n.templateSpans,c,l);break;case 199:l=s(n.modifiers,c,l),l=t(n.name,a,l),l=s(n.typeParameters,c,l),l=s(n.heritageClauses,c,l),l=s(n.members,c,l);break;case 201:l=t(n.expression,a,l),l=s(n.typeArguments,c,l);break;case 202:l=t(n.expression,a,l),l=t(n.type,a,l);break;case 203:l=t(n.expression,a,l);break;case 205:l=t(n.expression,a,l),l=t(n.literal,a,l);break;case 207:l=s(n.statements,c,l);break;case 208:l=s(n.modifiers,c,l),l=t(n.declarationList,a,l);break;case 210:l=t(n.expression,a,l);break;case 211:l=t(n.expression,a,l),l=t(n.thenStatement,a,l),l=t(n.elseStatement,a,l);break;case 212:l=t(n.statement,a,l),l=t(n.expression,a,l);break;case 213:case 220:l=t(n.expression,a,l),l=t(n.statement,a,l);break;case 214:l=t(n.initializer,a,l),l=t(n.condition,a,l),l=t(n.incrementor,a,l),l=t(n.statement,a,l);break;case 215:case 216:l=t(n.initializer,a,l),l=t(n.expression,a,l),l=t(n.statement,a,l);break;case 219:case 223:l=t(n.expression,a,l);break;case 221:l=t(n.expression,a,l),l=t(n.caseBlock,a,l);break;case 222:l=t(n.label,a,l),l=t(n.statement,a,l);break;case 224:l=t(n.tryBlock,a,l),l=t(n.catchClause,a,l),l=t(n.finallyBlock,a,l);break;case 226:l=t(n.name,a,l),l=t(n.type,a,l),l=t(n.initializer,a,l);break;case 227:l=s(n.declarations,c,l);break;case 228:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=s(n.typeParameters,c,l),l=s(n.parameters,c,l),l=t(n.type,a,l),l=t(n.body,a,l);break;case 229:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=s(n.typeParameters,c,l),l=s(n.heritageClauses,c,l),l=s(n.members,c,l);break;case 232:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=s(n.members,c,l);break;case 233:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=t(n.body,a,l);break;case 234:l=s(n.statements,c,l);break;case 235:l=s(n.clauses,c,l);break;case 237:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.name,a,l),l=t(n.moduleReference,a,l);break;case 238:l=s(n.decorators,c,l),l=s(n.modifiers,c,l),l=t(n.importClause,a,l),l=t(n.moduleSpecifier,a,l);break;case 239:l=t(n.name,a,l),l=t(n.namedBindings,a,l);break;case 240:l=t(n.name,a,l);break;case 241:case 245:l=s(n.elements,c,l);break;case 242:case 246:l=t(n.propertyName,a,l),l=t(n.name,a,l);break;case 243:l=e.reduceLeft(n.decorators,a,l),l=e.reduceLeft(n.modifiers,a,l),l=t(n.expression,a,l);break;case 244:l=e.reduceLeft(n.decorators,a,l),l=e.reduceLeft(n.modifiers,a,l),l=t(n.exportClause,a,l),l=t(n.moduleSpecifier,a,l);break;case 248:l=t(n.expression,a,l);break;case 249:l=t(n.openingElement,a,l),l=e.reduceLeft(n.children,a,l),l=t(n.closingElement,a,l);break;case 250:case 251:l=t(n.tagName,a,l),l=t(n.attributes,a,l);break;case 254:l=s(n.properties,c,l);break;case 252:l=t(n.tagName,a,l);break;case 253:l=t(n.name,a,l),l=t(n.initializer,a,l);break;case 255:case 256:l=t(n.expression,a,l);break;case 257:l=t(n.expression,a,l);case 258:l=s(n.statements,c,l);break;case 259:l=s(n.types,c,l);break;case 260:l=t(n.variableDeclaration,a,l),l=t(n.block,a,l);break;case 261:l=t(n.name,a,l),l=t(n.initializer,a,l);break;case 262:l=t(n.name,a,l),l=t(n.objectAssignmentInitializer,a,l);break;case 263:l=t(n.expression,a,l);break;case 264:l=t(n.name,a,l),l=t(n.initializer,a,l);break;case 265:l=s(n.statements,c,l);break;case 296:l=t(n.expression,a,l)}return l}function i(t,r){return e.some(r)?e.isNodeArray(t)?e.setTextRange(e.createNodeArray(e.concatenate(t,r)),t):e.addRange(t,r):t}function a(t){return f.assert(e.every(t,e.isStatement),"Cannot lift nodes to a Block."),e.singleOrUndefined(t)||e.createBlock(t)}function o(e){return s(e),e}function s(t){if(void 0===t)return 0;if(536870912&t.transformFlags)return t.transformFlags&~e.getTransformFlagsSubtreeExclusions(t.kind);var r=u(t);return e.computeTransformFlagsForNode(t,r)}function c(e){if(void 0===e)return 0;for(var t=0,r=0,n=0,i=e;n=1)||1572864&p.transformFlags||1572864&e.getTargetOfBindingOrAssignmentElement(p).transformFlags||e.isComputedPropertyName(h)){d&&(t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(d),a,o,i),d=void 0);var m=s(t,a,h);e.isComputedPropertyName(h)&&(f=e.append(f,m.argumentExpression)),n(t,p,m,p)}else d=e.append(d,p)}}d&&t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(d),a,o,i)}function a(t,r,i,a,o){var s=e.getElementsOfBindingOrAssignmentPattern(i),u=s.length;if(t.level<1&&t.downlevelIteration)a=c(t,e.createReadHelper(t.context,a,u>0&&e.getRestIndicatorOfBindingOrAssignmentElement(s[u-1])?void 0:u,o),!1,o);else if(1!==u&&(t.level<1||0===u)){var l=!e.isDeclarationBindingElement(r)||0!==u;a=c(t,a,l,o)}for(var d,f,_=0;_=1)if(1048576&p.transformFlags){var g=e.createTempVariable(void 0);t.hoistTempVariables&&t.context.hoistVariableDeclaration(g),f=e.append(f,[g,p]),d=e.append(d,t.createArrayBindingOrAssignmentElement(g))}else d=e.append(d,p);else{if(e.isOmittedExpression(p))continue;if(e.getRestIndicatorOfBindingOrAssignmentElement(p)){if(_===u-1){var m=e.createArraySlice(a,_);n(t,p,m,p)}}else{var m=e.createElementAccess(a,_);n(t,p,m,p)}}}if(d&&t.emitBindingOrAssignment(t.createArrayBindingOrAssignmentPattern(d),a,o,i),f)for(var h=0,y=f;h0)return!0;var r=e.getFirstConstructorWithBody(t);return!!r&&e.forEach(r.parameters,k)}function k(e){return void 0!==e.decorators&&e.decorators.length>0}function x(t){var r=I(t,!0),n=void 0!==e.getClassExtendsHeritageClauseElement(t),i=b(t),a=t.name;!a&&(r.length>0||e.childIsDecorated(t))&&(a=e.getGeneratedNameForNode(t));var o=i?C(t,a,n):S(t,a,n,r.length>0),s=[o];return r.length&&B(s,r,e.getLocalName(t)),Z(s,t,!1),Z(s,t,!0),te(s,t),ft(t)?ht(s,t):i&&(gt(t)?s.push(e.createExportDefault(e.getLocalName(t,!1,!0))):pt(t)&&s.push(e.createExternalModuleExport(e.getLocalName(t,!1,!0)))),s.length>1&&(s.push(e.createEndOfDeclarationMarker(t)),e.setEmitFlags(o,2097152|e.getEmitFlags(o))),e.singleOrMany(s)}function S(t,r,n,i){var a=e.createClassDeclaration(void 0,e.visitNodes(t.modifiers,h,e.isModifier),r,void 0,e.visitNodes(t.heritageClauses,u,e.isHeritageClause),D(t,n)),o=e.getEmitFlags(t);return i&&(o|=32),e.setTextRange(a,t),e.setOriginalNode(a,t),e.setEmitFlags(a,o),a}function C(t,r,n){var i=e.moveRangePastDecorators(t),a=St(t),o=e.getLocalName(t,!1,!0),s=e.visitNodes(t.heritageClauses,u,e.isHeritageClause),c=D(t,n),l=e.createClassExpression(void 0,r,void 0,s,c);e.setOriginalNode(l,t),e.setTextRange(l,i);var d=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(o,void 0,a?e.createAssignment(a,l):l)],1));return e.setOriginalNode(d,t),e.setTextRange(d,i),e.setCommentRange(d,t),d}function E(t){var r=I(t,!0),n=e.visitNodes(t.heritageClauses,u,e.isHeritageClause),i=D(t,e.some(n,function(e){return 85===e.token})),a=e.createClassExpression(void 0,t.name,void 0,n,i);if(e.setOriginalNode(a,t),e.setTextRange(a,t),r.length>0){var o=[],s=e.createTempVariable(Vt);return 8388608&Ht.getNodeCheckFlags(t)&&(Tt(),ir[e.getOriginalNodeId(t)]=e.getSynthesizedClone(s)),e.setEmitFlags(a,32768|e.getEmitFlags(a)),o.push(e.startOnNewLine(e.createAssignment(s,a))),e.addRange(o,j(r,s)),o.push(e.startOnNewLine(s)),e.inlineExpressions(o)}return a}function D(t,r){var n=[],i=T(t,r);return i&&n.push(i),e.addRange(n,e.visitNodes(t.members,g,e.isClassElement)),e.setTextRange(e.createNodeArray(n),t.members)}function T(r,n){var i=e.forEach(r.members,R),a=262144&r.transformFlags,o=e.getFirstConstructorWithBody(r);if(!i&&!a)return e.visitEachChild(o,u,t);var s=w(o),c=A(r,o,n);return e.startOnNewLine(e.setOriginalNode(e.setTextRange(e.createConstructor(void 0,void 0,s,c),o||r),o))}function w(r){return e.visitParameterList(r&&r.parameters,u,t)||[]}function A(t,r,n){var i=[],a=0;if(qt(),r){a=N(r,i);var o=P(r);e.addRange(i,e.map(o,O))}else n&&i.push(e.createStatement(e.createCall(e.createSuper(),void 0,[e.createSpread(e.createIdentifier("arguments"))])));return B(i,I(t,!1),e.createThis()),r&&e.addRange(i,e.visitNodes(r.body.statements,u,e.isStatement,a)),i=e.mergeLexicalEnvironment(i,Ut()),e.setTextRange(e.createBlock(e.setTextRange(e.createNodeArray(i),r?r.body.statements:t.members),!0),r?r.body:void 0)}function N(t,r){if(t.body){var n=t.body.statements,i=e.addPrologue(r,n,!1,u);if(i===n.length)return i;var a=n[i];return 210===a.kind&&e.isSuperCall(a.expression)?(r.push(e.visitNode(a,u,e.isStatement)),i+1):i}return 0}function P(t){return e.filter(t.parameters,M)}function M(t){return e.hasModifier(t,92)&&e.isIdentifier(t.name)}function O(t){e.Debug.assert(e.isIdentifier(t.name));var r=t.name,n=e.getMutableClone(r);e.setEmitFlags(n,1584);var i=e.getMutableClone(r);return e.setEmitFlags(i,1536),e.startOnNewLine(e.setTextRange(e.createStatement(e.createAssignment(e.setTextRange(e.createPropertyAccess(e.createThis(),n),t.name),i)),e.moveRangePos(t,-1)))}function I(t,r){return e.filter(t.members,r?F:R)}function F(e){return L(e,!0)}function R(e){return L(e,!1)}function L(t,r){return 149===t.kind&&r===e.hasModifier(t,32)&&void 0!==t.initializer}function B(t,r,n){for(var i=0,a=r;i0?149===i.kind?e.createVoidZero():e.createNull():void 0,l=r(t,o,s,c,u,e.moveRangePastDecorators(i));return e.setEmitFlags(l,1536),l}}function te(t,r){var n=re(r);n&&t.push(e.setOriginalNode(e.createStatement(n),r))}function re(n){var i=H(n),a=Q(n,n,i);if(a){var o=ir&&ir[e.getOriginalNodeId(n)],s=e.getLocalName(n,!1,!0),c=r(t,a,s),u=e.createAssignment(s,o?e.createAssignment(o,c):c);return e.setEmitFlags(u,1536),e.setSourceMapRange(u,e.moveRangePastDecorators(n)),u}}function ne(t){return e.visitNode(t.expression,u,e.isExpression)}function ie(r,n){var a;if(r){a=[];for(var o=0,s=r;o= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n };'},c={name:"typescript:metadata",scoped:!1,priority:3,text:'\n var __metadata = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);\n };'},u={name:"typescript:param",scoped:!1,priority:4,text:"\n var __param = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n };"}}(o||(o={}));var o;!function(e){function t(t){function n(r){if(e.isDeclarationFile(r))return r;x=r;var n=e.visitEachChild(r,i,t);return e.addEmitHelpers(n,t.readEmitHelpers()),x=void 0,n}function i(r){if(0==(16&r.transformFlags))return r;switch(r.kind){case 120:return;case 191:return a(r);case 151:return o(r);case 228:return s(r);case 186:return c(r);case 187:return u(r);default:return e.visitEachChild(r,i,t)}}function a(t){return e.setOriginalNode(e.setTextRange(e.createYield(void 0,e.visitNode(t.expression,i,e.isExpression)),t),t)}function o(r){return e.updateMethod(r,void 0,e.visitNodes(r.modifiers,i,e.isModifier),r.asteriskToken,r.name,void 0,void 0,e.visitParameterList(r.parameters,i,t),void 0,2&e.getFunctionFlags(r)?l(r):e.visitFunctionBody(r.body,i,t))}function s(r){return e.updateFunctionDeclaration(r,void 0,e.visitNodes(r.modifiers,i,e.isModifier),r.asteriskToken,r.name,void 0,e.visitParameterList(r.parameters,i,t),void 0,2&e.getFunctionFlags(r)?l(r):e.visitFunctionBody(r.body,i,t))}function c(r){return e.updateFunctionExpression(r,e.visitNodes(r.modifiers,i,e.isModifier),r.asteriskToken,r.name,void 0,e.visitParameterList(r.parameters,i,t),void 0,2&e.getFunctionFlags(r)?l(r):e.visitFunctionBody(r.body,i,t))}function u(r){return e.updateArrowFunction(r,e.visitNodes(r.modifiers,i,e.isModifier),void 0,e.visitParameterList(r.parameters,i,t),void 0,2&e.getFunctionFlags(r)?l(r):e.visitFunctionBody(r.body,i,t))}function l(n){E();var a=e.getOriginalNode(n,e.isFunctionLike),o=a.type,s=A<2?f(o):void 0,c=187===n.kind,u=0!=(8192&T.getNodeCheckFlags(n));if(c){var l=r(t,u,s,d(n.body)),p=D();if(e.some(p)){var g=e.convertToFunctionBody(l);return e.updateBlock(g,e.setTextRange(e.createNodeArray(e.concatenate(g.statements,p)),g.statements))}return l}var m=[],h=e.addPrologue(m,n.body.statements,!1,i);m.push(e.createReturn(r(t,u,s,d(n.body,h)))),e.addRange(m,D());var g=e.createBlock(m,!0);return e.setTextRange(g,n.body),A>=2&&(4096&T.getNodeCheckFlags(n)?(_(),e.addEmitHelper(g,e.advancedAsyncSuperHelper)):2048&T.getNodeCheckFlags(n)&&(_(),e.addEmitHelper(g,e.asyncSuperHelper))),g}function d(r,n){if(e.isBlock(r))return e.updateBlock(r,e.visitLexicalEnvironment(r.statements,i,t,n));C();var a=e.convertToFunctionBody(e.visitNode(r,i,e.isConciseBody)),o=D();return e.updateBlock(a,e.setTextRange(e.createNodeArray(e.concatenate(a.statements,o)),a.statements))}function f(t){var r=t&&e.getEntityNameFromTypeNode(t);if(r&&e.isEntityName(r)){var n=T.getTypeReferenceSerializationKind(r);if(n===e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue||n===e.TypeReferenceSerializationKind.Unknown)return r}}function _(){0==(1&S)&&(S|=1,t.enableSubstitution(181),t.enableSubstitution(179),t.enableSubstitution(180),t.enableEmitNotification(229),t.enableEmitNotification(151),t.enableEmitNotification(153),t.enableEmitNotification(154),t.enableEmitNotification(152))}function p(e,t,r){if(1&S&&b(t)){var n=6144&T.getNodeCheckFlags(t);if(n!==N){var i=N;return N=n,P(e,t,r),void(N=i)}}P(e,t,r)}function g(e,t){return t=M(e,t),1===e&&N?m(t):t}function m(e){switch(e.kind){case 179:return h(e);case 180:return y(e);case 181:return v(e)}return e}function h(t){return 97===t.expression.kind?k(e.createLiteral(t.name.text),t):t}function y(e){return 97===e.expression.kind?k(e.argumentExpression,e):e}function v(t){var r=t.expression;if(e.isSuperProperty(r)){var n=e.isPropertyAccessExpression(r)?h(r):y(r);return e.createCall(e.createPropertyAccess(n,"call"),void 0,[e.createThis()].concat(t.arguments))}return t}function b(e){var t=e.kind;return 229===t||152===t||151===t||153===t||154===t}function k(t,r){return 4096&N?e.setTextRange(e.createPropertyAccess(e.createCall(e.createIdentifier("_super"),void 0,[t]),"value"),r):e.setTextRange(e.createCall(e.createIdentifier("_super"),void 0,[t]),r)}var x,S,C=t.startLexicalEnvironment,E=t.resumeLexicalEnvironment,D=t.endLexicalEnvironment,T=t.getEmitResolver(),w=t.getCompilerOptions(),A=e.getEmitScriptTarget(w),N=0,P=t.onEmitNode,M=t.onSubstituteNode;return t.onEmitNode=p,t.onSubstituteNode=g,n}function r(t,r,n,a){t.requestEmitHelper(i);var o=e.createFunctionExpression(void 0,e.createToken(39),void 0,void 0,[],void 0,a);return(o.emitNode||(o.emitNode={})).flags|=131072,e.createCall(e.getHelperName("__awaiter"),void 0,[e.createThis(),r?e.createIdentifier("arguments"):e.createVoidZero(),n?e.createExpressionFromEntityName(n):e.createVoidZero(),o])}var n;!function(e){e[e.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"}(n||(n={})),e.transformES2017=t;var i={name:"typescript:awaiter",scoped:!1,priority:5,text:'\n var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n };'};e.asyncSuperHelper={name:"typescript:async-super",scoped:!0,text:"\n const _super = name => super[name];\n "},e.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:!0,text:"\n const _super = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);\n "}}(o||(o={}));var o;!function(e){function t(t){function o(r){if(e.isDeclarationFile(r))return r;var n=e.visitEachChild(r,s,t);return e.addEmitHelpers(n,t.readEmitHelpers()),n}function s(e){return l(e,!1)}function c(e){return l(e,!0)}function u(e){if(120!==e.kind)return e}function l(r,n){if(0==(8&r.transformFlags))return r;switch(r.kind){case 191:return d(r);case 197:return f(r);case 222:return _(r);case 178:return g(r);case 194:return y(r,n);case 226:return v(r);case 216:return x(r,void 0);case 214:return b(r);case 190:return k(r);case 152:return T(r);case 151:return N(r);case 153:return w(r);case 154:return A(r);case 228:return P(r);case 186:return O(r);case 187:return M(r);case 146:return D(r);case 210:return m(r);case 185:return h(r,n);default:return e.visitEachChild(r,s,t)}}function d(r){if(2&te&&1&te){var n=e.visitNode(r.expression,s,e.isExpression);return e.setOriginalNode(e.setTextRange(e.createYield(void 0,e.createArrayLiteral([e.createLiteral("await"),n])),r),r)}return e.visitEachChild(r,s,t)}function f(r){if(2&te&&1&te){var n=e.visitNode(r.expression,s,e.isExpression);return e.updateYield(r,r.asteriskToken,r.asteriskToken?i(t,n,n):e.createArrayLiteral(n?[e.createLiteral("yield"),n]:[e.createLiteral("yield")]))}return e.visitEachChild(r,s,t)}function _(r){if(2&te&&1&te){var n=e.unwrapInnermostStatementOfLabel(r);return 216===n.kind&&n.awaitModifier?x(n,r):e.restoreEnclosingLabel(e.visitEachChild(r,s,t),r)}return e.visitEachChild(r,s,t)}function p(t){for(var r,n=[],i=0,a=t;i=2&&(4096&X.getNodeCheckFlags(r)?(L(),e.addEmitHelper(o,e.advancedAsyncSuperHelper)):2048&X.getNodeCheckFlags(r)&&(L(),e.addEmitHelper(o,e.asyncSuperHelper))),o}function F(t){H();var r=0,n=[],i=e.visitNode(t.body,s,e.isConciseBody);e.isBlock(i)&&(r=e.addPrologue(n,i.statements,!1,s)),e.addRange(n,R(void 0,t));var a=W();if(r>0||e.some(n)||e.some(a)){var o=e.convertToFunctionBody(i,!0);return e.addRange(n,o.statements.slice(r)),e.addRange(n,a),e.updateBlock(o,e.setTextRange(e.createNodeArray(n),o.statements))}return i}function R(r,n){for(var i=0,a=n.parameters;i=2?e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"assign"),void 0,r):(t.requestEmitHelper(s),e.createCall(e.getHelperName("__assign"),void 0,r))}function n(t,r){return t.requestEmitHelper(c),(r.emitNode||(r.emitNode={})).flags|=131072,e.createCall(e.getHelperName("__asyncGenerator"),void 0,[e.createThis(),e.createIdentifier("arguments"),r])}function i(t,r,n){return t.requestEmitHelper(u),t.requestEmitHelper(l),e.setTextRange(e.createCall(e.getHelperName("__asyncDelegator"),void 0,[r]),n)}function a(t,r,n){return t.requestEmitHelper(l),e.setTextRange(e.createCall(e.getHelperName("__asyncValues"),void 0,[r]),n)}var o;!function(e){e[e.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"}(o||(o={})),e.transformESNext=t;var s={name:"typescript:assign",scoped:!1,priority:1,text:"\n var __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };"};e.createAssignHelper=r;var c={name:"typescript:asyncGenerator",scoped:!1,text:'\n var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var g = generator.apply(thisArg, _arguments || []), q = [], c, i;\n return i = { next: verb("next"), "throw": verb("throw"), "return": verb("return") }, i[Symbol.asyncIterator] = function () { return this; }, i;\n function verb(n) { return function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]), next(); }); }; }\n function next() { if (!c && q.length) resume((c = q.shift())[0], c[1]); }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(c[3], e); } }\n function step(r) { r.done ? settle(c[2], r) : Promise.resolve(r.value[1]).then(r.value[0] === "yield" ? send : fulfill, reject); }\n function send(value) { settle(c[2], { value: value, done: false }); }\n function fulfill(value) { resume("next", value); }\n function reject(value) { resume("throw", value); }\n function settle(f, v) { c = void 0, f(v), next(); }\n };\n '},u={name:"typescript:asyncDelegator",scoped:!1,text:'\n var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {\n var i = { next: verb("next"), "throw": verb("throw", function (e) { throw e; }), "return": verb("return", function (v) { return { value: v, done: true }; }) }, p;\n return o = __asyncValues(o), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { return function (v) { return v = p && n === "throw" ? f(v) : p && v.done ? v : { value: p ? ["yield", v.value] : ["await", (o[n] || f).call(o, v)], done: false }, p = !p, v; }; }\n };\n '},l={name:"typescript:asyncValues",scoped:!1,text:'\n var __asyncValues = (this && this.__asyncIterator) || function (o) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var m = o[Symbol.asyncIterator];\n return m ? m.call(o) : typeof __values === "function" ? __values(o) : o[Symbol.iterator]();\n };\n '}}(o||(o={}));var o;!function(e){function t(t){function n(r){if(e.isDeclarationFile(r))return r;var n=e.visitEachChild(r,i,t);return e.addEmitHelpers(n,t.readEmitHelpers()),n}function i(e){return 4&e.transformFlags?a(e):e}function a(r){switch(r.kind){case 249:return s(r,!1);case 250:return c(r,!1);case 256:return b(r);default:return e.visitEachChild(r,i,t)}}function o(t){switch(t.kind){case 10:return _(t);case 256:return b(t);case 249:return s(t,!0);case 250:return c(t,!0);default:return void e.Debug.failBadSyntaxKind(t)}}function s(e,t){return u(e.openingElement,e.children,t,e)}function c(e,t){return u(e,void 0,t,e)}function u(r,n,i,a){var s,c=y(r),u=r.attributes.properties;if(0===u.length)s=e.createNull();else{var f=e.flatten(e.spanMap(u,e.isJsxSpreadAttribute,function(t,r){return r?e.map(t,l):e.createObjectLiteral(e.map(t,d))}));e.isJsxSpreadAttribute(u[0])&&f.unshift(e.createObjectLiteral()),s=e.singleOrUndefined(f),s||(s=e.createAssignHelper(t,f))}var _=e.createExpressionForJsxElement(t.getEmitResolver().getJsxFactoryEntity(),k.reactNamespace,c,s,e.filter(e.map(n,o),e.isDefined),r,a);return i&&e.startOnNewLine(_),_}function l(t){return e.visitNode(t.expression,i,e.isExpression)}function d(t){var r=v(t),n=f(t.initializer);return e.createPropertyAssignment(r,n)}function f(t){if(void 0===t)return e.createTrue();if(9===t.kind){var r=h(t.text);return r?e.setTextRange(e.createLiteral(r),t):t}if(256===t.kind)return void 0===t.expression?e.createTrue():b(t);e.Debug.failBadSyntaxKind(t)}function _(t){var r=p(e.getTextOfNode(t,!0));return void 0===r?void 0:e.createLiteral(r)}function p(t){for(var r,n=0,i=-1,a=0;a=0,"statementOffset not initialized correctly!"));var s=n&&95!==e.skipOuterExpressions(n.expression).kind,u=A(a,t,s,i,o);1!==u&&2!==u||o++,t&&(1===u&&(Nt|=4096),e.addRange(a,e.visitNodes(t.body.statements,c,e.isStatement,o))),!s||2===u||t&&w(t.body)||a.push(e.createReturn(e.createIdentifier("_this"))),e.addRange(a,xt()),t&&K(a,t,!1);var l=e.createBlock(e.setTextRange(e.createNodeArray(a),t?t.body.statements:r.members),!0);return e.setTextRange(l,t?t.body:r),t||e.setEmitFlags(l,1536),l}function w(t){if(219===t.kind)return!0;if(211===t.kind){var r=t;if(r.elseStatement)return w(r.thenStatement)&&w(r.elseStatement)}else if(207===t.kind){var n=e.lastOrUndefined(t.statements);if(n&&w(n))return!0}return!1}function A(t,r,n,i,a){if(!n)return r&&j(t,r),0;if(!r)return t.push(e.createReturn(P())),2;if(i)return z(t,r,P()),dt(),1;var o,s,c=r.body.statements;if(a0?r.push(e.setEmitFlags(e.createVariableStatement(void 0,e.createVariableDeclarationList(e.flattenDestructuringBinding(n,c,t,0,o))),524288)):a&&r.push(e.setEmitFlags(e.createStatement(e.createAssignment(o,e.visitNode(a,c,e.isExpression))),524288))}function R(t,r,n,i){i=e.visitNode(i,c,e.isExpression);var a=e.createIf(e.createTypeCheck(e.getSynthesizedClone(n),"undefined"),e.setEmitFlags(e.setTextRange(e.createBlock([e.createStatement(e.setTextRange(e.createAssignment(e.setEmitFlags(e.getMutableClone(n),48),e.setEmitFlags(i,48|e.getEmitFlags(i))),r))]),r),417));a.startsOnNewLine=!0,e.setTextRange(a,r),e.setEmitFlags(a,524704),t.push(a)}function L(e,t){return e&&e.dotDotDotToken&&71===e.name.kind&&!t}function B(t,r,n){var i=e.lastOrUndefined(r.parameters);if(L(i,n)){var a=e.getMutableClone(i.name);e.setEmitFlags(a,48);var o=e.getSynthesizedClone(i.name),s=r.parameters.length-1,c=e.createLoopVariable();t.push(e.setEmitFlags(e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(a,void 0,e.createArrayLiteral([]))])),i),524288));var u=e.createFor(e.setTextRange(e.createVariableDeclarationList([e.createVariableDeclaration(c,void 0,e.createLiteral(s))]),i),e.setTextRange(e.createLessThan(c,e.createPropertyAccess(e.createIdentifier("arguments"),"length")),i),e.setTextRange(e.createPostfixIncrement(c),i),e.createBlock([e.startOnNewLine(e.setTextRange(e.createStatement(e.createAssignment(e.createElementAccess(o,0===s?c:e.createSubtract(c,e.createLiteral(s))),e.createElementAccess(e.createIdentifier("arguments"),c))),i))]));e.setEmitFlags(u,524288),e.startOnNewLine(u),t.push(u)}}function j(t,r){32768&r.transformFlags&&187!==r.kind&&z(t,r,e.createThis())}function z(t,r,n,i){dt();var a=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration("_this",void 0,n)]));e.setEmitFlags(a,525824),e.setTextRange(a,i),e.setSourceMapRange(a,r),t.push(a)}function K(t,r,n){if(16384&Nt){var i=void 0;switch(r.kind){case 187:return t;case 151:case 153:case 154:i=e.createVoidZero();break;case 152:i=e.createPropertyAccess(e.setEmitFlags(e.createThis(),4),"constructor");break;case 228:case 186:i=e.createConditional(e.createLogicalAnd(e.setEmitFlags(e.createThis(),4),e.createBinary(e.setEmitFlags(e.createThis(),4),93,e.getLocalName(r))),e.createPropertyAccess(e.setEmitFlags(e.createThis(),4),"constructor"),e.createVoidZero());break;default:e.Debug.failBadSyntaxKind(r)}var a=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration("_newTarget",void 0,i)]));if(n)return[a].concat(t);t.unshift(a)}return t}function J(t,r){for(var n=0,i=r.members;n0&&(o=!0),e.isBlock(l))a=e.addCustomPrologue(u,l.statements,a,c),n=l.statements,e.addRange(u,e.visitNodes(l.statements,c,e.isStatement,a)),!o&&l.multiLine&&(o=!0);else{e.Debug.assert(187===r.kind),n=e.moveRangeEnd(l,-1);var d=r.equalsGreaterThanToken;e.nodeIsSynthesized(d)||e.nodeIsSynthesized(l)||(e.rangeEndIsOnSameLineAsRangeStart(d,l,wt)?s=!0:o=!0);var f=e.visitNode(l,c,e.isExpression),_=e.createReturn(f);e.setTextRange(_,l),e.setEmitFlags(_,1440),u.push(_),i=l}var p=t.endLexicalEnvironment();e.addRange(u,p),K(u,r,!1),!o&&p&&p.length&&(o=!0);var g=e.createBlock(e.setTextRange(e.createNodeArray(u),n),o);return e.setTextRange(g,r.body),!o&&s&&e.setEmitFlags(g,1),i&&e.setTokenSourceMapRange(g,18,i),e.setOriginalNode(g,r.body),g}function Z(r){var n=e.visitFunctionBody(r.body,u,t);return e.updateBlock(n,e.setTextRange(e.createNodeArray(K(n.statements,r,!0)),n.statements))}function $(r,n){if(n)return e.visitEachChild(r,c,t);var o=256&Nt?i(4032,512):i(3904,128),s=e.visitEachChild(r,c,t);return a(o,0,0),s}function ee(r){switch(r.expression.kind){case 185:return e.updateStatement(r,te(r.expression,!1));case 194:return e.updateStatement(r,re(r.expression,!1))}return e.visitEachChild(r,c,t)}function te(r,n){if(!n)switch(r.expression.kind){case 185:return e.updateParen(r,te(r.expression,!1));case 194:return e.updateParen(r,re(r.expression,!1))}return e.visitEachChild(r,c,t)}function re(r,n){return e.isDestructuringAssignment(r)?e.flattenDestructuringAssignment(r,c,t,0,n):e.visitEachChild(r,c,t)}function ne(r){var n,o=i(0,e.hasModifier(r,1)?32:0);if(Pt&&0==(3&r.declarationList.flags)){for(var s=void 0,u=0,l=r.declarationList.declarations;u=72&&r<=107)return e.setTextRange(e.createLiteral(t),t)}var c,u,l=t.getCompilerOptions();1!==l.jsx&&3!==l.jsx||(c=t.onEmitNode,t.onEmitNode=n,t.enableEmitNotification(251),t.enableEmitNotification(252),t.enableEmitNotification(250),u=[]);var d=t.onSubstituteNode;return t.onSubstituteNode=i,t.enableSubstitution(179),t.enableSubstitution(261),r}e.transformES5=t}(o||(o={}));var o;!function(e){function t(e){switch(e){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally"}}function r(r){function i(t){if(e.isDeclarationFile(t)||0==(512&t.transformFlags))return t;Ot=t;var n=e.visitEachChild(t,a,r);return e.addEmitHelpers(n,r.readEmitHelpers()),Ot=void 0,n}function a(t){var n=t.transformFlags;return Lt?o(t):Rt?s(t):256&n?u(t):512&n?e.visitEachChild(t,a,r):t}function o(e){switch(e.kind){case 212:return z(e);case 213:return J(e);case 221:return te(e);case 222:return ne(e);default:return s(e)}}function s(t){switch(t.kind){case 228:return l(t);case 186:return d(t);case 153:case 154:return f(t);case 208:return p(t);case 214:return U(t);case 215:return H(t);case 218:return Y(t);case 217:return G(t);case 219:return Z(t);default:return 16777216&t.transformFlags?c(t):33554944&t.transformFlags?e.visitEachChild(t,a,r):t}}function c(t){switch(t.kind){case 194:return g(t);case 195:return x(t);case 197:return S(t);case 177:return C(t);case 178:return D(t);case 180:return T(t);case 181:return w(t);case 182:return A(t);default:return e.visitEachChild(t,a,r)}}function u(t){switch(t.kind){case 228:return l(t);case 186:return d(t);default:return e.Debug.failBadSyntaxKind(t),e.visitEachChild(t,a,r)}}function l(t){if(t.asteriskToken)t=e.setOriginalNode(e.setTextRange(e.createFunctionDeclaration(void 0,t.modifiers,void 0,t.name,void 0,e.visitParameterList(t.parameters,a,r),void 0,_(t.body)),t),t);else{var n=Rt,i=Lt;Rt=!1,Lt=!1,t=e.visitEachChild(t,a,r),Rt=n,Lt=i}return Rt?void Tt(t):t}function d(t){if(t.asteriskToken)t=e.setOriginalNode(e.setTextRange(e.createFunctionExpression(void 0,void 0,t.name,void 0,e.visitParameterList(t.parameters,a,r),void 0,_(t.body)),t),t);else{var n=Rt,i=Lt;Rt=!1,Lt=!1,t=e.visitEachChild(t,a,r),Rt=n,Lt=i}return t}function f(t){var n=Rt,i=Lt;return Rt=!1,Lt=!1,t=e.visitEachChild(t,a,r),Rt=n,Lt=i,t}function _(t){var r=[],n=Rt,i=Lt,o=Bt,s=jt,c=zt,u=Kt,l=Jt,d=qt,f=rr,_=Ut,p=Vt,g=Ht,m=Wt;Rt=!0,Lt=!1,Bt=void 0,jt=void 0,zt=void 0,Kt=void 0,Jt=void 0,qt=void 0,rr=1,Ut=void 0,Vt=void 0,Ht=void 0,Wt=e.createTempVariable(void 0),Et();var h=e.addPrologue(r,t.statements,!1,a);N(t.statements,h);var y=at();return e.addRange(r,Dt()),r.push(e.createReturn(y)),Rt=n,Lt=i,Bt=o,jt=s,zt=c,Kt=u,Jt=l,qt=d,rr=f,Ut=_,Vt=p,Ht=g,Wt=m,e.setTextRange(e.createBlock(r,t.multiLine),t)}function p(t){if(16777216&t.transformFlags)return void R(t.declarationList);if(524288&e.getEmitFlags(t))return t;for(var r=0,n=t.declarationList.declarations;r=59&&e<=70}function h(e){switch(e){case 59:return 37;case 60:return 38;case 61:return 39;case 62:return 40;case 63:return 41;case 64:return 42;case 65:return 45;case 66:return 46;case 67:return 47;case 68:return 48;case 69:return 49;case 70:return 50}}function y(t){var n=t.left,i=t.right;if(oe(i)){var o=void 0;switch(n.kind){case 179:o=e.updatePropertyAccess(n,de(e.visitNode(n.expression,a,e.isLeftHandSideExpression)),n.name);break;case 180:o=e.updateElementAccess(n,de(e.visitNode(n.expression,a,e.isLeftHandSideExpression)),de(e.visitNode(n.argumentExpression,a,e.isExpression)));break;default:o=e.visitNode(n,a,e.isExpression)}var s=t.operatorToken.kind;return m(s)?e.setTextRange(e.createAssignment(o,e.setTextRange(e.createBinary(de(o),h(s),e.visitNode(i,a,e.isExpression)),t)),t):e.updateBinary(t,o,e.visitNode(i,a,e.isExpression))}return e.visitEachChild(t,a,r)}function v(t){if(oe(t.right)){if(e.isLogicalOperator(t.operatorToken.kind))return b(t);if(26===t.operatorToken.kind)return k(t);var n=e.getMutableClone(t);return n.left=de(e.visitNode(t.left,a,e.isExpression)),n.right=e.visitNode(t.right,a,e.isExpression),n}return e.visitEachChild(t,a,r)}function b(t){var r=_e(),n=fe();return Xe(n,e.visitNode(t.left,a,e.isExpression),t.left),53===t.operatorToken.kind?Ze(r,n,t.left):Qe(r,n,t.left),Xe(n,e.visitNode(t.right,a,e.isExpression),t.right),pe(r),n}function k(t){function r(t){e.isBinaryExpression(t)&&26===t.operatorToken.kind?(r(t.left),r(t.right)):(oe(t)&&n.length>0&&(it(1,[e.createStatement(e.inlineExpressions(n))]),n=[]),n.push(e.visitNode(t,a,e.isExpression)))}var n=[];return r(t.left),r(t.right),e.inlineExpressions(n)}function x(t){if(oe(t.whenTrue)||oe(t.whenFalse)){var n=_e(),i=_e(),o=fe();return Ze(n,e.visitNode(t.condition,a,e.isExpression),t.condition),Xe(o,e.visitNode(t.whenTrue,a,e.isExpression),t.whenTrue),Ye(i),pe(n),Xe(o,e.visitNode(t.whenFalse,a,e.isExpression),t.whenFalse),pe(i),o}return e.visitEachChild(t,a,r)}function S(t){var n=_e(),i=e.visitNode(t.expression,a,e.isExpression);if(t.asteriskToken){$e(0==(4194304&e.getEmitFlags(t.expression))?e.createValuesHelper(r,i,t):i,t)}else et(i,t);return pe(n),He(t)}function C(e){return E(e.elements,void 0,void 0,e.multiLine)}function E(t,r,n,i){function o(t,n){if(oe(n)&&t.length>0){var o=void 0!==s;s||(s=fe()),Xe(s,o?e.createArrayConcat(s,[e.createArrayLiteral(t,i)]):e.createArrayLiteral(r?[r].concat(t):t,i)),r=void 0,t=[]}return t.push(e.visitNode(n,a,e.isExpression)),t}var s,c=se(t);if(c>0){s=fe();var u=e.visitNodes(t,a,e.isExpression,0,c);Xe(s,e.createArrayLiteral(r?[r].concat(u):u)),r=void 0}var l=e.reduceLeft(t,o,[],c);return s?e.createArrayConcat(s,[e.createArrayLiteral(l,i)]):e.setTextRange(e.createArrayLiteral(r?[r].concat(l):l,i),n)}function D(t){function r(r,n){oe(n)&&r.length>0&&(Ge(e.createStatement(e.inlineExpressions(r))),r=[]);var o=e.createExpressionForObjectLiteralElementLike(t,n,s),c=e.visitNode(o,a,e.isExpression);return c&&(i&&(c.startsOnNewLine=!0),r.push(c)),r}var n=t.properties,i=t.multiLine,o=se(n),s=fe();Xe(s,e.createObjectLiteral(e.visitNodes(n,a,e.isObjectLiteralElementLike,0,o),i));var c=e.reduceLeft(n,r,[],o);return c.push(i?e.startOnNewLine(e.getMutableClone(s)):s),e.inlineExpressions(c)}function T(t){if(oe(t.argumentExpression)){var n=e.getMutableClone(t);return n.expression=de(e.visitNode(t.expression,a,e.isLeftHandSideExpression)),n.argumentExpression=e.visitNode(t.argumentExpression,a,e.isExpression),n}return e.visitEachChild(t,a,r)}function w(t){if(e.forEach(t.arguments,oe)){var n=e.createCallBinding(t.expression,wt,Nt,!0),i=n.target,o=n.thisArg;return e.setOriginalNode(e.createFunctionApply(de(e.visitNode(i,a,e.isLeftHandSideExpression)),o,E(t.arguments),t),t)}return e.visitEachChild(t,a,r)}function A(t){if(e.forEach(t.arguments,oe)){var n=e.createCallBinding(e.createPropertyAccess(t.expression,"bind"),wt),i=n.target,o=n.thisArg;return e.setOriginalNode(e.setTextRange(e.createNew(e.createFunctionApply(de(e.visitNode(i,a,e.isExpression)),o,E(t.arguments,e.createVoidZero())),void 0,[]),t),t)}return e.visitEachChild(t,a,r)}function N(e,t){void 0===t&&(t=0);for(var r=e.length,n=t;n0)break;u.push(L(i))}u.length&&(Ge(e.createStatement(e.inlineExpressions(u))),c+=u.length,u=[])}}function L(t){return e.createAssignment(e.getSynthesizedClone(t.name),e.visitNode(t.initializer,a,e.isExpression))}function B(t){if(oe(t))if(oe(t.thenStatement)||oe(t.elseStatement)){var r=_e(),n=t.elseStatement?_e():void 0;Ze(t.elseStatement?n:r,e.visitNode(t.expression,a,e.isExpression),t.expression),P(t.thenStatement),t.elseStatement&&(Ye(r),pe(n),P(t.elseStatement)),pe(r)}else Ge(e.visitNode(t,a,e.isStatement));else Ge(e.visitNode(t,a,e.isStatement))}function j(t){if(oe(t)){var r=_e(),n=_e();we(r),pe(n),P(t.statement),pe(r),Qe(n,e.visitNode(t.expression,a,e.isExpression)),Ae()}else Ge(e.visitNode(t,a,e.isStatement))}function z(t){return Lt?(Te(),t=e.visitEachChild(t,a,r),Ae(),t):e.visitEachChild(t,a,r)}function K(t){if(oe(t)){var r=_e(),n=we(r);pe(r),Ze(n,e.visitNode(t.expression,a,e.isExpression)),P(t.statement),Ye(r),Ae()}else Ge(e.visitNode(t,a,e.isStatement))}function J(t){return Lt?(Te(),t=e.visitEachChild(t,a,r),Ae(),t):e.visitEachChild(t,a,r)}function q(t){if(oe(t)){var r=_e(),n=_e(),i=we(n);if(t.initializer){var o=t.initializer;e.isVariableDeclarationList(o)?R(o):Ge(e.setTextRange(e.createStatement(e.visitNode(o,a,e.isExpression)),o))}pe(r),t.condition&&Ze(i,e.visitNode(t.condition,a,e.isExpression)),P(t.statement),pe(n),t.incrementor&&Ge(e.setTextRange(e.createStatement(e.visitNode(t.incrementor,a,e.isExpression)),t.incrementor)),Ye(r),Ae()}else Ge(e.visitNode(t,a,e.isStatement))}function U(t){Lt&&Te();var n=t.initializer;if(n&&e.isVariableDeclarationList(n)){for(var i=0,o=n.declarations;i