From fa9b1d6a5bcdeca4081fe7589f33b765c0081062 Mon Sep 17 00:00:00 2001 From: york yao Date: Fri, 20 Oct 2017 13:50:05 +0800 Subject: [PATCH] fix CI --- .travis.yml | 2 ++ ...fe.js => index.bundle-fe1df1bf081c7174fd1495587e3df54c.js} | 2 +- online/index.html | 4 ++-- online/vendor.bundle-3ac8f17dc81240c808633cfd39a228aa.js | 1 + online/vendor.bundle-df33d1f11c5669c27ced16d11d4b8c1c.js | 1 - 5 files changed, 6 insertions(+), 4 deletions(-) rename online/{index.bundle-4283d5e9d17d3965f2fc460e6bd853fe.js => index.bundle-fe1df1bf081c7174fd1495587e3df54c.js} (98%) create mode 100644 online/vendor.bundle-3ac8f17dc81240c808633cfd39a228aa.js delete mode 100644 online/vendor.bundle-df33d1f11c5669c27ced16d11d4b8c1c.js diff --git a/.travis.yml b/.travis.yml index 354a9bb..1cd6ef9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,8 @@ node_js: - "8" before_install: - sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++ +install: + - yarn install --pure-lockfile script: - npm run build - npm run lint diff --git a/online/index.bundle-4283d5e9d17d3965f2fc460e6bd853fe.js b/online/index.bundle-fe1df1bf081c7174fd1495587e3df54c.js similarity index 98% rename from online/index.bundle-4283d5e9d17d3965f2fc460e6bd853fe.js rename to online/index.bundle-fe1df1bf081c7174fd1495587e3df54c.js index 2b870c0..5b986cb 100644 --- a/online/index.bundle-4283d5e9d17d3965f2fc460e6bd853fe.js +++ b/online/index.bundle-fe1df1bf081c7174fd1495587e3df54c.js @@ -1 +1 @@ -webpackJsonp([0],{166:function(e,n,t){"use strict";t.d(n,"a",function(){return m});var r=t(39),i=t(25),m=(t.n(i),function(){function e(e){var n=this;this.sourceFile=e,this.models=[],this.numberTypes=["double","float","uint32","fixed32","integer","int32","sint32","sfixed32","uint64","fixed64","int64","sint64","sfixed64"],i.forEachChild(e,function(e){if(e.kind===i.SyntaxKind.EnumDeclaration){var t=e,m=t.members;if(m.length>0){var a=m[0];if(a.initializer){var o={kind:"enum",name:t.name.text,type:a.initializer.kind===i.SyntaxKind.StringLiteral?i.ClassificationTypeNames.stringLiteral:"uint32",members:[]};try{for(var u=r.d(m),s=u.next();!s.done;s=u.next()){var p=s.value;if(p.initializer){var y=p.name;if(p.initializer.kind===i.SyntaxKind.StringLiteral){var l=p.initializer;o.members.push({name:y.text,value:l.text})}else if(p.initializer.kind===i.SyntaxKind.NumericLiteral){var l=p.initializer;o.members.push({name:y.text,value:+l.text})}}}}catch(e){x={error:e}}finally{try{s&&!s.done&&(h=u.return)&&h.call(u)}finally{if(x)throw x.error}}n.models.push(o)}else{var o={kind:"enum",name:t.name.text,type:"uint32",members:[]},c=0;try{for(var f=r.d(m),d=f.next();!d.done;d=f.next()){var p=d.value,b=p.name;if(p.initializer&&p.initializer.kind===i.SyntaxKind.NumericLiteral){var l=p.initializer,v=+l.text;o.members.push({name:b.text,value:v}),c=v+1}else o.members.push({name:b.text,value:c}),c++}}catch(e){g={error:e}}finally{try{d&&!d.done&&(k=f.return)&&k.call(f)}finally{if(g)throw g.error}}n.models.push(o)}}}var x,h,g,k}),i.forEachChild(e,function(e){n.handleSourceFile(e)})}return e.prototype.generateProtobuf=function(){var e=[];try{for(var n=r.d(this.models),t=n.next();!t.done;t=n.next()){var i=t.value;if("object"===i.kind){var m=[],a=i.members.reduce(function(e,n){return n.tag?Math.max(e,n.tag):e},0);try{for(var o=r.d(i.members),u=o.next();!u.done;u=o.next()){var s=u.value;s.tag||a++;var p=this.getProtobufProperty(s.type),y=p.modifier,l=p.propertyType;l&&m.push(" "+y+l+" "+s.name+" = "+(s.tag?s.tag:a)+";")}}catch(e){v={error:e}}finally{try{u&&!u.done&&(x=o.return)&&x.call(o)}finally{if(v)throw v.error}}e.push("message "+i.name+" {\n"+m.join("\n")+"\n}")}else if("enum"===i.kind){var m=[];try{for(var c=r.d(i.members),f=c.next();!f.done;f=c.next()){var s=f.value;"number"==typeof s.value&&m.push(" "+s.name+" = "+s.value+";")}}catch(e){h={error:e}}finally{try{f&&!f.done&&(g=c.return)&&g.call(c)}finally{if(h)throw h.error}}m.length>0&&e.push("enum "+i.name+" {\n"+m.join("\n")+"\n}")}}}catch(e){d={error:e}}finally{try{t&&!t.done&&(b=n.return)&&b.call(n)}finally{if(d)throw d.error}}return'syntax = "proto3";\n\n'+e.join("\n\n")+"\n";var d,b,v,x,h,g},e.prototype.generateJsonSchemas=function(){var e=this,n={};try{for(var t=r.d(this.models),i=t.next();!i.done;i=t.next()){var m=i.value;"object"!==m.kind&&"array"!==m.kind||(n[m.name]=this.getJsonSchemaProperty(m))}}catch(e){a={error:e}}finally{try{i&&!i.done&&(o=t.return)&&o.call(t)}finally{if(a)throw a.error}}return this.models.filter(function(e){return("object"===e.kind||"array"===e.kind)&&e.entry}).map(function(t){return{entry:t.entry,schema:{$ref:"#/definitions/"+t.name,definitions:e.getReferencedDefinitions(t.name,n)}}});var a,o},e.prototype.handleSourceFile=function(e){var n=this.getJsDocs(e),t=n.find(function(e){return"entry"===e.name});if(e.kind===i.SyntaxKind.TypeAliasDeclaration){var m=e;if(m.type.kind===i.SyntaxKind.ArrayType){var a=m.type,o=this.getType(a.elementType),u={kind:"array",name:m.name.text,type:o,entry:t?t.comment:void 0};try{for(var s=r.d(n),p=s.next();!p.done;p=s.next()){var y=p.value;this.setJsonSchemaArray(y,u)}}catch(e){N={error:e}}finally{try{p&&!p.done&&(K=s.return)&&K.call(s)}finally{if(N)throw N.error}}this.models.push(u)}else if(m.type.kind===i.SyntaxKind.TypeLiteral||m.type.kind===i.SyntaxKind.UnionType||m.type.kind===i.SyntaxKind.IntersectionType){var l=this.getMembersInfo(m.type),c=l.members,f=l.minProperties,d=l.maxProperties,u={kind:"object",name:m.name.text,members:c,minProperties:f,maxProperties:d,entry:t?t.comment:void 0};try{for(var b=r.d(n),v=b.next();!v.done;v=b.next()){var y=v.value;this.setJsonSchemaObject(y,u)}}catch(e){E={error:e}}finally{try{v&&!v.done&&(L=b.return)&&L.call(b)}finally{if(E)throw E.error}}this.models.push(u)}}else if(e.kind===i.SyntaxKind.InterfaceDeclaration){var x=e;if(this.models.some(function(e){return e.name===x.name.text}))return;var h=this.getObjectMembers(x.members),c=h.members,g=h.minProperties,k=h.maxProperties,f=g,d=k;if(x.heritageClauses)try{for(var M=r.d(x.heritageClauses),S=M.next();!S.done;S=M.next()){var T=S.value;if(T.kind===i.SyntaxKind.HeritageClause){var P=this;try{for(var I=r.d(T.types),j=I.next();!j.done;j=I.next()){var o=j.value;!function(e){if(e.kind===i.SyntaxKind.ExpressionWithTypeArguments){var n=e.expression.text;P.preHandleType(n);var t=P.models.find(function(e){return"object"===e.kind&&e.name===n});if(t&&"object"===t.kind){try{for(var m=r.d(t.members),a=m.next();!a.done;a=m.next()){var o=a.value;!function(e){c.every(function(n){return n.name!==e.name})&&(c.push(e),d++,e.optional||f++)}(o)}}catch(e){u={error:e}}finally{try{a&&!a.done&&(s=m.return)&&s.call(m)}finally{if(u)throw u.error}}}}var u,s}(o)}}catch(e){A={error:e}}finally{try{j&&!j.done&&(D=I.return)&&D.call(I)}finally{if(A)throw A.error}}}}}catch(e){J={error:e}}finally{try{S&&!S.done&&(U=M.return)&&U.call(M)}finally{if(J)throw J.error}}var u={kind:"object",name:x.name.text,members:c,minProperties:f,maxProperties:d,entry:t?t.comment:void 0};try{for(var O=r.d(n),w=O.next();!w.done;w=O.next()){var y=w.value;this.setJsonSchemaObject(y,u)}}catch(e){z={error:e}}finally{try{w&&!w.done&&(F=O.return)&&F.call(O)}finally{if(z)throw z.error}}this.models.push(u)}var N,K,E,L,J,U,A,D,z,F},e.prototype.preHandleType=function(e){var n=this;if(!this.models.some(function(n){return n.name===e})){var t=!1;i.forEachChild(this.sourceFile,function(r){if(!t)if(r.kind===i.SyntaxKind.InterfaceDeclaration){var m=r;m.name.text===e&&(t=!0,n.handleSourceFile(r))}else if(r.kind===i.SyntaxKind.TypeAliasDeclaration){var m=r;m.name.text===e&&(t=!0,n.handleSourceFile(r))}})}},e.prototype.overrideType=function(e,n){n&&n.comment&&("number"===e.kind?e.type=n.comment:"array"===e.kind&&"number"===e.type.kind&&(e.type={kind:e.type.kind,type:n.comment}))},e.prototype.getMembersInfo=function(e){var n=[],t=0,m=0;if(e.kind===i.SyntaxKind.TypeLiteral){var a=e;return this.getObjectMembers(a.members)}if(e.kind===i.SyntaxKind.UnionType){var o=e;t=1/0;try{for(var u=r.d(o.types),s=u.next();!s.done;s=u.next()){var p=s.value,y=this.getMembersInfo(p);if(t>y.minProperties&&(t=y.minProperties),m0)try{for(var i=r.d(n),m=i.next();!m.done;m=i.next()){var a=m.value;if(a.tags)try{for(var o=r.d(a.tags),u=o.next();!u.done;u=o.next()){var s=u.value;t.push({name:s.tagName.text,comment:s.comment})}}catch(e){l={error:e}}finally{try{u&&!u.done&&(c=o.return)&&c.call(o)}finally{if(l)throw l.error}}}}catch(e){p={error:e}}finally{try{m&&!m.done&&(y=i.return)&&y.call(i)}finally{if(p)throw p.error}}return t;var p,y,l,c},e.prototype.getProtobufProperty=function(e){var n="",t="";if("map"===e.kind){var r="";if("number"===e.value.kind){r=this.getProtobufProperty(e.value).propertyType}else"reference"===e.value.kind&&(r=e.value.name);r&&(t="map<"+e.key.kind+", "+r+">")}else if("array"===e.kind){n="repeated ";var i=this.getProtobufProperty(e.type).propertyType;t=i}else if("enum"===e.kind)t="string"===e.type?"string":e.name;else if("reference"===e.kind){var m=this.models.find(function(n){return"enum"===n.kind&&n.name===e.name});t=m&&"enum"===m.kind&&"string"===m.type?"string":e.name}else"number"===e.kind?t="number"===e.type?"double":"integer"===e.type?"int32":e.type:"string"===e.kind?t=e.kind:"boolean"===e.kind&&(t="bool");return{modifier:n,propertyType:t}},e.prototype.getReferencedDefinitions=function(e,n){var t={},r=n[e];if(void 0===r)return t;if(t[e]=r,"array"===r.type){if(void 0===r.items.type){var i=r.items.$ref.substring("#/definitions/".length);Object.assign(t,this.getReferencedDefinitions(i,n))}}else if("object"===r.type&&r.properties)for(var m in r.properties)if(r.properties.hasOwnProperty(m)){var a=r.properties[m];if(void 0===a.type){var i=a.$ref.substring("#/definitions/".length);Object.assign(t,this.getReferencedDefinitions(i,n))}else if("array"===a.type&&void 0===a.items.type){var i=a.items.$ref.substring("#/definitions/".length);Object.assign(t,this.getReferencedDefinitions(i,n))}}return t},e.prototype.getNumberType=function(e){var n;return n="double"===e.type||"float"===e.type?{type:"number",minimum:e.minimum,maximum:e.maximum}:"uint32"===e.type||"fixed32"===e.type?{type:"integer",minimum:void 0!==e.minimum?e.minimum:0,maximum:void 0!==e.maximum?e.maximum:4294967295}:"int32"===e.type||"sint32"===e.type||"sfixed32"===e.type?{type:"integer",minimum:void 0!==e.minimum?e.minimum:-2147483648,maximum:void 0!==e.maximum?e.maximum:2147483647}:"uint64"===e.type||"fixed64"===e.type?{type:"integer",minimum:void 0!==e.minimum?e.minimum:0,maximum:void 0!==e.maximum?e.maximum:0x10000000000000000}:"int64"===e.type||"sint64"===e.type||"sfixed64"===e.type?{type:"integer",minimum:void 0!==e.minimum?e.minimum:-0x8000000000000000,maximum:void 0!==e.maximum?e.maximum:0x8000000000000000}:"number"===e.type||"integer"===e.type?{type:e.type,minimum:e.minimum,maximum:e.maximum}:{type:e.kind,minimum:e.minimum,maximum:e.maximum},Object.assign(n,{multipleOf:e.multipleOf,exclusiveMinimum:e.exclusiveMinimum,exclusiveMaximum:e.exclusiveMaximum}),n},e.prototype.getJsonSchemaProperty=function(e){if("number"===e.kind)return this.getNumberType(e);if("boolean"===e.kind)return{type:"boolean"};if("map"===e.kind)return{type:"object",additionalProperties:this.getJsonSchemaProperty(e.value)};if("array"===e.kind)return{type:"array",items:this.getJsonSchemaProperty(e.type),uniqueItems:e.uniqueItems,minItems:e.minItems,maxItems:e.maxItems};if("enum"===e.kind){if("string"===e.type)return{type:"string",enum:e.enums};var n=this.getNumberType({kind:"number",type:e.type});return Object.assign(n,{enum:e.enums,minimum:void 0,maximum:void 0}),n}if("reference"===e.kind)return{type:void 0,$ref:"#/definitions/"+e.name};if("object"===e.kind){var t={},i=[];try{for(var m=r.d(e.members),a=m.next();!a.done;a=m.next()){var o=a.value;o.optional||i.push(o.name),t[o.name]=this.getJsonSchemaProperty(o.type)}}catch(e){u={error:e}}finally{try{a&&!a.done&&(s=m.return)&&s.call(m)}finally{if(u)throw u.error}}return{type:"object",properties:t,required:i,additionalProperties:void 0!==e.additionalProperties&&void 0,minProperties:e.minProperties>e.members.filter(function(e){return!e.optional}).length?e.minProperties:void 0,maxProperties:e.maxProperties{{protobuf}}
{{jsonSchema}}
'},39:function(e,n,t){"use strict";function r(e,n){function t(){this.constructor=e}u(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}function i(e,n,t,r){var i,m=arguments.length,a=m<3?n:null===r?r=Object.getOwnPropertyDescriptor(n,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,n,t,r);else for(var o=e.length-1;o>=0;o--)(i=e[o])&&(a=(m<3?i(a):m>3?i(n,t,a):i(n,t))||a);return m>3&&a&&Object.defineProperty(n,t,a),a}function m(e){var n="function"==typeof Symbol&&e[Symbol.iterator],t=0;return n?n.call(e):{next:function(){return e&&t>=e.length&&(e=void 0),{value:e&&e[t++],done:!e}}}}function a(e,n){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var r,i,m=t.call(e),a=[];try{for(;(void 0===n||n-- >0)&&!(r=m.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(t=m.return)&&t.call(m)}finally{if(i)throw i.error}}return a}function o(){for(var e=[],n=0;n0){var a=m[0];if(a.initializer){var o={kind:"enum",name:t.name.text,type:a.initializer.kind===i.SyntaxKind.StringLiteral?i.ClassificationTypeNames.stringLiteral:"uint32",members:[]};try{for(var u=r.d(m),s=u.next();!s.done;s=u.next()){var p=s.value;if(p.initializer){var y=p.name;if(p.initializer.kind===i.SyntaxKind.StringLiteral){var l=p.initializer;o.members.push({name:y.text,value:l.text})}else if(p.initializer.kind===i.SyntaxKind.NumericLiteral){var l=p.initializer;o.members.push({name:y.text,value:+l.text})}}}}catch(e){x={error:e}}finally{try{s&&!s.done&&(h=u.return)&&h.call(u)}finally{if(x)throw x.error}}n.models.push(o)}else{var o={kind:"enum",name:t.name.text,type:"uint32",members:[]},c=0;try{for(var f=r.d(m),d=f.next();!d.done;d=f.next()){var p=d.value,b=p.name;if(p.initializer&&p.initializer.kind===i.SyntaxKind.NumericLiteral){var l=p.initializer,v=+l.text;o.members.push({name:b.text,value:v}),c=v+1}else o.members.push({name:b.text,value:c}),c++}}catch(e){g={error:e}}finally{try{d&&!d.done&&(k=f.return)&&k.call(f)}finally{if(g)throw g.error}}n.models.push(o)}}}var x,h,g,k}),i.forEachChild(e,function(e){n.handleSourceFile(e)})}return e.prototype.generateProtobuf=function(){var e=[];try{for(var n=r.d(this.models),t=n.next();!t.done;t=n.next()){var i=t.value;if("object"===i.kind){var m=[],a=i.members.reduce(function(e,n){return n.tag?Math.max(e,n.tag):e},0);try{for(var o=r.d(i.members),u=o.next();!u.done;u=o.next()){var s=u.value;s.tag||a++;var p=this.getProtobufProperty(s.type),y=p.modifier,l=p.propertyType;l&&m.push(" "+y+l+" "+s.name+" = "+(s.tag?s.tag:a)+";")}}catch(e){v={error:e}}finally{try{u&&!u.done&&(x=o.return)&&x.call(o)}finally{if(v)throw v.error}}e.push("message "+i.name+" {\n"+m.join("\n")+"\n}")}else if("enum"===i.kind){var m=[];try{for(var c=r.d(i.members),f=c.next();!f.done;f=c.next()){var s=f.value;"number"==typeof s.value&&m.push(" "+s.name+" = "+s.value+";")}}catch(e){h={error:e}}finally{try{f&&!f.done&&(g=c.return)&&g.call(c)}finally{if(h)throw h.error}}m.length>0&&e.push("enum "+i.name+" {\n"+m.join("\n")+"\n}")}}}catch(e){d={error:e}}finally{try{t&&!t.done&&(b=n.return)&&b.call(n)}finally{if(d)throw d.error}}return'syntax = "proto3";\n\n'+e.join("\n\n")+"\n";var d,b,v,x,h,g},e.prototype.generateJsonSchemas=function(){var e=this,n={};try{for(var t=r.d(this.models),i=t.next();!i.done;i=t.next()){var m=i.value;"object"!==m.kind&&"array"!==m.kind||(n[m.name]=this.getJsonSchemaProperty(m))}}catch(e){a={error:e}}finally{try{i&&!i.done&&(o=t.return)&&o.call(t)}finally{if(a)throw a.error}}return this.models.filter(function(e){return("object"===e.kind||"array"===e.kind)&&e.entry}).map(function(t){return{entry:t.entry,schema:{$ref:"#/definitions/"+t.name,definitions:e.getReferencedDefinitions(t.name,n)}}});var a,o},e.prototype.handleSourceFile=function(e){var n=this.getJsDocs(e),t=n.find(function(e){return"entry"===e.name});if(e.kind===i.SyntaxKind.TypeAliasDeclaration){var m=e;if(m.type.kind===i.SyntaxKind.ArrayType){var a=m.type,o=this.getType(a.elementType),u={kind:"array",name:m.name.text,type:o,entry:t?t.comment:void 0};try{for(var s=r.d(n),p=s.next();!p.done;p=s.next()){var y=p.value;this.setJsonSchemaArray(y,u)}}catch(e){N={error:e}}finally{try{p&&!p.done&&(K=s.return)&&K.call(s)}finally{if(N)throw N.error}}this.models.push(u)}else if(m.type.kind===i.SyntaxKind.TypeLiteral||m.type.kind===i.SyntaxKind.UnionType||m.type.kind===i.SyntaxKind.IntersectionType){var l=this.getMembersInfo(m.type),c=l.members,f=l.minProperties,d=l.maxProperties,u={kind:"object",name:m.name.text,members:c,minProperties:f,maxProperties:d,entry:t?t.comment:void 0};try{for(var b=r.d(n),v=b.next();!v.done;v=b.next()){var y=v.value;this.setJsonSchemaObject(y,u)}}catch(e){E={error:e}}finally{try{v&&!v.done&&(L=b.return)&&L.call(b)}finally{if(E)throw E.error}}this.models.push(u)}}else if(e.kind===i.SyntaxKind.InterfaceDeclaration){var x=e;if(this.models.some(function(e){return e.name===x.name.text}))return;var h=this.getObjectMembers(x.members),c=h.members,g=h.minProperties,k=h.maxProperties,f=g,d=k;if(x.heritageClauses)try{for(var M=r.d(x.heritageClauses),S=M.next();!S.done;S=M.next()){var T=S.value;if(T.kind===i.SyntaxKind.HeritageClause){var P=this;try{for(var I=r.d(T.types),j=I.next();!j.done;j=I.next()){var o=j.value;!function(e){if(e.kind===i.SyntaxKind.ExpressionWithTypeArguments){var n=e.expression.text;P.preHandleType(n);var t=P.models.find(function(e){return"object"===e.kind&&e.name===n});if(t&&"object"===t.kind){try{for(var m=r.d(t.members),a=m.next();!a.done;a=m.next()){var o=a.value;!function(e){c.every(function(n){return n.name!==e.name})&&(c.push(e),d++,e.optional||f++)}(o)}}catch(e){u={error:e}}finally{try{a&&!a.done&&(s=m.return)&&s.call(m)}finally{if(u)throw u.error}}}}var u,s}(o)}}catch(e){A={error:e}}finally{try{j&&!j.done&&(D=I.return)&&D.call(I)}finally{if(A)throw A.error}}}}}catch(e){J={error:e}}finally{try{S&&!S.done&&(U=M.return)&&U.call(M)}finally{if(J)throw J.error}}var u={kind:"object",name:x.name.text,members:c,minProperties:f,maxProperties:d,entry:t?t.comment:void 0};try{for(var O=r.d(n),w=O.next();!w.done;w=O.next()){var y=w.value;this.setJsonSchemaObject(y,u)}}catch(e){z={error:e}}finally{try{w&&!w.done&&(F=O.return)&&F.call(O)}finally{if(z)throw z.error}}this.models.push(u)}var N,K,E,L,J,U,A,D,z,F},e.prototype.preHandleType=function(e){var n=this;if(!this.models.some(function(n){return n.name===e})){var t=!1;i.forEachChild(this.sourceFile,function(r){if(!t)if(r.kind===i.SyntaxKind.InterfaceDeclaration){var m=r;m.name.text===e&&(t=!0,n.handleSourceFile(r))}else if(r.kind===i.SyntaxKind.TypeAliasDeclaration){var m=r;m.name.text===e&&(t=!0,n.handleSourceFile(r))}})}},e.prototype.overrideType=function(e,n){n&&n.comment&&("number"===e.kind?e.type=n.comment:"array"===e.kind&&"number"===e.type.kind&&(e.type={kind:e.type.kind,type:n.comment}))},e.prototype.getMembersInfo=function(e){var n=[],t=0,m=0;if(e.kind===i.SyntaxKind.TypeLiteral){var a=e;return this.getObjectMembers(a.members)}if(e.kind===i.SyntaxKind.UnionType){var o=e;t=1/0;try{for(var u=r.d(o.types),s=u.next();!s.done;s=u.next()){var p=s.value,y=this.getMembersInfo(p);if(t>y.minProperties&&(t=y.minProperties),m0)try{for(var i=r.d(n),m=i.next();!m.done;m=i.next()){var a=m.value;if(a.tags)try{for(var o=r.d(a.tags),u=o.next();!u.done;u=o.next()){var s=u.value;t.push({name:s.tagName.text,comment:s.comment})}}catch(e){l={error:e}}finally{try{u&&!u.done&&(c=o.return)&&c.call(o)}finally{if(l)throw l.error}}}}catch(e){p={error:e}}finally{try{m&&!m.done&&(y=i.return)&&y.call(i)}finally{if(p)throw p.error}}return t;var p,y,l,c},e.prototype.getProtobufProperty=function(e){var n="",t="";if("map"===e.kind){var r="";if("number"===e.value.kind){r=this.getProtobufProperty(e.value).propertyType}else"reference"===e.value.kind&&(r=e.value.name);r&&(t="map<"+e.key.kind+", "+r+">")}else if("array"===e.kind){n="repeated ";var i=this.getProtobufProperty(e.type).propertyType;t=i}else if("enum"===e.kind)t="string"===e.type?"string":e.name;else if("reference"===e.kind){var m=this.models.find(function(n){return"enum"===n.kind&&n.name===e.name});t=m&&"enum"===m.kind&&"string"===m.type?"string":e.name}else"number"===e.kind?t="number"===e.type?"double":"integer"===e.type?"int32":e.type:"string"===e.kind?t=e.kind:"boolean"===e.kind&&(t="bool");return{modifier:n,propertyType:t}},e.prototype.getReferencedDefinitions=function(e,n){var t={},r=n[e];if(void 0===r)return t;if(t[e]=r,"array"===r.type){if(void 0===r.items.type){var i=r.items.$ref.substring("#/definitions/".length);Object.assign(t,this.getReferencedDefinitions(i,n))}}else if("object"===r.type&&r.properties)for(var m in r.properties)if(r.properties.hasOwnProperty(m)){var a=r.properties[m];if(void 0===a.type){var i=a.$ref.substring("#/definitions/".length);Object.assign(t,this.getReferencedDefinitions(i,n))}else if("array"===a.type&&void 0===a.items.type){var i=a.items.$ref.substring("#/definitions/".length);Object.assign(t,this.getReferencedDefinitions(i,n))}}return t},e.prototype.getNumberType=function(e){var n;return n="double"===e.type||"float"===e.type?{type:"number",minimum:e.minimum,maximum:e.maximum}:"uint32"===e.type||"fixed32"===e.type?{type:"integer",minimum:void 0!==e.minimum?e.minimum:0,maximum:void 0!==e.maximum?e.maximum:4294967295}:"int32"===e.type||"sint32"===e.type||"sfixed32"===e.type?{type:"integer",minimum:void 0!==e.minimum?e.minimum:-2147483648,maximum:void 0!==e.maximum?e.maximum:2147483647}:"uint64"===e.type||"fixed64"===e.type?{type:"integer",minimum:void 0!==e.minimum?e.minimum:0,maximum:void 0!==e.maximum?e.maximum:0x10000000000000000}:"int64"===e.type||"sint64"===e.type||"sfixed64"===e.type?{type:"integer",minimum:void 0!==e.minimum?e.minimum:-0x8000000000000000,maximum:void 0!==e.maximum?e.maximum:0x8000000000000000}:"number"===e.type||"integer"===e.type?{type:e.type,minimum:e.minimum,maximum:e.maximum}:{type:e.kind,minimum:e.minimum,maximum:e.maximum},Object.assign(n,{multipleOf:e.multipleOf,exclusiveMinimum:e.exclusiveMinimum,exclusiveMaximum:e.exclusiveMaximum}),n},e.prototype.getJsonSchemaProperty=function(e){if("number"===e.kind)return this.getNumberType(e);if("boolean"===e.kind)return{type:"boolean"};if("map"===e.kind)return{type:"object",additionalProperties:this.getJsonSchemaProperty(e.value)};if("array"===e.kind)return{type:"array",items:this.getJsonSchemaProperty(e.type),uniqueItems:e.uniqueItems,minItems:e.minItems,maxItems:e.maxItems};if("enum"===e.kind){if("string"===e.type)return{type:"string",enum:e.enums};var n=this.getNumberType({kind:"number",type:e.type});return Object.assign(n,{enum:e.enums,minimum:void 0,maximum:void 0}),n}if("reference"===e.kind)return{type:void 0,$ref:"#/definitions/"+e.name};if("object"===e.kind){var t={},i=[];try{for(var m=r.d(e.members),a=m.next();!a.done;a=m.next()){var o=a.value;o.optional||i.push(o.name),t[o.name]=this.getJsonSchemaProperty(o.type)}}catch(e){u={error:e}}finally{try{a&&!a.done&&(s=m.return)&&s.call(m)}finally{if(u)throw u.error}}return{type:"object",properties:t,required:i,additionalProperties:void 0!==e.additionalProperties&&void 0,minProperties:e.minProperties>e.members.filter(function(e){return!e.optional}).length?e.minProperties:void 0,maxProperties:e.maxProperties{{protobuf}}
{{jsonSchema}}
'},39:function(e,n,t){"use strict";function r(e,n){function t(){this.constructor=e}u(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}function i(e,n,t,r){var i,m=arguments.length,a=m<3?n:null===r?r=Object.getOwnPropertyDescriptor(n,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,n,t,r);else for(var o=e.length-1;o>=0;o--)(i=e[o])&&(a=(m<3?i(a):m>3?i(n,t,a):i(n,t))||a);return m>3&&a&&Object.defineProperty(n,t,a),a}function m(e){var n="function"==typeof Symbol&&e[Symbol.iterator],t=0;return n?n.call(e):{next:function(){return e&&t>=e.length&&(e=void 0),{value:e&&e[t++],done:!e}}}}function a(e,n){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var r,i,m=t.call(e),a=[];try{for(;(void 0===n||n-- >0)&&!(r=m.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(t=m.return)&&t.call(m)}finally{if(i)throw i.error}}return a}function o(){for(var e=[],n=0;n
- - \ No newline at end of file + + \ No newline at end of file diff --git a/online/vendor.bundle-3ac8f17dc81240c808633cfd39a228aa.js b/online/vendor.bundle-3ac8f17dc81240c808633cfd39a228aa.js new file mode 100644 index 0000000..abf9fc5 --- /dev/null +++ b/online/vendor.bundle-3ac8f17dc81240c808633cfd39a228aa.js @@ -0,0 +1 @@ +!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 n=window.webpackJsonp;window.webpackJsonp=function(r,a,o){for(var s,c,u,l=0,d=[];l=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|e}function m(e){return+e!=e&&(e=0),a.alloc(+e)}function g(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 n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return W(e).length;default:if(r)return q(e).length;t=(""+t).toLowerCase(),r=!0}}function h(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return O(this,t,n);case"utf8":case"utf-8":return w(this,t,n);case"ascii":return N(this,t,n);case"latin1":case"binary":return P(this,t,n);case"base64":return E(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function y(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=a.from(t,r)),a.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,i);if("number"==typeof t)return t&=255,a.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,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!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,s/=2,c/=2,n/=2}var u;if(i){var l=-1;for(u=n;us&&(n=s-c),u=n;u>=0;u--){for(var d=!0,f=0;fi&&(r=i):r=i;var a=t.length;if(a%2!=0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var o=0;o239?4:a>223?3:a>191?2:1;if(i+s<=n){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,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=s}return A(r)}function A(e){var t=e.length;if(t<=Z)return String.fromCharCode.apply(String,e);for(var n="",r=0;rr)&&(n=r);for(var i="",a=t;an)throw new RangeError("Trying to access beyond buffer length")}function M(e,t,n,r,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,n,r){t<0&&(t=65535+t+1);for(var i=0,a=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function L(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,a=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function B(e,t,n,r,i,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function j(e,t,n,r,i){return i||B(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),Y.write(e,t,n,r,23,4),n+4}function z(e,t,n,r,i){return i||B(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),Y.write(e,t,n,r,52,8),n+8}function U(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 K(e){return e<16?"0"+e.toString(16):e.toString(16)}function q(e,t){t=t||1/0;for(var n,r=e.length,i=null,a=[],o=0;o55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function V(e){for(var t=[],n=0;n>8,i=n%256,a.push(i),a.push(r);return a}function W(e){return X.toByteArray(U(e))}function G(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function $(e){return e!==e}var X=n(80),Y=n(81),Q=n(40);t.Buffer=a,t.SlowBuffer=m,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=r(),a.poolSize=8192,a._augment=function(e){return e.__proto__=a.prototype,e},a.from=function(e,t,n){return o(null,e,t,n)},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,n){return c(null,e,t,n)},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 n=e.length,r=t.length,i=0,o=Math.min(n,r);i0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},a.prototype.compare=function(e,t,n,r,i){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var o=i-r,s=n-t,c=Math.min(o,s),u=this.slice(r,i),l=e.slice(t,n),d=0;di)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return x(this,e,t,n);case"utf8":case"utf-8":return k(this,e,t,n);case"ascii":return S(this,e,t,n);case"latin1":case"binary":return C(this,e,t,n);case"base64":return D(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Z=4096;a.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t0&&(i*=256);)r+=this[e+--t]*i;return r},a.prototype.readUInt8=function(e,t){return t||F(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return t||F(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return t||F(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return t||F(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||F(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);for(var r=this[e],i=1,a=0;++a=i&&(r-=Math.pow(2,8*t)),r},a.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||F(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return i*=128,a>=i&&(a-=Math.pow(2,8*t)),a},a.prototype.readInt8=function(e,t){return t||F(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){t||F(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(e,t){t||F(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(e,t){return t||F(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||F(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||F(e,4,this.length),Y.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return t||F(e,4,this.length),Y.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return t||F(e,8,this.length),Y.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return t||F(e,8,this.length),Y.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){M(this,e,t,n,Math.pow(2,8*n)-1,0)}var i=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+i]=e/a&255;return t+n},a.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||M(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,n){return e=+e,t|=0,n||M(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,n){return e=+e,t|=0,n||M(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,n){return e=+e,t|=0,n||M(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,n){return e=+e,t|=0,n||M(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,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);M(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a>0)-s&255;return t+n},a.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);M(this,e,t,n,i-1,-i)}var a=n-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+n},a.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||M(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,n){return e=+e,t|=0,n||M(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,n){return e=+e,t|=0,n||M(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,n){return e=+e,t|=0,n||M(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,n){return e=+e,t|=0,n||M(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,n){return j(this,e,t,!0,n)},a.prototype.writeFloatBE=function(e,t,n){return j(this,e,t,!1,n)},a.prototype.writeDoubleLE=function(e,t,n){return z(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return z(this,e,t,!1,n)},a.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3||!a.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>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 r}function s(e,t,n,r){for(var i=0,a=Math.min(e.length,n),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()),n=0;n>>i}return t}function u(e,t,n){n.negative=t.negative^e.negative;var r=e.length+t.length|0;n.length=r,r=r-1|0;var i=0|e.words[0],a=0|t.words[0],o=i*a,s=67108863&o,c=o/67108864|0;n.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}n.words[u]=0|d,c=0|l}return 0!==c?n.words[u]=0|c:n.length--,n.strip()}function l(e,t,n){n.negative=t.negative^e.negative,n.length=e.length+t.length;for(var r=0,i=0,a=0;a>>26)|0,i+=o>>>26,o&=67108863}n.words[a]=s,r=o,o=i}return 0!==r?n.words[a]=r:n.length--,n.strip()}function d(e,t,n){return(new f).mulp(e,t,n)}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 m(){_.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function g(){_.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 r(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=n(121).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,n){if("number"==typeof e)return this._initNumber(e,t,n);if("object"==typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(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"===n&&this._initArray(this.toArray(),t,n)},a.prototype._initNumber=function(e,t,n){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):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},a.prototype._initArray=function(e,t,n){if(r("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"===n)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 n=0;n=t;n-=6)i=o(e,n,n+6),this.words[r]|=i<>>26-a&4194303,(a+=24)>=26&&(a-=26,r++);n+6!==t&&(i=o(e,t,n+6),this.words[r]|=i<>>26-a&4194303),this.strip()},a.prototype._parseBase=function(e,t,n){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var a=e.length-n,o=a%r,c=Math.min(a,a-o)+n,u=0,l=n;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 x=["","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"],k=[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 n;if(16===e||"hex"===e){n="";for(var i=0,a=0,o=0;o>>24-i&16777215,n=0!==a||o!==this.length-1?x[6-c.length]+c+n:c+n,i+=2,i>=26&&(i-=26,o--)}for(0!==a&&(n=a.toString(16)+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}if(e===(0|e)&&e>=2&&e<=36){var u=k[e],l=S[e];n="";var d=this.clone();for(d.negative=0;!d.isZero();){var f=d.modn(l).toString(e);d=d.idivn(l),n=d.isZero()?f+n:x[u-f.length]+f+n}for(this.isZero()&&(n="0"+n);n.length%t!=0;)n="0"+n;return 0!==this.negative&&(n="-"+n),n}r(!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&&r(!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 r(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,n){var i=this.byteLength(),a=n||Math.max(1,i);r(i<=a,"byte array longer than desired length"),r(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&&(n+=13,t>>>=13),t>=64&&(n+=7,t>>>=7),t>=8&&(n+=4,t>>>=4),t>=2&&(n+=2,t>>>=2),n+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,n=0;return 0==(8191&t)&&(n+=13,t>>>=13),0==(127&t)&&(n+=7,t>>>=7),0==(15&t)&&(n+=4,t>>>=4),0==(3&t)&&(n+=2,t>>>=2),0==(1&t)&&n++,n},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 n=0;ne.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,n;this.length>e.length?(t=this,n=e):(t=e,n=this);for(var r=0;re.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){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),n=e%26;this._expand(t),n>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-n),this.strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var n=e/26|0,i=e%26;return this._expand(n+1),this.words[n]=t?this.words[n]|1<e.length?(n=this,r=e):(n=e,r=this);for(var i=0,a=0;a>>26;for(;0!==i&&a>>26;if(this.length=n.length,0!==i)this.words[this.length]=i,this.length++;else if(n!==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 n=this.cmp(e);if(0===n)return this.negative=0,this.length=1,this.words[0]=0,this;var r,i;n>0?(r=this,i=e):(r=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&_,m=_>>>13,g=0|o[2],h=8191&g,y=g>>>13,v=0|o[3],b=8191&v,x=v>>>13,k=0|o[4],S=8191&k,C=k>>>13,D=0|o[5],T=8191&D,E=D>>>13,w=0|o[6],A=8191&w,N=w>>>13,P=0|o[7],O=8191&P,I=P>>>13,F=0|o[8],M=8191&F,R=F>>>13,L=0|o[9],B=8191&L,j=L>>>13,z=0|s[0],U=8191&z,J=z>>>13,K=0|s[1],q=8191&K,V=K>>>13,H=0|s[2],W=8191&H,G=H>>>13,$=0|s[3],X=8191&$,Y=$>>>13,Q=0|s[4],Z=8191&Q,ee=Q>>>13,te=0|s[5],ne=8191&te,re=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,me=_e>>>13;n.negative=e.negative^t.negative,n.length=19,r=Math.imul(d,U),i=Math.imul(d,J),i=i+Math.imul(f,U)|0,a=Math.imul(f,J);var ge=(u+r|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,r=Math.imul(p,U),i=Math.imul(p,J),i=i+Math.imul(m,U)|0,a=Math.imul(m,J),r=r+Math.imul(d,q)|0,i=i+Math.imul(d,V)|0,i=i+Math.imul(f,q)|0,a=a+Math.imul(f,V)|0;var he=(u+r|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(he>>>26)|0,he&=67108863,r=Math.imul(h,U),i=Math.imul(h,J),i=i+Math.imul(y,U)|0,a=Math.imul(y,J),r=r+Math.imul(p,q)|0,i=i+Math.imul(p,V)|0,i=i+Math.imul(m,q)|0,a=a+Math.imul(m,V)|0,r=r+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+r|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,r=Math.imul(b,U),i=Math.imul(b,J),i=i+Math.imul(x,U)|0,a=Math.imul(x,J),r=r+Math.imul(h,q)|0,i=i+Math.imul(h,V)|0,i=i+Math.imul(y,q)|0,a=a+Math.imul(y,V)|0,r=r+Math.imul(p,W)|0,i=i+Math.imul(p,G)|0,i=i+Math.imul(m,W)|0,a=a+Math.imul(m,G)|0,r=r+Math.imul(d,X)|0,i=i+Math.imul(d,Y)|0,i=i+Math.imul(f,X)|0,a=a+Math.imul(f,Y)|0;var ve=(u+r|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,r=Math.imul(S,U),i=Math.imul(S,J),i=i+Math.imul(C,U)|0,a=Math.imul(C,J),r=r+Math.imul(b,q)|0,i=i+Math.imul(b,V)|0,i=i+Math.imul(x,q)|0,a=a+Math.imul(x,V)|0,r=r+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,r=r+Math.imul(p,X)|0,i=i+Math.imul(p,Y)|0,i=i+Math.imul(m,X)|0,a=a+Math.imul(m,Y)|0,r=r+Math.imul(d,Z)|0,i=i+Math.imul(d,ee)|0,i=i+Math.imul(f,Z)|0,a=a+Math.imul(f,ee)|0;var be=(u+r|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(be>>>26)|0,be&=67108863,r=Math.imul(T,U),i=Math.imul(T,J),i=i+Math.imul(E,U)|0,a=Math.imul(E,J),r=r+Math.imul(S,q)|0,i=i+Math.imul(S,V)|0,i=i+Math.imul(C,q)|0,a=a+Math.imul(C,V)|0,r=r+Math.imul(b,W)|0,i=i+Math.imul(b,G)|0,i=i+Math.imul(x,W)|0,a=a+Math.imul(x,G)|0,r=r+Math.imul(h,X)|0,i=i+Math.imul(h,Y)|0,i=i+Math.imul(y,X)|0,a=a+Math.imul(y,Y)|0,r=r+Math.imul(p,Z)|0,i=i+Math.imul(p,ee)|0,i=i+Math.imul(m,Z)|0,a=a+Math.imul(m,ee)|0,r=r+Math.imul(d,ne)|0,i=i+Math.imul(d,re)|0,i=i+Math.imul(f,ne)|0,a=a+Math.imul(f,re)|0;var xe=(u+r|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,r=Math.imul(A,U),i=Math.imul(A,J),i=i+Math.imul(N,U)|0,a=Math.imul(N,J),r=r+Math.imul(T,q)|0,i=i+Math.imul(T,V)|0,i=i+Math.imul(E,q)|0,a=a+Math.imul(E,V)|0,r=r+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,r=r+Math.imul(b,X)|0,i=i+Math.imul(b,Y)|0,i=i+Math.imul(x,X)|0,a=a+Math.imul(x,Y)|0,r=r+Math.imul(h,Z)|0,i=i+Math.imul(h,ee)|0,i=i+Math.imul(y,Z)|0,a=a+Math.imul(y,ee)|0,r=r+Math.imul(p,ne)|0,i=i+Math.imul(p,re)|0,i=i+Math.imul(m,ne)|0,a=a+Math.imul(m,re)|0,r=r+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 ke=(u+r|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,r=Math.imul(O,U),i=Math.imul(O,J),i=i+Math.imul(I,U)|0,a=Math.imul(I,J),r=r+Math.imul(A,q)|0,i=i+Math.imul(A,V)|0,i=i+Math.imul(N,q)|0,a=a+Math.imul(N,V)|0,r=r+Math.imul(T,W)|0,i=i+Math.imul(T,G)|0,i=i+Math.imul(E,W)|0,a=a+Math.imul(E,G)|0,r=r+Math.imul(S,X)|0,i=i+Math.imul(S,Y)|0,i=i+Math.imul(C,X)|0,a=a+Math.imul(C,Y)|0,r=r+Math.imul(b,Z)|0,i=i+Math.imul(b,ee)|0,i=i+Math.imul(x,Z)|0,a=a+Math.imul(x,ee)|0,r=r+Math.imul(h,ne)|0,i=i+Math.imul(h,re)|0,i=i+Math.imul(y,ne)|0,a=a+Math.imul(y,re)|0,r=r+Math.imul(p,ae)|0,i=i+Math.imul(p,oe)|0,i=i+Math.imul(m,ae)|0,a=a+Math.imul(m,oe)|0,r=r+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+r|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,r=Math.imul(M,U),i=Math.imul(M,J),i=i+Math.imul(R,U)|0,a=Math.imul(R,J),r=r+Math.imul(O,q)|0,i=i+Math.imul(O,V)|0,i=i+Math.imul(I,q)|0,a=a+Math.imul(I,V)|0,r=r+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,r=r+Math.imul(T,X)|0,i=i+Math.imul(T,Y)|0,i=i+Math.imul(E,X)|0,a=a+Math.imul(E,Y)|0,r=r+Math.imul(S,Z)|0,i=i+Math.imul(S,ee)|0,i=i+Math.imul(C,Z)|0,a=a+Math.imul(C,ee)|0,r=r+Math.imul(b,ne)|0,i=i+Math.imul(b,re)|0,i=i+Math.imul(x,ne)|0,a=a+Math.imul(x,re)|0,r=r+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,r=r+Math.imul(p,ce)|0,i=i+Math.imul(p,ue)|0,i=i+Math.imul(m,ce)|0,a=a+Math.imul(m,ue)|0,r=r+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+r|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,r=Math.imul(B,U),i=Math.imul(B,J),i=i+Math.imul(j,U)|0,a=Math.imul(j,J),r=r+Math.imul(M,q)|0,i=i+Math.imul(M,V)|0,i=i+Math.imul(R,q)|0,a=a+Math.imul(R,V)|0,r=r+Math.imul(O,W)|0,i=i+Math.imul(O,G)|0,i=i+Math.imul(I,W)|0,a=a+Math.imul(I,G)|0,r=r+Math.imul(A,X)|0,i=i+Math.imul(A,Y)|0,i=i+Math.imul(N,X)|0,a=a+Math.imul(N,Y)|0,r=r+Math.imul(T,Z)|0,i=i+Math.imul(T,ee)|0,i=i+Math.imul(E,Z)|0,a=a+Math.imul(E,ee)|0,r=r+Math.imul(S,ne)|0,i=i+Math.imul(S,re)|0,i=i+Math.imul(C,ne)|0,a=a+Math.imul(C,re)|0,r=r+Math.imul(b,ae)|0,i=i+Math.imul(b,oe)|0,i=i+Math.imul(x,ae)|0,a=a+Math.imul(x,oe)|0,r=r+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,r=r+Math.imul(p,de)|0,i=i+Math.imul(p,fe)|0,i=i+Math.imul(m,de)|0,a=a+Math.imul(m,fe)|0,r=r+Math.imul(d,pe)|0,i=i+Math.imul(d,me)|0,i=i+Math.imul(f,pe)|0,a=a+Math.imul(f,me)|0;var De=(u+r|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(De>>>26)|0,De&=67108863,r=Math.imul(B,q),i=Math.imul(B,V),i=i+Math.imul(j,q)|0,a=Math.imul(j,V),r=r+Math.imul(M,W)|0,i=i+Math.imul(M,G)|0,i=i+Math.imul(R,W)|0,a=a+Math.imul(R,G)|0,r=r+Math.imul(O,X)|0,i=i+Math.imul(O,Y)|0,i=i+Math.imul(I,X)|0,a=a+Math.imul(I,Y)|0,r=r+Math.imul(A,Z)|0,i=i+Math.imul(A,ee)|0,i=i+Math.imul(N,Z)|0,a=a+Math.imul(N,ee)|0,r=r+Math.imul(T,ne)|0,i=i+Math.imul(T,re)|0,i=i+Math.imul(E,ne)|0,a=a+Math.imul(E,re)|0,r=r+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,r=r+Math.imul(b,ce)|0,i=i+Math.imul(b,ue)|0,i=i+Math.imul(x,ce)|0,a=a+Math.imul(x,ue)|0,r=r+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,r=r+Math.imul(p,pe)|0,i=i+Math.imul(p,me)|0,i=i+Math.imul(m,pe)|0,a=a+Math.imul(m,me)|0;var Te=(u+r|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,r=Math.imul(B,W),i=Math.imul(B,G),i=i+Math.imul(j,W)|0,a=Math.imul(j,G),r=r+Math.imul(M,X)|0,i=i+Math.imul(M,Y)|0,i=i+Math.imul(R,X)|0,a=a+Math.imul(R,Y)|0,r=r+Math.imul(O,Z)|0,i=i+Math.imul(O,ee)|0,i=i+Math.imul(I,Z)|0,a=a+Math.imul(I,ee)|0,r=r+Math.imul(A,ne)|0,i=i+Math.imul(A,re)|0,i=i+Math.imul(N,ne)|0,a=a+Math.imul(N,re)|0,r=r+Math.imul(T,ae)|0,i=i+Math.imul(T,oe)|0,i=i+Math.imul(E,ae)|0,a=a+Math.imul(E,oe)|0,r=r+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,r=r+Math.imul(b,de)|0,i=i+Math.imul(b,fe)|0,i=i+Math.imul(x,de)|0,a=a+Math.imul(x,fe)|0,r=r+Math.imul(h,pe)|0,i=i+Math.imul(h,me)|0,i=i+Math.imul(y,pe)|0,a=a+Math.imul(y,me)|0;var Ee=(u+r|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,r=Math.imul(B,X),i=Math.imul(B,Y),i=i+Math.imul(j,X)|0,a=Math.imul(j,Y),r=r+Math.imul(M,Z)|0,i=i+Math.imul(M,ee)|0,i=i+Math.imul(R,Z)|0,a=a+Math.imul(R,ee)|0,r=r+Math.imul(O,ne)|0,i=i+Math.imul(O,re)|0,i=i+Math.imul(I,ne)|0,a=a+Math.imul(I,re)|0,r=r+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,r=r+Math.imul(T,ce)|0,i=i+Math.imul(T,ue)|0,i=i+Math.imul(E,ce)|0,a=a+Math.imul(E,ue)|0,r=r+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,r=r+Math.imul(b,pe)|0,i=i+Math.imul(b,me)|0,i=i+Math.imul(x,pe)|0,a=a+Math.imul(x,me)|0;var we=(u+r|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(we>>>26)|0,we&=67108863,r=Math.imul(B,Z),i=Math.imul(B,ee),i=i+Math.imul(j,Z)|0,a=Math.imul(j,ee),r=r+Math.imul(M,ne)|0,i=i+Math.imul(M,re)|0,i=i+Math.imul(R,ne)|0,a=a+Math.imul(R,re)|0,r=r+Math.imul(O,ae)|0,i=i+Math.imul(O,oe)|0,i=i+Math.imul(I,ae)|0,a=a+Math.imul(I,oe)|0,r=r+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,r=r+Math.imul(T,de)|0,i=i+Math.imul(T,fe)|0,i=i+Math.imul(E,de)|0,a=a+Math.imul(E,fe)|0,r=r+Math.imul(S,pe)|0,i=i+Math.imul(S,me)|0,i=i+Math.imul(C,pe)|0,a=a+Math.imul(C,me)|0;var Ae=(u+r|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,r=Math.imul(B,ne),i=Math.imul(B,re),i=i+Math.imul(j,ne)|0,a=Math.imul(j,re),r=r+Math.imul(M,ae)|0,i=i+Math.imul(M,oe)|0,i=i+Math.imul(R,ae)|0,a=a+Math.imul(R,oe)|0,r=r+Math.imul(O,ce)|0,i=i+Math.imul(O,ue)|0,i=i+Math.imul(I,ce)|0,a=a+Math.imul(I,ue)|0,r=r+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,r=r+Math.imul(T,pe)|0,i=i+Math.imul(T,me)|0,i=i+Math.imul(E,pe)|0,a=a+Math.imul(E,me)|0;var Ne=(u+r|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,r=Math.imul(B,ae),i=Math.imul(B,oe),i=i+Math.imul(j,ae)|0,a=Math.imul(j,oe),r=r+Math.imul(M,ce)|0,i=i+Math.imul(M,ue)|0,i=i+Math.imul(R,ce)|0,a=a+Math.imul(R,ue)|0,r=r+Math.imul(O,de)|0,i=i+Math.imul(O,fe)|0,i=i+Math.imul(I,de)|0,a=a+Math.imul(I,fe)|0,r=r+Math.imul(A,pe)|0,i=i+Math.imul(A,me)|0,i=i+Math.imul(N,pe)|0,a=a+Math.imul(N,me)|0;var Pe=(u+r|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,r=Math.imul(B,ce),i=Math.imul(B,ue),i=i+Math.imul(j,ce)|0,a=Math.imul(j,ue),r=r+Math.imul(M,de)|0,i=i+Math.imul(M,fe)|0,i=i+Math.imul(R,de)|0,a=a+Math.imul(R,fe)|0,r=r+Math.imul(O,pe)|0,i=i+Math.imul(O,me)|0,i=i+Math.imul(I,pe)|0,a=a+Math.imul(I,me)|0;var Oe=(u+r|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,r=Math.imul(B,de),i=Math.imul(B,fe),i=i+Math.imul(j,de)|0,a=Math.imul(j,fe),r=r+Math.imul(M,pe)|0,i=i+Math.imul(M,me)|0,i=i+Math.imul(R,pe)|0,a=a+Math.imul(R,me)|0;var Ie=(u+r|0)+((8191&i)<<13)|0;u=(a+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,r=Math.imul(B,pe),i=Math.imul(B,me),i=i+Math.imul(j,pe)|0,a=Math.imul(j,me);var Fe=(u+r|0)+((8191&i)<<13)|0;return u=(a+(i>>>13)|0)+(Fe>>>26)|0,Fe&=67108863,c[0]=ge,c[1]=he,c[2]=ye,c[3]=ve,c[4]=be,c[5]=xe,c[6]=ke,c[7]=Se,c[8]=Ce,c[9]=De,c[10]=Te,c[11]=Ee,c[12]=we,c[13]=Ae,c[14]=Ne,c[15]=Pe,c[16]=Oe,c[17]=Ie,c[18]=Fe,0!==u&&(c[19]=u,n.length++),n};Math.imul||(C=u),a.prototype.mulTo=function(e,t){var n=this.length+e.length;return 10===this.length&&10===e.length?C(this,e,t):n<63?u(this,e,t):n<1024?l(this,e,t):d(this,e,t)},f.prototype.makeRBT=function(e){for(var t=new Array(e),n=a.prototype._countBits(e)-1,r=0;r>=1;return r},f.prototype.permute=function(e,t,n,r,i,a){for(var o=0;o>>=1)i++;return 1<>>=13,n[2*o+1]=8191&a,a>>>=13;for(o=2*t;o>=26,t+=i/67108864|0,t+=a>>>26,this.words[n]=67108863&a}return 0!==t&&(this.words[n]=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 n=this,r=0;r=0);var t,n=e%26,i=(e-n)/26,a=67108863>>>26-n<<26-n;if(0!==n){var o=0;for(t=0;t>>26-n}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,n){return r(0===this.negative),this.iushrn(e,t,n)},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){r("number"==typeof e&&e>=0);var t=e%26,n=(e-t)/26,i=1<=0);var t=e%26,n=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=n)return this;if(0!==t&&n++,this.length=Math.min(n,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(r("number"==typeof e),r(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+n]=67108863&o}for(;i>26,this.words[i+n]=67108863&o;if(0===s)return this.strip();for(r(-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 n=this.length-e.length,r=this.clone(),i=e,o=0|i.words[i.length-1];0!==(n=26-this._countBits(o))&&(i=i.ushln(n),r.iushln(n),o=0|i.words[i.length-1]);var s,c=r.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|r.words[i.length+d])+(0|r.words[i.length+d-1]);for(f=Math.min(f/o|0,67108863),r._ishlnsubmul(i,f,d);0!==r.negative;)f--,r.negative=0,r._ishlnsubmul(i,1,d),r.isZero()||(r.negative^=1);s&&(s.words[d]=f)}return s&&s.strip(),r.strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:s||null,mod:r}},a.prototype.divmod=function(e,t,n){if(r(!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(),n&&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(),n&&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 n=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),a=n.cmp(r);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){r(e<=67108863);for(var t=(1<<26)%e,n=0,i=this.length-1;i>=0;i--)n=(t*n+(0|this.words[i]))%e;return n},a.prototype.idivn=function(e){r(e<=67108863);for(var t=0,n=this.length-1;n>=0;n--){var i=(0|this.words[n])+67108864*t;this.words[n]=i/e|0,t=i%e}return this.strip()},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=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()&&n.isEven();)t.iushrn(1),n.iushrn(1),++u;for(var l=n.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,m=1;0==(n.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(n.iushrn(p);p-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(d)),s.iushrn(1),c.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(s),o.isub(c)):(n.isub(t),s.isub(i),c.isub(o))}return{a:s,b:c,gcd:n.iushln(u)}},a.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t=this,n=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new a(1),o=new a(0),s=n.clone();t.cmpn(1)>0&&n.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==(n.words[0]&d)&&l<26;++l,d<<=1);if(l>0)for(n.iushrn(l);l-- >0;)o.isOdd()&&o.iadd(s),o.iushrn(1);t.cmp(n)>=0?(t.isub(n),i.isub(o)):(n.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(),n=e.clone();t.negative=0,n.negative=0;for(var r=0;t.isEven()&&n.isEven();r++)t.iushrn(1),n.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;n.isEven();)n.iushrn(1);var i=t.cmp(n);if(i<0){var a=t;t=n,n=a}else if(0===i||0===n.cmpn(1))break;t.isub(n)}return n.iushln(r)},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){r("number"==typeof e);var t=e%26,n=(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 n;if(this.length>1)n=1;else{t&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];n=i===e?0:ie.length)return 1;if(this.length=0;n--){var r=0|this.words[n],i=0|e.words[n];if(r!==i){ri&&(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 r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return r(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 r(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var D={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,n=e;do{this.split(n,this.tmp),n=this.imulK(n),n=n.iadd(this.tmp),t=n.bitLength()}while(t>this.n);var r=t0?n.isub(this.p):n.strip(),n},_.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 n=Math.min(e.length,9),r=0;r>>22,i=a}i>>>=22,e.words[r-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,n=0;n>>=26,e.words[n]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){if(D[e])return D[e];var t;if("k256"===e)t=new p;else if("p224"===e)t=new m;else if("p192"===e)t=new g;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new h}return D[e]=t,t},y.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},y.prototype._verify2=function(e,t){r(0==(e.negative|t.negative),"red works only with positives"),r(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 n=e.add(t);return n.cmp(this.m)>=0&&n.isub(this.m),n._forceRed(this)},y.prototype.iadd=function(e,t){this._verify2(e,t);var n=e.iadd(t);return n.cmp(this.m)>=0&&n.isub(this.m),n},y.prototype.sub=function(e,t){this._verify2(e,t);var n=e.sub(t);return n.cmpn(0)<0&&n.iadd(this.m),n._forceRed(this)},y.prototype.isub=function(e,t){this._verify2(e,t);var n=e.isub(t);return n.cmpn(0)<0&&n.iadd(this.m),n},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(r(t%2==1),3===t){var n=this.m.add(new a(1)).iushrn(2);return this.pow(e,n)}for(var i=this.m.subn(1),o=0;!i.isZero()&&0===i.andln(1);)o++,i.iushrn(1);r(!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 m=_,g=0;0!==m.cmp(s);g++)m=m.redSqr();r(g=0;r--){for(var u=t.words[r],l=c-1;l>=0;l--){var d=u>>l&1;i!==n[0]&&(i=this.sqr(i)),0!==d||0!==o?(o<<=1,o|=d,(4===++s||0===r&&0===l)&&(i=this.mul(i,n[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 n=e.imul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).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 n=e.mul(t),r=n.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=n.isub(r).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,n(120)(e))},function(e,t,n){"use strict";var r=t;r.version=n(127).version,r.utils=n(128),r.rand=n(61),r.curve=n(23),r.curves=n(133),r.ec=n(141),r.eddsa=n(145)},function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=n,n.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},function(e,t,n){"use strict";function r(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for(e=e.replace(/[^a-z0-9]+/gi,""),e.length%2!=0&&(e="0"+e),r=0;r>8,o=255&i;a?n.push(a,o):n.push(o)}else for(r=0;r>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function o(e,t){for(var n="",r=0;r>>0}return a}function l(e,t){for(var n=new Array(4*e.length),r=0,i=0;r>>24,n[i+1]=a>>>16&255,n[i+2]=a>>>8&255,n[i+3]=255&a):(n[i+3]=a>>>24,n[i+2]=a>>>16&255,n[i+1]=a>>>8&255,n[i]=255&a)}return n}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,n){return e+t+n>>>0}function m(e,t,n,r){return e+t+n+r>>>0}function g(e,t,n,r,i){return e+t+n+r+i>>>0}function h(e,t,n,r){var i=e[t],a=e[t+1],o=r+a>>>0,s=(o>>0,e[t+1]=o}function y(e,t,n,r){return(t+r>>>0>>0}function v(e,t,n,r){return t+r>>>0}function b(e,t,n,r,i,a,o,s){var c=0,u=t;return u=u+r>>>0,c+=u>>0,c+=u>>0,c+=u>>0}function x(e,t,n,r,i,a,o,s){return t+r+a+s>>>0}function k(e,t,n,r,i,a,o,s,c,u){var l=0,d=t;return d=d+r>>>0,l+=d>>0,l+=d>>0,l+=d>>0,l+=d>>0}function S(e,t,n,r,i,a,o,s,c,u){return t+r+a+s+u>>>0}function C(e,t,n){return(t<<32-n|e>>>n)>>>0}function D(e,t,n){return(e<<32-n|t>>>n)>>>0}function T(e,t,n){return e>>>n}function E(e,t,n){return(e<<32-n|t>>>n)>>>0}var w=n(5),A=n(0);t.inherits=A,t.toArray=r,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=m,t.sum32_5=g,t.sum64=h,t.sum64_hi=y,t.sum64_lo=v,t.sum64_4_hi=b,t.sum64_4_lo=x,t.sum64_5_hi=k,t.sum64_5_lo=S,t.rotr64_hi=C,t.rotr64_lo=D,t.shr64_hi=T,t.shr64_lo=E},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(e){if(l===setTimeout)return setTimeout(e,0);if((l===n||!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===r||!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(){m&&_&&(m=!1,_.length?p=_.concat(p):g=-1,p.length&&s())}function s(){if(!m){var e=i(o);m=!0;for(var t=p.length;t;){for(_=p,p=[];++g1)for(var n=1;n=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=4294967295&n,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var a=this._hash();return e?a.toString(e):a},r.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=r},function(e,t,n){"use strict";(function(t,r){function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}function a(e,n){if(e>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 n?r.nextTick(function(){n(null,a)}):a}var o=n(1).Buffer,s=t.crypto||t.msCrypto;s&&s.getRandomValues?e.exports=a:e.exports=i}).call(t,n(7),n(8))},function(e,t,n){"use strict";(function(t){function r(e){u.call(this,"digest"),this._hash=e,this.buffers=[]}function i(e){u.call(this,"digest"),this._hash=e}var a=n(0),o=n(26),s=n(27),c=n(32),u=n(9);a(r,u),r.prototype._update=function(e){this.buffers.push(e)},r.prototype._final=function(){var e=t.concat(this.buffers),n=this._hash(e);return this.buffers=null,n},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 r(o):new i("rmd160"===e||"ripemd160"===e?new s:c(e))}}).call(t,n(2).Buffer)},function(e,t,n){(function(e){function n(e){return Array.isArray?Array.isArray(e):"[object Array]"===g(e)}function r(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]"===g(e)}function d(e){return"object"==typeof e&&null!==e}function f(e){return"[object Date]"===g(e)}function _(e){return"[object Error]"===g(e)||e instanceof Error}function p(e){return"function"==typeof e}function m(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function g(e){return Object.prototype.toString.call(e)}t.isArray=n,t.isBoolean=r,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=m,t.isBuffer=e.isBuffer}).call(t,n(2).Buffer)},function(e,t,n){(function(t){e.exports=function(e,n){for(var r=Math.min(e.length,n.length),i=new t(r),a=0;a=this._delta8){e=this.pending;var n=e.length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=i.join32(e,0,e.length-n,this.endian);for(var r=0;r>>24&255,r[i++]=e>>>16&255,r[i++]=e>>>8&255,r[i++]=255&e}else for(r[i++]=255&e,r[i++]=e>>>8&255,r[i++]=e>>>16&255,r[i++]=e>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,a=8;a0||r>0;){var l=new a;l.update(u),l.update(e),t&&l.update(t),u=l.digest();var d=0;if(o>0){var f=s.length-o;d=Math.min(o,u.length),u.copy(s,f,0,d),o-=d}if(d0){var _=c.length-r,p=Math.min(r,u.length-d);u.copy(c,_,d,d+p),r-=p}}return u.fill(0),{key:s,iv:c}}var i=n(1).Buffer,a=n(101);e.exports=r},function(e,t,n){function r(e){s.isBuffer(e)||(e=s.from(e));for(var t=e.length/4|0,n=new Array(t),r=0;r>>24]^l[p>>>16&255]^d[m>>>8&255]^f[255&g]^t[h++],o=u[p>>>24]^l[m>>>16&255]^d[g>>>8&255]^f[255&_]^t[h++],s=u[m>>>24]^l[g>>>16&255]^d[_>>>8&255]^f[255&p]^t[h++],c=u[g>>>24]^l[_>>>16&255]^d[p>>>8&255]^f[255&m]^t[h++],_=a,p=o,m=s,g=c;return a=(r[_>>>24]<<24|r[p>>>16&255]<<16|r[m>>>8&255]<<8|r[255&g])^t[h++],o=(r[p>>>24]<<24|r[m>>>16&255]<<16|r[g>>>8&255]<<8|r[255&_])^t[h++],s=(r[m>>>24]<<24|r[g>>>16&255]<<16|r[_>>>8&255]<<8|r[255&p])^t[h++],c=(r[g>>>24]<<24|r[_>>>16&255]<<16|r[p>>>8&255]<<8|r[255&m])^t[h++],a>>>=0,o>>>=0,s>>>=0,c>>>=0,[a,o,s,c]}function o(e){this._key=r(e),this._reset()}var s=n(1).Buffer,c=[0,1,2,4,8,16,32,64,128,27,54],u=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var n=[],r=[],i=[[],[],[],[]],a=[[],[],[],[]],o=0,s=0,c=0;c<256;++c){var u=s^s<<1^s<<2^s<<3^s<<4;u=u>>>8^255&u^99,n[o]=u,r[u]=o;var l=e[o],d=e[l],f=e[d],_=257*e[u]^16843008*u;i[0][o]=_<<24|_>>>8,i[1][o]=_<<16|_>>>16,i[2][o]=_<<8|_>>>24,i[3][o]=_,_=16843009*f^65537*d^257*l^16843008*o,a[0][u]=_<<24|_>>>8,a[1][u]=_<<16|_>>>16,a[2][u]=_<<8|_>>>24,a[3][u]=_,0===o?o=s=1:(o=l^e[e[e[f^l]]],s^=e[e[s]])}return{SBOX:n,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:a}}();o.blockSize=16,o.keySize=32,o.prototype.blockSize=o.blockSize,o.prototype.keySize=o.keySize,o.prototype._reset=function(){for(var e=this._key,t=e.length,n=t+6,r=4*(n+1),i=[],a=0;a>>24,o=u.SBOX[o>>>24]<<24|u.SBOX[o>>>16&255]<<16|u.SBOX[o>>>8&255]<<8|u.SBOX[255&o],o^=c[a/t|0]<<24):t>6&&a%t==4&&(o=u.SBOX[o>>>24]<<24|u.SBOX[o>>>16&255]<<16|u.SBOX[o>>>8&255]<<8|u.SBOX[255&o]),i[a]=i[a-t]^o}for(var s=[],l=0;l>>24]]^u.INV_SUB_MIX[1][u.SBOX[f>>>16&255]]^u.INV_SUB_MIX[2][u.SBOX[f>>>8&255]]^u.INV_SUB_MIX[3][u.SBOX[255&f]]}this._nRounds=n,this._keySchedule=i,this._invKeySchedule=s},o.prototype.encryptBlockRaw=function(e){return e=r(e),a(e,this._keySchedule,u.SUB_MIX,u.SBOX,this._nRounds)},o.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),n=s.allocUnsafe(16);return n.writeUInt32BE(t[0],0),n.writeUInt32BE(t[1],4),n.writeUInt32BE(t[2],8),n.writeUInt32BE(t[3],12),n},o.prototype.decryptBlock=function(e){e=r(e);var t=e[1];e[1]=e[3],e[3]=t;var n=a(e,this._invKeySchedule,u.INV_SUB_MIX,u.INV_SBOX,this._nRounds),i=s.allocUnsafe(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(){i(this._keySchedule),i(this._invKeySchedule),i(this._key)},e.exports.AES=o},function(e,t,n){"use strict";var r=t;r.base=n(129),r.short=n(130),r.mont=n(131),r.edwards=n(132)},function(e,t,n){(function(t){function r(e){var n;"object"!=typeof e||t.isBuffer(e)||(n=e.passphrase,e=e.key),"string"==typeof e&&(e=new t(e));var r,o,c=s(e,n),u=c.tag,l=c.data;switch(u){case"CERTIFICATE":o=a.certificate.decode(l,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(o||(o=a.PublicKey.decode(l,"der")),r=o.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return a.RSAPublicKey.decode(o.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return o.subjectPrivateKey=o.subjectPublicKey,{type:"ec",data:o};case"1.2.840.10040.4.1":return o.algorithm.params.pub_key=a.DSAparam.decode(o.subjectPublicKey.data,"der"),{type:"dsa",data:o.algorithm.params};default:throw new Error("unknown key id "+r)}throw new Error("unknown key type "+u);case"ENCRYPTED PRIVATE KEY":l=a.EncryptedPrivateKey.decode(l,"der"),l=i(l,n);case"PRIVATE KEY":switch(o=a.PrivateKey.decode(l,"der"),r=o.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return a.RSAPrivateKey.decode(o.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:o.algorithm.curve,privateKey:a.ECPrivateKey.decode(o.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return o.algorithm.params.priv_key=a.DSAparam.decode(o.subjectPrivateKey,"der"),{type:"dsa",params:o.algorithm.params};default:throw new Error("unknown key id "+r)}throw new Error("unknown key type "+u);case"RSA PUBLIC KEY":return a.RSAPublicKey.decode(l,"der");case"RSA PRIVATE KEY":return a.RSAPrivateKey.decode(l,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:a.DSAPrivateKey.decode(l,"der")};case"EC PRIVATE KEY":return l=a.ECPrivateKey.decode(l,"der"),{curve:l.parameters.value,privateKey:l.privateKey};default:throw new Error("unknown key type "+u)}}function i(e,n){var r=e.algorithm.decrypt.kde.kdeparams.salt,i=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),a=o[e.algorithm.decrypt.cipher.algo.join(".")],s=e.algorithm.decrypt.cipher.iv,l=e.subjectPrivateKey,d=parseInt(a.split("-")[1],10)/8,f=u.pbkdf2Sync(n,r,i,d),_=c.createDecipheriv(a,f,s),p=[];return p.push(_.update(l)),p.push(_.final()),t.concat(p)}var a=n(148),o=n(160),s=n(161),c=n(33),u=n(50);e.exports=r,r.signature=a.signature}).call(t,n(2).Buffer)},function(e,t,n){"use strict";(function(t,r,i,a){var o,s=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n0;for(var n=0,r=e;nt?1:0};i<=a;){var o=i+(a-i>>1),s=e[o];if(0===n(s,t))return o;n(s,t)>0?a=o-1:i=o+1}return~i}function ee(e,t,n,r,i){if(e&&e.length>0){var a=e.length;if(a>0){var o=void 0===r||r<0?0:r,s=void 0===i||o+i>a-1?a-1:o+i,c=void 0;for(arguments.length<=2?(c=e[o],o++):c=n;o<=s;)c=t(c,e[o],o),o++;return c}}return n}function te(e,t,n,r,i){if(e){var a=e.length;if(a>0){var o=void 0===r||r>a-1?a-1:r,s=void 0===i||o-i<0?0:o-i,c=void 0;for(arguments.length<=2?(c=e[o],o--):c=n;o>=s;)c=t(c,e[o],o),o--;return c}}return n}function ne(e,t){return yn.call(e,t)}function re(e,t){return yn.call(e,t)?e[t]:void 0}function ie(e){var t=[];for(var n in e)yn.call(e,n)&&t.push(n);return t}function ae(e,t){for(var n=[],r=e.next(),i=r.value,a=r.done;!a;o=e.next(),i=o.value,a=o.done,o)n.push(t?t(i):i);return n;var o}function oe(e,t){for(var n=e.entries(),r=n.next(),i=r.value,a=r.done;!a;u=n.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 se(e,t){for(var n=e.keys(),r=n.next(),i=r.value,a=r.done;!a;s=n.next(),i=s.value,a=s.done,s){var o=t(i);if(o)return o}return;var s}function ce(e,t){e.forEach(function(e,n){t.set(n,e)})}function ue(e){for(var t=[],n=1;n4&&(a=Ee(a,arguments,4)),{file:e,start:t,length:n,messageText:a,category:r.category,code:r.code}}function Ne(e,t){var n=we(t);return arguments.length>2&&(n=Ee(n,arguments,2)),n}function Pe(e){var t=we(e);return arguments.length>1&&(t=Ee(t,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:t,category:e.category,code:e.code}}function Oe(e){return{file:void 0,start:void 0,length:void 0,code:e.code,category:e.category,messageText:e.next?e:e.messageText}}function Ie(e,t){var n=we(t);return arguments.length>2&&(n=Ee(n,arguments,2)),{messageText:n,category:t.category,code:t.code,next:e}}function Fe(e,t){for(var n=e;n.next;)n=n.next;return n.next=t,e}function Me(e,t){return e===t?0:void 0===e?-1:void 0===t?1:e0?1:0}if(t=t.toUpperCase(),n=n.toUpperCase(),t===n)return 0}return t0&&".."!==$(i)?i.pop():s&&i.push(s))}return i}function He(t){t=Ke(t);var n=qe(t),r=t.substr(0,n),i=Ve(t,n);if(i.length){var a=r+i.join(e.directorySeparator);return We(t)?a+e.directorySeparator:a}return r}function We(e){return e.charCodeAt(e.length-1)===vn}function Ge(t){return t.substr(0,Math.max(qe(t),t.lastIndexOf(e.directorySeparator)))}function $e(e){return e&&!rt(e)&&-1!==e.indexOf("://")}function Xe(e){return/^\.\.?($|[\\\/])/.test(e)}function Ye(e){return Xe(e)||rt(e)}function Qe(e){return!Ye(e)}function Ze(e){return e.target||0}function et(t){return"number"==typeof t.module?t.module:Ze(t)>=2?e.ModuleKind.ES2015:e.ModuleKind.CommonJS}function tt(t){var n=t.moduleResolution;return void 0===n&&(n=et(t)===e.ModuleKind.CommonJS?e.ModuleResolutionKind.NodeJs:e.ModuleResolutionKind.Classic),n}function nt(e){for(var t=!1,n=0;n1&&""===$(s)&&s.pop();var c;for(c=0;c=0&&e.indexOf(t,n)===n}function xt(e){return ft(e).indexOf(".")>=0}function kt(e,t){return e.length>t.length&&bt(e,t)}function St(e,t){for(var n=0,r=t;n0;)c+=")?",_--;return c}}function wt(e,t){return"*"===e?t:"?"===e?"[^/]":"\\"+e}function At(e,t,n,r,i){e=He(e),i=He(i);var a=_t(i,e);return{includeFilePatterns:C(Dt(n,a,"files"),function(e){return"^"+e+"$"}),includeFilePattern:Ct(n,a,"files"),includeDirectoryPattern:Ct(n,a,"directories"),excludePattern:Ct(t,a,"exclude"),basePaths:Pt(e,n,r)}}function Nt(e,t,n,r,i,a,o,s){function c(e,n,r){var i=s(e),a=i.files,o=i.directories;a=a.slice().sort(g);for(var u=0,l=a;u=0;n--)if(kt(e,t[n]))return zt(n,t);return 0}function zt(e,t){return e<2?0:ei&&(i=c.prefix.length,r=s)}return r}function cn(e,t){var n=e.prefix,r=e.suffix;return t.length>=n.length+r.length&&yt(t,n)&&bt(t,r)}function un(e){An.assert(nt(e));var t=e.indexOf("*");return-1===t?void 0:{prefix:e.substr(0,t),suffix:e.substr(t+1)}}function ln(e){return!(e>=0)}function dn(e){return".ts"===e||".tsx"===e||".d.ts"===e}function fn(e){var t=pn(e);if(void 0!==t)return t;An.fail("File "+e+" has unknown extension.")}function _n(e){return void 0!==pn(e)}function pn(t){return _(e.supportedTypescriptExtensionsForExtractExtension,function(e){return kt(t,e)})||_(e.supportedJavascriptExtensions,function(e){return kt(t,e)})}function mn(e,t){return e.checkJsDirective?e.checkJsDirective.enabled:t.checkJs}function gn(e){}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=n,e.createUnderscoreEscapedMap=r,e.createSymbolTable=i,e.createMapFromTemplate=a;var hn="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 n(e,t,r,i){e||(r&&(t+="\r\nVerbose Debug Information: "+("string"==typeof r?r:r())),s(t?"False expression: "+t:"False expression.",i||n))}function r(e,t,n,r){if(e!==t){s("Expected "+e+" === "+t+". "+(n?r?n+" "+r:n:""))}}function i(e,t,n){e>=t&&s("Expected "+e+" < "+t+". "+(n||""))}function a(e,t){e>t&&s("Expected "+e+" <= "+t)}function o(e,t){e= "+t)}function s(e,t){var n=new Error(e?"Debug Failure. "+e:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(n,t||s),n}function c(e){if("function"!=typeof e)return"";if(e.hasOwnProperty("name"))return e.name;var t=Function.prototype.toString.call(e),n=/^function\s+([\w\$]+)\s*\(/.exec(t);return n?n[1]:""}e.currentAssertionLevel=0,e.isDebugging=!1,e.shouldAssert=t,e.assert=n,e.assertEqual=r,e.assertLessThan=i,e.assertLessThanOrEqual=a,e.assertGreaterThanOrEqual=o,e.fail=s,e.getFunctionName=c}(An=e.Debug||(e.Debug={})),e.orderedRemoveItem=Yt,e.orderedRemoveItemAt=Qt,e.unorderedRemoveItemAt=Zt,e.unorderedRemoveItem=en,e.createGetCanonicalFileName=nn,e.matchPatternOrExact=rn,e.patternText=an,e.matchedText=on,e.findBestPatternMatch=sn,e.tryParsePattern=un,e.positionIsSynthesized=ln,e.extensionIsTypeScript=dn,e.extensionFromPath=fn,e.isAnySupportedFileExtension=_n,e.tryGetExtensionFromPath=pn,e.isCheckJsEnabledForFile=mn,e.assertTypeIsNever=gn}(o||(o={}));var o;!function(e){function a(){Error.stackTraceLimit<100&&(Error.stackTraceLimit=100)}function o(){if(void 0!==t){var e=t.version;if(e){var n=e.indexOf(".");if(-1!==n)return parseInt(e.substring(1,n))}}}e.setStackTraceLimit=a;var s;!function(e){e[e.Created=0]="Created",e[e.Changed=1]="Changed",e[e.Deleted=2]="Deleted"}(s=e.FileWatcherEventKind||(e.FileWatcherEventKind={})),e.getNodeMajorVersion=o,e.sys=function(){function a(t,n){var r=e.getDirectoryPath(t),i=t!==r&&!n.directoryExists(r);i&&a(r,n),!i&&n.directoryExists(t)||n.createDirectory(t)}var c;if("undefined"!=typeof ChakraHost?c=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,n){n&&(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,n,r,i,a){var o=e.getFileMatcherPatterns(t,r,i,!!ChakraHost.useCaseSensitiveFileNames,ChakraHost.currentDirectory);return ChakraHost.readDirectory(t,n,o.basePaths,o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern)},exit:ChakraHost.quit,realpath:t}}():void 0!==t&&t.nextTick&&!t.browser&&(c=function(){function a(e){return e.replace(/\w/g,function(e){var t=e.toUpperCase();return e===t?e.toLowerCase():t})}function c(e,t){if(_(e)){var n=h.readFileSync(e),r=n.length;if(r>=2&&254===n[0]&&255===n[1]){r&=-2;for(var i=0;i=2&&255===n[0]&&254===n[1]?n.toString("utf16le",2):r>=3&&239===n[0]&&187===n[1]&&191===n[2]?n.toString("utf8",3):n.toString("utf8")}}function u(e,t,n){n&&(t="\ufeff"+t);var r;try{r=h.openSync(e,"w"),h.writeSync(r,t,void 0,"utf8")}finally{void 0!==r&&h.closeSync(r)}}function l(t){try{for(var n=h.readdirSync(t||".").sort(),r=[],i=[],a=0,o=n;a=4,D=v.platform(),T=function(){return"win32"!==D&&"win64"!==D&&!_(a(r))}();!function(e){e[e.File=0]="File",e[e.Directory=1]="Directory"}(g||(g={}));var E={close:e.noop},w={args:t.argv.slice(2),newLine:v.EOL,useCaseSensitiveFileNames:T,write:function(e){t.stdout.write(e)},readFile:c,writeFile:u,watchFile:function(e,t,n){function r(n,r){var i=0==+n.mtime,a=0==+r.mtime,o=!i&&a,c=i&&!a,u=o?s.Created:c?s.Deleted:s.Changed;u===s.Changed&&+n.mtime<=+r.mtime||t(e,u)}if(x){var i=k.addFile(e,t);return{close:function(){return k.removeFile(i)}}}return h.watchFile(e,{persistent:!0,interval:n||250},r),{close:function(){return h.unwatchFile(e,r)}}},watchDirectory:function(n,r,i){var a;return p(n)?(a=!C||"win32"!==t.platform&&"darwin"!==t.platform?{persistent:!0}:{persistent:!0,recursive:!!i},h.watch(n,a,function(t,i){"rename"===t&&r(i?e.normalizePath(e.combinePaths(n,i)):i)})):E},resolvePath:function(e){return y.resolve(e)},fileExists:_,directoryExists:p,createDirectory:function(e){w.directoryExists(e)||h.mkdirSync(e)},getExecutingFilePath:function(){return r},getCurrentDirectory:function(){return t.cwd()},getDirectories:m,getEnvironmentVariable:function(e){return Object({NODE_ENV:"production"})[e]||""},readDirectory:d,getModifiedTime:function(e){try{return h.statSync(e).mtime}catch(e){return}},createHash:function(e){var t=b.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=h.statSync(e);if(t.isFile())return t.size}catch(e){}return 0},exit:function(e){t.exit(e)},realpath:function(e){return h.realpathSync(e)},debugMode:e.some(t.execArgv,function(e){return/^--(inspect|debug)(-brk)?(=\d+)?$/i.test(e)}),tryEnableSourceMapsForHost:function(){try{n(!function(){var e=new Error('Cannot find module "source-map-support"');throw e.code="MODULE_NOT_FOUND",e}()).install()}catch(e){}},setTimeout:setTimeout,clearTimeout:clearTimeout};return w}()),c){var u=c.writeFile;c.writeFile=function(t,n,r){var i=e.getDirectoryPath(e.normalizeSlashes(t));i&&!c.directoryExists(i)&&a(i,c),u.call(c,t,n,r)}}return c}(),e.sys&&e.sys.getEnvironmentVariable&&(e.Debug.currentAssertionLevel=/^development$/i.test(e.sys.getEnvironmentVariable("NODE_ENV"))?1:0),e.sys&&e.sys.debugMode&&(e.Debug.isDebugging=!0)}(o||(o={}));var o;!function(e){function t(e,t,n,r){return{code:e,category:t,key:n,message:r}}e.Diagnostics={Unterminated_string_literal:t(1002,e.DiagnosticCategory.Error,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:t(1003,e.DiagnosticCategory.Error,"Identifier_expected_1003","Identifier expected."),_0_expected:t(1005,e.DiagnosticCategory.Error,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:t(1006,e.DiagnosticCategory.Error,"A_file_cannot_have_a_reference_to_itself_1006","A file cannot have a reference to itself."),Trailing_comma_not_allowed:t(1009,e.DiagnosticCategory.Error,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:t(1010,e.DiagnosticCategory.Error,"Asterisk_Slash_expected_1010","'*/' expected."),Unexpected_token:t(1012,e.DiagnosticCategory.Error,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_must_be_last_in_a_parameter_list:t(1014,e.DiagnosticCategory.Error,"A_rest_parameter_must_be_last_in_a_parameter_list_1014","A rest parameter must be last in a parameter list."),Parameter_cannot_have_question_mark_and_initializer:t(1015,e.DiagnosticCategory.Error,"Parameter_cannot_have_question_mark_and_initializer_1015","Parameter cannot have question mark and initializer."),A_required_parameter_cannot_follow_an_optional_parameter:t(1016,e.DiagnosticCategory.Error,"A_required_parameter_cannot_follow_an_optional_parameter_1016","A required parameter cannot follow an optional parameter."),An_index_signature_cannot_have_a_rest_parameter:t(1017,e.DiagnosticCategory.Error,"An_index_signature_cannot_have_a_rest_parameter_1017","An index signature cannot have a rest parameter."),An_index_signature_parameter_cannot_have_an_accessibility_modifier:t(1018,e.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018","An index signature parameter cannot have an accessibility modifier."),An_index_signature_parameter_cannot_have_a_question_mark:t(1019,e.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_a_question_mark_1019","An index signature parameter cannot have a question mark."),An_index_signature_parameter_cannot_have_an_initializer:t(1020,e.DiagnosticCategory.Error,"An_index_signature_parameter_cannot_have_an_initializer_1020","An index signature parameter cannot have an initializer."),An_index_signature_must_have_a_type_annotation:t(1021,e.DiagnosticCategory.Error,"An_index_signature_must_have_a_type_annotation_1021","An index signature must have a type annotation."),An_index_signature_parameter_must_have_a_type_annotation:t(1022,e.DiagnosticCategory.Error,"An_index_signature_parameter_must_have_a_type_annotation_1022","An index signature parameter must have a type annotation."),An_index_signature_parameter_type_must_be_string_or_number:t(1023,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_must_be_string_or_number_1023","An index signature parameter type must be 'string' or 'number'."),readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:t(1024,e.DiagnosticCategory.Error,"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024","'readonly' modifier can only appear on a property declaration or index signature."),Accessibility_modifier_already_seen:t(1028,e.DiagnosticCategory.Error,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:t(1029,e.DiagnosticCategory.Error,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:t(1030,e.DiagnosticCategory.Error,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_a_class_element:t(1031,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_class_element_1031","'{0}' modifier cannot appear on a class element."),super_must_be_followed_by_an_argument_list_or_member_access:t(1034,e.DiagnosticCategory.Error,"super_must_be_followed_by_an_argument_list_or_member_access_1034","'super' must be followed by an argument list or member access."),Only_ambient_modules_can_use_quoted_names:t(1035,e.DiagnosticCategory.Error,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:t(1036,e.DiagnosticCategory.Error,"Statements_are_not_allowed_in_ambient_contexts_1036","Statements are not allowed in ambient contexts."),A_declare_modifier_cannot_be_used_in_an_already_ambient_context:t(1038,e.DiagnosticCategory.Error,"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038","A 'declare' modifier cannot be used in an already ambient context."),Initializers_are_not_allowed_in_ambient_contexts:t(1039,e.DiagnosticCategory.Error,"Initializers_are_not_allowed_in_ambient_contexts_1039","Initializers are not allowed in ambient contexts."),_0_modifier_cannot_be_used_in_an_ambient_context:t(1040,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_in_an_ambient_context_1040","'{0}' modifier cannot be used in an ambient context."),_0_modifier_cannot_be_used_with_a_class_declaration:t(1041,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_a_class_declaration_1041","'{0}' modifier cannot be used with a class declaration."),_0_modifier_cannot_be_used_here:t(1042,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_here_1042","'{0}' modifier cannot be used here."),_0_modifier_cannot_appear_on_a_data_property:t(1043,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_data_property_1043","'{0}' modifier cannot appear on a data property."),_0_modifier_cannot_appear_on_a_module_or_namespace_element:t(1044,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044","'{0}' modifier cannot appear on a module or namespace element."),A_0_modifier_cannot_be_used_with_an_interface_declaration:t(1045,e.DiagnosticCategory.Error,"A_0_modifier_cannot_be_used_with_an_interface_declaration_1045","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:t(1046,e.DiagnosticCategory.Error,"A_declare_modifier_is_required_for_a_top_level_declaration_in_a_d_ts_file_1046","A 'declare' modifier is required for a top level declaration in a .d.ts file."),A_rest_parameter_cannot_be_optional:t(1047,e.DiagnosticCategory.Error,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:t(1048,e.DiagnosticCategory.Error,"A_rest_parameter_cannot_have_an_initializer_1048","A rest parameter cannot have an initializer."),A_set_accessor_must_have_exactly_one_parameter:t(1049,e.DiagnosticCategory.Error,"A_set_accessor_must_have_exactly_one_parameter_1049","A 'set' accessor must have exactly one parameter."),A_set_accessor_cannot_have_an_optional_parameter:t(1051,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_an_optional_parameter_1051","A 'set' accessor cannot have an optional parameter."),A_set_accessor_parameter_cannot_have_an_initializer:t(1052,e.DiagnosticCategory.Error,"A_set_accessor_parameter_cannot_have_an_initializer_1052","A 'set' accessor parameter cannot have an initializer."),A_set_accessor_cannot_have_rest_parameter:t(1053,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:t(1054,e.DiagnosticCategory.Error,"A_get_accessor_cannot_have_parameters_1054","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:t(1055,e.DiagnosticCategory.Error,"Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Prom_1055","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:t(1056,e.DiagnosticCategory.Error,"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056","Accessors are only available when targeting ECMAScript 5 and higher."),An_async_function_or_method_must_have_a_valid_awaitable_return_type:t(1057,e.DiagnosticCategory.Error,"An_async_function_or_method_must_have_a_valid_awaitable_return_type_1057","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:t(1058,e.DiagnosticCategory.Error,"The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058","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:t(1059,e.DiagnosticCategory.Error,"A_promise_must_have_a_then_method_1059","A promise must have a 'then' method."),The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback:t(1060,e.DiagnosticCategory.Error,"The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060","The first parameter of the 'then' method of a promise must be a callback."),Enum_member_must_have_initializer:t(1061,e.DiagnosticCategory.Error,"Enum_member_must_have_initializer_1061","Enum member must have initializer."),Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method:t(1062,e.DiagnosticCategory.Error,"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062","Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method."),An_export_assignment_cannot_be_used_in_a_namespace:t(1063,e.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_namespace_1063","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:t(1064,e.DiagnosticCategory.Error,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_1064","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:t(1066,e.DiagnosticCategory.Error,"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066","In ambient enum declarations member initializer must be constant expression."),Unexpected_token_A_constructor_method_accessor_or_property_was_expected:t(1068,e.DiagnosticCategory.Error,"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068","Unexpected token. A constructor, method, accessor, or property was expected."),_0_modifier_cannot_appear_on_a_type_member:t(1070,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_type_member_1070","'{0}' modifier cannot appear on a type member."),_0_modifier_cannot_appear_on_an_index_signature:t(1071,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_an_index_signature_1071","'{0}' modifier cannot appear on an index signature."),A_0_modifier_cannot_be_used_with_an_import_declaration:t(1079,e.DiagnosticCategory.Error,"A_0_modifier_cannot_be_used_with_an_import_declaration_1079","A '{0}' modifier cannot be used with an import declaration."),Invalid_reference_directive_syntax:t(1084,e.DiagnosticCategory.Error,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:t(1085,e.DiagnosticCategory.Error,"Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0_1085","Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'."),An_accessor_cannot_be_declared_in_an_ambient_context:t(1086,e.DiagnosticCategory.Error,"An_accessor_cannot_be_declared_in_an_ambient_context_1086","An accessor cannot be declared in an ambient context."),_0_modifier_cannot_appear_on_a_constructor_declaration:t(1089,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_constructor_declaration_1089","'{0}' modifier cannot appear on a constructor declaration."),_0_modifier_cannot_appear_on_a_parameter:t(1090,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_parameter_1090","'{0}' modifier cannot appear on a parameter."),Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:t(1091,e.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091","Only a single variable declaration is allowed in a 'for...in' statement."),Type_parameters_cannot_appear_on_a_constructor_declaration:t(1092,e.DiagnosticCategory.Error,"Type_parameters_cannot_appear_on_a_constructor_declaration_1092","Type parameters cannot appear on a constructor declaration."),Type_annotation_cannot_appear_on_a_constructor_declaration:t(1093,e.DiagnosticCategory.Error,"Type_annotation_cannot_appear_on_a_constructor_declaration_1093","Type annotation cannot appear on a constructor declaration."),An_accessor_cannot_have_type_parameters:t(1094,e.DiagnosticCategory.Error,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:t(1095,e.DiagnosticCategory.Error,"A_set_accessor_cannot_have_a_return_type_annotation_1095","A 'set' accessor cannot have a return type annotation."),An_index_signature_must_have_exactly_one_parameter:t(1096,e.DiagnosticCategory.Error,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:t(1097,e.DiagnosticCategory.Error,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:t(1098,e.DiagnosticCategory.Error,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:t(1099,e.DiagnosticCategory.Error,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:t(1100,e.DiagnosticCategory.Error,"Invalid_use_of_0_in_strict_mode_1100","Invalid use of '{0}' in strict mode."),with_statements_are_not_allowed_in_strict_mode:t(1101,e.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_strict_mode_1101","'with' statements are not allowed in strict mode."),delete_cannot_be_called_on_an_identifier_in_strict_mode:t(1102,e.DiagnosticCategory.Error,"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102","'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:t(1103,e.DiagnosticCategory.Error,"A_for_await_of_statement_is_only_allowed_within_an_async_function_or_async_generator_1103","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:t(1104,e.DiagnosticCategory.Error,"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104","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:t(1105,e.DiagnosticCategory.Error,"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105","A 'break' statement can only be used within an enclosing iteration or switch statement."),Jump_target_cannot_cross_function_boundary:t(1107,e.DiagnosticCategory.Error,"Jump_target_cannot_cross_function_boundary_1107","Jump target cannot cross function boundary."),A_return_statement_can_only_be_used_within_a_function_body:t(1108,e.DiagnosticCategory.Error,"A_return_statement_can_only_be_used_within_a_function_body_1108","A 'return' statement can only be used within a function body."),Expression_expected:t(1109,e.DiagnosticCategory.Error,"Expression_expected_1109","Expression expected."),Type_expected:t(1110,e.DiagnosticCategory.Error,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:t(1113,e.DiagnosticCategory.Error,"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113","A 'default' clause cannot appear more than once in a 'switch' statement."),Duplicate_label_0:t(1114,e.DiagnosticCategory.Error,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:t(1115,e.DiagnosticCategory.Error,"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115","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:t(1116,e.DiagnosticCategory.Error,"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116","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:t(1117,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode_1117","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:t(1118,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118","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:t(1119,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119","An object literal cannot have property and accessor with the same name."),An_export_assignment_cannot_have_modifiers:t(1120,e.DiagnosticCategory.Error,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_in_strict_mode:t(1121,e.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_strict_mode_1121","Octal literals are not allowed in strict mode."),A_tuple_type_element_list_cannot_be_empty:t(1122,e.DiagnosticCategory.Error,"A_tuple_type_element_list_cannot_be_empty_1122","A tuple type element list cannot be empty."),Variable_declaration_list_cannot_be_empty:t(1123,e.DiagnosticCategory.Error,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:t(1124,e.DiagnosticCategory.Error,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:t(1125,e.DiagnosticCategory.Error,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:t(1126,e.DiagnosticCategory.Error,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:t(1127,e.DiagnosticCategory.Error,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:t(1128,e.DiagnosticCategory.Error,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:t(1129,e.DiagnosticCategory.Error,"Statement_expected_1129","Statement expected."),case_or_default_expected:t(1130,e.DiagnosticCategory.Error,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:t(1131,e.DiagnosticCategory.Error,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:t(1132,e.DiagnosticCategory.Error,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:t(1134,e.DiagnosticCategory.Error,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:t(1135,e.DiagnosticCategory.Error,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:t(1136,e.DiagnosticCategory.Error,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:t(1137,e.DiagnosticCategory.Error,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:t(1138,e.DiagnosticCategory.Error,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:t(1139,e.DiagnosticCategory.Error,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:t(1140,e.DiagnosticCategory.Error,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:t(1141,e.DiagnosticCategory.Error,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:t(1142,e.DiagnosticCategory.Error,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:t(1144,e.DiagnosticCategory.Error,"or_expected_1144","'{' or ';' expected."),Declaration_expected:t(1146,e.DiagnosticCategory.Error,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:t(1147,e.DiagnosticCategory.Error,"Import_declarations_in_a_namespace_cannot_reference_a_module_1147","Import declarations in a namespace cannot reference a module."),Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:t(1148,e.DiagnosticCategory.Error,"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148","Cannot use imports, exports, or module augmentations when '--module' is 'none'."),File_name_0_differs_from_already_included_file_name_1_only_in_casing:t(1149,e.DiagnosticCategory.Error,"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149","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:t(1150,e.DiagnosticCategory.Error,"new_T_cannot_be_used_to_create_an_array_Use_new_Array_T_instead_1150","'new T[]' cannot be used to create an array. Use 'new Array()' instead."),const_declarations_must_be_initialized:t(1155,e.DiagnosticCategory.Error,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:t(1156,e.DiagnosticCategory.Error,"const_declarations_can_only_be_declared_inside_a_block_1156","'const' declarations can only be declared inside a block."),let_declarations_can_only_be_declared_inside_a_block:t(1157,e.DiagnosticCategory.Error,"let_declarations_can_only_be_declared_inside_a_block_1157","'let' declarations can only be declared inside a block."),Unterminated_template_literal:t(1160,e.DiagnosticCategory.Error,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:t(1161,e.DiagnosticCategory.Error,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:t(1162,e.DiagnosticCategory.Error,"An_object_member_cannot_be_declared_optional_1162","An object member cannot be declared optional."),A_yield_expression_is_only_allowed_in_a_generator_body:t(1163,e.DiagnosticCategory.Error,"A_yield_expression_is_only_allowed_in_a_generator_body_1163","A 'yield' expression is only allowed in a generator body."),Computed_property_names_are_not_allowed_in_enums:t(1164,e.DiagnosticCategory.Error,"Computed_property_names_are_not_allowed_in_enums_1164","Computed property names are not allowed in enums."),A_computed_property_name_in_an_ambient_context_must_directly_refer_to_a_built_in_symbol:t(1165,e.DiagnosticCategory.Error,"A_computed_property_name_in_an_ambient_context_must_directly_refer_to_a_built_in_symbol_1165","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:t(1166,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_class_property_declaration_must_directly_refer_to_a_built_in_symbol_1166","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:t(1168,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_method_overload_must_directly_refer_to_a_built_in_symbol_1168","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:t(1169,e.DiagnosticCategory.Error,"A_computed_property_name_in_an_interface_must_directly_refer_to_a_built_in_symbol_1169","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:t(1170,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_type_literal_must_directly_refer_to_a_built_in_symbol_1170","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:t(1171,e.DiagnosticCategory.Error,"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171","A comma expression is not allowed in a computed property name."),extends_clause_already_seen:t(1172,e.DiagnosticCategory.Error,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:t(1173,e.DiagnosticCategory.Error,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:t(1174,e.DiagnosticCategory.Error,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:t(1175,e.DiagnosticCategory.Error,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:t(1176,e.DiagnosticCategory.Error,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:t(1177,e.DiagnosticCategory.Error,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:t(1178,e.DiagnosticCategory.Error,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:t(1179,e.DiagnosticCategory.Error,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:t(1180,e.DiagnosticCategory.Error,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:t(1181,e.DiagnosticCategory.Error,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:t(1182,e.DiagnosticCategory.Error,"A_destructuring_declaration_must_have_an_initializer_1182","A destructuring declaration must have an initializer."),An_implementation_cannot_be_declared_in_ambient_contexts:t(1183,e.DiagnosticCategory.Error,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:t(1184,e.DiagnosticCategory.Error,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:t(1185,e.DiagnosticCategory.Error,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:t(1186,e.DiagnosticCategory.Error,"A_rest_element_cannot_have_an_initializer_1186","A rest element cannot have an initializer."),A_parameter_property_may_not_be_declared_using_a_binding_pattern:t(1187,e.DiagnosticCategory.Error,"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187","A parameter property may not be declared using a binding pattern."),Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:t(1188,e.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188","Only a single variable declaration is allowed in a 'for...of' statement."),The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:t(1189,e.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189","The variable declaration of a 'for...in' statement cannot have an initializer."),The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:t(1190,e.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190","The variable declaration of a 'for...of' statement cannot have an initializer."),An_import_declaration_cannot_have_modifiers:t(1191,e.DiagnosticCategory.Error,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:t(1192,e.DiagnosticCategory.Error,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:t(1193,e.DiagnosticCategory.Error,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:t(1194,e.DiagnosticCategory.Error,"Export_declarations_are_not_permitted_in_a_namespace_1194","Export declarations are not permitted in a namespace."),Catch_clause_variable_cannot_have_a_type_annotation:t(1196,e.DiagnosticCategory.Error,"Catch_clause_variable_cannot_have_a_type_annotation_1196","Catch clause variable cannot have a type annotation."),Catch_clause_variable_cannot_have_an_initializer:t(1197,e.DiagnosticCategory.Error,"Catch_clause_variable_cannot_have_an_initializer_1197","Catch clause variable cannot have an initializer."),An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:t(1198,e.DiagnosticCategory.Error,"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198","An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive."),Unterminated_Unicode_escape_sequence:t(1199,e.DiagnosticCategory.Error,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:t(1200,e.DiagnosticCategory.Error,"Line_terminator_not_permitted_before_arrow_1200","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:t(1202,e.DiagnosticCategory.Error,"Import_assignment_cannot_be_used_when_targeting_ECMAScript_2015_modules_Consider_using_import_Asteri_1202","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:t(1203,e.DiagnosticCategory.Error,"Export_assignment_cannot_be_used_when_targeting_ECMAScript_2015_modules_Consider_using_export_defaul_1203","Export assignment cannot be used when targeting ECMAScript 2015 modules. Consider using 'export default' or another module format instead."),Cannot_re_export_a_type_when_the_isolatedModules_flag_is_provided:t(1205,e.DiagnosticCategory.Error,"Cannot_re_export_a_type_when_the_isolatedModules_flag_is_provided_1205","Cannot re-export a type when the '--isolatedModules' flag is provided."),Decorators_are_not_valid_here:t(1206,e.DiagnosticCategory.Error,"Decorators_are_not_valid_here_1206","Decorators are not valid here."),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:t(1207,e.DiagnosticCategory.Error,"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207","Decorators cannot be applied to multiple get/set accessors of the same name."),Cannot_compile_namespaces_when_the_isolatedModules_flag_is_provided:t(1208,e.DiagnosticCategory.Error,"Cannot_compile_namespaces_when_the_isolatedModules_flag_is_provided_1208","Cannot compile namespaces when the '--isolatedModules' flag is provided."),Ambient_const_enums_are_not_allowed_when_the_isolatedModules_flag_is_provided:t(1209,e.DiagnosticCategory.Error,"Ambient_const_enums_are_not_allowed_when_the_isolatedModules_flag_is_provided_1209","Ambient const enums are not allowed when the '--isolatedModules' flag is provided."),Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode:t(1210,e.DiagnosticCategory.Error,"Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode_1210","Invalid use of '{0}'. Class definitions are automatically in strict mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:t(1211,e.DiagnosticCategory.Error,"A_class_declaration_without_the_default_modifier_must_have_a_name_1211","A class declaration without the 'default' modifier must have a name."),Identifier_expected_0_is_a_reserved_word_in_strict_mode:t(1212,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212","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:t(1213,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213","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:t(1214,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214","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:t(1215,e.DiagnosticCategory.Error,"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215","Invalid use of '{0}'. Modules are automatically in strict mode."),Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:t(1216,e.DiagnosticCategory.Error,"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216","Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules."),Export_assignment_is_not_supported_when_module_flag_is_system:t(1218,e.DiagnosticCategory.Error,"Export_assignment_is_not_supported_when_module_flag_is_system_1218","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:t(1219,e.DiagnosticCategory.Error,"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219","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:t(1220,e.DiagnosticCategory.Error,"Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher_1220","Generators are only available when targeting ECMAScript 2015 or higher."),Generators_are_not_allowed_in_an_ambient_context:t(1221,e.DiagnosticCategory.Error,"Generators_are_not_allowed_in_an_ambient_context_1221","Generators are not allowed in an ambient context."),An_overload_signature_cannot_be_declared_as_a_generator:t(1222,e.DiagnosticCategory.Error,"An_overload_signature_cannot_be_declared_as_a_generator_1222","An overload signature cannot be declared as a generator."),_0_tag_already_specified:t(1223,e.DiagnosticCategory.Error,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:t(1224,e.DiagnosticCategory.Error,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:t(1225,e.DiagnosticCategory.Error,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:t(1226,e.DiagnosticCategory.Error,"Type_predicate_0_is_not_assignable_to_1_1226","Type predicate '{0}' is not assignable to '{1}'."),Parameter_0_is_not_in_the_same_position_as_parameter_1:t(1227,e.DiagnosticCategory.Error,"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227","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:t(1228,e.DiagnosticCategory.Error,"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228","A type predicate is only allowed in return type position for functions and methods."),A_type_predicate_cannot_reference_a_rest_parameter:t(1229,e.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_a_rest_parameter_1229","A type predicate cannot reference a rest parameter."),A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:t(1230,e.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230","A type predicate cannot reference element '{0}' in a binding pattern."),An_export_assignment_can_only_be_used_in_a_module:t(1231,e.DiagnosticCategory.Error,"An_export_assignment_can_only_be_used_in_a_module_1231","An export assignment can only be used in a module."),An_import_declaration_can_only_be_used_in_a_namespace_or_module:t(1232,e.DiagnosticCategory.Error,"An_import_declaration_can_only_be_used_in_a_namespace_or_module_1232","An import declaration can only be used in a namespace or module."),An_export_declaration_can_only_be_used_in_a_module:t(1233,e.DiagnosticCategory.Error,"An_export_declaration_can_only_be_used_in_a_module_1233","An export declaration can only be used in a module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:t(1234,e.DiagnosticCategory.Error,"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234","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:t(1235,e.DiagnosticCategory.Error,"A_namespace_declaration_is_only_allowed_in_a_namespace_or_module_1235","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:t(1236,e.DiagnosticCategory.Error,"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236","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:t(1237,e.DiagnosticCategory.Error,"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237","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:t(1238,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238","Unable to resolve signature of class decorator when called as an expression."),Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:t(1239,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239","Unable to resolve signature of parameter decorator when called as an expression."),Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:t(1240,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240","Unable to resolve signature of property decorator when called as an expression."),Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:t(1241,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241","Unable to resolve signature of method decorator when called as an expression."),abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:t(1242,e.DiagnosticCategory.Error,"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242","'abstract' modifier can only appear on a class, method, or property declaration."),_0_modifier_cannot_be_used_with_1_modifier:t(1243,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_1_modifier_1243","'{0}' modifier cannot be used with '{1}' modifier."),Abstract_methods_can_only_appear_within_an_abstract_class:t(1244,e.DiagnosticCategory.Error,"Abstract_methods_can_only_appear_within_an_abstract_class_1244","Abstract methods can only appear within an abstract class."),Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:t(1245,e.DiagnosticCategory.Error,"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245","Method '{0}' cannot have an implementation because it is marked abstract."),An_interface_property_cannot_have_an_initializer:t(1246,e.DiagnosticCategory.Error,"An_interface_property_cannot_have_an_initializer_1246","An interface property cannot have an initializer."),A_type_literal_property_cannot_have_an_initializer:t(1247,e.DiagnosticCategory.Error,"A_type_literal_property_cannot_have_an_initializer_1247","A type literal property cannot have an initializer."),A_class_member_cannot_have_the_0_keyword:t(1248,e.DiagnosticCategory.Error,"A_class_member_cannot_have_the_0_keyword_1248","A class member cannot have the '{0}' keyword."),A_decorator_can_only_decorate_a_method_implementation_not_an_overload:t(1249,e.DiagnosticCategory.Error,"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249","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:t(1250,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250","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:t(1251,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251","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:t(1252,e.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252","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:t(1253,e.DiagnosticCategory.Error,"_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag_1253","'{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:t(1254,e.DiagnosticCategory.Error,"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_1254","A 'const' initializer in an ambient context must be a string or numeric literal."),with_statements_are_not_allowed_in_an_async_function_block:t(1300,e.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_an_async_function_block_1300","'with' statements are not allowed in an async function block."),await_expression_is_only_allowed_within_an_async_function:t(1308,e.DiagnosticCategory.Error,"await_expression_is_only_allowed_within_an_async_function_1308","'await' expression is only allowed within an async function."),can_only_be_used_in_an_object_literal_property_inside_a_destructuring_assignment:t(1312,e.DiagnosticCategory.Error,"can_only_be_used_in_an_object_literal_property_inside_a_destructuring_assignment_1312","'=' can only be used in an object literal property inside a destructuring assignment."),The_body_of_an_if_statement_cannot_be_the_empty_statement:t(1313,e.DiagnosticCategory.Error,"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313","The body of an 'if' statement cannot be the empty statement."),Global_module_exports_may_only_appear_in_module_files:t(1314,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_module_files_1314","Global module exports may only appear in module files."),Global_module_exports_may_only_appear_in_declaration_files:t(1315,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_declaration_files_1315","Global module exports may only appear in declaration files."),Global_module_exports_may_only_appear_at_top_level:t(1316,e.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_at_top_level_1316","Global module exports may only appear at top level."),A_parameter_property_cannot_be_declared_using_a_rest_parameter:t(1317,e.DiagnosticCategory.Error,"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317","A parameter property cannot be declared using a rest parameter."),An_abstract_accessor_cannot_have_an_implementation:t(1318,e.DiagnosticCategory.Error,"An_abstract_accessor_cannot_have_an_implementation_1318","An abstract accessor cannot have an implementation."),A_default_export_can_only_be_used_in_an_ECMAScript_style_module:t(1319,e.DiagnosticCategory.Error,"A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319","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:t(1320,e.DiagnosticCategory.Error,"Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320","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:t(1321,e.DiagnosticCategory.Error,"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321","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:t(1322,e.DiagnosticCategory.Error,"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322","Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),Dynamic_import_cannot_be_used_when_targeting_ECMAScript_2015_modules:t(1323,e.DiagnosticCategory.Error,"Dynamic_import_cannot_be_used_when_targeting_ECMAScript_2015_modules_1323","Dynamic import cannot be used when targeting ECMAScript 2015 modules."),Dynamic_import_must_have_one_specifier_as_an_argument:t(1324,e.DiagnosticCategory.Error,"Dynamic_import_must_have_one_specifier_as_an_argument_1324","Dynamic import must have one specifier as an argument."),Specifier_of_dynamic_import_cannot_be_spread_element:t(1325,e.DiagnosticCategory.Error,"Specifier_of_dynamic_import_cannot_be_spread_element_1325","Specifier of dynamic import cannot be spread element."),Dynamic_import_cannot_have_type_arguments:t(1326,e.DiagnosticCategory.Error,"Dynamic_import_cannot_have_type_arguments_1326","Dynamic import cannot have type arguments"),String_literal_with_double_quotes_expected:t(1327,e.DiagnosticCategory.Error,"String_literal_with_double_quotes_expected_1327","String literal with double quotes expected."),Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal:t(1328,e.DiagnosticCategory.Error,"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328","Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal."),Duplicate_identifier_0:t(2300,e.DiagnosticCategory.Error,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:t(2301,e.DiagnosticCategory.Error,"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301","Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),Static_members_cannot_reference_class_type_parameters:t(2302,e.DiagnosticCategory.Error,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:t(2303,e.DiagnosticCategory.Error,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:t(2304,e.DiagnosticCategory.Error,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:t(2305,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:t(2306,e.DiagnosticCategory.Error,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0:t(2307,e.DiagnosticCategory.Error,"Cannot_find_module_0_2307","Cannot find module '{0}'."),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:t(2308,e.DiagnosticCategory.Error,"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308","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:t(2309,e.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309","An export assignment cannot be used in a module with other exported elements."),Type_0_recursively_references_itself_as_a_base_type:t(2310,e.DiagnosticCategory.Error,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),A_class_may_only_extend_another_class:t(2311,e.DiagnosticCategory.Error,"A_class_may_only_extend_another_class_2311","A class may only extend another class."),An_interface_may_only_extend_a_class_or_another_interface:t(2312,e.DiagnosticCategory.Error,"An_interface_may_only_extend_a_class_or_another_interface_2312","An interface may only extend a class or another interface."),Type_parameter_0_has_a_circular_constraint:t(2313,e.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_constraint_2313","Type parameter '{0}' has a circular constraint."),Generic_type_0_requires_1_type_argument_s:t(2314,e.DiagnosticCategory.Error,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:t(2315,e.DiagnosticCategory.Error,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:t(2316,e.DiagnosticCategory.Error,"Global_type_0_must_be_a_class_or_interface_type_2316","Global type '{0}' must be a class or interface type."),Global_type_0_must_have_1_type_parameter_s:t(2317,e.DiagnosticCategory.Error,"Global_type_0_must_have_1_type_parameter_s_2317","Global type '{0}' must have {1} type parameter(s)."),Cannot_find_global_type_0:t(2318,e.DiagnosticCategory.Error,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:t(2319,e.DiagnosticCategory.Error,"Named_property_0_of_types_1_and_2_are_not_identical_2319","Named property '{0}' of types '{1}' and '{2}' are not identical."),Interface_0_cannot_simultaneously_extend_types_1_and_2:t(2320,e.DiagnosticCategory.Error,"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320","Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'."),Excessive_stack_depth_comparing_types_0_and_1:t(2321,e.DiagnosticCategory.Error,"Excessive_stack_depth_comparing_types_0_and_1_2321","Excessive stack depth comparing types '{0}' and '{1}'."),Type_0_is_not_assignable_to_type_1:t(2322,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:t(2323,e.DiagnosticCategory.Error,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:t(2324,e.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_2324","Property '{0}' is missing in type '{1}'."),Property_0_is_private_in_type_1_but_not_in_type_2:t(2325,e.DiagnosticCategory.Error,"Property_0_is_private_in_type_1_but_not_in_type_2_2325","Property '{0}' is private in type '{1}' but not in type '{2}'."),Types_of_property_0_are_incompatible:t(2326,e.DiagnosticCategory.Error,"Types_of_property_0_are_incompatible_2326","Types of property '{0}' are incompatible."),Property_0_is_optional_in_type_1_but_required_in_type_2:t(2327,e.DiagnosticCategory.Error,"Property_0_is_optional_in_type_1_but_required_in_type_2_2327","Property '{0}' is optional in type '{1}' but required in type '{2}'."),Types_of_parameters_0_and_1_are_incompatible:t(2328,e.DiagnosticCategory.Error,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_is_missing_in_type_0:t(2329,e.DiagnosticCategory.Error,"Index_signature_is_missing_in_type_0_2329","Index signature is missing in type '{0}'."),Index_signatures_are_incompatible:t(2330,e.DiagnosticCategory.Error,"Index_signatures_are_incompatible_2330","Index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:t(2331,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_module_or_namespace_body_2331","'this' cannot be referenced in a module or namespace body."),this_cannot_be_referenced_in_current_location:t(2332,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:t(2333,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_constructor_arguments_2333","'this' cannot be referenced in constructor arguments."),this_cannot_be_referenced_in_a_static_property_initializer:t(2334,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_static_property_initializer_2334","'this' cannot be referenced in a static property initializer."),super_can_only_be_referenced_in_a_derived_class:t(2335,e.DiagnosticCategory.Error,"super_can_only_be_referenced_in_a_derived_class_2335","'super' can only be referenced in a derived class."),super_cannot_be_referenced_in_constructor_arguments:t(2336,e.DiagnosticCategory.Error,"super_cannot_be_referenced_in_constructor_arguments_2336","'super' cannot be referenced in constructor arguments."),Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:t(2337,e.DiagnosticCategory.Error,"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337","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:t(2338,e.DiagnosticCategory.Error,"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338","'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:t(2339,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_2339","Property '{0}' does not exist on type '{1}'."),Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:t(2340,e.DiagnosticCategory.Error,"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340","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:t(2341,e.DiagnosticCategory.Error,"Property_0_is_private_and_only_accessible_within_class_1_2341","Property '{0}' is private and only accessible within class '{1}'."),An_index_expression_argument_must_be_of_type_string_number_symbol_or_any:t(2342,e.DiagnosticCategory.Error,"An_index_expression_argument_must_be_of_type_string_number_symbol_or_any_2342","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:t(2343,e.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_named_1_but_module_0_has_no_exported_member_1_2343","This syntax requires an imported helper named '{1}', but module '{0}' has no exported member '{1}'."),Type_0_does_not_satisfy_the_constraint_1:t(2344,e.DiagnosticCategory.Error,"Type_0_does_not_satisfy_the_constraint_1_2344","Type '{0}' does not satisfy the constraint '{1}'."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:t(2345,e.DiagnosticCategory.Error,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345","Argument of type '{0}' is not assignable to parameter of type '{1}'."),Call_target_does_not_contain_any_signatures:t(2346,e.DiagnosticCategory.Error,"Call_target_does_not_contain_any_signatures_2346","Call target does not contain any signatures."),Untyped_function_calls_may_not_accept_type_arguments:t(2347,e.DiagnosticCategory.Error,"Untyped_function_calls_may_not_accept_type_arguments_2347","Untyped function calls may not accept type arguments."),Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:t(2348,e.DiagnosticCategory.Error,"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348","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:t(2349,e.DiagnosticCategory.Error,"Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatur_2349","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:t(2350,e.DiagnosticCategory.Error,"Only_a_void_function_can_be_called_with_the_new_keyword_2350","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:t(2351,e.DiagnosticCategory.Error,"Cannot_use_new_with_an_expression_whose_type_lacks_a_call_or_construct_signature_2351","Cannot use 'new' with an expression whose type lacks a call or construct signature."),Type_0_cannot_be_converted_to_type_1:t(2352,e.DiagnosticCategory.Error,"Type_0_cannot_be_converted_to_type_1_2352","Type '{0}' cannot be converted to type '{1}'."),Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:t(2353,e.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353","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:t(2354,e.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354","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:t(2355,e.DiagnosticCategory.Error,"A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value_2355","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:t(2356,e.DiagnosticCategory.Error,"An_arithmetic_operand_must_be_of_type_any_number_or_an_enum_type_2356","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:t(2357,e.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357","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:t(2358,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358","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:t(2359,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359","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:t(2360,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol_2360","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:t(2361,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_in_expression_must_be_of_type_any_an_object_type_or_a_type_parameter_2361","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:t(2362,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type_2362","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:t(2363,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_or_an_enum_type_2363","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:t(2364,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364","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:t(2365,e.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_types_1_and_2_2365","Operator '{0}' cannot be applied to types '{1}' and '{2}'."),Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:t(2366,e.DiagnosticCategory.Error,"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366","Function lacks ending return statement and return type does not include 'undefined'."),Type_parameter_name_cannot_be_0:t(2368,e.DiagnosticCategory.Error,"Type_parameter_name_cannot_be_0_2368","Type parameter name cannot be '{0}'."),A_parameter_property_is_only_allowed_in_a_constructor_implementation:t(2369,e.DiagnosticCategory.Error,"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369","A parameter property is only allowed in a constructor implementation."),A_rest_parameter_must_be_of_an_array_type:t(2370,e.DiagnosticCategory.Error,"A_rest_parameter_must_be_of_an_array_type_2370","A rest parameter must be of an array type."),A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:t(2371,e.DiagnosticCategory.Error,"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371","A parameter initializer is only allowed in a function or constructor implementation."),Parameter_0_cannot_be_referenced_in_its_initializer:t(2372,e.DiagnosticCategory.Error,"Parameter_0_cannot_be_referenced_in_its_initializer_2372","Parameter '{0}' cannot be referenced in its initializer."),Initializer_of_parameter_0_cannot_reference_identifier_1_declared_after_it:t(2373,e.DiagnosticCategory.Error,"Initializer_of_parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Initializer of parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_string_index_signature:t(2374,e.DiagnosticCategory.Error,"Duplicate_string_index_signature_2374","Duplicate string index signature."),Duplicate_number_index_signature:t(2375,e.DiagnosticCategory.Error,"Duplicate_number_index_signature_2375","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:t(2376,e.DiagnosticCategory.Error,"A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_proper_2376","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:t(2377,e.DiagnosticCategory.Error,"Constructors_for_derived_classes_must_contain_a_super_call_2377","Constructors for derived classes must contain a 'super' call."),A_get_accessor_must_return_a_value:t(2378,e.DiagnosticCategory.Error,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),Getter_and_setter_accessors_do_not_agree_in_visibility:t(2379,e.DiagnosticCategory.Error,"Getter_and_setter_accessors_do_not_agree_in_visibility_2379","Getter and setter accessors do not agree in visibility."),get_and_set_accessor_must_have_the_same_type:t(2380,e.DiagnosticCategory.Error,"get_and_set_accessor_must_have_the_same_type_2380","'get' and 'set' accessor must have the same type."),A_signature_with_an_implementation_cannot_use_a_string_literal_type:t(2381,e.DiagnosticCategory.Error,"A_signature_with_an_implementation_cannot_use_a_string_literal_type_2381","A signature with an implementation cannot use a string literal type."),Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature:t(2382,e.DiagnosticCategory.Error,"Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature_2382","Specialized overload signature is not assignable to any non-specialized signature."),Overload_signatures_must_all_be_exported_or_non_exported:t(2383,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_exported_or_non_exported_2383","Overload signatures must all be exported or non-exported."),Overload_signatures_must_all_be_ambient_or_non_ambient:t(2384,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_ambient_or_non_ambient_2384","Overload signatures must all be ambient or non-ambient."),Overload_signatures_must_all_be_public_private_or_protected:t(2385,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_public_private_or_protected_2385","Overload signatures must all be public, private or protected."),Overload_signatures_must_all_be_optional_or_required:t(2386,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:t(2387,e.DiagnosticCategory.Error,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:t(2388,e.DiagnosticCategory.Error,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:t(2389,e.DiagnosticCategory.Error,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:t(2390,e.DiagnosticCategory.Error,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:t(2391,e.DiagnosticCategory.Error,"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391","Function implementation is missing or not immediately following the declaration."),Multiple_constructor_implementations_are_not_allowed:t(2392,e.DiagnosticCategory.Error,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:t(2393,e.DiagnosticCategory.Error,"Duplicate_function_implementation_2393","Duplicate function implementation."),Overload_signature_is_not_compatible_with_function_implementation:t(2394,e.DiagnosticCategory.Error,"Overload_signature_is_not_compatible_with_function_implementation_2394","Overload signature is not compatible with function implementation."),Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:t(2395,e.DiagnosticCategory.Error,"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395","Individual declarations in merged declaration '{0}' must be all exported or all local."),Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:t(2396,e.DiagnosticCategory.Error,"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396","Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters."),Declaration_name_conflicts_with_built_in_global_identifier_0:t(2397,e.DiagnosticCategory.Error,"Declaration_name_conflicts_with_built_in_global_identifier_0_2397","Declaration name conflicts with built-in global identifier '{0}'."),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:t(2399,e.DiagnosticCategory.Error,"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399","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:t(2400,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400","Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."),Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference:t(2401,e.DiagnosticCategory.Error,"Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference_2401","Duplicate identifier '_super'. Compiler uses '_super' to capture base class reference."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:t(2402,e.DiagnosticCategory.Error,"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402","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:t(2403,e.DiagnosticCategory.Error,"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403","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:t(2404,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404","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:t(2405,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405","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:t(2406,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406","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:t(2407,e.DiagnosticCategory.Error,"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_2407","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:t(2408,e.DiagnosticCategory.Error,"Setters_cannot_return_a_value_2408","Setters cannot return a value."),Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:t(2409,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409","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:t(2410,e.DiagnosticCategory.Error,"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410","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:t(2411,e.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_string_index_type_2_2411","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:t(2412,e.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2_2412","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:t(2413,e.DiagnosticCategory.Error,"Numeric_index_type_0_is_not_assignable_to_string_index_type_1_2413","Numeric index type '{0}' is not assignable to string index type '{1}'."),Class_name_cannot_be_0:t(2414,e.DiagnosticCategory.Error,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:t(2415,e.DiagnosticCategory.Error,"Class_0_incorrectly_extends_base_class_1_2415","Class '{0}' incorrectly extends base class '{1}'."),Class_static_side_0_incorrectly_extends_base_class_static_side_1:t(2417,e.DiagnosticCategory.Error,"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417","Class static side '{0}' incorrectly extends base class static side '{1}'."),Class_0_incorrectly_implements_interface_1:t(2420,e.DiagnosticCategory.Error,"Class_0_incorrectly_implements_interface_1_2420","Class '{0}' incorrectly implements interface '{1}'."),A_class_may_only_implement_another_class_or_interface:t(2422,e.DiagnosticCategory.Error,"A_class_may_only_implement_another_class_or_interface_2422","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:t(2423,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423","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:t(2424,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_proper_2424","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:t(2425,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425","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:t(2426,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426","Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function."),Interface_name_cannot_be_0:t(2427,e.DiagnosticCategory.Error,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:t(2428,e.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_type_parameters_2428","All declarations of '{0}' must have identical type parameters."),Interface_0_incorrectly_extends_interface_1:t(2430,e.DiagnosticCategory.Error,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:t(2431,e.DiagnosticCategory.Error,"Enum_name_cannot_be_0_2431","Enum name cannot be '{0}'."),In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:t(2432,e.DiagnosticCategory.Error,"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432","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:t(2433,e.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433","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:t(2434,e.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434","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:t(2435,e.DiagnosticCategory.Error,"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435","Ambient modules cannot be nested in other modules or namespaces."),Ambient_module_declaration_cannot_specify_relative_module_name:t(2436,e.DiagnosticCategory.Error,"Ambient_module_declaration_cannot_specify_relative_module_name_2436","Ambient module declaration cannot specify relative module name."),Module_0_is_hidden_by_a_local_declaration_with_the_same_name:t(2437,e.DiagnosticCategory.Error,"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437","Module '{0}' is hidden by a local declaration with the same name."),Import_name_cannot_be_0:t(2438,e.DiagnosticCategory.Error,"Import_name_cannot_be_0_2438","Import name cannot be '{0}'."),Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:t(2439,e.DiagnosticCategory.Error,"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439","Import or export declaration in an ambient module declaration cannot reference module through relative module name."),Import_declaration_conflicts_with_local_declaration_of_0:t(2440,e.DiagnosticCategory.Error,"Import_declaration_conflicts_with_local_declaration_of_0_2440","Import declaration conflicts with local declaration of '{0}'."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:t(2441,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module."),Types_have_separate_declarations_of_a_private_property_0:t(2442,e.DiagnosticCategory.Error,"Types_have_separate_declarations_of_a_private_property_0_2442","Types have separate declarations of a private property '{0}'."),Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:t(2443,e.DiagnosticCategory.Error,"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443","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:t(2444,e.DiagnosticCategory.Error,"Property_0_is_protected_in_type_1_but_public_in_type_2_2444","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:t(2445,e.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445","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:t(2446,e.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_2446","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:t(2447,e.DiagnosticCategory.Error,"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447","The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead."),Block_scoped_variable_0_used_before_its_declaration:t(2448,e.DiagnosticCategory.Error,"Block_scoped_variable_0_used_before_its_declaration_2448","Block-scoped variable '{0}' used before its declaration."),Class_0_used_before_its_declaration:t(2449,e.DiagnosticCategory.Error,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:t(2450,e.DiagnosticCategory.Error,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:t(2451,e.DiagnosticCategory.Error,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:t(2452,e.DiagnosticCategory.Error,"An_enum_member_cannot_have_a_numeric_name_2452","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:t(2453,e.DiagnosticCategory.Error,"The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_typ_2453","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:t(2454,e.DiagnosticCategory.Error,"Variable_0_is_used_before_being_assigned_2454","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:t(2455,e.DiagnosticCategory.Error,"Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0_2455","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:t(2456,e.DiagnosticCategory.Error,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:t(2457,e.DiagnosticCategory.Error,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:t(2458,e.DiagnosticCategory.Error,"An_AMD_module_cannot_have_multiple_name_assignments_2458","An AMD module cannot have multiple name assignments."),Type_0_has_no_property_1_and_no_string_index_signature:t(2459,e.DiagnosticCategory.Error,"Type_0_has_no_property_1_and_no_string_index_signature_2459","Type '{0}' has no property '{1}' and no string index signature."),Type_0_has_no_property_1:t(2460,e.DiagnosticCategory.Error,"Type_0_has_no_property_1_2460","Type '{0}' has no property '{1}'."),Type_0_is_not_an_array_type:t(2461,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_2461","Type '{0}' is not an array type."),A_rest_element_must_be_last_in_a_destructuring_pattern:t(2462,e.DiagnosticCategory.Error,"A_rest_element_must_be_last_in_a_destructuring_pattern_2462","A rest element must be last in a destructuring pattern."),A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:t(2463,e.DiagnosticCategory.Error,"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463","A binding pattern parameter cannot be optional in an implementation signature."),A_computed_property_name_must_be_of_type_string_number_symbol_or_any:t(2464,e.DiagnosticCategory.Error,"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464","A computed property name must be of type 'string', 'number', 'symbol', or 'any'."),this_cannot_be_referenced_in_a_computed_property_name:t(2465,e.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_computed_property_name_2465","'this' cannot be referenced in a computed property name."),super_cannot_be_referenced_in_a_computed_property_name:t(2466,e.DiagnosticCategory.Error,"super_cannot_be_referenced_in_a_computed_property_name_2466","'super' cannot be referenced in a computed property name."),A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:t(2467,e.DiagnosticCategory.Error,"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467","A computed property name cannot reference a type parameter from its containing type."),Cannot_find_global_value_0:t(2468,e.DiagnosticCategory.Error,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:t(2469,e.DiagnosticCategory.Error,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object:t(2470,e.DiagnosticCategory.Error,"Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object_2470","'Symbol' reference does not refer to the global Symbol constructor object."),A_computed_property_name_of_the_form_0_must_be_of_type_symbol:t(2471,e.DiagnosticCategory.Error,"A_computed_property_name_of_the_form_0_must_be_of_type_symbol_2471","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:t(2472,e.DiagnosticCategory.Error,"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472","Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher."),Enum_declarations_must_all_be_const_or_non_const:t(2473,e.DiagnosticCategory.Error,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),In_const_enum_declarations_member_initializer_must_be_constant_expression:t(2474,e.DiagnosticCategory.Error,"In_const_enum_declarations_member_initializer_must_be_constant_expression_2474","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:t(2475,e.DiagnosticCategory.Error,"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475","'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:t(2476,e.DiagnosticCategory.Error,"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476","A const enum member can only be accessed using a string literal."),const_enum_member_initializer_was_evaluated_to_a_non_finite_value:t(2477,e.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477","'const' enum member initializer was evaluated to a non-finite value."),const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:t(2478,e.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478","'const' enum member initializer was evaluated to disallowed value 'NaN'."),Property_0_does_not_exist_on_const_enum_1:t(2479,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_const_enum_1_2479","Property '{0}' does not exist on 'const' enum '{1}'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:t(2480,e.DiagnosticCategory.Error,"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480","'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:t(2481,e.DiagnosticCategory.Error,"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481","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:t(2483,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483","The left-hand side of a 'for...of' statement cannot use a type annotation."),Export_declaration_conflicts_with_exported_declaration_of_0:t(2484,e.DiagnosticCategory.Error,"Export_declaration_conflicts_with_exported_declaration_of_0_2484","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:t(2487,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487","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:t(2488,e.DiagnosticCategory.Error,"Type_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488","Type must have a '[Symbol.iterator]()' method that returns an iterator."),An_iterator_must_have_a_next_method:t(2489,e.DiagnosticCategory.Error,"An_iterator_must_have_a_next_method_2489","An iterator must have a 'next()' method."),The_type_returned_by_the_next_method_of_an_iterator_must_have_a_value_property:t(2490,e.DiagnosticCategory.Error,"The_type_returned_by_the_next_method_of_an_iterator_must_have_a_value_property_2490","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:t(2491,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491","The left-hand side of a 'for...in' statement cannot be a destructuring pattern."),Cannot_redeclare_identifier_0_in_catch_clause:t(2492,e.DiagnosticCategory.Error,"Cannot_redeclare_identifier_0_in_catch_clause_2492","Cannot redeclare identifier '{0}' in catch clause."),Tuple_type_0_with_length_1_cannot_be_assigned_to_tuple_with_length_2:t(2493,e.DiagnosticCategory.Error,"Tuple_type_0_with_length_1_cannot_be_assigned_to_tuple_with_length_2_2493","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:t(2494,e.DiagnosticCategory.Error,"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494","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:t(2495,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_2495","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:t(2496,e.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496","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:t(2497,e.DiagnosticCategory.Error,"Module_0_resolves_to_a_non_module_entity_and_cannot_be_imported_using_this_construct_2497","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:t(2498,e.DiagnosticCategory.Error,"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498","Module '{0}' uses 'export =' and cannot be used with 'export *'."),An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:t(2499,e.DiagnosticCategory.Error,"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499","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:t(2500,e.DiagnosticCategory.Error,"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500","A class can only implement an identifier/qualified-name with optional type arguments."),A_rest_element_cannot_contain_a_binding_pattern:t(2501,e.DiagnosticCategory.Error,"A_rest_element_cannot_contain_a_binding_pattern_2501","A rest element cannot contain a binding pattern."),_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:t(2502,e.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502","'{0}' is referenced directly or indirectly in its own type annotation."),Cannot_find_namespace_0:t(2503,e.DiagnosticCategory.Error,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:t(2504,e.DiagnosticCategory.Error,"Type_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504","Type must have a '[Symbol.asyncIterator]()' method that returns an async iterator."),A_generator_cannot_have_a_void_type_annotation:t(2505,e.DiagnosticCategory.Error,"A_generator_cannot_have_a_void_type_annotation_2505","A generator cannot have a 'void' type annotation."),_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:t(2506,e.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506","'{0}' is referenced directly or indirectly in its own base expression."),Type_0_is_not_a_constructor_function_type:t(2507,e.DiagnosticCategory.Error,"Type_0_is_not_a_constructor_function_type_2507","Type '{0}' is not a constructor function type."),No_base_constructor_has_the_specified_number_of_type_arguments:t(2508,e.DiagnosticCategory.Error,"No_base_constructor_has_the_specified_number_of_type_arguments_2508","No base constructor has the specified number of type arguments."),Base_constructor_return_type_0_is_not_a_class_or_interface_type:t(2509,e.DiagnosticCategory.Error,"Base_constructor_return_type_0_is_not_a_class_or_interface_type_2509","Base constructor return type '{0}' is not a class or interface type."),Base_constructors_must_all_have_the_same_return_type:t(2510,e.DiagnosticCategory.Error,"Base_constructors_must_all_have_the_same_return_type_2510","Base constructors must all have the same return type."),Cannot_create_an_instance_of_the_abstract_class_0:t(2511,e.DiagnosticCategory.Error,"Cannot_create_an_instance_of_the_abstract_class_0_2511","Cannot create an instance of the abstract class '{0}'."),Overload_signatures_must_all_be_abstract_or_non_abstract:t(2512,e.DiagnosticCategory.Error,"Overload_signatures_must_all_be_abstract_or_non_abstract_2512","Overload signatures must all be abstract or non-abstract."),Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:t(2513,e.DiagnosticCategory.Error,"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513","Abstract method '{0}' in class '{1}' cannot be accessed via super expression."),Classes_containing_abstract_methods_must_be_marked_abstract:t(2514,e.DiagnosticCategory.Error,"Classes_containing_abstract_methods_must_be_marked_abstract_2514","Classes containing abstract methods must be marked abstract."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:t(2515,e.DiagnosticCategory.Error,"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515","Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'."),All_declarations_of_an_abstract_method_must_be_consecutive:t(2516,e.DiagnosticCategory.Error,"All_declarations_of_an_abstract_method_must_be_consecutive_2516","All declarations of an abstract method must be consecutive."),Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:t(2517,e.DiagnosticCategory.Error,"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517","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:t(2518,e.DiagnosticCategory.Error,"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518","A 'this'-based type guard is not compatible with a parameter-based type guard."),An_async_iterator_must_have_a_next_method:t(2519,e.DiagnosticCategory.Error,"An_async_iterator_must_have_a_next_method_2519","An async iterator must have a 'next()' method."),Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:t(2520,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520","Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."),Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions:t(2521,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions_2521","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:t(2522,e.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522","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:t(2523,e.DiagnosticCategory.Error,"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523","'yield' expressions cannot be used in a parameter initializer."),await_expressions_cannot_be_used_in_a_parameter_initializer:t(2524,e.DiagnosticCategory.Error,"await_expressions_cannot_be_used_in_a_parameter_initializer_2524","'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:t(2525,e.DiagnosticCategory.Error,"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525","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:t(2526,e.DiagnosticCategory.Error,"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526","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:t(2527,e.DiagnosticCategory.Error,"The_inferred_type_of_0_references_an_inaccessible_this_type_A_type_annotation_is_necessary_2527","The inferred type of '{0}' references an inaccessible 'this' type. A type annotation is necessary."),A_module_cannot_have_multiple_default_exports:t(2528,e.DiagnosticCategory.Error,"A_module_cannot_have_multiple_default_exports_2528","A module cannot have multiple default exports."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:t(2529,e.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions."),Property_0_is_incompatible_with_index_signature:t(2530,e.DiagnosticCategory.Error,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:t(2531,e.DiagnosticCategory.Error,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:t(2532,e.DiagnosticCategory.Error,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:t(2533,e.DiagnosticCategory.Error,"Object_is_possibly_null_or_undefined_2533","Object is possibly 'null' or 'undefined'."),A_function_returning_never_cannot_have_a_reachable_end_point:t(2534,e.DiagnosticCategory.Error,"A_function_returning_never_cannot_have_a_reachable_end_point_2534","A function returning 'never' cannot have a reachable end point."),Enum_type_0_has_members_with_initializers_that_are_not_literals:t(2535,e.DiagnosticCategory.Error,"Enum_type_0_has_members_with_initializers_that_are_not_literals_2535","Enum type '{0}' has members with initializers that are not literals."),Type_0_cannot_be_used_to_index_type_1:t(2536,e.DiagnosticCategory.Error,"Type_0_cannot_be_used_to_index_type_1_2536","Type '{0}' cannot be used to index type '{1}'."),Type_0_has_no_matching_index_signature_for_type_1:t(2537,e.DiagnosticCategory.Error,"Type_0_has_no_matching_index_signature_for_type_1_2537","Type '{0}' has no matching index signature for type '{1}'."),Type_0_cannot_be_used_as_an_index_type:t(2538,e.DiagnosticCategory.Error,"Type_0_cannot_be_used_as_an_index_type_2538","Type '{0}' cannot be used as an index type."),Cannot_assign_to_0_because_it_is_not_a_variable:t(2539,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_not_a_variable_2539","Cannot assign to '{0}' because it is not a variable."),Cannot_assign_to_0_because_it_is_a_constant_or_a_read_only_property:t(2540,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_constant_or_a_read_only_property_2540","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:t(2541,e.DiagnosticCategory.Error,"The_target_of_an_assignment_must_be_a_variable_or_a_property_access_2541","The target of an assignment must be a variable or a property access."),Index_signature_in_type_0_only_permits_reading:t(2542,e.DiagnosticCategory.Error,"Index_signature_in_type_0_only_permits_reading_2542","Index signature in type '{0}' only permits reading."),Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference:t(2543,e.DiagnosticCategory.Error,"Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543","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:t(2544,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544","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:t(2545,e.DiagnosticCategory.Error,"A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545","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:t(2546,e.DiagnosticCategory.Error,"Property_0_has_conflicting_declarations_and_is_inaccessible_in_type_1_2546","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:t(2547,e.DiagnosticCategory.Error,"The_type_returned_by_the_next_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value__2547","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:t(2548,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548","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:t(2549,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549","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:t(2550,e.DiagnosticCategory.Error,"Generic_type_instantiation_is_excessively_deep_and_possibly_infinite_2550","Generic type instantiation is excessively deep and possibly infinite."),Property_0_does_not_exist_on_type_1_Did_you_mean_2:t(2551,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551","Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?"),Cannot_find_name_0_Did_you_mean_1:t(2552,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_1_2552","Cannot find name '{0}'. Did you mean '{1}'?"),Computed_values_are_not_permitted_in_an_enum_with_string_valued_members:t(2553,e.DiagnosticCategory.Error,"Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553","Computed values are not permitted in an enum with string valued members."),Expected_0_arguments_but_got_1:t(2554,e.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:t(2555,e.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),Expected_0_arguments_but_got_a_minimum_of_1:t(2556,e.DiagnosticCategory.Error,"Expected_0_arguments_but_got_a_minimum_of_1_2556","Expected {0} arguments, but got a minimum of {1}."),Expected_at_least_0_arguments_but_got_a_minimum_of_1:t(2557,e.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_a_minimum_of_1_2557","Expected at least {0} arguments, but got a minimum of {1}."),Expected_0_type_arguments_but_got_1:t(2558,e.DiagnosticCategory.Error,"Expected_0_type_arguments_but_got_1_2558","Expected {0} type arguments, but got {1}."),Type_0_has_no_properties_in_common_with_type_1:t(2559,e.DiagnosticCategory.Error,"Type_0_has_no_properties_in_common_with_type_1_2559","Type '{0}' has no properties in common with type '{1}'."),Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it:t(2560,e.DiagnosticCategory.Error,"Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it_2560","Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?"),JSX_element_attributes_type_0_may_not_be_a_union_type:t(2600,e.DiagnosticCategory.Error,"JSX_element_attributes_type_0_may_not_be_a_union_type_2600","JSX element attributes type '{0}' may not be a union type."),The_return_type_of_a_JSX_element_constructor_must_return_an_object_type:t(2601,e.DiagnosticCategory.Error,"The_return_type_of_a_JSX_element_constructor_must_return_an_object_type_2601","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:t(2602,e.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602","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:t(2603,e.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_type_2_2603","Property '{0}' in type '{1}' is not assignable to type '{2}'."),JSX_element_type_0_does_not_have_any_construct_or_call_signatures:t(2604,e.DiagnosticCategory.Error,"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604","JSX element type '{0}' does not have any construct or call signatures."),JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements:t(2605,e.DiagnosticCategory.Error,"JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements_2605","JSX element type '{0}' is not a constructor function for JSX elements."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:t(2606,e.DiagnosticCategory.Error,"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606","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:t(2607,e.DiagnosticCategory.Error,"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607","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:t(2608,e.DiagnosticCategory.Error,"The_global_type_JSX_0_may_not_have_more_than_one_property_2608","The global type 'JSX.{0}' may not have more than one property."),JSX_spread_child_must_be_an_array_type:t(2609,e.DiagnosticCategory.Error,"JSX_spread_child_must_be_an_array_type_2609","JSX spread child must be an array type."),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:t(2649,e.DiagnosticCategory.Error,"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649","Cannot augment module '{0}' with value exports because it resolves to a non-module entity."),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:t(2651,e.DiagnosticCategory.Error,"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651","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:t(2652,e.DiagnosticCategory.Error,"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652","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:t(2653,e.DiagnosticCategory.Error,"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653","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:t(2654,e.DiagnosticCategory.Error,"Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_pack_2654","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:t(2656,e.DiagnosticCategory.Error,"Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_2656","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:t(2657,e.DiagnosticCategory.Error,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),Type_0_provides_no_match_for_the_signature_1:t(2658,e.DiagnosticCategory.Error,"Type_0_provides_no_match_for_the_signature_1_2658","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:t(2659,e.DiagnosticCategory.Error,"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659","'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:t(2660,e.DiagnosticCategory.Error,"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660","'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:t(2661,e.DiagnosticCategory.Error,"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661","Cannot export '{0}'. Only local declarations can be exported from a module."),Cannot_find_name_0_Did_you_mean_the_static_member_1_0:t(2662,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662","Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?"),Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:t(2663,e.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663","Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?"),Invalid_module_name_in_augmentation_module_0_cannot_be_found:t(2664,e.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664","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:t(2665,e.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665","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:t(2666,e.DiagnosticCategory.Error,"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666","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:t(2667,e.DiagnosticCategory.Error,"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667","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:t(2668,e.DiagnosticCategory.Error,"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668","'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:t(2669,e.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669","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:t(2670,e.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670","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:t(2671,e.DiagnosticCategory.Error,"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671","Cannot augment module '{0}' because it resolves to a non-module entity."),Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:t(2672,e.DiagnosticCategory.Error,"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672","Cannot assign a '{0}' constructor type to a '{1}' constructor type."),Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:t(2673,e.DiagnosticCategory.Error,"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673","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:t(2674,e.DiagnosticCategory.Error,"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674","Constructor of class '{0}' is protected and only accessible within the class declaration."),Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:t(2675,e.DiagnosticCategory.Error,"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675","Cannot extend a class '{0}'. Class constructor is marked as private."),Accessors_must_both_be_abstract_or_non_abstract:t(2676,e.DiagnosticCategory.Error,"Accessors_must_both_be_abstract_or_non_abstract_2676","Accessors must both be abstract or non-abstract."),A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:t(2677,e.DiagnosticCategory.Error,"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677","A type predicate's type must be assignable to its parameter's type."),Type_0_is_not_comparable_to_type_1:t(2678,e.DiagnosticCategory.Error,"Type_0_is_not_comparable_to_type_1_2678","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:t(2679,e.DiagnosticCategory.Error,"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679","A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'."),A_0_parameter_must_be_the_first_parameter:t(2680,e.DiagnosticCategory.Error,"A_0_parameter_must_be_the_first_parameter_2680","A '{0}' parameter must be the first parameter."),A_constructor_cannot_have_a_this_parameter:t(2681,e.DiagnosticCategory.Error,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),get_and_set_accessor_must_have_the_same_this_type:t(2682,e.DiagnosticCategory.Error,"get_and_set_accessor_must_have_the_same_this_type_2682","'get' and 'set' accessor must have the same 'this' type."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:t(2683,e.DiagnosticCategory.Error,"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683","'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:t(2684,e.DiagnosticCategory.Error,"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684","The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'."),The_this_types_of_each_signature_are_incompatible:t(2685,e.DiagnosticCategory.Error,"The_this_types_of_each_signature_are_incompatible_2685","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:t(2686,e.DiagnosticCategory.Error,"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686","'{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:t(2687,e.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_modifiers_2687","All declarations of '{0}' must have identical modifiers."),Cannot_find_type_definition_file_for_0:t(2688,e.DiagnosticCategory.Error,"Cannot_find_type_definition_file_for_0_2688","Cannot find type definition file for '{0}'."),Cannot_extend_an_interface_0_Did_you_mean_implements:t(2689,e.DiagnosticCategory.Error,"Cannot_extend_an_interface_0_Did_you_mean_implements_2689","Cannot extend an interface '{0}'. Did you mean 'implements'?"),An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead:t(2691,e.DiagnosticCategory.Error,"An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead_2691","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:t(2692,e.DiagnosticCategory.Error,"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692","'{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:t(2693,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693","'{0}' only refers to a type, but is being used as a value here."),Namespace_0_has_no_exported_member_1:t(2694,e.DiagnosticCategory.Error,"Namespace_0_has_no_exported_member_1_2694","Namespace '{0}' has no exported member '{1}'."),Left_side_of_comma_operator_is_unused_and_has_no_side_effects:t(2695,e.DiagnosticCategory.Error,"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695","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:t(2696,e.DiagnosticCategory.Error,"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696","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:t(2697,e.DiagnosticCategory.Error,"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697","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:t(2698,e.DiagnosticCategory.Error,"Spread_types_may_only_be_created_from_object_types_2698","Spread types may only be created from object types."),Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1:t(2699,e.DiagnosticCategory.Error,"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699","Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'."),Rest_types_may_only_be_created_from_object_types:t(2700,e.DiagnosticCategory.Error,"Rest_types_may_only_be_created_from_object_types_2700","Rest types may only be created from object types."),The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:t(2701,e.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701","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:t(2702,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702","'{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:t(2703,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_a_property_reference_2703","The operand of a delete operator must be a property reference."),The_operand_of_a_delete_operator_cannot_be_a_read_only_property:t(2704,e.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704","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:t(2705,e.DiagnosticCategory.Error,"An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_de_2705","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:t(2706,e.DiagnosticCategory.Error,"Required_type_parameters_may_not_follow_optional_type_parameters_2706","Required type parameters may not follow optional type parameters."),Generic_type_0_requires_between_1_and_2_type_arguments:t(2707,e.DiagnosticCategory.Error,"Generic_type_0_requires_between_1_and_2_type_arguments_2707","Generic type '{0}' requires between {1} and {2} type arguments."),Cannot_use_namespace_0_as_a_value:t(2708,e.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:t(2709,e.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_type_2709","Cannot use namespace '{0}' as a type."),_0_are_specified_twice_The_attribute_named_0_will_be_overwritten:t(2710,e.DiagnosticCategory.Error,"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710","'{0}' are specified twice. The attribute named '{0}' will be overwritten."),A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:t(2711,e.DiagnosticCategory.Error,"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711","A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your `--lib` option."),A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:t(2712,e.DiagnosticCategory.Error,"A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declarat_2712","A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your `--lib` option."),Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1:t(2713,e.DiagnosticCategory.Error,"Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713","Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}[\"{1}\"]'?"),Import_declaration_0_is_using_private_name_1:t(4e3,e.DiagnosticCategory.Error,"Import_declaration_0_is_using_private_name_1_4000","Import declaration '{0}' is using private name '{1}'."),Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:t(4002,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002","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:t(4004,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004","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:t(4006,e.DiagnosticCategory.Error,"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006","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:t(4008,e.DiagnosticCategory.Error,"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008","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:t(4010,e.DiagnosticCategory.Error,"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010","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:t(4012,e.DiagnosticCategory.Error,"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012","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:t(4014,e.DiagnosticCategory.Error,"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014","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:t(4016,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016","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:t(4019,e.DiagnosticCategory.Error,"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019","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:t(4020,e.DiagnosticCategory.Error,"extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020","'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:t(4022,e.DiagnosticCategory.Error,"extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022","'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:t(4023,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023","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:t(4024,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024","Exported variable '{0}' has or is using name '{1}' from private module '{2}'."),Exported_variable_0_has_or_is_using_private_name_1:t(4025,e.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_private_name_1_4025","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:t(4026,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026","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:t(4027,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027","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:t(4028,e.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028","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:t(4029,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029","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:t(4030,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030","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:t(4031,e.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031","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:t(4032,e.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032","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:t(4033,e.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033","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:t(4034,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_property_setter_from_exported_class_has_or_is_using_name_1_from_private_4034","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:t(4035,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_property_setter_from_exported_class_has_or_is_using_private_name_1_4035","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:t(4036,e.DiagnosticCategory.Error,"Parameter_0_of_public_property_setter_from_exported_class_has_or_is_using_name_1_from_private_module_4036","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:t(4037,e.DiagnosticCategory.Error,"Parameter_0_of_public_property_setter_from_exported_class_has_or_is_using_private_name_1_4037","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:t(4038,e.DiagnosticCategory.Error,"Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_name_0_from_externa_4038","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:t(4039,e.DiagnosticCategory.Error,"Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_name_0_from_private_4039","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:t(4040,e.DiagnosticCategory.Error,"Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_private_name_0_4040","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:t(4041,e.DiagnosticCategory.Error,"Return_type_of_public_property_getter_from_exported_class_has_or_is_using_name_0_from_external_modul_4041","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:t(4042,e.DiagnosticCategory.Error,"Return_type_of_public_property_getter_from_exported_class_has_or_is_using_name_0_from_private_module_4042","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:t(4043,e.DiagnosticCategory.Error,"Return_type_of_public_property_getter_from_exported_class_has_or_is_using_private_name_0_4043","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:t(4044,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044","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:t(4045,e.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045","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:t(4046,e.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046","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:t(4047,e.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047","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:t(4048,e.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048","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:t(4049,e.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049","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:t(4050,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050","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:t(4051,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051","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:t(4052,e.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052","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:t(4053,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053","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:t(4054,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054","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:t(4055,e.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055","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:t(4056,e.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056","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:t(4057,e.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057","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:t(4058,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058","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:t(4059,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059","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:t(4060,e.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_private_name_0_4060","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:t(4061,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061","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:t(4062,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062","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:t(4063,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063","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:t(4064,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064","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:t(4065,e.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065","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:t(4066,e.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066","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:t(4067,e.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067","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:t(4068,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068","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:t(4069,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069","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:t(4070,e.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070","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:t(4071,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071","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:t(4072,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072","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:t(4073,e.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073","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:t(4074,e.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074","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:t(4075,e.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075","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:t(4076,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076","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:t(4077,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077","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:t(4078,e.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078","Parameter '{0}' of exported function has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1:t(4081,e.DiagnosticCategory.Error,"Exported_type_alias_0_has_or_is_using_private_name_1_4081","Exported type alias '{0}' has or is using private name '{1}'."),Default_export_of_the_module_has_or_is_using_private_name_0:t(4082,e.DiagnosticCategory.Error,"Default_export_of_the_module_has_or_is_using_private_name_0_4082","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:t(4083,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083","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:t(4090,e.DiagnosticCategory.Message,"Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_librar_4090","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:t(4091,e.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091","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:t(4092,e.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092","Parameter '{0}' of index signature from exported interface has or is using private name '{1}'."),Property_0_of_exported_class_expression_may_not_be_private_or_protected:t(4094,e.DiagnosticCategory.Error,"Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094","Property '{0}' of exported class expression may not be private or protected."),The_current_host_does_not_support_the_0_option:t(5001,e.DiagnosticCategory.Error,"The_current_host_does_not_support_the_0_option_5001","The current host does not support the '{0}' option."),Cannot_find_the_common_subdirectory_path_for_the_input_files:t(5009,e.DiagnosticCategory.Error,"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009","Cannot find the common subdirectory path for the input files."),File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:t(5010,e.DiagnosticCategory.Error,"File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010","File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),File_specification_cannot_contain_multiple_recursive_directory_wildcards_Asterisk_Asterisk_Colon_0:t(5011,e.DiagnosticCategory.Error,"File_specification_cannot_contain_multiple_recursive_directory_wildcards_Asterisk_Asterisk_Colon_0_5011","File specification cannot contain multiple recursive directory wildcards ('**'): '{0}'."),Cannot_read_file_0_Colon_1:t(5012,e.DiagnosticCategory.Error,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:t(5014,e.DiagnosticCategory.Error,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:t(5023,e.DiagnosticCategory.Error,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:t(5024,e.DiagnosticCategory.Error,"Compiler_option_0_requires_a_value_of_type_1_5024","Compiler option '{0}' requires a value of type {1}."),Could_not_write_file_0_Colon_1:t(5033,e.DiagnosticCategory.Error,"Could_not_write_file_0_Colon_1_5033","Could not write file '{0}': {1}."),Option_project_cannot_be_mixed_with_source_files_on_a_command_line:t(5042,e.DiagnosticCategory.Error,"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042","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:t(5047,e.DiagnosticCategory.Error,"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047","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:t(5051,e.DiagnosticCategory.Error,"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051","Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."),Option_0_cannot_be_specified_without_specifying_option_1:t(5052,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_5052","Option '{0}' cannot be specified without specifying option '{1}'."),Option_0_cannot_be_specified_with_option_1:t(5053,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_with_option_1_5053","Option '{0}' cannot be specified with option '{1}'."),A_tsconfig_json_file_is_already_defined_at_Colon_0:t(5054,e.DiagnosticCategory.Error,"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054","A 'tsconfig.json' file is already defined at: '{0}'."),Cannot_write_file_0_because_it_would_overwrite_input_file:t(5055,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_overwrite_input_file_5055","Cannot write file '{0}' because it would overwrite input file."),Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files:t(5056,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056","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:t(5057,e.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057","Cannot find a tsconfig.json file at the specified directory: '{0}'."),The_specified_path_does_not_exist_Colon_0:t(5058,e.DiagnosticCategory.Error,"The_specified_path_does_not_exist_Colon_0_5058","The specified path does not exist: '{0}'."),Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:t(5059,e.DiagnosticCategory.Error,"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059","Invalid value for '--reactNamespace'. '{0}' is not a valid identifier."),Option_paths_cannot_be_used_without_specifying_baseUrl_option:t(5060,e.DiagnosticCategory.Error,"Option_paths_cannot_be_used_without_specifying_baseUrl_option_5060","Option 'paths' cannot be used without specifying '--baseUrl' option."),Pattern_0_can_have_at_most_one_Asterisk_character:t(5061,e.DiagnosticCategory.Error,"Pattern_0_can_have_at_most_one_Asterisk_character_5061","Pattern '{0}' can have at most one '*' character."),Substitution_0_in_pattern_1_in_can_have_at_most_one_Asterisk_character:t(5062,e.DiagnosticCategory.Error,"Substitution_0_in_pattern_1_in_can_have_at_most_one_Asterisk_character_5062","Substitution '{0}' in pattern '{1}' in can have at most one '*' character."),Substitutions_for_pattern_0_should_be_an_array:t(5063,e.DiagnosticCategory.Error,"Substitutions_for_pattern_0_should_be_an_array_5063","Substitutions for pattern '{0}' should be an array."),Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:t(5064,e.DiagnosticCategory.Error,"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064","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:t(5065,e.DiagnosticCategory.Error,"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065","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:t(5066,e.DiagnosticCategory.Error,"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066","Substitutions for pattern '{0}' shouldn't be an empty array."),Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:t(5067,e.DiagnosticCategory.Error,"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067","Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name."),Concatenate_and_emit_output_to_single_file:t(6001,e.DiagnosticCategory.Message,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:t(6002,e.DiagnosticCategory.Message,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:t(6003,e.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6003","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:t(6004,e.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004","Specify the location where debugger should locate TypeScript files instead of source locations."),Watch_input_files:t(6005,e.DiagnosticCategory.Message,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:t(6006,e.DiagnosticCategory.Message,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:t(6007,e.DiagnosticCategory.Message,"Do_not_erase_const_enum_declarations_in_generated_code_6007","Do not erase const enum declarations in generated code."),Do_not_emit_outputs_if_any_errors_were_reported:t(6008,e.DiagnosticCategory.Message,"Do_not_emit_outputs_if_any_errors_were_reported_6008","Do not emit outputs if any errors were reported."),Do_not_emit_comments_to_output:t(6009,e.DiagnosticCategory.Message,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:t(6010,e.DiagnosticCategory.Message,"Do_not_emit_outputs_6010","Do not emit outputs."),Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:t(6011,e.DiagnosticCategory.Message,"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011","Allow default imports from modules with no default export. This does not affect code emit, just typechecking."),Skip_type_checking_of_declaration_files:t(6012,e.DiagnosticCategory.Message,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:t(6013,e.DiagnosticCategory.Message,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_or_ESNEXT:t(6015,e.DiagnosticCategory.Message,"Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_or_ESNEXT_6015","Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'."),Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_or_ESNext:t(6016,e.DiagnosticCategory.Message,"Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_or_ESNext_6016","Specify module code generation: 'none', commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'."),Print_this_message:t(6017,e.DiagnosticCategory.Message,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:t(6019,e.DiagnosticCategory.Message,"Print_the_compiler_s_version_6019","Print the compiler's version."),Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json:t(6020,e.DiagnosticCategory.Message,"Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020","Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'."),Syntax_Colon_0:t(6023,e.DiagnosticCategory.Message,"Syntax_Colon_0_6023","Syntax: {0}"),options:t(6024,e.DiagnosticCategory.Message,"options_6024","options"),file:t(6025,e.DiagnosticCategory.Message,"file_6025","file"),Examples_Colon_0:t(6026,e.DiagnosticCategory.Message,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:t(6027,e.DiagnosticCategory.Message,"Options_Colon_6027","Options:"),Version_0:t(6029,e.DiagnosticCategory.Message,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:t(6030,e.DiagnosticCategory.Message,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),File_change_detected_Starting_incremental_compilation:t(6032,e.DiagnosticCategory.Message,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:t(6034,e.DiagnosticCategory.Message,"KIND_6034","KIND"),FILE:t(6035,e.DiagnosticCategory.Message,"FILE_6035","FILE"),VERSION:t(6036,e.DiagnosticCategory.Message,"VERSION_6036","VERSION"),LOCATION:t(6037,e.DiagnosticCategory.Message,"LOCATION_6037","LOCATION"),DIRECTORY:t(6038,e.DiagnosticCategory.Message,"DIRECTORY_6038","DIRECTORY"),STRATEGY:t(6039,e.DiagnosticCategory.Message,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:t(6040,e.DiagnosticCategory.Message,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Compilation_complete_Watching_for_file_changes:t(6042,e.DiagnosticCategory.Message,"Compilation_complete_Watching_for_file_changes_6042","Compilation complete. Watching for file changes."),Generates_corresponding_map_file:t(6043,e.DiagnosticCategory.Message,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:t(6044,e.DiagnosticCategory.Error,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:t(6045,e.DiagnosticCategory.Error,"Unterminated_quoted_string_in_response_file_0_6045","Unterminated quoted string in response file '{0}'."),Argument_for_0_option_must_be_Colon_1:t(6046,e.DiagnosticCategory.Error,"Argument_for_0_option_must_be_Colon_1_6046","Argument for '{0}' option must be: {1}."),Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:t(6048,e.DiagnosticCategory.Error,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form or -. For example '{0}' or '{1}'."),Unsupported_locale_0:t(6049,e.DiagnosticCategory.Error,"Unsupported_locale_0_6049","Unsupported locale '{0}'."),Unable_to_open_file_0:t(6050,e.DiagnosticCategory.Error,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:t(6051,e.DiagnosticCategory.Error,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:t(6052,e.DiagnosticCategory.Message,"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052","Raise error on expressions and declarations with an implied 'any' type."),File_0_not_found:t(6053,e.DiagnosticCategory.Error,"File_0_not_found_6053","File '{0}' not found."),File_0_has_unsupported_extension_The_only_supported_extensions_are_1:t(6054,e.DiagnosticCategory.Error,"File_0_has_unsupported_extension_The_only_supported_extensions_are_1_6054","File '{0}' has unsupported extension. The only supported extensions are {1}."),Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:t(6055,e.DiagnosticCategory.Message,"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055","Suppress noImplicitAny errors for indexing objects lacking index signatures."),Do_not_emit_declarations_for_code_that_has_an_internal_annotation:t(6056,e.DiagnosticCategory.Message,"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056","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:t(6058,e.DiagnosticCategory.Message,"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058","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:t(6059,e.DiagnosticCategory.Error,"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059","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:t(6060,e.DiagnosticCategory.Message,"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060","Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix)."),NEWLINE:t(6061,e.DiagnosticCategory.Message,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file:t(6064,e.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_6064","Option '{0}' can only be specified in 'tsconfig.json' file."),Enables_experimental_support_for_ES7_decorators:t(6065,e.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:t(6066,e.DiagnosticCategory.Message,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Enables_experimental_support_for_ES7_async_functions:t(6068,e.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_async_functions_6068","Enables experimental support for ES7 async functions."),Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6:t(6069,e.DiagnosticCategory.Message,"Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6_6069","Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6)."),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:t(6070,e.DiagnosticCategory.Message,"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070","Initializes a TypeScript project and creates a tsconfig.json file."),Successfully_created_a_tsconfig_json_file:t(6071,e.DiagnosticCategory.Message,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:t(6072,e.DiagnosticCategory.Message,"Suppress_excess_property_checks_for_object_literals_6072","Suppress excess property checks for object literals."),Stylize_errors_and_messages_using_color_and_context_experimental:t(6073,e.DiagnosticCategory.Message,"Stylize_errors_and_messages_using_color_and_context_experimental_6073","Stylize errors and messages using color and context (experimental)."),Do_not_report_errors_on_unused_labels:t(6074,e.DiagnosticCategory.Message,"Do_not_report_errors_on_unused_labels_6074","Do not report errors on unused labels."),Report_error_when_not_all_code_paths_in_function_return_a_value:t(6075,e.DiagnosticCategory.Message,"Report_error_when_not_all_code_paths_in_function_return_a_value_6075","Report error when not all code paths in function return a value."),Report_errors_for_fallthrough_cases_in_switch_statement:t(6076,e.DiagnosticCategory.Message,"Report_errors_for_fallthrough_cases_in_switch_statement_6076","Report errors for fallthrough cases in switch statement."),Do_not_report_errors_on_unreachable_code:t(6077,e.DiagnosticCategory.Message,"Do_not_report_errors_on_unreachable_code_6077","Do not report errors on unreachable code."),Disallow_inconsistently_cased_references_to_the_same_file:t(6078,e.DiagnosticCategory.Message,"Disallow_inconsistently_cased_references_to_the_same_file_6078","Disallow inconsistently-cased references to the same file."),Specify_library_files_to_be_included_in_the_compilation_Colon:t(6079,e.DiagnosticCategory.Message,"Specify_library_files_to_be_included_in_the_compilation_Colon_6079","Specify library files to be included in the compilation: "),Specify_JSX_code_generation_Colon_preserve_react_native_or_react:t(6080,e.DiagnosticCategory.Message,"Specify_JSX_code_generation_Colon_preserve_react_native_or_react_6080","Specify JSX code generation: 'preserve', 'react-native', or 'react'."),File_0_has_an_unsupported_extension_so_skipping_it:t(6081,e.DiagnosticCategory.Message,"File_0_has_an_unsupported_extension_so_skipping_it_6081","File '{0}' has an unsupported extension, so skipping it."),Only_amd_and_system_modules_are_supported_alongside_0:t(6082,e.DiagnosticCategory.Error,"Only_amd_and_system_modules_are_supported_alongside_0_6082","Only 'amd' and 'system' modules are supported alongside --{0}."),Base_directory_to_resolve_non_absolute_module_names:t(6083,e.DiagnosticCategory.Message,"Base_directory_to_resolve_non_absolute_module_names_6083","Base directory to resolve non-absolute module names."),Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit:t(6084,e.DiagnosticCategory.Message,"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084","[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit"),Enable_tracing_of_the_name_resolution_process:t(6085,e.DiagnosticCategory.Message,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:t(6086,e.DiagnosticCategory.Message,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:t(6087,e.DiagnosticCategory.Message,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:t(6088,e.DiagnosticCategory.Message,"Module_resolution_kind_is_not_specified_using_0_6088","Module resolution kind is not specified, using '{0}'."),Module_name_0_was_successfully_resolved_to_1:t(6089,e.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_6089","======== Module name '{0}' was successfully resolved to '{1}'. ========"),Module_name_0_was_not_resolved:t(6090,e.DiagnosticCategory.Message,"Module_name_0_was_not_resolved_6090","======== Module name '{0}' was not resolved. ========"),paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:t(6091,e.DiagnosticCategory.Message,"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091","'paths' option is specified, looking for a pattern to match module name '{0}'."),Module_name_0_matched_pattern_1:t(6092,e.DiagnosticCategory.Message,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:t(6093,e.DiagnosticCategory.Message,"Trying_substitution_0_candidate_module_location_Colon_1_6093","Trying substitution '{0}', candidate module location: '{1}'."),Resolving_module_name_0_relative_to_base_url_1_2:t(6094,e.DiagnosticCategory.Message,"Resolving_module_name_0_relative_to_base_url_1_2_6094","Resolving module name '{0}' relative to base url '{1}' - '{2}'."),Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1:t(6095,e.DiagnosticCategory.Message,"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1_6095","Loading module as file / folder, candidate module location '{0}', target file type '{1}'."),File_0_does_not_exist:t(6096,e.DiagnosticCategory.Message,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exist_use_it_as_a_name_resolution_result:t(6097,e.DiagnosticCategory.Message,"File_0_exist_use_it_as_a_name_resolution_result_6097","File '{0}' exist - use it as a name resolution result."),Loading_module_0_from_node_modules_folder_target_file_type_1:t(6098,e.DiagnosticCategory.Message,"Loading_module_0_from_node_modules_folder_target_file_type_1_6098","Loading module '{0}' from 'node_modules' folder, target file type '{1}'."),Found_package_json_at_0:t(6099,e.DiagnosticCategory.Message,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:t(6100,e.DiagnosticCategory.Message,"package_json_does_not_have_a_0_field_6100","'package.json' does not have a '{0}' field."),package_json_has_0_field_1_that_references_2:t(6101,e.DiagnosticCategory.Message,"package_json_has_0_field_1_that_references_2_6101","'package.json' has '{0}' field '{1}' that references '{2}'."),Allow_javascript_files_to_be_compiled:t(6102,e.DiagnosticCategory.Message,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Option_0_should_have_array_of_strings_as_a_value:t(6103,e.DiagnosticCategory.Error,"Option_0_should_have_array_of_strings_as_a_value_6103","Option '{0}' should have array of strings as a value."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:t(6104,e.DiagnosticCategory.Message,"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104","Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'."),Expected_type_of_0_field_in_package_json_to_be_string_got_1:t(6105,e.DiagnosticCategory.Message,"Expected_type_of_0_field_in_package_json_to_be_string_got_1_6105","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:t(6106,e.DiagnosticCategory.Message,"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106","'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:t(6107,e.DiagnosticCategory.Message,"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107","'rootDirs' option is set, using it to resolve relative module name '{0}'."),Longest_matching_prefix_for_0_is_1:t(6108,e.DiagnosticCategory.Message,"Longest_matching_prefix_for_0_is_1_6108","Longest matching prefix for '{0}' is '{1}'."),Loading_0_from_the_root_dir_1_candidate_location_2:t(6109,e.DiagnosticCategory.Message,"Loading_0_from_the_root_dir_1_candidate_location_2_6109","Loading '{0}' from the root dir '{1}', candidate location '{2}'."),Trying_other_entries_in_rootDirs:t(6110,e.DiagnosticCategory.Message,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:t(6111,e.DiagnosticCategory.Message,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:t(6112,e.DiagnosticCategory.Message,"Do_not_emit_use_strict_directives_in_module_output_6112","Do not emit 'use strict' directives in module output."),Enable_strict_null_checks:t(6113,e.DiagnosticCategory.Message,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:t(6114,e.DiagnosticCategory.Error,"Unknown_option_excludes_Did_you_mean_exclude_6114","Unknown option 'excludes'. Did you mean 'exclude'?"),Raise_error_on_this_expressions_with_an_implied_any_type:t(6115,e.DiagnosticCategory.Message,"Raise_error_on_this_expressions_with_an_implied_any_type_6115","Raise error on 'this' expressions with an implied 'any' type."),Resolving_type_reference_directive_0_containing_file_1_root_directory_2:t(6116,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116","======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"),Resolving_using_primary_search_paths:t(6117,e.DiagnosticCategory.Message,"Resolving_using_primary_search_paths_6117","Resolving using primary search paths..."),Resolving_from_node_modules_folder:t(6118,e.DiagnosticCategory.Message,"Resolving_from_node_modules_folder_6118","Resolving from node_modules folder..."),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:t(6119,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119","======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========"),Type_reference_directive_0_was_not_resolved:t(6120,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:t(6121,e.DiagnosticCategory.Message,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:t(6122,e.DiagnosticCategory.Message,"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122","Root directory cannot be determined, skipping primary search paths."),Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:t(6123,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123","======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========"),Type_declaration_files_to_be_included_in_compilation:t(6124,e.DiagnosticCategory.Message,"Type_declaration_files_to_be_included_in_compilation_6124","Type declaration files to be included in compilation."),Looking_up_in_node_modules_folder_initial_location_0:t(6125,e.DiagnosticCategory.Message,"Looking_up_in_node_modules_folder_initial_location_0_6125","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:t(6126,e.DiagnosticCategory.Message,"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126","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:t(6127,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127","======== 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:t(6128,e.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128","======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========"),The_config_file_0_found_doesn_t_contain_any_source_files:t(6129,e.DiagnosticCategory.Error,"The_config_file_0_found_doesn_t_contain_any_source_files_6129","The config file '{0}' found doesn't contain any source files."),Resolving_real_path_for_0_result_1:t(6130,e.DiagnosticCategory.Message,"Resolving_real_path_for_0_result_1_6130","Resolving real path for '{0}', result '{1}'."),Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:t(6131,e.DiagnosticCategory.Error,"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131","Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'."),File_name_0_has_a_1_extension_stripping_it:t(6132,e.DiagnosticCategory.Message,"File_name_0_has_a_1_extension_stripping_it_6132","File name '{0}' has a '{1}' extension - stripping it."),_0_is_declared_but_never_used:t(6133,e.DiagnosticCategory.Error,"_0_is_declared_but_never_used_6133","'{0}' is declared but never used."),Report_errors_on_unused_locals:t(6134,e.DiagnosticCategory.Message,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:t(6135,e.DiagnosticCategory.Message,"Report_errors_on_unused_parameters_6135","Report errors on unused parameters."),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:t(6136,e.DiagnosticCategory.Message,"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136","The maximum dependency depth to search under node_modules and load JavaScript files."),Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1:t(6137,e.DiagnosticCategory.Error,"Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1_6137","Cannot import type declaration files. Consider importing '{0}' instead of '{1}'."),Property_0_is_declared_but_never_used:t(6138,e.DiagnosticCategory.Error,"Property_0_is_declared_but_never_used_6138","Property '{0}' is declared but never used."),Import_emit_helpers_from_tslib:t(6139,e.DiagnosticCategory.Message,"Import_emit_helpers_from_tslib_6139","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:t(6140,e.DiagnosticCategory.Error,"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140","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:t(6141,e.DiagnosticCategory.Message,"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141",'Parse in strict mode and emit "use strict" for each source file.'),Module_0_was_resolved_to_1_but_jsx_is_not_set:t(6142,e.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142","Module '{0}' was resolved to '{1}', but '--jsx' is not set."),Module_0_was_resolved_to_1_but_allowJs_is_not_set:t(6143,e.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_allowJs_is_not_set_6143","Module '{0}' was resolved to '{1}', but '--allowJs' is not set."),Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:t(6144,e.DiagnosticCategory.Message,"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144","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:t(6145,e.DiagnosticCategory.Message,"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145","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:t(6146,e.DiagnosticCategory.Message,"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146","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:t(6147,e.DiagnosticCategory.Message,"Resolution_for_module_0_was_found_in_cache_6147","Resolution for module '{0}' was found in cache."),Directory_0_does_not_exist_skipping_all_lookups_in_it:t(6148,e.DiagnosticCategory.Message,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Show_diagnostic_information:t(6149,e.DiagnosticCategory.Message,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:t(6150,e.DiagnosticCategory.Message,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:t(6151,e.DiagnosticCategory.Message,"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151","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:t(6152,e.DiagnosticCategory.Message,"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152","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:t(6153,e.DiagnosticCategory.Message,"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153","Transpile each file as a separate module (similar to 'ts.transpileModule')."),Print_names_of_generated_files_part_of_the_compilation:t(6154,e.DiagnosticCategory.Message,"Print_names_of_generated_files_part_of_the_compilation_6154","Print names of generated files part of the compilation."),Print_names_of_files_part_of_the_compilation:t(6155,e.DiagnosticCategory.Message,"Print_names_of_files_part_of_the_compilation_6155","Print names of files part of the compilation."),The_locale_used_when_displaying_messages_to_the_user_e_g_en_us:t(6156,e.DiagnosticCategory.Message,"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156","The locale used when displaying messages to the user (e.g. 'en-us')"),Do_not_generate_custom_helper_functions_like_extends_in_compiled_output:t(6157,e.DiagnosticCategory.Message,"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157","Do not generate custom helper functions like '__extends' in compiled output."),Do_not_include_the_default_library_file_lib_d_ts:t(6158,e.DiagnosticCategory.Message,"Do_not_include_the_default_library_file_lib_d_ts_6158","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:t(6159,e.DiagnosticCategory.Message,"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159","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:t(6160,e.DiagnosticCategory.Message,"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160","[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files."),List_of_folders_to_include_type_definitions_from:t(6161,e.DiagnosticCategory.Message,"List_of_folders_to_include_type_definitions_from_6161","List of folders to include type definitions from."),Disable_size_limitations_on_JavaScript_projects:t(6162,e.DiagnosticCategory.Message,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:t(6163,e.DiagnosticCategory.Message,"The_character_set_of_the_input_files_6163","The character set of the input files."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:t(6164,e.DiagnosticCategory.Message,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6164","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Do_not_truncate_error_messages:t(6165,e.DiagnosticCategory.Message,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:t(6166,e.DiagnosticCategory.Message,"Output_directory_for_generated_declaration_files_6166","Output directory for generated declaration files."),A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl:t(6167,e.DiagnosticCategory.Message,"A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167","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:t(6168,e.DiagnosticCategory.Message,"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168","List of root folders whose combined content represents the structure of the project at runtime."),Show_all_compiler_options:t(6169,e.DiagnosticCategory.Message,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:t(6170,e.DiagnosticCategory.Message,"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170","[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file"),Command_line_Options:t(6171,e.DiagnosticCategory.Message,"Command_line_Options_6171","Command-line Options"),Basic_Options:t(6172,e.DiagnosticCategory.Message,"Basic_Options_6172","Basic Options"),Strict_Type_Checking_Options:t(6173,e.DiagnosticCategory.Message,"Strict_Type_Checking_Options_6173","Strict Type-Checking Options"),Module_Resolution_Options:t(6174,e.DiagnosticCategory.Message,"Module_Resolution_Options_6174","Module Resolution Options"),Source_Map_Options:t(6175,e.DiagnosticCategory.Message,"Source_Map_Options_6175","Source Map Options"),Additional_Checks:t(6176,e.DiagnosticCategory.Message,"Additional_Checks_6176","Additional Checks"),Experimental_Options:t(6177,e.DiagnosticCategory.Message,"Experimental_Options_6177","Experimental Options"),Advanced_Options:t(6178,e.DiagnosticCategory.Message,"Advanced_Options_6178","Advanced Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:t(6179,e.DiagnosticCategory.Message,"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179","Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'."),Enable_all_strict_type_checking_options:t(6180,e.DiagnosticCategory.Message,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),List_of_language_service_plugins:t(6181,e.DiagnosticCategory.Message,"List_of_language_service_plugins_6181","List of language service plugins."),Scoped_package_detected_looking_in_0:t(6182,e.DiagnosticCategory.Message,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_to_file_1_from_old_program:t(6183,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_to_file_1_from_old_program_6183","Reusing resolution of module '{0}' to file '{1}' from old program."),Reusing_module_resolutions_originating_in_0_since_resolutions_are_unchanged_from_old_program:t(6184,e.DiagnosticCategory.Message,"Reusing_module_resolutions_originating_in_0_since_resolutions_are_unchanged_from_old_program_6184","Reusing module resolutions originating in '{0}' since resolutions are unchanged from old program."),Disable_strict_checking_of_generic_signatures_in_function_types:t(6185,e.DiagnosticCategory.Message,"Disable_strict_checking_of_generic_signatures_in_function_types_6185","Disable strict checking of generic signatures in function types."),Variable_0_implicitly_has_an_1_type:t(7005,e.DiagnosticCategory.Error,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:t(7006,e.DiagnosticCategory.Error,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:t(7008,e.DiagnosticCategory.Error,"Member_0_implicitly_has_an_1_type_7008","Member '{0}' implicitly has an '{1}' type."),new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:t(7009,e.DiagnosticCategory.Error,"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009","'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:t(7010,e.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010","'{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:t(7011,e.DiagnosticCategory.Error,"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011","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:t(7013,e.DiagnosticCategory.Error,"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013","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:t(7015,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015","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:t(7016,e.DiagnosticCategory.Error,"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016","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:t(7017,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017","Element implicitly has an 'any' type because type '{0}' has no index signature."),Object_literal_s_property_0_implicitly_has_an_1_type:t(7018,e.DiagnosticCategory.Error,"Object_literal_s_property_0_implicitly_has_an_1_type_7018","Object literal's property '{0}' implicitly has an '{1}' type."),Rest_parameter_0_implicitly_has_an_any_type:t(7019,e.DiagnosticCategory.Error,"Rest_parameter_0_implicitly_has_an_any_type_7019","Rest parameter '{0}' implicitly has an 'any[]' type."),Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:t(7020,e.DiagnosticCategory.Error,"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020","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:t(7022,e.DiagnosticCategory.Error,"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022","'{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:t(7023,e.DiagnosticCategory.Error,"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023","'{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:t(7024,e.DiagnosticCategory.Error,"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024","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:t(7025,e.DiagnosticCategory.Error,"Generator_implicitly_has_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_typ_7025","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:t(7026,e.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026","JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists."),Unreachable_code_detected:t(7027,e.DiagnosticCategory.Error,"Unreachable_code_detected_7027","Unreachable code detected."),Unused_label:t(7028,e.DiagnosticCategory.Error,"Unused_label_7028","Unused label."),Fallthrough_case_in_switch:t(7029,e.DiagnosticCategory.Error,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:t(7030,e.DiagnosticCategory.Error,"Not_all_code_paths_return_a_value_7030","Not all code paths return a value."),Binding_element_0_implicitly_has_an_1_type:t(7031,e.DiagnosticCategory.Error,"Binding_element_0_implicitly_has_an_1_type_7031","Binding element '{0}' implicitly has an '{1}' type."),Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:t(7032,e.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032","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:t(7033,e.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033","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:t(7034,e.DiagnosticCategory.Error,"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034","Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined."),Try_npm_install_types_Slash_0_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:t(7035,e.DiagnosticCategory.Error,"Try_npm_install_types_Slash_0_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_mod_7035","Try `npm install @types/{0}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`"),Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0:t(7036,e.DiagnosticCategory.Error,"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036","Dynamic import's specifier must be of type 'string', but here has type '{0}'."),You_cannot_rename_this_element:t(8e3,e.DiagnosticCategory.Error,"You_cannot_rename_this_element_8000","You cannot rename this element."),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:t(8001,e.DiagnosticCategory.Error,"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001","You cannot rename elements that are defined in the standard TypeScript library."),import_can_only_be_used_in_a_ts_file:t(8002,e.DiagnosticCategory.Error,"import_can_only_be_used_in_a_ts_file_8002","'import ... =' can only be used in a .ts file."),export_can_only_be_used_in_a_ts_file:t(8003,e.DiagnosticCategory.Error,"export_can_only_be_used_in_a_ts_file_8003","'export=' can only be used in a .ts file."),type_parameter_declarations_can_only_be_used_in_a_ts_file:t(8004,e.DiagnosticCategory.Error,"type_parameter_declarations_can_only_be_used_in_a_ts_file_8004","'type parameter declarations' can only be used in a .ts file."),implements_clauses_can_only_be_used_in_a_ts_file:t(8005,e.DiagnosticCategory.Error,"implements_clauses_can_only_be_used_in_a_ts_file_8005","'implements clauses' can only be used in a .ts file."),interface_declarations_can_only_be_used_in_a_ts_file:t(8006,e.DiagnosticCategory.Error,"interface_declarations_can_only_be_used_in_a_ts_file_8006","'interface declarations' can only be used in a .ts file."),module_declarations_can_only_be_used_in_a_ts_file:t(8007,e.DiagnosticCategory.Error,"module_declarations_can_only_be_used_in_a_ts_file_8007","'module declarations' can only be used in a .ts file."),type_aliases_can_only_be_used_in_a_ts_file:t(8008,e.DiagnosticCategory.Error,"type_aliases_can_only_be_used_in_a_ts_file_8008","'type aliases' can only be used in a .ts file."),_0_can_only_be_used_in_a_ts_file:t(8009,e.DiagnosticCategory.Error,"_0_can_only_be_used_in_a_ts_file_8009","'{0}' can only be used in a .ts file."),types_can_only_be_used_in_a_ts_file:t(8010,e.DiagnosticCategory.Error,"types_can_only_be_used_in_a_ts_file_8010","'types' can only be used in a .ts file."),type_arguments_can_only_be_used_in_a_ts_file:t(8011,e.DiagnosticCategory.Error,"type_arguments_can_only_be_used_in_a_ts_file_8011","'type arguments' can only be used in a .ts file."),parameter_modifiers_can_only_be_used_in_a_ts_file:t(8012,e.DiagnosticCategory.Error,"parameter_modifiers_can_only_be_used_in_a_ts_file_8012","'parameter modifiers' can only be used in a .ts file."),non_null_assertions_can_only_be_used_in_a_ts_file:t(8013,e.DiagnosticCategory.Error,"non_null_assertions_can_only_be_used_in_a_ts_file_8013","'non-null assertions' can only be used in a .ts file."),enum_declarations_can_only_be_used_in_a_ts_file:t(8015,e.DiagnosticCategory.Error,"enum_declarations_can_only_be_used_in_a_ts_file_8015","'enum declarations' can only be used in a .ts file."),type_assertion_expressions_can_only_be_used_in_a_ts_file:t(8016,e.DiagnosticCategory.Error,"type_assertion_expressions_can_only_be_used_in_a_ts_file_8016","'type assertion expressions' can only be used in a .ts file."),Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:t(8017,e.DiagnosticCategory.Error,"Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0_8017","Octal literal types must use ES2015 syntax. Use the syntax '{0}'."),Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0:t(8018,e.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0_8018","Octal literals are not allowed in enums members initializer. Use the syntax '{0}'."),Report_errors_in_js_files:t(8019,e.DiagnosticCategory.Message,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:t(8020,e.DiagnosticCategory.Error,"JSDoc_types_can_only_be_used_inside_documentation_comments_8020","JSDoc types can only be used inside documentation comments."),Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_class_extends_clause:t(9002,e.DiagnosticCategory.Error,"Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_clas_9002","Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clause."),class_expressions_are_not_currently_supported:t(9003,e.DiagnosticCategory.Error,"class_expressions_are_not_currently_supported_9003","'class' expressions are not currently supported."),Language_service_is_disabled:t(9004,e.DiagnosticCategory.Error,"Language_service_is_disabled_9004","Language service is disabled."),JSX_attributes_must_only_be_assigned_a_non_empty_expression:t(17e3,e.DiagnosticCategory.Error,"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000","JSX attributes must only be assigned a non-empty 'expression'."),JSX_elements_cannot_have_multiple_attributes_with_the_same_name:t(17001,e.DiagnosticCategory.Error,"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001","JSX elements cannot have multiple attributes with the same name."),Expected_corresponding_JSX_closing_tag_for_0:t(17002,e.DiagnosticCategory.Error,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),JSX_attribute_expected:t(17003,e.DiagnosticCategory.Error,"JSX_attribute_expected_17003","JSX attribute expected."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:t(17004,e.DiagnosticCategory.Error,"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004","Cannot use JSX unless the '--jsx' flag is provided."),A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:t(17005,e.DiagnosticCategory.Error,"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005","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:t(17006,e.DiagnosticCategory.Error,"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006","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:t(17007,e.DiagnosticCategory.Error,"A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007","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:t(17008,e.DiagnosticCategory.Error,"JSX_element_0_has_no_corresponding_closing_tag_17008","JSX element '{0}' has no corresponding closing tag."),super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:t(17009,e.DiagnosticCategory.Error,"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009","'super' must be called before accessing 'this' in the constructor of a derived class."),Unknown_type_acquisition_option_0:t(17010,e.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_17010","Unknown type acquisition option '{0}'."),super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class:t(17011,e.DiagnosticCategory.Error,"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011","'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:t(17012,e.DiagnosticCategory.Error,"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012","'{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:t(17013,e.DiagnosticCategory.Error,"Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013","Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor."),Circularity_detected_while_resolving_configuration_Colon_0:t(18e3,e.DiagnosticCategory.Error,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not:t(18001,e.DiagnosticCategory.Error,"A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not_18001","A path in an 'extends' option must be relative or rooted, but '{0}' is not."),The_files_list_in_config_file_0_is_empty:t(18002,e.DiagnosticCategory.Error,"The_files_list_in_config_file_0_is_empty_18002","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:t(18003,e.DiagnosticCategory.Error,"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003","No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."),Add_missing_super_call:t(90001,e.DiagnosticCategory.Message,"Add_missing_super_call_90001","Add missing 'super()' call."),Make_super_call_the_first_statement_in_the_constructor:t(90002,e.DiagnosticCategory.Message,"Make_super_call_the_first_statement_in_the_constructor_90002","Make 'super()' call the first statement in the constructor."),Change_extends_to_implements:t(90003,e.DiagnosticCategory.Message,"Change_extends_to_implements_90003","Change 'extends' to 'implements'."),Remove_declaration_for_Colon_0:t(90004,e.DiagnosticCategory.Message,"Remove_declaration_for_Colon_0_90004","Remove declaration for: '{0}'."),Implement_interface_0:t(90006,e.DiagnosticCategory.Message,"Implement_interface_0_90006","Implement interface '{0}'."),Implement_inherited_abstract_class:t(90007,e.DiagnosticCategory.Message,"Implement_inherited_abstract_class_90007","Implement inherited abstract class."),Add_this_to_unresolved_variable:t(90008,e.DiagnosticCategory.Message,"Add_this_to_unresolved_variable_90008","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:t(90009,e.DiagnosticCategory.Error,"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__90009","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:t(90010,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_90010","Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."),Import_0_from_1:t(90013,e.DiagnosticCategory.Message,"Import_0_from_1_90013","Import {0} from {1}."),Change_0_to_1:t(90014,e.DiagnosticCategory.Message,"Change_0_to_1_90014","Change {0} to {1}."),Add_0_to_existing_import_declaration_from_1:t(90015,e.DiagnosticCategory.Message,"Add_0_to_existing_import_declaration_from_1_90015","Add {0} to existing import declaration from {1}."),Declare_property_0:t(90016,e.DiagnosticCategory.Message,"Declare_property_0_90016","Declare property '{0}'."),Add_index_signature_for_property_0:t(90017,e.DiagnosticCategory.Message,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'."),Disable_checking_for_this_file:t(90018,e.DiagnosticCategory.Message,"Disable_checking_for_this_file_90018","Disable checking for this file."),Ignore_this_error_message:t(90019,e.DiagnosticCategory.Message,"Ignore_this_error_message_90019","Ignore this error message."),Initialize_property_0_in_the_constructor:t(90020,e.DiagnosticCategory.Message,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor."),Initialize_static_property_0:t(90021,e.DiagnosticCategory.Message,"Initialize_static_property_0_90021","Initialize static property '{0}'."),Change_spelling_to_0:t(90022,e.DiagnosticCategory.Message,"Change_spelling_to_0_90022","Change spelling to '{0}'."),Declare_method_0:t(90023,e.DiagnosticCategory.Message,"Declare_method_0_90023","Declare method '{0}'."),Declare_static_method_0:t(90024,e.DiagnosticCategory.Message,"Declare_static_method_0_90024","Declare static method '{0}'."),Prefix_0_with_an_underscore:t(90025,e.DiagnosticCategory.Message,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore."),Rewrite_as_the_indexed_access_type_0:t(90026,e.DiagnosticCategory.Message,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'."),Convert_function_to_an_ES2015_class:t(95001,e.DiagnosticCategory.Message,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_function_0_to_class:t(95002,e.DiagnosticCategory.Message,"Convert_function_0_to_class_95002","Convert function '{0}' to class"),Extract_function:t(95003,e.DiagnosticCategory.Message,"Extract_function_95003","Extract function"),Extract_function_into_0:t(95004,e.DiagnosticCategory.Message,"Extract_function_into_0_95004","Extract function into {0}")}}(o||(o={}));var o;!function(e){function t(e){return e>=71}function n(e,t){if(e=1?n(e,z):n(e,B)}function i(e,t){return t>=1?n(e,U):n(e,j)}function a(e){return J[e]}function o(e){return L.get(e)}function s(e){for(var t=new Array,n=0,r=0;n127&&m(i)&&(t.push(r),r=n)}}return t.push(r),t}function c(e,t,n){return u(l(e),t,n,e.text)}function u(t,n,r,i){e.Debug.assert(n>=0&&n=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function m(e){return 10===e||13===e||8232===e||8233===e}function g(e){return e>=48&&e<=57}function h(e){return e>=48&&e<=55}function y(e,t){var n=e.charCodeAt(t);switch(n){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 124:case 61:case 62:return!0;case 35:return 0===t;default:return n>127}}function v(t,n,r,i){if(void 0===i&&(i=!1),e.positionIsSynthesized(n))return n;for(;;){var a=t.charCodeAt(n);switch(a){case 13:10===t.charCodeAt(n+1)&&n++;case 10:if(n++,r)return n;continue;case 9:case 11:case 12:case 32:n++;continue;case 47:if(i)break;if(47===t.charCodeAt(n+1)){for(n+=2;n127&&_(a)){n++;continue}}return n}}function b(t,n){if(e.Debug.assert(n>=0),0===n||m(t.charCodeAt(n-1))){var r=t.charCodeAt(n);if(n+K=0&&n127&&_(g)){d&&m(g)&&(l=!0),n++;continue}break e}}return d&&(p=i(s,c,u,l,a,p)),p}function D(e,t,n,r){return C(!1,e,t,!1,n,r)}function T(e,t,n,r){return C(!1,e,t,!0,n,r)}function E(e,t,n,r,i){return C(!0,e,t,!1,n,r,i)}function w(e,t,n,r,i){return C(!0,e,t,!0,n,r,i)}function A(e,t,n,r,i,a){return a||(a=[]),a.push({kind:n,pos:e,end:t,hasTrailingNewLine:r}),a}function N(e,t){return E(e,t,A,void 0,void 0)}function P(e,t){return w(e,t,A,void 0,void 0)}function O(e){var t=q.exec(e);if(t)return t[0]}function I(e,t){return e>=65&&e<=90||e>=97&&e<=122||36===e||95===e||e>127&&r(e,t)}function F(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 M(e,t){if(!I(e.charCodeAt(0),t))return!1;for(var n=1;n=48&&i<=57)r=16*r+i-48;else if(i>=65&&i<=70)r=16*r+i-65+10;else{if(!(i>=97&&i<=102))break;r=16*r+i-97+10}ne++,n++}return n=re){r+=a.substring(i,ne),le=!0,u(e.Diagnostics.Unterminated_string_literal);break}var o=a.charCodeAt(ne);if(o===n){r+=a.substring(i,ne),ne++;break}if(92===o&&t)r+=a.substring(i,ne),r+=T(),i=ne;else{if(m(o)){r+=a.substring(i,ne),le=!0,u(e.Diagnostics.Unterminated_string_literal);break}ne++}}return r}function D(){var t=96===a.charCodeAt(ne);ne++;for(var n,r=ne,i="";;){if(ne>=re){i+=a.substring(r,ne),le=!0,u(e.Diagnostics.Unterminated_template_literal),n=t?13:16;break}var o=a.charCodeAt(ne);if(96===o){i+=a.substring(r,ne),ne++,n=t?13:16;break}if(36===o&&ne+1=re)return u(e.Diagnostics.Unexpected_end_of_text),"";var t=a.charCodeAt(ne);switch(ne++,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 ne=0?String.fromCharCode(n):(u(e.Diagnostics.Hexadecimal_digit_expected),"")}function w(){var t=y(1),n=!1;return t<0?(u(e.Diagnostics.Hexadecimal_digit_expected),n=!0):t>1114111&&(u(e.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),n=!0),ne>=re?(u(e.Diagnostics.Unexpected_end_of_text),n=!0):125===a.charCodeAt(ne)?ne++:(u(e.Diagnostics.Unterminated_Unicode_escape_sequence),n=!0),n?"":A(t)}function A(t){if(e.Debug.assert(0<=t&&t<=1114111),t<=65535)return String.fromCharCode(t);var n=Math.floor((t-65536)/1024)+55296,r=(t-65536)%1024+56320;return String.fromCharCode(n,r)}function N(){if(ne+5=0&&F(r,n)))break;e+=a.substring(t,ne),e+=String.fromCharCode(r),ne+=6,t=ne}}return e+=a.substring(t,ne)}function O(){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 M(t){e.Debug.assert(2===t||8===t,"Expected either base 2 or base 8");for(var n=0,r=0;;){var i=a.charCodeAt(ne),o=i-48;if(!g(i)||o>=t)break;n=n*t+o,ne++,r++}return 0===r?-1:n}function R(){for(ie=ne,ue=!1,ce=!1,le=!1,de=0;;){if(ae=ne,ne>=re)return oe=1;var t=a.charCodeAt(ne);if(35===t&&0===ne&&k(a,ne)){if(ne=S(a,ne),r)continue;return oe=6}switch(t){case 10:case 13:if(ce=!0,r){ne++;continue}return 13===t&&ne+1=0&&I(f,n)?(ne+=6,se=String.fromCharCode(f)+P(),oe=O()):(u(e.Diagnostics.Invalid_character),ne++,oe=0);default:if(I(t,n)){for(ne++;ne=re){le=!0,u(e.Diagnostics.Unterminated_regular_expression_literal);break}var o=a.charCodeAt(t);if(m(o)){le=!0,u(e.Diagnostics.Unterminated_regular_expression_literal);break}if(r)r=!1;else{if(47===o&&!i){t++;break}91===o?i=!0:92===o?r=!0:93===o&&(i=!1)}t++}for(;t=re)return oe=1;var e=a.charCodeAt(ne);if(60===e)return 47===a.charCodeAt(ne+1)?(ne+=2,oe=28):(ne++,oe=27);if(123===e)return ne++,oe=17;for(var t=0;ne=re)return oe=1;ie=ne,ae=ne;var e=a.charCodeAt(ne);switch(e){case 9:case 11:case 12:case 32:for(;ne=0),ne=t,ie=t,ae=t,oe=0,ce=!1,se=void 0,ue=!1,le=!1}void 0===i&&(i=0);var ne,re,ie,ae,oe,se,ce,ue,le,de;return Y(a,s,c),{getStartPos:function(){return ie},getTextPos:function(){return ne},getToken:function(){return oe},getTokenPos:function(){return ae},getTokenText:function(){return a.substring(ae,ne)},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:K,scanJsxAttributeValue:q,reScanJsxToken:U,scanJsxToken:J,scanJSDocToken:V,scan:R,getText:X,setText:Y,setScriptTarget:Z,setLanguageVariant:ee,setOnError:Q,setTextPos:te,tryScan:$,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,">":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],U=[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=r;var J=function(e){var t=[];return e.forEach(function(e,n){t[e]=n}),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=m,e.isOctalDigit=h,e.couldStartTrivia=y,e.skipTrivia=v;var K="<<<<<<<".length,q=/^#!.*/;e.forEachLeadingCommentRange=D,e.forEachTrailingCommentRange=T,e.reduceEachLeadingCommentRange=E,e.reduceEachTrailingCommentRange=w,e.getLeadingCommentRanges=N,e.getTrailingCommentRanges=P,e.getShebang=O,e.isIdentifierStart=I,e.isIdentifierPart=F,e.isIdentifierText=M,e.createScanner=R}(o||(o={}));var o;!function(e){function t(e,t){var n=e.declarations;if(n)for(var r=0,i=n;r=0),e.getLineStarts(n)[t]}function g(t){var n=_(t),r=e.getLineAndCharacterOfPosition(n,t.pos);return n.fileName+"("+(r.line+1)+","+(r.character+1)+")"}function h(t,n){e.Debug.assert(t>=0);var r=e.getLineStarts(n),i=t,a=n.text;if(i+1===r.length)return a.length-1;var o=r[i],s=r[i+1]-1;for(e.Debug.assert(e.isLineBreak(a.charCodeAt(s)));o<=s&&e.isLineBreak(a.charCodeAt(s));)s--;return s}function y(e){return void 0===e||e.pos===e.end&&e.pos>=0&&1!==e.kind}function v(e){return!y(e)}function b(t,n,r){if(47===t.charCodeAt(n+1)&&n+20?k(t.jsDoc[0]):286===t.kind&&t._children.length>0?k(t._children[0],n,r):e.skipTrivia((n||_(t)).text,t.pos)}function S(t,n){return y(t)||!t.decorators?k(t,n):e.skipTrivia((n||_(t)).text,t.decorators.end)}function C(t,n,r){if(void 0===r&&(r=!1),y(n))return"";var i=t.text;return i.substring(r?n.pos:e.skipTrivia(i,n.pos),n.end)}function D(t,n){return y(n)?"":t.substring(e.skipTrivia(t,n.pos),n.end)}function T(e,t){return void 0===t&&(t=!1),C(_(e),e,t)}function E(e){var t=e.emitNode;return t&&t.flags}function w(t,n){if(!nn(t)&&t.parent)return C(n,t);var r=16777216&E(t)?dn:mn;switch(t.kind){case 9:return t.singleQuote?"'"+r(t.text,39)+"'":'"'+r(t.text,34)+'"';case 13:return"`"+r(t.text,96)+"`";case 14:return"`"+r(t.text,96)+"${";case 15:return"}"+r(t.text,96)+"${";case 16:return"}"+r(t.text,96)+"`";case 8:return t.text}e.Debug.fail("Literal kind '"+t.kind+"' not accounted for.")}function A(e){return"string"==typeof e?'"'+mn(e)+'"':""+e}function N(e){return e.length>=2&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)?"_"+e:e}function P(e){return e}function O(t){return e.getBaseFileName(t).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}function I(t){return 0!=(3&e.getCombinedNodeFlags(t))||F(t)}function F(e){var t=en(e);return 226===t.kind&&260===t.parent.kind}function M(e){return e&&233===e.kind&&(9===e.name.kind||z(e))}function R(t){return e.isModuleDeclaration(t)&&e.isStringLiteral(t.name)}function L(e){return B(e.valueDeclaration)}function B(e){return e&&233===e.kind&&!e.body}function j(t){return 265===t.kind||233===t.kind||e.isFunctionLike(t)}function z(e){return!!(512&e.flags)}function U(t){if(!t||!M(t))return!1;switch(t.parent.kind){case 265:return e.isExternalModule(t.parent);case 234:return M(t.parent.parent)&&!e.isExternalModule(t.parent.parent.parent)}return!1}function J(t,n){return e.isExternalModule(t)||n.isolatedModules}function K(t,n){switch(t.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 n&&!e.isFunctionLike(n)}return!1}function q(e){for(var t=e.parent;t;){if(K(t,t.parent))return t;t=t.parent}}function V(e){return 0===r(e)?"(Missing)":T(e)}function H(e){return e.declaration?V(e.declaration.parameters[0].name):void 0}function W(e){switch(e.kind){case 71:return e.escapedText;case 9:case 8:return N(e.text);case 144:if(Kt(e.expression))return N(e.expression.text)}}function G(t){switch(t.kind){case 71:return 0===r(t)?e.unescapeLeadingUnderscores(t.escapedText):T(t);case 143:return G(t.left)+"."+G(t.right);case 179:return G(t.expression)+"."+G(t.name)}}function $(e,t,n,r,i){return X(_(e),e,t,n,r,i)}function X(t,n,r,i,a,o){var s=ee(t,n);return e.createFileDiagnostic(t,s.start,s.length,r,i,a,o)}function Y(e,t){var n=_(e),r=ee(n,e);return{file:n,start:r.start,length:r.length,code:t.code,category:t.category,messageText:t.next?t:t.messageText}}function Q(t,n){var r=e.createScanner(t.languageVersion,!0,t.languageVariant,t.text,void 0,n);r.scan();var i=r.getTokenPos();return e.createTextSpanFromBounds(i,r.getTextPos())}function Z(t,n){var r=e.skipTrivia(t.text,n.pos);if(n.body&&207===n.body.kind){var i=e.getLineAndCharacterOfPosition(t,n.body.pos).line;if(i=0;case 183:return!1}}return!1}function de(e,t){for(;e;){if(e.kind===t)return!0;e=e.parent}return!1}function fe(t,n){function r(t){switch(t.kind){case 219:return n(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,r)}}return r(t)}function _e(t,n){function r(t){switch(t.kind){case 197:n(t);var i=t.expression;return void(i&&r(i));case 232:case 230:case 233:case 231:case 229:case 199:return;default:if(e.isFunctionLike(t)){var a=t.name;if(a&&144===a.kind)return void r(a.expression)}else le(t)||e.forEachChild(t,r)}}return r(t)}function pe(t){return t&&164===t.kind?t.elementType:t&&159===t.kind?e.singleOrUndefined(t.typeArguments):void 0}function me(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 ge(e){switch(e.kind){case 151:case 150:case 152:case 153:case 154:case 228:case 186:return!0}return!1}function he(e,t){for(;;){if(t&&t(e),222!==e.statement.kind)return e.statement;e=e.statement}}function ye(t){return t&&207===t.kind&&e.isFunctionLike(t.parent)}function ve(e){return e&&151===e.kind&&178===e.parent.kind}function be(e){return 151===e.kind&&(178===e.parent.kind||199===e.parent.kind)}function xe(e){return e&&1===e.kind}function ke(e){return e&&0===e.kind}function Se(t,n,r){return e.filter(t.properties,function(e){if(261===e.kind){var t=W(e.name);return n===t||r&&r===t}})}function Ce(t){return e.findAncestor(t.parent,e.isFunctionLike)}function De(t){return e.findAncestor(t.parent,e.isClassLike)}function Te(t,n){for(;;){if(!(t=t.parent))return;switch(t.kind){case 144:if(e.isClassLike(t.parent.parent))return t;t=t.parent;break;case 147:146===t.parent.kind&&e.isClassElement(t.parent.parent)?t=t.parent.parent:e.isClassElement(t.parent)&&(t=t.parent);break;case 187:if(!n)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 t}}}function Ee(e){var t=Te(e,!1);if(t)switch(t.kind){case 152:case 228:case 186:return t}}function we(t,n){for(;;){if(!(t=t.parent))return t;switch(t.kind){case 144:t=t.parent;break;case 228:case 186:case 187:if(!n)continue;case 149:case 148:case 151:case 150:case 152:case 153:case 154:return t;case 147:146===t.parent.kind&&e.isClassElement(t.parent.parent)?t=t.parent.parent:e.isClassElement(t.parent)&&(t=t.parent)}}}function Ae(e){if(186===e.kind||187===e.kind){for(var t=e,n=e.parent;185===n.kind;)t=n,n=n.parent;if(181===n.kind&&n.expression===t)return n}}function Ne(e){var t=e.kind;return(179===t||180===t)&&97===e.expression.kind}function Pe(e){switch(e.kind){case 159:return e.typeName;case 201:return ur(e.expression)?e.expression:void 0;case 71:case 143:return e}}function Oe(t){return 183===t.kind?t.tag:e.isJsxOpeningLikeElement(t)?t.tagName:t.expression}function Ie(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 Fe(e){return void 0!==e.decorators&&Ie(e)}function Me(e){return Fe(e)||Re(e)}function Re(t){switch(t.kind){case 229:return e.forEach(t.members,Me);case 151:case 154:return e.forEach(t.parameters,Fe)}}function Le(e){var t=e.parent;return(251===t.kind||250===t.kind||252===t.kind)&&t.tagName===e}function Be(e){switch(e.kind){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||Le(e);case 71:if(162===e.parent.kind||Le(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:return t.expression===e;case 214:var n=t;return n.initializer===e&&227!==n.initializer.kind||n.condition===e||n.incrementor===e;case 215:case 216:var r=t;return r.initializer===e&&227!==r.initializer.kind||r.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&&sr(t);default:if(Be(t))return!0}}return!1}function je(e){return 237===e.kind&&248===e.moduleReference.kind}function ze(t){return e.Debug.assert(je(t)),t.moduleReference.expression}function Ue(e){return 237===e.kind&&248!==e.moduleReference.kind}function Je(e){return Ke(e)}function Ke(e){return e&&!!(65536&e.flags)}function qe(e){return e&&!!(1048576&e.flags)}function Ve(e,t){if(181!==e.kind)return!1;var n=e,r=n.expression,i=n.arguments;if(71!==r.kind||"require"!==r.escapedText)return!1;if(1!==i.length)return!1;var a=i[0];return!t||9===a.kind||13===a.kind}function He(e){return 39===e||34===e}function We(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 Ge(e){for(;ar(e,!0);)e=e.right;return e}function $e(t){return e.isIdentifier(t)&&"exports"===t.escapedText}function Xe(t){return e.isPropertyAccessExpression(t)&&e.isIdentifier(t.expression)&&"module"===t.expression.escapedText&&"exports"===t.name.escapedText}function Ye(e){if(!Ke(e))return 0;var t=e;if(58!==t.operatorToken.kind||179!==t.left.kind)return 0;var n=t.left;if(71===n.expression.kind){var r=n.expression;return"exports"===r.escapedText?1:"module"===r.escapedText&&"exports"===n.name.escapedText?2:5}if(99===n.expression.kind)return 4;if(179===n.expression.kind){var i=n.expression;if(71===i.expression.kind){if("module"===i.expression.escapedText&&"exports"===i.name.escapedText)return 1;if("prototype"===i.name.escapedText)return 3}}return 0}function Qe(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 Ze(e){if(237===e.kind)return e;var t=e.importClause;return t&&t.namedBindings&&240===t.namedBindings.kind?t.namedBindings:void 0}function et(e){return 238===e.kind&&e.importClause&&!!e.importClause.name}function tt(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 nt(e){return 273===e.kind&&e.parameters.length>0&&e.parameters[0].name&&"new"===e.parameters[0].name.escapedText}function rt(e){return!!it(e,279)}function it(t,n){var r=ot(t);return e.find(r,function(e){return e.kind===n})}function at(t){return e.isJSDocTypedefTag(t)?[t.parent]:st(t)}function ot(t){var n=t.jsDocCache;return void 0===n&&(t.jsDocCache=n=e.flatMap(st(t),function(t){return e.isJSDoc(t)?t.tags:t})),n}function st(t){function n(t){var i=t.parent,a=me(i)&&i.initializer===t&&208===i.parent.parent.kind,o=me(t)&&208===i.parent.kind,s=a?i.parent.parent:o?i.parent:void 0;s&&n(s),i&&i.parent&&194===i.kind&&58===i.operatorToken.kind&&210===i.parent.kind&&n(i.parent);var c=233===t.kind&&i&&233===i.kind,u=i&&261===i.kind;(c||u)&&n(i),146===t.kind&&(r=e.addRange(r,ct(t))),me(t)&&t.initializer&&(r=e.addRange(r,t.initializer.jsDoc)),r=e.addRange(r,t.jsDoc)}var r;return n(t),r||e.emptyArray}function ct(t){if(t.name&&e.isIdentifier(t.name)){var n=t.name.escapedText;return ot(t.parent).filter(function(t){return e.isJSDocParameterTag(t)&&e.isIdentifier(t.name)&&t.name.escapedText===n})}}function ut(t){if(t.symbol)return t.symbol;if(e.isIdentifier(t.name)){var n=t.name.escapedText;e.Debug.assert(275===t.parent.kind);var r=t.parent.parent;if(e.isFunctionLike(r)){var i=e.find(r.parameters,function(e){return 71===e.name.kind&&e.name.escapedText===n});return i&&i.symbol}}}function lt(t){var n=t.name.escapedText,r=t.parent.parent.parent.typeParameters;return e.find(r,function(e){return e.name.escapedText===n})}function dt(t){var n=it(t,281);if(!n&&146===t.kind){var r=ct(t);r&&(n=e.find(r,function(e){return!!e.typeExpression}))}return n&&n.typeExpression&&n.typeExpression.type}function ft(e){return it(e,277)}function _t(e){return it(e,278)}function pt(e){return it(e,280)}function mt(e){var t=pt(e);return t&&t.typeExpression&&t.typeExpression.type}function gt(e){return it(e,282)}function ht(t){return vt(e.lastOrUndefined(t.parameters))}function yt(t){return bt(e.lastOrUndefined(t.parameters))}function vt(t){return!(!Ke(t)||!(t.type&&274===t.type.kind||e.forEach(ct(t),function(e){return e.typeExpression&&274===e.typeExpression.type.kind})))||bt(t)}function bt(e){return e&&void 0!==e.dotDotDotToken}function xt(e){for(var t=e.parent;;){switch(t.kind){case 194:var n=t.operatorToken.kind;return rr(n)&&t.left===e?58===n?1:2:0;case 192:case 193:var r=t.operator;return 43===r||44===r?2:0;case 215:case 216:return t.initializer===e?1:0;case 185:case 177:case 198:e=t;break;case 262:if(t.name!==e)return 0;e=t.parent;break;case 261:if(t.name===e)return 0;e=t.parent;break;default:return 0}t=e.parent}}function kt(e){return 0!==xt(e)}function St(e){if(179!==e.kind&&180!==e.kind)return!1;for(e=e.parent;e&&185===e.kind;)e=e.parent;return e&&188===e.kind}function Ct(e,t){for(;e;){if(e===t)return!0;e=e.parent}return!1}function Dt(e){for(;e;){if(Yn(e,2)||265===e.kind&&e.isDeclarationFile)return!0;e=e.parent}return!1}function Tt(t){switch(t.kind){case 71:case 9:case 8:return e.isDeclaration(t.parent)&&t.parent.name===t;default:return!1}}function Et(t){switch(t.kind){case 71:case 9:case 8:if(e.isDeclaration(t.parent))return t.parent.name===t;var n=t.parent.parent;return e.isBinaryExpression(n)&&0!==Ye(n)&&e.getNameOfDeclaration(n)===t;default:return!1}}function wt(t){return(9===t.kind||8===t.kind)&&144===t.parent.kind&&e.isDeclaration(t.parent.parent)}function At(e){var t=e.parent;switch(t.kind){case 149:case 148:case 151:case 150:case 153:case 154:case 264:case 261:case 179:return t.name===e;case 143:if(t.right===e){for(;143===t.kind;)t=t.parent;return 162===t.kind}return!1;case 176:case 242:return t.propertyName===e;case 246:case 253:return!0}return!1}function Nt(e){return 237===e.kind||236===e.kind||239===e.kind&&!!e.name||240===e.kind||242===e.kind||246===e.kind||243===e.kind&&Pt(e)}function Pt(e){return ur(e.expression)}function Ot(e){var t=Mt(e.heritageClauses,85);return t&&t.types.length>0?t.types[0]:void 0}function It(e){var t=Mt(e.heritageClauses,108);return t?t.types:void 0}function Ft(e){var t=Mt(e.heritageClauses,85);return t?t.types:void 0}function Mt(e,t){if(e)for(var n=0,r=e;n1&&(d=d+r.length-1,f=c.length-t.length+e.lastOrUndefined(r))}}function o(){l||(c+=t,d++,f=c.length,l=!0)}function s(e,t){n(D(e,t))}var c,u,l,d,f;return r(),{write:n,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*hn()+1:c.length-f+1},getText:function(){return c},isAtStartOfLine:function(){return l},reset:r}}function vn(e,t){return t.moduleName||xn(e,t.fileName)}function bn(e,t,n){var r=t.getExternalModuleFileFromDeclaration(n);if(r&&!r.isDeclarationFile)return vn(e,r)}function xn(t,n){var r=function(e){return t.getCanonicalFileName(e)},i=e.toPath(t.getCommonSourceDirectory(),t.getCurrentDirectory(),r),a=e.getNormalizedAbsolutePath(n,t.getCurrentDirectory()),o=e.getRelativePathToDirectoryOrUrl(i,a,i,r,!1);return e.removeFileExtension(o)}function kn(t,n,r){var i=n.getCompilerOptions();return(i.outDir?e.removeFileExtension(Tn(t,n,i.outDir)):e.removeFileExtension(t.fileName))+r}function Sn(t,n){var r=n.getCompilerOptions(),i=r.declarationDir||r.outDir,a=i?Tn(t,n,i):t.fileName;return e.removeFileExtension(a)+".d.ts"}function Cn(t,n){var r=t.getCompilerOptions(),i=function(e){return t.isSourceFileFromExternalLibrary(e)};if(r.outFile||r.out){var a=e.getEmitModuleKind(r),o=a===e.ModuleKind.AMD||a===e.ModuleKind.System;return e.filter(t.getSourceFiles(),function(t){return(o||!e.isExternalModule(t))&&Dn(t,r,i)})}var s=void 0===n?t.getSourceFiles():[n];return e.filter(s,function(e){return Dn(e,r,i)})}function Dn(e,t,n){return!(t.noEmitForJsFiles&&Je(e)||e.isDeclarationFile||n(e))}function Tn(t,n,r){var i=e.getNormalizedAbsolutePath(t.fileName,n.getCurrentDirectory()),a=n.getCommonSourceDirectory();return i=0===n.getCanonicalFileName(i).indexOf(n.getCanonicalFileName(a))?i.substring(a.length):i,e.combinePaths(r,i)}function En(t,n,r,i,a,o){t.writeFile(r,i,a,function(t){n.add(e.createCompilerDiagnostic(e.Diagnostics.Could_not_write_file_0_Colon_1,r,t))},o)}function wn(t,n){return e.getLineAndCharacterOfPosition(t,n).line}function An(t,n){return e.computeLineAndCharacterOfPosition(t,n).line}function Nn(t){return e.forEach(t.members,function(e){if(152===e.kind&&v(e.body))return e})}function Pn(e){if(e&&e.parameters.length>0){var t=2===e.parameters.length&&Fn(e.parameters[0]);return e.parameters[t?1:0]}}function On(e){var t=Pn(e);return t&&t.type}function In(e){if(e.parameters.length){var t=e.parameters[0];if(Fn(t))return t}}function Fn(e){return Mn(e.name)}function Mn(e){return e&&71===e.kind&&Rn(e)}function Rn(e){return 99===e.originalKeywordKind}function Ln(t,n){var r,i,a,o;return qt(n)?(r=n,153===n.kind?a=n:154===n.kind?o=n:e.Debug.fail("Accessor has wrong kind")):e.forEach(t,function(e){if((153===e.kind||154===e.kind)&&Yn(e,32)===Yn(n,32)){Wt(e.name)===Wt(n.name)&&(r?i||(i=e):r=e,153!==e.kind||a||(a=e),154!==e.kind||o||(o=e))}}),{firstAccessor:r,secondAccessor:i,getAccessor:a,setAccessor:o}}function Bn(e){return e.type?e.type:Ke(e)?dt(e):void 0}function jn(e){return e.type?e.type:Ke(e)?mt(e):void 0}function zn(e){if(e.typeParameters)return e.typeParameters;if(Ke(e)){var t=gt(e);return t&&t.typeParameters}}function Un(e){var t=Pn(e);return t&&Bn(t)}function Jn(e,t,n,r){Kn(e,t,n.pos,r)}function Kn(e,t,n,r){r&&r.length&&n!==r[0].pos&&An(e,n)!==An(e,r[0].pos)&&t.writeLine()}function qn(e,t,n,r){n!==r&&An(e,n)!==An(e,r)&&t.writeLine()}function Vn(e,t,n,r,i,a,o,s){if(r&&r.length>0){i&&n.write(" ");for(var c=!1,u=0,l=r;u=g+2)break}d.push(m),f=m}if(d.length){var g=An(n,e.lastOrUndefined(d).end);An(n,e.skipTrivia(t,a.pos))>=g+2&&(Jn(n,r,a,u),Vn(t,n,r,d,!1,!0,o,i),l={nodePos:a.pos,detachedCommentEndPos:e.lastOrUndefined(d).end})}}return l}function Wn(t,n,r,i,a,o){if(42===t.charCodeAt(i+1))for(var s=e.computeLineAndCharacterOfPosition(n,i),c=n.length,u=void 0,l=i,d=s.line;l0){var m=p%hn(),g=gn((p-m)/hn());for(r.rawWrite(g);m;)r.rawWrite(" "),m--}else r.rawWrite("")}Gn(t,a,r,o,l,f),l=f}else r.write(t.substring(i,a))}function Gn(e,t,n,r,i,a){var o=Math.min(t,a-1),s=e.substring(i,o).replace(/^\s+|\s+$/g,"");s?(n.write(s),o!==t&&n.writeLine()):n.writeLiteral(r)}function $n(t,n,r){for(var i=0;n=58&&e<=70}function ir(t){if(201===t.kind&&85===t.parent.token&&e.isClassLike(t.parent.parent))return t.parent.parent}function ar(t,n){return e.isBinaryExpression(t)&&(n?58===t.operatorToken.kind:rr(t.operatorToken.kind))&&e.isLeftHandSideExpression(t.left)}function or(e){if(ar(e,!0)){var t=e.left.kind;return 178===t||177===t}return!1}function sr(e){return void 0!==ir(e)}function cr(t){return 201===t.kind&&ur(t.expression)&&t.parent&&108===t.parent.token&&t.parent.parent&&e.isClassLike(t.parent.parent)}function ur(e){return 71===e.kind||179===e.kind&&ur(e.expression)}function lr(e){return 143===e.parent.kind&&e.parent.right===e||179===e.parent.kind&&e.parent.name===e}function dr(e){return 178===e.kind&&0===e.properties.length}function fr(e){return 177===e.kind&&0===e.elements.length}function _r(e){return pr(e)?e.declarations[0].localSymbol:void 0}function pr(t){return t&&e.length(t.declarations)>0&&Yn(t.declarations[0],512)}function mr(t){return e.find(e.supportedTypescriptExtensionsForExtractExtension,function(n){return e.fileExtensionIs(t,n)})}function gr(t){for(var n=[],r=t.length,i=0;i>6|192),n.push(63&a|128)):a<65536?(n.push(a>>12|224),n.push(a>>6&63|128),n.push(63&a|128)):a<131072?(n.push(a>>18|240),n.push(a>>12&63|128),n.push(a>>6&63|128),n.push(63&a|128)):e.Debug.assert(!1,"Unexpected code point")}return n}function hr(e){for(var t,n,r,i,a="",o=gr(e),s=0,c=o.length;s>2,n=(3&o[s])<<4|o[s+1]>>4,r=(15&o[s+1])<<2|o[s+2]>>6,i=63&o[s+2],s+1>=c?r=i=64:s+2>=c&&(i=64),a+=si.charAt(t)+si.charAt(n)+si.charAt(r)+si.charAt(i),s+=3;return a}function yr(t){switch(t.newLine){case 0:return ci;case 1:return ui}return e.sys?e.sys.newLine:ci}function vr(e,t,n){void 0===e&&(e=0);var r=br(t);if(0===e)return r.length>0&&0===r[0][0]?r[0][1]:"0";if(n){for(var i="",a=e,o=r.length-1;o>=0&&0!==a;o--){var s=r[o],c=s[0],u=s[1];0!==c&&(a&c)===c&&(a&=~c,i=u+(i?", ":"")+i)}if(0===a)return i}else for(var l=0,d=r;l0?Nr(e,e.decorators.end):e}function Or(e){return e.modifiers&&e.modifiers.length>0?Nr(e,e.modifiers.end):Pr(e)}function Ir(e){return e.pos===e.end}function Fr(t,n){return wr(t,t+e.tokenToString(n).length)}function Mr(e,t){return Br(e,e,t)}function Rr(e,t,n){return zr(Ur(e,n),Ur(t,n),n)}function Lr(e,t,n){return zr(e.end,t.end,n)}function Br(e,t,n){return zr(Ur(e,n),t.end,n)}function jr(e,t,n){return zr(e.end,Ur(t,n),n)}function zr(e,t,n){return e===t||wn(n,e)===wn(n,t)}function Ur(t,n){return e.positionIsSynthesized(t.pos)?-1:e.skipTrivia(n.text,t.pos)}function Jr(t){var n=e.getParseTreeNode(t);if(n)switch(n.parent.kind){case 232:case 233:return n===n.parent.name}return!1}function Kr(t){return e.filter(t.declarations,qr)}function qr(e){return void 0!==e.initializer}function Vr(e){return e.watch&&e.hasOwnProperty("watch")}function Hr(e){return 33554432&e.flags?e.checkFlags:0}function Wr(t){if(t.valueDeclaration){var n=e.getCombinedModifierFlags(t.valueDeclaration);return t.parent&&32&t.parent.flags?n:-29&n}if(6&Hr(t)){var r=t.checkFlags;return(256&r?8:64&r?4:16)|(512&r?32:0)}return 4194304&t.flags?36:0}function Gr(e,t){for(var n=new Array(t.length+1),r=new Array(t.length+1),i=0;i/;var Zr=/^(\/\/\/\s*/;e.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*/;var ei=/^(\/\/\/\s*/;e.isPartOfTypeNode=le,e.isChildOfNodeWithKind=de,e.forEachReturnStatement=fe,e.forEachYieldExpression=_e,e.getRestParameterElementType=pe,e.isVariableLike=me,e.introducesArgumentsExoticObject=ge,e.unwrapInnermostStatementOfLabel=he,e.isFunctionBlock=ye,e.isObjectLiteralMethod=ve,e.isObjectLiteralOrClassExpressionMethod=be,e.isIdentifierTypePredicate=xe,e.isThisTypePredicate=ke,e.getPropertyAssignment=Se,e.getContainingFunction=Ce,e.getContainingClass=De,e.getThisContainer=Te,e.getNewTargetContainer=Ee,e.getSuperContainer=we,e.getImmediatelyInvokedFunctionExpression=Ae,e.isSuperProperty=Ne,e.getEntityNameFromTypeNode=Pe,e.getInvokedExpression=Oe,e.nodeCanBeDecorated=Ie,e.nodeIsDecorated=Fe,e.nodeOrChildIsDecorated=Me,e.childIsDecorated=Re,e.isJSXTagName=Le,e.isPartOfExpression=Be,e.isExternalModuleImportEqualsDeclaration=je,e.getExternalModuleImportEqualsDeclarationExpression=ze,e.isInternalModuleImportEqualsDeclaration=Ue,e.isSourceFileJavaScript=Je,e.isInJavaScriptFile=Ke,e.isInJSDoc=qe,e.isRequireCall=Ve,e.isSingleOrDoubleQuote=He,e.isDeclarationOfFunctionOrClassExpression=We,e.getRightMostAssignedExpression=Ge,e.isExportsIdentifier=$e,e.isModuleExportsPropertyAccessExpression=Xe,e.getSpecialPropertyAssignmentKind=Ye,e.getExternalModuleName=Qe,e.getNamespaceDeclarationNode=Ze,e.isDefaultImport=et,e.hasQuestionToken=tt,e.isJSDocConstructSignature=nt,e.hasJSDocParameterTags=rt,e.getAllJSDocs=at,e.getJSDocTags=ot,e.getJSDocParameterTags=ct,e.getParameterSymbolFromJSDoc=ut,e.getTypeParameterFromJsDoc=lt,e.getJSDocType=dt,e.getJSDocAugmentsTag=ft,e.getJSDocClassTag=_t,e.getJSDocReturnTag=pt,e.getJSDocReturnType=mt,e.getJSDocTemplateTag=gt,e.hasRestParameter=ht,e.hasDeclaredRestParameter=yt,e.isRestParameter=vt,e.isDeclaredRestParam=bt;!function(e){e[e.None=0]="None",e[e.Definite=1]="Definite",e[e.Compound=2]="Compound"}(e.AssignmentKind||(e.AssignmentKind={})),e.getAssignmentTargetKind=xt,e.isAssignmentTarget=kt,e.isDeleteTarget=St,e.isNodeDescendantOf=Ct,e.isInAmbientContext=Dt,e.isDeclarationName=Tt,e.isAnyDeclarationName=Et,e.isLiteralComputedPropertyDeclarationName=wt,e.isIdentifierName=At,e.isAliasSymbolDeclaration=Nt,e.exportAssignmentIsAlias=Pt,e.getClassExtendsHeritageClauseElement=Ot,e.getClassImplementsHeritageClauseElements=It,e.getInterfaceBaseTypeNodes=Ft,e.getHeritageClause=Mt,e.tryResolveScriptReference=Rt,e.getAncestor=Lt,e.getFileReferenceFromReferencePath=Bt,e.isKeyword=jt,e.isTrivia=zt;!function(e){e[e.Normal=0]="Normal",e[e.Generator=1]="Generator",e[e.Async=2]="Async",e[e.Invalid=4]="Invalid",e[e.AsyncGenerator=3]="AsyncGenerator"}(e.FunctionFlags||(e.FunctionFlags={})),e.getFunctionFlags=Ut,e.isAsyncFunction=Jt,e.isStringOrNumericLiteral=Kt,e.hasDynamicName=qt,e.isDynamicName=Vt,e.isWellKnownSymbolSyntactically=Ht,e.getPropertyNameForPropertyNameNode=Wt,e.getTextOfIdentifierOrLiteral=Gt,e.getEscapedTextOfIdentifierOrLiteral=$t,e.getPropertyNameForKnownSymbolName=Xt,e.isESSymbolIdentifier=Yt,e.isPushOrUnshiftIdentifier=Qt,e.isParameterDeclaration=Zt,e.getRootDeclaration=en,e.nodeStartsNewLexicalEnvironment=tn,e.nodeIsSynthesized=nn,e.getOriginalSourceFile=rn;!function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(e.Associativity||(e.Associativity={})),e.getExpressionAssociativity=an,e.getOperatorAssociativity=on,e.getExpressionPrecedence=sn,e.getOperator=cn,e.getOperatorPrecedence=un,e.createDiagnosticCollection=ln;var ti=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,ni=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,ri=/[\\\`\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,ii=e.createMapFromTemplate({"\0":"\\0","\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","Â…":"\\u0085"});e.escapeString=dn,e.isIntrinsicJsxName=_n;var ai=/[^\u0000-\u007F]/g;e.escapeNonAsciiString=mn;var oi=[""," "];e.getIndentString=gn,e.getIndentSize=hn,e.createTextWriter=yn,e.getResolvedExternalModuleName=vn,e.getExternalModuleNameFromDeclaration=bn,e.getExternalModuleNameFromPath=xn,e.getOwnEmitOutputFilePath=kn,e.getDeclarationEmitOutputFilePath=Sn,e.getSourceFilesToEmit=Cn,e.sourceFileMayBeEmitted=Dn,e.getSourceFilePathInNewDir=Tn,e.writeFile=En,e.getLineOfLocalPosition=wn,e.getLineOfLocalPositionFromLineMap=An,e.getFirstConstructorWithBody=Nn,e.getSetAccessorTypeAnnotationNode=On,e.getThisParameter=In,e.parameterIsThisKeyword=Fn,e.isThisIdentifier=Mn,e.identifierIsThisKeyword=Rn,e.getAllAccessorDeclarations=Ln,e.getEffectiveTypeAnnotationNode=Bn,e.getEffectiveReturnTypeNode=jn,e.getEffectiveTypeParameterDeclarations=zn,e.getEffectiveSetAccessorTypeAnnotationNode=Un,e.emitNewLineBeforeLeadingComments=Jn,e.emitNewLineBeforeLeadingCommentsOfPosition=Kn,e.emitNewLineBeforeLeadingCommentOfPosition=qn,e.emitComments=Vn,e.emitDetachedComments=Hn,e.writeCommentRange=Wn,e.hasModifiers=Xn,e.hasModifier=Yn,e.getSelectedModifierFlags=Qn,e.getModifierFlags=Zn,e.getModifierFlagsNoCache=er,e.modifierToFlag=tr,e.isLogicalOperator=nr,e.isAssignmentOperator=rr,e.tryGetClassExtendingExpressionWithTypeArguments=ir,e.isAssignmentExpression=ar,e.isDestructuringAssignment=or,e.isExpressionWithTypeArgumentsInClassExtendsClause=sr,e.isExpressionWithTypeArgumentsInClassImplementsClause=cr,e.isEntityNameExpression=ur,e.isRightSideOfQualifiedNameOrPropertyAccess=lr,e.isEmptyObjectLiteral=dr,e.isEmptyArrayLiteral=fr,e.getLocalSymbolForExportDefault=_r,e.tryExtractTypeScriptExtension=mr;var si="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";e.convertToBase64=hr;var ci="\r\n",ui="\n";e.getNewLineCharacter=yr,e.formatSyntaxKind=xr,e.formatModifierFlags=kr,e.formatTransformFlags=Sr,e.formatEmitFlags=Cr,e.formatSymbolFlags=Dr,e.formatTypeFlags=Tr,e.formatObjectFlags=Er,e.createRange=wr,e.moveRangeEnd=Ar,e.moveRangePos=Nr,e.moveRangePastDecorators=Pr,e.moveRangePastModifiers=Or,e.isCollapsedRange=Ir,e.createTokenRange=Fr,e.rangeIsOnSingleLine=Mr,e.rangeStartPositionsAreOnSameLine=Rr,e.rangeEndPositionsAreOnSameLine=Lr,e.rangeStartIsOnSameLineAsRangeEnd=Br,e.rangeEndIsOnSameLineAsRangeStart=jr,e.positionsAreOnSameLine=zr,e.getStartPositionOfRange=Ur,e.isDeclarationNameOfEnumOrNamespace=Jr,e.getInitializedVariables=Kr,e.isWatchSet=Vr,e.getCheckFlags=Hr,e.getDeclarationModifierFlagsFromSymbol=Wr,e.levenshtein=Gr,e.skipAlias=$r,e.getCombinedLocalAndExportSymbolFlags=Xr}(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 n(e){return e.start+e.length}function r(e){return 0===e.length}function i(e,t){return t>=e.start&&t=e.start&&n(t)<=n(e)}function o(e,t){return Math.max(e.start,t.start)=e.start}function u(e,t,r){var i=t+r;return t<=n(e)&&i>=e.start}function l(e,t,n,r){var i=e+t,a=n+r;return n<=i&&a>=e}function d(e,t){return t<=n(e)&&t>=e.start}function f(e,t){var r=Math.max(e.start,t.start),i=Math.min(n(e),n(t));if(r<=i)return p(r,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 m(e){return _(e.span.start,e.newLength)}function g(e){return r(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 r=t[0],i=r.span.start,a=n(r.span),o=i+r.newLength,s=1;s=3&&95===t.charCodeAt(0)&&95===t.charCodeAt(1)&&95===t.charCodeAt(2)?t.substr(1):t}function P(e){return e}function O(t){if(t){if(e.isJSDocPropertyLikeTag(t)&&143===t.name.kind)return t.name.right;if(194!==t.kind)return t.name;var n=t;switch(e.getSpecialPropertyAssignmentKind(n)){case 1:case 4:case 5:case 3:return n.left.name;default:return}}}e.getDefaultLibFileName=t,e.textSpanEnd=n,e.textSpanIsEmpty=r,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=m,e.textChangeRangeIsUnchanged=g,e.createTextChangeRange=h,e.unchangedTextChangeRange=h(_(0,0),0),e.collapseTextChangeRangesAcrossMultipleVersions=y,e.getTypeParameterOwner=v,e.isParameterPropertyDeclaration=b,e.isEmptyBindingPattern=x,e.isEmptyBindingElement=k,e.getCombinedModifierFlags=C,e.getCombinedNodeFlags=D,e.validateLocaleAndSetLanguage=T,e.getOriginalNode=E,e.isParseTreeNode=w,e.getParseTreeNode=A,e.unescapeLeadingUnderscores=N,e.unescapeIdentifier=P,e.getNameOfDeclaration=O}(o||(o={})),function(e){function t(e){return 8===e.kind}function n(e){return 9===e.kind}function r(e){return 10===e.kind}function i(e){return 12===e.kind}function a(e){return 13===e.kind}function o(e){return 14===e.kind}function s(e){return 15===e.kind}function c(e){return 16===e.kind}function u(e){return 71===e.kind}function l(e){return 143===e.kind}function d(e){return 144===e.kind}function f(e){return 145===e.kind}function _(e){return 146===e.kind}function p(e){return 147===e.kind}function m(e){return 148===e.kind}function g(e){return 149===e.kind}function h(e){return 150===e.kind}function y(e){return 151===e.kind}function v(e){return 152===e.kind}function b(e){return 153===e.kind}function x(e){return 154===e.kind}function k(e){return 155===e.kind}function S(e){return 156===e.kind}function C(e){return 157===e.kind}function D(e){return 158===e.kind}function T(e){return 159===e.kind}function E(e){return 160===e.kind}function w(e){return 161===e.kind}function A(e){return 162===e.kind}function N(e){return 163===e.kind}function P(e){return 164===e.kind}function O(e){return 165===e.kind}function I(e){return 166===e.kind}function F(e){return 167===e.kind}function M(e){return 168===e.kind}function R(e){return 169===e.kind}function L(e){return 170===e.kind}function B(e){return 171===e.kind}function j(e){return 172===e.kind}function z(e){return 173===e.kind}function U(e){return 174===e.kind}function J(e){return 175===e.kind}function K(e){return 176===e.kind}function q(e){return 177===e.kind}function V(e){return 178===e.kind}function H(e){return 179===e.kind}function W(e){return 180===e.kind}function G(e){return 181===e.kind}function $(e){return 182===e.kind}function X(e){return 183===e.kind}function Y(e){return 184===e.kind}function Q(e){return 185===e.kind}function Z(e){for(;288===e.kind;)e=e.expression;return e}function ee(e){return 186===e.kind}function te(e){return 187===e.kind}function ne(e){return 188===e.kind}function re(e){return 191===e.kind}function ie(e){return 190===e.kind}function ae(e){return 191===e.kind}function oe(e){return 192===e.kind}function se(e){return 193===e.kind}function ce(e){return 194===e.kind}function ue(e){return 195===e.kind}function le(e){return 196===e.kind}function de(e){return 197===e.kind}function fe(e){return 198===e.kind}function _e(e){return 199===e.kind}function pe(e){return 200===e.kind}function me(e){return 201===e.kind}function ge(e){return 202===e.kind}function he(e){return 203===e.kind}function ye(e){return 204===e.kind}function ve(e){return 205===e.kind}function be(e){return 206===e.kind}function xe(e){return 207===e.kind}function ke(e){return 208===e.kind}function Se(e){return 209===e.kind}function Ce(e){return 210===e.kind}function De(e){return 211===e.kind}function Te(e){return 212===e.kind}function Ee(e){return 213===e.kind}function we(e){return 214===e.kind}function Ae(e){return 215===e.kind}function Ne(e){return 216===e.kind}function Pe(e){return 217===e.kind}function Oe(e){return 218===e.kind}function Ie(e){return 219===e.kind}function Fe(e){return 220===e.kind}function Me(e){return 221===e.kind}function Re(e){return 222===e.kind}function Le(e){return 223===e.kind}function Be(e){return 224===e.kind}function je(e){return 225===e.kind}function ze(e){return 226===e.kind}function Ue(e){return 227===e.kind}function Je(e){return 228===e.kind}function Ke(e){return 229===e.kind}function qe(e){return 230===e.kind}function Ve(e){return 231===e.kind}function He(e){return 232===e.kind}function We(e){return 233===e.kind}function Ge(e){return 234===e.kind}function $e(e){return 235===e.kind}function Xe(e){return 236===e.kind}function Ye(e){return 237===e.kind}function Qe(e){return 238===e.kind}function Ze(e){return 239===e.kind}function et(e){return 240===e.kind}function tt(e){return 241===e.kind}function nt(e){return 242===e.kind}function rt(e){return 243===e.kind}function it(e){return 244===e.kind}function at(e){return 245===e.kind}function ot(e){return 246===e.kind}function st(e){return 247===e.kind}function ct(e){return 248===e.kind}function ut(e){return 249===e.kind}function lt(e){return 250===e.kind}function dt(e){return 251===e.kind}function ft(e){return 252===e.kind}function _t(e){return 253===e.kind}function pt(e){return 254===e.kind}function mt(e){return 255===e.kind}function gt(e){return 256===e.kind}function ht(e){return 257===e.kind}function yt(e){return 258===e.kind}function vt(e){return 259===e.kind}function bt(e){return 260===e.kind}function xt(e){return 261===e.kind}function kt(e){return 262===e.kind}function St(e){return 263===e.kind}function Ct(e){return 264===e.kind}function Dt(e){return 265===e.kind}function Tt(e){return 266===e.kind}function Et(e){return 267===e.kind}function wt(e){return 268===e.kind}function At(e){return 269===e.kind}function Nt(e){return 270===e.kind}function Pt(e){return 271===e.kind}function Ot(e){return 272===e.kind}function It(e){return 273===e.kind}function Ft(e){return 274===e.kind}function Mt(e){return 275===e.kind}function Rt(e){return 277===e.kind}function Lt(e){return 279===e.kind}function Bt(e){return 280===e.kind}function jt(e){return 281===e.kind}function zt(e){return 282===e.kind}function Ut(e){return 283===e.kind}function Jt(e){return 284===e.kind}function Kt(e){return 284===e.kind||279===e.kind}function qt(e){return 285===e.kind}e.isNumericLiteral=t,e.isStringLiteral=n,e.isJsxText=r,e.isRegularExpressionLiteral=i,e.isNoSubstitutionTemplateLiteral=a,e.isTemplateHead=o,e.isTemplateMiddle=s,e.isTemplateTail=c,e.isIdentifier=u,e.isQualifiedName=l,e.isComputedPropertyName=d,e.isTypeParameterDeclaration=f,e.isParameter=_,e.isDecorator=p,e.isPropertySignature=m,e.isPropertyDeclaration=g,e.isMethodSignature=h,e.isMethodDeclaration=y,e.isConstructorDeclaration=v,e.isGetAccessorDeclaration=b,e.isSetAccessorDeclaration=x,e.isCallSignatureDeclaration=k,e.isConstructSignatureDeclaration=S,e.isIndexSignatureDeclaration=C,e.isTypePredicateNode=D,e.isTypeReferenceNode=T,e.isFunctionTypeNode=E,e.isConstructorTypeNode=w,e.isTypeQueryNode=A,e.isTypeLiteralNode=N,e.isArrayTypeNode=P,e.isTupleTypeNode=O,e.isUnionTypeNode=I,e.isIntersectionTypeNode=F,e.isParenthesizedTypeNode=M,e.isThisTypeNode=R,e.isTypeOperatorNode=L,e.isIndexedAccessTypeNode=B,e.isMappedTypeNode=j,e.isLiteralTypeNode=z,e.isObjectBindingPattern=U,e.isArrayBindingPattern=J,e.isBindingElement=K,e.isArrayLiteralExpression=q,e.isObjectLiteralExpression=V,e.isPropertyAccessExpression=H,e.isElementAccessExpression=W,e.isCallExpression=G,e.isNewExpression=$,e.isTaggedTemplateExpression=X,e.isTypeAssertion=Y,e.isParenthesizedExpression=Q,e.skipPartiallyEmittedExpressions=Z,e.isFunctionExpression=ee,e.isArrowFunction=te,e.isDeleteExpression=ne,e.isTypeOfExpression=re,e.isVoidExpression=ie,e.isAwaitExpression=ae,e.isPrefixUnaryExpression=oe,e.isPostfixUnaryExpression=se,e.isBinaryExpression=ce,e.isConditionalExpression=ue,e.isTemplateExpression=le,e.isYieldExpression=de,e.isSpreadElement=fe,e.isClassExpression=_e,e.isOmittedExpression=pe,e.isExpressionWithTypeArguments=me,e.isAsExpression=ge,e.isNonNullExpression=he,e.isMetaProperty=ye,e.isTemplateSpan=ve,e.isSemicolonClassElement=be,e.isBlock=xe,e.isVariableStatement=ke,e.isEmptyStatement=Se,e.isExpressionStatement=Ce,e.isIfStatement=De,e.isDoStatement=Te,e.isWhileStatement=Ee,e.isForStatement=we,e.isForInStatement=Ae,e.isForOfStatement=Ne,e.isContinueStatement=Pe,e.isBreakStatement=Oe,e.isReturnStatement=Ie,e.isWithStatement=Fe,e.isSwitchStatement=Me,e.isLabeledStatement=Re,e.isThrowStatement=Le,e.isTryStatement=Be,e.isDebuggerStatement=je,e.isVariableDeclaration=ze,e.isVariableDeclarationList=Ue,e.isFunctionDeclaration=Je,e.isClassDeclaration=Ke,e.isInterfaceDeclaration=qe,e.isTypeAliasDeclaration=Ve,e.isEnumDeclaration=He,e.isModuleDeclaration=We,e.isModuleBlock=Ge,e.isCaseBlock=$e,e.isNamespaceExportDeclaration=Xe,e.isImportEqualsDeclaration=Ye,e.isImportDeclaration=Qe,e.isImportClause=Ze,e.isNamespaceImport=et,e.isNamedImports=tt,e.isImportSpecifier=nt,e.isExportAssignment=rt,e.isExportDeclaration=it,e.isNamedExports=at,e.isExportSpecifier=ot,e.isMissingDeclaration=st,e.isExternalModuleReference=ct,e.isJsxElement=ut,e.isJsxSelfClosingElement=lt,e.isJsxOpeningElement=dt,e.isJsxClosingElement=ft,e.isJsxAttribute=_t,e.isJsxAttributes=pt,e.isJsxSpreadAttribute=mt,e.isJsxExpression=gt,e.isCaseClause=ht,e.isDefaultClause=yt,e.isHeritageClause=vt,e.isCatchClause=bt,e.isPropertyAssignment=xt,e.isShorthandPropertyAssignment=kt,e.isSpreadAssignment=St,e.isEnumMember=Ct,e.isSourceFile=Dt,e.isBundle=Tt,e.isJSDocTypeExpression=Et,e.isJSDocAllType=wt,e.isJSDocUnknownType=At,e.isJSDocNullableType=Nt,e.isJSDocNonNullableType=Pt,e.isJSDocOptionalType=Ot,e.isJSDocFunctionType=It,e.isJSDocVariadicType=Ft,e.isJSDoc=Mt,e.isJSDocAugmentsTag=Rt,e.isJSDocParameterTag=Lt,e.isJSDocReturnTag=Bt,e.isJSDocTypeTag=jt,e.isJSDocTemplateTag=zt,e.isJSDocTypedefTag=Ut,e.isJSDocPropertyTag=Jt,e.isJSDocPropertyLikeTag=Kt,e.isJSDocTypeLiteral=qt}(o||(o={})),function(e){function t(e){return 286===e.kind}function n(e){return r(e.kind)}function r(e){return e>=143}function i(e){return e.kind>=0&&e.kind<=142}function a(e){return e.hasOwnProperty("pos")&&e.hasOwnProperty("end")}function o(e){return 8<=e&&e<=13}function s(e){return o(e.kind)}function c(e){return 13<=e&&e<=16}function u(e){var t=e.kind;return 15===t||16===t}function l(e){switch(e.kind){case 9:case 14:case 15:case 16:case 13:return!0;default:return!1}}function d(t){return e.isIdentifier(t)&&t.autoGenerateKind>0}function f(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 _(e){return f(e.kind)}function p(e){var t=e.kind;return 143===t||71===t}function m(e){var t=e.kind;return 71===t||9===t||8===t||144===t}function g(e){var t=e.kind;return 71===t||174===t||175===t}function h(e){return e&&y(e.kind)}function y(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 273:case 161:return!0}return!1}function v(e){var t=e.kind;return 152===t||149===t||151===t||153===t||154===t||157===t||206===t||247===t}function b(e){return e&&(229===e.kind||199===e.kind)}function x(e){return e&&(153===e.kind||154===e.kind)}function k(e){var t=e.kind;return 156===t||155===t||148===t||150===t||157===t||247===t}function S(e){var t=e.kind;return 261===t||262===t||263===t||151===t||153===t||154===t||247===t}function C(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 D(e){return C(e.kind)}function T(e){switch(e.kind){case 160:case 161:return!0}return!1}function E(e){if(e){var t=e.kind;return 175===t||174===t}return!1}function w(e){var t=e.kind;return 177===t||178===t}function A(e){var t=e.kind;return 176===t||200===t}function N(e){switch(e.kind){case 226:case 146:case 176:return!0}return!1}function P(e){return O(e)||I(e)}function O(e){switch(e.kind){case 174:case 178:return!0}return!1}function I(e){switch(e.kind){case 175:case 177:return!0}return!1}function F(e){var t=e.kind;return 179===t||143===t}function M(e){switch(e.kind){case 251:case 250:case 181:case 182:case 183:case 147:return!0;default:return!1}}function R(e){return 181===e.kind||182===e.kind}function L(e){var t=e.kind;return 196===t||13===t}function B(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||91===e||203===e||204===e}function j(t){return B(e.skipPartiallyEmittedExpressions(t).kind)}function z(e){return 192===e||193===e||188===e||189===e||190===e||191===e||184===e||B(e)}function U(t){return z(e.skipPartiallyEmittedExpressions(t).kind)}function J(e){switch(e.kind){case 193:return!0;case 192:return 43===e.operator||44===e.operator;default:return!1}}function K(e){return 195===e||197===e||187===e||194===e||198===e||202===e||200===e||289===e||z(e)}function q(t){return K(e.skipPartiallyEmittedExpressions(t).kind)}function V(e){var t=e.kind;return 184===t||202===t}function H(e){return 288===e.kind}function W(e){return 287===e.kind}function G(e){return W(e)||H(e)}function $(e,t){switch(e.kind){case 214:case 215:case 216:case 212:case 213:return!0;case 222:return t&&$(e.statement,t)}return!1}function X(e){return 215===e.kind||216===e.kind}function Y(t){return e.isBlock(t)||q(t)}function Q(t){return e.isBlock(t)}function Z(t){return e.isVariableDeclarationList(t)||q(t)}function ee(e){var t=e.kind;return 234===t||233===t||71===t}function te(e){var t=e.kind;return 234===t||233===t}function ne(e){var t=e.kind;return 71===t||233===t}function re(e){var t=e.kind;return 241===t||240===t}function ie(e){return 233===e.kind||232===e.kind}function ae(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||283===e}function oe(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 se(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||287===e||291===e||290===e}function ce(t){return 145===t.kind?282!==t.parent.kind||e.isInJavaScriptFile(t):ae(t.kind)}function ue(e){return oe(e.kind)}function le(e){return se(e.kind)}function de(e){var t=e.kind;return se(t)||oe(t)||fe(e)}function fe(t){return 207===t.kind&&((void 0===t.parent||224!==t.parent.kind&&260!==t.parent.kind)&&!e.isFunctionBlock(t))}function _e(e){var t=e.kind;return 248===t||143===t||71===t}function pe(e){var t=e.kind;return 99===t||71===t||179===t}function me(e){var t=e.kind;return 249===t||256===t||250===t||10===t}function ge(e){var t=e.kind;return 253===t||255===t}function he(e){var t=e.kind;return 9===t||256===t}function ye(e){var t=e.kind;return 251===t||250===t}function ve(e){var t=e.kind;return 257===t||258===t}function be(e){return e.kind>=267&&e.kind<=285}function xe(e){return 275===e.kind||ke(e)}function ke(e){return e.kind>=276&&e.kind<=285}e.isSyntaxList=t,e.isNode=n,e.isNodeKind=r,e.isToken=i,e.isNodeArray=a,e.isLiteralKind=o,e.isLiteralExpression=s,e.isTemplateLiteralKind=c,e.isTemplateMiddleOrTemplateTail=u,e.isStringTextContainingNode=l,e.isGeneratedIdentifier=d,e.isModifierKind=f,e.isModifier=_,e.isEntityName=p,e.isPropertyName=m,e.isBindingName=g,e.isFunctionLike=h,e.isFunctionLikeKind=y,e.isClassElement=v,e.isClassLike=b,e.isAccessor=x,e.isTypeElement=k,e.isObjectLiteralElementLike=S,e.isTypeNode=D,e.isFunctionOrConstructorTypeNode=T,e.isBindingPattern=E,e.isAssignmentPattern=w,e.isArrayBindingElement=A,e.isDeclarationBindingElement=N,e.isBindingOrAssignmentPattern=P,e.isObjectBindingOrAssignmentPattern=O,e.isArrayBindingOrAssignmentPattern=I,e.isPropertyAccessOrQualifiedName=F,e.isCallLikeExpression=M,e.isCallOrNewExpression=R,e.isTemplateLiteral=L,e.isLeftHandSideExpression=j,e.isUnaryExpression=U,e.isUnaryExpressionWithWrite=J,e.isExpression=q,e.isAssertionExpression=V,e.isPartiallyEmittedExpression=H,e.isNotEmittedStatement=W,e.isNotEmittedOrPartiallyEmittedNode=G,e.isIterationStatement=$,e.isForInOrOfStatement=X,e.isConciseBody=Y,e.isFunctionBody=Q,e.isForInitializer=Z,e.isModuleBody=ee,e.isNamespaceBody=te,e.isJSDocNamespaceBody=ne,e.isNamedImportBindings=re,e.isModuleOrEnumDeclaration=ie,e.isDeclaration=ce,e.isDeclarationStatement=ue,e.isStatementButNotDeclaration=le,e.isStatement=de,e.isModuleReference=_e,e.isJsxTagNameExpression=pe,e.isJsxChild=me,e.isJsxAttributeLike=ge,e.isStringLiteralOrJsxExpression=he,e.isJsxOpeningLikeElement=ye,e.isCaseOrDefaultClause=ve,e.isJSDocNode=be,e.isJSDocCommentContainingNode=xe,e.isJSDocTag=ke}(o||(o={}));var o;!function(e){function t(t,n,r){return 265===t?new(g||(g=e.objectAllocator.getSourceFileConstructor()))(t,n,r):71===t?new(m||(m=e.objectAllocator.getIdentifierConstructor()))(t,n,r):e.isNodeKind(t)?new(_||(_=e.objectAllocator.getNodeConstructor()))(t,n,r):new(p||(p=e.objectAllocator.getTokenConstructor()))(t,n,r)}function n(e,t){return t&&e(t)}function r(e,t,n){if(n){if(t)return t(n);for(var r=0,i=n;r107)}function $(t,n,r){return void 0===r&&(r=!0),L()===t?(r&&B(),!0):(n?O(n):O(e.Diagnostics._0_expected,e.tokenToString(t)),!1)}function X(e){return L()===e&&(B(),!0)}function Y(e){if(L()===e)return Z()}function Q(e,t,n,r){return Y(e)||ae(e,t,n,r)}function Z(){var e=ne(L());return B(),ie(e)}function ee(){return 25===L()||(18===L()||1===L()||ma.hasPrecedingLineBreak())}function te(){return ee()?(25===L()&&B(),!0):$(25)}function ne(t,n){return la++,n>=0||(n=ma.getStartPos()),e.isNodeKind(t)?new ta(t,n,n):71===t?new ra(t,n,n):new na(t,n,n)}function re(e,t){var n=e||[];return t>=0||(t=M()),n.pos=t,n.end=t,n}function ie(e,t){return e.end=void 0===t?ma.getStartPos():t,pa&&(e.flags|=pa),ha&&(ha=!1,e.flags|=32768),e}function ae(t,n,r,i){n?I(ma.getStartPos(),0,r,i):O(r,i);var a=ne(t,ma.getStartPos());return 71===t?a.escapedText="":(e.isLiteralKind(t)||e.isTemplateLiteralKind(t))&&(a.text=""),ie(a)}function oe(e){var t=da.get(e);return void 0===t&&da.set(e,t=e),t}function se(t,n){if(fa++,t){var r=ne(71);return 71!==L()&&(r.originalKeywordKind=L()),r.escapedText=e.escapeLeadingUnderscores(oe(ma.getTokenValue())),B(),ie(r)}return ae(71,!1,n||e.Diagnostics.Identifier_expected)}function ce(e){return se(G(),e)}function ue(){return se(e.tokenIsIdentifierOrKeyword(L()))}function le(){return e.tokenIsIdentifierOrKeyword(L())||9===L()||8===L()}function de(e){if(9===L()||8===L()){var t=Ye();return t.text=oe(t.text),t}return e&&21===L()?_e():ue()}function fe(){return de(!0)}function _e(){var e=ne(144);return $(21),e.expression=b(an),$(22),ie(e)}function pe(e){return L()===e&&W(ge)}function me(){return B(),!ma.hasPrecedingLineBreak()&&ye()}function ge(){return 76===L()?83===B():84===L()?(B(),79===L()?H(ve):39!==L()&&118!==L()&&17!==L()&&ye()):79===L()?ve():115===L()?(B(),ye()):me()}function he(){return e.isModifierKind(L())&&W(ge)}function ye(){return 21===L()||17===L()||39===L()||24===L()||le()}function ve(){return B(),75===L()||89===L()||109===L()||117===L()&&H(Lr)||120===L()&&H(Br)}function be(t,n){if(Pe(t))return!0;switch(t){case 0:case 1:case 3:return!(25===L()&&n)&&Jr();case 2:return 73===L()||79===L();case 4:return H(St);case 5:return H(_i)||25===L()&&!n;case 6:return 21===L()||le();case 12:return 21===L()||39===L()||24===L()||le();case 17:return le();case 9:return 21===L()||24===L()||le();case 7:return 17===L()?H(xe):n?G()&&!Ce():tn()&&!Ce();case 8:return Zr();case 10:return 26===L()||24===L()||Zr();case 18:return G();case 11:case 15:return 26===L()||24===L()||nn();case 16:return _t();case 19:case 20:return 26===L()||Bt();case 21:return Ti();case 22:return e.tokenIsIdentifierOrKeyword(L());case 13:return e.tokenIsIdentifierOrKeyword(L())||17===L();case 14:return!0}e.Debug.fail("Non-exhaustive case in 'isListElement'.")}function xe(){if(e.Debug.assert(17===L()),18===B()){var t=B();return 26===t||17===t||85===t||108===t}return!0}function ke(){return B(),G()}function Se(){return B(),e.tokenIsIdentifierOrKeyword(L())}function Ce(){return(108===L()||85===L())&&H(De)}function De(){return B(),nn()}function Te(e){if(1===L())return!0;switch(e){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 22:return 18===L();case 3:return 18===L()||73===L()||79===L();case 7:return 17===L()||85===L()||108===L();case 8:return Ee();case 18:return 29===L()||19===L()||17===L()||85===L()||108===L();case 11:return 20===L()||25===L();case 15:case 20:case 10:return 22===L();case 16:case 17:return 20===L()||22===L();case 19:return 26!==L();case 21:return 17===L()||18===L();case 13:return 29===L()||41===L();case 14:return 27===L()&&H(Bi)}}function Ee(){return!!ee()||(!!kn(L())||36===L())}function we(){for(var e=0;e<23;e++)if(_a&1<=0&&(i.hasTrailingComma=!0),i.end=R(),_a=r,i}function qe(){return re()}function Ve(e,t,n,r){if($(n)){var i=Ke(e,t);return $(r),i}return qe()}function He(e,t){for(var n=e?ue():ce(t),r=ma.getStartPos();X(23);){if(27===L()){n.jsdocDotPos=r;break}r=ma.getStartPos(),n=We(n,Ge(e))}return n}function We(e,t){var n=ne(143,e.pos);return n.left=e,n.right=t,ie(n)}function Ge(t){if(ma.hasPrecedingLineBreak()&&e.tokenIsIdentifierOrKeyword(L())){if(H(Rr))return ae(71,!0,e.Diagnostics.Identifier_expected)}return t?ue():ce()}function $e(){var t=ne(196);t.head=Qe(),e.Debug.assert(14===t.head.kind,"Template head has wrong token kind");var n=re();do{n.push(Xe())}while(15===e.lastOrUndefined(n).literal.kind);return n.end=R(),t.templateSpans=n,ie(t)}function Xe(){var t=ne(205);t.expression=b(an);var n;return 18===L()?(U(),n=Ze()):n=Q(16,!1,e.Diagnostics._0_expected,e.tokenToString(18)),t.literal=n,ie(t)}function Ye(){return et(L())}function Qe(){var t=et(L());return e.Debug.assert(14===t.kind,"Template head has wrong token kind"),t}function Ze(){var t=et(L());return e.Debug.assert(15===t.kind||16===t.kind,"Template fragment has wrong token kind"),t}function et(e){var t=ne(e),n=ma.getTokenValue();return t.text=n,ma.hasExtendedUnicodeEscape()&&(t.hasExtendedUnicodeEscape=!0),ma.isUnterminated()&&(t.isUnterminated=!0),8===t.kind&&(t.numericLiteralFlags=ma.getNumericLiteralFlags()),B(),ie(t),t}function tt(){var t=ne(159);return t.typeName=He(!!(1048576&pa),e.Diagnostics.Type_expected),ma.hasPrecedingLineBreak()||27!==L()||(t.typeArguments=Ve(19,Qt,27,29)),ie(t)}function nt(e){B();var t=ne(158,e.pos);return t.parameterName=e,t.type=Qt(),ie(t)}function rt(){var e=ne(169);return B(),ie(e)}function it(){var e=ne(268);return B(),ie(e)}function at(){var e=ma.getStartPos();if(B(),26===L()||18===L()||20===L()||29===L()||58===L()||49===L()){var t=ne(269,e);return ie(t)}var t=ne(270,e);return t.type=Qt(),ie(t)}function ot(){if(H(Li)){var e=ne(273);return B(),mt(56,36,e),ie(e)}var t=ne(159);return t.typeName=ue(),ie(t)}function st(){var e=ne(146);return 99!==L()&&94!==L()||(e.name=ue(),$(56)),e.type=Qt(),ie(e)}function ct(e){var t=ne(e);return B(),t.type=Qt(),ie(t)}function ut(){var e=ne(162);return $(103),e.exprName=He(!0),ie(e)}function lt(){var e=ne(145);return e.name=ce(),X(85)&&(Bt()||!nn()?e.constraint=Qt():e.expression=Fn()),X(58)&&(e.default=Qt()),ie(e)}function dt(){if(27===L())return Ve(18,lt,27,29)}function ft(){if(X(56))return Qt()}function _t(){return 24===L()||Zr()||e.isModifierKind(L())||57===L()||Bt(!0)}function pt(t){var n=ne(146);return 99===L()?(n.name=se(!0),n.type=ft(),ie(n)):(n.decorators=pi(),n.modifiers=mi(),n.dotDotDotToken=Y(24),n.name=ei(),0===e.getFullWidth(n.name)&&!e.hasModifiers(n)&&e.isModifierKind(L())&&B(),n.questionToken=Y(55),n.type=ft(),n.initializer=on(!0,t),l(ie(n)))}function mt(t,n,r){if(32&n||(r.typeParameters=dt()),r.parameters=gt(n),36===t)$(t),r.type=Xt();else if(X(t))r.type=Xt();else if(4&n){var i=ma.getTokenPos(),a=ma.getTextPos()-i,o=X(56===t?36:56);o&&(r.type=Xt(),I(i,a,e.Diagnostics._0_expected,e.tokenToString(t)))}}function gt(e){if($(19)){var t=w(),n=P();m(!!(1&e)),h(!!(2&e));var r=Ke(16,32&e?st:function(){return pt(!!(8&e))});if(m(t),h(n),!$(20)&&8&e)return;return r}return 8&e?void 0:qe()}function ht(){X(26)||te()}function yt(e){var t=ne(e);return 156===e&&$(94),mt(56,4,t),ht(),l(ie(t))}function vt(){return 21===L()&&H(bt)}function bt(){if(B(),24===L()||22===L())return!0;if(e.isModifierKind(L())){if(B(),G())return!0}else{if(!G())return!1;B()}return 56===L()||26===L()||55===L()&&(B(),56===L()||26===L()||22===L())}function xt(e,t,n){var r=ne(157,e);return r.decorators=t,r.modifiers=n,r.parameters=Ve(16,pt,21,22),r.type=en(),ht(),ie(r)}function kt(e,t){var n=fe(),r=Y(55);if(19===L()||27===L()){var i=ne(150,e);return i.modifiers=t,i.name=n,i.questionToken=r,mt(56,4,i),ht(),l(ie(i))}var a=ne(148,e);return a.modifiers=t,a.name=n,a.questionToken=r,a.type=en(),58===L()&&(a.initializer=li()),ht(),l(ie(a))}function St(){if(19===L()||27===L())return!0;for(var t;e.isModifierKind(L());)t=!0,B();return 21===L()||(le()&&(t=!0,B()),!!t&&(19===L()||27===L()||55===L()||56===L()||26===L()||ee()))}function Ct(){if(19===L()||27===L())return yt(155);if(94===L()&&H(Dt))return yt(156);var e=M(),t=mi();return vt()?xt(e,void 0,t):kt(e,t)}function Dt(){return B(),19===L()||27===L()}function Tt(){var e=ne(163);return e.members=Et(),ie(e)}function Et(){var e;return $(17)?(e=Ae(4,Ct),$(18)):e=qe(),e}function wt(){return B(),131===L()&&B(),21===L()&&ke()&&92===B()}function At(){var e=ne(145);return e.name=ce(),$(92),e.constraint=Qt(),ie(e)}function Nt(){var e=ne(172);return $(17),e.readonlyToken=Y(131),$(21),e.typeParameter=At(),$(22),e.questionToken=Y(55),e.type=en(),te(),$(18),ie(e)}function Pt(){var e=ne(165);return e.elementTypes=Ve(20,Qt,21,22),ie(e)}function Ot(){var e=ne(168);return $(19),e.type=Qt(),$(20),ie(e)}function It(e){var t=ne(e);return 161===e&&$(94),mt(36,4,t),ie(t)}function Ft(){var e=Z();return 23===L()?void 0:e}function Mt(e){var t,n=ne(173);e&&(t=ne(192),t.operator=38,B());var r;switch(L()){case 9:case 8:r=et(L());break;case 101:case 86:r=Z()}return e&&(t.operand=r,ie(t),r=t),n.literal=r,ie(n)}function Rt(){return 8===B()}function Lt(){switch(L()){case 119:case 136:case 133:case 122:case 137:case 139:case 130:case 134:return W(Ft)||tt();case 39:return it();case 55:return at();case 89:return ot();case 24:return ct(274);case 51:return ct(271);case 9:case 8:case 101:case 86:return Mt();case 38:return H(Rt)?Mt(!0):tt();case 105:case 95:return Z();case 99:var e=rt();return 126!==L()||ma.hasPrecedingLineBreak()?e:nt(e);case 103:return ut();case 17:return H(wt)?Nt():Tt();case 21:return Pt();case 19:return Ot();default:return tt()}}function Bt(e){switch(L()){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:case 39:return!0;case 38:return!e&&H(Rt);case 19:return!e&&H(jt);default:return G()}}function jt(){return B(),20===L()||_t()||Bt()}function zt(){var e=Lt(),t=function(e){switch(e){case 58:return 1048576&pa?272:void 0;case 51:return 271;case 55:return 270}}(L());if(!t)return e;B();var n=ne(t,e.pos);return n.type=e,ie(n)}function Ut(){for(var e=zt();!ma.hasPrecedingLineBreak()&&X(21);)if(Bt()){var t=ne(171,e.pos);t.objectType=e,t.indexType=Qt(),$(22),e=ie(t)}else{var t=ne(164,e.pos);t.elementType=e,$(22),e=ie(t)}return e}function Jt(e){var t=ne(170);return $(e),t.operator=e,t.type=Kt(),ie(t)}function Kt(){switch(L()){case 127:return Jt(127)}return Ut()}function qt(e,t,n){X(n);var r=t();if(L()===n){for(var i=re([r],r.pos);X(n);)i.push(t());i.end=R();var a=ne(e,r.pos);a.types=i,r=ie(a)}return r}function Vt(){return qt(167,Kt,48)}function Ht(){return qt(166,Vt,49)}function Wt(){return 27===L()||19===L()&&H($t)}function Gt(){if(e.isModifierKind(L())&&mi(),G()||99===L())return B(),!0;if(21===L()||17===L()){var t=oa.length;return ei(),t===oa.length}return!1}function $t(){if(B(),20===L()||24===L())return!0;if(Gt()){if(56===L()||26===L()||55===L()||58===L())return!0;if(20===L()&&(B(),36===L()))return!0}return!1}function Xt(){var e=G()&&W(Yt),t=Qt();if(e){var n=ne(158,e.pos);return n.parameterName=e,n.type=t,ie(n)}return t}function Yt(){var e=ce();if(126===L()&&!ma.hasPrecedingLineBreak())return B(),e}function Qt(){return y(20480,Zt)}function Zt(){return Wt()?It(160):94===L()?It(161):Ht()}function en(){return X(56)?Qt():void 0}function tn(){switch(L()){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;case 91:return H(Dt);default:return G()}}function nn(){if(tn())return!0;switch(L()){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!!Cn()||G()}}function rn(){return 17!==L()&&89!==L()&&75!==L()&&57!==L()&&nn()}function an(){var e=N();e&&g(!1);for(var t,n=sn();t=Y(26);)n=Tn(n,t,sn());return e&&g(!0),n}function on(t,n){if(58!==L()){if(ma.hasPrecedingLineBreak()||t&&17===L()||!nn())return;if(t&&n){var r=ae(71,!0,e.Diagnostics._0_expected,"=");return r.escapedText="= not found",r}}return $(58),sn()}function sn(){if(cn())return ln();var t=fn()||gn();if(t)return t;var n=xn(0);return 71===n.kind&&36===L()?dn(n):e.isLeftHandSideExpression(n)&&e.isAssignmentOperator(j())?Tn(n,Z(),sn()):bn(n)}function cn(){return 116===L()&&(!!w()||H(jr))}function un(){return B(),!ma.hasPrecedingLineBreak()&&G()}function ln(){var e=ne(197);return B(),ma.hasPrecedingLineBreak()||39!==L()&&!nn()?ie(e):(e.asteriskToken=Y(39),e.expression=sn(),ie(e))}function dn(t,n){e.Debug.assert(36===L(),"parseSimpleArrowFunctionExpression should only have been called if we had a =>");var r;n?(r=ne(187,n.pos),r.modifiers=n):r=ne(187,t.pos);var i=ne(146,t.pos);return i.name=t,ie(i),r.parameters=re([i],i.pos),r.parameters.end=i.end,r.equalsGreaterThanToken=Q(36,!1,e.Diagnostics._0_expected,"=>"),r.body=vn(!!n),l(ie(r))}function fn(){var t=_n();if(0!==t){var n=1===t?yn(!0):W(mn);if(n){var r=e.hasModifier(n,256),i=L();return n.equalsGreaterThanToken=Q(36,!1,e.Diagnostics._0_expected,"=>"),n.body=36===i||17===i?vn(r):ce(),l(ie(n))}}}function _n(){return 19===L()||27===L()||120===L()?H(pn):36===L()?1:0}function pn(){if(120===L()){if(B(),ma.hasPrecedingLineBreak())return 0;if(19!==L()&&27!==L())return 0}var t=L(),n=B();if(19===t){if(20===n){switch(B()){case 36:case 56:case 17:return 1;default:return 0}}return 21===n||17===n?2:24===n?1:G()?56===B()?1:2:0}if(e.Debug.assert(27===t),!G())return 0;if(1===aa.languageVariant){return H(function(){var e=B();if(85===e){switch(B()){case 58:case 29:return!1;default:return!0}}else if(26===e)return!0;return!1})?1:0}return 2}function mn(){return yn(!1)}function gn(){if(120===L()&&1===H(hn)){var e=gi();return dn(xn(0),e)}}function hn(){if(120===L()){if(B(),ma.hasPrecedingLineBreak()||36===L())return 0;var e=xn(0);if(!ma.hasPrecedingLineBreak()&&71===e.kind&&36===L())return 1}return 0}function yn(t){var n=ne(187);if(n.modifiers=gi(),mt(56,(e.hasModifier(n,256)?2:0)|(t?0:8),n),n.parameters&&(t||!(36!==L()&&17!==L()||e.find(n.parameters,function(t){return t.initializer&&e.isIdentifier(t.initializer)&&"= not found"===t.initializer.escapedText}))))return n}function vn(e){return 17===L()?yr(e?2:0):25!==L()&&89!==L()&&75!==L()&&Jr()&&!rn()?yr(16|(e?2:0)):e?C(sn):D(sn)}function bn(t){var n=Y(55);if(!n)return t;var r=ne(195,t.pos);return r.condition=t,r.questionToken=n,r.whenTrue=y(ga,sn),r.colonToken=Q(56,!1,e.Diagnostics._0_expected,e.tokenToString(56)),r.whenFalse=sn(),ie(r)}function xn(e){return Sn(e,Fn())}function kn(e){return 92===e||142===e}function Sn(e,t){for(;;){j();var n=Dn();if(!(40===L()?n>=e:n>e))break;if(92===L()&&A())break;if(118===L()){if(ma.hasPrecedingLineBreak())break;B(),t=En(t,Qt())}else t=Tn(t,Z(),xn(n))}return t}function Cn(){return(!A()||92!==L())&&Dn()>0}function Dn(){switch(L()){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 Tn(e,t,n){var r=ne(194,e.pos);return r.left=e,r.operatorToken=t,r.right=n,ie(r)}function En(e,t){var n=ne(202,e.pos);return n.expression=e,n.type=t,ie(n)}function wn(){var e=ne(192);return e.operator=L(),B(),e.operand=Mn(),ie(e)}function An(){var e=ne(188);return B(),e.expression=Mn(),ie(e)}function Nn(){var e=ne(189);return B(),e.expression=Mn(),ie(e)}function Pn(){var e=ne(190);return B(),e.expression=Mn(),ie(e)}function On(){return 121===L()&&(!!P()||H(jr))}function In(){var e=ne(191);return B(),e.expression=Mn(),ie(e)}function Fn(){if(Rn()){var t=Ln();return 40===L()?Sn(Dn(),t):t}var n=L(),r=Mn();if(40===L()){var i=e.skipTrivia(ua,r.pos);184===r.kind?I(i,r.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):I(i,r.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(n))}return r}function Mn(){switch(L()){case 37:case 38:case 52:case 51:return wn();case 80:return An();case 103:return Nn();case 105:return Pn();case 27:return Zn();case 121:if(On())return In();default:return Ln()}}function Rn(){switch(L()){case 37:case 38:case 52:case 51:case 80:case 103:case 105:case 121:return!1;case 27:if(1!==aa.languageVariant)return!1;default:return!0}}function Ln(){if(43===L()||44===L()){var t=ne(192);return t.operator=L(),B(),t.operand=Bn(),ie(t)}if(1===aa.languageVariant&&27===L()&&H(Se))return Jn(!0);var n=Bn();if(e.Debug.assert(e.isLeftHandSideExpression(n)),(43===L()||44===L())&&!ma.hasPrecedingLineBreak()){var t=ne(193,n.pos);return t.operand=n,t.operator=L(),B(),ie(t)}return n}function Bn(){var e;return 91===L()&&H(Dt)?(aa.flags|=524288,e=Z()):e=97===L()?zn():jn(),tr(e)}function jn(){return er(ar())}function zn(){var t=Z();if(19===L()||23===L()||21===L())return t;var n=ne(179,t.pos);return n.expression=t,Q(23,!1,e.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access),n.name=Ge(!0),ie(n)}function Un(e,t){return e.kind===t.kind&&(71===e.kind?e.escapedText===t.escapedText:99===e.kind||e.name.escapedText===t.name.escapedText&&Un(e.expression,t.expression))}function Jn(t){var n,r=Wn(t);if(251===r.kind){var i=ne(249,r.pos);i.openingElement=r,i.children=Vn(i.openingElement.tagName),i.closingElement=Qn(t),Un(i.openingElement.tagName,i.closingElement.tagName)||I(i.closingElement.pos,i.closingElement.end-i.closingElement.pos,e.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,e.getTextOfNodeFromSourceText(ua,i.openingElement.tagName)),n=ie(i)}else e.Debug.assert(250===r.kind),n=r;if(t&&27===L()){var a=W(function(){return Jn(!0)});if(a){O(e.Diagnostics.JSX_expressions_must_have_one_parent_element);var o=ne(194,n.pos);return o.end=a.end,o.left=n,o.right=a,o.operatorToken=ae(26,!1,void 0),o.operatorToken.pos=o.operatorToken.end=o.right.pos,o}}return n}function Kn(){var e=ne(10,ma.getStartPos());return e.containsOnlyWhiteSpaces=11===ca,ca=ma.scanJsxToken(),ie(e)}function qn(){switch(L()){case 10:case 11:return Kn();case 17:return $n(!1);case 27:return Jn(!1)}e.Debug.fail("Unknown JSX child kind "+L())}function Vn(t){var n=re(),r=_a;for(_a|=16384;;){if(ca=ma.reScanJsxToken(),28===L())break;if(1===L()){I(t.pos,t.end-t.pos,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(ua,t));break}if(7===L())break;var i=qn();i&&n.push(i)}return n.end=ma.getTokenPos(),_a=r,n}function Hn(){var e=ne(254);return e.properties=Ae(13,Xn),ie(e)}function Wn(e){var t=ma.getStartPos();$(27);var n,r=Gn(),i=Hn();return 29===L()?(n=ne(251,t),K()):($(41),e?$(29):($(29,void 0,!1),K()),n=ne(250,t)),n.tagName=r,n.attributes=i,ie(n)}function Gn(){J();for(var e=99===L()?Z():ue();X(23);){var t=ne(179,e.pos);t.expression=e,t.name=Ge(!0),e=ie(t)}return e}function $n(e){var t=ne(256);return $(17),18!==L()&&(t.dotDotDotToken=Y(24),t.expression=sn()),e?$(18):($(18,void 0,!1),K()),ie(t)}function Xn(){if(17===L())return Yn();J();var e=ne(253);if(e.name=ue(),58===L())switch(q()){case 9:e.initializer=Ye();break;default:e.initializer=$n(!0)}return ie(e)}function Yn(){var e=ne(255);return $(17),$(24),e.expression=an(),$(18),ie(e)}function Qn(e){var t=ne(252);return $(28),t.tagName=Gn(),e?$(29):($(29,void 0,!1),K()),ie(t)}function Zn(){var e=ne(184);return $(27),e.type=Qt(),$(29),e.expression=Mn(),ie(e)}function er(e){for(;;){if(Y(23)){var t=ne(179,e.pos);t.expression=e,t.name=Ge(!0),e=ie(t)}else if(51!==L()||ma.hasPrecedingLineBreak())if(N()||!X(21)){if(13!==L()&&14!==L())return e;var n=ne(183,e.pos);n.tag=e,n.template=13===L()?Ye():$e(),e=ie(n)}else{var r=ne(180,e.pos);if(r.expression=e,22!==L()&&(r.argumentExpression=b(an),9===r.argumentExpression.kind||8===r.argumentExpression.kind)){var i=r.argumentExpression;i.text=oe(i.text)}$(22),e=ie(r)}else{B();var a=ne(203,e.pos);a.expression=e,e=ie(a)}}}function tr(e){for(;;)if(e=er(e),27!==L()){if(19!==L())return e;var t=ne(181,e.pos);t.expression=e,t.arguments=nr(),e=ie(t)}else{var n=W(rr);if(!n)return e;var t=ne(181,e.pos);t.expression=e,t.typeArguments=n,t.arguments=nr(),e=ie(t)}}function nr(){$(19);var e=Ke(11,ur);return $(20),e}function rr(){if(X(27)){var e=Ke(19,Qt);if($(29))return e&&ir()?e:void 0}}function ir(){switch(L()){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 ar(){switch(L()){case 8:case 9:case 13:return Ye();case 99:case 97:case 95:case 101:case 86:return Z();case 19:return or();case 21:return lr();case 17:return _r();case 120:if(!H(Br))break;return pr();case 75:return yi();case 89:return pr();case 94:return gr();case 41:case 63:if(12===z())return Ye();break;case 14:return $e()}return ce(e.Diagnostics.Expression_expected)}function or(){var e=ne(185);return $(19),e.expression=b(an),$(20),l(ie(e))}function sr(){var e=ne(198);return $(24),e.expression=sn(),ie(e)}function cr(){return 24===L()?sr():26===L()?ne(200):sn()}function ur(){return y(ga,cr)}function lr(){var e=ne(177);return $(21),ma.hasPrecedingLineBreak()&&(e.multiLine=!0),e.elements=Ke(15,cr),$(22),ie(e)}function dr(e,t,n){return pe(125)?di(153,e,t,n):pe(135)?di(154,e,t,n):void 0}function fr(){var e=ma.getStartPos();if(Y(24)){var t=ne(263,e);return t.expression=sn(),l(ie(t))}var n=pi(),r=mi(),i=dr(e,n,r);if(i)return i;var a=Y(39),o=G(),s=fe(),c=Y(55);if(a||19===L()||27===L())return si(e,n,r,a,s,c);if(o&&(26===L()||18===L()||58===L())){var u=ne(262,e);u.name=s,u.questionToken=c;var d=Y(58);return d&&(u.equalsToken=d,u.objectAssignmentInitializer=b(sn)),l(ie(u))}var f=ne(261,e);return f.modifiers=r,f.name=s,f.questionToken=c,$(56),f.initializer=b(sn),l(ie(f))}function _r(){var e=ne(178);return $(17),ma.hasPrecedingLineBreak()&&(e.multiLine=!0),e.properties=Ke(12,fr,!0),$(18),ie(e)}function pr(){var t=N();t&&g(!1);var n=ne(186);n.modifiers=mi(),$(89),n.asteriskToken=Y(39);var r=n.asteriskToken?1:0,i=e.hasModifier(n,256)?2:0;return n.name=r&&i?T(mr):r?k(mr):i?C(mr):mr(),mt(56,r|i,n),n.body=yr(r|i),t&&g(!0),l(ie(n))}function mr(){return G()?ce():void 0}function gr(){var e=ma.getStartPos();if($(94),X(23)){var t=ne(204,e);return t.keywordToken=94,t.name=ue(),ie(t)}var n=ne(182,e);return n.expression=jn(),n.typeArguments=W(rr),(n.typeArguments||19===L())&&(n.arguments=nr()),ie(n)}function hr(e,t){var n=ne(207);return $(17,t)||e?(ma.hasPrecedingLineBreak()&&(n.multiLine=!0),n.statements=Ae(1,Vr),$(18)):n.statements=qe(),ie(n)}function yr(e,t){var n=w();m(!!(1&e));var r=P();h(!!(2&e));var i=N();i&&g(!1);var a=hr(!!(16&e),t);return i&&g(!0),m(n),h(r),a}function vr(){var e=ne(209);return $(25),ie(e)}function br(){var e=ne(211);return $(90),$(19),e.expression=b(an),$(20),e.thenStatement=Vr(),e.elseStatement=X(82)?Vr():void 0,ie(e)}function xr(){var e=ne(212);return $(81),e.statement=Vr(),$(106),$(19),e.expression=b(an),$(20),X(25),ie(e)}function kr(){var e=ne(213);return $(106),$(19),e.expression=b(an),$(20),e.statement=Vr(),ie(e)}function Sr(){var e=M();$(88);var t=Y(121);$(19);var n=void 0;25!==L()&&(n=104===L()||110===L()||76===L()?ni(!0):x(an));var r;if(t?$(142):X(142)){var i=ne(216,e);i.awaitModifier=t,i.initializer=n,i.expression=b(sn),$(20),r=i}else if(X(92)){var a=ne(215,e);a.initializer=n,a.expression=b(an),$(20),r=a}else{var o=ne(214,e);o.initializer=n,$(25),25!==L()&&20!==L()&&(o.condition=b(an)),$(25),20!==L()&&(o.incrementor=b(an)),$(20),r=o}return r.statement=Vr(),ie(r)}function Cr(e){var t=ne(e);return $(218===e?72:77),ee()||(t.label=ce()),te(),ie(t)}function Dr(){var e=ne(219);return $(96),ee()||(e.expression=b(an)),te(),ie(e)}function Tr(){var e=ne(220);return $(107),$(19),e.expression=b(an),$(20),e.statement=Vr(),ie(e)}function Er(){var e=ne(257);return $(73),e.expression=b(an),$(56),e.statements=Ae(3,Vr),ie(e)}function wr(){var e=ne(258);return $(79),$(56),e.statements=Ae(3,Vr),ie(e)}function Ar(){return 73===L()?Er():wr()}function Nr(){var e=ne(221);$(98),$(19),e.expression=b(an),$(20);var t=ne(235,ma.getStartPos());return $(17),t.clauses=Ae(2,Ar),$(18),e.caseBlock=ie(t),ie(e)}function Pr(){var e=ne(223);return $(100),e.expression=ma.hasPrecedingLineBreak()?void 0:b(an),te(),ie(e)}function Or(){var e=ne(224);return $(102),e.tryBlock=hr(!1),e.catchClause=74===L()?Ir():void 0,e.catchClause&&87!==L()||($(87),e.finallyBlock=hr(!1)),ie(e)}function Ir(){var e=ne(260);return $(74),X(19)?(e.variableDeclaration=ti(),$(20)):e.variableDeclaration=void 0,e.block=hr(!1),ie(e)}function Fr(){var e=ne(225);return $(78),te(),ie(e)}function Mr(){var e=ma.getStartPos(),t=b(an);if(71===t.kind&&X(56)){var n=ne(222,e);return n.label=t,n.statement=Vr(),l(ie(n))}var r=ne(210,e);return r.expression=t,te(),l(ie(r))}function Rr(){return B(),e.tokenIsIdentifierOrKeyword(L())&&!ma.hasPrecedingLineBreak()}function Lr(){return B(),75===L()&&!ma.hasPrecedingLineBreak()}function Br(){return B(),89===L()&&!ma.hasPrecedingLineBreak()}function jr(){return B(),(e.tokenIsIdentifierOrKeyword(L())||8===L()||9===L())&&!ma.hasPrecedingLineBreak()}function zr(){for(;;)switch(L()){case 104:case 110:case 76:case 89:case 75:case 83:return!0;case 109:case 138:return un();case 128:case 129:return Wr();case 117:case 120:case 124:case 112:case 113:case 114:case 131:if(B(),ma.hasPrecedingLineBreak())return!1;continue;case 141:return B(),17===L()||71===L()||84===L();case 91:return B(),9===L()||39===L()||17===L()||e.tokenIsIdentifierOrKeyword(L());case 84:if(B(),58===L()||39===L()||17===L()||79===L()||118===L())return!0;continue;case 115:B();continue;default:return!1}}function Ur(){return H(zr)}function Jr(){switch(L()){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 91:return Ur()||H(Dt);case 76:case 84:return Ur();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 Ur()||!H(Rr);default:return nn()}}function Kr(){return B(),G()||17===L()||21===L()}function qr(){return H(Kr)}function Vr(){switch(L()){case 25:return vr();case 17:return hr(!1);case 104:return ii(ma.getStartPos(),void 0,void 0);case 110:if(qr())return ii(ma.getStartPos(),void 0,void 0);break;case 89:return ai(ma.getStartPos(),void 0,void 0);case 75:return vi(ma.getStartPos(),void 0,void 0);case 90:return br();case 81:return xr();case 106:return kr();case 88:return Sr();case 77:return Cr(217);case 72:return Cr(218);case 96:return Dr();case 107:return Tr();case 98:return Nr();case 100:return Pr();case 102:case 74:case 87:return Or();case 78:return Fr();case 57:return Hr();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(Ur())return Hr()}return Mr()}function Hr(){var t=M(),n=pi(),r=mi();switch(L()){case 104:case 110:case 76:return ii(t,n,r);case 89:return ai(t,n,r);case 75:return vi(t,n,r);case 109:return wi(t,n,r);case 138:return Ai(t,n,r);case 83:return Pi(t,n,r);case 141:case 128:case 129:return Mi(t,n,r);case 91:return zi(t,n,r);case 84:switch(B(),L()){case 79:case 58:return Qi(t,n,r);case 118:return ji(t,n,r);default:return Yi(t,n,r)}default:if(n||r){var i=ae(247,!0,e.Diagnostics.Declaration_expected);return i.pos=t,i.decorators=n,i.modifiers=r,ie(i)}}}function Wr(){return B(),!ma.hasPrecedingLineBreak()&&(G()||9===L())}function Gr(e,t){return 17!==L()&&ee()?void te():yr(e,t)}function $r(){if(26===L())return ne(200);var e=ne(176);return e.dotDotDotToken=Y(24),e.name=ei(),e.initializer=on(!1),ie(e)}function Xr(){var e=ne(176);e.dotDotDotToken=Y(24);var t=G(),n=fe();return t&&56!==L()?e.name=n:($(56),e.propertyName=n,e.name=ei()),e.initializer=on(!1),ie(e)}function Yr(){var e=ne(174);return $(17),e.elements=Ke(9,Xr),$(18),ie(e)}function Qr(){var e=ne(175);return $(21),e.elements=Ke(10,$r),$(22),ie(e)}function Zr(){return 17===L()||21===L()||G()}function ei(){return 21===L()?Qr():17===L()?Yr():ce()}function ti(){var e=ne(226);return e.name=ei(),e.type=en(),kn(L())||(e.initializer=li()),ie(e)}function ni(t){var n=ne(227);switch(L()){case 104:break;case 110:n.flags|=1;break;case 76:n.flags|=2;break;default:e.Debug.fail()}if(B(),142===L()&&H(ri))n.declarations=qe();else{var r=A();p(t),n.declarations=Ke(8,ti),p(r)}return ie(n)}function ri(){return ke()&&20===B()}function ii(e,t,n){var r=ne(208,e);return r.decorators=t,r.modifiers=n,r.declarationList=ni(!1),te(),l(ie(r))}function ai(t,n,r){var i=ne(228,t);i.decorators=n,i.modifiers=r,$(89),i.asteriskToken=Y(39),i.name=e.hasModifier(i,512)?mr():ce();var a=i.asteriskToken?1:0,o=e.hasModifier(i,256)?2:0;return mt(56,a|o,i),i.body=Gr(a|o,e.Diagnostics.or_expected),l(ie(i))}function oi(t,n,r){var i=ne(152,t);return i.decorators=n,i.modifiers=r,$(123),mt(56,0,i),i.body=Gr(0,e.Diagnostics.or_expected),l(ie(i))}function si(t,n,r,i,a,o,s){var c=ne(151,t);c.decorators=n,c.modifiers=r,c.asteriskToken=i,c.name=a,c.questionToken=o;var u=i?1:0,d=e.hasModifier(c,256)?2:0;return mt(56,u|d,c),c.body=Gr(u|d,s),l(ie(c))}function ci(t,n,r,i,a){var o=ne(149,t);return o.decorators=n,o.modifiers=r,o.name=i,o.questionToken=a,o.type=en(),o.initializer=e.hasModifier(o,32)?b(li):y(6144,li),te(),l(ie(o))}function ui(t,n,r){var i=Y(39),a=fe(),o=Y(55);return i||19===L()||27===L()?si(t,n,r,i,a,o,e.Diagnostics.or_expected):ci(t,n,r,a,o)}function li(){return on(!1)}function di(e,t,n,r){var i=ne(e,t);return i.decorators=n,i.modifiers=r,i.name=fe(),mt(56,0,i),i.body=Gr(0),l(ie(i))}function fi(e){switch(e){case 114:case 112:case 113:case 115:case 131:return!0;default:return!1}}function _i(){var t;if(57===L())return!0;for(;e.isModifierKind(L());){if(t=L(),fi(t))return!0;B()}if(39===L())return!0;if(le()&&(t=L(),B()),21===L())return!0;if(void 0!==t){if(!e.isKeyword(t)||135===t||125===t)return!0;switch(L()){case 19:case 27:case 56:case 58:case 55:return!0;default:return ee()}}return!1}function pi(){for(var e;;){var t=M();if(!X(57))break;var n=ne(147,t);n.expression=S(Bn),ie(n),e?e.push(n):e=re([n],t)}return e&&(e.end=R()),e}function mi(e){for(var t;;){var n=ma.getStartPos(),r=L();if(76===L()&&e){if(!W(me))break}else if(!he())break;var i=ie(ne(r,n));t?t.push(i):t=re([i],n)}return t&&(t.end=ma.getStartPos()),t}function gi(){var e;if(120===L()){var t=ma.getStartPos(),n=L();B();e=re([ie(ne(n,t))],t),e.end=ma.getStartPos()}return e}function hi(){if(25===L()){var t=ne(206);return B(),ie(t)}var n=M(),r=pi(),i=mi(!0),a=dr(n,r,i);if(a)return a;if(123===L())return oi(n,r,i);if(vt())return xt(n,r,i);if(e.tokenIsIdentifierOrKeyword(L())||9===L()||8===L()||39===L()||21===L())return ui(n,r,i);if(r||i){return ci(n,r,i,ae(71,!0,e.Diagnostics.Declaration_expected),void 0)}e.Debug.fail("Should not have attempted to parse class member declaration.")}function yi(){return bi(ma.getStartPos(),void 0,void 0,199)}function vi(e,t,n){return bi(e,t,n,229)}function bi(e,t,n,r){var i=ne(r,e);return i.decorators=t,i.modifiers=n,$(75),i.name=xi(),i.typeParameters=dt(),i.heritageClauses=Si(),$(17)?(i.members=Ei(),$(18)):i.members=qe(),l(ie(i))}function xi(){return G()&&!ki()?ce():void 0}function ki(){return 108===L()&&H(Se)}function Si(){if(Ti())return Ae(21,Ci)}function Ci(){var e=L();if(85===e||108===e){var t=ne(259);return t.token=e,B(),t.types=Ke(7,Di),ie(t)}}function Di(){var e=ne(201);return e.expression=Bn(),27===L()&&(e.typeArguments=Ve(19,Qt,27,29)),ie(e)}function Ti(){return 85===L()||108===L()}function Ei(){return Ae(5,hi)}function wi(e,t,n){var r=ne(230,e);return r.decorators=t,r.modifiers=n,$(109),r.name=ce(),r.typeParameters=dt(),r.heritageClauses=Si(),r.members=Et(),l(ie(r))}function Ai(e,t,n){var r=ne(231,e);return r.decorators=t,r.modifiers=n,$(138),r.name=ce(),r.typeParameters=dt(),$(58),r.type=Qt(),te(),l(ie(r))}function Ni(){var e=ne(264,ma.getStartPos());return e.name=fe(),e.initializer=b(li),l(ie(e))}function Pi(e,t,n){var r=ne(232,e);return r.decorators=t,r.modifiers=n,$(83),r.name=ce(),$(17)?(r.members=Ke(6,Ni),$(18)):r.members=qe(),l(ie(r))}function Oi(){var e=ne(234,ma.getStartPos());return $(17)?(e.statements=Ae(1,Vr),$(18)):e.statements=qe(),ie(e)}function Ii(e,t,n,r){var i=ne(233,e),a=16&r;return i.decorators=t,i.modifiers=n,i.flags|=r,i.name=ce(),i.body=X(23)?Ii(M(),void 0,void 0,4|a):Oi(),l(ie(i))}function Fi(e,t,n){var r=ne(233,e);return r.decorators=t,r.modifiers=n,141===L()?(r.name=ce(),r.flags|=512):(r.name=Ye(),r.name.text=oe(r.name.text)),17===L()?r.body=Oi():te(),ie(r)}function Mi(e,t,n){var r=0;if(141===L())return Fi(e,t,n);if(X(129))r|=16;else if($(128),9===L())return Fi(e,t,n);return Ii(e,t,n,r)}function Ri(){return 132===L()&&H(Li)}function Li(){return 19===B()}function Bi(){return 41===B()}function ji(e,t,n){var r=ne(236,e);return r.decorators=t,r.modifiers=n,$(118),$(129),r.name=ce(),te(),ie(r)}function zi(e,t,n){$(91);var r,i=ma.getStartPos();if(G()&&(r=ce(),26!==L()&&140!==L()))return Ui(e,t,n,r);var a=ne(238,e);return a.decorators=t,a.modifiers=n,(r||39===L()||17===L())&&(a.importClause=Ji(r,i),$(140)),a.moduleSpecifier=Vi(),te(),ie(a)}function Ui(e,t,n,r){var i=ne(237,e);return i.decorators=t,i.modifiers=n,i.name=r,$(58),i.moduleReference=Ki(),te(),l(ie(i))}function Ji(e,t){var n=ne(239,t);return e&&(n.name=e),n.name&&!X(26)||(n.namedBindings=39===L()?Hi():Wi(241)),ie(n)}function Ki(){return Ri()?qi():He(!1)}function qi(){var e=ne(248);return $(132),$(19),e.expression=Vi(),$(20),ie(e)}function Vi(){if(9===L()){var e=Ye();return e.text=oe(e.text),e}return an()}function Hi(){var e=ne(240);return $(39),$(118),e.name=ce(),ie(e)}function Wi(e){var t=ne(e);return t.elements=Ve(22,241===e?$i:Gi,17,18),ie(t)}function Gi(){return Xi(246)}function $i(){return Xi(242)}function Xi(t){var n=ne(t),r=e.isKeyword(L())&&!G(),i=ma.getTokenPos(),a=ma.getTextPos(),o=ue();return 118===L()?(n.propertyName=o,$(118),r=e.isKeyword(L())&&!G(),i=ma.getTokenPos(),a=ma.getTextPos(),n.name=ue()):n.name=o,242===t&&r&&I(i,a-i,e.Diagnostics.Identifier_expected),ie(n)}function Yi(e,t,n){var r=ne(244,e);return r.decorators=t,r.modifiers=n,X(39)?($(140),r.moduleSpecifier=Vi()):(r.exportClause=Wi(245),(140===L()||9===L()&&!ma.hasPrecedingLineBreak())&&($(140),r.moduleSpecifier=Vi())),te(),ie(r)}function Qi(e,t,n){var r=ne(243,e);return r.decorators=t,r.modifiers=n,X(58)?r.isExportEquals=!0:$(79),r.expression=sn(),te(),ie(r)}function Zi(t){for(var n,r=e.createScanner(t.languageVersion,!1,0,ua),i=[],a=[],o=[],s=void 0;;){var c=r.scan();if(2!==c){if(e.isTrivia(c))continue;break}var u={kind:r.getToken(),pos:r.getTokenPos(),end:r.getTextPos()},l=ua.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)),_&&oa.push(e.createFileDiagnostic(t,u.pos,u.end-u.pos,_))}else{var p=/^\/\/\/\s*=1&&(o=0,r.push(ma.getTokenText())),e=0;break;case 57:break;case 5:if(2===o)t(ma.getTokenText());else{var s=ma.getTokenText();void 0!==n&&e+s.length>n&&r.push(s.slice(n-e-1)),e+=s.length}break;case 39:if(0===o){o=1,e+=ma.getTokenText().length;break}default:o=2,t(ma.getTokenText())}if(57===L())break;T()}return i(r),a(r),r}function l(e,t){var n=ne(276,e.pos);return n.atToken=e,n.tagName=t,ie(n)}function d(e,t){e.comment=t.join(""),P?P.push(e):P=re([e],e.pos),P.end=e.end}function f(){return W(function(){if(s(),17===L())return r()})}function _(){var e=X(21),t=E();return e&&(s(),Y(58)&&an(),$(22)),{name:t,isBracketed:e}}function p(t){switch(t.kind){case 134:return!0;case 164:return p(t.elementType);default:return e.isTypeReferenceNode(t)&&e.isIdentifier(t.typeName)&&"Object"===t.typeName.escapedText}}function m(e,t,n){var r=f(),i=!r;s();var a=_(),o=a.name,c=a.isBracketed;s(),i&&(r=f());var u=1===n?ne(279,e.pos):ne(284,e.pos),l=g(r,o);return l&&(r=l,i=!0),u.atToken=e,u.tagName=t,u.typeExpression=r,u.name=o,u.isNameFirst=i,u.isBracketed=c,ie(u)}function g(e,t){if(e&&p(e.type)){for(var n=ne(267,ma.getTokenPos()),r=void 0,i=void 0,a=ma.getStartPos(),o=void 0;r=W(function(){return S(1,t)});)o||(o=[]),o.push(r);if(o)return i=ne(285,a),i.jsDocPropertyTags=o,164===e.type.kind&&(i.isArrayType=!0),n.type=ie(i),ie(n)}}function h(t,n){e.forEach(P,function(e){return 280===e.kind})&&I(n.pos,ma.getTokenPos()-n.pos,e.Diagnostics._0_tag_already_specified,n.escapedText);var r=ne(280,t.pos);return r.atToken=t,r.tagName=n,r.typeExpression=f(),ie(r)}function y(t,n){e.forEach(P,function(e){return 281===e.kind})&&I(n.pos,ma.getTokenPos()-n.pos,e.Diagnostics._0_tag_already_specified,n.escapedText);var r=ne(281,t.pos);return r.atToken=t,r.tagName=n,r.typeExpression=f(),ie(r)}function v(e,t){var n=f(),r=ne(277,e.pos);return r.atToken=e,r.tagName=t,r.typeExpression=n,ie(r)}function b(e,t){var n=ne(278,e.pos);return n.atToken=e,n.tagName=t,ie(n)}function x(e,t){function n(e){var t=ma.getTokenPos(),r=w();if(r&&X(23)){var i=ne(233,t);return i.flags|=e,i.name=r,i.body=n(4),ie(i)}return r&&4&e&&(r.isInJSDocNamespace=!0),r}var r=f();s();var i=ne(283,e.pos);if(i.atToken=e,i.tagName=t,i.fullName=n(0),i.fullName)for(var a=i.fullName;;){if(71===a.kind||!a.body){i.name=71===a.kind?a:a.name;break}a=a.body}if(s(),i.typeExpression=r,!r||p(r.type)){for(var o=void 0,c=void 0,u=void 0,l=ma.getStartPos();o=W(function(){return S(0)});)if(c||(c=ne(285,l)),281===o.kind){if(u)break;u=o}else c.jsDocPropertyTags||(c.jsDocPropertyTags=[]),c.jsDocPropertyTags.push(o);c&&(r&&164===r.type.kind&&(c.isArrayType=!0),i.typeExpression=u&&!p(u.typeExpression.type)?u.typeExpression:ie(c))}return ie(i)}function k(t,n){for(;!e.isIdentifier(t)||!e.isIdentifier(n);){if(e.isIdentifier(t)||e.isIdentifier(n)||t.right.escapedText!==n.right.escapedText)return!1;t=t.left,n=n.left}return t.escapedText===n.escapedText}function S(t,n){for(var r=!0,i=!1;;)switch(T(),L()){case 57:if(r){var a=C(t);return!(a&&279===a.kind&&(e.isIdentifier(a.name)||!k(n,a.name.left)))&&a}i=!1;break;case 4:r=!0,i=!1;break;case 39:i&&(r=!1),i=!0;break;case 71:r=!1;break;case 1:return!1}}function C(t){e.Debug.assert(57===L());var n=ne(57,ma.getStartPos());n.end=ma.getTextPos(),T();var r=w();if(s(),!r)return!1;switch(r.escapedText){case"type":return 0===t&&y(n,r);case"prop":case"property":return 0===t&&m(n,r,t);case"arg":case"argument":case"param":return 1===t&&m(n,r,t)}return!1}function D(t,n){e.forEach(P,function(e){return 282===e.kind})&&I(n.pos,ma.getTokenPos()-n.pos,e.Diagnostics._0_tag_already_specified,n.escapedText);for(var r=re();;){var i=w();if(s(),!i)return void I(ma.getStartPos(),0,e.Diagnostics.Identifier_expected);var a=ne(145,i.pos);if(a.name=i,ie(a),r.push(a),26!==L())break;T(),s()}var o=ne(282,t.pos);return o.atToken=t,o.tagName=n,o.typeParameters=r,ie(o),r.end=o.end,o}function T(){return ca=ma.scanJSDocToken()}function E(){var e=w(!0);for(X(21)&&$(22);X(23);){var t=w(!0);X(21)&&$(22),e=We(e,t)}return e}function w(t){if(void 0===t&&(t=!1),!e.tokenIsIdentifierOrKeyword(L()))return t?ae(71,!0,e.Diagnostics.Identifier_expected):void O(e.Diagnostics.Identifier_expected);var n=ma.getTokenPos(),r=ma.getTextPos(),i=ne(71,n);return i.escapedText=e.escapeLeadingUnderscores(A.substring(n,r)),ie(i,r),T(),i}var A=ua;t=t||0;var N=void 0===n?A.length:t+n;n=N-t,e.Debug.assert(t>=0),e.Debug.assert(t<=N),e.Debug.assert(N<=A.length);var P,F,M=[];return function(e,t){return 47===e.charCodeAt(t)&&42===e.charCodeAt(t+1)&&42===e.charCodeAt(t+2)&&42!==e.charCodeAt(t+3)}(A,t)?(ma.scanRange(t+3,n-5,function(){function e(e){s||(s=u),M.push(e),u+=e.length}var n=!0,r=1,s=void 0,u=t-Math.max(A.lastIndexOf("\n",t),0)+4;for(T();5===L();)T();for(4===L()&&(r=0,u=0,T());1!==L();){switch(L()){case 57:0===r||1===r?(a(M),c(u),r=0,n=!1,s=void 0,u++):e(ma.getTokenText());break;case 4:M.push(ma.getTokenText()),r=0,u=0;break;case 39:var l=ma.getTokenText();1===r||2===r?(r=2,e(l)):(r=1,u+=l.length);break;case 71:e(ma.getTokenText()),r=2;break;case 5:var d=ma.getTokenText();2===r?M.push(d):void 0!==s&&u+d.length>s&&M.push(d.slice(s-u-1)),u+=d.length;break;case 1:break;default:r=2,e(ma.getTokenText())}n?T():n=!0}i(M),a(M),F=o()}),F):F}t.parseJSDocTypeExpressionForTests=n,t.parseJSDocTypeExpression=r,t.parseIsolatedJSDocComment=i,t.parseJSDocComment=a;var u;!function(e){e[e.BeginningOfLine=0]="BeginningOfLine",e[e.SawAsterisk=1]="SawAsterisk",e[e.SavingComments=2]="SavingComments"}(u||(u={}));var l;!function(e){e[e.Property=0]="Property",e[e.Parameter=1]="Parameter"}(l||(l={})),t.parseJSDocCommentWorker=o}(ba=t.JSDocParser||(t.JSDocParser={}))}(h||(h={}));var y;!function(t){function n(t,n,r,i){if(i=i||e.Debug.shouldAssert(2),d(t,n,r,i),e.textChangeRangeIsUnchanged(r))return t;if(0===t.statements.length)return h.parseSourceFile(t.fileName,n,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,r);d(t,n,l,i),e.Debug.assert(l.span.start<=r.span.start),e.Debug.assert(e.textSpanEnd(l.span)===e.textSpanEnd(r.span)),e.Debug.assert(e.textSpanEnd(e.textChangeRangeNewSpan(l))===e.textSpanEnd(e.textChangeRangeNewSpan(r)));var _=e.textChangeRangeNewSpan(l).length-l.span.length;return c(a,l.span.start,e.textSpanEnd(l.span),e.textSpanEnd(e.textChangeRangeNewSpan(l)),_,o,n,i),h.parseSourceFile(t.fileName,n,t.languageVersion,s,!0,t.scriptKind)}function r(t,n,r,o,c,u){function l(t){var n="";if(u&&a(t)&&(n=o.substring(t.pos,t.end)),t._children&&(t._children=void 0),t.pos+=r,t.end+=r,u&&a(t)&&e.Debug.assert(n===c.substring(t.pos,t.end)),i(t,l,d),t.jsDoc)for(var f=0,_=t.jsDoc;f<_.length;f++){var p=_[f];i(p,l,d)}s(t,u)}function d(e){e._children=void 0,e.pos+=r,e.end+=r;for(var t=0,n=e;t=n,"Adjusting an element that was entirely before the change range"),e.Debug.assert(t.pos<=r,"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>=r?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,n){if(n){var r=t.pos;i(t,function(t){e.Debug.assert(t.pos>=r),r=t.end}),e.Debug.assert(r<=t.end)}}function c(t,n,a,c,u,l,d,f){function _(t){if(e.Debug.assert(t.pos<=t.end),t.pos>a)return void r(t,!1,u,l,d,f);var m=t.end;if(m>=n)return t.intersectsChange=!0,t._children=void 0,o(t,n,a,c,u),i(t,_,p),void s(t,f);e.Debug.assert(ma)return void r(t,!0,u,l,d,f);var i=t.end;if(i>=n){t.intersectsChange=!0,t._children=void 0,o(t,n,a,c,u);for(var s=0,p=t;s0&&i<=1;i++){var a=l(t,r);e.Debug.assert(a.pos<=r);var o=a.pos;r=Math.max(0,o-1)}var s=e.createTextSpanFromBounds(r,e.textSpanEnd(n.span)),c=n.newLength+(n.span.start-r);return e.createTextChangeRange(s,c)}function l(t,n){function r(t){var n=void 0;return i(t,function(t){e.nodeIsPresent(t)&&(n=t)}),n}function a(t){if(!e.nodeIsMissing(t))return t.pos<=n?(t.pos>=s.pos&&(s=t),nn),!0)}var o,s=t;if(i(t,a),o){var c=function(e){for(;;){var t=r(e);if(!t)return e;e=t}}(o);c.pos>s.pos&&(s=c)}return s}function d(t,n,r,i){var a=t.text;if(r&&(e.Debug.assert(a.length-r.span.length+r.newLength===n.length),i||e.Debug.shouldAssert(3))){var o=a.substr(0,r.span.start),s=n.substr(0,r.span.start);e.Debug.assert(o===s);var c=a.substring(e.textSpanEnd(r.span),a.length),u=n.substring(e.textSpanEnd(e.textChangeRangeNewSpan(r)),n.length);e.Debug.assert(c===u)}}function f(t){function n(e){function n(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 O(t,n){n.parent=t,e.forEachChild(n,function(e){return O(n,e)})}!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 I;!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"}(I||(I={}));var F=function(){function n(t,n){Et=t,wt=n,At=e.getEmitScriptTarget(wt),Vt=i(Et,n),Wt=e.createUnderscoreEscapedMap(),$t=0,Gt=Et.isDeclarationFile,Ht=e.objectAllocator.getSymbolConstructor(),Et.locals||(He(Et),Et.symbolCount=$t,Et.classifiableNames=Wt),Et=void 0,wt=void 0,At=void 0,Nt=void 0,Pt=void 0,Ot=void 0,It=void 0,Ft=!1,Mt=void 0,Rt=void 0,Lt=void 0,Bt=void 0,jt=void 0,zt=void 0,Jt=void 0,Kt=!1,qt=0,Qt=0}function i(e,t){return!((void 0===t.alwaysStrict?!t.strict:!t.alwaysStrict)||e.isDeclarationFile)||!!e.externalModuleIndicator}function a(e,t){return $t++,new Ht(e,t)}function o(t,n,r){if(t.flags|=r,n.symbol=t,t.declarations||(t.declarations=[]),t.declarations.push(n),1952&r&&!t.exports&&(t.exports=e.createSymbolTable()),6240&r&&!t.members&&(t.members=e.createSymbolTable()),107455&r){var i=t.valueDeclaration;(!i||i.kind!==n.kind&&233===i.kind)&&(t.valueDeclaration=n)}}function s(t){var n=e.getNameOfDeclaration(t);if(n){if(e.isAmbientModule(t)){var r=e.getTextOfIdentifierOrLiteral(n);return e.isGlobalScopeAugmentation(t)?"__global":'"'+r+'"'}if(144===n.kind){var i=n.expression;return e.isStringOrNumericLiteral(i)?e.escapeLeadingUnderscores(i.text):(e.Debug.assert(e.isWellKnownSymbolSyntactically(i)),e.getPropertyNameForKnownSymbolName(e.unescapeLeadingUnderscores(i.name.escapedText)))}return e.getEscapedTextOfIdentifierOrLiteral(n)}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:if(2===e.getSpecialPropertyAssignmentKind(t))return"export=";e.Debug.fail("Unknown binary declaration kind");break;case 228:case 229:return e.hasModifier(t,512)?"default":void 0;case 273:return e.isJSDocConstructSignature(t)?"__new":"__call";case 146:e.Debug.assert(273===t.parent.kind);var a=t.parent;return"arg"+e.indexOf(a.parameters,t);case 283:var o=t.parent&&t.parent.parent,s=void 0;if(o&&208===o.kind&&o.declarationList.declarations.length>0){var c=o.declarationList.declarations[0].name;e.isIdentifier(c)&&(s=c.escapedText)}return s}}function c(t){return t.name?e.declarationNameToString(t.name):e.unescapeLeadingUnderscores(s(t))}function u(t,n,r,i,u,l){e.Debug.assert(!e.hasDynamicName(r));var d,f=e.hasModifier(r,512),_=f&&n?"default":s(r);if(void 0===_)d=a(0,"__missing");else if(d=t.get(_),788448&i&&Wt.set(_,!0),d){if(l&&!d.isReplaceableByMethod)return d;if(d.flags&u)if(d.isReplaceableByMethod)t.set(_,d=a(0,_));else{r.name&&(r.name.parent=r);var p=2&d.flags?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0;d.declarations&&d.declarations.length&&(f?p=e.Diagnostics.A_module_cannot_have_multiple_default_exports:d.declarations&&d.declarations.length&&(f||243===r.kind&&!r.isExportEquals)&&(p=e.Diagnostics.A_module_cannot_have_multiple_default_exports)),e.forEach(d.declarations,function(t){Et.bindDiagnostics.push(e.createDiagnosticForNode(e.getNameOfDeclaration(t)||t,p,c(t)))}),Et.bindDiagnostics.push(e.createDiagnosticForNode(e.getNameOfDeclaration(r)||r,p,c(r))),d=a(0,_)}}else t.set(_,d=a(0,_)),l&&(d.isReplaceableByMethod=!0);return o(d,r,i),d.parent=n,d}function l(t,n,r){var i=1&e.getCombinedModifierFlags(t);if(2097152&n)return 246===t.kind||237===t.kind&&i?u(Pt.symbol.exports,Pt.symbol,t,n,r):u(Pt.locals,void 0,t,n,r);283===t.kind&&e.Debug.assert(e.isInJavaScriptFile(t));var a=283===t.kind&&t.name&&71===t.name.kind&&t.name.isInJSDocNamespace;if(!e.isAmbientModule(t)&&(i||32&Pt.flags)||a){var o=107455&n?1048576:0,s=u(Pt.locals,void 0,t,o,r);return s.exportSymbol=u(Pt.symbol.exports,Pt.symbol,t,n,r),t.localSymbol=s,s}return u(Pt.locals,void 0,t,n,r)}function d(t,n){var r=Pt,i=Ot;if(1&n?(Pt=Ot=t,32&n&&(Pt.locals=e.createSymbolTable()),pe(Pt)):2&n&&(Ot=t,Ot.locals=void 0),4&n){var a=Mt,o=Rt,s=Lt,c=Bt,u=Jt,l=Kt,d=16&n&&!e.hasModifier(t,256)&&!!e.getImmediatelyInvokedFunctionExpression(t);d?Bt=k():(Mt={flags:2},144&n&&(Mt.container=t),Bt=void 0),Rt=void 0,Lt=void 0,Jt=void 0,Kt=!1,f(t),t.flags&=-1409,!(1&Mt.flags)&&8&n&&e.nodeIsPresent(t.body)&&(t.flags|=128,Kt&&(t.flags|=256)),265===t.kind&&(t.flags|=qt),d?(D(Bt,Mt),Mt=N(Bt)):Mt=a,Rt=o,Lt=s,Bt=c,Jt=u,Kt=l}else 64&n?(Ft=!1,f(t),t.flags=Ft?64|t.flags:-65&t.flags):f(t);Pt=r,Ot=i}function f(e){if(Gt)m(e);else if(536870912&e.transformFlags)Gt=!0,m(e),Gt=!1,Qt|=e.transformFlags&~P(e.kind);else{var t=Qt;Qt=0,m(e),Qt=t|r(e,Qt)}}function _(t){if(void 0!==t)if(Gt)e.forEach(t,He);else{var n=Qt;Qt=0;for(var r=0,i=0,a=t;i=108&&t.originalKeywordKind<=116&&!e.isIdentifierName(t)&&!e.isInAmbientContext(t)&&(Et.parseDiagnostics.length||Et.bindDiagnostics.push(e.createDiagnosticForNode(t,Pe(t),e.declarationNameToString(t))))}function Pe(t){return e.getContainingClass(t)?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:Et.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 Oe(t){Vt&&e.isLeftHandSideExpression(t.left)&&e.isAssignmentOperator(t.operatorToken.kind)&&Re(t,t.left)}function Ie(e){Vt&&e.variableDeclaration&&Re(e,e.variableDeclaration.name)}function Fe(t){if(Vt&&71===t.expression.kind){var n=e.getErrorSpanForNode(Et,t.expression);Et.bindDiagnostics.push(e.createFileDiagnostic(Et,n.start,n.length,e.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}function Me(t){return e.isIdentifier(t)&&("eval"===t.escapedText||"arguments"===t.escapedText)}function Re(t,n){if(n&&71===n.kind){var r=n;if(Me(r)){var i=e.getErrorSpanForNode(Et,n);Et.bindDiagnostics.push(e.createFileDiagnostic(Et,i.start,i.length,Le(t),e.unescapeLeadingUnderscores(r.escapedText)))}}}function Le(t){return e.getContainingClass(t)?e.Diagnostics.Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode:Et.externalModuleIndicator?e.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode:e.Diagnostics.Invalid_use_of_0_in_strict_mode}function Be(e){Vt&&Re(e,e.name)}function je(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:Et.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 ze(t){if(At<2&&265!==Ot.kind&&233!==Ot.kind&&!e.isFunctionLike(Ot)){var n=e.getErrorSpanForNode(Et,t);Et.bindDiagnostics.push(e.createFileDiagnostic(Et,n.start,n.length,je(t)))}}function Ue(t){Vt&&4&t.numericLiteralFlags&&Et.bindDiagnostics.push(e.createDiagnosticForNode(t,e.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode))}function Je(e){Vt&&Re(e,e.operand)}function Ke(e){Vt&&(43!==e.operator&&44!==e.operator||Re(e,e.operand))}function qe(t){Vt&&Ve(t,e.Diagnostics.with_statements_are_not_allowed_in_strict_mode)}function Ve(t,n,r,i,a){var o=e.getSpanOfTokenAtPosition(Et,t.pos);Et.bindDiagnostics.push(e.createFileDiagnostic(Et,o.start,o.length,n,r,i,a))}function He(t){if(t){t.parent=Nt;var n=Vt;if(e.isInJavaScriptFile(t)&&We(t),Xe(t),t.kind>142){var i=Nt;Nt=t;var a=_e(t);0===a?f(t):d(t,a),Nt=i}else Gt||0!=(536870912&t.transformFlags)||(Qt|=r(t,0));Vt=n}}function We(e){if(e.jsDoc)for(var t=0,n=e.jsDoc;t1);if(e.isGlobalScopeAugmentation(n))b(Zv,n.symbol.exports);else{var r=e.isInAmbientContext(t.parent.parent)?void 0:e.Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found,i=de(t,t,r,!0);if(!i)return;i=_e(i),1920&i.flags?(i=33554432&i.flags?i:y(i),v(i,n.symbol)):_(t,e.Diagnostics.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,t.text)}}function k(t,n,r){function i(t,n){return function(r){return kb.add(e.createDiagnosticForNode(r,n,t))}}n.forEach(function(n,a){var o=t.get(a);o?e.forEach(o.declarations,i(e.unescapeLeadingUnderscores(a),r)):t.set(a,n)})}function S(e){if(33554432&e.flags)return e;var t=n(e);return db[t]||(db[t]={})}function C(e){var n=t(e);return fb[n]||(fb[n]={flags:0})}function D(e){return 32768&e.flags?e.objectFlags:0}function T(t){return 265===t.kind&&!e.isExternalOrCommonJsModule(t)}function E(t,n,r){if(r){var i=t.get(n);if(i){if(e.Debug.assert(0==(1&e.getCheckFlags(i)),"Should never get an instantiated symbol here."),i.flags&r)return i;if(2097152&i.flags){var a=ie(i);if(a===Ky||a.flags&r)return i}}}}function w(t,n){var r=t.parent,i=t.parent.parent,a=E(r.locals,n,107455),o=E(i.symbol.members,n,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 A(t,n){function r(t,n,r){return!!e.findAncestor(t,function(i){if(i===r)return"quit";if(e.isFunctionLike(i))return!0;if(i.parent&&149===i.parent.kind&&i.parent.initializer===i)if(e.hasModifier(i.parent,32)){if(151===n.kind)return!0}else{var a=149===n.kind&&!e.hasModifier(n,32);if(!a||e.getContainingClass(t)!==e.getContainingClass(n))return!0}})}var a=e.getSourceFileOfNode(t),o=e.getSourceFileOfNode(n);if(a!==o){if(Dy&&(a.externalModuleIndicator||o.externalModuleIndicator)||!Sy.outFile&&!Sy.out||ec(n)||e.isInAmbientContext(t))return!0;if(r(n,t))return!0;var s=i.getSourceFiles();return e.indexOf(s,a)<=e.indexOf(s,o)}if(t.pos<=n.pos){if(176===t.kind){var c=e.getAncestor(n,176);return c?e.findAncestor(c,e.isBindingElement)!==e.findAncestor(t,e.isBindingElement)||t.pos=l?u.substr(0,l-"...".length)+"...":u}function Ze(t,n,r){return e.usingSingleLineStringWriter(function(e){ot().buildTypePredicateDisplay(t,e,n,r)})}function et(e){for(var t=[],n=0,r=0;r0&&(26!==t&&$e(i),Ge(i,t),$e(i)),c(e[n],26===t?0:128)}function l(e,t,n,o,s){if((32&e.flags||!Ie(e.escapedName))&&r(e,i,a,793064,0,s),n0&&(Ge(t,26),$e(t)),n(e[r])}function f(e,t,n,r){if(e&&e.length){Ge(n,27);for(var a=512,o=0;o0&&(Ge(n,26),$e(n),a=0),i(t(e[o]),n,r,a);Ge(n,29)}}function _(e,t,n,r,i,a){Ge(n,19),e&&s(e,n,r,i,a);for(var o=0;o0||e)&&(Ge(n,26),$e(n)),s(t[o],n,r,i,a);Ge(n,20)}function p(t,n,r,a,o){e.isIdentifierTypePredicate(t)?n.writeParameter(t.parameterName):We(n,99),$e(n),We(n,126),$e(n),i(t.type,n,r,a,o)}function g(e,t,n,r,a){var o=Ur(e);4096&r&>(o)||(16&r?($e(t),Ge(t,36)):Ge(t,56),$e(t),e.typePredicate?p(e.typePredicate,t,n,r,a):i(o,t,n,r,a))}function h(e,t,n,r,i,a){1===i&&(We(t,94),$e(t)),e.target&&64&r?f(e.target.typeParameters,e.mapper,t,n):l(e.typeParameters,t,n,r,a),_(e.thisParameter,e.parameters,t,n,r,a),g(e,t,n,r,a)}function y(t,n,r,a,o,s){if(t){switch(t.isReadonly&&(We(n,131),$e(n)),Ge(n,21),n.writeParameter(t.declaration?e.declarationNameToString(t.declaration.parameters[0].name):"x"),Ge(n,56),$e(n),r){case 1:We(n,133);break;case 0:We(n,136)}Ge(n,22),Ge(n,56),$e(n),i(t.type,n,a,o,s),Ge(n,25),n.writeLine()}}return Eb||(Eb={buildSymbolDisplay:r,buildTypeDisplay:i,buildTypeParameterDisplay:o,buildTypePredicateDisplay:p,buildParameterDisplay:s,buildDisplayForParametersAndDelimiters:_,buildDisplayForTypeParametersAndDelimiters:l,buildTypeParameterDisplayFromSymbol:a,buildSignatureDisplay:h,buildIndexSignatureDisplay:y,buildReturnTypeDisplay:g})}function st(t){if(t){var n=C(t);return void 0===n.isVisible&&(n.isVisible=!!function(){switch(t.kind){case 176:return st(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 n=_t(t);return 1&e.getCombinedModifierFlags(t)||237!==t.kind&&265!==n.kind&&e.isInAmbientContext(n)?st(n):T(n);case 149:case 148:case 153:case 154:case 151:case 150:if(e.hasModifier(t,24))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 st(t.parent);case 239:case 240:case 242:return!1;case 145:case 265:case 236:return!0;case 243:default:return!1}}()),n.isVisible}return!1}function ct(t){function n(t){e.forEach(t,function(t){C(t).isVisible=!0;var r=J(t)||t;if(e.contains(i,r)||i.push(r),e.isInternalModuleImportEqualsDeclaration(t)){var a=t.moduleReference,o=jm(a),s=N(t,o.escapedText,901119,void 0,void 0);s&&n(s.declarations)}})}var r;t.parent&&243===t.parent.kind?r=N(t.parent,t.escapedText,2998271,e.Diagnostics.Cannot_find_name_0,t):246===t.parent.kind&&(r=Z(t.parent,2998271));var i=[];return r&&n(r.declarations),i}function ut(e,t){var n=lt(e,t);if(n>=0){for(var r=ab.length,i=n;i=0;n--){if(dt(ab[n],sb[n]))return-1;if(ab[n]===e&&sb[n]===t)return n}return-1}function dt(t,n){return 0===n?S(t).type:2===n?S(t).declaredType:1===n?t.resolvedBaseConstructorType:3===n?t.resolvedReturnType:void e.Debug.fail("Unhandled TypeSystemPropertyName "+n)}function ft(){return ab.pop(),sb.pop(),ob.pop()}function _t(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 pt(t){var n=xn(Te(t));return n.typeParameters?oi(n,e.map(n.typeParameters,function(e){return Vy})):n}function mt(e,t){var n=vr(e,t);return n?qt(n):void 0}function gt(e){return e&&0!=(1&e.flags)}function ht(e){var t=De(e);return t&&S(t).type||Dt(e,!1)}function yt(t){return 144===t.kind&&!e.isStringOrNumericLiteral(t.expression)}function vt(t,n,r){if(t=Jc(t,function(e){return!(6144&e.flags)}),8192&t.flags)return cv;if(65536&t.flags)return Kc(t,function(e){return vt(e,n,r)});for(var i=e.createSymbolTable(),a=e.createUnderscoreEscapedMap(),o=0,s=n;o=2?Wi(Vy):Sv;var o=e.map(i,function(t){return e.isOmittedExpression(t)?Vy:Et(t,n,r)}),s=Zi(o);return n&&(s=si(s),s.pattern=t),s}function Nt(e,t,n){return 174===e.kind?wt(e,t,n):At(e,t,n)}function Pt(e,t){var n=Dt(e,!0);return n?(t&&Rs(e,n),261===e.kind?n:Is(n)):(n=e.dotDotDotToken?Sv:Vy,t&&Ay&&(Ot(e)||Ms(e,n)),n)}function Ot(t){var n=e.getRootDeclaration(t);return $_(146===n.kind?n.parent:n)}function It(t){var n=S(t);if(!n.type){if(4194304&t.flags)return n.type=pt(t);var r=t.valueDeclaration;if(e.isCatchClauseVariableDeclarationOrBindingElement(r))return n.type=Vy;if(243===r.kind)return n.type=v_(r.expression);if(e.isInJavaScriptFile(r)&&e.isJSDocPropertyLikeTag(r)&&r.typeExpression)return n.type=Wa(r.typeExpression.type);if(!ut(t,0))return Wy;var i=void 0;i=194===r.kind||179===r.kind&&194===r.parent.kind?Tt(t):Pt(r,!0),ft()||(i=Kt(t)),n.type=i}return n.type}function Ft(t){if(t){if(153===t.kind){var n=e.getEffectiveReturnTypeNode(t);return n&&Wa(n)}var r=e.getEffectiveSetAccessorTypeAnnotationNode(t);return r&&Wa(r)}}function Mt(e){var t=Bh(e);return t&&t.symbol}function Rt(e){return zr(Mr(e))}function Lt(t){var n=S(t);if(!n.type){var r=e.getDeclarationOfKind(t,153),i=e.getDeclarationOfKind(t,154);if(r&&e.isInJavaScriptFile(r)){var a=xt(r);if(a)return n.type=a}if(!ut(t,0))return Wy;var o=void 0,s=Ft(r);if(s)o=s;else{var c=Ft(i);c?o=c:r&&r.body?o=xf(r):(Ay&&(i?_(i,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,Xe(t)):(e.Debug.assert(!!r,"there must existed getter as we are current checking either setter or getter in this function"),_(r,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,Xe(t)))),o=Vy)}if(!ft()&&(o=Vy,Ay)){_(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,Xe(t))}n.type=o}return n.type}function Bt(e){var t=an(fn(e));return 540672&t.flags?t:void 0}function jt(t){var n=S(t);if(!n.type)if(1536&t.flags&&e.isShorthandAmbientModuleSymbol(t))n.type=Vy;else{var r=Oe(16,t);if(32&t.flags){var i=Bt(t);n.type=i?ma([r,i]):r}else n.type=wy&&16777216&t.flags?Cs(r,2048):r}return n.type}function zt(e){var t=S(e);return t.type||(t.type=yn(e)),t.type}function Ut(e){var t=S(e);if(!t.type){var n=ie(e);t.type=107455&n.flags?qt(n):Wy}return t.type}function Jt(t){var n=S(t);if(!n.type)if(100===xy)_(t.valueDeclaration,e.Diagnostics.Generic_type_instantiation_is_excessively_deep_and_possibly_infinite),n.type=Wy;else{if(!ut(t,0))return Wy;xy++;var r=yo(qt(n.target),n.mapper);xy--,ft()||(r=Kt(t)),n.type=r}return n.type}function Kt(t){return e.getEffectiveTypeAnnotationNode(t.valueDeclaration)?(_(t.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Xe(t)),Wy):(Ay&&_(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,Xe(t)),Vy)}function qt(t){return 1&e.getCheckFlags(t)?Jt(t):7&t.flags?It(t):9136&t.flags?jt(t):8&t.flags?zt(t):98304&t.flags?Lt(t):2097152&t.flags?Ut(t):Wy}function Vt(e,t){return void 0!==e&&void 0!==t&&0!=(4&D(e))&&e.target===t}function Ht(e){return 4&D(e)?e.target:e}function Wt(t,n){function r(t){if(7&D(t)){var i=Ht(t);return i===n||e.forEach(on(i),r)}if(131072&t.flags)return e.forEach(t.types,r)}return r(t)}function Gt(t,n){for(var r=0,i=n;r0)return!0;if(540672&e.flags){var t=lr(e);return t&&un(t)&&Zt(t)}return!1}function tn(t){return e.getClassExtendsHeritageClauseElement(t.symbol.valueDeclaration)}function nn(t,n,r){var i=e.length(n),a=e.isInJavaScriptFile(r);return e.filter(xr(t,1),function(t){return(a||i>=Ir(t.typeParameters))&&i<=e.length(t.typeParameters)})}function rn(t,n,r){var i=nn(t,n,r),a=e.map(n,Wa);return e.sameMap(i,function(t){return e.some(t.typeParameters)?qr(t,a):t})}function an(t){if(!t.resolvedBaseConstructorType){var n=tn(t);if(!n)return t.resolvedBaseConstructorType=Gy;if(!ut(t,1))return Wy;var r=v_(n.expression);if(163840&r.flags&&tr(r),!ft())return _(t.symbol.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,Xe(t.symbol)),t.resolvedBaseConstructorType=Wy;if(!(1&r.flags||r===Yy||en(r)))return _(n.expression,e.Diagnostics.Type_0_is_not_a_constructor_function_type,Qe(r)),t.resolvedBaseConstructorType=Wy;t.resolvedBaseConstructorType=r}return t.resolvedBaseConstructorType}function on(t){return t.resolvedBaseTypes||(8&t.objectFlags?t.resolvedBaseTypes=[$i(la(t.typeParameters))]:96&t.symbol.flags?(32&t.symbol.flags&&sn(t),64&t.symbol.flags&&ln(t)):e.Debug.fail("type must be class or interface")),t.resolvedBaseTypes}function sn(t){t.resolvedBaseTypes=t.resolvedBaseTypes||e.emptyArray;var n=mr(an(t));if(163841&n.flags){var r,i=tn(t),a=xi(i),o=n&&n.symbol?xn(n.symbol):void 0;if(n.symbol&&32&n.symbol.flags&&cn(o))r=ui(i,n.symbol,a);else if(1&n.flags)r=n;else{var s=rn(n,i.typeArguments,i);if(!s.length)return void _(i.expression,e.Diagnostics.No_base_constructor_has_the_specified_number_of_type_arguments);r=Ur(s[0])}var c=t.symbol.valueDeclaration;if(c&&e.isInJavaScriptFile(c)){var u=e.getJSDocAugmentsTag(t.symbol.valueDeclaration);u&&(r=Wa(u.typeExpression.type))}if(r!==Wy)return un(r)?t===r||Wt(r,t)?void _(c,e.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,Qe(t,void 0,1)):void(t.resolvedBaseTypes===e.emptyArray?t.resolvedBaseTypes=[r]:t.resolvedBaseTypes.push(r)):void _(i.expression,e.Diagnostics.Base_constructor_return_type_0_is_not_a_class_or_interface_type,Qe(r))}}function cn(e){var t=e.outerTypeParameters;if(t){var n=t.length-1,r=e.typeArguments;return t[n].symbol!==r[n].symbol}return!0}function un(t){return 16809985&t.flags&&!er(t)||131072&t.flags&&!e.forEach(t.types,function(e){return!un(e)})}function ln(t){t.resolvedBaseTypes=t.resolvedBaseTypes||e.emptyArray;for(var n=0,r=t.symbol.declarations;n=f)&&s<=_){var p=_?Vr(d,Fr(o,d.typeParameters,f,i)):Mn(d);p.typeParameters=t.localTypeParameters,p.resolvedReturnType=t,c.push(p)}}return c}function Ln(e,t,n,r,i){for(var a=0,o=e;a0)return;for(var i=1;i1){if(l=Mn(c),e.forEach(u,function(e){return e.thisParameter})){var d=la(e.map(u,function(e){return qt(e.thisParameter)||Vy}),!0);l.thisParameter=Es(c.thisParameter,d)}l.resolvedReturnType=void 0,l.unionSignatures=u}(i||(i=[])).push(l)}}}return i||e.emptyArray}function zn(e,t){for(var n=[],r=!1,i=0,a=e;i0&&(l=e.map(l,function(e){var t=Mn(e);return t.resolvedReturnType=Vn(Ur(e),o,c),t})),a=e.concatenate(a,l)}i=e.concatenate(i,xr(u,0)),n=Kn(n,Cr(u,0)),r=Kn(r,Cr(u,1))}(c);Me(t,ky,i,a,n,r)}function Wn(t){var n=t.symbol;if(t.target){var r=En(nr(t.target),t.mapper,!1),i=Xa(xr(t.target,0),t.mapper),a=Xa(xr(t.target,1),t.mapper),o=vo(Cr(t.target,0),t.mapper),s=vo(Cr(t.target,1),t.mapper);Me(t,r,i,a,o,s)}else if(2048&n.flags){var r=n.members,i=Br(r.get("__call")),a=Br(r.get("__new")),o=ei(n,0),s=ei(n,1);Me(t,r,i,a,o,s)}else{var r=ky,a=e.emptyArray,o=void 0;if(n.exports&&(r=be(n)),32&n.flags){var c=fn(n);a=Br(n.members.get("__constructor")),a.length||(a=Rn(c));var u=an(c);704512&u.flags?(r=e.createSymbolTable(Fe(r)),wn(r,ar(u))):u===Vy&&(o=Zr(Vy,!1))}var s=384&n.flags?Yv:void 0;Me(t,r,e.emptyArray,a,o,s),8208&n.flags&&(t.callSignatures=Br(n))}}function Gn(t){function n(n,o){var d=eo([a],[n]),f=t.mapper?oo(t.mapper,d):d,_=yo(s,f);if(32&n.flags){var m=e.escapeLeadingUnderscores(n.value),g=vr(c,m),h=l||!!(g&&16777216&g.flags),y=p(4|(h?16777216:0),m);y.checkFlags=u||g&&Nf(g)?8:0,y.type=_,o&&(y.syntheticOrigin=o,y.declarations=o.declarations),i.set(m,y)}else 2&n.flags&&(r=Zr(_,u))}var r,i=e.createSymbolTable();Me(t,ky,e.emptyArray,e.emptyArray,void 0,void 0);var a=$n(t),o=Xn(t),s=Yn(t),c=mr(Qn(t)),u=!!t.declaration.readonlyToken,l=!!t.declaration.questionToken;if(170===t.declaration.typeParameter.constraint.kind){for(var d=0,f=ar(c);d=2):16777216&t.flags?cv:t}function gr(t,n){for(var r,i=t.types,a=65536&t.flags,o=a?24:0,s=a?0:16777216,c=4,u=0,l=0,d=i;l=0),i>=r.minArgumentCount}var a=e.getImmediatelyInvokedFunctionExpression(t.parent);return!!a&&(!t.type&&!t.dotDotDotToken&&e.indexOf(t.parent.parameters,t)>=a.arguments.length)}function Or(e){var t=e.parameterName;return 71===t.kind?{kind:1,parameterName:t?t.escapedText:void 0,parameterIndex:t?C_(e.parent.parameters,t):void 0,type:Wa(e.type)}:{kind:0,type:Wa(e.type)}}function Ir(e){var t=0;if(e)for(var n=0;n=r)&&o<=a){t||(t=[]);for(var c=o;cc.arguments.length&&!f.type||Ar(f)||l||(a=r.length)}if(!(153!==t.kind&&154!==t.kind||e.hasDynamicName(t)||s&&o)){var m=153===t.kind?154:153,g=e.getDeclarationOfKind(t.symbol,m);g&&(o=Mt(g))}var h=152===t.kind?fn(Ce(t.parent.symbol)):void 0,y=h?h.localTypeParameters:Er(t),v=Rr(t,u,h),b=t.type&&158===t.type.kind?Or(t.type):void 0,x=e.hasRestParameter(t);if(!x&&e.isInJavaScriptFile(t)&&Lr(t)){x=!0;var k=p(3,"args");k.type=Sv,k.isRestParameter=!0,r.push(k)}n.resolvedSignature=Fn(t,y,o,r,v,b,a,x,i)}return n.resolvedSignature}function Rr(t,n,r){if(n)return Wa(t.parameters[0].type);if(r)return r;var i=e.getEffectiveReturnTypeNode(t);if(i)return Wa(i);if(153===t.kind&&!e.hasDynamicName(t)){return Ft(e.getDeclarationOfKind(t.symbol,154))}return e.nodeIsMissing(t.body)?Vy:void 0}function Lr(t){function n(t){if(!t)return!1;switch(t.kind){case 71:return"arguments"===t.escapedText&&e.isPartOfExpression(t);case 149:case 151:case 153:case 154:return 144===t.name.kind&&n(t.name);default:return!e.nodeStartsNewLexicalEnvironment(t)&&!e.isPartOfTypeNode(t)&&e.forEachChild(t,n)}}var r=C(t);return void 0===r.containsArgumentsReference&&(8192&r.flags?r.containsArgumentsReference=!0:r.containsArgumentsReference=n(t.body)),r.containsArgumentsReference}function Br(t){if(!t)return e.emptyArray;for(var n=[],r=0;r0&&i.body){var a=t.declarations[r-1];if(i.parent===a.parent&&i.kind===a.kind&&i.pos===a.end)break}n.push(Mr(i))}}return n}function jr(e){var t=le(e,e);if(t){var n=_e(t);if(n)return qt(n)}return Vy}function zr(e){if(e.thisParameter)return qt(e.thisParameter)}function Ur(t){if(!t.resolvedReturnType){if(!ut(t,3))return Wy;var n=void 0;if(n=t.target?yo(Ur(t.target),t.mapper):t.unionSignatures?la(e.map(t.unionSignatures,Ur),!0):xf(t.declaration),!ft()&&(n=Vy,Ay)){var r=t.declaration,i=e.getNameOfDeclaration(r);i?_(i,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(i)):_(r,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=n}return t.resolvedReturnType}function Jr(e){return!e.resolvedReturnType&<(e,3)>=0}function Kr(t){if(t.hasRestParameter){var n=qt(e.lastOrUndefined(t.parameters));if(4&D(n)&&n.target===gv)return n.typeArguments[0]}return Vy}function qr(t,n){n=Fr(n,t.typeParameters,Ir(t.typeParameters));var r=t.instantiations||(t.instantiations=e.createMap()),i=ii(n),a=r.get(i);return a||r.set(i,a=Vr(t,n)),a}function Vr(e,t){return lo(e,eo(e.typeParameters,t),!0)}function Hr(e){return e.typeParameters?e.erasedSignatureCache||(e.erasedSignatureCache=Wr(e)):e}function Wr(e){return lo(e,to(e.typeParameters),!0)}function Gr(e){return e.typeParameters?e.canonicalSignatureCache||(e.canonicalSignatureCache=$r(e)):e}function $r(t){return qr(t,e.map(t.typeParameters,function(e){return e.target&&!cr(e.target)?e.target:e}))}function Xr(t){if(!t.isolatedSignatureType){var n=152===t.declaration.kind||156===t.declaration.kind,r=Oe(16);r.members=ky,r.properties=e.emptyArray,r.callSignatures=n?e.emptyArray:[t],r.constructSignatures=n?[t]:e.emptyArray,t.isolatedSignatureType=r}return t.isolatedSignatureType}function Yr(e){return e.members.get("__index")}function Qr(e,t){var n=1===t?133:136,r=Yr(e);if(r)for(var i=0,a=r.declarations;i1&&(t+=":"+a),r+=a}return t}function ai(e,t){for(var n=0,r=0,i=e;ra.length))return _(t,s===a.length?e.Diagnostics.Generic_type_0_requires_1_type_argument_s:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,Qe(i,void 0,1),s,a.length),Wy;return oi(i,e.concatenate(i.outerTypeParameters,Fr(r,a,s,t)))}return t.typeArguments?(_(t,e.Diagnostics.Type_0_is_not_generic,Qe(i)),Wy):i}function li(e,t){var n=xn(e),r=S(e),i=r.typeParameters,a=ii(t),o=r.instantiations.get(a);return o||r.instantiations.set(a,o=yo(n,eo(i,Fr(t,i,Ir(i))))),o}function di(t,n,r){var i=xn(n),a=S(n).typeParameters;if(a){var o=e.length(t.typeArguments),s=Ir(a);return oa.length?(_(t,s===a.length?e.Diagnostics.Generic_type_0_requires_1_type_argument_s:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,Xe(n),s,a.length),Wy):li(n,r)}return t.typeArguments?(_(t,e.Diagnostics.Type_0_is_not_generic,Xe(n)),Wy):i}function fi(t,n){return t.typeArguments?(_(t,e.Diagnostics.Type_0_is_not_generic,Xe(n)),Wy):xn(n)}function _i(t){switch(t.kind){case 159:return t.typeName;case 201:var n=t.expression;if(e.isEntityNameExpression(n))return n}}function pi(e,t){return e?ue(e,t)||Ky:Ky}function mi(e,t){var n=xi(e);if(t===Ky)return Wy;var r=gi(e,t,n);if(r)return r;if(107455&t.flags&&hi(e)){var i=qt(t);if(i.symbol&&!tf(i)){var a=gi(e,i.symbol,n);if(a)return a}return pi(_i(e),793064),i}return fi(e,t)}function gi(t,n,r){return 96&n.flags?ui(t,n,r):524288&n.flags?di(t,n,r):16&n.flags&&hi(t)&&(n.members||e.getJSDocClassTag(n.valueDeclaration))?ef(n):void 0}function hi(e){return 1048576&e.flags&&159===e.kind}function yi(t){if(e.isIdentifier(t.typeName)){if("Object"===t.typeName.escapedText){if(t.typeArguments&&2===t.typeArguments.length){var n=Wa(t.typeArguments[0]),r=Wa(t.typeArguments[1]),i=Zr(r,!1);if(n===Qy||n===Zy)return Re(void 0,ky,e.emptyArray,e.emptyArray,n===Qy&&i,n===Zy&&i)}return Vy}switch(t.typeName.escapedText){case"String":return Qy;case"Number":return Zy;case"Boolean":return nv;case"Void":return iv;case"Undefined":return Gy;case"Null":return Xy;case"Function":case"function":return mv;case"Array":case"array":return t.typeArguments&&t.typeArguments.length?void 0:Sv;case"Promise":case"promise":return t.typeArguments&&t.typeArguments.length?void 0:vf(Vy)}}}function vi(e){var t=Wa(e.type);return wy?la([t,Xy]):t}function bi(e){var t=C(e);if(!t.resolvedType){var n=void 0,r=void 0,i=793064;hi(e)&&(r=yi(e),i|=107455),r||(n=pi(_i(e),i),r=mi(e,n)),t.resolvedSymbol=n,t.resolvedType=r}return t.resolvedType}function xi(t){return e.map(t.typeArguments,Wa)}function ki(e){var t=C(e);return t.resolvedType||(t.resolvedType=Is(v_(e.exprName))),t.resolvedType}function Si(t,n){function r(e){for(var t=e.declarations,n=0,r=t;n>1),o=e[a].id;if(o===i)return a;o>i?r=a-1:n=a+1}return~n}function na(e,t){return ta(e,t)>=0}function ra(e,t){var n=t.flags;if(65536&n)ia(e,t.types);else if(1&n)e.containsAny=!0;else if(!wy&&6144&n)2048&n&&(e.containsUndefined=!0),4096&n&&(e.containsNull=!0),2097152&n||(e.containsNonWideningType=!0);else if(!(8192&n)){2&n&&(e.containsString=!0),4&n&&(e.containsNumber=!0),96&n&&(e.containsStringOrNumberLiteral=!0);var r=e.length,i=r&&t.id>e[r-1].id?~r:ta(e,t);i<0&&(32768&n&&16&t.objectFlags&&t.symbol&&8208&t.symbol.flags&&aa(e,t)||e.splice(~i,0,t))}}function ia(e,t){for(var n=0,r=t;n0;)n--,oa(t[n],t)&&e.orderedRemoveItemAt(t,n)}function ua(t){for(var n=t.length;n>0;){n--;var r=t[n];(32&r.flags&&t.containsString||64&r.flags&&t.containsNumber||96&r.flags&&1048576&r.flags&&na(t,r.regularType))&&e.orderedRemoveItemAt(t,n)}}function la(e,t,n,r){if(0===e.length)return av;if(1===e.length)return e[0];var i=[];return ia(i,e),i.containsAny?Vy:(t?ca(i):i.containsStringOrNumberLiteral&&ua(i),0===i.length?i.containsNull?i.containsNonWideningType?Xy:Yy:i.containsUndefined?i.containsNonWideningType?Gy:$y:av:da(i,n,r))}function da(e,t,n){if(0===e.length)return av;if(1===e.length)return e[0];var r=ii(e),i=By.get(r);if(!i){i=Ne(65536|ai(e,6144)),By.set(r,i),i.types=e,i.aliasSymbol=t,i.aliasTypeArguments=n}return i}function fa(t){var n=C(t);return n.resolvedType||(n.resolvedType=la(e.map(t.types,Wa),!1,Fa(t),Ma(t))),n.resolvedType}function _a(t,n){131072&n.flags?pa(t,n.types):1&n.flags?t.containsAny=!0:8192&n.flags?t.containsNever=!0:16&D(n)&&Uo(n)?t.containsEmptyObject=!0:!wy&&6144&n.flags||e.contains(t,n)||(32768&n.flags&&(t.containsObjectType=!0),65536&n.flags&&void 0===t.unionIndex&&(t.unionIndex=t.length),32768&n.flags&&16&n.objectFlags&&n.symbol&&8208&n.symbol.flags&&aa(t,n)||t.push(n))}function pa(e,t){for(var n=0,r=t;n=n?cv:r}}function ro(e){return!!e.signature}function io(e){return e&&ro(e)?Bs(e.signature,2|e.flags,e.compareTypes,e.inferences):e}function ao(e){return e}function oo(e,t){return function(n){return yo(e(n),t)}}function so(e,t,n){return function(r){return r===e?t:n(r)}}function co(e){var t=Ne(16384);return t.symbol=e.symbol,t.target=e,t}function uo(t,n){return e.isIdentifierTypePredicate(t)?{kind:1,parameterName:t.parameterName,parameterIndex:t.parameterIndex,type:yo(t.type,n)}:{kind:0,type:yo(t.type,n)}}function lo(t,n,r){var i,a;if(t.typeParameters&&!r){i=e.map(t.typeParameters,co),n=oo(eo(t.typeParameters,i),n);for(var o=0,s=i;on.parameters.length)return 0;t.typeParameters&&t.typeParameters!==n.typeParameters&&(n=Gr(n),t=Cd(t,n,void 0,s));var c=-1,u=zr(t);if(u&&u!==iv){var l=zr(n);if(l){var d=s(u,l,!1)||s(l,u,a);if(!d)return a&&o(e.Diagnostics.The_this_types_of_each_signature_are_incompatible),0;c&=d}}for(var f=Bo(t),_=Bo(n),p=jo(t,f,n,_),m=t.parameters,g=n.parameters,h=0;h0||xr(t,0).length>0||xr(t,1).length>0)&&E(n)&&!w(t,n)){if(i){var o=xr(t,0),_=xr(t,1);o.length>0&&d(Ur(o[0]),n,!1)||_.length>0&&d(Ur(_[0]),n,!1)?s(e.Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,Qe(t),Qe(n)):s(e.Diagnostics.Type_0_has_no_properties_in_common_with_type_1,Qe(t),Qe(n))}return 0}var m=0,h=B,x=H;return H=!1,65536&t.flags?m=r===jb?v(t,n,i&&!(8190&t.flags)):b(t,n,i&&!(8190&t.flags)):(65536&n.flags?m=g(t,n,i&&!(8190&t.flags)&&!(8190&n.flags)):131072&n.flags?(H=!0,m=y(t,n,i)):131072&t.flags&&(m=v(t,n,!1)),!m&&(1032192&t.flags||1032192&n.flags)&&(m=k(t,n,i))&&(B=h)),H=x,!m&&i&&(32768&t.flags&&8190&n.flags?u(t,n):t.symbol&&32768&t.flags&&pv===t&&s(e.Diagnostics.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead),c(a,t,n)),m}function f(e,t){var n;return 32768&e.flags&&32768&t.flags?k(e,t,!1):(65536&e.flags&&65536&t.flags||131072&e.flags&&131072&t.flags)&&(n=m(e,t))&&(n&=m(t,e))?n:0}function p(t,n,a){if(zf(n,32768)&&!(512&D(n))){var o=!!(33554432&t.flags);if((r===Bb||r===jb)&&(jc(pv,n)||!o&&Uo(n)))return!1;for(var c=0,u=nr(t);c0&&e.every(n.properties,function(e){return!!(16777216&e.flags)})}return!!(131072&t.flags)&&e.every(t.types,E)}function w(e,t){for(var n=!!(33554432&e.flags),r=0,i=ar(e);rt.id){var r=e;e=t,t=r}if(Wo(e)&&Wo(t)){var i=[];return Go(e,i)+","+Go(t,i)}return e.id+","+t.id}function Xo(t,n){if(!(6&e.getCheckFlags(t)))return n(t);for(var r=0,i=t.containingType.types;r=5&&32768&e.flags){var r=e.symbol;if(r)for(var i=0,a=0;a=5)return!0}}return!1}function rs(e,t){return 0!==is(e,t,Do)}function is(t,n,r){if(t===n)return-1;var i=24&e.getDeclarationModifierFlagsFromSymbol(t);if(i!==(24&e.getDeclarationModifierFlagsFromSymbol(n)))return 0;if(i){if(Sm(t)!==Sm(n))return 0}else if((16777216&t.flags)!=(16777216&n.flags))return 0;return Nf(t)!==Nf(n)?0:r(qt(t),qt(n))}function as(e,t,n){if(e.parameters.length===t.parameters.length&&e.minArgumentCount===t.minArgumentCount&&e.hasRestParameter===t.hasRestParameter)return!0;var r=e.hasRestParameter?1:0,i=t.hasRestParameter?1:0;return!!(n&&e.minArgumentCount<=t.minArgumentCount&&(r>i||r===i&&e.parameters.length>=t.parameters.length))}function os(t,n,r,i,a,o){if(t===n)return-1;if(!as(t,n,r))return 0;if(e.length(t.typeParameters)!==e.length(n.typeParameters))return 0;t=Hr(t),n=Hr(n);var s=-1;if(!i){var c=zr(t);if(c){var u=zr(n);if(u){var l=o(c,u);if(!l)return 0;s&=l}}}for(var d=n.parameters.length,f=0;f=e.parameters.length-1}function cs(e){for(var t,n=0,r=e;n=2||0==(34&n.flags)||260===n.valueDeclaration.parent.kind)){for(var r=e.getEnclosingBlockScopeContainer(n.valueDeclaration),i=vu(t.parent,r),a=r,o=!1;a&&!e.nodeStartsNewLexicalEnvironment(a);){if(e.isIterationStatement(a,!1)){o=!0;break}a=a.parent}o&&(i&&(C(a).flags|=65536),214===r.kind&&e.getAncestor(n.valueDeclaration,227).parent===r&&xu(t,r)&&(C(n.valueDeclaration).flags|=2097152),C(n.valueDeclaration).flags|=262144),i&&(C(n.valueDeclaration).flags|=131072)}}function xu(t,n){for(var r=t;185===r.parent.kind;)r=r.parent;var i=!1;if(e.isAssignmentTarget(r))i=!0;else if(192===r.parent.kind||193===r.parent.kind){var a=r.parent;i=43===a.operator||44===a.operator}return!!i&&!!e.findAncestor(r,function(e){return e===n?"quit":e===n.statement})}function ku(e,t){if(C(e).flags|=2,149===t.kind||152===t.kind){C(t.parent).flags|=4}else C(t).flags|=4}function Su(t){if(e.isSuperCall(t))return t;if(!e.isFunctionLike(t))return e.forEachChild(t,Su)}function Cu(e){var t=C(e);return void 0===t.hasSuperCall&&(t.superCall=Su(e.body),t.hasSuperCall=!!t.superCall),t.superCall}function Du(e){return an(xn(De(e)))===Yy}function Tu(t,n,r){var i=n.parent;if(e.getClassExtendsHeritageClauseElement(i)&&!Du(i)){var a=Cu(n);(!a||a.end>t.pos)&&_(t,r)}}function Eu(t){var n=e.getThisContainer(t,!0),r=!1;switch(152===n.kind&&Tu(t,n,e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class),187===n.kind&&(n=e.getThisContainer(n,!1),r=Cy<2),n.kind){case 233:_(t,e.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 232:_(t,e.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 152:Au(t,n)&&_(t,e.Diagnostics.this_cannot_be_referenced_in_constructor_arguments);break;case 149:case 148:e.hasModifier(n,32)&&_(t,e.Diagnostics.this_cannot_be_referenced_in_a_static_property_initializer);break;case 144:_(t,e.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name)}if(r&&ku(t,n),e.isFunctionLike(n)&&(!ju(t)||e.getThisParameter(n))){if(186===n.kind&&194===n.parent.kind&&3===e.getSpecialPropertyAssignmentKind(n.parent)){var i=n.parent.left.expression.expression,a=v_(i).symbol;if(a&&a.members&&16&a.flags)return ef(a)}var o=Rt(n)||Fu(n);if(o)return o}if(e.isClassLike(n.parent)){var s=De(n.parent),c=e.hasModifier(n,32)?qt(s):xn(s).thisType;return su(t,c)}if(e.isInJavaScriptFile(t)){var c=wu(n);if(c&&c!==Wy)return c}return Ny&&_(t,e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation),Vy}function wu(t){var n=e.getJSDocType(t);if(n&&273===n.kind){var r=n;if(r.parameters.length>0&&r.parameters[0].name&&"this"===r.parameters[0].name.escapedText)return Wa(r.parameters[0].type)}}function Au(t,n){return!!e.findAncestor(t,function(e){return e===n?"quit":146===e.kind})}function Nu(t){var n=181===t.parent.kind&&t.parent.expression===t,r=e.getSuperContainer(t,!0),i=!1;if(!n)for(;r&&187===r.kind;)r=e.getSuperContainer(r,!0),i=Cy<2;var a=function(t){return!!t&&(n?152===t.kind:!(!e.isClassLike(t.parent)&&178!==t.parent.kind)&&(e.hasModifier(t,32)?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))}(r),o=0;if(!a){var s=e.findAncestor(t,function(e){return e===r?"quit":144===e.kind});return s&&144===s.kind?_(t,e.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name):n?_(t,e.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):r&&r.parent&&(e.isClassLike(r.parent)||178===r.parent.kind)?_(t,e.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class):_(t,e.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions),Wy}if(n||152!==r.kind||Tu(t,r,e.Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),o=e.hasModifier(r,32)||n?512:256,C(t).flags|=o,151===r.kind&&e.hasModifier(r,256)&&(e.isSuperProperty(t.parent)&&e.isAssignmentTarget(t.parent)?C(r).flags|=4096:C(r).flags|=2048),i&&ku(t.parent,r),178===r.parent.kind)return Cy<2?(_(t,e.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),Wy):Vy;var c=r.parent,u=xn(De(c)),l=u&&on(u)[0];return l?152===r.kind&&Au(t,r)?(_(t,e.Diagnostics.super_cannot_be_referenced_in_constructor_arguments),Wy):512===o?an(u):Nn(l,u.thisType):(e.getClassExtendsHeritageClauseElement(c)||_(t,e.Diagnostics.super_can_only_be_referenced_in_a_derived_class),Wy)}function Pu(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 Ou(e){return 4&D(e)&&e.target===kv?e.typeArguments[0]:void 0}function Iu(t){return Kc(t,function(t){return 131072&t.flags?e.forEach(t.types,Ou):Ou(t)})}function Fu(t){if(187!==t.kind){if(ko(t)){var n=sl(t);if(n){var r=n.thisParameter;if(r)return qt(r)}}if(Ny||e.isInJavaScriptFile(t)){var i=Pu(t);if(i){for(var a=Zu(i),o=i,s=a;s;){var c=Iu(s);if(c)return yo(c,tl(i));if(261!==o.parent.kind)break;o=o.parent.parent,s=Zu(o)}return a?Ds(a):u_(i)}if(194===t.parent.kind&&58===t.parent.operatorToken.kind){var u=t.parent.left;if(179===u.kind||180===u.kind)return u_(u.expression)}}}}function Mu(t){var n=t.parent;if(ko(n)){var r=e.getImmediatelyInvokedFunctionExpression(n);if(r&&r.arguments){var i=e.indexOf(n.parameters,t);if(t.dotDotDotToken){for(var a=[],o=i;o=0){return _f(C(t).resolvedSignature===$v?$v:Yd(t),i)}}function Ju(e,t){if(183===e.parent.kind)return Uu(e.parent,t)}function Ku(t){var n=t.parent,r=n.operatorToken.kind;if(e.isAssignmentOperator(r)){if(0!==e.getSpecialPropertyAssignmentKind(n))return;if(t===n.right)return h_(n.left)}else{if(54===r){var i=el(n);return i||t!==n.right||(i=h_(n.left)),i}if((53===r||26===r)&&t===n.right)return el(n)}}function qu(e,t){return Kc(e,function(e){var n=229376&e.flags?vr(e,t):void 0;return n?qt(n):void 0})}function Vu(e,t){return Kc(e,function(e){return Sr(e,t)})}function Hu(t){return!!(65536&t.flags?e.forEach(t.types,_s):_s(t))}function Wu(t){if(e.Debug.assert(e.isObjectLiteralMethod(t)),!og(t))return Gu(t)}function Gu(t){var n=t.parent,r=Zu(n);if(r){if(!e.hasDynamicName(t)){var i=De(t).escapedName,a=qu(r,i);if(a)return a}return dl(t.name)&&Vu(r,1)||Vu(r,0)}}function $u(t){var n=t.parent,r=Zu(n);if(r){return qu(r,""+e.indexOf(n.elements,t))||Vu(r,1)||em(r,void 0,!1,!1,!1)}}function Xu(e){var t=e.parent;return e===t.whenTrue||e===t.whenFalse?el(t):void 0}function Yu(t){var n=e.isJsxAttributeLike(t.parent)?t.parent.parent:t.parent.openingElement.attributes,r=el(n);if(r&&!gt(r)){if(e.isJsxAttribute(t.parent))return mt(r,t.parent.name.escapedText);if(249===t.parent.kind){var i=Nl();return i&&""!==i?mt(r,i):Vy}return r}}function Qu(t){var n=el(t.parent);if(e.isJsxAttribute(t)){if(!n||gt(n))return;return mt(n,t.name.escapedText)}return n}function Zu(e){var t=el(e);return t&&mr(t)}function el(t){if(!og(t)){if(t.contextualType)return t.contextualType;var n=t.parent;switch(n.kind){case 226:case 146:case 149:case 148:case 176:return Ru(t);case 187:case 219:return Lu(t);case 197:return Bu(n);case 181:case 182:return Uu(n,t);case 184:case 202:return Wa(n.type);case 194:return Ku(t);case 261:case 262:return Gu(n);case 263:return Zu(n.parent);case 177:return $u(t);case 195:return Xu(t);case 205:return e.Debug.assert(196===n.parent.kind),Ju(n.parent,t);case 185:return el(n);case 256:return Yu(n);case 253:case 255:return Qu(n);case 251:case 250:return Bl(n)}}}function tl(t){return t=e.findAncestor(t,function(e){return!!e.contextualMapper}),t?t.contextualMapper:ao}function nl(e,t){var n=br(e,0);if(1===n.length){var r=n[0];if(!rl(r,t))return r}}function rl(t,n){for(var r=0;r0&&(s=Ra(s,r()),o=[],a=e.createSymbolTable(),g=!1,h=!1,f=0);var C=v_(x.expression);if(!yl(C))return _(x,e.Diagnostics.Spread_types_may_only_be_created_from_object_types),Wy;s=Ra(s,C),v=b+1;continue}e.Debug.assert(153===x.kind||154===x.kind),Qm(x)}e.hasDynamicName(x)?dl(x.name)?h=!0:g=!0:a.set(k.escapedName,k),o.push(k)}if(l)for(var w=0,A=ar(u);w0&&(s=Ra(s,r())),32768&s.flags&&(s.flags|=c,s.flags|=1048576,s.objectFlags|=128,s.symbol=t.symbol),s):r()}function yl(t){return!!(16783361&t.flags||32768&t.flags&&!er(t)||196608&t.flags&&!e.forEach(t.types,function(e){return!yl(e)}))}function vl(e){return Vl(e),Ul()||Vy}function bl(e){return Vl(e.openingElement),kl(e.closingElement.tagName)?Tl(e.closingElement):v_(e.closingElement.tagName),Ul()||Vy}function xl(e){return e.indexOf("-")<0}function kl(t){switch(t.kind){case 179:case 99:return!1;case 71:return e.isIntrinsicJsxName(t.escapedText);default:e.Debug.fail()}}function Sl(t,n,r){function i(t,n){var r=Re(t,n,e.emptyArray,e.emptyArray,void 0,void 0);return r.flags|=37748736,r.objectFlags|=128,r}for(var a,o=t.attributes,s=e.createSymbolTable(),c=cv,u=[],l=!1,d=!1,f=Nl(),m=0,g=o.properties;m0&&(c=Ra(c,i(o.symbol,s)),u=[],s=e.createSymbolTable());var v=v_(h.expression);gt(v)&&(l=!0),yl(v)?c=Ra(c,v):a=a?ma([a,v]):v}}if(!l){c!==cv&&(u.length>0&&(c=Ra(c,i(o.symbol,s))),u=ar(c)),s=e.createSymbolTable();for(var x=0,k=u;x0){for(var D=[],T=0,E=C.children;T1&&_(r.declarations[0],e.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,e.unescapeLeadingUnderscores(t))}}function Al(){return Ib||(Ib=!0,Db=wl(Rb.ElementAttributesPropertyNameContainer)),Db}function Nl(){return Fb||(Fb=!0,Tb=wl(Rb.ElementChildrenAttributeNameContainer)),Tb}function Pl(e){if(e){if(131072&e.flags){for(var t=[],n=0,r=e.types;n0))_(t,e.Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,e.unescapeLeadingUnderscores(Al()));else{if(Oo(r,n,t.attributes.properties.length>0?t.attributes:t)&&!gt(r)&&!gt(n))for(var i=0,a=t.attributes.properties;i30)){t=t.toLowerCase();for(var u=0,l=n;ui)continue;_<3?(c=!0,s=d):_=m&&o.length<=p))return!1;if(c>=0)return ss(r,c)||c>=r.minArgumentCount;if(!r.hasRestParameter&&a>r.parameters.length)return!1;var g=a>=r.minArgumentCount;return s||g}function Sd(e){if(32768&e.flags){var t=tr(e);if(1===t.callSignatures.length&&0===t.constructSignatures.length&&0===t.properties.length&&!t.stringIndexInfo&&!t.numberIndexInfo)return t.callSignatures[0]}}function Cd(e,t,n,r){var i=Bs(e,1,r);return Ls(t,e,function(e,t){Hs(i.inferences,yo(e,n||ao),t)}),n||Hs(i.inferences,Ur(t),Ur(e),4),qr(e,Qs(i))}function Dd(t,n,r,i,a){for(var o=0,s=a.inferences;o0?[t.attributes]:e.emptyArray:t.arguments||e.emptyArray}function Pd(e,t,n){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===Cy?2:n.parameters.length>=3?3:2;case 146:return 3}}function Od(t){if(229===t.kind){var n=De(t);return qt(n)}if(146===t.kind&&(t=t.parent,152===t.kind)){var n=De(t);return qt(n)}return 149===t.kind||151===t.kind||153===t.kind||154===t.kind?Dg(t):(e.Debug.fail("Unsupported decorator target."),Wy)}function Id(t){if(229===t.kind)return e.Debug.fail("Class decorators should not have a second synthetic argument."),Wy;if(146===t.kind&&(t=t.parent,152===t.kind))return Vy;if(149===t.kind||151===t.kind||153===t.kind||154===t.kind){var n=t;switch(n.name.kind){case 71:return Ja(e.unescapeLeadingUnderscores(n.name.escapedText));case 8:case 9:return Ja(n.name.text);case 144:var r=ml(n.name);return Uf(r,512)?r:Qy;default:return e.Debug.fail("Unsupported property name."),Wy}}return e.Debug.fail("Unsupported decorator target."),Wy}function Fd(t){if(229===t.kind)return e.Debug.fail("Class decorators should not have a third synthetic argument."),Wy;if(146===t.kind)return Zy;if(149===t.kind)return e.Debug.fail("Property decorators should not have a third synthetic argument."),Wy;if(151===t.kind||153===t.kind||154===t.kind){return qi(xg(t))}return e.Debug.fail("Unsupported decorator target."),Wy}function Md(t,n){return 0===n?Od(t.parent):1===n?Id(t.parent):2===n?Fd(t.parent):(e.Debug.fail("Decorators should not have a fourth synthetic argument."),Wy)}function Rd(e,t){return 147===e.kind?Md(e,t):0===t&&183===e.kind?Ai():void 0}function Ld(e,t,n){if(147!==e.kind&&(0!==n||183!==e.kind))return t[n]}function Bd(e,t,n){return 147===e.kind?e.expression:0===t&&183===e.kind?e.template:n}function jd(t,n,r,i){function a(n,r,i){if(void 0===i&&(i=!1),h=void 0,y=void 0,p){var a=n[0];if(!kd(t,_,a,i))return;return wd(t,_,a,r,f,!1)?a:void(h=a)}for(var s=0;s0?f[e.indexOf(f,!0)]=!1:f=void 0}}}var o,s=183===t.kind,u=147===t.kind,l=e.isJsxOpeningLikeElement(t);s||u||l||(o=t.typeArguments,97!==t.expression.kind&&e.forEach(o,Ym));var d=r||[];if(bd(n,d),!d.length)return kb.add(e.createDiagnosticForNode(t,e.Diagnostics.Call_target_does_not_contain_any_signatures)),vd(t);var f,_=Nd(t),p=1===d.length&&!d[0].typeParameters,m=0;if(!u&&!p)for(var g=s?1:0;g<_.length;g++)bo(_[g])&&(f||(f=new Array(_.length)),f[g]=!0,m++);var h,y,v,b=r&&181===t.kind&&t.arguments.hasTrailingComma;if(d.length>1&&(v=a(d,Lb,b)),v||(v=a(d,Bb,b)),v)return v;if(h){if(l)return h;wd(t,_,h,Bb,void 0,!0)}else if(y){var x=t.typeArguments;Td(y,x,e.map(x,Wa),!0,i)}else if(o&&e.every(n,function(t){return e.length(t.typeParameters)!==o.length})){for(var k=Number.POSITIVE_INFINITY,S=Number.NEGATIVE_INFINITY,C=0,D=n;C-1,E=N?k:k0);var F=zd(d,void 0===Fy?_.length:Fy),M=d[F],R=M.typeParameters;if(R&&hd(t)&&t.typeArguments){for(var L=t.typeArguments.map(xg);L.length>R.length;)L.pop();for(;L.length=t)return i;a.parameters.length>r&&(r=a.parameters.length,n=i)}return n}function Ud(t,n){if(97===t.expression.kind){var r=Nu(t.expression);if(r!==Wy){var i=e.getClassExtendsHeritageClauseElement(e.getContainingClass(t));if(i){return jd(t,rn(r,i.typeArguments,i),n)}}return yd(t)}var a=Zl(t.expression);if(a===ov)return Xv;var o=mr(a);if(o===Wy)return vd(t);var s=xr(o,0),c=xr(o,1);return Jd(a,o,s.length,c.length)?(a!==Wy&&t.typeArguments&&_(t,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),yd(t)):s.length?jd(t,s,n):(c.length?_(t,e.Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,Qe(a)):_(t,e.Diagnostics.Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatures,Qe(o)),vd(t))}function Jd(e,t,n,r){return!!gt(e)||(!!(gt(t)&&16384&e.flags)||!n&&!r&&(!(65536&e.flags)&&wo(e,mv)))}function Kd(t,n){if(t.arguments&&Cy<1){var r=xd(t.arguments);r>=0&&_(t.arguments[r],e.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}var i=Zl(t.expression);if(i===ov)return Xv;if((i=mr(i))===Wy)return vd(t);var a=i.symbol&&Cm(i.symbol);if(a&&e.hasModifier(a,128))return _(t,e.Diagnostics.Cannot_create_an_instance_of_the_abstract_class_0,e.declarationNameToString(e.getNameOfDeclaration(a))),vd(t);if(gt(i))return t.typeArguments&&_(t,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),yd(t);var o=xr(i,1);if(o.length)return qd(t,o[0])?jd(t,o,n):vd(t);var s=xr(i,0);if(s.length){var c=jd(t,s,n);return Qd(c.declaration)||Ur(c)===iv||_(t,e.Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword),zr(c)===iv&&_(t,e.Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void),c}return _(t,e.Diagnostics.Cannot_use_new_with_an_expression_whose_type_lacks_a_call_or_construct_signature),vd(t)}function qd(t,n){if(!n||!n.declaration)return!0;var r=n.declaration,i=e.getSelectedModifierFlags(r,24);if(!i)return!0;var a=Cm(r.parent.symbol),o=xn(r.parent.symbol);if(!_g(t,a)){var s=e.getContainingClass(t);if(s)for(var c=xg(s),u=on(c);u.length;){var l=u[0];if(16&i&&l.symbol===r.parent.symbol)return!0;u=on(l)}return 8&i&&_(t,e.Diagnostics.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration,Qe(o)),16&i&&_(t,e.Diagnostics.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration,Qe(o)),!1}return!0}function Vd(t,n){var r=v_(t.tag),i=mr(r);if(i===Wy)return vd(t);var a=xr(i,0),o=xr(i,1);return Jd(r,i,a.length,o.length)?yd(t):a.length?jd(t,a,n):(_(t,e.Diagnostics.Cannot_invoke_an_expression_whose_type_lacks_a_call_signature_Type_0_has_no_compatible_call_signatures,Qe(i)),vd(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 Wd(t,n){var r=v_(t.expression),i=mr(r);if(i===Wy)return vd(t);var a=xr(i,0),o=xr(i,1);if(Jd(r,i,a.length,o.length))return yd(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,Qe(i)),c=e.chainDiagnosticMessages(c,s),kb.add(e.createDiagnosticForNodeFromMessageChain(t,c)),vd(t)}return jd(t,a,n,s)}function Gd(t,n,r){return e.Debug.assert(!(65536&n.flags)),$d(t,n,r)}function $d(e,t,n){if(65536&t.flags){for(var r=t.types,i=void 0,a=0,o=r;a0)return jd(e,c,n)}function Xd(t,n){switch(t.kind){case 181:return Ud(t,n);case 182:return Kd(t,n);case 183:return Vd(t,n);case 147:return Wd(t,n);case 251:case 250:return $d(t,v_(t.tagName),n)}e.Debug.fail("Branch in 'resolveSignature' should be unreachable.")}function Yd(e,t){var n=C(e),r=n.resolvedSignature;if(r&&r!==$v&&!t)return r;n.resolvedSignature=$v;var i=Xd(e,t);return n.resolvedSignature=eb===tb?i:r,i}function Qd(t){if(t&&e.isInJavaScriptFile(t)){if(e.getJSDocClassTag(t))return!0;var n=e.isFunctionDeclaration(t)||e.isFunctionExpression(t)?De(t):e.isVariableDeclaration(t)&&e.isFunctionExpression(t.initializer)?De(t.initializer):void 0;return n&&void 0!==n.members}return!1}function Zd(t){if(e.isDeclarationOfFunctionOrClassExpression(t)&&(t=De(t.valueDeclaration.initializer)),Qd(t.valueDeclaration))return ef(t);if(3&t.flags){var n=qt(t);if(n.symbol&&!tf(n)&&Qd(n.symbol.valueDeclaration))return ef(n.symbol)}}function ef(t){var n=S(t);return n.inferredClassType||(n.inferredClassType=Re(t,t.members||ky,e.emptyArray,e.emptyArray,void 0,void 0)),n.inferredClassType}function tf(e){return e.symbol&&16&D(e)&&S(e.symbol).inferredClassType===e}function nf(t){Sh(t,t.typeArguments)||Dh(t,t.arguments);var n=Yd(t);if(97===t.expression.kind)return iv;if(182===t.kind){var r=n.declaration;if(r&&152!==r.kind&&156!==r.kind&&161!==r.kind&&!e.isJSDocConstructSignature(r)){var i=71===t.expression.kind?Zs(t.expression):v_(t.expression).symbol,a=i&&Zd(i);return a||(Ay&&_(t,e.Diagnostics.new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type),Vy)}}return e.isInJavaScriptFile(t)&&of(t)?jr(t.arguments[0]):Ur(n)}function rf(t){if(Dh(t,t.arguments)||dy(t),0===t.arguments.length)return bf(t,Vy);for(var n=t.arguments[0],r=u_(n),i=1;i0?_f(e,0):av}function mf(t,n,r){for(var i=t.parameters.length-(t.hasRestParameter?1:0),a=0;a=0)if(n.parameters[r.parameterIndex].dotDotDotToken)_(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);Oo(r.type,xg(n.parameters[r.parameterIndex]),t.type,void 0,a)}else if(i){for(var o=!1,s=0,c=n.parameters;s0&&n.declarations[0]!==t)return}var r=Yr(De(t));if(r)for(var i=!1,a=!1,o=0,s=r.declarations;o=0)return void(n&&_(n,e.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method));xb.push(t.id);var l=np(u,n,r);if(xb.pop(),!l)return;return i.awaitedTypeOfType=l}var d=mt(t,"then");return d&&xr(d,0).length>0?void(n&&(e.Debug.assert(!!r),_(n,r))):i.awaitedTypeOfType=t}function rp(t){var n=e.getEffectiveReturnTypeNode(t),r=Wa(n);if(Cy>=2){if(r===Wy)return Wy;var i=Oi(!0);if(i!==dv&&!Vt(r,i))return _(n,e.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type),Wy}else{if(ap(n),r===Wy)return Wy;var a=e.getEntityNameFromTypeNode(n);if(void 0===a)return _(n,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,Qe(r)),Wy;var o=ue(a,107455,!0),s=o?qt(o):Wy;if(s===Wy)return 71===a.kind&&"Promise"===a.escapedText&&Ht(r)===Oi(!1)?_(n,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):_(n,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(a)),Wy;var c=Fi(!0);if(c===cv)return _(n,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(a)),Wy;if(!Oo(s,c,n,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 Wy;var u=a&&jm(a),l=E(t.locals,u.escapedText,107455);if(l)return _(l.valueDeclaration,e.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,e.unescapeLeadingUnderscores(u.escapedText),e.entityNameToString(a)),Wy}return tp(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 ip(t){var n=Yd(t),r=Ur(n);if(!(1&r.flags)){var i,a,o=Hd(t);switch(t.parent.kind){case 229:i=la([qt(De(t.parent)),iv]);break;case 146:i=iv,a=e.chainDiagnosticMessages(a,e.Diagnostics.The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any);break;case 149:i=iv,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=la([qi(xg(t.parent)),iv])}Oo(r,i,t,o,a)}}function ap(t){op(t&&e.getEntityNameFromTypeNode(t))}function op(e){var t=e&&jm(e),n=t&&N(t,t.escapedText,2097152|(71===e.kind?793064:1920),void 0,void 0);n&&2097152&n.flags&&we(n)&&!jg(ie(n))&&oe(n)}function sp(t){var n=cp(t);n&&e.isEntityName(n)&&op(n)}function cp(t){if(t)switch(t.kind){case 167:case 166:for(var n=void 0,r=0,i=t.types;r=e.ModuleKind.ES2015)&&(Ep(t,n,"require")||Ep(t,n,"exports"))&&(233!==t.kind||1===e.getModuleInstanceState(t))){var r=_t(t);265===r.kind&&e.isExternalOrCommonJsModule(r)&&_(n,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,e.declarationNameToString(n),e.declarationNameToString(n))}}function Fp(t,n){if(!(Cy>=4)&&Ep(t,n,"Promise")&&(233!==t.kind||1===e.getModuleInstanceState(t))){var r=_t(t);265===r.kind&&e.isExternalOrCommonJsModule(r)&&1024&r.flags&&_(n,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,e.declarationNameToString(n),e.declarationNameToString(n))}}function Mp(t){if(0==(3&e.getCombinedNodeFlags(t))&&!e.isParameterDeclaration(t)&&(226!==t.kind||t.initializer)){var n=De(t);if(1&n.flags){if(!e.isIdentifier(t.name))throw e.Debug.fail();var r=N(t,t.name.escapedText,3,void 0,void 0);if(r&&r!==n&&2&r.flags&&3&Xl(r)){var i=e.getAncestor(r.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=Xe(r);_(t,e.Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,o,o)}}}}}function Rp(t){function n(i){if(!e.isTypeNode(i)&&!e.isDeclarationName(i)){if(179===i.kind)return n(i.expression);if(71!==i.kind)return e.forEachChild(i,n);var a=N(i,i.escapedText,2204607,void 0,void 0);if(a&&a!==Ky&&a.valueDeclaration){if(a.valueDeclaration===t)return void _(i,e.Diagnostics.Parameter_0_cannot_be_referenced_in_its_initializer,e.declarationNameToString(t.name));if(e.getEnclosingBlockScopeContainer(a.valueDeclaration)===r){if(146===a.valueDeclaration.kind||176===a.valueDeclaration.kind){if(a.valueDeclaration.pos1)return Qh(t,e.Diagnostics.Modifiers_cannot_appear_here)}}function qp(e){sy(e),v_(e.expression)}function Vp(t){sy(t),v_(t.expression),Ym(t.thenStatement),209===t.thenStatement.kind&&_(t.thenStatement,e.Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement),Ym(t.elseStatement)}function Hp(e){sy(e),Ym(e.statement),v_(e.expression)}function Wp(e){sy(e),v_(e.expression),Ym(e.statement)}function Gp(t){sy(t)||t.initializer&&227===t.initializer.kind&&Wh(t.initializer),t.initializer&&(227===t.initializer.kind?e.forEach(t.initializer.declarations,zp):v_(t.initializer)),t.condition&&v_(t.condition),t.incrementor&&v_(t.incrementor),Ym(t.statement),t.locals&&mp(t)}function $p(t){if(Mh(t),216===t.kind)if(t.awaitModifier){var n=e.getFunctionFlags(e.getContainingFunction(t));2==(6&n)&&Cy<5&&ah(t,16384)}else Sy.downlevelIteration&&Cy<2&&ah(t,256);if(227===t.initializer.kind)Yp(t);else{var r=t.initializer,i=Qp(t.expression,t.awaitModifier);if(177===r.kind||178===r.kind)Xf(r,i||Wy);else{var a=v_(r);If(r,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access),i&&Oo(i,a,r,void 0)}}Ym(t.statement),t.locals&&mp(t)}function Xp(t){Mh(t);var n=Zl(t.expression);if(227===t.initializer.kind){var r=t.initializer.declarations[0];r&&e.isBindingPattern(r.name)&&_(r.name,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern),Yp(t)}else{var i=t.initializer,a=v_(i);177===i.kind||178===i.kind?_(i,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern):wo(xa(n),a)?If(i,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access):_(i,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}Uf(n,17317888)||_(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),Ym(t.statement),t.locals&&mp(t)}function Yp(e){var t=e.initializer;if(t.declarations.length>=1){zp(t.declarations[0])}}function Qp(e,t){return Zp(Zl(e),e,!0,void 0!==t)}function Zp(e,t,n,r){return gt(e)?e:em(e,t,n,r,!0)||Vy}function em(t,n,r,i,a){var o=Cy>=2,s=!o&&Sy.downlevelIteration;if(o||s||i){var c=tm(t,o?n:void 0,i,!0,a);if(c||o)return c}var u=t,l=!1,d=!1;if(r){if(65536&u.flags){var f=t.types,p=e.filter(f,function(e){return!(262178&e.flags)});p!==f&&(u=la(p,!0))}else 262178&u.flags&&(u=av);if((d=u!==t)&&(Cy<1&&n&&(_(n,e.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),l=!0),8192&u.flags))return Qy}if(!fs(u)){if(n&&!l){_(n,!r||d?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,Qe(u))}return d?Qy:void 0}var m=Dr(u,1);return d&&m?262178&m.flags?Qy:la([m,Qy],!0):m}function tm(t,n,r,i,a){function o(t){var o=t;if(r){if(o.iteratedTypeOfAsyncIterable)return o.iteratedTypeOfAsyncIterable;if(Vt(t,Mi(!1))||Vt(t,Li(!1)))return o.iteratedTypeOfAsyncIterable=t.typeArguments[0]}if(i){if(o.iteratedTypeOfIterable)return o.iteratedTypeOfIterable;if(Vt(t,Bi(!1))||Vt(t,zi(!1)))return o.iteratedTypeOfIterable=t.typeArguments[0]}var s=r&&mt(t,e.getPropertyNameForKnownSymbolName("asyncIterator")),c=s||i&&mt(t,e.getPropertyNameForKnownSymbolName("iterator"));if(!gt(c)){var u=c&&xr(c,0);if(!e.some(u))return void(n&&(_(n,r?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),n=void 0));var l=la(e.map(u,Ur),!0),d=nm(l,n,!!s);return a&&n&&d&&Oo(t,s?Vi(d):Wi(d),n),s?o.iteratedTypeOfAsyncIterable=d:o.iteratedTypeOfIterable=d}}if(!gt(t))return Kc(t,o)}function nm(t,n,r){if(!gt(t)){var i=t;if(r?i.iteratedTypeOfAsyncIterator:i.iteratedTypeOfIterator)return r?i.iteratedTypeOfAsyncIterator:i.iteratedTypeOfIterator;if(Vt(t,(r?Ri:ji)(!1)))return r?i.iteratedTypeOfAsyncIterator=t.typeArguments[0]:i.iteratedTypeOfIterator=t.typeArguments[0];var a=mt(t,"next");if(!gt(a)){var o=a?xr(a,0):e.emptyArray;if(0===o.length)return void(n&&_(n,r?e.Diagnostics.An_async_iterator_must_have_a_next_method:e.Diagnostics.An_iterator_must_have_a_next_method));var s=la(e.map(o,Ur),!0);if(!(gt(s)||r&&(s=Z_(s,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),gt(s)))){var c=s&&mt(s,"value");return c?r?i.iteratedTypeOfAsyncIterator=c:i.iteratedTypeOfIterator=c:void(n&&_(n,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:e.Diagnostics.The_type_returned_by_the_next_method_of_an_iterator_must_have_a_value_property))}}}}function rm(e,t){if(!gt(e))return tm(e,void 0,t,!t,!1)||nm(e,void 0,t)}function im(e){sy(e)||Uh(e)}function am(t){return 153===t.kind&&void 0!==e.getEffectiveSetAccessorTypeAnnotationNode(e.getDeclarationOfKind(t.symbol,154))}function om(t,n){var r=2==(3&e.getFunctionFlags(t))?ep(n):n;return r&&zf(r,1025)}function sm(t){if(!sy(t)){e.getContainingFunction(t)||Qh(t,e.Diagnostics.A_return_statement_can_only_be_used_within_a_function_body)}var n=e.getContainingFunction(t);if(n){var r=Mr(n),i=Ur(r);if(wy||t.expression||8192&i.flags){var a=t.expression?u_(t.expression):Gy,o=e.getFunctionFlags(n);if(1&o)return;if(154===n.kind)t.expression&&_(t,e.Diagnostics.Setters_cannot_return_a_value);else if(152===n.kind)t.expression&&!Oo(a,i,t)&&_(t,e.Diagnostics.Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class);else if(e.getEffectiveReturnTypeNode(n)||am(n))if(2&o){var s=ep(i),c=tp(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&&Oo(c,s,t)}else Oo(a,i,t)}else 152!==n.kind&&Sy.noImplicitReturns&&!om(n,i)&&_(t,e.Diagnostics.Not_all_code_paths_return_a_value)}}function cm(t){sy(t)||16384&t.flags&&Qh(t,e.Diagnostics.with_statements_are_not_allowed_in_an_async_function_block),v_(t.expression);var n=e.getSourceFileOfNode(t);if(!Yh(n)){var r=e.getSpanOfTokenAtPosition(n,t.pos).start;Zh(n,r,t.statement.pos-r,e.Diagnostics.The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any)}}function um(t){sy(t);var n,r=!1,i=v_(t.expression),a=ms(i);e.forEach(t.caseBlock.clauses,function(o){if(258===o.kind&&!r)if(void 0===n)n=o;else{var s=e.getSourceFileOfNode(t),u=e.skipTrivia(s.text,o.pos),l=o.statements.length>0?o.statements[0].pos:o.end;Zh(s,u,l-u,e.Diagnostics.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement),r=!0}if(c&&257===o.kind){var d=o,f=v_(d.expression),_=ms(f),p=i;_&&a||(f=_?gs(f):f,p=gs(i)),Zf(p,f)||Io(f,p,d.expression,void 0)}e.forEach(o.statements,Ym)}),t.caseBlock.locals&&mp(t.caseBlock)}function lm(t){sy(t)||e.findAncestor(t.parent,function(n){if(e.isFunctionLike(n))return"quit";if(222===n.kind&&n.label.escapedText===t.label.escapedText){var r=e.getSourceFileOfNode(t);return ey(t.label,e.Diagnostics.Duplicate_label_0,e.getTextOfNodeFromSourceText(r.text,t.label)),!0}}),Ym(t.statement)}function dm(t){sy(t)||void 0===t.expression&&uy(t,e.Diagnostics.Line_break_not_permitted_here),t.expression&&v_(t.expression)}function fm(t){sy(t),Dp(t.tryBlock);var n=t.catchClause;if(n){if(n.variableDeclaration)if(n.variableDeclaration.type)Qh(n.variableDeclaration.type,e.Diagnostics.Catch_clause_variable_cannot_have_a_type_annotation);else if(n.variableDeclaration.initializer)Qh(n.variableDeclaration.initializer,e.Diagnostics.Catch_clause_variable_cannot_have_an_initializer);else{var r=n.block.locals;r&&e.forEachKey(n.locals,function(t){var n=r.get(t);n&&0!=(2&n.flags)&&ey(n.valueDeclaration,e.Diagnostics.Cannot_redeclare_identifier_0_in_catch_clause,t)})}Dp(n.block)}t.finallyBlock&&Dp(t.finallyBlock)}function _m(t){function n(t,n,r,i,a,o){if(a){var s=t.valueDeclaration;if(1!==o||(s?dl(e.getNameOfDeclaration(s)):pl(t.escapedName))){var c;if(!s||194!==s.kind&&144!==e.getNameOfDeclaration(s).kind&&t.parent!==r.symbol){if(i)c=i;else if(2&D(r)){var u=e.forEach(on(r),function(e){return rr(e,t.escapedName)&&Dr(e,o)});c=u?void 0:r.symbol.declarations[0]}}else c=s;if(c&&!wo(n,a)){_(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,Xe(t),Qe(n),Qe(a))}}}}var r=Qr(t.symbol,1),i=Qr(t.symbol,0),a=Dr(t,0),o=Dr(t,1);if((a||o)&&(e.forEach(nr(t),function(e){var s=qt(e);n(e,s,t,i,a,0),n(e,s,t,r,o,1)}),1&D(t)&&e.isClassLike(t.symbol.valueDeclaration)))for(var s=t.symbol.valueDeclaration,c=0,u=s.members;cr)return!1;for(var u=0;u>s;case 47:return o>>>s;case 45:return o<1&&e.forEach(r.declarations,function(t){e.isConstEnumDeclaration(t)!==n&&_(e.getNameOfDeclaration(t),e.Diagnostics.Enum_declarations_must_all_be_const_or_non_const)});var i=!1;e.forEach(r.declarations,function(t){if(232!==t.kind)return!1;var n=t;if(!n.members.length)return!1;var r=n.members[0];r.initializer||(i?_(r.name,e.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):i=!0)})}}}function Mm(t){for(var n=t.declarations,r=0,i=n;r1&&!i&&r(t,Sy.preserveConstEnums||Sy.isolatedModules)){var s=Mm(o);s&&(e.getSourceFileOfNode(t)!==e.getSourceFileOfNode(s)?_(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(i.getSourceFiles(),eg),kb.getDiagnostics()}function ig(){return ag(),kb.getGlobalDiagnostics()}function ag(){if(!c)throw new Error("Trying to get diagnostics from a type checker that does not produce them.")}function og(e){if(e)for(;e.parent;){if(220===e.parent.kind&&e.parent.statement===e)return!0;e=e.parent}return!1}function sg(t,n){function r(t,n){if(e.getCombinedLocalAndExportSymbolFlags(t)&n){var r=t.escapedName;a.has(r)||a.set(r,t)}}function i(e,t){t&&e.forEach(function(e){r(e,t)})}if(og(t))return[];var a=e.createSymbolTable(),o=!1;return function(){for(;t;){switch(t.locals&&!T(t)&&i(t.locals,n),t.kind){case 233:i(De(t).exports,2623475&n);break;case 232:i(De(t).exports,8&n);break;case 199:t.name&&r(t.symbol,n);case 229:case 230:o||i(De(t).members,793064&n);break;case 186:t.name&&r(t.symbol,n)}e.introducesArgumentsExoticObject(t)&&r(My,n),o=e.hasModifier(t,32),t=t.parent}i(Zv,n)}(),wr(a)}function cg(e){return 71===e.kind&&ug(e.parent)&&e.parent.name===e}function ug(e){switch(e.kind){case 145:case 229:case 230:case 231:case 232:return!0}}function lg(e){for(var t=e;t.parent&&143===t.parent.kind;)t=t.parent;return t.parent&&159===t.parent.kind}function dg(e){for(var t=e;t.parent&&179===t.parent.kind;)t=t.parent;return t.parent&&201===t.parent.kind}function fg(t,n){for(var r;;){if(!(t=e.getContainingClass(t)))break;if(r=n(t))break}return r}function _g(e,t){return!!fg(e,function(e){return e===t})}function pg(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 mg(e){return void 0!==pg(e)}function gg(t){switch(e.getSpecialPropertyAssignmentKind(t.parent.parent)){case 1:case 3:return De(t.parent);case 4:case 2:case 5:return De(t.parent.parent)}}function hg(t){if(e.isDeclarationName(t))return De(t.parent);if(e.isInJavaScriptFile(t)&&179===t.parent.kind&&t.parent===t.parent.parent.left){var n=gg(t);if(n)return n}if(243===t.parent.kind&&e.isEntityNameExpression(t))return ue(t,2998271);if(179!==t.kind&&mg(t)){var r=e.getAncestor(t,237);return e.Debug.assert(void 0!==r),se(t,!0)}if(e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),dg(t)){var i=0;201===t.parent.kind?(i=793064,e.isExpressionWithTypeArgumentsInClassExtendsClause(t.parent)&&(i|=107455)):i=1920,i|=2097152;var a=ue(t,i);if(a)return a}if(279===t.parent.kind)return e.getParameterSymbolFromJSDoc(t.parent);if(145===t.parent.kind&&282===t.parent.parent.kind){e.Debug.assert(!e.isInJavaScriptFile(t));var o=e.getTypeParameterFromJsDoc(t.parent);return o&&o.symbol}if(e.isPartOfExpression(t)){if(e.nodeIsMissing(t))return;if(71===t.kind)return e.isJSXTagName(t)&&kl(t)?Tl(t.parent):ue(t,107455,!1,!0);if(179===t.kind||143===t.kind){var s=C(t);return s.resolvedSymbol?s.resolvedSymbol:(179===t.kind?td(t):nd(t),s.resolvedSymbol)}}else{if(lg(t)){var i=159===t.parent.kind?793064:1920;return ue(t,i,!1,!0)}if(253===t.parent.kind)return jl(t.parent)}return 158===t.parent.kind?ue(t,1):void 0}function yg(t){if(265===t.kind)return e.isExternalModule(t)?Ce(t.symbol):void 0;if(!og(t)){if(a(t))return De(t.parent);if(e.isLiteralComputedPropertyDeclarationName(t))return De(t.parent.parent);if(71===t.kind){if(mg(t))return hg(t);if(176===t.parent.kind&&174===t.parent.parent.kind&&t===t.parent.propertyName){var n=xg(t.parent.parent),r=n&&vr(n,t.escapedText);if(r)return r}}switch(t.kind){case 71:case 179:case 143:return hg(t);case 99:var i=e.getThisContainer(t,!1);if(e.isFunctionLike(i)){var o=Mr(i);if(o.thisParameter)return o.thisParameter}case 97:return(e.isPartOfExpression(t)?h_(t):Wa(t)).symbol;case 169:return Wa(t).symbol;case 123:var s=t.parent;if(s&&152===s.kind)return s.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||e.isInJavaScriptFile(t)&&e.isRequireCall(t.parent,!1)||e.isImportCall(t.parent))return le(t,t);case 8:if(180===t.parent.kind&&t.parent.argumentExpression===t){var c=h_(t.parent.expression);if(c===Wy)return;var u=mr(c);if(u===Wy)return;return vr(u,t.text)}}}}function vg(e){if(e&&262===e.kind)return ue(e.name,2204607)}function bg(e){return e.parent.parent.moduleSpecifier?X(e.parent.parent,e):ue(e.propertyName||e.name,2998271)}function xg(t){if(og(t))return Wy;if(e.isPartOfTypeNode(t)){var n=Wa(t);if(n&&e.isExpressionWithTypeArgumentsInClassImplementsClause(t)){var r=e.getContainingClass(t),i=xg(r);n=Nn(n,i.thisType)}return n}if(e.isPartOfExpression(t))return Cg(t);if(e.isExpressionWithTypeArgumentsInClassExtendsClause(t)){var o=e.getContainingClass(t),i=xn(De(o)),s=on(i)[0];return s&&Nn(s,i.thisType)}if(ug(t)){var c=De(t);return xn(c)}if(cg(t)){var c=yg(t);return c&&xn(c)}if(e.isDeclaration(t)){var c=De(t);return qt(c)}if(a(t)){var c=yg(t);return c&&qt(c)}if(e.isBindingPattern(t))return Dt(t.parent,!0);if(mg(t)){var c=yg(t),u=c&&xn(c);return u!==Wy?u:qt(c)}return Wy}function kg(t){if(e.Debug.assert(178===t.kind||177===t.kind),216===t.parent.kind){var n=Qp(t.parent.expression,t.parent.awaitModifier);return Xf(t,n||Wy)}if(194===t.parent.kind){var n=h_(t.parent.right);return Xf(t,n||Wy)}if(261===t.parent.kind){return Wf(kg(t.parent.parent)||Wy,t.parent)}e.Debug.assert(177===t.parent.kind);var r=kg(t.parent),i=Zp(r||Wy,t.parent,!1,!1)||Wy;return $f(t.parent,r,e.indexOf(t.parent.elements,t),i||Wy)}function Sg(e){var t=kg(e.parent.parent);return t&&vr(t,e.escapedText)}function Cg(t){return e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),Ua(h_(t))}function Dg(t){var n=De(t.parent);return e.hasModifier(t,32)?qt(n):xn(n)}function Tg(t){t=mr(t);var n=e.createSymbolTable(ar(t));return(xr(t,0).length||xr(t,1).length)&&e.forEach(ar(mv),function(e){n.has(e.escapedName)||n.set(e.escapedName,e)}),Fe(n)}function Eg(t){if(6&e.getCheckFlags(t)){var n=[],r=t.escapedName;return e.forEach(S(t).containingType.types,function(e){var t=vr(e,r);t&&n.push(t)}),n}if(33554432&t.flags){var i=t;if(i.leftSpread)return Eg(i.leftSpread).concat(Eg(i.rightSpread));if(i.syntheticOrigin)return Eg(i.syntheticOrigin);for(var a=void 0,o=t;o=S(o).target;)a=o;if(a)return[a]}return[t]}function wg(t){if(!e.isGeneratedIdentifier(t)&&(t=e.getParseTreeNode(t,e.isIdentifier))){return!(179===t.parent.kind&&t.parent.name===t)&&eh(t)===My}return!1}function Ag(t){function n(e){return(e=re(e))&&!!(107455&e.flags)}var r=le(t.parent,t);if(!r||e.isShorthandAmbientModuleSymbol(r))return!0;var i=me(r);r=_e(r);var a=S(r);return void 0===a.exportsSomeValue&&(a.exportsSomeValue=i?!!(107455&r.flags):e.forEachEntry(xe(r),n)),a.exportsSomeValue}function Ng(t){var n=t.parent;return n&&e.isModuleOrEnumDeclaration(n)&&t===n.name}function Pg(t,n){if(t=e.getParseTreeNode(t,e.isIdentifier)){var r=eh(t,Ng(t));if(r){if(1048576&r.flags){var i=Ce(r.exportSymbol);if(!n&&944&i.flags)return;r=i}var a=Te(r);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)&&De(t)===a})}}}}function Og(t){if(t=e.getParseTreeNode(t,e.isIdentifier)){var n=eh(t);if(ne(n,107455))return K(n)}}function Ig(t){if(418&t.flags){var n=S(t);if(void 0===n.isDeclarationWithCollidingName){var r=e.getEnclosingBlockScopeContainer(t.valueDeclaration);if(e.isStatementWithLocals(r)){var i=C(t.valueDeclaration);if(N(r.parent,t.escapedName,107455,void 0,void 0))n.isDeclarationWithCollidingName=!0;else if(131072&i.flags){var a=262144&i.flags,o=e.isIterationStatement(r,!1),s=207===r.kind&&e.isIterationStatement(r.parent,!1);n.isDeclarationWithCollidingName=!(e.isBlockScopedContainerTopLevel(r)||a&&(o||s))}else n.isDeclarationWithCollidingName=!1}}return n.isDeclarationWithCollidingName}return!1}function Fg(t){if(!e.isGeneratedIdentifier(t)&&(t=e.getParseTreeNode(t,e.isIdentifier))){var n=eh(t);if(n&&Ig(n))return n.valueDeclaration}}function Mg(t){if(t=e.getParseTreeNode(t,e.isDeclaration)){var n=De(t);if(n)return Ig(n)}return!1}function Rg(t){switch(t.kind){case 237:case 239:case 240:case 242:case 246:return Bg(De(t)||Ky);case 244:var n=t.exportClause;return n&&e.forEach(n.elements,Rg);case 243:return!t.expression||71!==t.expression.kind||Bg(De(t)||Ky)}return!1}function Lg(t){return!(void 0===(t=e.getParseTreeNode(t,e.isImportEqualsDeclaration))||265!==t.parent.kind||!e.isInternalModuleImportEqualsDeclaration(t))&&(Bg(De(t))&&t.moduleReference&&!e.nodeIsMissing(t.moduleReference))}function Bg(e){var t=ie(e);return t===Ky||107455&t.flags&&(Sy.preserveConstEnums||!jg(t))}function jg(e){return Kf(e)||e.constEnumOnlyModule}function zg(t,n){if(e.isAliasSymbolDeclaration(t)){var r=De(t);if(r&&S(r).referenced)return!0}return!!n&&e.forEachChild(t,function(e){return zg(e,n)})}function Ug(t){if(e.nodeIsPresent(t.body)){var n=De(t),r=Br(n);return r.length>1||1===r.length&&r[0].declaration!==t}return!1}function Jg(t){return wy&&!Pr(t)&&t.initializer&&!e.hasModifier(t,92)}function Kg(t){return wy&&Pr(t)&&!t.initializer&&e.hasModifier(t,92)}function qg(e){return C(e).flags}function Vg(e){return Nm(e.parent),C(e).enumMemberValue}function Hg(e){switch(e.kind){case 264:case 179:case 180:return!0}return!1}function Wg(t){if(264===t.kind)return Vg(t);var n=C(t).resolvedSymbol;return n&&8&n.flags&&e.isConstEnumDeclaration(n.valueDeclaration.parent)?Vg(n.valueDeclaration):void 0}function Gg(e){return 32768&e.flags&&xr(e,0).length>0}function $g(t,n){if(!(t=e.getParseTreeNode(t,e.isEntityName)))return e.TypeReferenceSerializationKind.Unknown;if(n&&!(n=e.getParseTreeNode(n)))return e.TypeReferenceSerializationKind.Unknown;var r=ue(t,107455,!0,!1,n),i=ue(t,793064,!0,!1,n);if(r&&r===i){var a=Ii(!1);if(a&&r===a)return e.TypeReferenceSerializationKind.Promise;var o=qt(r);if(o&&en(o))return e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}if(!i)return e.TypeReferenceSerializationKind.ObjectType;var s=xn(i);return s===Wy?e.TypeReferenceSerializationKind.Unknown:1&s.flags?e.TypeReferenceSerializationKind.ObjectType:Uf(s,15360)?e.TypeReferenceSerializationKind.VoidNullableOrNeverType:Uf(s,136)?e.TypeReferenceSerializationKind.BooleanType:Uf(s,84)?e.TypeReferenceSerializationKind.NumberLikeType:Uf(s,262178)?e.TypeReferenceSerializationKind.StringLikeType:ys(s)?e.TypeReferenceSerializationKind.ArrayLikeType:Uf(s,512)?e.TypeReferenceSerializationKind.ESSymbolType:Gg(s)?e.TypeReferenceSerializationKind.TypeWithCallSignature:ds(s)?e.TypeReferenceSerializationKind.ArrayLikeType:e.TypeReferenceSerializationKind.ObjectType}function Xg(e,t,n,r){var i=De(e),a=!i||133120&i.flags?Wy:hs(qt(i));8192&n&&(a=Cs(a,2048)),ot().buildTypeDisplay(a,r,t,n)}function Yg(e,t,n,r){var i=Mr(e);ot().buildTypeDisplay(Ur(i),r,t,n)}function Qg(e,t,n,r){var i=Is(Cg(e));ot().buildTypeDisplay(i,r,t,n)}function Zg(t){return Zv.has(e.escapeLeadingUnderscores(t))}function eh(t,n){var r=C(t).resolvedSymbol;if(r)return r;var i=t;if(n){var a=t.parent;e.isDeclaration(a)&&t===a.name&&(i=_t(a))}return N(i,t.escapedText,3253183,void 0,void 0)}function th(t){if(!e.isGeneratedIdentifier(t)&&(t=e.getParseTreeNode(t,e.isIdentifier))){var n=eh(t);if(n)return Ee(n).valueDeclaration}}function nh(t){if(e.isConst(t)){var n=qt(De(t));return!!(96&n.flags&&1048576&n.flags)}return!1}function rh(e,t){var n=qt(De(e));t.writeStringLiteral(it(n))}function ih(t){var n=e.getExternalModuleName(t),r=de(n,n,void 0);if(r)return e.getDeclarationOfKind(r,265)}function ah(t,n){if((_y&n)!==n&&Sy.importHelpers){var r=e.getSourceFileOfNode(t);if(e.isEffectiveExternalModule(r,Sy)&&!e.isInAmbientContext(t)){var i=sh(r,t);if(i!==Ky)for(var a=n&~_y,o=1;o<=32768;o<<=1)if(a&o){var s=oh(o),c=E(i.exports,e.escapeLeadingUnderscores(s),107455);c||_(t,e.Diagnostics.This_syntax_requires_an_imported_helper_named_1_but_module_0_has_no_exported_member_1,e.externalHelpersModuleNameText,s)}_y|=n}}}function oh(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"__await";case 4096:return"__asyncGenerator";case 8192:return"__asyncDelegator";case 16384:return"__asyncValues";case 32768:return"__exportStar";default:e.Debug.fail("Unrecognized helper")}}function sh(t,n){return py||(py=fe(t,e.externalHelpersModuleNameText,e.Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,n)||Ky),py}function ch(t){if(!t.decorators)return!1;if(!e.nodeCanBeDecorated(t))return 151!==t.kind||e.nodeIsPresent(t.body)?Qh(t,e.Diagnostics.Decorators_are_not_valid_here):Qh(t,e.Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload);if(153===t.kind||154===t.kind){var n=e.getAllAccessorDeclarations(t.parent.members,t);if(n.firstAccessor.decorators&&t===n.secondAccessor)return Qh(t,e.Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}return!1}function uh(t){var n=lh(t);if(void 0!==n)return n;for(var r,i,a,o,s=0,c=0,u=t.modifiers;c1||e.modifiers[0].kind!==t}function _h(t,n){switch(t.kind){case 151:case 228:case 186:case 187:return!1}return ey(n,e.Diagnostics._0_modifier_cannot_be_used_here,"async")}function ph(t){if(t&&t.hasTrailingComma){var n=t.end-",".length,r=t.end;return Zh(e.getSourceFileOfNode(t[0]),n,r-n,e.Diagnostics.Trailing_comma_not_allowed)}}function mh(t,n){if(ph(t))return!0;if(t&&0===t.length){var r=t.pos-"<".length;return Zh(n,r,e.skipTrivia(n.text,t.end)+">".length-r,e.Diagnostics.Type_parameter_list_cannot_be_empty)}}function gh(t){for(var n=!1,r=t.length,i=0;i".length-i,e.Diagnostics.Type_argument_list_cannot_be_empty)}}function Sh(e,t){return ph(t)||kh(e,t)}function Ch(t,n){if(n)for(var r=e.getSourceFileOfNode(t),i=0,a=n;i1)return Qh(o.types[1],e.Diagnostics.Classes_can_only_extend_a_single_class);n=!0}else{if(e.Debug.assert(108===o.token),r)return Qh(o,e.Diagnostics.implements_clause_already_seen);r=!0}Th(o)}}function Ah(t){var n=!1;if(t.heritageClauses)for(var r=0,i=t.heritageClauses;r1){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 Qh(n.declarations[1],i)}var a=r[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 ey(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 ey(a,i)}}}return!1}function Rh(t){var n=t.kind;if(Cy<1)return ey(t.name,e.Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);if(e.isInAmbientContext(t))return ey(t.name,e.Diagnostics.An_accessor_cannot_be_declared_in_an_ambient_context);if(void 0===t.body&&!e.hasModifier(t,128))return Zh(e.getSourceFileOfNode(t),t.end-1,";".length,e.Diagnostics._0_expected,"{");if(t.body&&e.hasModifier(t,128))return ey(t,e.Diagnostics.An_abstract_accessor_cannot_have_an_implementation);if(t.typeParameters)return ey(t.name,e.Diagnostics.An_accessor_cannot_have_type_parameters);if(!Lh(t))return ey(t.name,153===n?e.Diagnostics.A_get_accessor_cannot_have_parameters:e.Diagnostics.A_set_accessor_must_have_exactly_one_parameter);if(154===n){if(t.type)return ey(t.name,e.Diagnostics.A_set_accessor_cannot_have_a_return_type_annotation);var r=t.parameters[0];if(r.dotDotDotToken)return ey(r.dotDotDotToken,e.Diagnostics.A_set_accessor_cannot_have_rest_parameter);if(r.questionToken)return ey(r.questionToken,e.Diagnostics.A_set_accessor_cannot_have_an_optional_parameter);if(r.initializer)return ey(t.name,e.Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer)}}function Lh(e){return Bh(e)||e.parameters.length===(153===e.kind?0:1)}function Bh(t){if(t.parameters.length===(153===t.kind?1:2))return e.getThisParameter(t)}function jh(t,n){if(e.isDynamicName(t))return ey(t,n)}function zh(t){if(Kp(t)||hh(t)||Ph(t))return!0;if(178===t.parent.kind){if(Oh(t.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional))return!0;if(void 0===t.body)return Zh(e.getSourceFileOfNode(t),t.end-1,";".length,e.Diagnostics._0_expected,"{")}if(e.isClassLike(t.parent)){if(e.isInAmbientContext(t))return jh(t.name,e.Diagnostics.A_computed_property_name_in_an_ambient_context_must_directly_refer_to_a_built_in_symbol);if(!t.body)return jh(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 jh(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 jh(t.name,e.Diagnostics.A_computed_property_name_in_a_type_literal_must_directly_refer_to_a_built_in_symbol)}}function Uh(t){for(var n=t;n;){if(e.isFunctionLike(n))return ey(t,e.Diagnostics.Jump_target_cannot_cross_function_boundary);switch(n.kind){case 222:if(t.label&&n.label.escapedText===t.label.escapedText){return!!(217===t.kind&&!e.isIterationStatement(n.statement,!0))&&ey(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(n,!1)&&!t.label)return!1}n=n.parent}if(t.label){var r=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 ey(t,r)}var r=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 ey(t,r)}function Jh(t){if(t.dotDotDotToken){var n=t.parent.elements;if(t!==e.lastOrUndefined(n))return ey(t,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);if(175===t.name.kind||174===t.name.kind)return ey(t.name,e.Diagnostics.A_rest_element_cannot_contain_a_binding_pattern);if(t.initializer)return Zh(e.getSourceFileOfNode(t),t.initializer.pos-1,1,e.Diagnostics.A_rest_element_cannot_have_an_initializer)}}function Kh(e){return 9===e.kind||8===e.kind||192===e.kind&&38===e.operator&&8===e.operand.kind}function qh(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 n="=".length;return Zh(e.getSourceFileOfNode(t),t.initializer.pos-n,n,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}if(!Kh(t.initializer))return ey(t.initializer,e.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal)}if(t.initializer&&(!e.isConst(t)||!Kh(t.initializer))){var n="=".length;return Zh(e.getSourceFileOfNode(t),t.initializer.pos-n,n,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}else if(!t.initializer){if(e.isBindingPattern(t.name)&&!e.isBindingPattern(t.parent))return ey(t,e.Diagnostics.A_destructuring_declaration_must_have_an_initializer);if(e.isConst(t))return ey(t,e.Diagnostics.const_declarations_must_be_initialized)}return Sy.module===e.ModuleKind.ES2015||Sy.module===e.ModuleKind.System||Sy.noEmit||e.isInAmbientContext(t.parent.parent)||!e.hasModifier(t.parent.parent,1)||Vh(t.name),(e.isLet(t)||e.isConst(t))&&Hh(t.name)}function Vh(t){if(71===t.kind){if("__esModule"===e.unescapeLeadingUnderscores(t.escapedText))return ey(t,e.Diagnostics.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules)}else for(var n=t.elements,r=0,i=n;r0}function Qh(t,n,r,i,a){var o=e.getSourceFileOfNode(t);if(!Yh(o)){var s=e.getSpanOfTokenAtPosition(o,t.pos);return kb.add(e.createFileDiagnostic(o,s.start,s.length,n,r,i,a)),!0}}function Zh(t,n,r,i,a,o,s){if(!Yh(t))return kb.add(e.createFileDiagnostic(t,n,r,i,a,o,s)),!0}function ey(t,n,r,i,a){if(!Yh(e.getSourceFileOfNode(t)))return kb.add(e.createDiagnosticForNode(t,n,r,i,a)),!0}function ty(t){if(t.typeParameters)return Zh(e.getSourceFileOfNode(t),t.typeParameters.pos,t.typeParameters.end-t.typeParameters.pos,e.Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration)}function ny(t){if(t.type)return ey(t.type,e.Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration)}function ry(t){if(e.isClassLike(t.parent)){if(jh(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(jh(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 ey(t.initializer,e.Diagnostics.An_interface_property_cannot_have_an_initializer)}else if(163===t.parent.kind){if(jh(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 ey(t.initializer,e.Diagnostics.A_type_literal_property_cannot_have_an_initializer)}if(e.isInAmbientContext(t)&&t.initializer)return Qh(t.initializer,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}function iy(t){return 230!==t.kind&&231!==t.kind&&238!==t.kind&&237!==t.kind&&244!==t.kind&&243!==t.kind&&236!==t.kind&&!e.hasModifier(t,515)&&Qh(t,e.Diagnostics.A_declare_modifier_is_required_for_a_top_level_declaration_in_a_d_ts_file)}function ay(t){for(var n=0,r=t.statements;n=1?n=e.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:e.isChildOfNodeWithKind(t,173)?n=e.Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:e.isChildOfNodeWithKind(t,264)&&(n=e.Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0),n){var r=e.isPrefixUnaryExpression(t.parent)&&38===t.parent.operator,i=(r?"-":"")+"0o"+t.text;return ey(r?t.parent:t,n,i)}}}function uy(t,n,r,i,a){var o=e.getSourceFileOfNode(t);if(!Yh(o)){var s=e.getSpanOfTokenAtPosition(o,t.pos);return kb.add(e.createFileDiagnostic(o,e.textSpanEnd(s),0,n,r,i,a)),!0}}function ly(){var t=[];return Zv.forEach(function(n,r){s.test(e.unescapeLeadingUnderscores(r))&&t.push(n)}),t}function dy(t){if(Dy===e.ModuleKind.ES2015)return ey(t,e.Diagnostics.Dynamic_import_cannot_be_used_when_targeting_ECMAScript_2015_modules);if(t.typeArguments)return ey(t,e.Diagnostics.Dynamic_import_cannot_have_type_arguments);var n=t.arguments;return 1!==n.length?ey(t,e.Diagnostics.Dynamic_import_must_have_one_specifier_as_an_argument):e.isSpreadElement(n[0])?ey(n[0],e.Diagnostics.Specifier_of_dynamic_import_cannot_be_spread_element):void 0}var fy,_y,py,my=e.objectAllocator.getSymbolConstructor(),gy=e.objectAllocator.getTypeConstructor(),hy=e.objectAllocator.getSignatureConstructor(),yy=0,vy=0,by=0,xy=0,ky=e.createSymbolTable(),Sy=i.getCompilerOptions(),Cy=e.getEmitScriptTarget(Sy),Dy=e.getEmitModuleKind(Sy),Ty=!!Sy.noUnusedLocals||!!Sy.noUnusedParameters,Ey=void 0!==Sy.allowSyntheticDefaultImports?Sy.allowSyntheticDefaultImports:Dy===e.ModuleKind.System,wy=void 0===Sy.strictNullChecks?Sy.strict:Sy.strictNullChecks,Ay=void 0===Sy.noImplicitAny?Sy.strict:Sy.noImplicitAny,Ny=void 0===Sy.noImplicitThis?Sy.strict:Sy.noImplicitThis,Py=function(){function t(e){if(a){var t=179===e.kind||71===e.kind&&ec(e)?1156031:794600,r=ue(e,t,!0);return r&&r!==Ky?n(r,t):void 0}}function n(t,n){if(a&&r(t)){for(var i,o=0,s=t.declarations;o0){var c=r(i.slice(0,ci(t)),s);if(c&&c.length>0)return e.createTupleTypeNode(c)}return s.encounteredError||s.flags&e.NodeBuilderFlags.AllowEmptyTuple?e.createTupleTypeNode([]):void(s.encounteredError=!0)}var u=t.target.outerTypeParameters,l=0,d=void 0;if(u)for(var f=u.length;l0){var S=(t.target.typeParameters||e.emptyArray).length;k=r(i.slice(l,S),s)}if(k){(71===b.kind?b:b.right).typeArguments=void 0}return e.createTypeReferenceNode(b,k)}(t);if(16384&t.flags||3&x){var b=c(t.symbol,s,793064,!1);return e.createTypeReferenceNode(b,void 0)}if(!g&&t.aliasSymbol&&Je(t.aliasSymbol,s.enclosingDeclaration)){var b=_(t.aliasSymbol),k=r(t.aliasTypeArguments,s);return e.createTypeReferenceNode(b,k)}if(196608&t.flags){var S=65536&t.flags?et(t.types):t.types,C=r(S,s);if(C&&C.length>0){return e.createUnionOrIntersectionTypeNode(65536&t.flags?166:167,C)}return void(s.encounteredError||s.flags&e.NodeBuilderFlags.AllowEmptyUnionOrIntersection||(s.encounteredError=!0))}if(48&x)return e.Debug.assert(!!(32768&t.flags)),function(t){var n=t.symbol;if(n){if(32&n.flags&&!Bt(n)||896&n.flags||function(){var t=!!(8192&n.flags)&&e.some(n.declarations,function(t){return e.hasModifier(t,32)}),r=!!(16&n.flags)&&(n.parent||e.forEach(n.declarations,function(e){return 265===e.parent.kind||234===e.parent.kind}));if(t||r)return e.contains(s.symbolStack,n)}())return f(n,107455);if(e.contains(s.symbolStack,n)){var r=nt(t);if(r){var i=c(r,s,793064,!1);return e.createTypeReferenceNode(i,void 0)}return e.createKeywordTypeNode(119)}s.symbolStack||(s.symbolStack=[]),s.symbolStack.push(n);var a=d(t);return s.symbolStack.pop(),a}return d(t)}(t);if(262144&t.flags){var T=t.type,E=n(T,s);return e.createTypeOperatorNode(E)}if(524288&t.flags){var w=n(t.objectType,s),E=n(t.indexType,s);return e.createIndexedAccessTypeNode(w,E)}e.Debug.fail("Should be unreachable.")}function r(t,r){if(e.some(t)){for(var i=[],a=0;a0){var c=t[i-1],l=void 0;if(1&e.getCheckFlags(s))l=Qt(c);else{524384&Sm(c).flags&&(l=Yt(s))}a=r(l,n)}var d=u(s,n),f=e.setEmitFlags(e.createIdentifier(d,a),16777216);return i>0?e.createQualifiedName(o(t,i-1),f):f}function s(t,r,i){var a,o=je(t,n.enclosingDeclaration,r,!1);if(!o||ze(o[0],n.enclosingDeclaration,1===o.length?r:Be(r))){var c=Te(o?o[0]:t);if(c){var u=s(c,Be(r),!1);u&&(a=c,o=u.concat(o||[t]))}}return o||(!i&&(!a&&e.forEach(t.declarations,qe)||6144&t.flags)?void 0:[t])}var c;return 262144&t.flags||!(n.enclosingDeclaration||n.flags&e.NodeBuilderFlags.UseFullyQualifiedType)?c=[t]:(c=s(t,i,!0),e.Debug.assert(c&&c.length>0)),!a||1===c.length||n.encounteredError||n.flags&e.NodeBuilderFlags.AllowQualifedNameInPlaceOfIdentifier||(n.encounteredError=!0),o(c,c.length-1)}function u(t,n){var r=e.firstOrUndefined(t.declarations);if(r){var i=e.getNameOfDeclaration(r);if(i)return e.declarationNameToString(i);if(r.parent&&226===r.parent.kind)return e.declarationNameToString(r.parent.name);switch(n.encounteredError||n.flags&e.NodeBuilderFlags.AllowAnonymousIdentifier||(n.encounteredError=!0),r.kind){case 199:return"(Anonymous class)";case 186:case 187:return"(Anonymous function)"}}return e.unescapeLeadingUnderscores(t.escapedName)}return{typeToTypeNode:function(e,r,i){var a=t(r,i),o=n(e,a);return a.encounteredError?void 0:o},indexInfoToIndexSignatureDeclaration:function(e,n,r,a){var o=t(r,a),s=i(e,n,o);return o.encounteredError?void 0:s},signatureToSignatureDeclaration:function(e,n,r,i){var o=t(r,i),s=a(e,n,o);return o.encounteredError?void 0:s}}}(),Iy=p(4,"undefined");Iy.declarations=[];var Fy,My=p(4,"arguments"),Ry={getNodeCount:function(){return e.sum(i.getSourceFiles(),"nodeCount")},getIdentifierCount:function(){return e.sum(i.getSourceFiles(),"identifierCount")},getSymbolCount:function(){return e.sum(i.getSourceFiles(),"symbolCount")+vy},getTypeCount:function(){return yy},isUndefinedSymbol:function(e){return e===Iy},isArgumentsSymbol:function(e){return e===My},isUnknownSymbol:function(e){return e===Ky},getMergedSymbol:Ce,getDiagnostics:ng,getGlobalDiagnostics:ig,getTypeOfSymbolAtLocation:function(t,n){return n=e.getParseTreeNode(n),n?cu(t,n):Wy},getSymbolsOfParameterPropertyDeclaration:function(t,n){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."),w(t,e.escapeLeadingUnderscores(n))},getDeclaredTypeOfSymbol:xn,getPropertiesOfType:ar,getPropertyOfType:function(t,n){return vr(t,e.escapeLeadingUnderscores(n))},getIndexInfoOfType:Cr,getSignaturesOfType:xr,getIndexTypeOfType:Dr,getBaseTypes:on,getBaseTypeOfLiteralType:gs,getWidenedType:Is,getTypeFromTypeNode:function(t){return t=e.getParseTreeNode(t,e.isTypeNode),t?Wa(t):Wy},getParameterType:_f,getReturnTypeOfSignature:Ur,getNullableType:Cs,getNonNullableType:Ds,typeToTypeNode:Oy.typeToTypeNode,indexInfoToIndexSignatureDeclaration:Oy.indexInfoToIndexSignatureDeclaration,signatureToSignatureDeclaration:Oy.signatureToSignatureDeclaration,getSymbolsInScope:function(t,n){return t=e.getParseTreeNode(t),t?sg(t,n):[]},getSymbolAtLocation:function(t){return t=e.getParseTreeNode(t),t?yg(t):void 0},getShorthandAssignmentValueSymbol:function(t){return t=e.getParseTreeNode(t),t?vg(t):void 0},getExportSpecifierLocalTargetSymbol:function(t){return t=e.getParseTreeNode(t,e.isExportSpecifier),t?bg(t):void 0},getTypeAtLocation:function(t){return t=e.getParseTreeNode(t),t?xg(t):Wy},getPropertySymbolOfDestructuringAssignment:function(t){return t=e.getParseTreeNode(t,e.isIdentifier),t?Sg(t):void 0},signatureToString:function(t,n,r,i){return Ye(t,e.getParseTreeNode(n),r,i)},typeToString:function(t,n,r){return Qe(t,e.getParseTreeNode(n),r)},getSymbolDisplayBuilder:ot,symbolToString:function(t,n,r){return Xe(t,e.getParseTreeNode(n),r)},getAugmentedPropertiesOfType:Tg,getRootSymbols:Eg,getContextualType:function(t){return t=e.getParseTreeNode(t,e.isExpression),t?el(t):void 0},getFullyQualifiedName:ce,getResolvedSignature:function(t,n,r){t=e.getParseTreeNode(t,e.isCallLikeExpression),Fy=r;var i=t?Yd(t,n):void 0;return Fy=void 0,i},getConstantValue:function(t){return t=e.getParseTreeNode(t,Hg),t?Wg(t):void 0},isValidPropertyAccess:function(t,n){return!!(t=e.getParseTreeNode(t,e.isPropertyAccessOrQualifiedName))&&ld(t,e.escapeLeadingUnderscores(n))},getSignatureFromDeclaration:function(t){return t=e.getParseTreeNode(t,e.isFunctionLike),t?Mr(t):void 0},isImplementationOfOverload:function(t){var n=e.getParseTreeNode(t,e.isFunctionLike);return n?Ug(n):void 0},getImmediateAliasedSymbol:function(t){e.Debug.assert(0!=(2097152&t.flags),"Should only get Alias here.");var n=S(t);if(!n.immediateTarget){var r=K(t);e.Debug.assert(!!r),n.immediateTarget=te(r,!0)}return n.immediateTarget},getAliasedSymbol:ie,getEmitResolver:f,getExportsOfModule:ge,getExportsAndPropertiesOfModule:he,getAmbientModules:ly,getAllAttributesTypeFromJsxOpeningLikeElement:function(t){return t=e.getParseTreeNode(t,e.isJsxOpeningLikeElement),t?Ll(t):void 0},getJsxIntrinsicTagNames:Kl,isOptionalParameter:function(t){return!!(t=e.getParseTreeNode(t,e.isParameter))&&Pr(t)},tryGetMemberInModuleExports:function(t,n){return ye(e.escapeLeadingUnderscores(t),n)},tryGetMemberInModuleExportsAndProperties:function(t,n){return ve(e.escapeLeadingUnderscores(t),n)},tryFindAmbientModuleWithoutAugmentations:function(e){return Nr(e,!1)},getApparentType:mr,getAllPossiblePropertiesOfType:or,getSuggestionForNonexistentProperty:function(t,n){return e.unescapeLeadingUnderscores(ad(t,n))},getSuggestionForNonexistentSymbol:function(t,n,r){return e.unescapeLeadingUnderscores(od(t,e.escapeLeadingUnderscores(n),r))},getBaseConstraintOfType:lr,resolveName:function(t,n,r){return N(n,e.escapeLeadingUnderscores(t),r,void 0,void 0)},getJsxNamespace:function(){return e.unescapeLeadingUnderscores(u())}},Ly=[],By=e.createMap(),jy=e.createMap(),zy=e.createMap(),Uy=e.createMap(),Jy=[],Ky=p(4,"unknown"),qy=p(0,"__resolving__"),Vy=Pe(1,"any"),Hy=Pe(1,"any"),Wy=Pe(1,"unknown"),Gy=Pe(2048,"undefined"),$y=wy?Gy:Pe(2099200,"undefined"),Xy=Pe(4096,"null"),Yy=wy?Xy:Pe(2101248,"null"),Qy=Pe(2,"string"),Zy=Pe(4,"number"),ev=Pe(128,"true"),tv=Pe(128,"false"),nv=function(e){var t=la(e);return t.flags|=8,t.intrinsicName="boolean",t}([ev,tv]),rv=Pe(512,"symbol"),iv=Pe(1024,"void"),av=Pe(8192,"never"),ov=Pe(8192,"never"),sv=Pe(16777216,"object"),cv=Re(void 0,ky,e.emptyArray,e.emptyArray,void 0,void 0),uv=p(2048,"__type");uv.members=e.createSymbolTable();var lv=Re(uv,ky,e.emptyArray,e.emptyArray,void 0,void 0),dv=Re(void 0,ky,e.emptyArray,e.emptyArray,void 0,void 0);dv.instantiations=e.createMap();var fv=Re(void 0,ky,e.emptyArray,e.emptyArray,void 0,void 0);fv.flags|=8388608;var _v,pv,mv,gv,hv,yv,vv,bv,xv,kv,Sv,Cv,Dv,Tv,Ev,wv,Av,Nv,Pv,Ov,Iv,Fv,Mv,Rv,Lv,Bv,jv,zv,Uv,Jv,Kv,qv,Vv=Re(void 0,ky,e.emptyArray,e.emptyArray,void 0,void 0),Hv=Re(void 0,ky,e.emptyArray,e.emptyArray,void 0,void 0),Wv=Fn(void 0,void 0,void 0,e.emptyArray,Vy,void 0,0,!1,!1),Gv=Fn(void 0,void 0,void 0,e.emptyArray,Wy,void 0,0,!1,!1),$v=Fn(void 0,void 0,void 0,e.emptyArray,Vy,void 0,0,!1,!1),Xv=Fn(void 0,void 0,void 0,e.emptyArray,ov,void 0,0,!1,!1),Yv=Zr(Qy,!0),Qv=Zr(Vy,!1),Zv=e.createSymbolTable(),eb=0,tb=0,nb=0,rb=Ja(""),ib=Ja(0),ab=[],ob=[],sb=[],cb=0,ub=10,lb=[],db=[],fb=[],_b=[],pb=[],mb=[],gb=[],hb=[],yb=[],vb=[],bb=[],xb=[],kb=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"}(qv||(qv={}));var Sb,Cb,Db,Tb,Eb,wb,Ab=e.createMapFromTemplate({string:1,number:2,boolean:4,symbol:8,undefined:16384,object:16,function:32}),Nb=e.createMapFromTemplate({string:128,number:256,boolean:512,symbol:1024,undefined:131072,object:2048,function:4096}),Pb=e.createMapFromTemplate({string:Qy,number:Zy,boolean:nv,symbol:rv,undefined:Gy}),Ob=function(){return la(e.arrayFrom(Ab.keys(),Ja))}(),Ib=!1,Fb=!1,Mb=e.createUnderscoreEscapedMap(),Rb={JSX:"JSX",IntrinsicElements:"IntrinsicElements",ElementClass:"ElementClass",ElementAttributesPropertyNameContainer:"ElementAttributesProperty",ElementChildrenAttributeNameContainer:"ElementChildrenAttribute",Element:"Element",IntrinsicAttributes:"IntrinsicAttributes",IntrinsicClassAttributes:"IntrinsicClassAttributes"},Lb=e.createMap(),Bb=e.createMap(),jb=e.createMap(),zb=e.createMap(),Ub=e.createMap();!function(e){e[e.Type=0]="Type",e[e.ResolvedBaseConstructorType=1]="ResolvedBaseConstructorType",e[e.DeclaredType=2]="DeclaredType",e[e.ResolvedReturnType=3]="ResolvedReturnType"}(wb||(wb={}));var Jb;!function(e){e[e.Normal=0]="Normal",e[e.SkipContextSensitive=1]="SkipContextSensitive",e[e.Inferential=2]="Inferential"}(Jb||(Jb={}));var Kb=e.createSymbolTable();return Kb.set(Iy.escapedName,Iy),function(){for(var t=0,n=i.getSourceFiles();t0&&(a[c-s]=u)}s>0&&(a.length-=s)}}function Xi(t,n){return t===n?0:t.priority===n.priority?0:void 0===t.priority?1:void 0===n.priority?-1:e.compareValues(t.priority,n.priority)}function Yi(e,t){if(e.original=t,t){var n=t.emitNode;n&&(e.emitNode=Qi(n,e.emitNode))}return e}function Qi(t,n){var r=t.flags,i=t.leadingComments,a=t.trailingComments,o=t.commentRange,s=t.sourceMapRange,c=t.tokenSourceMapRanges,u=t.constantValue,l=t.helpers;return n||(n={}),i&&(n.leadingComments=e.addRange(i.slice(),n.leadingComments)),a&&(n.trailingComments=e.addRange(a.slice(),n.trailingComments)),r&&(n.flags=r),o&&(n.commentRange=o),s&&(n.sourceMapRange=s),c&&(n.tokenSourceMapRanges=Zi(c,n.tokenSourceMapRanges)),void 0!==u&&(n.constantValue=u),l&&(n.helpers=e.addRange(n.helpers,l)),n}function Zi(e,t){t||(t=[]);for(var n in e)t[n]=e[n];return t}e.updateNode=n,e.createNodeArray=r,e.getSynthesizedClone=i,e.createLiteral=a,e.createNumericLiteral=o,e.createIdentifier=u,e.updateIdentifier=l;var ea=0;e.createTempVariable=d,e.createLoopVariable=f,e.createUniqueName=_,e.getGeneratedNameForNode=p,e.createToken=m,e.createSuper=g,e.createThis=h,e.createNull=y,e.createTrue=v,e.createFalse=b,e.createQualifiedName=x,e.updateQualifiedName=k,e.createComputedPropertyName=S,e.updateComputedPropertyName=C,e.createTypeParameterDeclaration=D,e.updateTypeParameterDeclaration=T,e.createParameter=E,e.updateParameter=w,e.createDecorator=A,e.updateDecorator=N,e.createPropertySignature=P,e.updatePropertySignature=O,e.createProperty=I,e.updateProperty=F,e.createMethodSignature=M,e.updateMethodSignature=R,e.createMethod=L,e.updateMethod=B,e.createConstructor=j,e.updateConstructor=z,e.createGetAccessor=U,e.updateGetAccessor=J,e.createSetAccessor=K,e.updateSetAccessor=q,e.createCallSignature=V,e.updateCallSignature=H,e.createConstructSignature=W,e.updateConstructSignature=G,e.createIndexSignature=$,e.updateIndexSignature=X,e.createSignatureDeclaration=Y,e.createKeywordTypeNode=Z,e.createTypePredicateNode=ee,e.updateTypePredicateNode=te,e.createTypeReferenceNode=ne,e.updateTypeReferenceNode=re,e.createFunctionTypeNode=ie,e.updateFunctionTypeNode=ae,e.createConstructorTypeNode=oe,e.updateConstructorTypeNode=se,e.createTypeQueryNode=ce,e.updateTypeQueryNode=ue,e.createTypeLiteralNode=le,e.updateTypeLiteralNode=de,e.createArrayTypeNode=fe,e.updateArrayTypeNode=_e,e.createTupleTypeNode=pe,e.updateTypleTypeNode=me,e.createUnionTypeNode=ge,e.updateUnionTypeNode=he,e.createIntersectionTypeNode=ye,e.updateIntersectionTypeNode=ve,e.createUnionOrIntersectionTypeNode=be,e.createParenthesizedType=ke,e.updateParenthesizedType=Se,e.createThisTypeNode=Ce,e.createTypeOperatorNode=De,e.updateTypeOperatorNode=Te,e.createIndexedAccessTypeNode=Ee,e.updateIndexedAccessTypeNode=we,e.createMappedTypeNode=Ae,e.updateMappedTypeNode=Ne,e.createLiteralTypeNode=Pe,e.updateLiteralTypeNode=Oe,e.createObjectBindingPattern=Ie,e.updateObjectBindingPattern=Fe,e.createArrayBindingPattern=Me,e.updateArrayBindingPattern=Re,e.createBindingElement=Le,e.updateBindingElement=Be,e.createArrayLiteral=je,e.updateArrayLiteral=ze,e.createObjectLiteral=Ue,e.updateObjectLiteral=Je,e.createPropertyAccess=Ke,e.updatePropertyAccess=qe,e.createElementAccess=Ve,e.updateElementAccess=He,e.createCall=We,e.updateCall=Ge,e.createNew=$e,e.updateNew=Xe,e.createTaggedTemplate=Ye,e.updateTaggedTemplate=Qe,e.createTypeAssertion=Ze,e.updateTypeAssertion=et,e.createParen=tt,e.updateParen=nt,e.createFunctionExpression=rt,e.updateFunctionExpression=it,e.createArrowFunction=at,e.updateArrowFunction=ot,e.createDelete=st,e.updateDelete=ct,e.createTypeOf=ut,e.updateTypeOf=lt,e.createVoid=dt,e.updateVoid=ft,e.createAwait=_t,e.updateAwait=pt,e.createPrefix=mt,e.updatePrefix=gt,e.createPostfix=ht,e.updatePostfix=yt,e.createBinary=vt,e.updateBinary=bt,e.createConditional=xt,e.updateConditional=kt,e.createTemplateExpression=St,e.updateTemplateExpression=Ct,e.createYield=Dt,e.updateYield=Tt,e.createSpread=Et,e.updateSpread=wt,e.createClassExpression=At,e.updateClassExpression=Nt,e.createOmittedExpression=Pt,e.createExpressionWithTypeArguments=Ot,e.updateExpressionWithTypeArguments=It,e.createAsExpression=Ft,e.updateAsExpression=Mt,e.createNonNullExpression=Rt,e.updateNonNullExpression=Lt,e.createMetaProperty=Bt,e.updateMetaProperty=jt,e.createTemplateSpan=zt,e.updateTemplateSpan=Ut,e.createSemicolonClassElement=Jt,e.createBlock=Kt,e.updateBlock=qt,e.createVariableStatement=Vt,e.updateVariableStatement=Ht,e.createEmptyStatement=Wt,e.createStatement=Gt,e.updateStatement=$t,e.createIf=Xt,e.updateIf=Yt,e.createDo=Qt,e.updateDo=Zt,e.createWhile=en,e.updateWhile=tn,e.createFor=nn,e.updateFor=rn,e.createForIn=an,e.updateForIn=on,e.createForOf=sn,e.updateForOf=cn,e.createContinue=un,e.updateContinue=ln,e.createBreak=dn,e.updateBreak=fn,e.createReturn=_n,e.updateReturn=pn,e.createWith=mn,e.updateWith=gn,e.createSwitch=hn,e.updateSwitch=yn,e.createLabel=vn,e.updateLabel=bn,e.createThrow=xn,e.updateThrow=kn,e.createTry=Sn,e.updateTry=Cn,e.createDebuggerStatement=Dn,e.createVariableDeclaration=Tn,e.updateVariableDeclaration=En,e.createVariableDeclarationList=wn,e.updateVariableDeclarationList=An,e.createFunctionDeclaration=Nn,e.updateFunctionDeclaration=Pn,e.createClassDeclaration=On,e.updateClassDeclaration=In,e.createInterfaceDeclaration=Fn,e.updateInterfaceDeclaration=Mn,e.createTypeAliasDeclaration=Rn,e.updateTypeAliasDeclaration=Ln,e.createEnumDeclaration=Bn,e.updateEnumDeclaration=jn,e.createModuleDeclaration=zn,e.updateModuleDeclaration=Un,e.createModuleBlock=Jn,e.updateModuleBlock=Kn,e.createCaseBlock=qn,e.updateCaseBlock=Vn,e.createNamespaceExportDeclaration=Hn,e.updateNamespaceExportDeclaration=Wn,e.createImportEqualsDeclaration=Gn,e.updateImportEqualsDeclaration=$n,e.createImportDeclaration=Xn,e.updateImportDeclaration=Yn;e.createImportClause=Qn,e.updateImportClause=Zn,e.createNamespaceImport=er,e.updateNamespaceImport=tr,e.createNamedImports=nr,e.updateNamedImports=rr,e.createImportSpecifier=ir,e.updateImportSpecifier=ar,e.createExportAssignment=or,e.updateExportAssignment=sr,e.createExportDeclaration=cr,e.updateExportDeclaration=ur,e.createNamedExports=lr,e.updateNamedExports=dr,e.createExportSpecifier=fr,e.updateExportSpecifier=_r,e.createExternalModuleReference=pr,e.updateExternalModuleReference=mr,e.createJsxElement=gr,e.updateJsxElement=hr,e.createJsxSelfClosingElement=yr,e.updateJsxSelfClosingElement=vr,e.createJsxOpeningElement=br,e.updateJsxOpeningElement=xr,e.createJsxClosingElement=kr,e.updateJsxClosingElement=Sr,e.createJsxAttribute=Cr,e.updateJsxAttribute=Dr,e.createJsxAttributes=Tr,e.updateJsxAttributes=Er,e.createJsxSpreadAttribute=wr,e.updateJsxSpreadAttribute=Ar,e.createJsxExpression=Nr,e.updateJsxExpression=Pr,e.createCaseClause=Or,e.updateCaseClause=Ir,e.createDefaultClause=Fr,e.updateDefaultClause=Mr,e.createHeritageClause=Rr,e.updateHeritageClause=Lr,e.createCatchClause=Br,e.updateCatchClause=jr,e.createPropertyAssignment=zr,e.updatePropertyAssignment=Ur,e.createShorthandPropertyAssignment=Jr,e.updateShorthandPropertyAssignment=Kr,e.createSpreadAssignment=qr,e.updateSpreadAssignment=Vr,e.createEnumMember=Hr,e.updateEnumMember=Wr,e.updateSourceFileNode=Gr,e.getMutableClone=$r,e.createNotEmittedStatement=Xr,e.createEndOfDeclarationMarker=Yr,e.createMergeDeclarationMarker=Qr,e.createPartiallyEmittedExpression=Zr,e.updatePartiallyEmittedExpression=ei,e.createCommaList=ni,e.updateCommaList=ri,e.createBundle=ii,e.updateBundle=ai,e.createImmediatelyInvokedFunctionExpression=oi,e.createImmediatelyInvokedArrowFunction=si,e.createComma=ci,e.createLessThan=ui,e.createAssignment=li,e.createStrictEquality=di,e.createStrictInequality=fi,e.createAdd=_i,e.createSubtract=pi,e.createPostfixIncrement=mi,e.createLogicalAnd=gi,e.createLogicalOr=hi,e.createLogicalNot=yi,e.createVoidZero=vi,e.createExportDefault=bi,e.createExternalModuleExport=xi,e.disposeEmitNodes=Ti,e.getOrCreateEmitNode=Ei,e.setTextRange=wi,e.setEmitFlags=Ai,e.getSourceMapRange=Ni,e.setSourceMapRange=Pi;var ta;e.createSourceMapSource=Oi,e.getTokenSourceMapRange=Ii,e.setTokenSourceMapRange=Fi,e.getCommentRange=Mi,e.setCommentRange=Ri,e.getSyntheticLeadingComments=Li,e.setSyntheticLeadingComments=Bi,e.addSyntheticLeadingComment=ji,e.getSyntheticTrailingComments=zi,e.setSyntheticTrailingComments=Ui,e.addSyntheticTrailingComment=Ji,e.getConstantValue=Ki,e.setConstantValue=qi,e.addEmitHelper=Vi,e.addEmitHelpers=Hi,e.removeEmitHelper=Wi,e.getEmitHelpers=Gi,e.moveEmitHelpers=$i,e.compareEmitHelpers=Xi,e.setOriginalNode=Yi}(o||(o={})),function(e){function t(t,n){return"undefined"===n?e.createStrictEquality(t,e.createVoidZero()):e.createStrictEquality(e.createTypeOf(t),e.createLiteral(n))}function n(t,n,r){if(e.isComputedPropertyName(n))return e.setTextRange(e.createElementAccess(t,n.expression),r);var i=e.setTextRange(e.isIdentifier(n)?e.createPropertyAccess(t,n):e.createElementAccess(t,n),n);return e.getOrCreateEmitNode(i).flags|=64,i}function r(t,n,r,i){return e.setTextRange(e.createCall(e.createPropertyAccess(t,"call"),void 0,[n].concat(r)),i)}function i(t,n,r,i){return e.setTextRange(e.createCall(e.createPropertyAccess(t,"apply"),void 0,[n,r]),i)}function a(t,n){var r=[];return void 0!==n&&r.push("number"==typeof n?e.createLiteral(n):n),e.createCall(e.createPropertyAccess(t,"slice"),void 0,r)}function o(t,n){return e.createCall(e.createPropertyAccess(t,"concat"),void 0,n)}function s(t,n,r){return e.setTextRange(e.createCall(e.createPropertyAccess(e.createIdentifier("Math"),"pow"),void 0,[t,n]),r)}function c(t,n){var r=e.createIdentifier(t||"React");return r.flags&=-9,r.parent=e.getParseTreeNode(n),r}function u(t,n){if(e.isQualifiedName(t)){var r=u(t.left,n),i=e.createIdentifier(e.unescapeLeadingUnderscores(t.right.escapedText));return i.escapedText=t.right.escapedText,e.createPropertyAccess(r,i)}return c(e.unescapeLeadingUnderscores(t.escapedText),n)}function l(t,n,r){return t?u(t,r):e.createPropertyAccess(c(n,r),"createElement")}function d(t,n,r,i,a,o,s){var c=[r];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,n,r,i){var a,o,s=_e(t,7);if(e.isSuperProperty(s))a=e.createThis(),o=s;else if(97===s.kind)a=e.createThis(),o=r<2?e.setTextRange(e.createIdentifier("_super"),s):s;else if(4096&e.getEmitFlags(s))a=e.createVoidZero(),o=ee(s);else switch(s.kind){case 179:v(s.expression,i)?(a=e.createTempVariable(n),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(n),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=ee(t)}return{target:o,thisArg:a}}function x(t){return t.length>10?e.createCommaList(t):e.reduceLeft(t,e.createComma)}function k(t){if(e.isQualifiedName(t)){var n=k(t.left),r=e.getMutableClone(t.right);return e.setTextRange(e.createPropertyAccess(n,r),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,n){switch(t.kind){case 153:case 154:return D(e.properties,t,n,e.multiLine);case 261:return T(t,n);case 262:return E(t,n);case 151:return w(t,n)}}function D(t,n,r,i){var a=e.getAllAccessorDeclarations(t,n),o=a.firstAccessor,s=a.getAccessor,c=a.setAccessor;if(n===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,[r,S(n.name),e.createObjectLiteral(u,i)]),o);return e.aggregateTransformFlags(p)}}function T(t,r){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(n(r,t.name,t.name),t.initializer),t),t))}function E(t,r){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(n(r,t.name,t.name),e.getSynthesizedClone(t.name)),t),t))}function w(t,r){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(n(r,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,n){return R(e,t,n,49152)}function N(t){return 0!=(32768&e.getEmitFlags(t))}function P(e,t,n){return R(e,t,n,16384)}function O(t){return 0!=(16384&e.getEmitFlags(t))}function I(e,t,n){return R(e,t,n,8192)}function F(t){return 0!=(8192&e.getEmitFlags(t))}function M(e,t,n){return R(e,t,n)}function R(t,n,r,i){var a=e.getNameOfDeclaration(t);if(a&&e.isIdentifier(a)&&!e.isGeneratedIdentifier(a)){var o=e.getMutableClone(a);return i|=e.getEmitFlags(a),r||(i|=48),n||(i|=1536),i&&e.setEmitFlags(o,i),o}return e.getGeneratedNameForNode(t)}function L(t,n,r,i){return t&&e.hasModifier(n,1)?B(t,R(n),r,i):I(n,r,i)}function B(t,n,r,i){var a=e.createPropertyAccess(t,e.nodeIsSynthesized(n)?n:e.getSynthesizedClone(n));e.setTextRange(a,n);var o;return i||(o|=48),r||(o|=1536),o&&e.setEmitFlags(a,o),a}function j(t,n){return e.isBlock(t)?t:e.setTextRange(e.createBlock([e.setTextRange(e.createReturn(t),t)],n),t)}function z(t){e.Debug.assert(!!t.body);var n=e.createFunctionExpression(t.modifiers,t.asteriskToken,t.name,t.typeParameters,t.parameters,t.type,t.body);return e.setOriginalNode(n,t),e.setTextRange(n,t),t.startsOnNewLine&&(n.startsOnNewLine=!0),e.aggregateTransformFlags(n),n}function U(t){return e.isStringLiteral(t.expression)&&"use strict"===t.expression.text}function J(e,t,n,r){return q(e,t,K(e,t,n),r)}function K(t,n,r){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=n.length;ae.getOperatorPrecedence(194,26)?t:e.setTextRange(e.createParen(t),t)}function ae(t){var n=e.skipPartiallyEmittedExpressions(t);if(e.isCallExpression(n)){var r=n.expression,i=e.skipPartiallyEmittedExpressions(r).kind;if(186===i||187===i){var a=e.getMutableClone(n);return a.expression=e.setTextRange(e.createParen(r),r),ye(t,a,4)}}else{var o=le(n).kind;if(178===o||186===o)return e.setTextRange(e.createParen(t),t)}return t}function oe(t){switch(t.kind){case 166:case 167:case 160:case 161:return e.createParenthesizedType(t)}return t}function se(t){switch(t.kind){case 162:case 170:return e.createParenthesizedType(t)}return oe(t)}function ce(t){return e.createNodeArray(e.sameMap(t,oe))}function ue(t){if(e.some(t)){for(var n=[],r=0;r= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n };\n '};e.createValuesHelper=_;var je={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 ze={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=m,e.createForOfBindingStatement=g,e.insertLeadingStatement=h,e.restoreEnclosingLabel=y,e.createCallBinding=b,e.inlineExpressions=x,e.createExpressionFromEntityName=k,e.createExpressionForPropertyName=S,e.createExpressionForObjectLiteralElementLike=C,e.getInternalName=A,e.isInternalName=N,e.getLocalName=P,e.isLocalName=O,e.getExportName=I,e.isExportName=F,e.getDeclarationName=M,e.getExternalModuleOrNamespaceExportName=L,e.getNamespaceMemberName=B,e.convertToFunctionBody=j,e.convertFunctionDeclarationToExpression=z,e.addPrologue=J,e.addStandardPrologue=K,e.addCustomPrologue=q,e.startsWithUseStrict=V,e.ensureUseStrict=H,e.parenthesizeBinaryOperand=W,e.parenthesizeForConditionalHead=Y,e.parenthesizeSubexpressionOfConditionalExpression=Q,e.parenthesizeForNew=Z,e.parenthesizeForAccess=ee,e.parenthesizePostfixOperand=te,e.parenthesizePrefixOperand=ne,e.parenthesizeListElements=re,e.parenthesizeExpressionForList=ie,e.parenthesizeExpressionForExpressionStatement=ae,e.parenthesizeElementTypeMember=oe,e.parenthesizeArrayTypeMember=se,e.parenthesizeElementTypeMembers=ce,e.parenthesizeTypeParameters=ue,e.parenthesizeConciseBody=de;!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.isOuterExpression=fe,e.skipOuterExpressions=_e,e.skipParentheses=pe,e.skipAssertions=me,e.recreateOuterExpressions=ye,e.startOnNewLine=ve,e.getExternalHelpersModuleName=be,e.getOrCreateExternalHelpersModuleNameIfNeeded=xe,e.getLocalNameForExternalImport=ke,e.getExternalModuleNameLiteral=Se,e.tryGetModuleNameFromFile=De,e.getInitializerOfBindingOrAssignmentElement=Ee,e.getTargetOfBindingOrAssignmentElement=we,e.getRestIndicatorOfBindingOrAssignmentElement=Ae,e.getPropertyNameOfBindingOrAssignmentElement=Ne,e.getElementsOfBindingOrAssignmentPattern=Pe,e.convertToArrayAssignmentElement=Oe,e.convertToObjectAssignmentElement=Ie,e.convertToAssignmentPattern=Fe,e.convertToObjectAssignmentPattern=Me,e.convertToArrayAssignmentPattern=Re,e.convertToAssignmentElementTarget=Le}(o||(o={}));var o;!function(e){function t(t,n,r,i){if(void 0===t||void 0===n)return t;e.aggregateTransformFlags(t);var a=n(t);if(a===t)return t;var o;if(void 0!==a)return o=e.isArray(a)?(i||s)(a):a,e.Debug.assertNode(o,r),e.aggregateTransformFlags(o),o}function n(t,n,r,i,a){if(void 0===t||void 0===n)return t;var o,s=t.length;(void 0===i||i<0)&&(i=0),(void 0===a||a>s-i)&&(a=s-i),(i>0||a0&&d<=142||169===d)return o;switch(d){case 71:return e.updateIdentifier(o,u(o.typeArguments,s,e.isTypeNode));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 145:return e.updateTypeParameterDeclaration(o,t(o.name,s,e.isIdentifier),t(o.constraint,s,e.isTypeNode),t(o.default,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 148:return e.updatePropertySignature(o,u(o.modifiers,s,e.isToken),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.questionToken,l,e.isToken),t(o.type,s,e.isTypeNode),t(o.initializer,s,e.isExpression));case 150:return e.updateMethodSignature(o,u(o.typeParameters,s,e.isTypeParameterDeclaration),u(o.parameters,s,e.isParameterDeclaration),t(o.type,s,e.isTypeNode),t(o.name,s,e.isPropertyName),t(o.questionToken,l,e.isToken));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.isTypeParameterDeclaration),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 155:return e.updateCallSignature(o,u(o.typeParameters,s,e.isTypeParameterDeclaration),u(o.parameters,s,e.isParameterDeclaration),t(o.type,s,e.isTypeNode));case 156:return e.updateConstructSignature(o,u(o.typeParameters,s,e.isTypeParameterDeclaration),u(o.parameters,s,e.isParameterDeclaration),t(o.type,s,e.isTypeNode));case 157:return e.updateIndexSignature(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),u(o.parameters,s,e.isParameterDeclaration),t(o.type,s,e.isTypeNode));case 158:return e.updateTypePredicateNode(o,t(o.parameterName,s),t(o.type,s,e.isTypeNode));case 159:return e.updateTypeReferenceNode(o,t(o.typeName,s,e.isEntityName),u(o.typeArguments,s,e.isTypeNode));case 160:return e.updateFunctionTypeNode(o,u(o.typeParameters,s,e.isTypeParameterDeclaration),u(o.parameters,s,e.isParameterDeclaration),t(o.type,s,e.isTypeNode));case 161:return e.updateConstructorTypeNode(o,u(o.typeParameters,s,e.isTypeParameterDeclaration),u(o.parameters,s,e.isParameterDeclaration),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,e.isTypeElement));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:return e.updateUnionTypeNode(o,u(o.types,s,e.isTypeNode));case 167:return e.updateIntersectionTypeNode(o,u(o.types,s,e.isTypeNode));case 168:return e.updateParenthesizedType(o,t(o.type,s,e.isTypeNode));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.isTypeParameterDeclaration),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 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.isTypeParameterDeclaration),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.isTypeParameterDeclaration),i(o.parameters,s,c,u),t(o.type,s,e.isTypeNode),t(o.equalsGreaterThanToken,s,e.isToken),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 192:return e.updatePrefix(o,t(o.operand,s,e.isExpression));case 193:return e.updatePostfix(o,t(o.operand,s,e.isExpression));case 194:return e.updateBinary(o,t(o.left,s,e.isExpression),t(o.right,s,e.isExpression),t(o.operatorToken,s,e.isToken));case 195:return e.updateConditional(o,t(o.condition,s,e.isExpression),t(o.questionToken,s,e.isToken),t(o.whenTrue,s,e.isExpression),t(o.colonToken,s,e.isToken),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.isTypeParameterDeclaration),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 204:return e.updateMetaProperty(o,t(o.name,s,e.isIdentifier));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.isTypeParameterDeclaration),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.isTypeParameterDeclaration),u(o.heritageClauses,s,e.isHeritageClause),u(o.members,s,e.isClassElement));case 230:return e.updateInterfaceDeclaration(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.name,s,e.isIdentifier),u(o.typeParameters,s,e.isTypeParameterDeclaration),u(o.heritageClauses,s,e.isHeritageClause),u(o.members,s,e.isTypeElement));case 231:return e.updateTypeAliasDeclaration(o,u(o.decorators,s,e.isDecorator),u(o.modifiers,s,e.isModifier),t(o.name,s,e.isIdentifier),u(o.typeParameters,s,e.isTypeParameterDeclaration),t(o.type,s,e.isTypeNode));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 236:return e.updateNamespaceExportDeclaration(o,t(o.name,s,e.isIdentifier));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 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 254:return e.updateJsxAttributes(o,u(o.properties,s,e.isJsxAttributeLike));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,r(o.statements,s,c));case 288:return e.updatePartiallyEmittedExpression(o,t(o.expression,s,e.isExpression));case 289:return e.updateCommaList(o,u(o.elements,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=n,e.visitLexicalEnvironment=r,e.visitParameterList=i,e.visitFunctionBody=a,e.visitEachChild=o}(o||(o={})),function(e){function t(e,t,n){return e?t(n,e):n}function n(e,t,n){return e?t(n,e):n}function r(r,i,a,o){if(void 0===r)return i;var s=o?n:e.reduceLeft,c=o||a,u=r.kind;if(u>0&&u<=142)return i;if(u>=158&&u<=173)return i;var l=i;switch(r.kind){case 206:case 209:case 200:case 225:case 287:break;case 143:l=t(r.left,a,l),l=t(r.right,a,l);break;case 144:l=t(r.expression,a,l);break;case 146:l=s(r.decorators,c,l),l=s(r.modifiers,c,l),l=t(r.name,a,l),l=t(r.type,a,l),l=t(r.initializer,a,l);break;case 147:l=t(r.expression,a,l);break;case 148:l=s(r.modifiers,c,l),l=t(r.name,a,l),l=t(r.questionToken,a,l),l=t(r.type,a,l),l=t(r.initializer,a,l);break;case 149:l=s(r.decorators,c,l),l=s(r.modifiers,c,l),l=t(r.name,a,l),l=t(r.type,a,l),l=t(r.initializer,a,l);break;case 151:l=s(r.decorators,c,l),l=s(r.modifiers,c,l),l=t(r.name,a,l),l=s(r.typeParameters,c,l),l=s(r.parameters,c,l),l=t(r.type,a,l),l=t(r.body,a,l);break;case 152:l=s(r.modifiers,c,l),l=s(r.parameters,c,l),l=t(r.body,a,l);break;case 153:l=s(r.decorators,c,l),l=s(r.modifiers,c,l),l=t(r.name,a,l),l=s(r.parameters,c,l),l=t(r.type,a,l),l=t(r.body,a,l);break;case 154:l=s(r.decorators,c,l),l=s(r.modifiers,c,l),l=t(r.name,a,l),l=s(r.parameters,c,l),l=t(r.body,a,l);break;case 174:case 175:l=s(r.elements,c,l);break;case 176:l=t(r.propertyName,a,l),l=t(r.name,a,l),l=t(r.initializer,a,l);break;case 177:l=s(r.elements,c,l);break;case 178:l=s(r.properties,c,l);break;case 179:l=t(r.expression,a,l),l=t(r.name,a,l);break;case 180:l=t(r.expression,a,l),l=t(r.argumentExpression,a,l);break;case 181:case 182:l=t(r.expression,a,l),l=s(r.typeArguments,c,l),l=s(r.arguments,c,l);break;case 183:l=t(r.tag,a,l),l=t(r.template,a,l);break;case 184:l=t(r.type,a,l),l=t(r.expression,a,l);break;case 186:l=s(r.modifiers,c,l),l=t(r.name,a,l),l=s(r.typeParameters,c,l),l=s(r.parameters,c,l),l=t(r.type,a,l),l=t(r.body,a,l);break;case 187:l=s(r.modifiers,c,l),l=s(r.typeParameters,c,l),l=s(r.parameters,c,l),l=t(r.type,a,l),l=t(r.body,a,l);break;case 185:case 188:case 189:case 190:case 191:case 197:case 198:case 203:l=t(r.expression,a,l);break;case 192:case 193:l=t(r.operand,a,l);break;case 194:l=t(r.left,a,l),l=t(r.right,a,l);break;case 195:l=t(r.condition,a,l),l=t(r.whenTrue,a,l),l=t(r.whenFalse,a,l);break;case 196:l=t(r.head,a,l),l=s(r.templateSpans,c,l);break;case 199:l=s(r.modifiers,c,l),l=t(r.name,a,l),l=s(r.typeParameters,c,l),l=s(r.heritageClauses,c,l),l=s(r.members,c,l);break;case 201:l=t(r.expression,a,l),l=s(r.typeArguments,c,l);break;case 202:l=t(r.expression,a,l),l=t(r.type,a,l);break;case 205:l=t(r.expression,a,l),l=t(r.literal,a,l);break;case 207:l=s(r.statements,c,l);break;case 208:l=s(r.modifiers,c,l),l=t(r.declarationList,a,l);break;case 210:l=t(r.expression,a,l);break;case 211:l=t(r.expression,a,l),l=t(r.thenStatement,a,l),l=t(r.elseStatement,a,l);break;case 212:l=t(r.statement,a,l),l=t(r.expression,a,l);break;case 213:case 220:l=t(r.expression,a,l),l=t(r.statement,a,l);break;case 214:l=t(r.initializer,a,l),l=t(r.condition,a,l),l=t(r.incrementor,a,l),l=t(r.statement,a,l);break;case 215:case 216:l=t(r.initializer,a,l),l=t(r.expression,a,l),l=t(r.statement,a,l);break;case 219:case 223:l=t(r.expression,a,l);break;case 221:l=t(r.expression,a,l),l=t(r.caseBlock,a,l);break;case 222:l=t(r.label,a,l),l=t(r.statement,a,l);break;case 224:l=t(r.tryBlock,a,l),l=t(r.catchClause,a,l),l=t(r.finallyBlock,a,l);break;case 226:l=t(r.name,a,l),l=t(r.type,a,l),l=t(r.initializer,a,l);break;case 227:l=s(r.declarations,c,l);break;case 228:l=s(r.decorators,c,l),l=s(r.modifiers,c,l),l=t(r.name,a,l),l=s(r.typeParameters,c,l),l=s(r.parameters,c,l),l=t(r.type,a,l),l=t(r.body,a,l);break;case 229:l=s(r.decorators,c,l),l=s(r.modifiers,c,l),l=t(r.name,a,l),l=s(r.typeParameters,c,l),l=s(r.heritageClauses,c,l),l=s(r.members,c,l);break;case 232:l=s(r.decorators,c,l),l=s(r.modifiers,c,l),l=t(r.name,a,l),l=s(r.members,c,l);break;case 233:l=s(r.decorators,c,l),l=s(r.modifiers,c,l),l=t(r.name,a,l),l=t(r.body,a,l);break;case 234:l=s(r.statements,c,l);break;case 235:l=s(r.clauses,c,l);break;case 237:l=s(r.decorators,c,l),l=s(r.modifiers,c,l),l=t(r.name,a,l),l=t(r.moduleReference,a,l);break;case 238:l=s(r.decorators,c,l),l=s(r.modifiers,c,l),l=t(r.importClause,a,l),l=t(r.moduleSpecifier,a,l);break;case 239:l=t(r.name,a,l),l=t(r.namedBindings,a,l);break;case 240:l=t(r.name,a,l);break;case 241:case 245:l=s(r.elements,c,l);break;case 242:case 246:l=t(r.propertyName,a,l),l=t(r.name,a,l);break;case 243:l=e.reduceLeft(r.decorators,a,l),l=e.reduceLeft(r.modifiers,a,l),l=t(r.expression,a,l);break;case 244:l=e.reduceLeft(r.decorators,a,l),l=e.reduceLeft(r.modifiers,a,l),l=t(r.exportClause,a,l),l=t(r.moduleSpecifier,a,l);break;case 248:l=t(r.expression,a,l);break;case 249:l=t(r.openingElement,a,l),l=e.reduceLeft(r.children,a,l),l=t(r.closingElement,a,l);break;case 250:case 251:l=t(r.tagName,a,l),l=t(r.attributes,a,l);break;case 254:l=s(r.properties,c,l);break;case 252:l=t(r.tagName,a,l);break;case 253:l=t(r.name,a,l),l=t(r.initializer,a,l);break;case 255:case 256:l=t(r.expression,a,l);break;case 257:l=t(r.expression,a,l);case 258:l=s(r.statements,c,l);break;case 259:l=s(r.types,c,l);break;case 260:l=t(r.variableDeclaration,a,l),l=t(r.block,a,l);break;case 261:l=t(r.name,a,l),l=t(r.initializer,a,l);break;case 262:l=t(r.name,a,l),l=t(r.objectAssignmentInitializer,a,l);break;case 263:l=t(r.expression,a,l);break;case 264:l=t(r.name,a,l),l=t(r.initializer,a,l);break;case 265:l=s(r.statements,c,l);break;case 288:l=t(r.expression,a,l);break;case 289:l=s(r.elements,c,l)}return l}function i(t,n){return e.some(n)?e.isNodeArray(t)?e.setTextRange(e.createNodeArray(e.concatenate(t,n)),t):e.addRange(t,n):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 n=u(t);return e.computeTransformFlagsForNode(t,n)}function c(e){if(void 0===e)return 0;for(var t=0,n=0,r=0,i=e;r=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 g=s(t,a,h);e.isComputedPropertyName(h)&&(f=e.append(f,g.argumentExpression)),r(t,p,g,p)}else d=e.append(d,p)}}d&&t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(d),a,o,i)}function a(t,n,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)||e.every(s,e.isOmittedExpression)){var l=!e.isDeclarationBindingElement(n)||0!==u;a=c(t,a,l,o)}for(var d,f,_=0;_=1)if(1048576&p.transformFlags){var m=e.createTempVariable(void 0);t.hoistTempVariables&&t.context.hoistVariableDeclaration(m),f=e.append(f,[m,p]),d=e.append(d,t.createArrayBindingOrAssignmentElement(m))}else d=e.append(d,p);else{if(e.isOmittedExpression(p))continue;if(e.getRestIndicatorOfBindingOrAssignmentElement(p)){if(_===u-1){var g=e.createArraySlice(a,_);r(t,p,g,p)}}else{var g=e.createElementAccess(a,_);r(t,p,g,p)}}}if(d&&t.emitBindingOrAssignment(t.createArrayBindingOrAssignmentPattern(d),a,o,i),f)for(var h=0,y=f;h0)return!0;var n=e.getFirstConstructorWithBody(t);return!!n&&e.forEach(n.parameters,x)}function x(e){return void 0!==e.decorators&&e.decorators.length>0}function k(t,n){var r=0;return e.some(n)&&(r|=1),e.getClassExtendsHeritageClauseElement(t)&&(r|=64),b(t)&&(r|=2),e.childIsDecorated(t)&&(r|=4),pt(t)?r|=8:ht(t)?r|=32:gt(t)&&(r|=16),Xt<=1&&7&r&&(r|=128),r}function S(n){var r=M(n,!0),i=k(n,r);128&i&&t.startLexicalEnvironment();var a=n.name||(5&i?e.getGeneratedNameForNode(n):void 0),o=2&i?D(n,a,i):C(n,a,i),s=[o];if(1&i&&j(s,r,128&i?e.getInternalName(n):e.getLocalName(n)),Z(s,n,!1),Z(s,n,!0),ne(s,n),128&i){var c=e.createTokenRange(e.skipTrivia(en.text,n.members.end),18),u=e.getInternalName(n),l=e.createPartiallyEmittedExpression(u);l.end=c.end,e.setEmitFlags(l,1536);var d=e.createReturn(l);d.pos=c.pos,e.setEmitFlags(d,1920),s.push(d),e.addRange(s,t.endLexicalEnvironment());var f=e.createImmediatelyInvokedArrowFunction(s);e.setEmitFlags(f,33554432);var _=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.getLocalName(n,!1,!1),void 0,f)]));e.setOriginalNode(_,n),e.setCommentRange(_,n),e.setSourceMapRange(_,e.moveRangePastDecorators(n)),e.startOnNewLine(_),s=[_]}return 8&i?vt(s,n):(128&i||2&i)&&(32&i?s.push(e.createExportDefault(e.getLocalName(n,!1,!0))):16&i&&s.push(e.createExternalModuleExport(e.getLocalName(n,!1,!0)))),s.length>1&&(s.push(e.createEndOfDeclarationMarker(n)),e.setEmitFlags(o,4194304|e.getEmitFlags(o))),e.singleOrMany(s)}function C(t,n,r){var i=128&r?void 0:e.visitNodes(t.modifiers,h,e.isModifier),a=e.createClassDeclaration(void 0,i,n,void 0,e.visitNodes(t.heritageClauses,u,e.isHeritageClause),E(t,0!=(64&r))),o=e.getEmitFlags(t);return 1&r&&(o|=32),e.setTextRange(a,t),e.setOriginalNode(a,t),e.setEmitFlags(a,o),a}function D(t,n,r){var i=e.moveRangePastDecorators(t),a=Dt(t),o=e.getLocalName(t,!1,!0),s=e.visitNodes(t.heritageClauses,u,e.isHeritageClause),c=E(t,0!=(64&r)),l=e.createClassExpression(void 0,n,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 T(t){var n=M(t,!0),r=e.visitNodes(t.heritageClauses,u,e.isHeritageClause),i=E(t,e.some(r,function(e){return 85===e.token})),a=e.createClassExpression(void 0,t.name,void 0,r,i);if(e.setOriginalNode(a,t),e.setTextRange(a,t),n.length>0){var o=[],s=e.createTempVariable(Wt);return 8388608&Gt.getNodeCheckFlags(t)&&(At(),sn[e.getOriginalNodeId(t)]=e.getSynthesizedClone(s)),e.setEmitFlags(a,65536|e.getEmitFlags(a)),o.push(e.startOnNewLine(e.createAssignment(s,a))),e.addRange(o,z(n,s)),o.push(e.startOnNewLine(s)),e.inlineExpressions(o)}return a}function E(t,n){var r=[],i=w(t,n);return i&&r.push(i),e.addRange(r,e.visitNodes(t.members,m,e.isClassElement)),e.setTextRange(e.createNodeArray(r),t.members)}function w(n,r){var i=e.forEach(n.members,L),a=262144&n.transformFlags,o=e.getFirstConstructorWithBody(n);if(!i&&!a)return e.visitEachChild(o,u,t);var s=A(o),c=N(n,o,r);return e.startOnNewLine(e.setOriginalNode(e.setTextRange(e.createConstructor(void 0,void 0,s,c),o||n),o))}function A(n){return e.visitParameterList(n&&n.parameters,u,t)||[]}function N(t,n,r){var i=[],a=0;if(Vt(),n){a=P(n,i);var o=O(n);e.addRange(i,e.map(o,F))}else r&&i.push(e.createStatement(e.createCall(e.createSuper(),void 0,[e.createSpread(e.createIdentifier("arguments"))])));return j(i,M(t,!1),e.createThis()),n&&e.addRange(i,e.visitNodes(n.body.statements,u,e.isStatement,a)),i=e.mergeLexicalEnvironment(i,Ht()),e.setTextRange(e.createBlock(e.setTextRange(e.createNodeArray(i),n?n.body.statements:t.members),!0),n?n.body:void 0)}function P(t,n){if(t.body){var r=t.body.statements,i=e.addPrologue(n,r,!1,u);if(i===r.length)return i;var a=r[i];return 210===a.kind&&e.isSuperCall(a.expression)?(n.push(e.visitNode(a,u,e.isStatement)),i+1):i}return 0}function O(t){return e.filter(t.parameters,I)}function I(t){return e.hasModifier(t,92)&&e.isIdentifier(t.name)}function F(t){e.Debug.assert(e.isIdentifier(t.name));var n=t.name,r=e.getMutableClone(n);e.setEmitFlags(r,1584);var i=e.getMutableClone(n);return e.setEmitFlags(i,1536),e.startOnNewLine(e.setTextRange(e.createStatement(e.createAssignment(e.setTextRange(e.createPropertyAccess(e.createThis(),r),t.name),i)),e.moveRangePos(t,-1)))}function M(t,n){return e.filter(t.members,n?R:L)}function R(e){return B(e,!0)}function L(e){return B(e,!1)}function B(t,n){return 149===t.kind&&n===e.hasModifier(t,32)&&void 0!==t.initializer}function j(t,n,r){for(var i=0,a=n;i0?149===i.kind?e.createVoidZero():e.createNull():void 0,l=n(t,o,s,c,u,e.moveRangePastDecorators(i));return e.setEmitFlags(l,1536),l}}function ne(t,n){var r=re(n);r&&t.push(e.setOriginalNode(e.createStatement(r),n))}function re(r){var i=W(r),a=Q(r,r,i);if(a){var o=sn&&sn[e.getOriginalNodeId(r)],s=e.getLocalName(r,!1,!0),c=n(t,a,s),u=e.createAssignment(s,o?e.createAssignment(o,c):c);return e.setEmitFlags(u,1536),e.setSourceMapRange(u,e.moveRangePastDecorators(r)),u}}function ie(t){return e.visitNode(t.expression,u,e.isExpression)}function ae(n,r){var a;if(n){a=[];for(var o=0,s=n;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 };'},u={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 };'},l={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 r(n){if(n.isDeclarationFile)return n;k=n;var r=e.visitEachChild(n,i,t);return e.addEmitHelpers(r,t.readEmitHelpers()),k=void 0,r}function i(n){if(0==(16&n.transformFlags))return n;switch(n.kind){case 120:return;case 191:return a(n);case 151:return o(n);case 228:return s(n);case 186:return c(n);case 187:return u(n);default:return e.visitEachChild(n,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(n){return e.updateMethod(n,void 0,e.visitNodes(n.modifiers,i,e.isModifier),n.asteriskToken,n.name,void 0,void 0,e.visitParameterList(n.parameters,i,t),void 0,2&e.getFunctionFlags(n)?l(n):e.visitFunctionBody(n.body,i,t))}function s(n){return e.updateFunctionDeclaration(n,void 0,e.visitNodes(n.modifiers,i,e.isModifier),n.asteriskToken,n.name,void 0,e.visitParameterList(n.parameters,i,t),void 0,2&e.getFunctionFlags(n)?l(n):e.visitFunctionBody(n.body,i,t))}function c(n){return e.updateFunctionExpression(n,e.visitNodes(n.modifiers,i,e.isModifier),n.asteriskToken,n.name,void 0,e.visitParameterList(n.parameters,i,t),void 0,2&e.getFunctionFlags(n)?l(n):e.visitFunctionBody(n.body,i,t))}function u(n){return e.updateArrowFunction(n,e.visitNodes(n.modifiers,i,e.isModifier),void 0,e.visitParameterList(n.parameters,i,t),void 0,n.equalsGreaterThanToken,2&e.getFunctionFlags(n)?l(n):e.visitFunctionBody(n.body,i,t))}function l(r){D();var a=e.getOriginalNode(r,e.isFunctionLike),o=a.type,s=A<2?f(o):void 0,c=187===r.kind,u=0!=(8192&E.getNodeCheckFlags(r));if(c){var l=n(t,u,s,d(r.body)),p=T();if(e.some(p)){var m=e.convertToFunctionBody(l);return e.updateBlock(m,e.setTextRange(e.createNodeArray(e.concatenate(m.statements,p)),m.statements))}return l}var g=[],h=e.addPrologue(g,r.body.statements,!1,i);g.push(e.createReturn(n(t,u,s,d(r.body,h)))),e.addRange(g,T());var m=e.createBlock(g,!0);return e.setTextRange(m,r.body),A>=2&&(4096&E.getNodeCheckFlags(r)?(_(),e.addEmitHelper(m,e.advancedAsyncSuperHelper)):2048&E.getNodeCheckFlags(r)&&(_(),e.addEmitHelper(m,e.asyncSuperHelper))),m}function d(n,r){if(e.isBlock(n))return e.updateBlock(n,e.visitLexicalEnvironment(n.statements,i,t,r));C();var a=e.convertToFunctionBody(e.visitNode(n,i,e.isConciseBody)),o=T();return e.updateBlock(a,e.setTextRange(e.createNodeArray(e.concatenate(a.statements,o)),a.statements))}function f(t){var n=t&&e.getEntityNameFromTypeNode(t);if(n&&e.isEntityName(n)){var r=E.getTypeReferenceSerializationKind(n);if(r===e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue||r===e.TypeReferenceSerializationKind.Unknown)return n}}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,n){if(1&S&&b(t)){var r=6144&E.getNodeCheckFlags(t);if(r!==N){var i=N;return N=r,P(e,t,n),void(N=i)}}P(e,t,n)}function m(e,t){return t=O(e,t),1===e&&N?g(t):t}function g(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?x(e.createLiteral(e.unescapeLeadingUnderscores(t.name.escapedText)),t):t}function y(e){return 97===e.expression.kind?x(e.argumentExpression,e):e}function v(t){var n=t.expression;if(e.isSuperProperty(n)){var r=e.isPropertyAccessExpression(n)?h(n):y(n);return e.createCall(e.createPropertyAccess(r,"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 x(t,n){return 4096&N?e.setTextRange(e.createPropertyAccess(e.createCall(e.createIdentifier("_super"),void 0,[t]),"value"),n):e.setTextRange(e.createCall(e.createIdentifier("_super"),void 0,[t]),n)}var k,S,C=t.startLexicalEnvironment,D=t.resumeLexicalEnvironment,T=t.endLexicalEnvironment,E=t.getEmitResolver(),w=t.getCompilerOptions(),A=e.getEmitScriptTarget(w),N=0,P=t.onEmitNode,O=t.onSubstituteNode;return t.onEmitNode=p,t.onSubstituteNode=m,r}function n(t,n,r,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|=262144,e.createCall(e.getHelperName("__awaiter"),void 0,[e.createThis(),n?e.createIdentifier("arguments"):e.createVoidZero(),r?e.createExpressionFromEntityName(r):e.createVoidZero(),o])}var r;!function(e){e[e.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"}(r||(r={})),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 s(n){if(n.isDeclarationFile)return n;var r=e.visitEachChild(n,c,t);return e.addEmitHelpers(r,t.readEmitHelpers()),r}function c(e){return d(e,!1)}function u(e){return d(e,!0)}function l(e){if(120!==e.kind)return e}function d(n,r){if(0==(8&n.transformFlags))return n;switch(n.kind){case 191:return f(n);case 197:return _(n);case 222:return p(n);case 178:return g(n);case 194:return b(n,r);case 226:return x(n);case 216:return C(n,void 0);case 214:return k(n);case 190:return S(n);case 152:return N(n);case 151:return I(n);case 153:return P(n);case 154:return O(n);case 228:return F(n);case 186:return R(n);case 187:return M(n);case 146:return A(n);case 210:return h(n);case 185:return y(n,r);case 260:return v(n);default:return e.visitEachChild(n,c,t)}}function f(n){return 2&ie&&1&ie?e.setOriginalNode(e.setTextRange(e.createYield(r(t,e.visitNode(n.expression,c,e.isExpression))),n),n):e.visitEachChild(n,c,t)}function _(n){if(2&ie&&1&ie&&n.asteriskToken){var i=e.visitNode(n.expression,c,e.isExpression);return e.setOriginalNode(e.setTextRange(e.createYield(r(t,e.updateYield(n,n.asteriskToken,a(t,o(t,i,i),i)))),n),n)}return e.visitEachChild(n,c,t)}function p(n){if(2&ie&&1&ie){var r=e.unwrapInnermostStatementOfLabel(n);return 216===r.kind&&r.awaitModifier?C(r,n):e.restoreEnclosingLabel(e.visitEachChild(n,c,t),n)}return e.visitEachChild(n,c,t)}function m(t){for(var n,r=[],i=0,a=t;i=2&&(4096&Q.getNodeCheckFlags(n)?(z(),e.addEmitHelper(o,e.advancedAsyncSuperHelper)):2048&Q.getNodeCheckFlags(n)&&(z(),e.addEmitHelper(o,e.asyncSuperHelper))),o}function B(t){$();var n=0,r=[],i=e.visitNode(t.body,c,e.isConciseBody);e.isBlock(i)&&(n=e.addPrologue(r,i.statements,!1,c)),e.addRange(r,j(void 0,t));var a=X();if(n>0||e.some(r)||e.some(a)){var o=e.convertToFunctionBody(i,!0);return e.addRange(r,o.statements.slice(n)),e.addRange(r,a),e.updateBlock(o,e.setTextRange(e.createNodeArray(r),o.statements))}return i}function j(n,r){for(var i=0,a=r.parameters;i=2?e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"assign"),void 0,n):(t.requestEmitHelper(c),e.createCall(e.getHelperName("__assign"),void 0,n))}function r(t,n){return t.requestEmitHelper(u),e.createCall(e.getHelperName("__await"),void 0,[n])}function i(t,n){return t.requestEmitHelper(u),t.requestEmitHelper(l),(n.emitNode||(n.emitNode={})).flags|=262144,e.createCall(e.getHelperName("__asyncGenerator"),void 0,[e.createThis(),e.createIdentifier("arguments"),n])}function a(t,n,r){return t.requestEmitHelper(u),t.requestEmitHelper(d),e.setTextRange(e.createCall(e.getHelperName("__asyncDelegator"),void 0,[n]),r)}function o(t,n,r){return t.requestEmitHelper(f),e.setTextRange(e.createCall(e.getHelperName("__asyncValues"),void 0,[n]),r)}var s;!function(e){e[e.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"}(s||(s={})),e.transformESNext=t;var c={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=n;var u={name:"typescript:await",scoped:!1,text:"\n var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }\n "},l={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 || []), i, q = [];\n return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume("next", value); }\n function reject(value) { resume("throw", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n };\n '},d={name:"typescript:asyncDelegator",scoped:!1,text:'\n var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {\n var i, p;\n return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { if (o[n]) i[n] = function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; }; }\n };\n '},f={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 r(n){if(n.isDeclarationFile)return n;var r=e.visitEachChild(n,i,t);return e.addEmitHelpers(r,t.readEmitHelpers()),r}function i(e){return 4&e.transformFlags?a(e):e}function a(n){switch(n.kind){case 249:return s(n,!1);case 250:return c(n,!1);case 256:return b(n);default:return e.visitEachChild(n,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(n,r,i,a){var s,c=y(n),u=n.attributes.properties;if(0===u.length)s=e.createNull();else{var f=e.flatten(e.spanMap(u,e.isJsxSpreadAttribute,function(t,n){return n?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(),x.reactNamespace,c,s,e.mapDefined(r,o),n,a);return i&&e.startOnNewLine(_),_}function l(t){return e.visitNode(t.expression,i,e.isExpression)}function d(t){var n=v(t),r=f(t.initializer);return e.createPropertyAssignment(n,r)}function f(t){if(void 0===t)return e.createTrue();if(9===t.kind){var n=h(t.text);return n?e.setTextRange(e.createLiteral(n),t):t}if(256===t.kind)return void 0===t.expression?e.createTrue():b(t);e.Debug.failBadSyntaxKind(t)}function _(t){var n=p(e.getTextOfNode(t,!0));return void 0===n?void 0:e.createLiteral(n)}function p(t){for(var n,r=0,i=-1,a=0;a=0,"statementOffset not initialized correctly!"));var s=r&&95!==e.skipOuterExpressions(r.expression).kind,u=A(a,t,s,i,o);1!==u&&2!==u||o++,t&&(1===u&&(Ot|=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,Ct()),t&&U(a,t,!1);var l=e.createBlock(e.setTextRange(e.createNodeArray(a),t?t.body.statements:n.members),!0);return e.setTextRange(l,t?t.body:n),t||e.setEmitFlags(l,1536),l}function w(t){if(219===t.kind)return!0;if(211===t.kind){var n=t;if(n.elseStatement)return w(n.thenStatement)&&w(n.elseStatement)}else if(207===t.kind){var r=e.lastOrUndefined(t.statements);if(r&&w(r))return!0}return!1}function A(t,n,r,i,a){if(!r)return n&&j(t,n),0;if(!n)return t.push(e.createReturn(P())),2;if(i)return z(t,n,P()),ft(),1;var o,s,c=n.body.statements;if(a0?n.push(e.setEmitFlags(e.createVariableStatement(void 0,e.createVariableDeclarationList(e.flattenDestructuringBinding(r,c,t,0,o))),1048576)):a&&n.push(e.setEmitFlags(e.createStatement(e.createAssignment(o,e.visitNode(a,c,e.isExpression))),1048576))}function R(t,n,r,i){i=e.visitNode(i,c,e.isExpression);var a=e.createIf(e.createTypeCheck(e.getSynthesizedClone(r),"undefined"),e.setEmitFlags(e.setTextRange(e.createBlock([e.createStatement(e.setTextRange(e.createAssignment(e.setEmitFlags(e.getMutableClone(r),48),e.setEmitFlags(i,48|e.getEmitFlags(i))),n))]),n),417));a.startsOnNewLine=!0,e.setTextRange(a,n),e.setEmitFlags(a,1048992),t.push(a)}function L(e,t){return e&&e.dotDotDotToken&&71===e.name.kind&&!t}function B(t,n,r){var i=e.lastOrUndefined(n.parameters);if(L(i,r)){var a=e.getMutableClone(i.name);e.setEmitFlags(a,48);var o=e.getSynthesizedClone(i.name),s=n.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),1048576));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,1048576),e.startOnNewLine(u),t.push(u)}}function j(t,n){32768&n.transformFlags&&187!==n.kind&&z(t,n,e.createThis())}function z(t,n,r,i){ft();var a=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration("_this",void 0,r)]));e.setEmitFlags(a,1050112),e.setTextRange(a,i),e.setSourceMapRange(a,n),t.push(a)}function U(t,n,r){if(16384&Ot){var i=void 0;switch(n.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(n))),e.createPropertyAccess(e.setEmitFlags(e.createThis(),4),"constructor"),e.createVoidZero());break;default:e.Debug.failBadSyntaxKind(n)}var a=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration("_newTarget",void 0,i)]));if(r)return[a].concat(t);t.unshift(a)}return t}function J(t,n){for(var r=0,i=n.members;r0&&(o=!0),e.isBlock(l))a=e.addCustomPrologue(u,l.statements,a,c),r=l.statements,e.addRange(u,e.visitNodes(l.statements,c,e.isStatement,a)),!o&&l.multiLine&&(o=!0);else{e.Debug.assert(187===n.kind),r=e.moveRangeEnd(l,-1);var d=n.equalsGreaterThanToken;e.nodeIsSynthesized(d)||e.nodeIsSynthesized(l)||(e.rangeEndIsOnSameLineAsRangeStart(d,l,Nt)?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),U(u,n,!1),!o&&p&&p.length&&(o=!0);var m=e.createBlock(e.setTextRange(e.createNodeArray(u),r),o);return e.setTextRange(m,n.body),!o&&s&&e.setEmitFlags(m,1),i&&e.setTokenSourceMapRange(m,18,i),e.setOriginalNode(m,n.body),m}function Q(n){var r=e.visitFunctionBody(n.body,u,t);return e.updateBlock(r,e.setTextRange(e.createNodeArray(U(r.statements,n,!0)),r.statements))}function Z(n,r){if(r)return e.visitEachChild(n,c,t);var o=256&Ot?i(4032,512):i(3904,128),s=e.visitEachChild(n,c,t);return a(o,0,0),s}function ee(n){switch(n.expression.kind){case 185:return e.updateStatement(n,te(n.expression,!1));case 194:return e.updateStatement(n,ne(n.expression,!1))}return e.visitEachChild(n,c,t)}function te(n,r){if(!r)switch(n.expression.kind){case 185:return e.updateParen(n,te(n.expression,!1));case 194:return e.updateParen(n,ne(n.expression,!1))}return e.visitEachChild(n,c,t)}function ne(n,r){return e.isDestructuringAssignment(n)?e.flattenDestructuringAssignment(n,c,t,0,r):e.visitEachChild(n,c,t)}function re(n){var r,o=i(0,e.hasModifier(n,1)?32:0);if(It&&0==(3&n.declarationList.flags)){for(var s=void 0,u=0,l=n.declarationList.declarations;u=t.end)return!1;for(var i=e.getEnclosingBlockScopeContainer(t);r;){if(r===i||r===t)return!1;if(e.isClassElement(r)&&r.parent===t)return!0;r=r.parent}return!1}function vt(t){return 1&Ft&&16&Ot?e.setTextRange(e.createIdentifier("_this"),t):t}function bt(t,n){return e.hasModifier(n,32)?e.getInternalName(t):e.createPropertyAccess(e.getInternalName(t),"prototype")}function xt(t,n){if(!t||!n)return!1;if(e.some(t.parameters))return!1;var r=e.firstOrUndefined(t.body.statements);if(!r||!e.nodeIsSynthesized(r)||210!==r.kind)return!1;var i=r.expression;if(!e.nodeIsSynthesized(i)||181!==i.kind)return!1;var a=i.expression;if(!e.nodeIsSynthesized(a)||97!==a.kind)return!1;var o=e.singleOrUndefined(i.arguments);if(!o||!e.nodeIsSynthesized(o)||198!==o.kind)return!1;var s=o.expression;return e.isIdentifier(s)&&"arguments"===s.escapedText}var kt=t.startLexicalEnvironment,St=t.resumeLexicalEnvironment,Ct=t.endLexicalEnvironment,Dt=t.hoistVariableDeclaration,Tt=t.getCompilerOptions(),Et=t.getEmitResolver(),wt=t.onSubstituteNode,At=t.onEmitNode;t.onEmitNode=lt,t.onSubstituteNode=_t;var Nt,Pt,Ot,It,Ft;return r}function n(t,n){return t.requestEmitHelper(c),e.createCall(e.getHelperName("__extends"),void 0,[n,e.createIdentifier("_super")])}var r;!function(e){e[e.CapturedThis=1]="CapturedThis",e[e.BlockScopedBindings=2]="BlockScopedBindings"}(r||(r={}));var i;!function(e){e[e.ToOriginal=0]="ToOriginal",e[e.ToOutParameter=1]="ToOutParameter"}(i||(i={}));var a;!function(e){e[e.Break=2]="Break",e[e.Continue=4]="Continue",e[e.Return=8]="Return"}(a||(a={}));var o;!function(e){e[e.NoReplacement=0]="NoReplacement",e[e.ReplaceSuperCapture=1]="ReplaceSuperCapture",e[e.ReplaceWithReturn=2]="ReplaceWithReturn"}(o||(o={}));var s;!function(e){e[e.None=0]="None",e[e.Function=1]="Function",e[e.ArrowFunction=2]="ArrowFunction",e[e.AsyncFunctionBody=4]="AsyncFunctionBody",e[e.NonStaticClassElement=8]="NonStaticClassElement",e[e.CapturesThis=16]="CapturesThis",e[e.ExportedVariableStatement=32]="ExportedVariableStatement",e[e.TopLevel=64]="TopLevel",e[e.Block=128]="Block",e[e.IterationStatement=256]="IterationStatement",e[e.IterationStatementBlock=512]="IterationStatementBlock",e[e.ForStatement=1024]="ForStatement",e[e.ForInOrForOfStatement=2048]="ForInOrForOfStatement",e[e.ConstructorWithCapturedSuper=4096]="ConstructorWithCapturedSuper",e[e.ComputedPropertyName=8192]="ComputedPropertyName",e[e.AncestorFactsMask=16383]="AncestorFactsMask",e[e.BlockScopeIncludes=0]="BlockScopeIncludes",e[e.BlockScopeExcludes=4032]="BlockScopeExcludes",e[e.SourceFileIncludes=64]="SourceFileIncludes",e[e.SourceFileExcludes=3968]="SourceFileExcludes",e[e.FunctionIncludes=65]="FunctionIncludes",e[e.FunctionExcludes=16286]="FunctionExcludes",e[e.AsyncFunctionBodyIncludes=69]="AsyncFunctionBodyIncludes",e[e.AsyncFunctionBodyExcludes=16278]="AsyncFunctionBodyExcludes",e[e.ArrowFunctionIncludes=66]="ArrowFunctionIncludes",e[e.ArrowFunctionExcludes=16256]="ArrowFunctionExcludes",e[e.ConstructorIncludes=73]="ConstructorIncludes",e[e.ConstructorExcludes=16278]="ConstructorExcludes",e[e.DoOrWhileStatementIncludes=256]="DoOrWhileStatementIncludes",e[e.DoOrWhileStatementExcludes=0]="DoOrWhileStatementExcludes",e[e.ForStatementIncludes=1280]="ForStatementIncludes",e[e.ForStatementExcludes=3008]="ForStatementExcludes",e[e.ForInOrForOfStatementIncludes=2304]="ForInOrForOfStatementIncludes",e[e.ForInOrForOfStatementExcludes=1984]="ForInOrForOfStatementExcludes",e[e.BlockIncludes=128]="BlockIncludes",e[e.BlockExcludes=3904]="BlockExcludes",e[e.IterationStatementBlockIncludes=512]="IterationStatementBlockIncludes",e[e.IterationStatementBlockExcludes=4032]="IterationStatementBlockExcludes",e[e.ComputedPropertyNameIncludes=8192]="ComputedPropertyNameIncludes",e[e.ComputedPropertyNameExcludes=0]="ComputedPropertyNameExcludes",e[e.NewTarget=16384]="NewTarget",e[e.NewTargetInComputedPropertyName=32768]="NewTargetInComputedPropertyName",e[e.SubtreeFactsMask=-16384]="SubtreeFactsMask",e[e.PropagateNewTargetMask=49152]="PropagateNewTargetMask"}(s||(s={})),e.transformES2015=t;var c={name:"typescript:extends",scoped:!1,priority:0,text:"\n var __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n })();"}}(o||(o={}));var o;!function(e){function t(t){function n(e){return e}function r(t,n,r){switch(n.kind){case 251:case 252:case 250:var i=n.tagName;u[e.getOriginalNodeId(i)]=!0}c(t,n,r)}function i(t,n){return n.id&&u&&u[n.id]?d(t,n):(n=d(t,n),e.isPropertyAccessExpression(n)?a(n):e.isPropertyAssignment(n)?o(n):n)}function a(t){var n=s(t.name);return n?e.setTextRange(e.createElementAccess(t.expression,n),t):t}function o(t){var n=e.isIdentifier(t.name)&&s(t.name);return n?e.updatePropertyAssignment(t,n,t.initializer):t}function s(t){var n=t.originalKeywordKind||(e.nodeIsSynthesized(t)?e.stringToToken(e.unescapeLeadingUnderscores(t.escapedText)):void 0);if(n>=72&&n<=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=r,t.enableEmitNotification(251),t.enableEmitNotification(252),t.enableEmitNotification(250),u=[]);var d=t.onSubstituteNode;return t.onSubstituteNode=i,t.enableSubstitution(179),t.enableSubstitution(261),n}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 n(n){function i(t){if(t.isDeclarationFile||0==(512&t.transformFlags))return t;Pt=t;var r=e.visitEachChild(t,a,n);return e.addEmitHelpers(r,n.readEmitHelpers()),Pt=void 0,r}function a(t){var r=t.transformFlags;return Mt?o(t):Ft?s(t):256&r?u(t):512&r?e.visitEachChild(t,a,n):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 re(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 q(t);case 215:return H(t);case 218:return X(t);case 217:return G(t);case 219:return Q(t);default:return 16777216&t.transformFlags?c(t):33554944&t.transformFlags?e.visitEachChild(t,a,n):t}}function c(t){switch(t.kind){case 194:return m(t);case 195:return k(t);case 197:return S(t);case 177:return C(t);case 178:return T(t);case 180:return E(t);case 181:return w(t);case 182:return A(t);default:return e.visitEachChild(t,a,n)}}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,n)}}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,n),void 0,_(t.body)),t),t);else{var r=Ft,i=Mt;Ft=!1,Mt=!1,t=e.visitEachChild(t,a,n),Ft=r,Mt=i}return Ft?void Dt(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,n),void 0,_(t.body)),t),t);else{var r=Ft,i=Mt;Ft=!1,Mt=!1,t=e.visitEachChild(t,a,n),Ft=r,Mt=i}return t}function f(t){var r=Ft,i=Mt;return Ft=!1,Mt=!1,t=e.visitEachChild(t,a,n),Ft=r,Mt=i,t}function _(t){var n=[],r=Ft,i=Mt,o=Rt,s=Lt,c=Bt,u=jt,l=zt,d=Ut,f=en,_=Jt,p=Kt,m=qt,g=Vt;Ft=!0,Mt=!1,Rt=void 0,Lt=void 0,Bt=void 0,jt=void 0,zt=void 0,Ut=void 0,en=1,Jt=void 0,Kt=void 0,qt=void 0,Vt=e.createTempVariable(void 0),St();var h=e.addPrologue(n,t.statements,!1,a);N(t.statements,h);var y=rt();return e.addRange(n,Ct()),n.push(e.createReturn(y)),Ft=r,Mt=i,Rt=o,Lt=s,Bt=c,jt=u,zt=l,Ut=d,en=f,Jt=_,Kt=p,qt=m,Vt=g,e.setTextRange(e.createBlock(n,t.multiLine),t)}function p(t){if(16777216&t.transformFlags)return void R(t.declarationList);if(1048576&e.getEmitFlags(t))return t;for(var n=0,r=t.declarationList.declarations;n=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 r=t.left,i=t.right;if(oe(i)){var o=void 0;switch(r.kind){case 179:o=e.updatePropertyAccess(r,de(e.visitNode(r.expression,a,e.isLeftHandSideExpression)),r.name);break;case 180:o=e.updateElementAccess(r,de(e.visitNode(r.expression,a,e.isLeftHandSideExpression)),de(e.visitNode(r.argumentExpression,a,e.isExpression)));break;default:o=e.visitNode(r,a,e.isExpression)}var s=t.operatorToken.kind;return g(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,n)}function v(t){if(oe(t.right)){if(e.isLogicalOperator(t.operatorToken.kind))return b(t);if(26===t.operatorToken.kind)return x(t);var r=e.getMutableClone(t);return r.left=de(e.visitNode(t.left,a,e.isExpression)),r.right=e.visitNode(t.right,a,e.isExpression),r}return e.visitEachChild(t,a,n)}function b(t){var n=_e(),r=fe();return We(r,e.visitNode(t.left,a,e.isExpression),t.left),53===t.operatorToken.kind?Xe(n,r,t.left):$e(n,r,t.left),We(r,e.visitNode(t.right,a,e.isExpression),t.right),pe(n),r}function x(t){function n(t){e.isBinaryExpression(t)&&26===t.operatorToken.kind?(n(t.left),n(t.right)):(oe(t)&&r.length>0&&(nt(1,[e.createStatement(e.inlineExpressions(r))]),r=[]),r.push(e.visitNode(t,a,e.isExpression)))}var r=[];return n(t.left),n(t.right),e.inlineExpressions(r)}function k(t){if(oe(t.whenTrue)||oe(t.whenFalse)){var r=_e(),i=_e(),o=fe();return Xe(r,e.visitNode(t.condition,a,e.isExpression),t.condition),We(o,e.visitNode(t.whenTrue,a,e.isExpression),t.whenTrue),Ge(i),pe(r),We(o,e.visitNode(t.whenFalse,a,e.isExpression),t.whenFalse),pe(i),o}return e.visitEachChild(t,a,n)}function S(t){var r=_e(),i=e.visitNode(t.expression,a,e.isExpression);if(t.asteriskToken){Ye(0==(8388608&e.getEmitFlags(t.expression))?e.createValuesHelper(n,i,t):i,t)}else Qe(i,t);return pe(r),qe(t)}function C(e){return D(e.elements,void 0,void 0,e.multiLine)}function D(t,n,r,i){function o(t,r){if(oe(r)&&t.length>0){var o=void 0!==s;s||(s=fe()),We(s,o?e.createArrayConcat(s,[e.createArrayLiteral(t,i)]):e.createArrayLiteral(n?[n].concat(t):t,i)),n=void 0,t=[]}return t.push(e.visitNode(r,a,e.isExpression)),t}var s,c=se(t);if(c>0){s=fe();var u=e.visitNodes(t,a,e.isExpression,0,c);We(s,e.createArrayLiteral(n?[n].concat(u):u)),n=void 0}var l=e.reduceLeft(t,o,[],c);return s?e.createArrayConcat(s,[e.createArrayLiteral(l,i)]):e.setTextRange(e.createArrayLiteral(n?[n].concat(l):l,i),r)}function T(t){function n(n,r){oe(r)&&n.length>0&&(He(e.createStatement(e.inlineExpressions(n))),n=[]);var o=e.createExpressionForObjectLiteralElementLike(t,r,s),c=e.visitNode(o,a,e.isExpression);return c&&(i&&(c.startsOnNewLine=!0),n.push(c)),n}var r=t.properties,i=t.multiLine,o=se(r),s=fe();We(s,e.createObjectLiteral(e.visitNodes(r,a,e.isObjectLiteralElementLike,0,o),i));var c=e.reduceLeft(r,n,[],o);return c.push(i?e.startOnNewLine(e.getMutableClone(s)):s),e.inlineExpressions(c)}function E(t){if(oe(t.argumentExpression)){var r=e.getMutableClone(t);return r.expression=de(e.visitNode(t.expression,a,e.isLeftHandSideExpression)),r.argumentExpression=e.visitNode(t.argumentExpression,a,e.isExpression),r}return e.visitEachChild(t,a,n)}function w(t){if(e.forEach(t.arguments,oe)){var r=e.createCallBinding(t.expression,Tt,wt,!0),i=r.target,o=r.thisArg;return e.setOriginalNode(e.createFunctionApply(de(e.visitNode(i,a,e.isLeftHandSideExpression)),o,D(t.arguments),t),t)}return e.visitEachChild(t,a,n)}function A(t){if(e.forEach(t.arguments,oe)){var r=e.createCallBinding(e.createPropertyAccess(t.expression,"bind"),Tt),i=r.target,o=r.thisArg;return e.setOriginalNode(e.setTextRange(e.createNew(e.createFunctionApply(de(e.visitNode(i,a,e.isExpression)),o,D(t.arguments,e.createVoidZero())),void 0,[]),t),t)}return e.visitEachChild(t,a,n)}function N(e,t){void 0===t&&(t=0);for(var n=e.length,r=t;r0)break;u.push(L(i))}u.length&&(He(e.createStatement(e.inlineExpressions(u))),c+=u.length,u=[])}}function L(t){return e.setSourceMapRange(e.createAssignment(e.setSourceMapRange(e.getSynthesizedClone(t.name),t.name),e.visitNode(t.initializer,a,e.isExpression)),t)}function B(t){if(oe(t))if(oe(t.thenStatement)||oe(t.elseStatement)){var n=_e(),r=t.elseStatement?_e():void 0;Xe(t.elseStatement?r:n,e.visitNode(t.expression,a,e.isExpression),t.expression),P(t.thenStatement),t.elseStatement&&(Ge(n),pe(r),P(t.elseStatement)),pe(n)}else He(e.visitNode(t,a,e.isStatement));else He(e.visitNode(t,a,e.isStatement))}function j(t){if(oe(t)){var n=_e(),r=_e();Te(n),pe(r),P(t.statement),pe(n),$e(r,e.visitNode(t.expression,a,e.isExpression)),Ee()}else He(e.visitNode(t,a,e.isStatement))}function z(t){return Mt?(De(),t=e.visitEachChild(t,a,n),Ee(),t):e.visitEachChild(t,a,n)}function U(t){if(oe(t)){var n=_e(),r=Te(n);pe(n),Xe(r,e.visitNode(t.expression,a,e.isExpression)),P(t.statement),Ge(n),Ee()}else He(e.visitNode(t,a,e.isStatement))}function J(t){return Mt?(De(),t=e.visitEachChild(t,a,n),Ee(),t):e.visitEachChild(t,a,n)}function K(t){if(oe(t)){var n=_e(),r=_e(),i=Te(r);if(t.initializer){var o=t.initializer;e.isVariableDeclarationList(o)?R(o):He(e.setTextRange(e.createStatement(e.visitNode(o,a,e.isExpression)),o))}pe(n),t.condition&&Xe(i,e.visitNode(t.condition,a,e.isExpression)),P(t.statement),pe(r),t.incrementor&&He(e.setTextRange(e.createStatement(e.visitNode(t.incrementor,a,e.isExpression)),t.incrementor)),Ge(n),Ee()}else He(e.visitNode(t,a,e.isStatement))}function q(t){Mt&&De();var r=t.initializer;if(r&&e.isVariableDeclarationList(r)){for(var i=0,o=r.declarations;i0?e.inlineExpressions(e.map(c,L)):void 0,e.visitNode(t.condition,a,e.isExpression),e.visitNode(t.incrementor,a,e.isExpression),e.visitNode(t.statement,a,e.isStatement,e.liftToBlock))}else t=e.visitEachChild(t,a,n);return Mt&&Ee(),t}function V(t){if(oe(t)){var n=fe(),r=fe(),i=e.createLoopVariable(),o=t.initializer;Tt(i),We(n,e.createArrayLiteral()),He(e.createForIn(r,e.visitNode(t.expression,a,e.isExpression),e.createStatement(e.createCall(e.createPropertyAccess(n,"push"),void 0,[r])))),We(i,e.createLiteral(0));var s=_e(),c=_e(),u=Te(c);pe(s),Xe(u,e.createLessThan(i,e.createPropertyAccess(n,"length")));var l=void 0;if(e.isVariableDeclarationList(o)){for(var d=0,f=o.declarations;d0?Ge(n,t):He(t)}function G(t){if(Mt){var r=je(t.label&&e.unescapeLeadingUnderscores(t.label.escapedText));if(r>0)return Je(r,t)}return e.visitEachChild(t,a,n)}function $(t){var n=Be(t.label?e.unescapeLeadingUnderscores(t.label.escapedText):void 0);n>0?Ge(n,t):He(t)}function X(t){if(Mt){var r=Be(t.label&&e.unescapeLeadingUnderscores(t.label.escapedText));if(r>0)return Je(r,t)}return e.visitEachChild(t,a,n)}function Y(t){Ze(e.visitNode(t.expression,a,e.isExpression),t)}function Q(t){return Ke(e.visitNode(t.expression,a,e.isExpression),t)}function Z(t){oe(t)?(ve(de(e.visitNode(t.expression,a,e.isExpression))),P(t.statement),be()):He(e.visitNode(t,a,e.isStatement))}function ee(t){if(oe(t.caseBlock)){for(var n=t.caseBlock,r=n.clauses.length,i=Ae(),o=de(e.visitNode(t.expression,a,e.isExpression)),s=[],c=-1,u=0;u0)break;f.push(e.createCaseClause(e.visitNode(p.expression,a,e.isExpression),[Je(s[u],p.expression)]))}else _++}f.length&&(He(e.createSwitch(o,e.createCaseBlock(f))),d+=f.length,f=[]),_>0&&(d+=_,_=0)}Ge(c>=0?s[c]:i);for(var u=0;u=0;n--){var r=jt[n];if(!Me(r))break;if(r.labelText===e)return!0}return!1}function Be(e){if(jt)if(e)for(var t=jt.length-1;t>=0;t--){var n=jt[t];if(Me(n)&&n.labelText===e)return n.breakLabel;if(Fe(n)&&Le(e,t-1))return n.breakLabel}else for(var t=jt.length-1;t>=0;t--){var n=jt[t];if(Fe(n))return n.breakLabel}return 0}function je(e){if(jt)if(e)for(var t=jt.length-1;t>=0;t--){var n=jt[t];if(Re(n)&&Le(e,t-1))return n.continueLabel}else for(var t=jt.length-1;t>=0;t--){var n=jt[t];if(Re(n))return n.continueLabel}return 0}function ze(t){if(t>0){void 0===Ut&&(Ut=[]);var n=e.createLiteral(-1);return void 0===Ut[t]?Ut[t]=[n]:Ut[t].push(n),n}return e.createOmittedExpression()}function Ue(n){var r=e.createLiteral(n);return e.addSyntheticTrailingComment(r,3,t(n)),r}function Je(t,n){return e.Debug.assertLessThan(0,t,"Invalid label"),e.setTextRange(e.createReturn(e.createArrayLiteral([Ue(3),ze(t)])),n)}function Ke(t,n){return e.setTextRange(e.createReturn(e.createArrayLiteral(t?[Ue(2),t]:[Ue(2)])),n)}function qe(t){return e.setTextRange(e.createCall(e.createPropertyAccess(Vt,"sent"),void 0,[]),t)}function Ve(){nt(0)}function He(e){e?nt(1,[e]):Ve()}function We(e,t,n){nt(2,[e,t],n)}function Ge(e,t){nt(3,[e],t)}function $e(e,t,n){nt(4,[e,t],n)}function Xe(e,t,n){nt(5,[e,t],n)}function Ye(e,t){nt(7,[e],t)}function Qe(e,t){nt(6,[e],t)}function Ze(e,t){nt(8,[e],t)}function et(e,t){nt(9,[e],t)}function tt(){nt(10)}function nt(e,t,n){void 0===Jt&&(Jt=[],Kt=[],qt=[]),void 0===zt&&pe(_e());var r=Jt.length;Jt[r]=e,Kt[r]=t,qt[r]=n}function rt(){tn=0,nn=0,Ht=void 0,Wt=!1,Gt=!1,$t=void 0,Xt=void 0,Yt=void 0,Qt=void 0,Zt=void 0;var t=it();return r(n,e.setEmitFlags(e.createFunctionExpression(void 0,void 0,void 0,void 0,[e.createParameter(void 0,void 0,void 0,Vt)],void 0,e.createBlock(t,t.length>0)),524288))}function it(){if(Jt){for(var t=0;t=0;n--){var r=Zt[n];Xt=[e.createWith(r.expression,e.createBlock(Xt))]}if(Qt){var i=Qt.startLabel,a=Qt.catchLabel,o=Qt.finallyLabel,s=Qt.endLabel;Xt.unshift(e.createStatement(e.createCall(e.createPropertyAccess(e.createPropertyAccess(Vt,"trys"),"push"),void 0,[e.createArrayLiteral([ze(i),ze(a),ze(o),ze(s)])]))),Qt=void 0}t&&Xt.push(e.createStatement(e.createAssignment(e.createPropertyAccess(Vt,"label"),e.createLiteral(nn+1))))}$t.push(e.createCaseClause(e.createLiteral(nn),Xt||[])),Xt=void 0}function ut(e){if(zt)for(var t=0;t 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n };'}}(o||(o={}));var o;!function(e){function t(t){function a(t){switch(t){case e.ModuleKind.AMD:return u;case e.ModuleKind.UMD:return l;default:return c}}function o(t){if(t.isDeclarationFile||!(e.isExternalModule(t)||Z.isolatedModules||67108864&t.transformFlags))return t;oe=t,se=e.collectExternalModuleInfo(t,ee,Z),le[e.getOriginalNodeId(t)]=se;var n=a(re),r=n(t);return oe=void 0,se=void 0,ue=!1,e.aggregateTransformFlags(r)}function s(){return!(se.exportEquals||!e.isExternalModule(oe))}function c(n){Y();var i=[],a=Z.alwaysStrict||!Z.noImplicitUseStrict&&e.isExternalModule(oe),o=e.addPrologue(i,n.statements,a,p);s()&&e.append(i,j()),e.append(i,e.visitNode(se.externalHelpersImportDeclaration,p,e.isStatement)),e.addRange(i,e.visitNodes(n.statements,p,e.isStatement,o)),_(i,!1),e.addRange(i,Q());var c=e.updateSourceFileNode(n,e.setTextRange(e.createNodeArray(i),n.statements));return se.hasExportStarsToExportValues&&!Z.importHelpers&&e.addEmitHelper(c,r),e.addEmitHelpers(c,t.readEmitHelpers()),c}function u(t){var n=e.createIdentifier("define"),r=e.tryGetModuleNameFromFile(t,te,Z),i=d(t,!0),a=i.aliasedModuleNames,o=i.unaliasedModuleNames,s=i.importAliasNames;return e.updateSourceFileNode(t,e.setTextRange(e.createNodeArray([e.createStatement(e.createCall(n,void 0,(r?[r]:[]).concat([e.createArrayLiteral([e.createLiteral("require"),e.createLiteral("exports")].concat(a,o)),e.createFunctionExpression(void 0,void 0,void 0,void 0,[e.createParameter(void 0,void 0,void 0,"require"),e.createParameter(void 0,void 0,void 0,"exports")].concat(s),void 0,f(t))])))]),t.statements))}function l(t){var n=d(t,!1),r=n.aliasedModuleNames,i=n.unaliasedModuleNames,a=n.importAliasNames,o=e.createFunctionExpression(void 0,void 0,void 0,void 0,[e.createParameter(void 0,void 0,void 0,"factory")],void 0,e.setTextRange(e.createBlock([e.createIf(e.createLogicalAnd(e.createTypeCheck(e.createIdentifier("module"),"object"),e.createTypeCheck(e.createPropertyAccess(e.createIdentifier("module"),"exports"),"object")),e.createBlock([e.createVariableStatement(void 0,[e.createVariableDeclaration("v",void 0,e.createCall(e.createIdentifier("factory"),void 0,[e.createIdentifier("require"),e.createIdentifier("exports")]))]),e.setEmitFlags(e.createIf(e.createStrictInequality(e.createIdentifier("v"),e.createIdentifier("undefined")),e.createStatement(e.createAssignment(e.createPropertyAccess(e.createIdentifier("module"),"exports"),e.createIdentifier("v")))),1)]),e.createIf(e.createLogicalAnd(e.createTypeCheck(e.createIdentifier("define"),"function"),e.createPropertyAccess(e.createIdentifier("define"),"amd")),e.createBlock([e.createStatement(e.createCall(e.createIdentifier("define"),void 0,[e.createArrayLiteral([e.createLiteral("require"),e.createLiteral("exports")].concat(r,i)),e.createIdentifier("factory")]))])))],!0),void 0));return e.updateSourceFileNode(t,e.setTextRange(e.createNodeArray([e.createStatement(e.createCall(o,void 0,[e.createFunctionExpression(void 0,void 0,void 0,void 0,[e.createParameter(void 0,void 0,void 0,"require"),e.createParameter(void 0,void 0,void 0,"exports")].concat(a),void 0,f(t))]))]),t.statements))}function d(t,n){for(var r=[],i=[],a=[],o=0,s=t.amdDependencies;o=2?2:0)),t))}else r&&e.isDefaultImport(t)&&(n=e.append(n,e.createVariableStatement(void 0,e.createVariableDeclarationList([e.setTextRange(e.createVariableDeclaration(e.getSynthesizedClone(r.name),void 0,e.getGeneratedNameForNode(t)),t)],ne>=2?2:0))));if(N(t)){var a=e.getOriginalNodeId(t);de[a]=O(de[a],t)}else n=O(n,t);return e.singleOrMany(n)}function x(t){var n=e.getExternalModuleNameLiteral(t,oe,te,ee,Z),r=[];return n&&r.push(n),e.createCall(e.createIdentifier("require"),void 0,r)}function k(t){e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(t),"import= for internal module references should be handled in an earlier transformer.");var n;if(re!==e.ModuleKind.AMD?n=e.hasModifier(t,1)?e.append(n,e.setTextRange(e.createStatement(U(t.name,x(t))),t)):e.append(n,e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.getSynthesizedClone(t.name),void 0,x(t))],ne>=2?2:0)),t)):e.hasModifier(t,1)&&(n=e.append(n,e.setTextRange(e.createStatement(U(e.getExportName(t),e.getLocalName(t))),t))),N(t)){var r=e.getOriginalNodeId(t);de[r]=I(de[r],t)}else n=I(n,t);return e.singleOrMany(n)}function S(r){if(r.moduleSpecifier){var i=e.getGeneratedNameForNode(r);if(r.exportClause){var a=[];re!==e.ModuleKind.AMD&&a.push(e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(i,void 0,x(r))])),r));for(var o=0,s=r.exportClause.elements;o0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(I<2,"Cannot modify the lexical environment after transformation has completed.");var n=e.setEmitFlags(e.createVariableDeclaration(t),64);S?S.push(n):S=[n]}function m(t){e.Debug.assert(I>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(I<2,"Cannot modify the lexical environment after transformation has completed."),C?C.push(t):C=[t]}function g(){e.Debug.assert(I>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(I<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!N,"Lexical environment is suspended."),E[A]=S,w[A]=C,A++,S=void 0,C=void 0}function h(){e.Debug.assert(I>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(I<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!N,"Lexical environment is already suspended."),N=!0}function y(){e.Debug.assert(I>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(I<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(N,"Lexical environment is not suspended."),N=!1}function v(){e.Debug.assert(I>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(I<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!N,"Lexical environment is suspended.");var t;if((S||C)&&(C&&(t=C.slice()),S)){var n=e.createVariableStatement(void 0,e.createVariableDeclarationList(S));t?t.push(n):t=[n]}return A--,S=E[A],C=w[A],0===A&&(E=[],w=[]),t}function b(t){e.Debug.assert(I>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(I<2,"Cannot modify the transformation context after transformation has completed."),e.Debug.assert(!t.scoped,"Cannot request a scoped emit helper."),D=e.append(D,t)}function x(){e.Debug.assert(I>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(I<2,"Cannot modify the transformation context after transformation has completed.");var t=D;return D=void 0,t}function k(){if(I<3){for(var t=0,n=i;t=0&&(e.Debug.assert(!1,"We do not support name index right now, Make sure to update updateLastEncodedAndRecordedSpans when we start using this"),k.sourceMapMappings+=r(v.nameIndex-x),x=v.nameIndex),b=v,k.sourceMapDecodedMappings.push(b)}}function u(t){if(!D&&!e.positionIsSynthesized(t)){C&&e.performance.mark("beforeSourcemap");var r=e.getLineAndCharacterOfPosition(m,t);r.line++,r.character++;var i=n.getLine(),a=n.getColumn();!v||v.emittedLine!==i||v.emittedColumn!==a||v.sourceIndex===y&&(v.sourceLine>r.line||v.sourceLine===r.line&&v.sourceColumn>r.character)?(c(),v={emittedLine:i,emittedColumn:a,sourceLine:r.line,sourceColumn:r.character,sourceIndex:y}):(v.sourceLine=r.line,v.sourceColumn=r.character,v.sourceIndex=y),C&&(e.performance.mark("afterSourcemap"),e.performance.measure("Source Map","beforeSourcemap","afterSourcemap"))}}function l(e,t,n){if(D)return n(e,t);if(t){var r=t.emitNode,i=r&&r.flags,o=r&&r.sourceMapRange,s=o||t,c=s.pos,l=s.end,d=o&&o.source,_=m;d===_&&(d=void 0),d&&f(d),287!==t.kind&&0==(16&i)&&c>=0&&u(a(c)),d&&f(_),64&i?(D=!0,n(e,t),D=!1):n(e,t),d&&f(d),287!==t.kind&&0==(32&i)&&l>=0&&u(l),d&&f(_)}}function d(e,t,n,r){if(D)return r(t,n);var i=e&&e.emitNode,o=i&&i.flags,s=i&&i.tokenSourceMapRanges&&i.tokenSourceMapRanges[t];return n=a(s?s.pos:n),0==(128&o)&&n>=0&&u(n),n=r(t,n),s&&(n=s.end),0==(256&o)&&n>=0&&u(n),n}function f(n){if(!D){m=n,g=m.text;var r=S.sourceRoot?t.getCommonSourceDirectory():h,i=e.getRelativePathToDirectoryOrUrl(r,m.fileName,t.getCurrentDirectory(),t.getCanonicalFileName,!0);y=e.indexOf(k.sourceMapSources,i),-1===y&&(y=k.sourceMapSources.length,k.sourceMapSources.push(i),k.inputSourceFileNames.push(m.fileName),S.inlineSources&&k.sourceMapSourcesContent.push(m.text))}}function _(){if(!D)return c(),JSON.stringify({version:3,file:k.sourceMapFile,sourceRoot:k.sourceMapSourceRoot,sources:k.sourceMapSources,names:k.sourceMapNames,mappings:k.sourceMapMappings,sourcesContent:k.sourceMapSourcesContent})}function p(){if(!D){if(S.inlineSourceMap){var t=e.convertToBase64(_());return k.jsSourceMappingURL="data:application/json;base64,"+t}return k.jsSourceMappingURL}}var m,g,h,y,v,b,x,k,S=t.getCompilerOptions(),C=S.extendedDiagnostics,D=!(S.sourceMap||S.inlineSourceMap);return{initialize:o,reset:s,getSourceMapData:function(){return k},setSourceFile:f,emitPos:u,emitNodeWithSourceMap:l,emitTokenWithSourceMap:d,getText:_,getSourceMappingURL:p}}function n(e){if(e<64)return a.charAt(e);throw TypeError(e+": not a 64 based value")}function r(e){e<0?e=1+(-e<<1):e<<=1;var t="";do{var r=31&e;e>>=5,e>0&&(r|=32),t+=n(r)}while(e>0);return t}var i={emittedLine:1,emittedColumn:1,sourceLine:1,sourceColumn:1,sourceIndex:0};e.createSourceMapWriter=t;var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"}(o||(o={}));var o;!function(e){function t(t,n){function r(t,n,r){if(z)return void r(t,n);if(n){j=!1;var a=n.emitNode,o=a&&a.flags,s=a&&a.commentRange||n,c=s.pos,u=s.end;if(c<0&&u<0||c===u)i(t,n,a,o,r);else{F&&e.performance.mark("preEmitNodeWithComment");var l=287!==n.kind,f=c<0||0!=(512&o)||10===n.kind,_=u<0||0!=(1024&o)||10===n.kind;f||d(c,l);var p=R,g=L,h=B;f||(R=c),_||(L=u,227===n.kind&&(B=u)),F&&e.performance.measure("commentTime","preEmitNodeWithComment"),i(t,n,a,o,r),F&&e.performance.mark("postEmitNodeWithComment"),R=p,L=g,B=h,!_&&l&&m(u),F&&e.performance.measure("commentTime","postEmitNodeWithComment")}}}function i(t,n,r,i,s){var c=r&&r.leadingComments;e.some(c)&&(F&&e.performance.mark("preEmitNodeWithSynthesizedComments"),e.forEach(c,a),F&&e.performance.measure("commentTime","preEmitNodeWithSynthesizedComments")),u(t,n,i,s);var l=r&&r.trailingComments;e.some(l)&&(F&&e.performance.mark("postEmitNodeWithSynthesizedComments"),e.forEach(l,o),F&&e.performance.measure("commentTime","postEmitNodeWithSynthesizedComments"))}function a(e){2===e.kind&&A.writeLine(),s(e),e.hasTrailingNewLine||2===e.kind?A.writeLine():A.write(" ")}function o(e){A.isAtStartOfLine()||A.write(" "),s(e),e.hasTrailingNewLine&&A.writeLine()}function s(t){var n=c(t),r=3===t.kind?e.computeLineStarts(n):void 0;e.writeCommentRange(n,r,A,0,n.length,M)}function c(e){return 3===e.kind?"/*"+e.text+"*/":"//"+e.text}function u(e,t,n,r){2048&n?(z=!0,r(e,t),z=!1):r(e,t)}function l(t,n,r){F&&e.performance.mark("preEmitBodyWithDetachedComments");var i=n.pos,a=n.end,o=e.getEmitFlags(t),s=i<0||0!=(512&o),c=z||a<0||0!=(1024&o);s||T(n),F&&e.performance.measure("commentTime","preEmitBodyWithDetachedComments"),2048&o&&!z?(z=!0,r(t),z=!1):r(t),F&&e.performance.mark("beginEmitBodyWithDetachedCommetns"),c||(d(n.end,!0),j&&!A.isAtStartOfLine()&&A.writeLine()),F&&e.performance.measure("commentTime","beginEmitBodyWithDetachedCommetns")}function d(e,t){j=!1,t?v(e,_):0===e&&v(e,f)}function f(e,t,n,r,i){w(e,t)&&_(e,t,n,r,i)}function _(t,r,i,a,o){j||(e.emitNewLineBeforeLeadingCommentOfPosition(O,A,o,t),j=!0),n&&n(t),e.writeCommentRange(P,O,A,t,r,M),n&&n(r),a?A.writeLine():A.write(" ")}function p(e){z||-1===e||d(e,!0)}function m(e){b(e,g)}function g(t,r,i,a){A.isAtStartOfLine()||A.write(" "),n&&n(t),e.writeCommentRange(P,O,A,t,r,M),n&&n(r),a&&A.writeLine()}function h(t,n){z||(F&&e.performance.mark("beforeEmitTrailingCommentsOfPosition"),b(t,n?g:y),F&&e.performance.measure("commentTime","beforeEmitTrailingCommentsOfPosition"))}function y(t,r,i,a){n&&n(t),e.writeCommentRange(P,O,A,t,r,M),n&&n(r),a?A.writeLine():A.write(" ")}function v(t,n){-1!==R&&t===R||(C(t)?D(n):e.forEachLeadingCommentRange(P,t,n,t))}function b(t,n){(-1===L||t!==L&&t!==B)&&e.forEachTrailingCommentRange(P,t,n)}function x(){N=void 0,P=void 0,O=void 0,I=void 0}function k(e){A=e}function S(t){N=t,P=N.text,O=e.getLineStarts(N),I=void 0}function C(t){return void 0!==I&&e.lastOrUndefined(I).nodePos===t}function D(t){var n=e.lastOrUndefined(I).detachedCommentEndPos;I.length-1?I.pop():I=void 0,e.forEachLeadingCommentRange(P,n,t,n)}function T(t){var n=e.emitDetachedComments(P,O,A,E,t,M,z);n&&(I?I.push(n):I=[n])}function E(t,r,i,a,o,s){n&&n(a),e.writeCommentRange(t,r,i,a,o,s),n&&n(o)}function w(t,n){return e.isRecognizedTripleSlashComment(P,t,n)}var A,N,P,O,I,F=t.extendedDiagnostics,M=e.getNewLineCharacter(t),R=-1,L=-1,B=-1,j=!1,z=t.removeComments;return{reset:x,setWriter:k,setSourceFile:S,emitNodeWithComments:r,emitBodyWithDetachedComments:l,emitTrailingCommentsOfPosition:h,emitLeadingCommentsOfPosition:p}}e.createCommentWriter=t}(o||(o={}));var o;!function(e){function t(t,r,i){function a(e,i){var a=e.declarationFilePath;n(t,r,o,a,i,!1)}var o=e.createDiagnosticCollection();return e.forEachEmittedFile(t,a,i),o.getDiagnostics(i?i.fileName:void 0)}function n(t,n,r,i,a,o){function s(e){return be.substring(e.pos,e.end).indexOf("@internal")>=0}function c(t){if(t){var n=e.getLeadingCommentRanges(be,t.pos);if(e.forEach(n,s))return;oe(t)}}function u(){var t=e.createTextWriter(ge);t.trackSymbol=p,t.reportInaccessibleThisError=g,t.reportPrivateInBaseOfClassExpression=m,t.writeKeyword=t.write,t.writeOperator=t.write,t.writePunctuation=t.write,t.writeSpace=t.write,t.writeStringLiteral=t.writeLiteral,t.writeParameter=t.write,t.writeProperty=t.write,t.writeSymbol=t.write,l(t)}function l(e){_e=e,ce=e.write,fe=e.writeTextOfNode,ue=e.writeLine,le=e.increaseIndent,de=e.decreaseIndent}function d(t){var n=_e;e.forEach(t,function(t){var n;226===t.kind?n=t.parent.parent:241===t.kind||242===t.kind||239===t.kind?e.Debug.fail("We should be getting ImportDeclaration instead to write"):n=t;var r=e.forEach(Pe,function(e){return e.node===n?e:void 0});if(!r&&De&&(r=e.forEach(De,function(e){return e.node===n?e:void 0})),r)if(238===r.node.kind)r.isVisible=!0;else{u();for(var i=r.indent;i;i--)le();233===n.kind&&(e.Debug.assert(void 0===De),De=[]),P(n),233===n.kind&&(r.subModuleElementDeclarationEmitInfo=De,De=void 0),r.asynchronousOutput=_e.getText()}}),l(n)}function f(t){if(t){Te||(Te=e.createMap());for(var n=0,r=t;n")))}(t);case 159:return function(e){i(e.typeName),e.typeArguments&&(ce("<"),x(e.typeArguments,C),ce(">"))}(t);case 162:return function(e){ce("typeof "),i(e.exprName)}(t);case 164:return function(e){C(e.elementType),ce("[]")}(t);case 165:return function(e){ce("["),x(e.elementTypes,C),ce("]")}(t);case 166:return function(e){b(e.types," | ",C)}(t);case 167:return function(e){b(e.types," & ",C)}(t);case 168:return function(e){ce("("),C(e.type),ce(")")}(t);case 170:return function(t){ce(e.tokenToString(t.operator)),ce(" "),C(t.type)}(t);case 171:return function(e){C(e.objectType),ce("["),C(e.indexType),ce("]")}(t);case 172:return function(e){var t=ye;ye=e,ce("{"),ue(),le(),e.readonlyToken&&ce("readonly "),ce("["),r(e.typeParameter.name),ce(" in "),C(e.typeParameter.constraint),ce("]"),e.questionToken&&ce("?"),ce(": "),C(e.type),ce(";"),ue(),de(),ce("}"),ye=t}(t);case 160:case 161:return re(t);case 163:return function(e){ce("{"),e.members.length&&(ue(),le(),v(e.members),de()),ce("}")}(t);case 71:case 143:return i(t);case 158:return function(e){fe(be,e.parameterName),ce(" is "),C(e.type)}(t)}}function D(t){be=t.text,xe=e.getLineStarts(t),ke=t.identifiers,Se=e.isExternalModule(t),ye=t,e.emitDetachedComments(be,xe,_e,e.writeCommentRange,t,ge,!0),v(t.statements)}function T(e){if(!ke.has(e))return e;for(var t=0;;){t++;var n=e+"_"+t;if(!ke.has(n))return n}}function E(e,t,r,i){var a=T(t);return i&&ce("declare "),ce("const "),ce(a),ce(": "),_e.getSymbolAccessibilityDiagnostic=function(){return r},n.writeTypeOfExpression(e,ye,18436,_e),ce(";"),ue(),a}function w(t){if(71===t.expression.kind)ce(t.isExportEquals?"export = ":"export default "),fe(be,t.expression);else{var r=E(t.expression,"_default",{diagnosticMessage:e.Diagnostics.Default_export_of_the_module_has_or_is_using_private_name_0,errorNode:t},Ne);ce(t.isExportEquals?"export = ":"export default "),ce(r)}if(ce(";"),ue(),71===t.expression.kind){d(n.collectLinkedAliases(t.expression))}}function A(e){return n.isDeclarationVisible(e)}function N(e,t){if(t)P(e);else if(237===e.kind||265===e.parent.kind&&Se){var r=void 0;if(De&&265!==e.parent.kind)De.push({node:e,outputPos:_e.getTextPos(),indent:_e.getIndent(),isVisible:r});else{if(238===e.kind){var i=e;i.importClause&&(r=i.importClause.name&&n.isDeclarationVisible(i.importClause)||M(i.importClause.namedBindings))}Pe.push({node:e,outputPos:_e.getTextPos(),indent:_e.getIndent(),isVisible:r})}}}function P(t){switch(t.kind){case 228:return ne(t);case 208:return ee(t);case 230:return $(t);case 229:return G(t);case 231:return J(t);case 232:return K(t);case 233:return U(t);case 237:return F(t);case 238:return R(t);default:e.Debug.fail("Unknown symbol kind")}}function O(t){if(265===t.parent.kind){var n=e.getModifierFlags(t);1&n&&ce("export "),512&n?ce("default "):230!==t.kind&&Ne&&ce("declare ")}}function I(e){8&e?ce("private "):16&e&&ce("protected "),32&e&&ce("static "),64&e&&ce("readonly "),128&e&&ce("abstract ")}function F(t){function n(){return{diagnosticMessage:e.Diagnostics.Import_declaration_0_is_using_private_name_1,errorNode:t,typeName:t.name}}we(t),e.hasModifier(t,1)&&ce("export "),ce("import "),fe(be,t.name),ce(" = "),e.isInternalModuleImportEqualsDeclaration(t)?(S(t.moduleReference,n),ce(";")):(ce("require("),L(t),ce(");")),_e.writeLine()}function M(t){if(t)return 240===t.kind?n.isDeclarationVisible(t):e.forEach(t.elements,function(e){return n.isDeclarationVisible(e)})}function R(t){if(we(t),e.hasModifier(t,1)&&ce("export "),ce("import "),t.importClause){var r=_e.getTextPos();t.importClause.name&&n.isDeclarationVisible(t.importClause)&&fe(be,t.importClause.name),t.importClause.namedBindings&&M(t.importClause.namedBindings)&&(r!==_e.getTextPos()&&ce(", "),240===t.importClause.namedBindings.kind?(ce("* as "),fe(be,t.importClause.namedBindings.name)):(ce("{ "),x(t.importClause.namedBindings.elements,B,n.isDeclarationVisible),ce(" }"))),ce(" from ")}L(t),ce(";"),_e.writeLine()}function L(r){ve=ve||233!==r.kind;var i;if(237===r.kind){var a=r;i=e.getExternalModuleImportEqualsDeclarationExpression(a)}else if(233===r.kind)i=r.name;else{var a=r;i=a.moduleSpecifier}if(9===i.kind&&me&&(he.out||he.outFile)){var o=e.getExternalModuleNameFromDeclaration(t,n,r);if(o)return ce('"'),ce(o),void ce('"')}fe(be,i)}function B(e){e.propertyName&&(fe(be,e.propertyName),ce(" as ")),fe(be,e.name)}function j(e){B(e),d(n.collectLinkedAliases(e.propertyName||e.name))}function z(e){we(e),ce("export "),e.exportClause?(ce("{ "),x(e.exportClause.elements,j),ce(" }")):ce("*"),e.moduleSpecifier&&(ce(" from "),L(e)),ce(";"),_e.writeLine()}function U(t){for(we(t),O(t),e.isGlobalScopeAugmentation(t)?ce("global "):(ce(16&t.flags?"namespace ":"module "),e.isExternalModuleAugmentation(t)?L(t):fe(be,t.name));t.body&&234!==t.body.kind;)t=t.body,ce("."),fe(be,t.name);var n=ye;t.body?(ye=t,ce(" {"),ue(),le(),v(t.body.statements),de(),ce("}"),ue(),ye=n):ce(";")}function J(t){function n(){return{diagnosticMessage:e.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:t.type,typeName:t.name}}var r=ye;ye=t,we(t),O(t),ce("type "),fe(be,t.name),H(t.typeParameters),ce(" = "),S(t.type,n),ce(";"),ue(),ye=r}function K(t){we(t),O(t),e.isConst(t)&&ce("const "),ce("enum "),fe(be,t.name),ce(" {"),ue(),le(),v(t.members),de(),ce("}"),ue()}function q(t){we(t),fe(be,t.name);var r=n.getConstantValue(t);void 0!==r&&(ce(" = "),ce(e.getTextOfConstantValue(r))),ce(","),ue()}function V(t){return 151===t.parent.kind&&e.hasModifier(t.parent,8)}function H(t){function n(t){function n(){var n;switch(t.parent.kind){case 229:n=e.Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 230:n=e.Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 156:n=e.Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 155:n=e.Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 151:case 150:n=e.hasModifier(t.parent,32)?e.Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:229===t.parent.parent.kind?e.Diagnostics.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:e.Diagnostics.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;break;case 228:n=e.Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 231:n=e.Diagnostics.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:e.Debug.fail("This is unknown parent for type parameter: "+t.parent.kind)}return{diagnosticMessage:n,errorNode:t,typeName:t.name}}le(),we(t),de(),fe(be,t.name),t.constraint&&!V(t)&&(ce(" extends "),160===t.parent.kind||161===t.parent.kind||t.parent.parent&&163===t.parent.parent.kind?(e.Debug.assert(151===t.parent.kind||150===t.parent.kind||160===t.parent.kind||161===t.parent.kind||155===t.parent.kind||156===t.parent.kind),C(t.constraint)):S(t.constraint,n)),t.default&&!V(t)&&(ce(" = "),160===t.parent.kind||161===t.parent.kind||t.parent.parent&&163===t.parent.parent.kind?(e.Debug.assert(151===t.parent.kind||150===t.parent.kind||160===t.parent.kind||161===t.parent.kind||155===t.parent.kind||156===t.parent.kind),C(t.default)):S(t.default,n))}t&&(ce("<"),x(t,n),ce(">"))}function W(t,n){function r(t){function r(){var r;return r=229===t.parent.parent.kind?n?e.Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:e.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:e.Diagnostics.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1,{diagnosticMessage:r,errorNode:t,typeName:e.getNameOfDeclaration(t.parent.parent)}}e.isEntityNameExpression(t.expression)?S(t,r):n||95!==t.expression.kind||ce("null")}t&&(ce(n?" implements ":" extends "),x(t,r))}function G(t){var n=ye;ye=t;var r,i=e.getClassExtendsHeritageClauseElement(t);i&&!e.isEntityNameExpression(i.expression)&&(r=95===i.expression.kind?"null":E(i.expression,t.name.escapedText+"_base",{diagnosticMessage:e.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1,errorNode:i,typeName:t.name},!e.findAncestor(t,function(e){return 233===e.kind}))),we(t),O(t),e.hasModifier(t,128)&&ce("abstract "),ce("class "),fe(be,t.name),H(t.typeParameters),i&&(e.isEntityNameExpression(i.expression)?W([i],!1):(ce(" extends "),ce(r),i.typeArguments&&(ce("<"),x(i.typeArguments,C),ce(">")))),W(e.getClassImplementsHeritageClauseElements(t),!0),ce(" {"),ue(),le(),function(t){t&&e.forEach(t.parameters,function(t){e.hasModifier(t,92)&&X(t)})}(e.getFirstConstructorWithBody(t)),v(t.members),de(),ce("}"),ue(),ye=n}function $(t){we(t),O(t),ce("interface "),fe(be,t.name);var n=ye;ye=t,H(t.typeParameters);var r=e.filter(e.getInterfaceBaseTypeNodes(t),function(t){return e.isEntityNameExpression(t.expression)});r&&r.length&&W(r,!1),ce(" {"),ue(),le(),v(t.members),de(),ce("}"),ue(),ye=n}function X(t){e.hasDynamicName(t)||(we(t),I(e.getModifierFlags(t)),Y(t),ce(";"),ue())}function Y(t){function r(n){return 226===t.kind?n.errorModuleName?2===n.accessibility?e.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Exported_variable_0_has_or_is_using_private_name_1:149===t.kind||148===t.kind||146===t.kind&&e.hasModifier(t.parent,8)?e.hasModifier(t,32)?n.errorModuleName?2===n.accessibility?e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:229===t.parent.kind||146===t.kind?n.errorModuleName?2===n.accessibility?e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1:n.errorModuleName?e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1:void 0}function i(e){var n=r(e);return void 0!==n?{diagnosticMessage:n,errorNode:t,typeName:t.name}:void 0}function a(e){for(var t=[],n=0,r=e.elements;n0?e.parameters[0].type:void 0}function r(t){var n;return 154===i.kind?(n=e.hasModifier(i.parent,32)?t.errorModuleName?e.Diagnostics.Parameter_0_of_public_static_property_setter_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_static_property_setter_from_exported_class_has_or_is_using_private_name_1:t.errorModuleName?e.Diagnostics.Parameter_0_of_public_property_setter_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_property_setter_from_exported_class_has_or_is_using_private_name_1,{diagnosticMessage:n,errorNode:i.parameters[0],typeName:i.name}):(n=e.hasModifier(i,32)?t.errorModuleName?2===t.accessibility?e.Diagnostics.Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_static_property_getter_from_exported_class_has_or_is_using_private_name_0:t.errorModuleName?2===t.accessibility?e.Diagnostics.Return_type_of_public_property_getter_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_property_getter_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_property_getter_from_exported_class_has_or_is_using_private_name_0,{diagnosticMessage:n,errorNode:i.name,typeName:void 0})}if(!e.hasDynamicName(t)){var i,a=e.getAllAccessorDeclarations(t.parent.members,t);if(t===a.firstAccessor){if(we(a.getAccessor),we(a.setAccessor),I(e.getModifierFlags(t)|(a.setAccessor?0:64)),fe(be,t.name),!e.hasModifier(t,8)){i=t;var o=n(t);if(!o){var s=153===t.kind?a.setAccessor:a.getAccessor;o=n(s),o&&(i=s)}h(t,o,r)}ce(";"),ue()}}}function ne(t){e.hasDynamicName(t)||n.isImplementationOfOverload(t)||(we(t),228===t.kind?O(t):151!==t.kind&&152!==t.kind||I(e.getModifierFlags(t)),228===t.kind?(ce("function "),fe(be,t.name)):152===t.kind?ce("constructor"):(fe(be,t.name),e.hasQuestionToken(t)&&ce("?")),ie(t))}function re(e){we(e),ie(e)}function ie(t){function n(n){var r;switch(t.kind){case 156:r=n.errorModuleName?e.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 155:r=n.errorModuleName?e.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 157:r=n.errorModuleName?e.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 151:case 150:r=e.hasModifier(t,32)?n.errorModuleName?2===n.accessibility?e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:229===t.parent.kind?n.errorModuleName?2===n.accessibility?e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:n.errorModuleName?e.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0;break;case 228:r=n.errorModuleName?2===n.accessibility?e.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:e.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:e.Diagnostics.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:e.Debug.fail("This is unknown kind for signature: "+t.kind)}return{diagnosticMessage:r,errorNode:t.name||t}}var r=ye;ye=t;var i=!1;if(157===t.kind)I(e.getModifierFlags(t)),ce("[");else{if(152===t.kind&&e.hasModifier(t,8))return ce("();"),void ue();if(156===t.kind||161===t.kind)ce("new ");else if(160===t.kind){var a=_e.getText();t.typeParameters&&"<"===a.charAt(a.length-1)&&(i=!0,ce("("))}H(t.typeParameters),ce("(")}x(t.parameters,ae),ce(157===t.kind?"]":")");var o=160===t.kind||161===t.kind;o||163===t.parent.kind?t.type&&(ce(o?" => ":": "),C(t.type)):152===t.kind||e.hasModifier(t,8)||y(t,n),ye=r,o?i&&ce(")"):(ce(";"),ue())}function ae(t){function r(e){var n=i(e);return void 0!==n?{diagnosticMessage:n,errorNode:t,typeName:t.name}:void 0}function i(n){switch(t.parent.kind){case 152:return n.errorModuleName?2===n.accessibility?e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 156:return n.errorModuleName?e.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 155:return n.errorModuleName?e.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 157:return n.errorModuleName?e.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 151:case 150:return e.hasModifier(t.parent,32)?n.errorModuleName?2===n.accessibility?e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:229===t.parent.parent.kind?n.errorModuleName?2===n.accessibility?e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:n.errorModuleName?e.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;case 228:return n.errorModuleName?2===n.accessibility?e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:e.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_private_name_1;default:e.Debug.fail("This is unknown parent for parameter: "+t.parent.kind)}}function a(e){if(174===e.kind)ce("{"),x(e.elements,o),ce("}");else if(175===e.kind){ce("[");var t=e.elements;x(t,o),t&&t.hasTrailingComma&&ce(", "),ce("]")}}function o(t){200===t.kind?ce(" "):176===t.kind&&(t.propertyName&&(fe(be,t.propertyName),ce(": ")),t.name&&(e.isBindingPattern(t.name)?a(t.name):(e.Debug.assert(71===t.name.kind),t.dotDotDotToken&&ce("..."),fe(be,t.name))))}le(),we(t),t.dotDotDotToken&&ce("..."),e.isBindingPattern(t.name)?a(t.name):fe(be,t.name),n.isOptionalParameter(t)&&ce("?"),de(),160===t.parent.kind||161===t.parent.kind||163===t.parent.parent.kind?Q(t):e.hasModifier(t.parent,8)||h(t,t.type,r)}function oe(e){switch(e.kind){case 228:case 233:case 237:case 230:case 229:case 231:case 232:return N(e,A(e));case 208:return N(e,Z(e));case 238:return N(e,!e.importClause);case 244:return z(e);case 152:case 151:case 150:return ne(e);case 156:case 155:case 157:return re(e);case 153:case 154:return te(e);case 149:case 148:return X(e);case 264:return q(e);case 243:return w(e);case 265:return D(e)}}function se(n,r,a){function o(t,i){var a=266===i.kind;a&&!r||(e.Debug.assert(!!t.declarationFilePath||e.isSourceFileJavaScript(n),"Declaration file is not present only for javascript files"),s=t.declarationFilePath||t.jsFilePath,c=a)}var s,c=!1;return n.isDeclarationFile?s=n.fileName:e.forEachEmittedFile(t,o,n,a),s&&(s=e.getRelativePathToDirectoryOrUrl(e.getDirectoryPath(e.normalizeSlashes(i)),s,t.getCurrentDirectory(),t.getCanonicalFileName,!1),Oe+='/// '+ge),c}var ce,ue,le,de,fe,_e,pe=266===a.kind?a.sourceFiles:[a],me=266===a.kind,ge=t.getNewLine(),he=t.getCompilerOptions();u();var ye,ve,be,xe,ke,Se,Ce,De,Te,Ee=!1,we=he.removeComments?e.noop:k,Ae=he.stripInternal?c:oe,Ne=!0,Pe=[],Oe="",Ie=[],Fe=!1,Me=[];return e.forEach(pe,function(n){if(!e.isSourceFileJavaScript(n)){if(he.noResolve||e.forEach(n.referencedFiles,function(r){var i=e.tryResolveScriptReference(t,n,r);i&&!e.contains(Ie,i)&&(se(i,!me&&!Fe,o)&&(Fe=!0),Ie.push(i))}),ve=!1,me&&e.isExternalModule(n)?e.isExternalModule(n)&&(Ne=!1,ce('declare module "'+e.getResolvedExternalModuleName(t,n)+'" {'),ue(),le(),D(n),de(),ce("}"),ue()):(Ne=!0,D(n)),Pe.length){var r=_e;e.forEach(Pe,function(t){if(t.isVisible&&!t.asynchronousOutput){e.Debug.assert(238===t.node.kind),u(),e.Debug.assert(0===t.indent||1===t.indent&&me);for(var n=0;n'+ge}),{reportedDeclarationError:Ee,moduleElementDeclarationEmitInfo:Me,synchronousDeclarationOutput:_e.getText(),referencesOutput:Oe}}function r(t,r,i,a,o,s){function c(t,n){var r=0,i="";return e.forEach(n,function(e){e.asynchronousOutput&&(i+=t.substring(r,e.outputPos),i+=c(e.asynchronousOutput,e.subModuleElementDeclarationEmitInfo),r=e.outputPos)}),i+=t.substring(r)}var u=n(i,a,o,t,r,s),l=u.reportedDeclarationError||i.isEmitBlocked(t)||i.getCompilerOptions().noEmit;if(!l){var d=266===r.kind?r.sourceFiles:[r],f=u.referencesOutput+c(u.synchronousDeclarationOutput,u.moduleElementDeclarationEmitInfo);e.writeFile(i,o,t,f,i.getCompilerOptions().emitBOM,d)}return l}e.getDeclarationDiagnostics=t,e.writeDeclarationFile=r}(o||(o={}));var o;!function(e){function t(t,i,a,o){var s=e.isArray(a)?a:e.getSourceFilesToEmit(t,a),c=t.getCompilerOptions();if(c.outFile||c.out){if(s.length){var u=c.outFile||c.out,l=n(u,c),d=c.declaration?e.removeFileExtension(u)+".d.ts":"";i({jsFilePath:u,sourceMapFilePath:l,declarationFilePath:d},e.createBundle(s),o)}}else for(var f=0,_=s;f<_.length;f++){var p=_[f],u=e.getOwnEmitOutputFilePath(p,t,r(p,c)),l=n(u,c),d=e.isSourceFileJavaScript(p)||!o&&!c.declaration?void 0:e.getDeclarationEmitOutputFilePath(p,t);i({jsFilePath:u,sourceMapFilePath:l,declarationFilePath:d},p,o)}}function n(e,t){return t.sourceMap?e+".map":void 0}function r(t,n){if(1===n.jsx)if(e.isSourceFileJavaScript(t)){if(e.fileExtensionIs(t.fileName,".jsx"))return".jsx"}else if(1===t.languageVariant)return".jsx";return".js"}function i(t){return 266===t.kind?e.updateBundle(t,e.sameMap(t.sourceFiles,e.getOriginalSourceFile)):e.getOriginalSourceFile(t)}function a(n,r,a,s,c){function u(t,a){var o=t.jsFilePath,c=t.sourceMapFilePath,u=t.declarationFilePath;r.isEmitBlocked(o)||g.noEmit?C=!0:s||l(o,c,a),u&&(C=e.writeDeclarationFile(u,i(a),r,n,b,s)||C),!C&&v&&(s||v.push(o),c&&v.push(c),u&&v.push(u))}function l(t,n,i){var a=266===i.kind?i:void 0,o=265===i.kind?i:void 0,s=a?a.sourceFiles:[o];S.initialize(t,n,i),a?(p=e.createMap(),m=!1,E.writeBundle(a,k)):(m=!0,E.writeFile(o,k)),k.writeLine();var c=S.getSourceMappingURL();c&&k.write("//# sourceMappingURL="+c),g.sourceMap&&!g.inlineSourceMap&&e.writeFile(r,b,n,S.getText(),!1,s),y&&y.push(S.getSourceMapData()),e.writeFile(r,b,t,k.getText(),g.emitBOM,s),S.reset(),k.reset(),_=void 0,p=void 0,m=!1}function d(e){_=e,S.setSourceFile(e)}function f(t,n){var r=!1,i=266===t.kind?t:void 0;if(!i||h!==e.ModuleKind.None){for(var a=i?i.sourceFiles.length:1,o=0;o "),v(e.type)}function te(e){jn("new "),Pn(e,e.typeParameters),On(e,e.parameters),jn(" => "),v(e.type)}function ne(e){jn("typeof "),v(e.exprName)}function re(t){jn("{");var n=1&e.getEmitFlags(t)?448:65;Rn(t,t.members,262144|n),jn("}")}function ie(e){v(e.elementType),jn("[]")}function ae(e){jn("["),Rn(e,e.elementTypes,336),jn("]")}function oe(e){Rn(e,e.types,260)}function se(e){Rn(e,e.types,264)}function ce(e){jn("("),v(e.type),jn(")")}function ue(){jn("this")}function le(e){Hn(e.operator),jn(" "),v(e.type)}function de(e){v(e.objectType),jn("["),v(e.indexType),jn("]")}function fe(t){var n=e.getEmitFlags(t);jn("{"),1&n?jn(" "):(zn(),Un()),t.readonlyToken&&(v(t.readonlyToken),jn(" ")),jn("["),k(3,t.typeParameter),jn("]"),y(t.questionToken),jn(": "),v(t.type),jn(";"),1&n?jn(" "):(zn(),Jn()),jn("}")}function _e(e){x(e.literal)}function pe(e){var t=e.elements;0===t.length?jn("{}"):(jn("{"),Rn(e,t,432),jn("}"))}function me(e){0===e.elements.length?jn("[]"):(jn("["),Rn(e,e.elements,304),jn("]"))}function ge(e){En(e.propertyName,": "),y(e.dotDotDotToken),v(e.name),Dn(" = ",e.initializer)}function he(e){Ln(e,e.elements,4466|(e.multiLine?32768:0))}function ye(t){var n=65536&e.getEmitFlags(t);n&&Un();var r=t.multiLine?32768:0,i=Sr.languageVersion>=1?32:0;Rn(t,t.properties,263122|i|r),n&&Jn()}function ve(t){var n=!1,r=!1;if(!(131072&e.getEmitFlags(t))){var i=t.expression.end,a=e.skipTrivia(Sr.text,t.expression.end)+1,o=e.createToken(23);o.pos=i,o.end=a,n=nr(t,t.expression,o),r=nr(t,o,t.name)}x(t.expression),Xn(n),jn(!n&&be(t.expression)?"..":"."),Xn(r),v(t.name),Yn(n,r)}function be(n){if(n=e.skipPartiallyEmittedExpressions(n),e.isNumericLiteral(n)){var r=or(n);return!n.numericLiteralFlags&&r.indexOf(e.tokenToString(23))<0}if(e.isPropertyAccessExpression(n)||e.isElementAccessExpression(n)){var i=e.getConstantValue(n);return"number"==typeof i&&isFinite(i)&&Math.floor(i)===i&&t.removeComments}}function xe(e){x(e.expression),jn("["),x(e.argumentExpression),jn("]")}function ke(e){x(e.expression),Nn(e,e.typeArguments),Ln(e,e.arguments,1296)}function Se(e){jn("new "),x(e.expression),Nn(e,e.typeArguments),Ln(e,e.arguments,9488)}function Ce(e){x(e.tag),jn(" "),x(e.template)}function De(e){jn("<"),v(e.type),jn(">"),x(e.expression)}function Te(e){jn("("),x(e.expression),jn(")")}function Ee(e){vt(e)}function we(e){An(e,e.decorators),Sn(e,e.modifiers),xt(e,Ae)}function Ae(e){Pn(e,e.typeParameters),Fn(e,e.parameters),Cn(": ",e.type),jn(" "),v(e.equalsGreaterThanToken)}function Ne(e){jn("delete "),x(e.expression)}function Pe(e){jn("typeof "),x(e.expression)}function Oe(e){jn("void "),x(e.expression)}function Ie(e){jn("await "),x(e.expression)}function Fe(e){Hn(e.operator),Me(e)&&jn(" "),x(e.operand)}function Me(e){var t=e.operand;return 192===t.kind&&(37===e.operator&&(37===t.operator||43===t.operator)||38===e.operator&&(38===t.operator||44===t.operator))}function Re(e){x(e.operand),Hn(e.operator)}function Le(e){var t=26!==e.operatorToken.kind,n=nr(e,e.left,e.operatorToken),r=nr(e,e.operatorToken,e.right);x(e.left),Xn(n,t?" ":void 0),Gr(e.operatorToken.pos),Vn(e.operatorToken),Wr(e.operatorToken.end,!0),Xn(r," "),x(e.right),Yn(n,r)}function Be(e){var t=nr(e,e.condition,e.questionToken),n=nr(e,e.questionToken,e.whenTrue),r=nr(e,e.whenTrue,e.colonToken),i=nr(e,e.colonToken,e.whenFalse);x(e.condition),Xn(t," "),v(e.questionToken),Xn(n," "),x(e.whenTrue),Yn(t,n),Xn(r," "),v(e.colonToken),Xn(i," "),x(e.whenFalse),Yn(r,i)}function je(e){v(e.head),Rn(e,e.templateSpans,131072)}function ze(e){jn("yield"),v(e.asteriskToken),Dn(" ",e.expression)}function Ue(e){jn("..."),x(e.expression)}function Je(e){wt(e)}function Ke(e){x(e.expression),Nn(e,e.typeArguments)}function qe(e){x(e.expression),e.type&&(jn(" as "),v(e.type))}function Ve(e){x(e.expression),jn("!")}function He(e){qn(e.keywordToken,e.pos),jn("."),v(e.name)}function We(e){x(e.expression),v(e.literal)}function Ge(e){qn(17,e.pos,e),$e(e,!e.multiLine&&rr(e)),Un(),Gr(e.statements.end),Jn(),qn(18,e.statements.end,e)}function $e(t,n){var r=n||1&e.getEmitFlags(t)?384:65;Rn(t,t.statements,r)}function Xe(e){Sn(e,e.modifiers),v(e.declarationList),jn(";")}function Ye(){jn(";")}function Qe(e){x(e.expression),jn(";")}function Ze(e){var t=qn(90,e.pos,e);jn(" "),qn(19,t,e),x(e.expression),qn(20,e.expression.end,e),wn(e,e.thenStatement),e.elseStatement&&(Wn(e),qn(82,e.thenStatement.end,e),211===e.elseStatement.kind?(jn(" "),v(e.elseStatement)):wn(e,e.elseStatement))}function et(t){jn("do"),wn(t,t.statement),e.isBlock(t.statement)?jn(" "):Wn(t),jn("while ("),x(t.expression),jn(");")}function tt(e){jn("while ("),x(e.expression),jn(")"),wn(e,e.statement)}function nt(e){var t=qn(88,e.pos);jn(" "),qn(19,t,e),at(e.initializer),jn(";"),Dn(" ",e.condition),jn(";"),Dn(" ",e.incrementor),jn(")"),wn(e,e.statement)}function rt(e){var t=qn(88,e.pos);jn(" "),qn(19,t),at(e.initializer),jn(" in "),x(e.expression),qn(20,e.expression.end),wn(e,e.statement)}function it(e){var t=qn(88,e.pos);jn(" "),En(e.awaitModifier," "),qn(19,t),at(e.initializer),jn(" of "),x(e.expression),qn(20,e.expression.end),wn(e,e.statement)}function at(e){void 0!==e&&(227===e.kind?v(e):x(e))}function ot(e){qn(77,e.pos),Cn(" ",e.label),jn(";")}function st(e){qn(72,e.pos),Cn(" ",e.label),jn(";")}function ct(t,n,r){var i=r&&e.getParseTreeNode(r);return i&&i.kind===r.kind&&(n=e.skipTrivia(Sr.text,n)),n=qn(t,n,r),i&&i.kind===r.kind&&Wr(n,!0),n}function ut(e){ct(96,e.pos,e),Dn(" ",e.expression),jn(";")}function lt(e){jn("with ("),x(e.expression),jn(")"),wn(e,e.statement)}function dt(e){var t=qn(98,e.pos);jn(" "),qn(19,t),x(e.expression),qn(20,e.expression.end),jn(" "),v(e.caseBlock)}function ft(e){v(e.label),jn(": "),v(e.statement)}function _t(e){jn("throw"),Dn(" ",e.expression),jn(";")}function pt(e){jn("try "),v(e.tryBlock),e.catchClause&&(Wn(e),v(e.catchClause)),e.finallyBlock&&(Wn(e),jn("finally "),v(e.finallyBlock))}function mt(e){qn(78,e.pos),jn(";")}function gt(e){v(e.name),Cn(": ",e.type),Dn(" = ",e.initializer)}function ht(t){jn(e.isLet(t)?"let ":e.isConst(t)?"const ":"var "),Rn(t,t.declarations,272)}function yt(e){vt(e)}function vt(e){An(e,e.decorators),Sn(e,e.modifiers),jn("function"),y(e.asteriskToken),jn(" "),b(e.name),xt(e,kt)}function bt(e,t){Ct(t)}function xt(t,n){var r=t.body;if(r)if(e.isBlock(r)){var i=65536&e.getEmitFlags(t);i&&Un(),524288&e.getEmitFlags(t)?(n(t),Mr?Mr(4,r,bt):Ct(r)):(sr(),n(t),Mr?Mr(4,r,bt):Ct(r),cr()),i&&Jn()}else n(t),jn(" "),x(r);else n(t),jn(";")}function kt(e){Pn(e,e.typeParameters),On(e,e.parameters),Cn(": ",e.type)}function St(t){if(1&e.getEmitFlags(t))return!0;if(t.multiLine)return!1;if(!e.nodeIsSynthesized(t)&&!e.rangeIsOnSingleLine(t,Sr))return!1;if(Qn(t,t.statements,2)||er(t,t.statements,2))return!1;for(var n,r=0,i=t.statements;r0&&v(e.attributes),jn("/>")}function Qt(e){jn("<"),on(e.tagName),Kn(e.attributes.properties," "),e.attributes.properties&&e.attributes.properties.length>0&&v(e.attributes),jn(">")}function Zt(e){Ar.writeLiteral(ar(e,!0))}function en(e){jn("")}function tn(e){Rn(e,e.properties,131328)}function nn(e){v(e.name),Cn("=",e.initializer)}function rn(e){jn("{..."),x(e.expression),jn("}")}function an(e){e.expression&&(jn("{"),y(e.dotDotDotToken),x(e.expression),jn("}"))}function on(e){71===e.kind?x(e):v(e)}function sn(e){jn("case "),x(e.expression),jn(":"),un(e,e.statements)}function cn(e){jn("default:"),un(e,e.statements)}function un(t,n){var r=1===n.length&&(e.nodeIsSynthesized(t)||e.nodeIsSynthesized(n[0])||e.rangeStartPositionsAreOnSameLine(t,n[0],Sr));n.length>0&&Wr(n.pos);var i=81985;r&&(jn(" "),i&=-66),Rn(t,n,i)}function ln(e){jn(" "),Hn(e.token),jn(" "),Rn(e,e.types,272)}function dn(e){var t=qn(74,e.pos);jn(" "),e.variableDeclaration&&(qn(19,t),v(e.variableDeclaration),qn(20,e.variableDeclaration.end),jn(" ")),v(e.block)}function fn(t){v(t.name),jn(": ");var n=t.initializer;if(Wr&&0==(512&e.getEmitFlags(n))){var r=e.getCommentRange(n);Wr(r.pos)}x(n)}function _n(e){v(e.name),e.objectAssignmentInitializer&&(jn(" = "),x(e.objectAssignmentInitializer))}function pn(e){e.expression&&(jn("..."),x(e.expression))}function mn(e){v(e.name),Dn(" = ",e.initializer)}function gn(t){zn();var n=t.statements;if(Hr){if(0===n.length||!e.isPrologueDirective(n[0])||e.nodeIsSynthesized(n[0]))return void Hr(t,n,hn)}hn(t)}function hn(t){var n=t.statements;sr(),O(t);var r=e.findIndex(n,function(t){return!e.isPrologueDirective(t)});Rn(t,n,1,-1===r?n.length:r),cr()}function yn(e){x(e.expression)}function vn(e){Ln(e,e.elements,272)}function bn(t,n,r){for(var i=0;i0)&&zn(),v(a),r&&r.set(a.expression.text,!0))}return t.length}function xn(t){if(e.isSourceFile(t))m(t),bn(t.statements);else for(var n=e.createMap(),r=0,i=t.sourceFiles;r=r.length||0===o;if(d&&16384&i)return jr&&jr(r),void(zr&&zr(r));if(7680&i&&jn(c(i)),jr&&jr(r),d)1&i?zn():128&i&&!(262144&i)&&jn(" ");else{var f=0==(131072&i),_=f;Qn(n,r,i)?(zn(),_=!1):128&i&&jn(" "),64&i&&Un();for(var p=void 0,m=void 0,g=s(i),h=0;h"],e[4096]=["[","]"],e}();e.forEachEmittedFile=t,e.emitFiles=a,e.createPrinter=o;var f;!function(e){e[e.Auto=0]="Auto",e[e.CountMask=268435455]="CountMask",e[e._i=268435456]="_i"}(f||(f={}));var _;!function(e){e[e.None=0]="None",e[e.SingleLine=0]="SingleLine",e[e.MultiLine=1]="MultiLine",e[e.PreserveLines=2]="PreserveLines",e[e.LinesMask=3]="LinesMask",e[e.NotDelimited=0]="NotDelimited",e[e.BarDelimited=4]="BarDelimited",e[e.AmpersandDelimited=8]="AmpersandDelimited",e[e.CommaDelimited=16]="CommaDelimited",e[e.DelimitersMask=28]="DelimitersMask",e[e.AllowTrailingComma=32]="AllowTrailingComma",e[e.Indented=64]="Indented",e[e.SpaceBetweenBraces=128]="SpaceBetweenBraces",e[e.SpaceBetweenSiblings=256]="SpaceBetweenSiblings",e[e.Braces=512]="Braces",e[e.Parenthesis=1024]="Parenthesis",e[e.AngleBrackets=2048]="AngleBrackets",e[e.SquareBrackets=4096]="SquareBrackets",e[e.BracketsMask=7680]="BracketsMask",e[e.OptionalIfUndefined=8192]="OptionalIfUndefined",e[e.OptionalIfEmpty=16384]="OptionalIfEmpty",e[e.Optional=24576]="Optional",e[e.PreferNewLine=32768]="PreferNewLine",e[e.NoTrailingNewLine=65536]="NoTrailingNewLine",e[e.NoInterveningComments=131072]="NoInterveningComments",e[e.NoSpaceIfEmpty=262144]="NoSpaceIfEmpty",e[e.SingleElement=524288]="SingleElement",e[e.Modifiers=131328]="Modifiers",e[e.HeritageClauses=256]="HeritageClauses",e[e.SingleLineTypeLiteralMembers=448]="SingleLineTypeLiteralMembers",e[e.MultiLineTypeLiteralMembers=65]="MultiLineTypeLiteralMembers",e[e.TupleTypeElements=336]="TupleTypeElements",e[e.UnionTypeConstituents=260]="UnionTypeConstituents",e[e.IntersectionTypeConstituents=264]="IntersectionTypeConstituents",e[e.ObjectBindingPatternElements=432]="ObjectBindingPatternElements",e[e.ArrayBindingPatternElements=304]="ArrayBindingPatternElements",e[e.ObjectLiteralExpressionProperties=263122]="ObjectLiteralExpressionProperties",e[e.ArrayLiteralExpressionElements=4466]="ArrayLiteralExpressionElements",e[e.CommaListElements=272]="CommaListElements",e[e.CallExpressionArguments=1296]="CallExpressionArguments",e[e.NewExpressionArguments=9488]="NewExpressionArguments",e[e.TemplateExpressionSpans=131072]="TemplateExpressionSpans",e[e.SingleLineBlockStatements=384]="SingleLineBlockStatements",e[e.MultiLineBlockStatements=65]="MultiLineBlockStatements",e[e.VariableDeclarationList=272]="VariableDeclarationList",e[e.SingleLineFunctionBodyStatements=384]="SingleLineFunctionBodyStatements",e[e.MultiLineFunctionBodyStatements=1]="MultiLineFunctionBodyStatements",e[e.ClassHeritageClauses=256]="ClassHeritageClauses",e[e.ClassMembers=65]="ClassMembers",e[e.InterfaceMembers=65]="InterfaceMembers",e[e.EnumMembers=81]="EnumMembers",e[e.CaseBlockClauses=65]="CaseBlockClauses",e[e.NamedImportsOrExportsElements=432]="NamedImportsOrExportsElements",e[e.JsxElementChildren=131072]="JsxElementChildren",e[e.JsxElementAttributes=131328]="JsxElementAttributes",e[e.CaseOrDefaultClauseStatements=81985]="CaseOrDefaultClauseStatements",e[e.HeritageClauseTypes=272]="HeritageClauseTypes",e[e.SourceFileStatements=65537]="SourceFileStatements",e[e.Decorators=24577]="Decorators",e[e.TypeArguments=26960]="TypeArguments",e[e.TypeParameters=26960]="TypeParameters",e[e.Parameters=1360]="Parameters",e[e.IndexSignatureParameters=4432]="IndexSignatureParameters"}(_||(_={}))}(o||(o={}));var o;!function(e){function t(t,n,r){for(void 0===r&&(r="tsconfig.json");;){var i=e.combinePaths(t,r);if(n(i))return i;var a=e.getDirectoryPath(t);if(a===t)break;t=a}}function n(t,n){var r=e.getDirectoryPath(n),i=e.isRootedDiskPath(t)?t:e.combinePaths(r,t);return e.normalizePath(i)}function r(t,n,r){var i;return e.forEach(t,function(t){var a=e.getNormalizedPathComponents(t,n);if(a.pop(),!i)return void(i=a);for(var o=Math.min(i.length,a.length),s=0;se.getRootLength(t)&&!a(t)){o(e.getDirectoryPath(t)),e.sys.createDirectory(t)}}function s(t,n,r){l||(l=e.createMap());var i=e.sys.createHash(n),a=e.sys.getModifiedTime(t);if(a){var o=l.get(t);if(o&&o.byteOrderMark===r&&o.hash===i&&o.mtime.getTime()===a.getTime())return}e.sys.writeFile(t,n,r);var s=e.sys.getModifiedTime(t);l.set(t,{hash:i,byteOrderMark:r,mtime:s})}function c(n,r,i,a){try{e.performance.mark("beforeIOWrite"),o(e.getDirectoryPath(e.normalizePath(n))),e.isWatchSet(t)&&e.sys.createHash&&e.sys.getModifiedTime?s(n,r,i):e.sys.writeFile(n,r,i),e.performance.mark("afterIOWrite"),e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(e){a&&a(e.message)}}function u(){return e.getDirectoryPath(e.normalizePath(e.sys.getExecutingFilePath()))}var l,d=e.createMap(),f=e.getNewLineCharacter(t),_=e.sys.realpath&&function(t){return e.sys.realpath(t)};return{getSourceFile:i,getDefaultLibLocation:u,getDefaultLibFileName:function(t){return e.combinePaths(u(),e.getDefaultLibFileName(t))},writeFile:c,getCurrentDirectory:e.memoize(function(){return e.sys.getCurrentDirectory()}),useCaseSensitiveFileNames:function(){return e.sys.useCaseSensitiveFileNames},getCanonicalFileName:r,getNewLine:function(){return f},fileExists:function(t){return e.sys.fileExists(t)},readFile:function(t){return e.sys.readFile(t)},trace:function(t){return e.sys.write(t+f)},directoryExists:function(t){return e.sys.directoryExists(t)},getEnvironmentVariable:function(t){return e.sys.getEnvironmentVariable?e.sys.getEnvironmentVariable(t):""},getDirectories:function(t){return e.sys.getDirectories(t)},realpath:_}}function a(t,n,r){var i=t.getOptionsDiagnostics(r).concat(t.getSyntacticDiagnostics(n,r),t.getGlobalDiagnostics(r),t.getSemanticDiagnostics(n,r));return t.getCompilerOptions().declaration&&(i=i.concat(t.getDeclarationDiagnostics(n,r))),e.sortAndDeduplicateDiagnostics(i)}function o(t,n){for(var r="",i=0,a=t;i=4,w=(v+1+"").length;E&&(w=Math.max(S.length,w)),r+=e.sys.newLine;for(var A=m;A<=v;A++){E&&m+10||c.length>0)return{diagnostics:e.concatenate(u,c),sourceMaps:void 0,emittedFiles:void 0,emitSkipped:!0}}var l=y().getEmitResolver(a.outFile||a.out?void 0:n);e.performance.mark("beforeEmit");var d=o?[]:e.getTransformers(a,s),f=e.emitFiles(l,_(r),n,o,d);return e.performance.mark("afterEmit"),e.performance.measure("Emit","beforeEmit","afterEmit"),f}function C(e){return D(c(e))}function D(e){return Ve.get(e)}function T(t,n,r){return t?n(t,r):e.sortAndDeduplicateDiagnostics(e.flatMap(ge.getSourceFiles(),function(e){return r&&r.throwIfCancellationRequested(),n(e,r)}))}function E(e,t){return T(e,N,t)}function w(e,t){return T(e,O,t)}function A(e,t){var n=ge.getCompilerOptions();return!e||n.out||n.outFile?R(e,t):T(e,j,t)}function N(t){return e.isSourceFileJavaScript(t)?(t.additionalSyntacticDiagnostics||(t.additionalSyntacticDiagnostics=M(t),e.isCheckJsEnabledForFile(t,a)&&(t.additionalSyntacticDiagnostics=e.concatenate(t.additionalSyntacticDiagnostics,t.jsDocDiagnostics))),e.concatenate(t.additionalSyntacticDiagnostics,t.parseDiagnostics)):t.parseDiagnostics}function P(t){try{return t()}catch(t){throw t instanceof e.OperationCanceledException&&(ve=void 0,ye=void 0),t}}function O(e,t){return B(e,t,Se,I)}function I(t,n){return P(function(){if(a.skipLibCheck&&t.isDeclarationFile||a.skipDefaultLibCheck&&t.hasNoDefaultLib)return e.emptyArray;var r=y();e.Debug.assert(!!t.bindDiagnostics);var i=!e.isSourceFileJavaScript(t)||e.isCheckJsEnabledForFile(t,a),o=i?t.bindDiagnostics:e.emptyArray,s=i?r.getDiagnostics(t,n):e.emptyArray,c=Te.getDiagnostics(t.fileName),u=Me.getDiagnostics(t.fileName),l=o.concat(s,c,u);return e.isSourceFileJavaScript(t)?e.filter(l,F):l})}function F(t){var n=t.file,r=t.start;if(n)for(var i=e.getLineStarts(n),a=e.computeLineAndCharacterOfPosition(i,r).line;a>0;){var o=n.text.slice(i[a-1],i[a]),s=g.exec(o);if(!s)return!0;if(s[3])return!1;a--}return!0}function M(t){return P(function(){function n(t){switch(u.kind){case 146:case 149:if(u.questionToken===t)return void c.push(s(t,e.Diagnostics._0_can_only_be_used_in_a_ts_file,"?"));case 151:case 150:case 152:case 153:case 154:case 186:case 228:case 187:case 226:if(u.type===t)return void c.push(s(t,e.Diagnostics.types_can_only_be_used_in_a_ts_file))}switch(t.kind){case 237:return void c.push(s(t,e.Diagnostics.import_can_only_be_used_in_a_ts_file));case 243:if(t.isExportEquals)return void c.push(s(t,e.Diagnostics.export_can_only_be_used_in_a_ts_file));break;case 259:if(108===t.token)return void c.push(s(t,e.Diagnostics.implements_clauses_can_only_be_used_in_a_ts_file));break;case 230:return void c.push(s(t,e.Diagnostics.interface_declarations_can_only_be_used_in_a_ts_file));case 233:return void c.push(s(t,e.Diagnostics.module_declarations_can_only_be_used_in_a_ts_file));case 231:return void c.push(s(t,e.Diagnostics.type_aliases_can_only_be_used_in_a_ts_file));case 232:return void c.push(s(t,e.Diagnostics.enum_declarations_can_only_be_used_in_a_ts_file));case 203:return void c.push(s(t,e.Diagnostics.non_null_assertions_can_only_be_used_in_a_ts_file));case 202:return void c.push(s(t.type,e.Diagnostics.type_assertion_expressions_can_only_be_used_in_a_ts_file));case 184:e.Debug.fail()}var i=u;u=t,e.forEachChild(t,n,r),u=i}function r(t){switch(u.decorators!==t||a.experimentalDecorators||c.push(s(u,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)),u.kind){case 229:case 151:case 150:case 152:case 153:case 154:case 186:case 228:case 187:if(t===u.typeParameters)return void c.push(o(t,e.Diagnostics.type_parameter_declarations_can_only_be_used_in_a_ts_file));case 208:if(t===u.modifiers)return i(t,208===u.kind);break;case 149:if(t===u.modifiers){for(var r=0,l=t;r0),d.path=n,o.useCaseSensitiveFileNames()){var m=n.toLowerCase(),g=He.get(m);g?X(t,g.fileName,i,s,c):He.set(m,d)}Fe=Fe||d.hasNoDefaultLib,a.noResolve||(Z(d,r),ee(d)),ie(d),r?ke.unshift(d):ke.push(d)}return d}function Z(t,r){e.forEach(t.referencedFiles,function(e){$(n(e.fileName,t.fileName),r,void 0,t,e.pos,e.end)})}function ee(t){for(var n=e.map(t.typeReferenceDirectives,function(e){return e.fileName.toLocaleLowerCase()}),r=ze(n,t.fileName),i=0;iEe,h=m&&!p(a,l)&&!a.noResolve&&un&&(Me.add(e.createDiagnosticForNodeInSourceFile(a.configFile,m.initializer.elements[n],r,i,o,s)),c=!1)}}c&&Me.add(e.createCompilerDiagnostic(r,i,o,s))}function ce(t,n,r,i){for(var a=!0,o=ue(),s=0,c=o;s1})&&le(e.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}if(!a.noEmit&&a.allowJs&&a.declaration&&le(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"allowJs","declaration"),a.checkJs&&!a.allowJs&&Me.add(e.createCompilerDiagnostic(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs")),a.emitDecoratorMetadata&&!a.experimentalDecorators&&le(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators"),a.jsxFactory?(a.reactNamespace&&le(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),e.parseIsolatedEntityName(a.jsxFactory,d)||de("jsxFactory",e.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,a.jsxFactory)):a.reactNamespace&&!e.isIdentifierText(a.reactNamespace,d)&&de("reactNamespace",e.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,a.reactNamespace),!a.noEmit&&!a.suppressOutputPathCheck){var b=_(),x=e.createMap();e.forEachEmittedFile(b,function(e){t(e.jsFilePath,x),t(e.declarationFilePath,x)})}}(),e.performance.mark("afterProgram"),e.performance.measure("Program","beforeProgram","afterProgram"),ge}function p(t,n){function r(){return t.jsx?void 0:e.Diagnostics.Module_0_was_resolved_to_1_but_jsx_is_not_set}function i(){return t.allowJs?void 0:e.Diagnostics.Module_0_was_resolved_to_1_but_allowJs_is_not_set}switch(n.extension){case".ts":case".d.ts":return;case".tsx":return r();case".jsx":return r()||i();case".js":return i()}}function m(t){return e.Debug.assert(t.every(function(e){return void 0!==e}),"A name is undefined.",function(){return JSON.stringify(t)}),t}var g=/(^\s*$)|(^\s*\/\/\/?\s*(@ts-ignore)?)/;e.findConfigFile=t,e.resolveTripleslashReference=n,e.computeCommonSourceDirectoryOfFilenames=r,e.createCompilerHost=i,e.getPreEmitDiagnostics=a,e.formatDiagnostics=o;var h="",y="",v="",b="",x=" ",k="",S="...";e.formatDiagnosticsWithColorAndContext=l,e.flattenDiagnosticMessageText=d,e.createProgram=_,e.getResolutionDiagnostic=p}(o||(o={}));var o;!function(e){function t(e){if(e&&void 0!==e.enableAutoDiscovery&&void 0===e.enable){return{enable:e.enableAutoDiscovery,include:e.include||[],exclude:e.exclude||[]}}return e}function n(){if(te)return te;var t=e.createMap(),n=e.createMap();return e.forEach(e.optionDeclarations,function(e){t.set(e.name.toLowerCase(),e),e.shortName&&n.set(e.shortName,e.name)}),te={optionNameMap:t,shortOptionNames:n}}function r(t){return i(t,e.createCompilerDiagnostic)}function i(t,n){var r=e.arrayFrom(t.type.keys()).map(function(e){return"'"+e+"'"}).join(", ");return n(e.Diagnostics.Argument_for_0_option_must_be_Colon_1,"--"+t.name,r)}function a(e,t,n){return U(e,K(t||""),n)}function o(t,n,r){if(void 0===n&&(n=""),n=K(n),!e.startsWith(n,"-")){if(""===n)return[];var i=n.split(",");switch(t.element.type){case"number":return e.map(i,parseInt);case"string":return e.map(i,function(e){return e||""});default:return e.filter(e.map(i,function(e){return a(t.element,e,r)}),function(e){return!!e})}}}function s(t,n){function r(t){for(var n=0;n=i.length)break;var s=o;if(34===i.charCodeAt(s)){for(o++;o32;)o++;a.push(i.substring(s,o))}}r(a)}var s={},u=[],l=[];return r(t),{options:s,fileNames:u,errors:l}}function c(e,t){void 0===t&&(t=!1),e=e.toLowerCase();var r=n(),i=r.optionNameMap,a=r.shortOptionNames;if(t){var o=a.get(e);void 0!==o&&(e=o)}return i.get(e)}function u(e,t){var n=f(e,t);return"string"==typeof n?l(e,n):{config:{},error:n}}function l(t,n){var r=e.parseJsonText(t,n);return{config:m(r,r.parseDiagnostics),error:r.parseDiagnostics.length?r.parseDiagnostics[0]:void 0}}function d(t,n){var r=f(t,n);return"string"==typeof r?e.parseJsonText(t,r):{parseDiagnostics:[r]}}function f(t,n){var r;try{r=n(t)}catch(n){return e.createCompilerDiagnostic(e.Diagnostics.Cannot_read_file_0_Colon_1,t,n.message)}return void 0===r?e.createCompilerDiagnostic(e.Diagnostics.The_specified_path_does_not_exist_Colon_0,t):r}function _(t){return e.arrayToMap(t,function(e){return e.name})}function p(){return void 0===ne&&(ne=_([{name:"compilerOptions",type:"object",elementOptions:_(e.optionDeclarations),extraKeyDiagnosticMessage:e.Diagnostics.Unknown_compiler_option_0},{name:"typingOptions",type:"object",elementOptions:_(e.typeAcquisitionDeclarations),extraKeyDiagnosticMessage:e.Diagnostics.Unknown_type_acquisition_option_0},{name:"typeAcquisition",type:"object",elementOptions:_(e.typeAcquisitionDeclarations),extraKeyDiagnosticMessage:e.Diagnostics.Unknown_type_acquisition_option_0},{name:"extends",type:"string"},{name:"files",type:"list",element:{name:"files",type:"string"}},{name:"include",type:"list",element:{name:"include",type:"string"}},{name:"exclude",type:"list",element:{name:"exclude",type:"string"}},e.compileOnSaveCommandLineOption])),ne}function m(e,t){return g(e,t,void 0,void 0)}function g(t,n,r,a){function o(i,o,s,l){for(var d={},f=0,_=i.properties;f<_.length;f++){var p=_[f];if(261===p.kind){p.questionToken&&n.push(e.createDiagnosticForNodeInSourceFile(t,p.questionToken,e.Diagnostics._0_can_only_be_used_in_a_ts_file,"?")),u(p.name)||n.push(e.createDiagnosticForNodeInSourceFile(t,p.name,e.Diagnostics.String_literal_with_double_quotes_expected));var m=e.unescapeLeadingUnderscores(e.getTextOfPropertyName(p.name)),g=o?o.get(m):void 0;s&&!g&&n.push(e.createDiagnosticForNodeInSourceFile(t,p.name,s,m));var h=c(p.initializer,g);if(void 0!==m&&void 0!==h&&(d[m]=h,a&&(l||o===r))){var v=y(g,h);l?v&&a.onSetValidOptionKeyValueInParent(l,g,h):o===r&&(v?a.onSetValidOptionKeyValueInRoot(m,p.name,h,p.initializer):g||a.onSetUnknownOptionKeyValueInRoot(m,p.name,h,p.initializer))}}else n.push(e.createDiagnosticForNodeInSourceFile(t,p,e.Diagnostics.Property_assignment_expected))}return d}function s(e,t){return e.map(function(e){return c(e,t)})}function c(r,a){function c(i){i&&n.push(e.createDiagnosticForNodeInSourceFile(t,r,e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,a.name,h(a)))}switch(r.kind){case 101:return c(a&&"boolean"!==a.type),!0;case 86:return c(a&&"boolean"!==a.type),!1;case 95:return c(!!a),null;case 9:u(r)||n.push(e.createDiagnosticForNodeInSourceFile(t,r,e.Diagnostics.String_literal_with_double_quotes_expected)),c(a&&"string"==typeof a.type&&"string"!==a.type);var l=r.text;if(a&&"string"!=typeof a.type){var d=a;d.type.has(l.toLowerCase())||n.push(i(d,function(n,i,a){return e.createDiagnosticForNodeInSourceFile(t,r,n,i,a)}))}return l;case 8:return c(a&&"number"!==a.type),Number(r.text);case 178:c(a&&"object"!==a.type);var f=r;if(a){var _=a;return o(f,_.elementOptions,_.extraKeyDiagnosticMessage,_.name)}return o(f,void 0,void 0,void 0);case 177:return c(a&&"list"!==a.type),s(r.elements,a&&a.element)}a?c(!0):n.push(e.createDiagnosticForNodeInSourceFile(t,r,e.Diagnostics.Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal))}function u(n){return 9===n.kind&&34===e.getSourceTextOfNodeFromSourceFile(t,n).charCodeAt(0)}return t.jsonObject?o(t.jsonObject,r,void 0,void 0):{}}function h(e){return"list"===e.type?"Array":"string"==typeof e.type?e.type:"string"}function y(t,n){if(t){if("list"===t.type)return e.isArray(n);return typeof n===("string"==typeof t.type?t.type:"string")}}function v(t,r,i){function a(e){return"string"===e.type||"number"===e.type||"boolean"===e.type?void 0:"list"===e.type?a(e.element):e.type}function o(t,n){return e.forEachEntry(n,function(e,n){if(e===t)return n})}function s(e){switch(e.type){case"number":return 1;case"boolean":return!0;case"string":return e.isFilePath?"./":"";case"list":return[];case"object":return{};default:return e.type.keys().next().value}}function c(e){return Array(e+1).join(" ")}var u=e.extend(t,e.defaultInitCompilerOptions),l=function(t){var r=e.createMap(),i=n().optionNameMap;for(var s in t)!function(n){if(e.hasProperty(t,n)){if(i.has(n)&&i.get(n).category===e.Diagnostics.Command_line_Options)return"continue";var s=t[n],c=i.get(n.toLowerCase());if(c){var u=a(c);u?"list"===c.type?r.set(n,s.map(function(e){return o(e,u)})):r.set(n,o(s,u)):r.set(n,s)}}}(s);return r}(u);return function(){for(var t=e.createMultiMap(),n=0,a=e.optionDeclarations;n=0)return s.push(e.createCompilerDiagnostic(e.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,o.concat([u]).join(" -> "))),{raw:t||m(n,s)};var l=t?T(t,r,i,c,a,s):E(n,r,i,c,a,s);if(l.extendedConfigPath){o=o.concat([u]);var d=A(n,l.extendedConfigPath,r,i,c,o,s);if(d&&C(d)){var f=d.raw,_=l.raw,p=function(e){var t=_[e]||f[e];t&&(_[e]=t)};p("include"),p("exclude"),p("files"),void 0===_.compileOnSave&&(_.compileOnSave=f.compileOnSave),l.options=e.assign({},d.options,l.options)}}return l}function T(t,n,r,i,a,o){e.hasProperty(t,"excludes")&&o.push(e.createCompilerDiagnostic(e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude));var s=F(t.compilerOptions,r,o,a),c=R(t.typeAcquisition||t.typingOptions,r,o,a);t.compileOnSave=N(t,r,o);var u;return t.extends&&("string"!=typeof t.extends?o.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"extends","string")):u=w(t.extends,n,r,i,o,e.createCompilerDiagnostic)),{raw:t,options:s,typeAcquisition:c,extendedConfigPath:u}}function E(t,n,r,i,a,o){var s,c,u,l=I(a),d={onSetValidOptionKeyValueInParent:function(t,n,i){e.Debug.assert("compilerOptions"===t||"typeAcquisition"===t||"typingOptions"===t),("compilerOptions"===t?l:"typeAcquisition"===t?s||(s=M(a)):c||(c=M(a)))[n.name]=j(n,r,i)},onSetValidOptionKeyValueInRoot:function(s,c,l,d){switch(s){case"extends":return void(u=w(l,n,r,i,o,function(n,r){return e.createDiagnosticForNodeInSourceFile(t,d,n,r)}));case"files":return void(0===l.length&&o.push(e.createDiagnosticForNodeInSourceFile(t,d,e.Diagnostics.The_files_list_in_config_file_0_is_empty,a||"tsconfig.json")))}},onSetUnknownOptionKeyValueInRoot:function(n,r,i,a){"excludes"===n&&o.push(e.createDiagnosticForNodeInSourceFile(t,r,e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude))}},f=g(t,o,p(),d);return s||(s=c?void 0!==c.enableAutoDiscovery?{enable:c.enableAutoDiscovery,include:c.include,exclude:c.exclude}:c:M(a)),{raw:f,options:l,typeAcquisition:s,extendedConfigPath:u}}function w(t,n,r,i,a,o){if(t=e.normalizeSlashes(t),!(e.isRootedDiskPath(t)||e.startsWith(t,"./")||e.startsWith(t,"../")))return void a.push(o(e.Diagnostics.A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not,t));var s=e.toPath(t,r,i);return n.fileExists(s)||e.endsWith(s,".json")||(s+=".json",n.fileExists(s))?s:void a.push(o(e.Diagnostics.File_0_does_not_exist,t))}function A(t,n,r,i,a,o,s){var c=d(n,function(e){return r.readFile(e)});if(t&&(t.extendedSourceFiles||(t.extendedSourceFiles=[])).push(c.fileName),c.parseDiagnostics.length)return void s.push.apply(s,c.parseDiagnostics);var u=e.getDirectoryPath(n),l=D(void 0,c,r,u,e.getBaseFileName(n),o,s);if(t&&(g=t.extendedSourceFiles).push.apply(g,c.extendedSourceFiles),C(l)){var f=e.convertToRelativePath(u,i,a),_=function(t){return e.isRootedDiskPath(t)?t:e.combinePaths(f,t)},p=function(t){m[t]&&(m[t]=e.map(m[t],_))},m=l.raw;p("include"),p("exclude"),p("files")}return l;var g}function N(t,n,r){if(e.hasProperty(t,e.compileOnSaveCommandLineOption.name)){var i=B(e.compileOnSaveCommandLineOption,t.compileOnSave,n,r);return!("boolean"!=typeof i||!i)&&i}}function P(e,t,n){var r=[];return{options:F(e,t,r,n),errors:r}}function O(e,t,n){var r=[];return{options:R(e,t,r,n),errors:r}}function I(t){return"jsconfig.json"===e.getBaseFileName(t)?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0}:{}}function F(t,n,r,i){var a=I(i);return L(e.optionDeclarations,t,n,a,e.Diagnostics.Unknown_compiler_option_0,r),a}function M(t){return{enable:"jsconfig.json"===e.getBaseFileName(t),include:[],exclude:[]}}function R(n,r,i,a){var o=M(a),s=t(n);return L(e.typeAcquisitionDeclarations,s,r,o,e.Diagnostics.Unknown_type_acquisition_option_0,i),o}function L(t,n,r,i,a,o){if(n){var s=_(t);for(var c in n){var u=s.get(c);u?i[u.name]=B(u,n[c],r,o):o.push(e.createCompilerDiagnostic(a,c))}}}function B(t,n,r,i){if(y(t,n)){var a=t.type;return"list"===a&&e.isArray(n)?J(t,n,r,i):"string"!=typeof a?U(t,n,i):z(t,r,n)}i.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,t.name,h(t)))}function j(t,n,r){if("list"===t.type){var i=t;return i.element.isFilePath||"string"!=typeof i.element.type?e.filter(e.map(r,function(e){return j(i.element,n,e)}),function(e){return!!e}):r}return"string"!=typeof t.type?t.type.get("string"==typeof r?r.toLowerCase():r):z(t,n,r)}function z(t,n,r){return t.isFilePath&&""===(r=e.normalizePath(e.combinePaths(n,r)))&&(r="."),r}function U(e,t,n){var i=t.toLowerCase(),a=e.type.get(i);if(void 0!==a)return a;n.push(r(e))}function J(t,n,r,i){return e.filter(e.map(n,function(e){return B(t.element,e,r,i)}),function(e){return!!e})}function K(e){return"function"==typeof e.trim?e.trim():e.replace(/^[\s]+|[\s]+$/g,"")}function q(t,n,r,i,a,o,s,c,u){i=e.normalizePath(i);var l=o.useCaseSensitiveFileNames?Y:Q,d=e.createMap(),f=e.createMap();n&&(n=V(n,s,!1,u,"include")),r&&(r=V(r,s,!0,u,"exclude"));var _=W(n,r,i,o.useCaseSensitiveFileNames),p=e.getSupportedExtensions(a,c);if(t)for(var m=0,g=t;m0)for(var v=0,b=o.readDirectory(i,p,r,n,void 0);v=n.end}function A(e,t,n){return e.pos<=t&&e.end>=n}function N(e,t,n){return P(e.pos,e.end,t,n)}function P(e,t,n,r){return Math.max(e,n)t||!I(e,n)}function I(t,n){if(e.nodeIsMissing(t))return!1;switch(t.kind){case 229:case 230:case 232:case 178:case 174:case 163:case 207:case 234:case 235:case 241:case 245:return F(t,18,n);case 260:return I(t.block,n);case 182:if(!t.arguments)return!0;case 181:case 185:case 168:return F(t,20,n);case 160:case 161:return I(t.type,n);case 152:case 153:case 154:case 228:case 186:case 151:case 150:case 156:case 155:case 187:return t.body?I(t.body,n):t.type?I(t.type,n):R(t,20,n);case 233:return t.body&&I(t.body,n);case 211:return t.elseStatement?I(t.elseStatement,n):I(t.thenStatement,n);case 210:return I(t.expression,n)||R(t,25);case 177:case 175:case 180:case 144:case 165:return F(t,22,n);case 157:return t.type?I(t.type,n):R(t,22,n);case 257:case 258:return!1;case 214:case 215:case 216:case 213:return I(t.statement,n);case 212:return L(t,106,n)?F(t,20,n):I(t.statement,n);case 162:return I(t.exprName,n);case 189:case 188:case 190:case 197:case 198:return I(t.expression,n);case 183:return I(t.template,n);case 196:return I(e.lastOrUndefined(t.templateSpans),n);case 205:return e.nodeIsPresent(t.literal);case 244:case 238:return e.nodeIsPresent(t.moduleSpecifier);case 192:return I(t.operand,n);case 194:return I(t.right,n);case 195:return I(t.whenFalse,n);default:return!0}}function F(t,n,r){var i=t.getChildren(r);if(i.length){var a=e.lastOrUndefined(i);if(a.kind===n)return!0;if(25===a.kind&&1!==i.length)return i[i.length-2].kind===n}return!1}function M(t){var n=B(t);if(n){var r=n.getChildren();return{listItemIndex:e.indexOf(r,t),list:n}}}function R(e,t,n){return!!L(e,t,n)}function L(t,n,r){return e.forEach(t.getChildren(r),function(e){return e.kind===n&&e})}function B(t){var n=e.forEach(t.parent.getChildren(),function(n){if(e.isSyntaxList(n)&&n.pos<=t.pos&&n.end>=t.end)return n});return e.Debug.assert(!n||e.contains(n.getChildren(),t)),n}function j(e,t,n){return U(e,t,n,function(e){return ne(e.kind)})}function z(e,t,n){return U(e,t,n,function(e){return re(e.kind)})}function U(e,t,n,r){return K(e,t,!1,r,!1,n)}function J(e,t,n,r){return K(e,t,!0,void 0,r,n)}function K(t,n,r,i,a,o){var s=t;e:for(;;){if(e.isToken(s))return s;for(var c=0,u=s.getChildren();cn)break;var f=l.getEnd();if(nr.getStart(t)&&nt.end||s.pos===t.end)&&Z(s))return r(s)}}return r(n)}function H(t,n,r,i){function a(t){if(e.isToken(t))return t;var n=t.getChildren(),r=s(n,n.length);return r&&a(r)}function o(c){if(e.isToken(c))return c;for(var u=c.getChildren(),l=0;l=t||10===d.kind&&f===d.end){var _=s(u,l);return _&&a(_)}return o(d)}}if(e.Debug.assert(void 0!==r||265===c.kind||e.isJSDocCommentContainingNode(c)),u.length){var _=s(u,u.length);return _&&a(_)}}function s(e,t){for(var n=t-1;n>=0;n--)if(Z(e[n]))return e[n]}return o(r||n)}function W(t,n){var r=H(n,t);if(r&&e.isStringTextContainingNode(r)){var i=r.getStart(),a=r.getEnd();if(ir.getStart(t)}function X(t,n,r,i){function a(r){return e.forEach(r,function(e){return Y(e,n,t.text)&&(!i||i(e))})}return void 0===r&&(r=J(t,n,!1)),n<=r.getStart(t)&&(a(e.getLeadingCommentRanges(t.text,r.pos))||a(e.getTrailingCommentRanges(t.text,r.pos)))}function Y(e,t,n){var r=e.pos,i=e.end,a=e.kind;return r=e.pos+3&&"/"===n[e.pos]&&"*"===n[e.pos+1]&&"*"===n[e.pos+2]}var i=J(t,n,!1),a=e.getLeadingCommentRanges(t.text,i.pos);return e.forEach(a,r)}function Z(e){return 0!==e.getWidth()}function ee(t){var n=e.getCombinedModifierFlags(t),r=[];return 8&n&&r.push("private"),16&n&&r.push("protected"),4&n&&r.push("public"),32&n&&r.push("static"),128&n&&r.push("abstract"),1&n&&r.push("export"),e.isInAmbientContext(t)&&r.push("declare"),r.length>0?r.join(","):""}function te(t){return 159===t.kind||181===t.kind?t.typeArguments:e.isFunctionLike(t)||229===t.kind||230===t.kind?t.typeParameters:void 0}function ne(t){return 71===t||e.isKeyword(t)}function re(e){return 9===e||8===e||ne(e)}function ie(e){return 2===e||3===e}function ae(t){return!(9!==t&&12!==t&&!e.isTemplateLiteralKind(t))}function oe(e){return 17<=e&&e<=70}function se(t,n){return e.isTemplateLiteralKind(t.kind)&&t.getStart()0&&146===e.declarations[0].kind}function n(n,i){return r(n,function(n){var r=n.flags;return 3&r?t(n)?e.SymbolDisplayPartKind.parameterName:e.SymbolDisplayPartKind.localName:4&r?e.SymbolDisplayPartKind.propertyName:32768&r?e.SymbolDisplayPartKind.propertyName:65536&r?e.SymbolDisplayPartKind.propertyName:8&r?e.SymbolDisplayPartKind.enumMemberName:16&r?e.SymbolDisplayPartKind.functionName:32&r?e.SymbolDisplayPartKind.className:64&r?e.SymbolDisplayPartKind.interfaceName:384&r?e.SymbolDisplayPartKind.enumName:1536&r?e.SymbolDisplayPartKind.moduleName:8192&r?e.SymbolDisplayPartKind.methodName:262144&r?e.SymbolDisplayPartKind.typeParameterName:524288&r?e.SymbolDisplayPartKind.aliasName:2097152&r?e.SymbolDisplayPartKind.aliasName:e.SymbolDisplayPartKind.text}(i))}function r(t,n){return{text:t,kind:e.SymbolDisplayPartKind[n]}}function i(){return r(" ",e.SymbolDisplayPartKind.space)}function a(t){return r(e.tokenToString(t),e.SymbolDisplayPartKind.keyword)}function o(t){return r(e.tokenToString(t),e.SymbolDisplayPartKind.punctuation)}function s(t){return r(e.tokenToString(t),e.SymbolDisplayPartKind.operator)}function c(t){var n=e.stringToToken(t);return void 0===n?u(t):a(n)}function u(t){return r(t,e.SymbolDisplayPartKind.text)}function l(e){return e.getNewLine?e.getNewLine():D}function d(){return r("\n",e.SymbolDisplayPartKind.lineBreak)}function f(e){try{return e(C),C.displayParts()}finally{C.clear()}}function _(e,t,n,r){return f(function(i){e.getSymbolDisplayBuilder().buildTypeDisplay(t,i,n,r)})}function p(e,t,n,r,i){return f(function(a){e.getSymbolDisplayBuilder().buildSymbolDisplay(t,a,n,r,i)})}function m(e,t,n,r){return r|=65536,f(function(i){e.getSymbolDisplayBuilder().buildSignatureDisplay(t,i,n,r)})}function g(t,n,r){if(h(r)||e.isStringOrNumericLiteral(r)&&144===r.parent.kind)return e.getTextOfIdentifierOrLiteral(r);var i=e.getLocalSymbolForExportDefault(n);return t.symbolToString(i||n)}function h(e){return e.parent&&(242===e.parent.kind||246===e.parent.kind)&&e.parent.propertyName===e}function y(e){var t=e.length;return t>=2&&e.charCodeAt(0)===e.charCodeAt(t-1)&&(34===e.charCodeAt(0)||39===e.charCodeAt(0))?e.substring(1,t-1):e}function v(t,n){for(var r=[],i=2;i=0){var d=c-o;d>0&&i.push({length:d,classification:e.TokenClass.Whitespace})}i.push({length:u,classification:r(l)}),o=c+u}var f=n.length-o;return f>0&&i.push({length:f,classification:e.TokenClass.Whitespace}),{entries:i,finalLexState:t.endOfLineState}}function r(t){switch(t){case 1:return e.TokenClass.Comment;case 3:return e.TokenClass.Keyword;case 4:return e.TokenClass.NumberLiteral;case 5:return e.TokenClass.Operator;case 6:return e.TokenClass.StringLiteral;case 8:return e.TokenClass.Whitespace;case 10:return e.TokenClass.Punctuation;case 2:case 11:case 12:case 13:case 14:case 15:case 16:case 9:case 17:default:return e.TokenClass.Identifier}}function i(e,t,r){return n(a(e,t,r),e)}function a(n,r,i){function a(e,t,n){if(8!==n){0===e&&o>0&&(e+=o),e-=o,t-=o;var r=t-e;r>0&&(p.spans.push(e),p.spans.push(r),p.spans.push(n))}}for(var o=0,s=0,_=0;f.length>0;)f.pop();switch(r){case 3:n='"\\\n'+n,o=3;break;case 2:n="'\\\n"+n,o=3;break;case 1:n="/*\n"+n,o=3;break;case 4:n="`\n"+n,o=2;break;case 5:n="}\n"+n,o=2;case 6:f.push(14)}l.setText(n);var p={endOfLineState:0,spans:[]},m=0;do{if(s=l.scan(),!e.isTrivia(s)){if(41!==s&&63!==s||d[_]){if(23===_&&c(s))s=71;else if(c(_)&&c(s)&&!t(_,s))s=71;else if(71===_&&27===s)m++;else if(29===s&&m>0)m--;else if(119===s||136===s||133===s||122===s||137===s)m>0&&!i&&(s=71);else if(14===s)f.push(s);else if(17===s)f.length>0&&f.push(s);else if(18===s&&f.length>0){var g=e.lastOrUndefined(f);14===g?(s=l.reScanTemplateToken(),16===s?f.pop():e.Debug.assertEqual(s,15,"Should have been a template middle.")):(e.Debug.assertEqual(g,17,"Should have been an open brace"),f.pop())}}else 12===l.reScanSlashToken()&&(s=12);_=s}!function(){var t=l.getTokenPos(),r=l.getTextPos();if(a(t,r,u(s)),r>=n.length)if(9===s){var i=l.getTokenText();if(l.isUnterminated()){for(var o=i.length-1,c=0;92===i.charCodeAt(o-c);)c++;if(1&c){var d=i.charCodeAt(0);p.endOfLineState=34===d?3:2}}}else 3===s?l.isUnterminated()&&(p.endOfLineState=1):e.isTemplateLiteralKind(s)?l.isUnterminated()&&(16===s?p.endOfLineState=5:13===s?p.endOfLineState=4:e.Debug.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+s)):f.length>0&&14===e.lastOrUndefined(f)&&(p.endOfLineState=6)}()}while(1!==s);return p}function o(e){switch(e){case 39:case 41:case 42:case 37:case 38:case 45:case 46:case 47:case 27:case 29:case 30:case 31:case 93:case 92:case 118:case 32:case 33:case 34:case 35:case 48:case 50:case 49:case 53:case 54:case 69:case 68:case 70:case 65:case 66:case 67:case 59:case 60:case 61:case 63:case 64:case 58:case 26:return!0;default:return!1}}function s(e){switch(e){case 37:case 38:case 52:case 51:case 43:case 44:return!0;default:return!1}}function c(e){return e>=72&&e<=142}function u(t){if(c(t))return 3;if(o(t)||s(t))return 5;if(t>=17&&t<=70)return 10;switch(t){case 8:return 4;case 9:return 6;case 12:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 71:default:return e.isTemplateLiteralKind(t)?6:2}}var l=e.createScanner(5,!1),d=[];d[71]=!0,d[9]=!0,d[8]=!0,d[12]=!0,d[99]=!0,d[43]=!0,d[44]=!0,d[20]=!0,d[22]=!0,d[18]=!0,d[101]=!0,d[86]=!0;var f=[];return{getClassificationsForLine:i,getEncodedLexicalClassifications:a}}function n(e,t,n,r,a){return o(i(e,t,n,r,a))}function r(e,t){switch(t){case 233:case 229:case 230:case 228:e.throwIfCancellationRequested()}}function i(t,n,i,a,o){function s(e,t,n){l.push(e),l.push(t),l.push(n)}function c(t,n){var r=t.getFlags();if(0!=(788448&r)){if(32&r)return 11;if(384&r)return 12;if(524288&r)return 16;if(2&n){if(64&r)return 13;if(262144&r)return 15}else if(1536&r&&(4&n||1&n&&function(t){return e.forEach(t.declarations,function(t){return 233===t.kind&&1===e.getModuleInstanceState(t)})}(t)))return 14}}function u(i){if(i&&e.textSpanIntersectsWith(o,i.getFullStart(),i.getFullWidth())){var l=i.kind;if(r(n,l),71===l&&!e.nodeIsMissing(i)){var d=i;if(a.has(d.escapedText)){var f=t.getSymbolAtLocation(i);if(f){var _=c(f,e.getMeaningFromLocation(i));_&&s(i.getStart(),i.getWidth(),_)}}}e.forEachChild(i,u)}}var l=[];return u(i),{spans:l,endOfLineState:0}}function a(e){switch(e){case 1:return"comment";case 2:return"identifier";case 3:return"keyword";case 4:return"number";case 5:return"operator";case 6:return"string";case 8:return"whitespace";case 9:return"text";case 10:return"punctuation";case 11:return"class name";case 12:return"enum name";case 13:return"interface name";case 14:return"module name";case 15:return"type parameter name";case 16:return"type alias name";case 17:return"parameter name";case 18:return"doc comment tag name";case 19:return"jsx open tag name";case 20:return"jsx close tag name";case 21:return"jsx self closing tag name";case 22:return"jsx attribute";case 23:return"jsx text";case 24:return"jsx attribute string literal value"}}function o(t){e.Debug.assert(t.spans.length%3==0);for(var n=t.spans,r=[],i=0;i=0),i>0){var s=n||m(t.kind,t);s&&a(r,i,s)}return!0}function p(e){switch(e.parent&&e.parent.kind){case 251:if(e.parent.tagName===e)return 19;break;case 252:if(e.parent.tagName===e)return 20;break;case 250:if(e.parent.tagName===e)return 21;break;case 253:if(e.parent.name===e)return 22}}function m(t,n){if(e.isKeyword(t))return 3;if((27===t||29===t)&&n&&e.getTypeArgumentOrTypeParameterList(n.parent))return 10;if(e.isPunctuation(t)){if(n){if(58===t&&(226===n.parent.kind||149===n.parent.kind||146===n.parent.kind||253===n.parent.kind))return 5;if(194===n.parent.kind||192===n.parent.kind||193===n.parent.kind||195===n.parent.kind)return 5}return 10}if(8===t)return 4;if(9===t)return 253===n.parent.kind?24:6;if(12===t)return 6;if(e.isTemplateLiteralKind(t))return 6;if(10===t)return 23;if(71===t){if(n)switch(n.parent.kind){case 229:if(n.parent.name===n)return 11;return;case 145:if(n.parent.name===n)return 15;return;case 230:if(n.parent.name===n)return 13;return;case 232:if(n.parent.name===n)return 12;return;case 233:if(n.parent.name===n)return 14;return;case 146:if(n.parent.name===n)return e.isThisIdentifier(n)?3:17;return}return 2}}function g(i){if(i&&e.decodedTextSpanIntersectsWith(h,y,i.pos,i.getFullWidth())){r(t,i.kind);for(var a=0,o=i.getChildren(n);a=e.pos&&n<=e.end&&e});if(c){var u={isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!0,entries:[]},d=t.text.substr(c.pos,n-c.pos),f=C.exec(d);if(f){var _=f[1],p=f[2],g=f[3],h=e.getDirectoryPath(t.path);if("path"===p){var y=m(g,c.pos+_.length);u.entries=a(g,h,e.getSupportedExtensions(r),!0,y,i,t.path)}else{var v={start:c.pos+_.length,length:f[0].length-_.length};u.entries=l(i,r,h,v)}}return u}}}}function l(t,n,r,i,a){if(void 0===a&&(a=[]),n.types)for(var o=0,s=n.types;o=2&&46===e.charCodeAt(0)){var t=e.length>=3&&46===e.charCodeAt(1)?2:1,n=e.charCodeAt(t);return 47===n||92===n}return!1}function h(t){return e.hasTrailingDirectorySeparator(t)?e.ensureTrailingDirectorySeparator(e.normalizePath(t)):e.normalizePath(t)}function y(e,t){return S(e,e.getDirectories,t)}function v(e,t,n,r,i){return S(e,e.readDirectory,t,n,r,i)}function b(e,t){return S(e,e.readFile,t)}function x(e,t){return S(e,e.fileExists,t)}function k(t,n){try{return e.directoryProbablyExists(n,t)}catch(e){}}function S(e,t){for(var n=[],r=2;r0&&(se=M(r,i)),!0}function g(n){var r=241===n.kind?238:244,i=e.getAncestor(n,r),a=i.moduleSpecifier;if(!a)return!1;ne=!0,re=!1;var o=t.getSymbolAtLocation(a);if(!o)return se=e.emptyArray,!0;var s=t.getExportsAndPropertiesOfModule(o);return se=F(s,n.elements),!0}function h(n){ne=!0,re=!0,oe=1;var r=e.getClassExtendsHeritageClauseElement(n),i=e.getClassImplementsHeritageClauseElements(n);if(r||i){var a=G.parent,o=e.isClassElement(a)&&e.getModifierFlags(a);if(71===G.kind&&!B(G))switch(G.getText()){case"private":o|=8;break;case"static":o|=32}if(!(8&o)){var s=void 0;r&&(s=t.getTypeAtLocation(r),32&o&&(s=t.getTypeOfSymbolAtLocation(s.symbol,n)));var c=32&o?e.emptyArray:e.flatMap(i||e.emptyArray,function(e){return t.getPropertiesOfType(t.getTypeAtLocation(e))});se=R(s?t.getPropertiesOfType(s):e.emptyArray,c,n.members,o)}}}function k(t){if(t)switch(t.kind){case 17:case 26:var n=t.parent;if(e.isObjectLiteralExpression(n)||e.isObjectBindingPattern(n))return n}}function S(e){if(e)switch(e.kind){case 17:case 26:switch(e.parent.kind){case 241:case 245:return e.parent}}}function D(t){return e.isClassElement(t.parent)&&e.isClassLike(t.parent.parent)}function T(t){return e.isParameter(t)&&e.isConstructorDeclaration(t.parent)}function E(t){return t.parent&&T(t.parent)&&(b(t.kind)||e.isDeclarationName(t))}function w(t){if(t)switch(t.kind){case 17:case 26:if(e.isClassLike(t.parent))return t.parent;break;case 25:case 18:if(e.isClassLike(ee))return ee;break;default:if(D(t)&&(y(t.kind)||v(t.getText())))return t.parent.parent}if(ee&&286===ee.kind&&e.isClassLike(ee.parent))return ee.parent}function A(t){if(t)switch(t.kind){case 19:case 26:return e.isConstructorDeclaration(t.parent)&&t.parent;default:if(E(t))return t.parent.parent}}function N(e){if(e){var t=e.parent;switch(e.kind){case 28:case 41:case 71:case 179:case 254:case 253:case 255:if(t&&(250===t.kind||251===t.kind))return t;if(253===t.kind)return t.parent.parent;break;case 9:if(t&&(253===t.kind||255===t.kind))return t.parent.parent;break;case 18:if(t&&256===t.kind&&t.parent&&253===t.parent.kind)return t.parent.parent.parent;if(t&&255===t.kind)return t.parent.parent}}}function P(t){var n=t.parent.kind;switch(t.kind){case 26:return 226===n||227===n||208===n||232===n||O(n)||230===n||175===n||231===n||e.isClassLike(t.parent)&&t.parent.typeParameters&&t.parent.typeParameters.end>=t.pos;case 23:return 175===n;case 56:return 176===n;case 21:return 175===n;case 19:return 260===n||O(n);case 17:return 232===n||230===n||163===n;case 25:return 148===n&&t.parent&&t.parent.parent&&(230===t.parent.parent.kind||163===t.parent.parent.kind);case 27:return 229===n||199===n||230===n||231===n||e.isFunctionLikeKind(n);case 115:return 149===n&&!e.isClassLike(t.parent.parent);case 24:return 146===n||t.parent&&t.parent.parent&&175===t.parent.parent.kind;case 114:case 112:case 113:return 146===n&&!e.isConstructorDeclaration(t.parent.parent);case 118:return 242===n||246===n||240===n;case 125:case 135:if(D(t))return!1;case 75:case 83:case 109:case 89:case 104:case 91:case 110:case 76:case 116:case 138:return!0}if(v(t.getText())&&D(t))return!1;if(E(t)&&(!e.isIdentifier(t)||x(t.getText())||B(t)))return!1;switch(t.getText()){case"abstract":case"async":case"class":case"const":case"declare":case"enum":case"function":case"interface":case"let":case"private":case"protected":case"public":case"static":case"var":case"yield":return!0}return e.isDeclarationName(t)&&!e.isJsxAttribute(t.parent)}function O(t){return e.isFunctionLikeKind(t)&&152!==t}function I(e){if(8===e.kind){var t=e.getFullText();return"."===t.charAt(t.length-1)}return!1}function F(t,n){for(var r=e.createUnderscoreEscapedMap(),i=0,a=n;is))for(var u=c.length-1;u>=0;u--){var l=c[u];if(t>=l.pos)return l}}}function D(t){if(!e.isToken(t))return t;switch(t.kind){case 104:case 110:case 76:return t.parent.parent;default:return t.parent}}var T;!function(e){e[e.None=0]="None",e[e.ClassElementKeywords=1]="ClassElementKeywords",e[e.ConstructorParameterKeywords=2]="ConstructorParameterKeywords"}(T||(T={})),t.getCompletionsAtPosition=n,t.getCompletionEntryDetails=f,t.getCompletionEntrySymbol=_;var E=[]}(e.Completions||(e.Completions={}))}(o||(o={}));var o;!function(e){!function(t){function n(t,n,a,s,c){var u=e.getTouchingWord(a,s,!0);if(u!==a){if(e.Debug.assert(void 0!==u.parent),e.isJsxOpeningElement(u.parent)&&u.parent.tagName===u||e.isJsxClosingElement(u.parent)){var l=u.parent.parent,d=l.openingElement,f=l.closingElement,_=[d,f].map(function(e){return r(e.tagName,a)});return[{fileName:a.fileName,highlightSpans:_}]}return i(u,t,n,c)||o(u,a)}}function r(t,n){return{fileName:n.fileName,textSpan:e.createTextSpanFromNode(t,n),kind:"none"}}function i(t,n,r,i){var o=e.FindAllReferences.getReferenceEntriesForNode(t,n,i,r);return o&&a(o)}function a(t){for(var n=e.createMap(),r=0,i=t;r=0&&!g(n,r[i],106);i--);var a=f(t.statement);return e.forEach(a,function(e){_(t,e)&&g(n,e.getFirstToken(),72,77)}),n}function b(e){var t=p(e);if(t)switch(t.kind){case 214:case 215:case 216:case 212:case 213:return v(t);case 221:return x(t)}}function x(t){var n=[];return g(n,t.getFirstToken(),98),e.forEach(t.caseBlock.clauses,function(r){g(n,r.getFirstToken(),73,79);var i=f(r);e.forEach(i,function(e){_(t,e)&&g(n,e.getFirstToken(),72)})}),n}function k(t,n){var r=[];if(g(r,t.getFirstToken(),102),t.catchClause&&g(r,t.catchClause.getFirstToken(),74),t.finallyBlock){g(r,e.findChildOfKind(t,87,n),87)}return r}function S(t){var n=d(t);if(n){var r=[];return e.forEach(l(n),function(e){g(r,e.getFirstToken(),100)}),e.isFunctionBlock(n)&&e.forEachReturnStatement(n,function(e){g(r,e.getFirstToken(),96)}),r}}function C(t){var n=e.getContainingFunction(t);if(n&&s(n.body,207)){var r=[];return e.forEachReturnStatement(n.body,function(e){g(r,e.getFirstToken(),96)}),e.forEach(l(n.body),function(e){g(r,e.getFirstToken(),100)}),r}}function D(t,n){for(var i=[];s(t.parent,211)&&t.parent.elseStatement===t;)t=t.parent;for(;t;){var a=t.getChildren();g(i,a[0],90);for(var o=a.length-1;o>=0&&!g(i,a[o],82);o--);if(!s(t.elseStatement,211))break;t=t.elseStatement}for(var c=[],o=0;o=u.end;f--)if(!e.isWhiteSpaceSingleLine(n.text.charCodeAt(f))){d=!1;break}if(d){c.push({fileName:n.fileName,textSpan:e.createTextSpanFromBounds(u.getStart(),l.end),kind:"reference"}),o++;continue}}c.push(r(i[o],n))}return c}function T(e,t){for(var n=e.parent;222===n.kind;n=n.parent)if(n.label.escapedText===t)return!0;return!1}t.getDocumentHighlights=n}(e.DocumentHighlights||(e.DocumentHighlights={}))}(o||(o={}));var o;!function(e){function t(t,n){function r(e){return"_"+e.target+"|"+e.module+"|"+e.noResolve+"|"+e.jsx+"|"+e.allowJs+"|"+e.baseUrl+"|"+JSON.stringify(e.typeRoots)+"|"+JSON.stringify(e.rootDirs)+"|"+JSON.stringify(e.paths)}function i(t,n){var r=_.get(t);return!r&&n&&_.set(t,r=e.createMap()),r}function a(){var t=e.arrayFrom(_.keys()).filter(function(e){return e&&"_"===e.charAt(0)}).map(function(e){var t=_.get(e),n=[];return t.forEach(function(e,t){n.push({name:t,refCount:e.languageServiceRefCount,references:e.owners.slice(0)})}),n.sort(function(e,t){return t.refCount-e.refCount}),{bucket:e,sourceFiles:n}});return JSON.stringify(t,void 0,2)}function o(t,i,a,o,c){return s(t,e.toPath(t,n,p),i,r(i),a,o,c)}function s(e,t,n,r,i,a,o){return l(e,t,n,r,i,a,!0,o)}function c(t,i,a,o,s){return u(t,e.toPath(t,n,p),i,r(i),a,o,s)}function u(e,t,n,r,i,a,o){return l(e,t,n,r,i,a,!1,o)}function l(t,n,r,a,o,s,c,u){var l=i(a,!0),d=l.get(n);if(d)d.sourceFile.version!==s&&(d.sourceFile=e.updateLanguageServiceSourceFile(d.sourceFile,o,s,o.getChangeRange(d.sourceFile.scriptSnapshot))),c&&d.languageServiceRefCount++;else{d={sourceFile:e.createLanguageServiceSourceFile(t,o,r.target,s,!1,u),languageServiceRefCount:1,owners:[]},l.set(n,d)}return d.sourceFile}function d(t,i){return f(e.toPath(t,n,p),r(i))}function f(t,n){var r=i(n,!1);e.Debug.assert(void 0!==r);var a=r.get(t);a.languageServiceRefCount--,e.Debug.assert(a.languageServiceRefCount>=0),0===a.languageServiceRefCount&&r.delete(t)}void 0===n&&(n="");var _=e.createMap(),p=e.createGetCanonicalFileName(!!t);return{acquireDocument:o,acquireDocumentWithKey:s,updateDocument:c,updateDocumentWithKey:u,releaseDocument:d,releaseDocumentWithKey:f,reportStats:a,getKeyForCompilationSettings:r}}e.createDocumentRegistry=t}(o||(o={}));var o;!function(e){!function(t){function n(e,t,n){var a=c(e,t,n);return function(o,c,u){var l=r(e,a,c,t,n),d=l.directImports,f=l.indirectUsers;return s({indirectUsers:f},i(d,o,c.exportKind,t,u))}}function r(t,n,r,i,o){function s(t){var n=d(t);if(n)for(var r=0,a=n;r=0&&!(c>r.end);){var u=c+s;0!==c&&e.isIdentifierPart(a.charCodeAt(c-1),5)||u!==o&&e.isIdentifierPart(a.charCodeAt(u),5)||i.push(c),c=a.indexOf(n,c+s+1)}return i}function h(n,r){for(var i=[],a=n.getSourceFile(),o=r.text,s=g(a,o,n),c=0,u=s;c0);for(var n=0,r=t;n0);for(var n=e.PatternMatchKind.camelCase,r=0,i=t;r0)return r}switch(t.kind){case 265:var i=t;return e.isExternalModule(i)?'"'+e.escapeString(e.getBaseFileName(e.removeFileExtension(e.normalizePath(i.fileName))))+'"':"";case 187:case 228:case 186:case 229:case 199:return 512&e.getModifierFlags(t)?"default":N(t);case 152:return"constructor";case 156:return"new()";case 155:return"()";case 157:return"[]";case 283:return b(t);default:return""}}function b(e){if(e.name)return e.name.text;var t=e.parent&&e.parent.parent;if(t&&208===t.kind&&t.declarationList.declarations.length>0){var n=t.declarationList.declarations[0].name;if(71===n.kind)return n.text}return""}function x(t){function n(e){if(r(e)&&(i.push(e),e.children))for(var t=0,a=e.children;t0?e.declarationNameToString(t.name):226===t.parent.kind?e.declarationNameToString(t.parent.name):194===t.parent.kind&&58===t.parent.operatorToken.kind?a(t.parent.left).replace(M,""):261===t.parent.kind&&t.parent.name?a(t.parent.name):512&e.getModifierFlags(t)?"default":e.isClassLike(t)?"":""}function P(e){return 186===e.kind||187===e.kind||199===e.kind}var O,I,F,M=/\s+/g,R=[],L=[];t.getNavigationBarItems=n,t.getNavigationTree=r}(e.NavigationBar||(e.NavigationBar={}))}(o||(o={}));var o;!function(e){!function(t){function n(t,n){function r(n,r,i,a){if(n&&r&&i){var o={textSpan:e.createTextSpanFromBounds(r.pos,i.end),hintSpan:e.createTextSpanFromNode(n,t),bannerText:l,autoCollapse:a};u.push(o)}}function i(t,n){if(t){var r={textSpan:e.createTextSpanFromBounds(t.pos,t.end),hintSpan:e.createTextSpanFromBounds(t.pos,t.end),bannerText:l,autoCollapse:n};u.push(r)}}function a(r){var a=e.getLeadingCommentRangesOfNode(r,t);if(a){for(var s=-1,c=-1,u=!0,l=0,d=0,f=a;d1){i({kind:2,pos:t,end:n},!1)}}function s(t){return e.isFunctionBlock(t)&&187!==t.parent.kind}function c(i){if(n.throwIfCancellationRequested(),!(d>f)){switch(e.isDeclaration(i)&&a(i),i.kind){case 207:if(!e.isFunctionBlock(i)){var o=i.parent,_=e.findChildOfKind(i,17,t),p=e.findChildOfKind(i,18,t);if(212===o.kind||215===o.kind||216===o.kind||214===o.kind||211===o.kind||213===o.kind||220===o.kind||260===o.kind){r(o,_,p,s(i));break}if(224===o.kind){var m=o;if(m.tryBlock===i){r(o,_,p,s(i));break}if(m.finallyBlock===i){var g=e.findChildOfKind(m,87,t);if(g){r(g,_,p,s(i));break}}}var h=e.createTextSpanFromNode(i);u.push({textSpan:h,hintSpan:h,bannerText:l,autoCollapse:s(i)});break}case 234:var _=e.findChildOfKind(i,17,t),p=e.findChildOfKind(i,18,t);r(i.parent,_,p,s(i));break;case 229:case 230:case 232:case 178:case 235:var _=e.findChildOfKind(i,17,t),p=e.findChildOfKind(i,18,t);r(i,_,p,s(i));break;case 177:r(i,e.findChildOfKind(i,21,t),e.findChildOfKind(i,22,t),s(i))}d++,e.forEachChild(i,c),d--}}var u=[],l="...",d=0,f=20;return c(t),u}t.collectElements=n}(e.OutliningElementsCollector||(e.OutliningElementsCollector={}))}(o||(o={}));var o;!function(e){function t(e,t,n,r){return{kind:e,punctuationStripped:t,isCaseSensitive:n,camelCaseWeight:r}}function n(n){function o(e){return b||!e}function c(t){if(!o(t))return p(t,e.lastOrUndefined(v))}function l(t,n){if(!o(n)){var r=p(n,e.lastOrUndefined(v));if(r&&(t=t||[],!(v.length-1>t.length))){for(var i=r,a=v.length-2,s=t.length-1;a>=0;a-=1,s-=1){var c=v[a],u=t[s],l=p(u,c);if(!l)return;e.addRange(i,l)}return i}}}function d(e){var t=y.get(e);return t||y.set(e,t=m(e)),t}function f(n,r,i){var o=s(n,r.textLowerCase);if(0===o)return r.text.length===n.length?t(x.exact,i,n===r.text):t(x.prefix,i,e.startsWith(n,r.text));var c=r.isLowerCase;if(c){if(o>0)for(var u=d(n),l=0,f=u;l0)return t(x.substring,i,!0);if(!c&&r.characterSpans.length>0){var p=d(n),m=h(n,p,r,!1);if(void 0!==m)return t(x.camelCase,i,!0,m);if(void 0!==(m=h(n,p,r,!0)))return t(x.camelCase,i,!1,m)}return c&&r.text.length0&&a(n.charCodeAt(o))?t(x.substring,i,!1):void 0}function _(e){for(var t=0;tt.length)return!1;if(r)for(var s=0;s1}}function r(e){return{totalTextChunk:_(e),subWordTextChunks:f(e)}}function i(e){return 0===e.subWordTextChunks.length}function a(t){if(t>=65&&t<=90)return!0;if(t<127||!e.isUnicodeIdentifierStart(t,5))return!1;var n=String.fromCharCode(t);return n===n.toUpperCase()}function o(t){if(t>=97&&t<=122)return!0;if(t<127||!e.isUnicodeIdentifierStart(t,5))return!1;var n=String.fromCharCode(t);return n===n.toLowerCase()}function s(e,t){for(var n=e.length-t.length,r=0;r<=n;r++)if(c(e,t,r))return r;return-1}function c(e,t,n){for(var r=0;r=65&&e<=90?e-65+97:e<127?e:String.fromCharCode(e).toLowerCase().charCodeAt(0)}function l(e){return e>=48&&e<=57}function d(e){return a(e)||o(e)||l(e)||95===e||36===e}function f(e){for(var t=[],n=0,r=0,i=0;i0&&(t.push(_(e.substr(n,r))),r=0)}return r>0&&t.push(_(e.substr(n,r))),t}function _(e){var t=e.toLowerCase();return{text:e,textLowerCase:t,isLowerCase:e===t,characterSpans:p(e)}}function p(e){return g(e,!1)}function m(e){return g(e,!0)}function g(t,n){for(var r=[],i=0,a=1;a0){if(e.some(c,o))return a(e.Diagnostics.You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library);if(71===t.kind&&79===t.originalKeywordKind&&1536&s.parent.flags)return;var u=e.stripQuotes(e.getDeclaredName(n,s,t)),l=e.SymbolDisplay.getSymbolKind(n,s,t);return l?i(u,n.getFullyQualifiedName(s),l,e.SymbolDisplay.getSymbolModifiers(s),t,r):void 0}}else if(9===t.kind){if(o(t))return a(e.Diagnostics.You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library);var u=e.stripQuotes(t.text);return i(u,u,"var","",t,r)}}function i(e,t,n,r,i,a){return{canRename:!0,kind:n,displayName:e,localizedErrorMessage:void 0,fullDisplayName:t,kindModifiers:r,triggerSpan:o(i,a)}}function a(t){return{canRename:!1,localizedErrorMessage:e.getLocaleSpecificMessage(t),displayName:void 0,fullDisplayName:void 0,kind:void 0,kindModifiers:void 0,triggerSpan:void 0}}function o(t,n){var r=t.getStart(n),i=t.getWidth(n);return 9===t.kind&&(r+=1,i-=2),e.createTextSpan(r,i)}function s(t){return 71===t.kind||9===t.kind||e.isLiteralNameOfPropertyDeclarationOrIndexAccess(t)||e.isThis(t)}t.getRenameInfo=n}(e.Rename||(e.Rename={}))}(o||(o={}));var o;!function(e){!function(t){function n(t,n,i,a){var o=t.getTypeChecker(),s=e.findTokenOnLeftOfPosition(n,i);if(s){var c=d(s,i,n);if(c){a.throwIfCancellationRequested();var u=c.invocation,l=[],f=o.getResolvedSignature(u,l,c.argumentCount);if(a.throwIfCancellationRequested(),l.length)return _(l,f,c,o);if(e.isSourceFileJavaScript(n))return r(c,t)}}}function r(e,t){if(181===e.invocation.kind){var n=e.invocation,r=n.expression,i=71===r.kind?r:179===r.kind?r.name:void 0;if(i&&i.escapedText)for(var a=t.getTypeChecker(),o=0,s=t.getSourceFiles();o0&&26===e.lastOrUndefined(n).kind&&r++,r}function s(t,n,r){return e.Debug.assert(r>=n.getStart(),"Assumed 'position' could not occur before node."),e.isTemplateLiteralKind(n.kind)?e.isInsideTemplateLiteral(n,r)?0:t+2:t+1}function c(t,n,r){var i=13===t.template.kind?1:t.template.templateSpans.length+1;return 0!==n&&e.Debug.assertLessThan(n,i),{kind:2,invocation:t,argumentsSpan:l(t,r),argumentIndex:n,argumentCount:i}}function u(t,n){var r=t.getFullStart(),i=e.skipTrivia(n.text,t.getEnd(),!1);return e.createTextSpan(r,i-r)}function l(t,n){var r=t.template,i=r.getStart(),a=r.getEnd();if(196===r.kind){0===e.lastOrUndefined(r.templateSpans).literal.getFullWidth()&&(a=e.skipTrivia(n.text,a,!1))}return e.createTextSpan(i,a-i)}function d(t,n,r){for(var a=t;265!==a.kind;a=a.parent){if(e.isFunctionBlock(a))return;(a.posa.parent.end)&&e.Debug.fail("Node of kind "+a.kind+" is not a subspan of its parent of kind "+a.parent.kind);var o=i(a,n,r);if(o)return o}}function f(t,n,r){var i=t.getChildren(r),a=i.indexOf(n);return e.Debug.assert(a>=0&&i.length>a+1),i[a+1]}function _(t,n,r,i){function a(t){var n=e.mapToDisplayParts(function(e){return i.getSymbolDisplayBuilder().buildParameterDisplay(t,e,u)});return{name:t.name,documentation:t.getDocumentationComment(),displayParts:n,isOptional:i.isOptionalParameter(t.valueDeclaration)}}function o(t){var n=e.mapToDisplayParts(function(e){return i.getSymbolDisplayBuilder().buildTypeParameterDisplay(t,e,u)});return{name:t.symbol.name,documentation:e.emptyArray,displayParts:n,isOptional:!1}}var s=r.argumentCount,c=r.argumentsSpan,u=r.invocation,l=r.argumentIndex,d=0===r.kind,f=e.getInvokedExpression(u),_=i.getSymbolAtLocation(f),p=_&&e.symbolToDisplayParts(i,_,void 0,void 0),m=e.map(t,function(t){var n,r=[],s=[];p&&e.addRange(r,p);var c;if(d){c=!1,r.push(e.punctuationPart(27));var l=(t.target||t).typeParameters;n=l&&l.length>0?e.map(l,o):e.emptyArray,s.push(e.punctuationPart(29));var f=e.mapToDisplayParts(function(e){return i.getSymbolDisplayBuilder().buildDisplayForParametersAndDelimiters(t.thisParameter,t.parameters,e,u)});e.addRange(s,f)}else{c=t.hasRestParameter;var _=e.mapToDisplayParts(function(e){return i.getSymbolDisplayBuilder().buildDisplayForTypeParametersAndDelimiters(t.typeParameters,e,u)});e.addRange(r,_),r.push(e.punctuationPart(19)),n=e.map(t.parameters,a),s.push(e.punctuationPart(20))}var m=e.mapToDisplayParts(function(e){return i.getSymbolDisplayBuilder().buildReturnTypeDisplay(t,e,u)});return e.addRange(s,m),{isVariadic:c,prefixDisplayParts:r,suffixDisplayParts:s,separatorDisplayParts:[e.punctuationPart(26),e.spacePart()],parameters:n,documentation:t.getDocumentationComment(),tags:t.getJsDocTags()}});0!==l&&e.Debug.assertLessThan(l,s);var g=t.indexOf(n);return e.Debug.assert(-1!==g),{items:m,applicableSpan:c,selectedItemIndex:g,argumentIndex:l,argumentCount:s}}!function(e){e[e.TypeArguments=0]="TypeArguments",e[e.CallArguments=1]="CallArguments",e[e.TaggedTemplateArguments=2]="TaggedTemplateArguments",e[e.JSXAttributesArguments=3]="JSXAttributesArguments"}(t.ArgumentListKind||(t.ArgumentListKind={})),t.getSignatureHelpItems=n,t.getImmediatelyContainingArgumentInfo=i,t.getContainingArgumentInfo=d}(e.SignatureHelp||(e.SignatureHelp={}))}(o||(o={}));var o;!function(e){!function(t){function n(t,n,i){var a=e.getCombinedLocalAndExportSymbolFlags(n);if(32&a)return e.getDeclarationOfKind(n,199)?"local class":"class";if(384&a)return"enum";if(524288&a)return"type";if(64&a)return"interface";if(262144&a)return"type parameter";var o=r(t,n,i);if(""===o){if(262144&a)return"type parameter";if(8&a)return"enum member";if(2097152&a)return"alias";if(1536&a)return"module"}return o}function r(t,n,r){if(t.isUndefinedSymbol(n))return"var";if(t.isArgumentsSymbol(n))return"local var";if(99===r.kind&&e.isExpression(r))return"parameter";var i=e.getCombinedLocalAndExportSymbolFlags(n);if(3&i)return e.isFirstDeclarationOfSymbolParameter(n)?"parameter":n.valueDeclaration&&e.isConst(n.valueDeclaration)?"const":e.forEach(n.declarations,e.isLet)?"let":o(n)?"local var":"var";if(16&i)return o(n)?"local function":"function";if(32768&i)return"getter";if(65536&i)return"setter";if(8192&i)return"method";if(16384&i)return"constructor";if(4&i){if(33554432&i&&6&n.checkFlags){var a=e.forEach(t.getRootSymbols(n),function(t){var n=t.getFlags();if(98311&n)return"property";e.Debug.assert(!!(8192&n))});if(!a){return t.getTypeOfSymbolAtLocation(n,r).getCallSignatures().length?"method":"property"}return a}return r.parent&&e.isJsxAttribute(r.parent)?"JSX attribute":"property"}return""}function i(t){return t&&t.declarations&&t.declarations.length>0?e.getNodeModifiers(t.declarations[0]):""}function a(t,i,a,o,s,c){function u(){b.length&&b.push(e.lineBreakPart())}function l(){b.push(e.spacePart()),b.push(e.keywordPart(92)),b.push(e.spacePart())}function d(n,r){var i=e.symbolToDisplayParts(t,n,r||a,void 0,3);e.addRange(b,i)}function f(t,n){u(),n&&(_(n),b.push(e.spacePart()),d(t))}function _(t){switch(t){case"var":case"function":case"let":case"const":case"constructor":return void b.push(e.textOrKeywordPart(t));default:return b.push(e.punctuationPart(19)),b.push(e.textOrKeywordPart(t)),void b.push(e.punctuationPart(20))}}function p(n,r,i){e.addRange(b,e.signatureToDisplayParts(t,n,o,64|i)),r.length>1&&(b.push(e.spacePart()),b.push(e.punctuationPart(19)),b.push(e.operatorPart(37)),b.push(e.displayPart((r.length-1).toString(),e.SymbolDisplayPartKind.numericLiteral)),b.push(e.spacePart()),b.push(e.textPart(2===r.length?"overload":"overloads")),b.push(e.punctuationPart(20))),g=n.getDocumentationComment(),h=n.getJsDocTags()}function m(n,r){var i=e.mapToDisplayParts(function(e){t.getSymbolDisplayBuilder().buildTypeParameterDisplayFromSymbol(n,e,r)});e.addRange(b,i)}void 0===c&&(c=e.getMeaningFromLocation(s));var g,h,y,v,b=[],x=e.getCombinedLocalAndExportSymbolFlags(i),k=r(t,i,s),S=99===s.kind&&e.isExpression(s);if(""!==k||32&x||2097152&x){"getter"!==k&&"setter"!==k||(k="property");var C=void 0;if(v=S?t.getTypeAtLocation(s):t.getTypeOfSymbolAtLocation(i.exportSymbol||i,s)){if(s.parent&&179===s.parent.kind){var D=s.parent.name;(D===s||D&&0===D.getFullWidth())&&(s=s.parent)}var T=void 0;if(e.isCallOrNewExpression(s)?T=s:e.isCallExpressionTarget(s)||e.isNewExpressionTarget(s)?T=s.parent:s.parent&&e.isJsxOpeningLikeElement(s.parent)&&e.isFunctionLike(i.valueDeclaration)&&(T=s.parent),T){var E=[];C=t.getResolvedSignature(T,E),!C&&E.length&&(C=E[0]);var w=182===T.kind||e.isCallExpression(T)&&97===T.expression.kind,A=w?v.getConstructSignatures():v.getCallSignatures();if(e.contains(A,C.target)||e.contains(A,C)||(C=A.length?A[0]:void 0),C){switch(w&&32&x?(k="constructor",f(v.symbol,k)):2097152&x?(k="alias",_(k),b.push(e.spacePart()),w&&(b.push(e.keywordPart(94)),b.push(e.spacePart())),d(i)):f(i,k),k){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":b.push(e.punctuationPart(56)),b.push(e.spacePart()),w&&(b.push(e.keywordPart(94)),b.push(e.spacePart())),32768&v.flags&&16&v.objectFlags||!v.symbol||e.addRange(b,e.symbolToDisplayParts(t,v.symbol,o,void 0,1)),p(C,A,16);break;default:p(C,A)}y=!0}}else if(e.isNameOfFunctionDeclaration(s)&&!(98304&x)||123===s.kind&&152===s.parent.kind){var N=s.parent,P=e.find(i.declarations,function(e){return e===(123===s.kind?N.parent:N)});if(P){var A=152===N.kind?v.getNonNullableType().getConstructSignatures():v.getNonNullableType().getCallSignatures();C=t.isImplementationOfOverload(N)?A[0]:t.getSignatureFromDeclaration(N),152===N.kind?(k="constructor",f(v.symbol,k)):f(155!==N.kind||2048&v.symbol.flags||4096&v.symbol.flags?i:v.symbol,k),p(C,A),y=!0}}}}if(32&x&&!y&&!S&&(e.getDeclarationOfKind(i,199)?_("local class"):b.push(e.keywordPart(75)),b.push(e.spacePart()),d(i),m(i,a)),64&x&&2&c&&(u(),b.push(e.keywordPart(109)),b.push(e.spacePart()),d(i),m(i,a)),524288&x&&(u(),b.push(e.keywordPart(138)),b.push(e.spacePart()),d(i),m(i,a),b.push(e.spacePart()),b.push(e.operatorPart(58)),b.push(e.spacePart()),e.addRange(b,e.typeToDisplayParts(t,t.getDeclaredTypeOfSymbol(i),o,1024))),384&x&&(u(),e.forEach(i.declarations,e.isConstEnumDeclaration)&&(b.push(e.keywordPart(76)),b.push(e.spacePart())),b.push(e.keywordPart(83)),b.push(e.spacePart()),d(i)),1536&x){u();var O=e.getDeclarationOfKind(i,233),I=O&&O.name&&71===O.name.kind;b.push(e.keywordPart(I?129:128)),b.push(e.spacePart()),d(i)}if(262144&x&&2&c)if(u(),b.push(e.punctuationPart(19)),b.push(e.textPart("type parameter")),b.push(e.punctuationPart(20)),b.push(e.spacePart()),d(i),i.parent)l(),d(i.parent,o),m(i.parent,o);else{var F=e.getDeclarationOfKind(i,145);e.Debug.assert(void 0!==F);var O=F.parent;if(O)if(e.isFunctionLikeKind(O.kind)){l();var C=t.getSignatureFromDeclaration(O);156===O.kind?(b.push(e.keywordPart(94)),b.push(e.spacePart())):155!==O.kind&&O.name&&d(O.symbol),e.addRange(b,e.signatureToDisplayParts(t,C,a,64))}else 231===O.kind&&(l(),b.push(e.keywordPart(138)),b.push(e.spacePart()),d(O.symbol),m(O.symbol,a))}if(8&x){k="enum member",f(i,"enum member");var O=i.declarations[0];if(264===O.kind){var M=t.getConstantValue(O);void 0!==M&&(b.push(e.spacePart()),b.push(e.operatorPart(58)),b.push(e.spacePart()),b.push(e.displayPart(e.getTextOfConstantValue(M),"number"==typeof M?e.SymbolDisplayPartKind.numericLiteral:e.SymbolDisplayPartKind.stringLiteral)))}}if(2097152&x&&(u(),236===i.declarations[0].kind?(b.push(e.keywordPart(84)),b.push(e.spacePart()),b.push(e.keywordPart(129))):b.push(e.keywordPart(91)),b.push(e.spacePart()),d(i),e.forEach(i.declarations,function(n){if(237===n.kind){var r=n;if(e.isExternalModuleImportEqualsDeclaration(r))b.push(e.spacePart()),b.push(e.operatorPart(58)),b.push(e.spacePart()),b.push(e.keywordPart(132)),b.push(e.punctuationPart(19)),b.push(e.displayPart(e.getTextOfNode(e.getExternalModuleImportEqualsDeclarationExpression(r)),e.SymbolDisplayPartKind.stringLiteral)),b.push(e.punctuationPart(20));else{var i=t.getSymbolAtLocation(r.moduleReference);i&&(b.push(e.spacePart()),b.push(e.operatorPart(58)),b.push(e.spacePart()),d(i,o))}return!0}})),!y)if(""!==k){if(v)if(S?(u(),b.push(e.keywordPart(99))):f(i,k),"property"===k||"JSX attribute"===k||3&x||"local var"===k||S)if(b.push(e.punctuationPart(56)),b.push(e.spacePart()),v.symbol&&262144&v.symbol.flags){var R=e.mapToDisplayParts(function(e){t.getSymbolDisplayBuilder().buildTypeParameterDisplay(v,e,o)});e.addRange(b,R)}else e.addRange(b,e.typeToDisplayParts(t,v,o));else if(16&x||8192&x||16384&x||131072&x||98304&x||"method"===k){var A=v.getNonNullableType().getCallSignatures();p(A[0],A)}}else k=n(t,i,s);if(!g&&(g=i.getDocumentationComment(),h=i.getJsDocTags(),0===g.length&&4&x&&i.parent&&e.forEach(i.parent.declarations,function(e){return 265===e.kind})))for(var L=0,B=i.declarations;L0))break}}return{displayParts:b,documentation:g,symbolKind:k,tags:h}}function o(t){return!t.parent&&e.forEach(t.declarations,function(t){if(186===t.kind)return!0;if(226!==t.kind&&228!==t.kind)return!1;for(var n=t.parent;!e.isFunctionBlock(n);n=n.parent)if(265===n.kind||234===n.kind)return!1;return!0})}t.getSymbolKind=n,t.getSymbolModifiers=i,t.getSymbolDisplayPartsDocumentationAndSymbolKind=a}(e.SymbolDisplay||(e.SymbolDisplay={}))}(o||(o={}));var o;!function(e){function t(t,n){var i=[],a=n.compilerOptions?r(n.compilerOptions,i):e.getDefaultCompilerOptions();a.isolatedModules=!0,a.suppressOutputPathCheck=!0,a.allowNonTsExtensions=!0,a.noLib=!0,a.lib=void 0,a.types=void 0,a.noEmit=void 0,a.noEmitOnError=void 0,a.paths=void 0,a.rootDirs=void 0,a.declaration=void 0,a.declarationDir=void 0,a.out=void 0,a.outFile=void 0,a.noResolve=!0;var o=n.fileName||(a.jsx?"module.tsx":"module.ts"),s=e.createSourceFile(o,t,a.target);n.moduleName&&(s.moduleName=n.moduleName),n.renamedDependencies&&(s.renamedDependencies=e.createMapFromTemplate(n.renamedDependencies));var c,u,l=e.getNewLineCharacter(a),d={getSourceFile:function(t){return t===e.normalizePath(o)?s:void 0},writeFile:function(t,n){e.fileExtensionIs(t,".map")?(e.Debug.assertEqual(u,void 0,"Unexpected multiple source map outputs, file:",t),u=n):(e.Debug.assertEqual(c,void 0,"Unexpected multiple outputs, file:",t),c=n)},getDefaultLibFileName:function(){return"lib.d.ts"},useCaseSensitiveFileNames:function(){return!1},getCanonicalFileName:function(e){return e},getCurrentDirectory:function(){return""},getNewLine:function(){return l},fileExists:function(e){return e===o},readFile:function(){return""},directoryExists:function(){return!0},getDirectories:function(){return[]}},f=e.createProgram([o],a,d);return n.reportDiagnostics&&(e.addRange(i,f.getSyntacticDiagnostics(s)),e.addRange(i,f.getOptionsDiagnostics())),f.emit(void 0,void 0,void 0,void 0,n.transformers),e.Debug.assert(void 0!==c,"Output generation failed"),{outputText:c,diagnostics:i,sourceMapText:u}}function n(n,r,i,a,o){var s=t(n,{compilerOptions:r,fileName:i,reportDiagnostics:!!a,moduleName:o});return e.addRange(a,s.diagnostics),s.outputText}function r(t,n){i=i||e.filter(e.optionDeclarations,function(t){return"object"==typeof t.type&&!e.forEachEntry(t.type,function(e){return"number"!=typeof e})}),t=e.cloneCompilerOptions(t);for(var r=0,a=i;r>=5,n+=5;return t},t.prototype.IncreaseInsertionIndex=function(t){var n=this.rulesInsertionIndexBitmap>>t&31;n++,e.Debug.assert((31&n)===n,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules.");var r=this.rulesInsertionIndexBitmap&~(31<=0},e.prototype.isSpecific=function(){return!0},e}(),a=function(){function e(e){this.token=e}return e.prototype.GetTokens=function(){return[this.token]},e.prototype.Contains=function(e){return e===this.token},e.prototype.isSpecific=function(){return!0},e}(),o=function(){function e(){}return e.prototype.GetTokens=function(){return n},e.prototype.Contains=function(){return!0},e.prototype.toString=function(){return"[allTokens]"},e.prototype.isSpecific=function(){return!1},e}(),s=function(){function e(e){this.except=e}return e.prototype.GetTokens=function(){var e=this;return n.filter(function(t){return t!==e.except})},e.prototype.Contains=function(e){return e!==this.except},e.prototype.isSpecific=function(){return!1},e}();!function(t){function r(e){return new a(e)}function c(e){return new i(e)}function u(t,n,r){void 0===r&&(r=[]);for(var a=[],o=t;o<=n;o++)e.indexOf(r,o)<0&&a.push(o);return new i(a)}function l(e){return new s(e)}t.FromToken=r,t.FromTokens=c,t.FromRange=u,t.AnyExcept=l,t.Any=new o,t.AnyIncludingMultilineComments=t.FromTokens(n.concat([3])),t.Keywords=t.FromRange(72,142),t.BinaryOperators=t.FromRange(27,70),t.BinaryKeywordOperators=t.FromTokens([92,93,142,118,126]),t.UnaryPrefixOperators=t.FromTokens([43,44,52,51]),t.UnaryPrefixExpressions=t.FromTokens([8,71,19,21,17,99,94]),t.UnaryPreincrementExpressions=t.FromTokens([71,19,99,94]),t.UnaryPostincrementExpressions=t.FromTokens([71,20,22,94]),t.UnaryPredecrementExpressions=t.FromTokens([71,19,99,94]),t.UnaryPostdecrementExpressions=t.FromTokens([71,20,22,94]),t.Comments=t.FromTokens([2,3]),t.TypeNames=t.FromTokens([71,133,136,122,137,105,119])}(t.TokenRange||(t.TokenRange={}))}(t.Shared||(t.Shared={}))}(e.formatting||(e.formatting={}))}(o||(o={}));var o;!function(e){!function(t){var n=function(){function n(){this.globalRules=new t.Rules;var e=this.globalRules.HighPriorityCommonRules.slice(0).concat(this.globalRules.UserConfigurableRules).concat(this.globalRules.LowPriorityCommonRules);this.rulesMap=t.RulesMap.create(e)}return n.prototype.getRuleName=function(e){return this.globalRules.getRuleName(e)},n.prototype.getRuleByName=function(e){return this.globalRules[e]},n.prototype.getRulesMap=function(){return this.rulesMap},n.prototype.getFormatOptions=function(){return this.options},n.prototype.ensureUpToDate=function(t){this.options&&e.compareDataObjects(this.options,t)||(this.options=e.clone(t))},n}();t.RulesProvider=n}(e.formatting||(e.formatting={}))}(o||(o={}));var o;!function(e){!function(t){function n(t,n,r,i){var a=n.getLineAndCharacterOfPosition(t).line;if(0===a)return[];for(var o=e.getEndLinePosition(a,n);e.isWhiteSpaceSingleLine(n.text.charCodeAt(o));)o--;return e.isLineBreak(n.text.charCodeAt(o))&&o--,h({pos:e.getStartPositionOfLine(a-1,n),end:o+1},n,i,r,2)}function r(e,t,n,r){return g(u(c(e,25,t)),t,r,n,3)}function i(t,n,r,i){var a=c(t,17,n);if(!a)return[];var o=a.parent,s=u(o);return h({pos:e.getLineStartPositionForPosition(s.getStart(n),n),end:t},n,i,r,4)}function a(e,t,n,r){return g(u(c(e,18,t)),t,r,n,5)}function o(e,t,n){return h({pos:0,end:e.text.length},e,n,t,0)}function s(t,n,r,i,a){return h({pos:e.getLineStartPositionForPosition(t,r),end:n},r,a,i,1)}function c(t,n,r){var i=e.findPrecedingToken(t,r);return i&&i.kind===n&&t===i.getEnd()?i:void 0}function u(e){for(var t=e;t&&t.parent&&t.parent.end===e.end&&!l(t.parent,t);)t=t.parent;return t}function l(t,n){switch(t.kind){case 229:case 230:return e.rangeContainsRange(t.members,n);case 233:var r=t.body;return r&&234===r.kind&&e.rangeContainsRange(r.statements,n);case 265:case 207:case 234:return e.rangeContainsRange(t.statements,n);case 260:return e.rangeContainsRange(t.block.statements,n)}return!1}function d(t,n){function r(i){var a=e.forEachChild(i,function(r){return e.startEndContainsRange(r.getStart(n),r.end,t)&&r});if(a){var o=r(a);if(o)return o}return i}return r(n)}function f(t,n){function r(){return!1}if(!t.length)return r;var i=t.filter(function(t){return e.rangeOverlapsWithStartEnd(n,t.start,t.start+t.length)}).sort(function(e,t){return e.start-t.start});if(!i.length)return r;var a=0;return function(t){for(;;){if(a>=i.length)return!1;var n=i[a];if(t.end<=n.start)return!1;if(e.startEndOverlapsWithStartEnd(t.pos,t.end,n.start,n.start+n.length))return!0;a++}}}function _(t,n,r){var i=t.getStart(r);if(i===n.pos&&t.end===n.end)return i;var a=e.findPrecedingToken(n.pos,r);return a?a.end>=n.pos?t.pos:a.end:t.pos}function p(e,n,r){for(var i,a=-1;e;){var o=r.getLineAndCharacterOfPosition(e.getStart(r)).line;if(-1!==a&&o!==a)break;if(t.SmartIndenter.shouldIndentChildNode(e,i))return n.indentSize;a=o,i=e,e=e.parent}return 0}function m(e,n,r,i,a,o){var s={pos:0,end:n.text.length};return y(s,e,i,a,t.getFormattingScanner(n.text,r,s.pos,s.end),o.getFormatOptions(),o,1,function(e){return!1},n)}function g(t,n,r,i,a){return t?h({pos:e.getLineStartPositionForPosition(t.getStart(n),n),end:t.end},n,r,i,a):[]}function h(e,n,r,i,a){var o=d(e,n);return y(e,o,t.SmartIndenter.getIndentationForNode(o,e,n,r),p(o,r,n),t.getFormattingScanner(n.text,n.languageVariant,_(o,e,n),e.end),r,i,a,f(n.parseDiagnostics,e),n)}function y(n,r,i,a,o,s,c,u,l,d){function f(n,r,i,a,o){if(e.rangeOverlapsWithStartEnd(a,n,r)||e.rangeContainsStartEnd(a,n,r)){if(-1!==o)return o}else{var c=d.getLineAndCharacterOfPosition(n).line,u=e.getLineStartPositionForPosition(n,d),l=t.SmartIndenter.findFirstNonWhitespaceColumn(u,n,d,s);if(c!==i||n===l){var f=t.SmartIndenter.getBaseIndentation(s);return f>l?f:l}}return-1}function _(e,n,r,i,a,o){var c=r,u=t.SmartIndenter.shouldIndentChildNode(e)?s.indentSize:0;return o===n?(c=n===L?B:a.getIndentation(),u=Math.min(s.indentSize,a.getDelta(e)+u)):-1===c&&(c=t.SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement(i,e,n,d)?a.getIndentation():a.getIndentation()+a.getDelta(e)),{indentation:c,delta:u}}function p(t){if(t.modifiers&&t.modifiers.length)return t.modifiers[0].kind;switch(t.kind){case 229:return 75;case 230:return 109;case 228:return 89;case 232:return 232;case 153:return 125;case 154:return 135;case 151:if(t.asteriskToken)return 39;case 149:case 146:return e.getNameOfDeclaration(t).kind}}function m(e,n,r,i){function a(n,r){return t.SmartIndenter.nodeWillIndentChild(e,r,!0)?n:0}return{getIndentationForComment:function(e,t,n){switch(e){case 18:case 22:case 20:return r+a(i,n)}return-1!==t?t:r},getIndentationForToken:function(t,o,s){if(n!==t&&e.decorators&&o===p(e))return r;switch(o){case 17:case 18:case 19:case 20:case 82:case 106:case 57:return r;case 41:case 29:if(251===s.kind||252===s.kind||250===s.kind)return r;break;case 21:case 22:if(172!==s.kind)return r}return n!==t?r+a(i,s):r},getIndentation:function(){return r},getDelta:function(e){return a(i,e)},recomputeIndentation:function(n){e.parent&&t.SmartIndenter.shouldIndentChildNode(e.parent,e)&&(n?r+=s.indentSize:r-=s.indentSize,i=t.SmartIndenter.shouldIndentChildNode(e)?s.indentSize:0)}}}function g(t,r,i,a,s,c){function u(r,i,a,s,c,u,l,p){var m=r.getStart(d),h=d.getLineAndCharacterOfPosition(m).line,y=h;r.decorators&&(y=d.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(r,d)).line);var v=-1;if(l&&-1!==(v=f(m,r.end,c,n,i))&&(i=v),!e.rangeOverlapsWithStartEnd(n,r.pos,r.end))return r.endm)break;x(b,t,s,t)}if(!o.isOnToken())return i;if(e.isToken(r)&&10!==r.kind){var b=o.readTokenInfo(r);return e.Debug.assert(b.token.end===r.end,"Token end is child end"),x(b,t,s,r),i}var k=147===r.kind?h:u,S=_(r,h,v,t,s,k);return g(r,C,h,y,S.indentation,S.delta),C=t,p&&177===a.kind&&-1===i&&(i=S.indentation),i}function p(n,r,i,a){e.Debug.assert(e.isNodeArray(n));var s=v(r,n),c=b(s),l=a,f=i;if(0!==s)for(;o.isOnToken();){var p=o.readTokenInfo(r);if(p.token.end>n.pos)break;if(p.token.kind===s){f=d.getLineAndCharacterOfPosition(p.token.pos).line;var g=_(p.token,f,-1,r,a,i);l=m(r,i,g.indentation,g.delta),x(p,r,l,r)}else x(p,r,a,r)}for(var h=-1,y=0;yt.end)break;x(D,t,k,t)}}}function h(t,r,i,a){for(var o=0,s=t;o0){var k=x(b,s);P(y,v.character,k)}else N(y,v.character)}}}function E(t,n,r){for(var i=t;io)){var s=w(a,o);-1!==s&&(e.Debug.assert(s===a||!e.isWhiteSpaceSingleLine(d.text.charCodeAt(s-1))),N(s,o+1-s))}}}function w(t,n){for(var r=n;r>=t&&e.isWhiteSpaceSingleLine(d.text.charCodeAt(r));)r--;return r!==n?r+1:-1}function A(t,n,r){return{span:e.createTextSpan(t,n),newText:r}}function N(e,t){t&&z.push(A(e,t,""))}function P(e,t,n){(t||n)&&z.push(A(e,t,n))}function O(e,t,n,r,i){switch(e.Operation.Action){case 1:return;case 8:t.end!==r.pos&&N(t.end,r.pos-t.end);break;case 4:if(1!==e.Flag&&n!==i)return;1!==i-n&&P(t.end,r.pos-t.end,s.newLineCharacter);break;case 2:if(1!==e.Flag&&n!==i)return;1===r.pos-t.end&&32===d.text.charCodeAt(t.end)||P(t.end,r.pos-t.end," ")}}var I,F,M,R,L,B,j=new t.FormattingContext(d,u,s),z=[];if(o.advance(),o.isOnToken()){var U=d.getLineAndCharacterOfPosition(r.getStart(d)).line,J=U;r.decorators&&(J=d.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(r,d)).line),g(r,r,U,J,i,a)}if(!o.isOnToken()){var K=o.getCurrentLeadingTrivia();K&&(h(K,r,r,void 0),function(){var e=F?F.end:n.pos;E(d.getLineAndCharacterOfPosition(e).line,d.getLineAndCharacterOfPosition(n.end).line+1,F)}())}return o.close(),z}function v(e,t){switch(e.kind){case 152:case 228:case 186:case 151:case 150:case 187:if(e.typeParameters===t)return 27;if(e.parameters===t)return 19;break;case 181:case 182:if(e.typeArguments===t)return 27;if(e.arguments===t)return 19;break;case 159:if(e.typeArguments===t)return 27}return 0}function b(e){switch(e){case 19:return 20;case 27:return 29}return 0}function x(e,t){function n(e,t){for(var n="",r=0;rr.text.length)return i(o);if(o.indentStyle===e.IndentStyle.None)return 0;var d=e.findPrecedingToken(n,r);if(!d)return i(o);if(e.isStringOrRegularExpressionOrTemplateLiteral(d.kind)&&d.getStart(r)<=n&&d.end>n)return 0;var f=r.getLineAndCharacterOfPosition(n).line;if(o.indentStyle===e.IndentStyle.Block){for(var _=n;_>0;){var g=r.text.charCodeAt(_);if(!e.isWhiteSpaceLike(g))break;_--}var h=e.getLineStartPositionForPosition(_,r);return t.findFirstNonWhitespaceColumn(h,_,r,o)}if(26===d.kind&&194!==d.parent.kind){var y=s(d,r,o);if(-1!==y)return y}for(var v,b,x,S=d;S;){if(e.positionBelongsToNode(S,n,r)&&k(S,v)){b=l(S,r);var C=u(d,S,f,r);x=0!==C?c&&2===C?o.indentSize:0:f!==b.line?o.indentSize:0;break}var y=p(S,r,o);if(-1!==y)return y;if(-1!==(y=m(S,r,o)))return y+o.indentSize;v=S,S=S.parent}return S?a(S,b,void 0,x,r,o):i(o)}function r(e,t,n,r){return a(e,n.getLineAndCharacterOfPosition(e.getStart(n)),t,0,n,r)}function i(e){return e.baseIndentSize||0}function a(e,t,n,r,a,s){for(var u,l=e.parent;l;){var f=!0;if(n){var _=e.getStart(a);f=_n.end}if(f){var g=p(e,a,s);if(-1!==g)return g+r}u=o(l,e,a);var h=u.line===t.line||d(l,e,t.line,a);if(f){var g=c(e,l,t,h,a,s);if(-1!==g)return g+r;if(-1!==(g=m(e,a,s)))return g+r}k(l,e)&&!h&&(r+=s.indentSize),e=l,t=u,l=e.parent}return r+i(s)}function o(e,t,n){var r=_(t,n);return r?n.getLineAndCharacterOfPosition(r.pos):n.getLineAndCharacterOfPosition(e.getStart(n))}function s(t,n,r){var i=e.findListItemInfo(t);return i&&i.listItemIndex>0?g(i.list.getChildren(),i.listItemIndex-1,n,r):-1}function c(t,n,r,i,a,o){return!e.isDeclaration(t)&&!e.isStatementButNotDeclaration(t)||265!==n.kind&&i?-1:h(r,a,o)}function u(t,n,r,i){var a=e.findNextToken(t,n);if(!a)return 0;if(17===a.kind)return 1;if(18===a.kind){return r===l(a,i).line?2:0}return 0}function l(e,t){return t.getLineAndCharacterOfPosition(e.getStart(t))}function d(t,n,r,i){if(211===t.kind&&t.elseStatement===n){var a=e.findChildOfKind(t,82,i);e.Debug.assert(void 0!==a);return l(a,i).line===r}return!1}function f(t,n,r){return t&&e.rangeContainsStartEnd(t,n,r)?t:void 0}function _(e,t){if(e.parent)switch(e.parent.kind){case 159:return f(e.parent.typeArguments,e.getStart(t),e.getEnd());case 178:return e.parent.properties;case 177:return e.parent.elements;case 228:case 186:case 187:case 151:case 150:case 155:case 152:case 161:case 156:var n=e.getStart(t);return f(e.parent.typeParameters,n,e.getEnd())||f(e.parent.parameters,n,e.getEnd());case 229:return f(e.parent.typeParameters,e.getStart(t),e.getEnd());case 182:case 181:var n=e.getStart(t);return f(e.parent.typeArguments,n,e.getEnd())||f(e.parent.arguments,n,e.getEnd());case 227:return f(e.parent.declarations,e.getStart(t),e.getEnd());case 241:case 245:return f(e.parent.elements,e.getStart(t),e.getEnd())}}function p(t,n,r){var i=_(t,n);return i?function(i){var a=e.indexOf(i,t);return-1!==a?g(i,a,n,r):-1}(i):-1}function m(t,n,r){if(20===t.kind)return-1;if(t.parent&&e.isCallOrNewExpression(t.parent)&&t.parent.expression!==t){var i=t.parent.expression,a=function(e){for(;;)switch(e.kind){case 181:case 182:case 179:case 180:e=e.expression;break;default:return e}}(i);if(i===a)return-1;var o=n.getLineAndCharacterOfPosition(i.end),s=n.getLineAndCharacterOfPosition(a.end);return o.line===s.line?-1:h(o,n,r)}return-1}function g(t,n,r,i){e.Debug.assert(n>=0&&n=0;s--)if(26!==t[s].kind){var c=r.getLineAndCharacterOfPosition(t[s].end).line;if(c!==o.line)return h(o,r,i);o=l(t[s],r)}return-1}function h(e,t,n){var r=t.getPositionOfLineAndCharacter(e.line,0);return v(r,r+e.character,t,n)}function y(t,n,r,i){for(var a=0,o=0,s=t;s=0;r--){var i=n[r];t=""+t.substring(0,i.span.start)+i.newText+t.substring(e.textSpanEnd(i.span))}return t}function h(t){return e.skipTrivia(t,0)===t.length}function y(t){var r=e.visitEachChild(t,y,e.nullTransformationContext,v,y),a=e.nodeIsSynthesized(r)?r:Object.create(r);return a.pos=n(t),a.end=i(t),a}function v(t,r,a,o,s){var c=e.visitNodes(t,r,a,o,s);if(!c)return c;var u=c===t?e.createNodeArray(c.slice(0)):c;return u.pos=n(t),u.end=i(t),u}var b;!function(e){e[e.FullStart=0]="FullStart",e[e.Start=1]="Start"}(b=t.Position||(t.Position={}));var x;!function(e){e[e.Remove=0]="Remove",e[e.ReplaceWithSingleNode=1]="ReplaceWithSingleNode",e[e.ReplaceWithMultipleNodes=2]="ReplaceWithMultipleNodes"}(x||(x={})),t.getSeparatorCharacter=c,t.getAdjustedStartPosition=u,t.getAdjustedEndPosition=l;var k=function(){function t(t,n,r){this.newLine=t,this.rulesProvider=n,this.validator=r,this.changes=[],this.newLineCharacter=e.getNewLineCharacter({newLine:t})}return t.fromCodeFixContext=function(e){return new t(_(e),e.rulesProvider)},t.prototype.deleteRange=function(e,t){return this.changes.push({kind:x.Remove,sourceFile:e,range:t}),this},t.prototype.deleteNode=function(e,t,n){void 0===n&&(n={});var r=u(e,t,n,b.FullStart),i=l(e,t,n);return this.changes.push({kind:x.Remove,sourceFile:e,range:{pos:r,end:i}}),this},t.prototype.deleteNodeRange=function(e,t,n,r){void 0===r&&(r={});var i=u(e,t,r,b.FullStart),a=l(e,n,r);return this.changes.push({kind:x.Remove,sourceFile:e,range:{pos:i,end:a}}),this},t.prototype.deleteNodeInList=function(t,n){var r=e.formatting.SmartIndenter.getContainingList(n,t);if(!r)return e.Debug.fail("node is not a list element"),this;var i=r.indexOf(n);if(i<0)return this;if(1===r.length)return this.deleteNode(t,n),this;if(i!==r.length-1){var a=e.getTokenAtPosition(t,n.end,!1);if(a&&d(n,a)){var o=e.skipTrivia(t.text,u(t,n,{},b.FullStart),!1,!0),s=r[i+1],c=e.skipTrivia(t.text,u(t,s,{},b.FullStart),!1,!0);this.deleteRange(t,{pos:o,end:c})}}else{var l=e.getTokenAtPosition(t,r[i-1].end,!1);l&&d(n,l)&&this.deleteNodeRange(t,l,n)}return this},t.prototype.replaceRange=function(e,t,n,r){return void 0===r&&(r={}),this.changes.push({kind:x.ReplaceWithSingleNode,sourceFile:e,range:t,options:r,node:n}),this},t.prototype.replaceNode=function(e,t,n,r){void 0===r&&(r={});var i=u(e,t,r,b.Start),a=l(e,t,r);return this.replaceWithSingle(e,i,a,n,r)},t.prototype.replaceNodeRange=function(e,t,n,r,i){void 0===i&&(i={});var a=u(e,t,i,b.Start),o=l(e,n,i);return this.replaceWithSingle(e,a,o,r,i)},t.prototype.replaceWithSingle=function(e,t,n,r,i){return this.changes.push({kind:x.ReplaceWithSingleNode,sourceFile:e,options:i,node:r,range:{pos:t,end:n}}),this},t.prototype.replaceWithMultiple=function(e,t,n,r,i){return this.changes.push({kind:x.ReplaceWithMultipleNodes,sourceFile:e,options:i,nodes:r,range:{pos:t,end:n}}),this},t.prototype.replaceNodeWithNodes=function(e,t,n,r){var i=u(e,t,r,b.Start),a=l(e,t,r);return this.replaceWithMultiple(e,i,a,n,r)},t.prototype.replaceNodesWithNodes=function(t,n,r,i){var a=u(t,n[0],i,b.Start),o=l(t,e.lastOrUndefined(n),i);return this.replaceWithMultiple(t,a,o,r,i)},t.prototype.replaceRangeWithNodes=function(e,t,n,r){return this.replaceWithMultiple(e,t.pos,t.end,n,r)},t.prototype.replaceNodeRangeWithNodes=function(e,t,n,r,i){var a=u(e,t,i,b.Start),o=l(e,n,i);return this.replaceWithMultiple(e,a,o,r,i)},t.prototype.insertNodeAt=function(e,t,n,r){return void 0===r&&(r={}),this.changes.push({kind:x.ReplaceWithSingleNode,sourceFile:e,options:r,node:n,range:{pos:t,end:t}}),this},t.prototype.insertNodeBefore=function(e,t,n,r){void 0===r&&(r={});var i=u(e,t,r,b.Start);return this.replaceWithSingle(e,i,i,n,r)},t.prototype.insertNodeAfter=function(t,n,r,i){void 0===i&&(i={}),(e.isStatementButNotDeclaration(n)||149===n.kind||148===n.kind||150===n.kind)&&59!==t.text.charCodeAt(n.end-1)&&this.changes.push({kind:x.ReplaceWithSingleNode,sourceFile:t,options:{},range:{pos:n.end,end:n.end},node:e.createToken(25)});var a=l(t,n,i);return this.replaceWithSingle(t,a,a,r,i)},t.prototype.insertNodeInListAfter=function(t,n,r){var i=e.formatting.SmartIndenter.getContainingList(n,t);if(!i)return e.Debug.fail("node is not a list element"),this;var a=i.indexOf(n);if(a<0)return this;var c=n.getEnd();if(a!==i.length-1){var u=e.getTokenAtPosition(t,n.end,!1);if(u&&d(n,u)){var l=e.getLineAndCharacterOfPosition(t,o(t.text,i[a+1].getFullStart())),_=e.getLineAndCharacterOfPosition(t,u.end),p=void 0,m=void 0;_.line===l.line?(m=u.end,p=f(l.character-_.character)):m=e.getStartPositionOfLine(l.line,t),this.changes.push({kind:x.ReplaceWithSingleNode,sourceFile:t,range:{pos:m,end:i[a+1].getStart(t)},node:r,options:{prefix:p,suffix:""+e.tokenToString(u.kind)+t.text.substring(u.end,i[a+1].getStart(t))}})}}else{var g=n.getStart(t),h=e.getLineStartPositionForPosition(g,t),y=void 0,v=!1;if(1===i.length)y=26;else{var b=e.findPrecedingToken(n.pos,t);y=d(n,b)?b.kind:26;v=e.getLineStartPositionForPosition(i[a-1].getStart(t),t)!==h}if(s(t.text,n.end)&&(v=!0),v){this.changes.push({kind:x.ReplaceWithSingleNode,sourceFile:t,range:{pos:c,end:c},node:e.createToken(y),options:{}});var k=e.formatting.SmartIndenter.findFirstNonWhitespaceColumn(h,g,t,this.rulesProvider.getFormatOptions()),S=e.skipTrivia(t.text,c,!0,!1);S!==c&&e.isLineBreak(t.text.charCodeAt(S-1))&&S--,this.changes.push({kind:x.ReplaceWithSingleNode,sourceFile:t,range:{pos:S,end:S},node:r,options:{indentation:k,prefix:this.newLineCharacter}})}else this.changes.push({kind:x.ReplaceWithSingleNode,sourceFile:t,range:{pos:c,end:c},node:r,options:{prefix:e.tokenToString(y)+" "}})}return this},t.prototype.getChanges=function(){for(var n=this,r=e.createMap(),i=0,a=this.changes;i0&&(r=r.concat(n))}),r}var a=[];t.registerCodeFix=n,t.getSupportedErrorCodes=r,t.getFixes=i}(e.codefix||(e.codefix={}))}(o||(o={}));var o;!function(e){!function(t){function n(e){a.set(e.name,e)}function r(t){return e.flatMapIter(a.values(),function(e){return t.cancellationToken&&t.cancellationToken.isCancellationRequested()?[]:e.getAvailableActions(t)})}function i(e,t,n){var r=a.get(t);return r&&r.getEditsForAction(e,n)}var a=e.createMap();t.registerRefactor=n,t.getApplicableRefactors=r,t.getEditsForRefactor=i}(e.refactor||(e.refactor={}))}(o||(o={}));var o;!function(e){!function(t){t.registerCodeFix({errorCodes:[e.Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1.code],getCodeActions:function(t){var n=t.sourceFile,r=e.getTokenAtPosition(n,t.span.start,!1),i=e.getAncestor(r,143);if(e.Debug.assert(!!i,"Expected position to be owned by a qualified name."),e.isIdentifier(i.left)){var a=i.left.getText(n),o=i.right.getText(n),s=e.createIndexedAccessTypeNode(e.createTypeReferenceNode(i.left,void 0),e.createLiteralTypeNode(e.createLiteral(o))),c=e.textChanges.ChangeTracker.fromCodeFixContext(t);return c.replaceNode(n,i,s),[{description:e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Rewrite_as_the_indexed_access_type_0),[a+'["'+o+'"]']),changes:c.getChanges()}]}}})}(e.codefix||(e.codefix={}))}(o||(o={}));var o;!function(e){!function(t){function n(n){function r(e,t,n,r){if(!n){var i=s.getIndexInfoOfType(e,t);if(i){var a=s.indexInfoToIndexSignatureDeclaration(i,t,c);r.push(a)}}}var i=n.sourceFile,a=n.span.start,o=e.getTokenAtPosition(i,a,!1),s=n.program.getTypeChecker(),c=e.getContainingClass(o);if(c){for(var u=e.getOpenBraceOfClassLike(c,i),l=s.getTypeAtLocation(c),d=e.getClassImplementsHeritageClauseElements(c),f=!!s.getIndexTypeOfType(l,1),_=!!s.getIndexTypeOfType(l,0),p=[],m=0,g=d;m0&&function(e,r,i){e.push({description:i,changes:t.newNodesToChanges(r,u,n)})}(p,x,k)}return p}}t.registerCodeFix({errorCodes:[e.Diagnostics.Class_0_incorrectly_implements_interface_1.code],getCodeActions:n})}(e.codefix||(e.codefix={}))}(o||(o={}));var o;!function(e){!function(t){function n(n){function r(r){if(181===o.parent.parent.kind){var i=o.parent.parent,a=t.createMethodFromCallExpression(i,c,r,u),s=e.textChanges.ChangeTracker.fromCodeFixContext(n);return s.insertNodeAfter(m,g,a,{suffix:n.newLineCharacter}),{description:e.formatStringFromArgs(e.getLocaleSpecificMessage(u?e.Diagnostics.Declare_method_0:e.Diagnostics.Declare_static_method_0),[c]),changes:s.getChanges()}}}var i=n.sourceFile,a=n.span.start,o=e.getTokenAtPosition(i,a,!1);if(71===o.kind&&e.isPropertyAccessExpression(o.parent)){var s,c=o.getText(i),u=!1;if(99===o.parent.expression.kind){var l=e.getThisContainer(o,!1);if(!e.isClassElement(l))return;s=l.parent,u=s&&e.hasModifier(l,32)}else{var d=n.program.getTypeChecker(),f=o.parent.expression,_=d.getTypeAtLocation(f);if(32768&_.flags){var p=_.symbol;32&p.flags&&(s=p.declarations&&p.declarations[0],_!==d.getDeclaredTypeOfSymbol(p)&&(u=!0))}}if(s&&e.isClassLike(s)){var m=e.getSourceFileOfNode(s),g=e.getOpenBraceOfClassLike(s,m);return e.isInJavaScriptFile(m)?function(t,i){var a,o=r(!1);if(o&&(a=[o]),i){if(199===t.kind)return a;var s=t.name.getText(),u=e.createStatement(e.createAssignment(e.createPropertyAccess(e.createIdentifier(s),c),e.createIdentifier("undefined"))),l=e.textChanges.ChangeTracker.fromCodeFixContext(n);l.insertNodeAfter(m,t,u,{suffix:n.newLineCharacter});var d={description:e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Initialize_static_property_0),[c]),changes:l.getChanges()};return(a||(a=[])).push(d),a}var f=e.getFirstConstructorWithBody(t);if(!f)return a;var _=e.createStatement(e.createAssignment(e.createPropertyAccess(e.createThis(),c),e.createIdentifier("undefined"))),p=e.textChanges.ChangeTracker.fromCodeFixContext(n);p.insertNodeAt(m,f.body.getEnd()-1,_,{prefix:n.newLineCharacter,suffix:n.newLineCharacter});var g={description:e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Initialize_property_0_in_the_constructor),[c]),changes:p.getChanges()};return(a||(a=[])).push(g),a}(s,u):function(t,i){var a,s=r(!0);s&&(a=[s]);var u;if(194===o.parent.parent.kind){var l=o.parent.parent,d=o.parent===l.left?l.right:l.left,f=n.program.getTypeChecker(),_=f.getWidenedType(f.getBaseTypeOfLiteralType(f.getTypeAtLocation(d)));u=f.typeToTypeNode(_,t)}u=u||e.createKeywordTypeNode(119);var p=e.createProperty(void 0,i?[e.createToken(115)]:void 0,c,void 0,u,void 0),h=e.textChanges.ChangeTracker.fromCodeFixContext(n);if(h.insertNodeAfter(m,g,p,{suffix:n.newLineCharacter}),(a||(a=[])).push({description:e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Declare_property_0),[c]),changes:h.getChanges()}),!i){var y=e.createKeywordTypeNode(136),v=e.createParameter(void 0,void 0,void 0,"x",void 0,y,void 0),b=e.createIndexSignature(void 0,void 0,[v],u),x=e.textChanges.ChangeTracker.fromCodeFixContext(n);x.insertNodeAfter(m,g,b,{suffix:n.newLineCharacter}),a.push({description:e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Add_index_signature_for_property_0),[c]),changes:x.getChanges()})}return a}(s,u)}}}t.registerCodeFix({errorCodes:[e.Diagnostics.Property_0_does_not_exist_on_type_1.code,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code],getCodeActions:n})}(e.codefix||(e.codefix={}))}(o||(o={}));var o;!function(e){!function(t){function n(t){var n,i=t.sourceFile,a=e.getTokenAtPosition(i,t.span.start,!1),o=t.program.getTypeChecker();if(e.isPropertyAccessExpression(a.parent)&&a.parent.name===a){e.Debug.assert(71===a.kind);var s=o.getTypeAtLocation(a.parent.expression);n=o.getSuggestionForNonexistentProperty(a,s)}else{var c=e.getMeaningFromLocation(a);n=o.getSuggestionForNonexistentSymbol(a,e.getTextOfNode(a),r(c))}if(n)return[{description:e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Change_spelling_to_0),[n]),changes:[{fileName:i.fileName,textChanges:[{span:{start:a.getStart(),length:a.getWidth()},newText:n}]}]}]}function r(e){var t=0;return 4&e&&(t|=1920),2&e&&(t|=793064),1&e&&(t|=107455),t}t.registerCodeFix({errorCodes:[e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,e.Diagnostics.Cannot_find_name_0_Did_you_mean_1.code],getCodeActions:n})}(e.codefix||(e.codefix={}))}(o||(o={}));var o;!function(e){!function(t){function n(n){var i=n.sourceFile,a=n.span.start,o=e.getTokenAtPosition(i,a,!1),s=n.program.getTypeChecker();if(e.isClassLike(o.parent)){var c=o.parent,u=e.getClassExtendsHeritageClauseElement(c),l=s.getTypeAtLocation(u),d=s.getPropertiesOfType(l),f=d.filter(r),_=t.createMissingMemberNodes(c,f,s),p=t.newNodesToChanges(_,e.getOpenBraceOfClassLike(c,i),n);if(p&&p.length>0)return[{description:e.getLocaleSpecificMessage(e.Diagnostics.Implement_inherited_abstract_class),changes:p}]}}function r(t){var n=t.getDeclarations();e.Debug.assert(!!(n&&n.length>0));var r=e.getModifierFlags(n[0]);return!(8&r||!(128&r))}t.registerCodeFix({errorCodes:[e.Diagnostics.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2.code],getCodeActions:n}),t.registerCodeFix({errorCodes:[e.Diagnostics.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1.code],getCodeActions:n})}(e.codefix||(e.codefix={}))}(o||(o={}));var o;!function(e){!function(t){t.registerCodeFix({errorCodes:[e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class.code],getCodeActions:function(t){function n(t){if(210===t.kind&&e.isSuperCall(t.expression))return t;if(!e.isFunctionLike(t))return e.forEachChild(t,n)}var r=t.sourceFile,i=e.getTokenAtPosition(r,t.span.start,!1);if(99===i.kind){var a=e.getContainingFunction(i),o=n(a.body);if(o){if(o.expression&&181===o.expression.kind)for(var s=o.expression.arguments,c=0;c0){var s=o[0].getFirstToken();if(s&&85===s.kind){var c=e.textChanges.ChangeTracker.fromCodeFixContext(t);c.replaceNode(n,s,e.createToken(108));for(var u=1;u=0;)switch(o=s,s=e.indexOf("/",o+1),c){case 0:e.indexOf("/node_modules/",o)===o&&(n=o,r=s,c=1);break;case 1:case 2:1===c&&"@"===e.charAt(o+1)?c=2:(i=s,c=3);break;case 3:c=e.indexOf("/node_modules/",o)===o?1:3}return a=o,c>1?{topLevelNodeModulesIndex:n,topLevelPackageNameIndex:r,packageRootIndex:i,fileNameIndex:a}:void 0}function f(e,t){for(var n=0,r=t;n=0;h--){var y=l.statements[h];if(237===y.kind||238===y.kind){u=y;break}}var v=e.createGetCanonicalFileName(_),b=e.stripQuotes(n||function(){var n=l.fileName,i=r.valueDeclaration.getSourceFile().fileName,a=e.getDirectoryPath(n),o=t.program.getCompilerOptions();return function(){var t=r.valueDeclaration;if(e.isModuleDeclaration(t)&&e.isStringLiteral(t.name))return t.name.text}()||function(){var n=e.getEffectiveTypeRoots(o,t.host);if(n)for(var r=e.map(n,function(t){return e.toPath(t,void 0,v)}),a=0,s=r;a=l.length+d.length&&e.startsWith(t,l)&&e.endsWith(t,d)){var f=t.substr(l.length,t.length-d.length);return r.replace("*",f)}}else if(c===t||c===n)return r}return t}}}()||function(){if(o.rootDirs){var t=f(i,o.rootDirs),n=f(a,o.rootDirs);if(void 0!==t){var r=void 0!==n?g(t,n):t;return e.removeFileExtension(r)}}}()||e.removeFileExtension(g(i,a))}()),x=s(),k=a?e.createImportClause(e.createIdentifier(i),void 0):o?e.createImportClause(void 0,e.createNamespaceImport(e.createIdentifier(i))):e.createImportClause(void 0,e.createNamedImports([e.createImportSpecifier(void 0,e.createIdentifier(i))])),S=e.createLiteral(b);S.singleQuote=function(){var t=e.forEach(l.statements,function(t){if(e.isImportDeclaration(t)||e.isExportDeclaration(t)){if(t.moduleSpecifier&&e.isStringLiteral(t.moduleSpecifier))return t.moduleSpecifier}else if(e.isImportEqualsDeclaration(t)&&e.isExternalModuleReference(t.moduleReference)&&e.isStringLiteral(t.moduleReference.expression))return t.moduleReference.expression});if(t)return 39===l.text.charCodeAt(t.getStart())}();var C=e.createImportDeclaration(void 0,void 0,k,S);return u?x.insertNodeAfter(l,u,C,{suffix:t.newLineCharacter}):x.insertNodeAt(l,function(t){var n=t.text,r=e.getLeadingCommentRanges(n,0);if(!r)return 0;var i=0;r.length&&3===r[0].kind&&e.isPinnedComment(n,r[0])&&(i=r[0].end+1,r=r.slice(1));for(var a=0,o=r;a0?function(t){for(var n,r,i,a=[],u=0,f=t;u=o)return{span:{start:o,length:0},newText:"// @ts-ignore"+r}}return{span:{start:n,length:0},newText:(n===o?"":r)+"// @ts-ignore"+r}}function r(t){var r=t.sourceFile,i=t.program,a=t.newLineCharacter,o=t.span;if(e.isInJavaScriptFile(r)&&e.isCheckJsEnabledForFile(r,i.getCompilerOptions()))return[{description:e.getLocaleSpecificMessage(e.Diagnostics.Ignore_this_error_message),changes:[{fileName:r.fileName,textChanges:[n(r,o.start,a)]}]},{description:e.getLocaleSpecificMessage(e.Diagnostics.Disable_checking_for_this_file),changes:[{fileName:r.fileName,textChanges:[{span:{start:r.checkJsDirective?r.checkJsDirective.pos:0,length:r.checkJsDirective?r.checkJsDirective.end-r.checkJsDirective.pos:0},newText:"// @ts-nocheck"+a}]}]}]}t.registerCodeFix({errorCodes:function(){var t=e.Diagnostics;return Object.keys(t).filter(function(n){return t[n]&&t[n].category===e.DiagnosticCategory.Error}).map(function(e){return t[e].code})}(),getCodeActions:r})}(e.codefix||(e.codefix={}))}(o||(o={}));var o;!function(e){!function(t){function n(t,n,r){for(var i=r.sourceFile,a=e.textChanges.ChangeTracker.fromCodeFixContext(r),o=0,s=t;og.length){var h=r.getSignatureFromDeclaration(a[a.length-1]),b=i(h,n,u());b&&y.push(b)}else{e.Debug.assert(a.length===g.length);var x=s(g,c,p,f);y.push(x)}return y;default:return}}}function a(t,n,r,i){var a,s=o(t.arguments.length,void 0,void 0,r);if(r)for(var c=e.length(t.typeArguments),l=0;l=r?e.createToken(55):void 0,i?e.createKeywordTypeNode(119):void 0,void 0);a.push(s)}return a}function s(t,n,r,i){for(var a=t[0],s=t[0].minArgumentCount,u=!1,l=0;l=a.parameters.length&&(!d.hasRestParameter||a.hasRestParameter)&&(a=d)}var f=a.parameters.length-(a.hasRestParameter?1:0),_=a.parameters.map(function(e){return e.name}),p=o(f,_,s,!0);if(u){var m=e.createArrayTypeNode(e.createKeywordTypeNode(119)),g=e.createParameter(void 0,void 0,e.createToken(24),_[f]||"rest",f>=s?e.createToken(55):void 0,m,void 0);p.push(g)}return c(i,n,r,void 0,p,void 0)}function c(t,n,r,i,a,o){return e.createMethod(void 0,t,void 0,n,r?e.createToken(55):void 0,i,a,o,u())}function u(){return e.createBlock([e.createThrow(e.createNew(e.createIdentifier("Error"),void 0,[e.createLiteral("Method not implemented.")]))],!0)}function l(t){return 4&t?e.createToken(114):16&t?e.createToken(113):void 0}t.newNodesToChanges=n,t.createMissingMemberNodes=r,t.createMethodFromCallExpression=a,t.createStubbedMethod=c}(e.codefix||(e.codefix={}))}(o||(o={}));var o;!function(e){!function(t){!function(n){function r(t){if(e.isInJavaScriptFile(t.file)){var n=t.startPosition,r=e.getTokenAtPosition(t.file,n,!1),i=t.program.getTypeChecker(),s=i.getSymbolAtLocation(r);return s&&e.isDeclarationOfFunctionOrClassExpression(s)&&(s=s.valueDeclaration.initializer.symbol),s&&16&s.flags&&s.members&&s.members.size>0?[{name:o.name,description:o.description,actions:[{description:o.description,name:a}]}]:void 0}}function i(t,n){function r(t,n){void 0===n&&(n=!1),_.some(function(n){return e.isNodeDescendantOf(t,n)})||(_.push(t),n?p.push(function(){return y.deleteNodeInList(c,t)}):p.push(function(){return y.deleteNode(c,t)}))}function i(t){function n(t,n){return e.isFunctionLike(n)}function i(t,i){if(4&t.flags){var a=t.valueDeclaration,s=a.parent;if(n(a,s.right)){if(r(s.parent&&210===s.parent.kind?s.parent:s),!s.right)return e.createProperty([],i,t.name,void 0,void 0,void 0);switch(s.right.kind){case 186:var u=s.right,l=e.createMethod(void 0,i,void 0,a.name,void 0,void 0,u.parameters,void 0,u.body);return o(s,l),l;case 187:var d=s.right,f=d.body,_=void 0;if(207===f.kind)_=f;else{var p=f;_=e.createBlock([e.createReturn(p)])}var l=e.createMethod(void 0,i,void 0,a.name,void 0,void 0,d.parameters,void 0,_);return o(s,l),l;default:if(e.isSourceFileJavaScript(c))return;var m=e.createProperty(void 0,i,a.name,void 0,void 0,s.right);return o(s.parent,m),m}}}}var a=[];return t.members&&t.members.forEach(function(e){var t=i(e,void 0);t&&a.push(t)}),t.exports&&t.exports.forEach(function(t){var n=i(t,[e.createToken(115)]);n&&a.push(n)}),a}function o(t,n){e.forEachLeadingCommentRange(c.text,t.pos,function(t,r,i,a){3===i?(t+=2,r-=2):t+=2,e.addSyntheticLeadingComment(n,i,c.text.slice(t,r),a)})}if(a===n){var s=t.startPosition,c=t.file,u=t.program.getTypeChecker(),l=e.getTokenAtPosition(c,s,!1),d=u.getSymbolAtLocation(l),f=t.rulesProvider.getFormatOptions().newLineCharacter,_=[],p=[];if(19&d.flags){var m,g,h=d.valueDeclaration,y=e.textChanges.ChangeTracker.fromCodeFixContext(t);switch(h.kind){case 228:m=h,r(h),g=function(t){var n=i(d);return t.body&&n.unshift(e.createConstructor(void 0,void 0,t.parameters,t.body)),e.createClassDeclaration(void 0,void 0,t.name,void 0,void 0,n)}(h);break;case 226:m=h.parent.parent,1===h.parent.declarations.length?r(m):r(h,!0),g=function(t){var n=t.initializer;if(n&&186===n.kind&&71===t.name.kind){var r=i(n.symbol);n.body&&r.unshift(e.createConstructor(void 0,void 0,n.parameters,n.body));return e.createClassDeclaration(void 0,void 0,t.name,void 0,void 0,r)}}(h)}if(g){y.insertNodeAfter(c,m,g,{suffix:f});for(var v=0,b=p;v=n.start+n.length)return(s||(s=[])).push(e.createDiagnosticForNode(t,E.CannotExtractFunction)),!0}else d|=w.UsesThis}if(!t||e.isFunctionLike(t)||e.isClassLike(t)){switch(t.kind){case 228:case 229:265===t.parent.kind&&void 0===t.parent.externalModuleIndicator&&(s||(s=[])).push(e.createDiagnosticForNode(t,E.FunctionWillNotBeVisibleInTheNewScope))}return!1}var o=u;switch(t.kind){case 211:case 224:u=0;break;case 207:t.parent&&224===t.parent.kind&&t.finallyBlock===t&&(u=4);break;case 257:u|=1;break;default:e.isIterationStatement(t,!1)&&(u|=3)}switch(t.kind){case 169:case 99:d|=w.UsesThis;break;case 222:var f=t.label;(c||(c=[])).push(f.escapedText),e.forEachChild(t,r),c.pop();break;case 218:case 217:var f=t.label;f?e.contains(c,f.escapedText)||(s||(s=[])).push(e.createDiagnosticForNode(t,E.CannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):u&(218===t.kind?1:2)||(s||(s=[])).push(e.createDiagnosticForNode(t,E.CannotExtractRangeContainingConditionalBreakOrContinueStatements));break;case 191:d|=w.IsAsyncFunction;break;case 197:d|=w.IsGenerator;break;case 219:4&u?d|=w.HasReturn:(s||(s=[])).push(e.createDiagnosticForNode(t,E.CannotExtractRangeContainingConditionalReturnStatement));break;default:e.forEachChild(t,r)}u=o}var a;if(function(e){e[e.None=0]="None",e[e.Break=1]="Break",e[e.Continue=2]="Continue",e[e.Return=4]="Return"}(a||(a={})),!(e.isStatement(t)||e.isExpression(t)&&C(t)))return[e.createDiagnosticForNode(t,E.StatementOrExpressionExpected)];if(e.isInAmbientContext(t))return[e.createDiagnosticForNode(t,E.CannotExtractAmbientBlock)];var o=e.getContainingClass(t);o&&i(t,o);var s,c,u=4;return r(t),s}var s=n.length||0;if(0===s)return{errors:[e.createFileDiagnostic(t,n.start,s,E.StatementOrExpressionExpected)]};var c=k(e.getTokenAtPosition(t,n.start,!1),t,n),u=k(e.findTokenOnLeftOfPosition(t,e.textSpanEnd(n)),t,n),l=[],d=w.None;if(!c||!u)return{errors:[e.createFileDiagnostic(t,n.start,s,E.CannotExtractFunction)]};if(c.parent!==u.parent){var f=e.skipParentheses(c.parent),_=e.skipParentheses(u.parent);if(!(e.isBinaryExpression(f)&&e.isBinaryExpression(_)&&e.isNodeDescendantOf(f,_)))return r(t,n.start,s,E.CannotExtractFunction);c=u=_}if(c!==u){if(!D(c.parent))return r(t,n.start,s,E.CannotExtractFunction);for(var p=[],m=0,g=c.parent.statements;m=t&&e.isFunctionLike(s)&&!e.isConstructorDeclaration(s))return s}}(O,n);I?P.insertNodeBefore(a.file,I,D,{suffix:a.newLineCharacter+a.newLineCharacter}):P.insertNodeBefore(a.file,n.getLastToken(),D,{prefix:a.newLineCharacter,suffix:a.newLineCharacter});var F=[],M=g(n,i,f),R=e.createCall(M,void 0,S);if(i.facts&w.IsGenerator&&(R=e.createYield(e.createToken(39),R)),i.facts&w.IsAsyncFunction&&(R=e.createAwait(R)),s){A&&F.push(e.createVariableStatement(void 0,[e.createVariableDeclaration(A,e.createKeywordTypeNode(119))]));var L=y(s);A&&L.unshift(e.createShorthandPropertyAssignment(A)),1===L.length?A?F.push(e.createReturn(e.createIdentifier(A))):(F.push(e.createStatement(e.createBinary(L[0].name,58,R))),i.facts&w.HasReturn&&F.push(e.createReturn())):(F.push(e.createStatement(e.createBinary(e.createObjectLiteral(L),58,R))),A&&F.push(e.createReturn(e.createIdentifier(A))))}else i.facts&w.HasReturn?F.push(e.createReturn(R)):v(i.range)?F.push(e.createStatement(R)):F.push(R);v(i.range)?P.replaceNodesWithNodes(a.file,i.range,F,{nodeSeparator:a.newLineCharacter,suffix:a.newLineCharacter}):P.replaceNodeWithNodes(a.file,i.range,F,{nodeSeparator:a.newLineCharacter});var B=P.getChanges(),j=v(i.range)?i.range[0]:i.range,z=j.getSourceFile().fileName;return{renameFilename:z,renameLocation:m(B,z,f),edits:B}}function m(t,n,r){for(var i=0,a=0,o=t;a=s)return p;if(h.set(p,s),m){for(var g=0,y=d;g=0)){var r=a.getSymbolAtLocation(n);if(r&&p.some(function(e){return e===r})){for(var i=0,o=_;i0&&_[n].push(e.createDiagnosticForNode(i,E.CannotCombineWritesAndReturns))}(x);return p.length&&e.forEachChild(b,u),{target:y,usagesPerScope:d,errorsPerScope:_}}function k(t,n,r){if(t)for(;t.parent;){if(e.isSourceFile(t.parent)||!S(r,t.parent,n))return t;t=t.parent}}function S(t,n,r){return e.textSpanContainsPosition(t,n.getStart(r))&&n.getEnd()<=e.textSpanEnd(t)}function C(e){switch(e.parent.kind){case 264:return!1}switch(e.kind){case 9:return 238!==e.parent.kind&&242!==e.parent.kind;case 198:case 174:case 176:return!1;case 71:return 176!==e.parent.kind&&242!==e.parent.kind&&246!==e.parent.kind}return!0}function D(e){switch(e.kind){case 207:case 265:case 234:case 257:return!0;default:return!1}}var T={name:"Extract Method",description:e.Diagnostics.Extract_function.message,getAvailableActions:r,getEditsForAction:i};t.registerRefactor(T);var E;!function(t){function n(t){return{message:t,code:0,category:e.DiagnosticCategory.Message,key:t}}t.CannotExtractFunction=n("Cannot extract function."),t.StatementOrExpressionExpected=n("Statement or expression expected."),t.CannotExtractRangeContainingConditionalBreakOrContinueStatements=n("Cannot extract range containing conditional break or continue statements."),t.CannotExtractRangeContainingConditionalReturnStatement=n("Cannot extract range containing conditional return statement."),t.CannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange=n("Cannot extract range containing labeled break or continue with target outside of the range."),t.CannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators=n("Cannot extract range containing writes to references located outside of the target range in generators."),t.TypeWillNotBeVisibleInTheNewScope=n("Type will not visible in the new scope."),t.FunctionWillNotBeVisibleInTheNewScope=n("Function will not visible in the new scope."),t.InsufficientSelection=n("Select more than a single identifier."),t.CannotExtractExportedEntity=n("Cannot extract exported declaration"),t.CannotCombineWritesAndReturns=n("Cannot combine writes and returns"),t.CannotExtractReadonlyPropertyInitializerOutsideConstructor=n("Cannot move initialization of read-only class property outside of the constructor"),t.CannotExtractAmbientBlock=n("Cannot extract code from ambient contexts")}(E||(E={}));var w;!function(e){e[e.None=0]="None",e[e.HasReturn=1]="HasReturn",e[e.IsGenerator=2]="IsGenerator",e[e.IsAsyncFunction=4]="IsAsyncFunction",e[e.UsesThis=8]="UsesThis",e[e.InStaticRegion=16]="InStaticRegion"}(w||(w={})),n.getRangeToExtract=a,n.getExtractionAtIndex=u,n.getPossibleExtractions=l;var A;!function(e){e[e.Read=1]="Read",e[e.Write=2]="Write"}(A||(A={}))}(t.extractMethod||(t.extractMethod={}))}(e.refactor||(e.refactor={}))}(o||(o={}));var o;!function(e){function t(t,n,r,i){var a=e.isNodeKind(t)?new S(t,n,r):71===t?new E(71,n,r):new T(t,n,r);return a.parent=i,a}function n(t){var n=!0;for(var i in t)if(e.hasProperty(t,i)&&!r(i)){n=!1;break}if(n)return t;var a={};for(var i in t)if(e.hasProperty(t,i)){var o=r(i)?i:i.charAt(0).toLowerCase()+i.substr(1);a[o]=t[i]}return a}function r(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function i(t){return t?e.map(t,function(e){return e.text}).join(""):""}function o(){return{target:1,jsx:1}}function s(){return e.codefix.getSupportedErrorCodes()}function u(e,t,n){e.version=n,e.scriptSnapshot=t}function l(t,n,r,i,a,o){var s=n.getText(0,n.getLength()),c=e.createSourceFile(t,s,r,a,o);return u(c,n,i),c}function d(t,n,r,i,a){if(i&&r!==t.version&&!e.disableIncrementalParsing){var o=void 0,s=0!==i.span.start?t.text.substr(0,i.span.start):"",c=e.textSpanEnd(i.span)!==t.text.length?t.text.substr(e.textSpanEnd(i.span)):"";if(0===i.newLength)o=s&&c?s+c:s||c;else{var d=n.getText(i.span.start,i.span.start+i.newLength);o=s&&c?s+d+c:s?s+d:d+c}var f=e.updateSourceFile(t,o,i,a);return u(f,n,r),f.nameTable=void 0,t!==f&&t.scriptSnapshot&&(t.scriptSnapshot.dispose&&t.scriptSnapshot.dispose(),t.scriptSnapshot=void 0),f}return l(t.fileName,n,t.languageVersion,r,!0,t.scriptKind)}function f(t,r){function i(e){t.log&&t.log(e)}function a(e){var t=se.getSourceFile(e);if(!t)throw new Error("Could not find file: '"+e+"'.");return t}function o(e){return k.ensureUpToDate(e),k}function s(){function n(t){return a(t,e.toPath(t,fe,_e))}function a(t,n){e.Debug.assert(void 0!==u);var i=u.getOrCreateEntryByPath(t,n);if(i){if(!f){var a=se&&se.getSourceFileByPath(n);if(a)return e.Debug.assertEqual(i.scriptKind,a.scriptKind,"Registered script kind should match new script kind.",n),r.updateDocumentWithKey(t,n,d,p,i.scriptSnapshot,i.version,i.scriptKind)}return r.acquireDocumentWithKey(t,n,d,p,i.scriptSnapshot,i.version,i.scriptKind)}}function o(t){if(!t)return!1;var n=t.path||e.toPath(t.fileName,fe,_e);return t.version===u.getVersion(n)}if(t.getProjectVersion){var s=t.getProjectVersion();if(s){if(ce===s)return;ce=s}}var c=t.getTypeRootsVersion?t.getTypeRootsVersion():0;ue!==c&&(i("TypeRoots version has changed; provide new program"),se=void 0,ue=c);var u=new O(t,_e);if(!function(){if(!se)return!1;var t=u.getRootFileNames();if(se.getSourceFiles().length!==t.length)return!1;for(var n=0,r=t;n0&&!function(e){return-1!==e.indexOf("/node_modules/")}(i.fileName))for(var u=function(){var t=/(?:\/\/+\s*)/.source,i=/(?:\/\*+\s*)/.source,a=/(?:^(?:\s|\*)*)/.source,o="("+a+"|"+t+"|"+i+")",s="(?:"+e.map(n,function(e){return"("+r(e.text)+")"}).join("|")+")",c=/(?:$|\*\/)/.source,u=/(?:.*?)/.source,l="("+s+u+")",d=o+l+c;return new RegExp(d,"gim")}(),l=void 0;l=u.exec(o);){de.throwIfCancellationRequested();e.Debug.assert(l.length===n.length+3);var d=l[1],f=l.index+d.length;if(e.isInComment(i,f)){for(var _=void 0,p=0;p=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}(o.charCodeAt(f+_.text.length))){var m=l[2];c.push({descriptor:_,message:m,position:f})}}}return c}function ne(n,r){s();var i=t.getDefaultLibFileName(t.getCompilationSettings());return e.Rename.getRenameInfo(se.getTypeChecker(),i,_e,a(n),r)}function re(e,n,r){var i="number"==typeof n?[n,void 0]:[n.pos,n.end];return{file:e,startPosition:i[0],endPosition:i[1],program:c(),newLineCharacter:t.getNewLine(),rulesProvider:o(r),cancellationToken:de}}function ie(t,n){s();var r=a(t);return e.refactor.getApplicableRefactors(re(r,n))}function ae(t,n,r,i,o){s();var c=a(t);return e.refactor.getEditsForRefactor(re(c,r,n),i,o)}void 0===r&&(r=e.createDocumentRegistry(t.useCaseSensitiveFileNames&&t.useCaseSensitiveFileNames(),t.getCurrentDirectory()));var oe=new I(t);k=k||new e.formatting.RulesProvider;var se,ce,ue=0,le=t.useCaseSensitiveFileNames&&t.useCaseSensitiveFileNames(),de=new F(t.getCancellationToken&&t.getCancellationToken()),fe=t.getCurrentDirectory();!e.localizedDiagnosticMessages&&t.getLocalizedDiagnosticMessages&&(e.localizedDiagnosticMessages=t.getLocalizedDiagnosticMessages());var _e=e.createGetCanonicalFileName(le);return{dispose:l,cleanupSemanticCache:u,getSyntacticDiagnostics:d,getSemanticDiagnostics:f,getCompilerOptionsDiagnostics:_,getSyntacticClassifications:q,getSemanticClassifications:J,getEncodedSyntacticClassifications:V,getEncodedSemanticClassifications:K,getCompletionsAtPosition:p,getCompletionEntryDetails:m,getCompletionEntrySymbol:g,getSignatureHelpItems:P,getQuickInfoAtPosition:h,getDefinitionAtPosition:y,getImplementationAtPosition:b,getTypeDefinitionAtPosition:v,getReferencesAtPosition:T,findReferences:w,getOccurrencesAtPosition:x,getDocumentHighlights:S,getNameOrDottedNameSpan:L,getBreakpointStatementAtPosition:B,getNavigateToItems:A,getRenameInfo:ne,findRenameLocations:D,getNavigationBarItems:j,getNavigationTree:z,getOutliningSpans:H,getTodoComments:te,getBraceMatchingAtPosition:W,getIndentationAtPosition:G,getFormattingEditsForRange:$,getFormattingEditsForDocument:X,getFormattingEditsAfterKeystroke:Y,getDocCommentTemplateAtPosition:Z,isValidBraceCompletionAtPosition:ee,getCodeFixesAtPosition:Q,getEmitOutput:N,getNonBoundSourceFile:M,getSourceFile:R,getProgram:c,getApplicableRefactors:ie,getEditsForRefactor:ae}}function _(e){return e.nameTable||p(e),e.nameTable}function p(t){var n=t.nameTable=e.createUnderscoreEscapedMap();t.forEachChild(function t(r){if(e.isIdentifier(r)&&r.escapedText||e.isStringOrNumericLiteral(r)&&m(r)){var i=e.getEscapedTextOfIdentifierOrLiteral(r);n.set(i,void 0===n.get(i)?r.pos:-1)}if(e.forEachChild(r,t),r.jsDoc)for(var a=0,o=r.jsDoc;a285});return r.kind<143?r:r.getFirstToken(t)}},n.prototype.getLastToken=function(t){var n=this.getChildren(t),r=e.lastOrUndefined(n);if(r)return r.kind<143?r:r.getLastToken(t)},n.prototype.forEachChild=function(t,n){return e.forEachChild(this,t,n)},n}(),C=function(){function t(e,t){this.pos=e,this.end=t,this.flags=0,this.parent=void 0}return t.prototype.getSourceFile=function(){return e.getSourceFileOfNode(this)},t.prototype.getStart=function(t,n){return e.getTokenPosOfNode(this,t,n)},t.prototype.getFullStart=function(){return this.pos},t.prototype.getEnd=function(){return this.end},t.prototype.getWidth=function(e){return this.getEnd()-this.getStart(e)},t.prototype.getFullWidth=function(){return this.end-this.pos},t.prototype.getLeadingTriviaWidth=function(e){return this.getStart(e)-this.pos},t.prototype.getFullText=function(e){return(e||this.getSourceFile()).text.substring(this.pos,this.end)},t.prototype.getText=function(e){return(e||this.getSourceFile()).text.substring(this.getStart(),this.getEnd())},t.prototype.getChildCount=function(){return 0},t.prototype.getChildAt=function(){},t.prototype.getChildren=function(){return e.emptyArray},t.prototype.getFirstToken=function(){},t.prototype.getLastToken=function(){},t.prototype.forEachChild=function(){},t}(),D=function(){function t(e,t){this.flags=e,this.escapedName=t}return t.prototype.getFlags=function(){return this.flags},Object.defineProperty(t.prototype,"name",{get:function(){return e.unescapeLeadingUnderscores(this.escapedName)},enumerable:!0,configurable:!0}),t.prototype.getEscapedName=function(){return this.escapedName},t.prototype.getName=function(){return this.name},t.prototype.getDeclarations=function(){return this.declarations},t.prototype.getDocumentationComment=function(){return void 0===this.documentationComment&&(this.documentationComment=e.JsDoc.getJsDocCommentsFromDeclarations(this.declarations)),this.documentationComment},t.prototype.getJsDocTags=function(){return void 0===this.tags&&(this.tags=e.JsDoc.getJsDocTagsFromDeclarations(this.declarations)),this.tags},t}(),T=function(e){function t(t,n,r){var i=e.call(this,n,r)||this;return i.kind=t,i}return c(t,e),t}(C),E=function(t){function n(e,n,r){return t.call(this,n,r)||this}return c(n,t),Object.defineProperty(n.prototype,"text",{get:function(){return e.unescapeLeadingUnderscores(this.escapedText)},enumerable:!0,configurable:!0}),n}(C);E.prototype.kind=71;var w=function(){function e(e,t){this.checker=e,this.flags=t}return e.prototype.getFlags=function(){return this.flags},e.prototype.getSymbol=function(){return this.symbol},e.prototype.getProperties=function(){return this.checker.getPropertiesOfType(this)},e.prototype.getProperty=function(e){return this.checker.getPropertyOfType(this,e)},e.prototype.getApparentProperties=function(){return this.checker.getAugmentedPropertiesOfType(this)},e.prototype.getCallSignatures=function(){return this.checker.getSignaturesOfType(this,0)},e.prototype.getConstructSignatures=function(){return this.checker.getSignaturesOfType(this,1)},e.prototype.getStringIndexType=function(){return this.checker.getIndexTypeOfType(this,0)},e.prototype.getNumberIndexType=function(){return this.checker.getIndexTypeOfType(this,1)},e.prototype.getBaseTypes=function(){return 32768&this.flags&&3&this.objectFlags?this.checker.getBaseTypes(this):void 0},e.prototype.getNonNullableType=function(){return this.checker.getNonNullableType(this)},e}(),A=function(){function t(e){this.checker=e}return t.prototype.getDeclaration=function(){return this.declaration},t.prototype.getTypeParameters=function(){return this.typeParameters},t.prototype.getParameters=function(){return this.parameters},t.prototype.getReturnType=function(){return this.checker.getReturnTypeOfSignature(this)},t.prototype.getDocumentationComment=function(){return void 0===this.documentationComment&&(this.documentationComment=this.declaration?e.JsDoc.getJsDocCommentsFromDeclarations([this.declaration]):[]),this.documentationComment},t.prototype.getJsDocTags=function(){return void 0===this.jsDocTags&&(this.jsDocTags=this.declaration?e.JsDoc.getJsDocTagsFromDeclarations([this.declaration]):[]),this.jsDocTags},t}(),N=function(t){function n(e,n,r){return t.call(this,e,n,r)||this}return c(n,t),n.prototype.update=function(t,n){return e.updateSourceFile(this,t,n)},n.prototype.getLineAndCharacterOfPosition=function(t){return e.getLineAndCharacterOfPosition(this,t)},n.prototype.getLineStarts=function(){return e.getLineStarts(this)},n.prototype.getPositionOfLineAndCharacter=function(t,n){return e.getPositionOfLineAndCharacter(this,t,n)},n.prototype.getLineEndOfPosition=function(e){var t,n=this.getLineAndCharacterOfPosition(e).line,r=this.getLineStarts();n+1>=r.length&&(t=this.getEnd()),t||(t=r[n+1]-1);var i=this.getFullText();return"\n"===i[t]&&"\r"===i[t-1]?t-1:t},n.prototype.getNamedDeclarations=function(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations},n.prototype.computeNamedDeclarations=function(){function t(e){var t=r(e);t&&a.add(t,e)}function n(e){var t=a.get(e);return t||a.set(e,t=[]),t}function r(t){var n=e.getNameOfDeclaration(t);if(n){var r=e.getTextOfIdentifierOrLiteral(n);if(void 0!==r)return r;if(144===n.kind){var i=n.expression;return 179===i.kind?i.name.text:e.getTextOfIdentifierOrLiteral(i)}}}function i(a){switch(a.kind){case 228:case 186:case 151:case 150:var o=a,s=r(o);if(s){var c=n(s),u=e.lastOrUndefined(c);u&&o.parent===u.parent&&o.symbol===u.symbol?o.body&&!u.body&&(c[c.length-1]=o):c.push(o)}e.forEachChild(a,i);break;case 229:case 199:case 230:case 231:case 232:case 233:case 237:case 246:case 242:case 239:case 240:case 153:case 154:case 163:t(a),e.forEachChild(a,i);break;case 146:if(!e.hasModifier(a,92))break;case 226:case 176:var l=a;if(e.isBindingPattern(l.name)){e.forEachChild(l.name,i);break}l.initializer&&i(l.initializer);case 264:case 149:case 148:t(a);break;case 244:a.exportClause&&e.forEach(a.exportClause.elements,i);break;case 238:var d=a.importClause;d&&(d.name&&t(d),d.namedBindings&&(240===d.namedBindings.kind?t(d.namedBindings):e.forEach(d.namedBindings.elements,i)));break;default:e.forEachChild(a,i)}}var a=e.createMultiMap();return e.forEachChild(this,i),a},n}(S),P=function(){function t(e,t,n){this.fileName=e,this.text=t,this.skipTrivia=n}return t.prototype.getLineAndCharacterOfPosition=function(t){return e.getLineAndCharacterOfPosition(this,t)},t}();e.toEditorSettings=n,e.displayPartsToString=i,e.getDefaultCompilerOptions=o,e.getSupportedCodeFixes=s;var O=function(){function t(t,n){this.host=t,this.currentDirectory=t.getCurrentDirectory(),this.fileNameToEntry=e.createMap();for(var r=t.getScriptFileNames(),i=0,a=r;i=this.throttleWaitMilliseconds&&(this.lastCancellationCheckTime=t,this.hostCancellationToken.isCancellationRequested())},t.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw new e.OperationCanceledException},t}();e.ThrottledCancellationToken=M,e.createLanguageService=f,e.getNameTable=_,e.getContainingObjectLiteralElement=h,e.getPropertySymbolsFromContextualType=y,e.getPropertySymbolsFromType=v,e.getDefaultLibFilePath=x,e.objectAllocator=function(){return{getNodeConstructor:function(){return S},getTokenConstructor:function(){return T},getIdentifierConstructor:function(){return E},getSourceFileConstructor:function(){return N},getSymbolConstructor:function(){return D},getTypeConstructor:function(){return w},getSignatureConstructor:function(){return A},getSourceMapSourceConstructor:function(){return P}}}()}(o||(o={}));var o;!function(e){!function(t){function n(t,n){function r(n,r){var i=n.decorators?e.skipTrivia(t.text,n.decorators.end):n.getStart(t);return e.createTextSpanFromBounds(i,(r||n).getEnd())}function i(t,n){return r(t,e.findNextToken(n,n.parent))}function a(e,n){return u(e&&d===t.getLineAndCharacterOfPosition(e.getStart(t)).line?e:n)}function o(n){return e.createTextSpanFromBounds(e.skipTrivia(t.text,n.pos),n.end)}function s(n){return u(e.findPrecedingToken(n.pos,t))}function c(t){return u(e.findNextToken(t,t.parent))}function u(n){function l(n){return 227===n.parent.kind&&n.parent.declarations[0]===n?r(e.findPrecedingToken(n.pos,t,n.parent),n):r(n)}function d(n){return 215===n.parent.parent.kind?u(n.parent.parent):e.isBindingPattern(n.name)?h(n.name):n.initializer||e.hasModifier(n,1)||216===n.parent.parent.kind?l(n):227===n.parent.kind&&n.parent.declarations[0]!==n?u(e.findPrecedingToken(n.pos,t,n.parent)):void 0}function f(t){return!!t.initializer||void 0!==t.dotDotDotToken||e.hasModifier(t,12)}function _(t){if(e.isBindingPattern(t.name))return h(t.name);if(f(t))return r(t);var n=t.parent,i=e.indexOf(n.parameters,t);return i?_(n.parameters[i-1]):u(n.body)}function p(t){return e.hasModifier(t,1)||229===t.parent.kind&&152!==t.kind}function m(n){switch(n.parent.kind){case 233:if(1!==e.getModuleInstanceState(n.parent))return;case 213:case 211:case 215:return a(n.parent,n.statements[0]);case 214:case 216:return a(e.findPrecedingToken(n.pos,t,n.parent),n.statements[0])}return u(n.statements[0])}function g(e){if(227!==e.initializer.kind)return u(e.initializer);var t=e.initializer;return t.declarations.length>0?u(t.declarations[0]):void 0}function h(t){var n=e.forEach(t.elements,function(e){return 200!==e.kind?e:void 0});return n?u(n):176===t.parent.kind?r(t.parent):l(t.parent)}function y(t){e.Debug.assert(175!==t.kind&&174!==t.kind);var n=177===t.kind?t.elements:t.properties,i=e.forEach(n,function(e){return 200!==e.kind?e:void 0});return i?u(i):r(194===t.parent.kind?t.parent:t)}if(n)switch(n.kind){case 208:return d(n.declarationList.declarations[0]);case 226:case 149:case 148:return d(n);case 146:return _(n);case 228:case 151:case 150:case 153:case 154:case 152:case 186:case 187:return function(e){if(e.body)return p(e)?r(e):u(e.body)}(n);case 207:if(e.isFunctionBlock(n))return function(e){var t=e.statements.length?e.statements[0]:e.getLastToken();return p(e.parent)?a(e.parent,t):u(t)}(n);case 234:return m(n);case 260:return m(n.block);case 210:return r(n.expression);case 219:return r(n.getChildAt(0),n.expression);case 213:return i(n,n.expression);case 212:return u(n.statement);case 225:return r(n.getChildAt(0));case 211:return i(n,n.expression);case 222:return u(n.statement);case 218:case 217:return r(n.getChildAt(0),n.label);case 214:return function(e){return e.initializer?g(e):e.condition?r(e.condition):e.incrementor?r(e.incrementor):void 0}(n);case 215:return i(n,n.expression);case 216:return g(n);case 221:return i(n,n.expression);case 257:case 258:return u(n.statements[0]);case 224:return m(n.tryBlock);case 223:case 243:return r(n,n.expression);case 237:return r(n,n.moduleReference);case 238:case 244:return r(n,n.moduleSpecifier);case 233:if(1!==e.getModuleInstanceState(n))return;case 229:case 232:case 264:case 176:return r(n);case 220:return u(n.statement);case 147:return o(n.parent.decorators);case 174:case 175:return h(n);case 230:case 231:return;case 25:case 1:return a(e.findPrecedingToken(n.pos,t));case 26:return s(n);case 17:return function(n){switch(n.parent.kind){case 232:var r=n.parent;return a(e.findPrecedingToken(n.pos,t,n.parent),r.members.length?r.members[0]:r.getLastToken(t));case 229:var i=n.parent;return a(e.findPrecedingToken(n.pos,t,n.parent),i.members.length?i.members[0]:i.getLastToken(t));case 235:return a(n.parent.parent,n.parent.clauses[0])}return u(n.parent)}(n);case 18:return function(t){switch(t.parent.kind){case 234:if(1!==e.getModuleInstanceState(t.parent.parent))return;case 232:case 229:return r(t);case 207:if(e.isFunctionBlock(t.parent))return r(t);case 260:return u(e.lastOrUndefined(t.parent.statements));case 235:var n=t.parent,i=e.lastOrUndefined(n.clauses);if(i)return u(e.lastOrUndefined(i.statements));return;case 174:var a=t.parent;return u(e.lastOrUndefined(a.elements)||a);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent)){var o=t.parent;return r(e.lastOrUndefined(o.properties)||o)}return u(t.parent)}}(n);case 22:return function(t){switch(t.parent.kind){case 175:var n=t.parent;return r(e.lastOrUndefined(n.elements)||n);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent)){var i=t.parent;return r(e.lastOrUndefined(i.elements)||i)}return u(t.parent)}}(n);case 19:return function(e){return 212===e.parent.kind||181===e.parent.kind||182===e.parent.kind?s(e):185===e.parent.kind?c(e):u(e.parent)}(n);case 20:return function(e){switch(e.parent.kind){case 186:case 228:case 187:case 151:case 150:case 153:case 154:case 152:case 213:case 212:case 214:case 216:case 181:case 182:case 185:return s(e);default:return u(e.parent)}}(n);case 56:return function(t){return e.isFunctionLike(t.parent)||261===t.parent.kind||146===t.parent.kind?s(t):u(t.parent)}(n);case 29:case 27:return function(e){return 184===e.parent.kind?c(e):u(e.parent)}(n);case 106:return function(e){return 212===e.parent.kind?i(e,e.parent.expression):u(e.parent)}(n);case 82:case 74:case 87:return c(n);case 142:return function(e){return 216===e.parent.kind?c(e):u(e.parent)}(n);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(n))return y(n);if((71===n.kind||198===n.kind||261===n.kind||262===n.kind)&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent))return r(n);if(194===n.kind){var v=n;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(v.left))return y(v.left);if(58===v.operatorToken.kind&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(v.parent))return r(n);if(26===v.operatorToken.kind)return u(v.left)}if(e.isPartOfExpression(n))switch(n.parent.kind){case 212:return s(n);case 147:return u(n.parent);case 214:case 216:return r(n);case 194:if(26===n.parent.operatorToken.kind)return r(n);break;case 187:if(n.parent.body===n)return r(n)}if(261===n.parent.kind&&n.parent.name===n&&!e.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent.parent))return u(n.parent.initializer);if(184===n.parent.kind&&n.parent.type===n)return c(n.parent.type);if(e.isFunctionLike(n.parent)&&n.parent.type===n)return s(n);if(226===n.parent.kind||146===n.parent.kind){var b=n.parent;if(b.initializer===n||b.type===n||e.isAssignmentOperator(n.kind))return s(n)}if(194===n.parent.kind){var v=n.parent;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(v.left)&&(v.right===n||v.operatorToken===n))return s(n)}return u(n.parent)}}if(!t.isDeclarationFile){var l=e.getTokenAtPosition(t,n,!1),d=t.getLineAndCharacterOfPosition(n).line;if((!(t.getLineAndCharacterOfPosition(l.getStart(t)).line>d)||(l=e.findPrecedingToken(l.pos,t))&&t.getLineAndCharacterOfPosition(l.getEnd()).line===d)&&!e.isInAmbientContext(l))return u(l)}}t.spanInSourceFileAtLocation=n}(e.BreakpointResolver||(e.BreakpointResolver={}))}(o||(o={}));var o;!function(e){function t(t,n,r){var i=[];r=e.fixupCompilerOptions(r,i);var a=e.isArray(t)?t:[t],o=e.transformNodes(void 0,void 0,r,a,n,!0);return o.diagnostics=e.concatenate(o.diagnostics,i),o}e.transform=t}(o||(o={}));var o,u=function(){return this}();!function(t){function n(e,t){e&&e.log("*INTERNAL ERROR* - Exception in typescript services: "+t.message)}function r(e,n,r,i){var a;i&&(e.log(n),a=t.timestamp());var o=r();if(i){var s=t.timestamp();if(e.log(n+" completed in "+(s-a)+" msec"),"string"==typeof o){var c=o;c.length>128&&(c=c.substring(0,128)+"..."),e.log(" result.length="+c.length+", result='"+JSON.stringify(c)+"'")}}return o}function i(e,t,n,r){return a(e,t,!0,n,r)}function a(e,i,a,o,s){try{var c=r(e,i,o,s);return a?JSON.stringify({result:c}):c}catch(r){return r instanceof t.OperationCanceledException?JSON.stringify({canceled:!0}):(n(e,r),r.description=i,JSON.stringify({error:r}))}}function o(e,t){return e.map(function(e){return s(e,t)})}function s(e,n){return{message:t.flattenDiagnosticMessageText(e.messageText,n),start:e.start,length:e.length,category:t.DiagnosticCategory[e.category].toLowerCase(),code:e.code}}function l(e){return{spans:e.spans.join(","),endOfLineState:e.endOfLineState}}var d=function(){function e(e){this.scriptSnapshotShim=e}return e.prototype.getText=function(e,t){return this.scriptSnapshotShim.getText(e,t)},e.prototype.getLength=function(){return this.scriptSnapshotShim.getLength()},e.prototype.getChangeRange=function(e){var n=e,r=this.scriptSnapshotShim.getChangeRange(n.scriptSnapshotShim);if(null===r)return null;var i=JSON.parse(r);return t.createTextChangeRange(t.createTextSpan(i.span.start,i.span.length),i.newLength)},e.prototype.dispose=function(){"dispose"in this.scriptSnapshotShim&&this.scriptSnapshotShim.dispose()},e}(),f=function(){function e(e){var n=this;this.shimHost=e,this.loggingEnabled=!1,this.tracingEnabled=!1,"getModuleResolutionsForFile"in this.shimHost&&(this.resolveModuleNames=function(e,r){var i=JSON.parse(n.shimHost.getModuleResolutionsForFile(r));return t.map(e,function(e){var n=t.getProperty(i,e);return n?{resolvedFileName:n,extension:t.extensionFromPath(n),isExternalLibraryImport:!1}:void 0})}),"directoryExists"in this.shimHost&&(this.directoryExists=function(e){return n.shimHost.directoryExists(e)}),"getTypeReferenceDirectiveResolutionsForFile"in this.shimHost&&(this.resolveTypeReferenceDirectives=function(e,r){var i=JSON.parse(n.shimHost.getTypeReferenceDirectiveResolutionsForFile(r));return t.map(e,function(e){return t.getProperty(i,e)})})}return e.prototype.log=function(e){this.loggingEnabled&&this.shimHost.log(e)},e.prototype.trace=function(e){this.tracingEnabled&&this.shimHost.trace(e)},e.prototype.error=function(e){this.shimHost.error(e)},e.prototype.getProjectVersion=function(){if(this.shimHost.getProjectVersion)return this.shimHost.getProjectVersion()},e.prototype.getTypeRootsVersion=function(){return this.shimHost.getTypeRootsVersion?this.shimHost.getTypeRootsVersion():0},e.prototype.useCaseSensitiveFileNames=function(){return!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames()},e.prototype.getCompilationSettings=function(){var e=this.shimHost.getCompilationSettings();if(null===e||""===e)throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings");var t=JSON.parse(e);return t.allowNonTsExtensions=!0,t},e.prototype.getScriptFileNames=function(){var e=this.shimHost.getScriptFileNames();return this.files=JSON.parse(e)},e.prototype.getScriptSnapshot=function(e){var t=this.shimHost.getScriptSnapshot(e);return t&&new d(t)},e.prototype.getScriptKind=function(e){return"getScriptKind"in this.shimHost?this.shimHost.getScriptKind(e):0},e.prototype.getScriptVersion=function(e){return this.shimHost.getScriptVersion(e)},e.prototype.getLocalizedDiagnosticMessages=function(){var e=this.shimHost.getLocalizedDiagnosticMessages();if(null===e||""===e)return null;try{return JSON.parse(e)}catch(e){return this.log(e.description||"diagnosticMessages.generated.json has invalid JSON format"),null}},e.prototype.getCancellationToken=function(){var e=this.shimHost.getCancellationToken();return new t.ThrottledCancellationToken(e)},e.prototype.getCurrentDirectory=function(){return this.shimHost.getCurrentDirectory()},e.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))},e.prototype.getDefaultLibFileName=function(e){return this.shimHost.getDefaultLibFileName(JSON.stringify(e))},e.prototype.readDirectory=function(e,n,r,i,a){var o=t.getFileMatcherPatterns(e,r,i,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(e,JSON.stringify(n),JSON.stringify(o.basePaths),o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern,a))},e.prototype.readFile=function(e,t){return this.shimHost.readFile(e,t)},e.prototype.fileExists=function(e){return this.shimHost.fileExists(e)},e}();t.LanguageServiceShimHostAdapter=f;var _=function(){function e(e){var t=this;this.shimHost=e,this.useCaseSensitiveFileNames=!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames(),"directoryExists"in this.shimHost&&(this.directoryExists=function(e){return t.shimHost.directoryExists(e)}),"realpath"in this.shimHost&&(this.realpath=function(e){return t.shimHost.realpath(e)})}return e.prototype.readDirectory=function(e,n,r,i,a){var o=t.getFileMatcherPatterns(e,r,i,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(e,JSON.stringify(n),JSON.stringify(o.basePaths),o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern,a))},e.prototype.fileExists=function(e){return this.shimHost.fileExists(e)},e.prototype.readFile=function(e){return this.shimHost.readFile(e)},e.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))},e}();t.CoreServicesShimHostAdapter=_;var p=function(){function e(e){this.factory=e,e.registerShim(this)}return e.prototype.dispose=function(e){this.factory.unregisterShim(this)},e}();t.realizeDiagnostics=o;var m=function(e){function n(t,n,r){var i=e.call(this,t)||this;return i.host=n,i.languageService=r,i.logPerformance=!1,i.logger=i.host,i}return c(n,e),n.prototype.forwardJSONCall=function(e,t){return i(this.logger,e,t,this.logPerformance)},n.prototype.dispose=function(t){this.logger.log("dispose()"),this.languageService.dispose(),this.languageService=null,u&&u.CollectGarbage&&(u.CollectGarbage(),this.logger.log("CollectGarbage()")),this.logger=null,e.prototype.dispose.call(this,t)},n.prototype.refresh=function(e){this.forwardJSONCall("refresh("+e+")",function(){return null})},n.prototype.cleanupSemanticCache=function(){var e=this;this.forwardJSONCall("cleanupSemanticCache()",function(){return e.languageService.cleanupSemanticCache(),null})},n.prototype.realizeDiagnostics=function(e){var n=t.getNewLineOrDefaultFromHost(this.host);return t.realizeDiagnostics(e,n)},n.prototype.getSyntacticClassifications=function(e,n,r){var i=this;return this.forwardJSONCall("getSyntacticClassifications('"+e+"', "+n+", "+r+")",function(){return i.languageService.getSyntacticClassifications(e,t.createTextSpan(n,r))})},n.prototype.getSemanticClassifications=function(e,n,r){var i=this;return this.forwardJSONCall("getSemanticClassifications('"+e+"', "+n+", "+r+")",function(){return i.languageService.getSemanticClassifications(e,t.createTextSpan(n,r))})},n.prototype.getEncodedSyntacticClassifications=function(e,n,r){var i=this;return this.forwardJSONCall("getEncodedSyntacticClassifications('"+e+"', "+n+", "+r+")",function(){return l(i.languageService.getEncodedSyntacticClassifications(e,t.createTextSpan(n,r)))})},n.prototype.getEncodedSemanticClassifications=function(e,n,r){var i=this;return this.forwardJSONCall("getEncodedSemanticClassifications('"+e+"', "+n+", "+r+")",function(){return l(i.languageService.getEncodedSemanticClassifications(e,t.createTextSpan(n,r)))})},n.prototype.getSyntacticDiagnostics=function(e){var t=this;return this.forwardJSONCall("getSyntacticDiagnostics('"+e+"')",function(){var n=t.languageService.getSyntacticDiagnostics(e);return t.realizeDiagnostics(n)})},n.prototype.getSemanticDiagnostics=function(e){var t=this;return this.forwardJSONCall("getSemanticDiagnostics('"+e+"')",function(){var n=t.languageService.getSemanticDiagnostics(e);return t.realizeDiagnostics(n)})},n.prototype.getCompilerOptionsDiagnostics=function(){var e=this;return this.forwardJSONCall("getCompilerOptionsDiagnostics()",function(){var t=e.languageService.getCompilerOptionsDiagnostics();return e.realizeDiagnostics(t)})},n.prototype.getQuickInfoAtPosition=function(e,t){var n=this;return this.forwardJSONCall("getQuickInfoAtPosition('"+e+"', "+t+")",function(){return n.languageService.getQuickInfoAtPosition(e,t)})},n.prototype.getNameOrDottedNameSpan=function(e,t,n){var r=this;return this.forwardJSONCall("getNameOrDottedNameSpan('"+e+"', "+t+", "+n+")",function(){return r.languageService.getNameOrDottedNameSpan(e,t,n)})},n.prototype.getBreakpointStatementAtPosition=function(e,t){var n=this;return this.forwardJSONCall("getBreakpointStatementAtPosition('"+e+"', "+t+")",function(){return n.languageService.getBreakpointStatementAtPosition(e,t)})},n.prototype.getSignatureHelpItems=function(e,t){var n=this;return this.forwardJSONCall("getSignatureHelpItems('"+e+"', "+t+")",function(){return n.languageService.getSignatureHelpItems(e,t)})},n.prototype.getDefinitionAtPosition=function(e,t){var n=this;return this.forwardJSONCall("getDefinitionAtPosition('"+e+"', "+t+")",function(){return n.languageService.getDefinitionAtPosition(e,t)})},n.prototype.getTypeDefinitionAtPosition=function(e,t){var n=this;return this.forwardJSONCall("getTypeDefinitionAtPosition('"+e+"', "+t+")",function(){return n.languageService.getTypeDefinitionAtPosition(e,t)})},n.prototype.getImplementationAtPosition=function(e,t){var n=this;return this.forwardJSONCall("getImplementationAtPosition('"+e+"', "+t+")",function(){return n.languageService.getImplementationAtPosition(e,t)})},n.prototype.getRenameInfo=function(e,t){var n=this;return this.forwardJSONCall("getRenameInfo('"+e+"', "+t+")",function(){return n.languageService.getRenameInfo(e,t)})},n.prototype.findRenameLocations=function(e,t,n,r){var i=this;return this.forwardJSONCall("findRenameLocations('"+e+"', "+t+", "+n+", "+r+")",function(){return i.languageService.findRenameLocations(e,t,n,r)})},n.prototype.getBraceMatchingAtPosition=function(e,t){var n=this;return this.forwardJSONCall("getBraceMatchingAtPosition('"+e+"', "+t+")",function(){return n.languageService.getBraceMatchingAtPosition(e,t)})},n.prototype.isValidBraceCompletionAtPosition=function(e,t,n){var r=this;return this.forwardJSONCall("isValidBraceCompletionAtPosition('"+e+"', "+t+", "+n+")",function(){return r.languageService.isValidBraceCompletionAtPosition(e,t,n)})},n.prototype.getIndentationAtPosition=function(e,t,n){var r=this;return this.forwardJSONCall("getIndentationAtPosition('"+e+"', "+t+")",function(){var i=JSON.parse(n);return r.languageService.getIndentationAtPosition(e,t,i)})},n.prototype.getReferencesAtPosition=function(e,t){var n=this;return this.forwardJSONCall("getReferencesAtPosition('"+e+"', "+t+")",function(){return n.languageService.getReferencesAtPosition(e,t)})},n.prototype.findReferences=function(e,t){var n=this;return this.forwardJSONCall("findReferences('"+e+"', "+t+")",function(){return n.languageService.findReferences(e,t)})},n.prototype.getOccurrencesAtPosition=function(e,t){var n=this;return this.forwardJSONCall("getOccurrencesAtPosition('"+e+"', "+t+")",function(){return n.languageService.getOccurrencesAtPosition(e,t)})},n.prototype.getDocumentHighlights=function(e,n,r){var i=this;return this.forwardJSONCall("getDocumentHighlights('"+e+"', "+n+")",function(){var a=i.languageService.getDocumentHighlights(e,n,JSON.parse(r)),o=t.normalizeSlashes(e).toLowerCase();return t.filter(a,function(e){return t.normalizeSlashes(e.fileName).toLowerCase()===o})})},n.prototype.getCompletionsAtPosition=function(e,t){var n=this;return this.forwardJSONCall("getCompletionsAtPosition('"+e+"', "+t+")",function(){return n.languageService.getCompletionsAtPosition(e,t)})},n.prototype.getCompletionEntryDetails=function(e,t,n){var r=this;return this.forwardJSONCall("getCompletionEntryDetails('"+e+"', "+t+", '"+n+"')",function(){return r.languageService.getCompletionEntryDetails(e,t,n)})},n.prototype.getFormattingEditsForRange=function(e,t,n,r){var i=this;return this.forwardJSONCall("getFormattingEditsForRange('"+e+"', "+t+", "+n+")",function(){var a=JSON.parse(r);return i.languageService.getFormattingEditsForRange(e,t,n,a)})},n.prototype.getFormattingEditsForDocument=function(e,t){var n=this;return this.forwardJSONCall("getFormattingEditsForDocument('"+e+"')",function(){var r=JSON.parse(t);return n.languageService.getFormattingEditsForDocument(e,r)})},n.prototype.getFormattingEditsAfterKeystroke=function(e,t,n,r){var i=this;return this.forwardJSONCall("getFormattingEditsAfterKeystroke('"+e+"', "+t+", '"+n+"')",function(){var a=JSON.parse(r);return i.languageService.getFormattingEditsAfterKeystroke(e,t,n,a)})},n.prototype.getDocCommentTemplateAtPosition=function(e,t){var n=this;return this.forwardJSONCall("getDocCommentTemplateAtPosition('"+e+"', "+t+")",function(){return n.languageService.getDocCommentTemplateAtPosition(e,t)})},n.prototype.getNavigateToItems=function(e,t,n){var r=this;return this.forwardJSONCall("getNavigateToItems('"+e+"', "+t+", "+n+")",function(){return r.languageService.getNavigateToItems(e,t,n)})},n.prototype.getNavigationBarItems=function(e){var t=this;return this.forwardJSONCall("getNavigationBarItems('"+e+"')",function(){return t.languageService.getNavigationBarItems(e)})},n.prototype.getNavigationTree=function(e){var t=this;return this.forwardJSONCall("getNavigationTree('"+e+"')",function(){return t.languageService.getNavigationTree(e)})},n.prototype.getOutliningSpans=function(e){var t=this;return this.forwardJSONCall("getOutliningSpans('"+e+"')",function(){return t.languageService.getOutliningSpans(e)})},n.prototype.getTodoComments=function(e,t){var n=this;return this.forwardJSONCall("getTodoComments('"+e+"')",function(){return n.languageService.getTodoComments(e,JSON.parse(t))})},n.prototype.getEmitOutput=function(e){var t=this;return this.forwardJSONCall("getEmitOutput('"+e+"')",function(){return t.languageService.getEmitOutput(e)})},n.prototype.getEmitOutputObject=function(e){var t=this;return a(this.logger,"getEmitOutput('"+e+"')",!1,function(){return t.languageService.getEmitOutput(e)},this.logPerformance)},n}(p),g=function(e){function n(n,r){var i=e.call(this,n)||this;return i.logger=r,i.logPerformance=!1,i.classifier=t.createClassifier(),i}return c(n,e),n.prototype.getEncodedLexicalClassifications=function(e,t,n){var r=this;return i(this.logger,"getEncodedLexicalClassifications",function(){return l(r.classifier.getEncodedLexicalClassifications(e,t,n))},this.logPerformance)},n.prototype.getClassificationsForLine=function(e,t,n){for(var r=this.classifier.getClassificationsForLine(e,t,n),i="",a=0,o=r.entries;a>5]|=128<>>9<<4)]=t;for(var n=1732584193,r=-271733879,i=-1732584194,l=271733878,d=0;d>16)+(t>>16)+(n>>16)<<16|65535&n}function l(e,t){return e<>>32-t}var d=n(82);e.exports=function(e){return d(e,r)}},function(e,t,n){"use strict";(function(t){function r(){d.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function i(e,t){return e<>>32-t}function a(e,t,n,r,a,o,s,c){return i(e+(t^n^r)+o+s|0,c)+a|0}function o(e,t,n,r,a,o,s,c){return i(e+(t&n|~t&r)+o+s|0,c)+a|0}function s(e,t,n,r,a,o,s,c){return i(e+((t|~n)^r)+o+s|0,c)+a|0}function c(e,t,n,r,a,o,s,c){return i(e+(t&r|n&~r)+o+s|0,c)+a|0}function u(e,t,n,r,a,o,s,c){return i(e+(t^(n|~r))+o+s|0,c)+a|0}var l=n(0),d=n(83);l(r,d),r.prototype._update=function(){for(var e=new Array(16),t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var n=this._a,r=this._b,l=this._c,d=this._d,f=this._e;n=a(n,r,l,d,f,e[0],0,11),l=i(l,10),f=a(f,n,r,l,d,e[1],0,14),r=i(r,10),d=a(d,f,n,r,l,e[2],0,15),n=i(n,10),l=a(l,d,f,n,r,e[3],0,12),f=i(f,10),r=a(r,l,d,f,n,e[4],0,5),d=i(d,10),n=a(n,r,l,d,f,e[5],0,8),l=i(l,10),f=a(f,n,r,l,d,e[6],0,7),r=i(r,10),d=a(d,f,n,r,l,e[7],0,9),n=i(n,10),l=a(l,d,f,n,r,e[8],0,11),f=i(f,10),r=a(r,l,d,f,n,e[9],0,13),d=i(d,10),n=a(n,r,l,d,f,e[10],0,14),l=i(l,10),f=a(f,n,r,l,d,e[11],0,15),r=i(r,10),d=a(d,f,n,r,l,e[12],0,6),n=i(n,10),l=a(l,d,f,n,r,e[13],0,7),f=i(f,10),r=a(r,l,d,f,n,e[14],0,9),d=i(d,10),n=a(n,r,l,d,f,e[15],0,8),l=i(l,10),f=o(f,n,r,l,d,e[7],1518500249,7),r=i(r,10),d=o(d,f,n,r,l,e[4],1518500249,6),n=i(n,10),l=o(l,d,f,n,r,e[13],1518500249,8),f=i(f,10),r=o(r,l,d,f,n,e[1],1518500249,13),d=i(d,10),n=o(n,r,l,d,f,e[10],1518500249,11),l=i(l,10),f=o(f,n,r,l,d,e[6],1518500249,9),r=i(r,10),d=o(d,f,n,r,l,e[15],1518500249,7),n=i(n,10),l=o(l,d,f,n,r,e[3],1518500249,15),f=i(f,10),r=o(r,l,d,f,n,e[12],1518500249,7),d=i(d,10),n=o(n,r,l,d,f,e[0],1518500249,12),l=i(l,10),f=o(f,n,r,l,d,e[9],1518500249,15),r=i(r,10),d=o(d,f,n,r,l,e[5],1518500249,9),n=i(n,10),l=o(l,d,f,n,r,e[2],1518500249,11),f=i(f,10),r=o(r,l,d,f,n,e[14],1518500249,7),d=i(d,10),n=o(n,r,l,d,f,e[11],1518500249,13),l=i(l,10),f=o(f,n,r,l,d,e[8],1518500249,12),r=i(r,10),d=s(d,f,n,r,l,e[3],1859775393,11),n=i(n,10),l=s(l,d,f,n,r,e[10],1859775393,13),f=i(f,10),r=s(r,l,d,f,n,e[14],1859775393,6),d=i(d,10),n=s(n,r,l,d,f,e[4],1859775393,7),l=i(l,10),f=s(f,n,r,l,d,e[9],1859775393,14),r=i(r,10),d=s(d,f,n,r,l,e[15],1859775393,9),n=i(n,10),l=s(l,d,f,n,r,e[8],1859775393,13),f=i(f,10),r=s(r,l,d,f,n,e[1],1859775393,15),d=i(d,10),n=s(n,r,l,d,f,e[2],1859775393,14),l=i(l,10),f=s(f,n,r,l,d,e[7],1859775393,8),r=i(r,10),d=s(d,f,n,r,l,e[0],1859775393,13),n=i(n,10),l=s(l,d,f,n,r,e[6],1859775393,6),f=i(f,10),r=s(r,l,d,f,n,e[13],1859775393,5),d=i(d,10),n=s(n,r,l,d,f,e[11],1859775393,12),l=i(l,10),f=s(f,n,r,l,d,e[5],1859775393,7),r=i(r,10),d=s(d,f,n,r,l,e[12],1859775393,5),n=i(n,10),l=c(l,d,f,n,r,e[1],2400959708,11),f=i(f,10),r=c(r,l,d,f,n,e[9],2400959708,12),d=i(d,10),n=c(n,r,l,d,f,e[11],2400959708,14),l=i(l,10),f=c(f,n,r,l,d,e[10],2400959708,15),r=i(r,10),d=c(d,f,n,r,l,e[0],2400959708,14),n=i(n,10),l=c(l,d,f,n,r,e[8],2400959708,15),f=i(f,10),r=c(r,l,d,f,n,e[12],2400959708,9),d=i(d,10),n=c(n,r,l,d,f,e[4],2400959708,8),l=i(l,10),f=c(f,n,r,l,d,e[13],2400959708,9),r=i(r,10),d=c(d,f,n,r,l,e[3],2400959708,14),n=i(n,10),l=c(l,d,f,n,r,e[7],2400959708,5),f=i(f,10),r=c(r,l,d,f,n,e[15],2400959708,6),d=i(d,10),n=c(n,r,l,d,f,e[14],2400959708,8),l=i(l,10),f=c(f,n,r,l,d,e[5],2400959708,6),r=i(r,10),d=c(d,f,n,r,l,e[6],2400959708,5),n=i(n,10),l=c(l,d,f,n,r,e[2],2400959708,12),f=i(f,10),r=u(r,l,d,f,n,e[4],2840853838,9),d=i(d,10),n=u(n,r,l,d,f,e[0],2840853838,15),l=i(l,10),f=u(f,n,r,l,d,e[5],2840853838,5),r=i(r,10),d=u(d,f,n,r,l,e[9],2840853838,11),n=i(n,10),l=u(l,d,f,n,r,e[7],2840853838,6),f=i(f,10),r=u(r,l,d,f,n,e[12],2840853838,8),d=i(d,10),n=u(n,r,l,d,f,e[2],2840853838,13),l=i(l,10),f=u(f,n,r,l,d,e[10],2840853838,12),r=i(r,10),d=u(d,f,n,r,l,e[14],2840853838,5),n=i(n,10),l=u(l,d,f,n,r,e[1],2840853838,12),f=i(f,10),r=u(r,l,d,f,n,e[3],2840853838,13),d=i(d,10),n=u(n,r,l,d,f,e[8],2840853838,14),l=i(l,10),f=u(f,n,r,l,d,e[11],2840853838,11),r=i(r,10),d=u(d,f,n,r,l,e[6],2840853838,8),n=i(n,10),l=u(l,d,f,n,r,e[15],2840853838,5),f=i(f,10),r=u(r,l,d,f,n,e[13],2840853838,6),d=i(d,10);var _=this._a,p=this._b,m=this._c,g=this._d,h=this._e;_=u(_,p,m,g,h,e[5],1352829926,8),m=i(m,10),h=u(h,_,p,m,g,e[14],1352829926,9),p=i(p,10),g=u(g,h,_,p,m,e[7],1352829926,9),_=i(_,10),m=u(m,g,h,_,p,e[0],1352829926,11),h=i(h,10),p=u(p,m,g,h,_,e[9],1352829926,13),g=i(g,10),_=u(_,p,m,g,h,e[2],1352829926,15),m=i(m,10),h=u(h,_,p,m,g,e[11],1352829926,15),p=i(p,10),g=u(g,h,_,p,m,e[4],1352829926,5),_=i(_,10),m=u(m,g,h,_,p,e[13],1352829926,7),h=i(h,10),p=u(p,m,g,h,_,e[6],1352829926,7),g=i(g,10),_=u(_,p,m,g,h,e[15],1352829926,8),m=i(m,10),h=u(h,_,p,m,g,e[8],1352829926,11),p=i(p,10),g=u(g,h,_,p,m,e[1],1352829926,14),_=i(_,10),m=u(m,g,h,_,p,e[10],1352829926,14),h=i(h,10),p=u(p,m,g,h,_,e[3],1352829926,12),g=i(g,10),_=u(_,p,m,g,h,e[12],1352829926,6),m=i(m,10),h=c(h,_,p,m,g,e[6],1548603684,9),p=i(p,10),g=c(g,h,_,p,m,e[11],1548603684,13),_=i(_,10),m=c(m,g,h,_,p,e[3],1548603684,15),h=i(h,10),p=c(p,m,g,h,_,e[7],1548603684,7),g=i(g,10),_=c(_,p,m,g,h,e[0],1548603684,12),m=i(m,10),h=c(h,_,p,m,g,e[13],1548603684,8),p=i(p,10),g=c(g,h,_,p,m,e[5],1548603684,9),_=i(_,10),m=c(m,g,h,_,p,e[10],1548603684,11),h=i(h,10),p=c(p,m,g,h,_,e[14],1548603684,7),g=i(g,10),_=c(_,p,m,g,h,e[15],1548603684,7),m=i(m,10),h=c(h,_,p,m,g,e[8],1548603684,12),p=i(p,10),g=c(g,h,_,p,m,e[12],1548603684,7),_=i(_,10),m=c(m,g,h,_,p,e[4],1548603684,6),h=i(h,10),p=c(p,m,g,h,_,e[9],1548603684,15),g=i(g,10),_=c(_,p,m,g,h,e[1],1548603684,13),m=i(m,10),h=c(h,_,p,m,g,e[2],1548603684,11),p=i(p,10),g=s(g,h,_,p,m,e[15],1836072691,9),_=i(_,10),m=s(m,g,h,_,p,e[5],1836072691,7),h=i(h,10),p=s(p,m,g,h,_,e[1],1836072691,15),g=i(g,10),_=s(_,p,m,g,h,e[3],1836072691,11),m=i(m,10),h=s(h,_,p,m,g,e[7],1836072691,8),p=i(p,10),g=s(g,h,_,p,m,e[14],1836072691,6),_=i(_,10),m=s(m,g,h,_,p,e[6],1836072691,6),h=i(h,10),p=s(p,m,g,h,_,e[9],1836072691,14),g=i(g,10),_=s(_,p,m,g,h,e[11],1836072691,12),m=i(m,10),h=s(h,_,p,m,g,e[8],1836072691,13),p=i(p,10),g=s(g,h,_,p,m,e[12],1836072691,5),_=i(_,10),m=s(m,g,h,_,p,e[2],1836072691,14),h=i(h,10),p=s(p,m,g,h,_,e[10],1836072691,13),g=i(g,10),_=s(_,p,m,g,h,e[0],1836072691,13),m=i(m,10),h=s(h,_,p,m,g,e[4],1836072691,7),p=i(p,10),g=s(g,h,_,p,m,e[13],1836072691,5),_=i(_,10),m=o(m,g,h,_,p,e[8],2053994217,15),h=i(h,10),p=o(p,m,g,h,_,e[6],2053994217,5),g=i(g,10),_=o(_,p,m,g,h,e[4],2053994217,8),m=i(m,10),h=o(h,_,p,m,g,e[1],2053994217,11),p=i(p,10),g=o(g,h,_,p,m,e[3],2053994217,14),_=i(_,10),m=o(m,g,h,_,p,e[11],2053994217,14),h=i(h,10),p=o(p,m,g,h,_,e[15],2053994217,6),g=i(g,10),_=o(_,p,m,g,h,e[0],2053994217,14),m=i(m,10),h=o(h,_,p,m,g,e[5],2053994217,6),p=i(p,10),g=o(g,h,_,p,m,e[12],2053994217,9),_=i(_,10),m=o(m,g,h,_,p,e[2],2053994217,12),h=i(h,10),p=o(p,m,g,h,_,e[13],2053994217,9),g=i(g,10),_=o(_,p,m,g,h,e[9],2053994217,12),m=i(m,10),h=o(h,_,p,m,g,e[7],2053994217,5),p=i(p,10),g=o(g,h,_,p,m,e[10],2053994217,15),_=i(_,10),m=o(m,g,h,_,p,e[14],2053994217,8),h=i(h,10),p=a(p,m,g,h,_,e[12],0,8),g=i(g,10),_=a(_,p,m,g,h,e[15],0,5),m=i(m,10),h=a(h,_,p,m,g,e[10],0,12),p=i(p,10),g=a(g,h,_,p,m,e[4],0,9),_=i(_,10),m=a(m,g,h,_,p,e[1],0,12),h=i(h,10),p=a(p,m,g,h,_,e[5],0,5),g=i(g,10),_=a(_,p,m,g,h,e[8],0,14),m=i(m,10),h=a(h,_,p,m,g,e[7],0,6),p=i(p,10),g=a(g,h,_,p,m,e[6],0,8),_=i(_,10),m=a(m,g,h,_,p,e[2],0,13),h=i(h,10),p=a(p,m,g,h,_,e[13],0,6),g=i(g,10),_=a(_,p,m,g,h,e[14],0,5),m=i(m,10),h=a(h,_,p,m,g,e[0],0,15),p=i(p,10),g=a(g,h,_,p,m,e[3],0,13),_=i(_,10),m=a(m,g,h,_,p,e[9],0,11),h=i(h,10),p=a(p,m,g,h,_,e[11],0,11),g=i(g,10);var y=this._b+l+g|0;this._b=this._c+d+h|0,this._c=this._d+f+_|0,this._d=this._e+n+p|0,this._e=this._a+r+m|0,this._a=y},r.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=r}).call(t,n(2).Buffer)},function(e,t){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(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=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if(!i(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},n.prototype.emit=function(e){var t,n,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(n=this._events[e],o(n))return!1;if(r(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),n.apply(this,s)}else if(a(n))for(s=Array.prototype.slice.call(arguments,1),u=n.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},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function n(){this.removeListener(e,n),i||(i=!0,t.apply(this,arguments))}if(!r(t))throw TypeError("listener must be a function");var i=!1;return n.listener=t,this.on(e,n),this},n.prototype.removeListener=function(e,t){var n,i,o,s;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],o=n.length,i=-1,n===t||r(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(a(n)){for(s=o;s-- >0;)if(n[s]===t||n[s].listener&&n[s].listener===t){i=s;break}if(i<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,n;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(n=this._events[e],r(n))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},function(e,t,n){t=e.exports=n(41),t.Stream=t,t.Readable=t,t.Writable=n(30),t.Duplex=n(10),t.Transform=n(45),t.PassThrough=n(88)},function(e,t,n){"use strict";(function(t,r,i){function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){E(t,e)}}function o(e){return F.from(e)}function s(e){return F.isBuffer(e)||e instanceof M}function c(){}function u(e,t){A=A||n(10),e=e||{},this.objectMode=!!e.objectMode,t instanceof A&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var r=e.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,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 a(this)}function l(e){if(A=A||n(10),!(L.call(l,this)||this instanceof A))return new l(e);this._writableState=new u(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)),I.call(this)}function d(e,t){var n=new Error("write after end");e.emit("error",n),w(t,n)}function f(e,t,n,r){var i=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),w(r,a),i=!1),i}function _(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=F.from(t,n)),t}function p(e,t,n,r,i,a){if(!n){var o=_(t,r,i);r!==o&&(n=!0,i="buffer",r=o)}var s=t.objectMode?1:r.length;t.length+=s;var c=t.length-1?r:w;l.WritableState=u;var P=n(14);P.inherits=n(0);var O={deprecate:n(87)},I=n(42),F=n(1).Buffer,M=i.Uint8Array||function(){},R=n(43);P.inherits(l,I),u.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(u.prototype,"buffer",{get:O.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}();var L;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(L=Function.prototype[Symbol.hasInstance],Object.defineProperty(l,Symbol.hasInstance,{value:function(e){return!!L.call(this,e)||e&&e._writableState instanceof u}})):L=function(e){return e instanceof this},l.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},l.prototype.write=function(e,t,n){var r=this._writableState,i=!1,a=s(e)&&!r.objectMode;return a&&!F.isBuffer(e)&&(e=o(e)),"function"==typeof t&&(n=t,t=null),a?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof n&&(n=c),r.ended?d(this,n):(a||f(this,r,e,n))&&(r.pendingcb++,i=p(this,r,a,e,t,n)),i},l.prototype.cork=function(){this._writableState.corked++},l.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||x(this,e))},l.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},l.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},l.prototype._writev=null,l.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||T(this,r,n)},Object.defineProperty(l.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),l.prototype.destroy=R.destroy,l.prototype._undestroy=R.undestroy,l.prototype._destroy=function(e,t){this.end(),t(e)}}).call(t,n(8),n(44).setImmediate,n(7))},function(e,t,n){function r(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=n(2).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(/[-_]/,""),r(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 n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived=55296&&r<=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,r=t.charCodeAt(i);if(r>=55296&&r<=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 n=e[e.length-t];if(1==t&&n>>5==6){this.charLength=2;break}if(t<=2&&n>>4==14){this.charLength=3;break}if(t<=3&&n>>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 n=this.charReceived,r=this.charBuffer,i=this.encoding;t+=r.slice(0,n).toString(i)}return t}},function(e,t,n){var t=e.exports=function(e){e=e.toLowerCase();var n=t[e];if(!n)throw new Error(e+" is not supported (we accept pull requests)");return new n};t.sha=n(93),t.sha1=n(94),t.sha224=n(95),t.sha256=n(46),t.sha384=n(96),t.sha512=n(47)},function(e,t,n){function r(){return Object.keys(o)}var i=n(103),a=n(111),o=n(56);t.createCipher=t.Cipher=i.createCipher,t.createCipheriv=t.Cipheriv=i.createCipheriv,t.createDecipher=t.Decipher=a.createDecipher,t.createDecipheriv=t.Decipheriv=a.createDecipheriv,t.listCiphers=t.getCiphers=r},function(e,t,n){var r={ECB:n(104),CBC:n(105),CFB:n(106),CFB8:n(107),CFB1:n(108),OFB:n(109),CTR:n(54),GCM:n(54)},i=n(56);for(var a in i)i[a].module=r[i[a].mode];e.exports=i},function(e,t,n){"use strict";t.utils=n(113),t.Cipher=n(114),t.DES=n(115),t.CBC=n(116),t.EDE=n(117)},function(e,t,n){(function(t){function r(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,n){var i=r(n),a=n.modulus.byteLength(),s=(o.mont(n.modulus),new o(e).mul(i.blinder).umod(n.modulus)),c=s.toRed(o.mont(n.prime1)),u=s.toRed(o.mont(n.prime2)),l=n.coefficient,d=n.prime1,f=n.prime2,_=c.redPow(n.exponent1),p=u.redPow(n.exponent2);_=_.fromRed(),p=p.fromRed();var m=_.isub(p).imul(l).umod(d);return m.imul(f),p.iadd(m),new t(p.imul(i.unblinder).umod(n.modulus).toArray(!1,a))}function a(e){for(var t=e.modulus.byteLength(),n=new o(s(t));n.cmp(e.modulus)>=0||!n.umod(e.prime1)||!n.umod(e.prime2);)n=new o(s(t));return n}var o=n(3),s=n(12);e.exports=i,i.getr=a}).call(t,n(2).Buffer)},function(e,t,n){var r=t;r.utils=n(6),r.common=n(16),r.sha=n(134),r.ripemd=n(138),r.hmac=n(139),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},function(e,t,n){(function(t,n){!function(t,n){e.exports=n()}(0,function(){"use strict";function e(e){return void 0===e||null===e}function r(e){return void 0!==e&&null!==e}function i(e){return!0===e}function a(e){return!1===e}function o(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e}function s(e){return null!==e&&"object"==typeof e}function c(e){return"[object Object]"===wi.call(e)}function u(e){return"[object RegExp]"===wi.call(e)}function l(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function f(e){var t=parseFloat(e);return isNaN(t)?e:t}function _(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}function m(e,t){return Pi.call(e,t)}function g(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function h(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function y(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function v(e,t){for(var n in t)e[n]=t[n];return e}function b(e){for(var t={},n=0;n0&&(_e((s=pe(s,(n||"")+"_"+a))[0])&&_e(u)&&(l[c]=P(u.text+s[0].text),s.shift()),l.push.apply(l,s)):o(s)?_e(u)?l[c]=P(u.text+s):""!==s&&l.push(P(s)):_e(s)&&_e(u)?l[c]=P(u.text+s.text):(i(t._isVList)&&r(s.tag)&&e(s.key)&&r(n)&&(s.key="__vlist"+n+"_"+a+"__"),l.push(s)));return l}function me(e,t){return(e.__esModule||oa&&"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e)?t.extend(e):e}function ge(e,t,n,r,i){var a=_a();return a.asyncFactory=e,a.asyncMeta={data:t,context:n,children:r,tag:i},a}function he(t,n,a){if(i(t.error)&&r(t.errorComp))return t.errorComp;if(r(t.resolved))return t.resolved;if(i(t.loading)&&r(t.loadingComp))return t.loadingComp;if(!r(t.contexts)){var o=t.contexts=[a],c=!0,u=function(){for(var e=0,t=o.length;eLa&&Oa[n].id>e.id;)n--;Oa.splice(n+1,0,e)}else Oa.push(e);Ma||(Ma=!0,ae(Me))}}function ze(e){za.clear(),Ue(e,za)}function Ue(e,t){var n,r,i=Array.isArray(e);if((i||s(e))&&Object.isExtensible(e)){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(i)for(n=e.length;n--;)Ue(e[n],t);else for(n=(r=Object.keys(e)).length;n--;)Ue(e[r[n]],t)}}function Je(e,t,n){Ua.get=function(){return this[t][n]},Ua.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Ua)}function Ke(e){e._watchers=[];var t=e.$options;t.props&&qe(e,t.props),t.methods&&Xe(e,t.methods),t.data?Ve(e):R(e._data={},!0),t.computed&&We(e,t.computed),t.watch&&t.watch!==Zi&&Ye(e,t.watch)}function qe(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],a=!e.$parent;ha.shouldConvert=a;for(var o in t)!function(a){i.push(a);var o=X(a,t,n,e);L(r,a,o),a in e||Je(e,"_props",a)}(o);ha.shouldConvert=!0}function Ve(e){var t=e.$options.data;c(t=e._data="function"==typeof t?He(t,e):t||{})||(t={});for(var n=Object.keys(t),r=e.$options.props,i=n.length;i--;){var a=n[i];r&&m(r,a)||D(a)||Je(e,"_data",a)}R(t,!0)}function He(e,t){try{return e.call(t,t)}catch(e){return ee(e,t,"data()"),{}}}function We(e,t){var n=e._computedWatchers=Object.create(null),r=ia();for(var i in t){var a=t[i],o="function"==typeof a?a:a.get;r||(n[i]=new ja(e,o||x,x,Ja)),i in e||Ge(e,i,a)}}function Ge(e,t,n){var r=!ia();"function"==typeof n?(Ua.get=r?$e(t):n,Ua.set=x):(Ua.get=n.get?r&&!1!==n.cache?$e(t):n.get:x,Ua.set=n.set?n.set:x),Object.defineProperty(e,t,Ua)}function $e(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ua.target&&t.depend(),t.value}}function Xe(e,t){for(var n in t)e[n]=null==t[n]?x:h(t[n],e)}function Ye(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i=0||n.indexOf(e[i])<0)&&r.push(e[i]);return r}return e}function At(e){this._init(e)}function Nt(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=y(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}function Pt(e){e.mixin=function(e){return this.options=G(this.options,e),this}}function Ot(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var a=e.name||n.options.name,o=function(e){this._init(e)};return o.prototype=Object.create(n.prototype),o.prototype.constructor=o,o.cid=t++,o.options=G(n.options,e),o.super=n,o.options.props&&It(o),o.options.computed&&Ft(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,zi.forEach(function(e){o[e]=n[e]}),a&&(o.options.components[a]=o),o.superOptions=n.options,o.extendOptions=e,o.sealedOptions=v({},o.options),i[r]=o,o}}function It(e){var t=e.options.props;for(var n in t)Je(e.prototype,"_props",n)}function Ft(e){var t=e.options.computed;for(var n in t)Ge(e.prototype,n,t[n])}function Mt(e){zi.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&c(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}function Rt(e){return e&&(e.Ctor.options.name||e.tag)}function Lt(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!u(e)&&e.test(t)}function Bt(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var a in n){var o=n[a];if(o){var s=Rt(o.componentOptions);s&&!t(s)&&jt(n,a,r,i)}}}function jt(e,t,n,r){var i=e[t];i&&i!==r&&i.componentInstance.$destroy(),e[t]=null,p(n,t)}function zt(e){for(var t=e.data,n=e,i=e;r(i.componentInstance);)(i=i.componentInstance._vnode).data&&(t=Ut(i.data,t));for(;r(n=n.parent);)n.data&&(t=Ut(t,n.data));return Jt(t.staticClass,t.class)}function Ut(e,t){return{staticClass:Kt(e.staticClass,t.staticClass),class:r(e.class)?[e.class,t.class]:t.class}}function Jt(e,t){return r(e)||r(t)?Kt(e,qt(t)):""}function Kt(e,t){return e?t?e+" "+t:e:t||""}function qt(e){return Array.isArray(e)?Vt(e):s(e)?Ht(e):"string"==typeof e?e:""}function Vt(e){for(var t,n="",i=0,a=e.length;i=0&&" "===(g=e.charAt(m));m--);g&&Ao.test(g)||(l=!0)}}else void 0===a?(p=i+1,a=e.slice(0,i).trim()):t();if(void 0===a?a=e.slice(0,i).trim():0!==p&&t(),o)for(i=0;i-1?{exp:e.slice(0,Za),key:'"'+e.slice(Za+1)+'"'}:{exp:e,key:null};for(Ya=e,Za=eo=to=0;!kn();)Sn(Qa=xn())?Dn(Qa):91===Qa&&Cn(Qa);return{exp:e.slice(0,eo),key:e.slice(eo+1,to)}}function xn(){return Ya.charCodeAt(++Za)}function kn(){return Za>=Xa}function Sn(e){return 34===e||39===e}function Cn(e){var t=1;for(eo=Za;!kn();)if(e=xn(),Sn(e))Dn(e);else if(91===e&&t++,93===e&&t--,0===t){to=Za;break}}function Dn(e){for(var t=e;!kn()&&(e=xn())!==t;);}function Tn(e,t,n){var r=n&&n.number,i=gn(e,"value")||"null",a=gn(e,"true-value")||"true",o=gn(e,"false-value")||"false";fn(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===a?":("+t+")":":_q("+t+","+a+")")),mn(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+a+"):("+o+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+t+"=$$a.concat([$$v]))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+vn(t,"$$c")+"}",null,!0)}function En(e,t,n){var r=n&&n.number,i=gn(e,"value")||"null";fn(e,"checked","_q("+t+","+(i=r?"_n("+i+")":i)+")"),mn(e,"change",vn(t,i),null,!0)}function wn(e,t,n){var r='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";mn(e,"change",r=r+" "+vn(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),null,!0)}function An(e,t,n){var r=e.attrsMap.type,i=n||{},a=i.lazy,o=i.number,s=i.trim,c=!a&&"range"!==r,u=a?"change":"range"===r?No:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),o&&(l="_n("+l+")");var d=vn(t,l);c&&(d="if($event.target.composing)return;"+d),fn(e,"value","("+t+")"),mn(e,u,d,null,!0),(s||o)&&mn(e,"blur","$forceUpdate()")}function Nn(e){if(r(e[No])){var t=Gi?"change":"input";e[t]=[].concat(e[No],e[t]||[]),delete e[No]}r(e[Po])&&(e.change=[].concat(e[Po],e.change||[]),delete e[Po])}function Pn(e,t,n){var r=no;return function i(){null!==e.apply(null,arguments)&&In(t,i,n,r)}}function On(e,t,n,r,i){t=ie(t),n&&(t=Pn(t,e,r)),no.addEventListener(e,t,ea?{capture:r,passive:i}:r)}function In(e,t,n,r){(r||no).removeEventListener(e,t._withTask||t,n)}function Fn(t,n){if(!e(t.data.on)||!e(n.data.on)){var r=n.data.on||{},i=t.data.on||{};no=n.elm,Nn(r),se(r,i,On,In,n.context)}}function Mn(t,n){if(!e(t.data.domProps)||!e(n.data.domProps)){var i,a,o=n.elm,s=t.data.domProps||{},c=n.data.domProps||{};r(c.__ob__)&&(c=n.data.domProps=v({},c));for(i in s)e(c[i])&&(o[i]="");for(i in c){if(a=c[i],"textContent"===i||"innerHTML"===i){if(n.children&&(n.children.length=0),a===s[i])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===i){o._value=a;var u=e(a)?"":String(a);Rn(o,u)&&(o.value=u)}else o[i]=a}}}function Rn(e,t){return!e.composing&&("OPTION"===e.tagName||Ln(e,t)||Bn(e,t))}function Ln(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}function Bn(e,t){var n=e.value,i=e._vModifiers;return r(i)&&i.number?f(n)!==f(t):r(i)&&i.trim?n.trim()!==t.trim():n!==t}function jn(e){var t=zn(e.style);return e.staticStyle?v(e.staticStyle,t):t}function zn(e){return Array.isArray(e)?b(e):"string"==typeof e?Fo(e):e}function Un(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)(i=i.componentInstance._vnode).data&&(n=jn(i.data))&&v(r,n);(n=jn(e.data))&&v(r,n);for(var a=e;a=a.parent;)a.data&&(n=jn(a.data))&&v(r,n);return r}function Jn(t,n){var i=n.data,a=t.data;if(!(e(i.staticStyle)&&e(i.style)&&e(a.staticStyle)&&e(a.style))){var o,s,c=n.elm,u=a.staticStyle,l=a.normalizedStyle||a.style||{},d=u||l,f=zn(n.data.style)||{};n.data.normalizedStyle=r(f.__ob__)?v({},f):f;var _=Un(n,!0);for(s in d)e(_[s])&&Lo(c,s,"");for(s in _)(o=_[s])!==d[s]&&Lo(c,s,null==o?"":o)}}function Kn(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function qn(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Vn(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&v(t,Uo(e.name||"v")),v(t,e),t}return"string"==typeof e?Uo(e):void 0}}function Hn(e){$o(function(){$o(e)})}function Wn(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Kn(e,t))}function Gn(e,t){e._transitionClasses&&p(e._transitionClasses,t),qn(e,t)}function $n(e,t,n){var r=Xn(e,t),i=r.type,a=r.timeout,o=r.propCount;if(!i)return n();var s=i===Ko?Ho:Go,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=o&&u()};setTimeout(function(){c0&&(n=Ko,l=o,d=a.length):t===qo?u>0&&(n=qo,l=u,d=c.length):d=(n=(l=Math.max(o,u))>0?o>u?Ko:qo:null)?n===Ko?a.length:c.length:0,{type:n,timeout:l,propCount:d,hasTransform:n===Ko&&Xo.test(r[Vo+"Property"])}}function Yn(e,t){for(;e.length1}function rr(e,t){!0!==t.data.show&&Zn(t)}function ir(e,t,n){ar(e,t,n),(Gi||Xi)&&setTimeout(function(){ar(e,t,n)},0)}function ar(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var a,o,s=0,c=e.options.length;s-1,o.selected!==a&&(o.selected=a);else if(k(sr(o),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function or(e,t){return t.every(function(t){return!k(t,e)})}function sr(e){return"_value"in e?e._value:e.value}function cr(e){e.target.composing=!0}function ur(e){e.target.composing&&(e.target.composing=!1,lr(e.target,"input"))}function lr(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function dr(e){return!e.componentInstance||e.data&&e.data.transition?e:dr(e.componentInstance._vnode)}function fr(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?fr(ve(t.children)):e}function _r(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var a in i)t[Ii(a)]=i[a];return t}function pr(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function mr(e){for(;e=e.parent;)if(e.data.transition)return!0}function gr(e,t){return t.key===e.key&&t.tag===e.tag}function hr(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function yr(e){e.data.newPos=e.elm.getBoundingClientRect()}function vr(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var a=e.elm.style;a.transform=a.WebkitTransform="translate("+r+"px,"+i+"px)",a.transitionDuration="0s"}}function br(e,t){var n=t?ss(t):as;if(n.test(e)){for(var r,i,a=[],o=n.lastIndex=0;r=n.exec(e);){(i=r.index)>o&&a.push(JSON.stringify(e.slice(o,i)));var s=cn(r[1].trim());a.push("_s("+s+")"),o=i+r[0].length}return o=0&&o[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(var c=o.length-1;c>=i;c--)t.end&&t.end(o[c].tag,n,r);o.length=i,a=i&&o[i-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}for(var i,a,o=[],s=t.expectHTML,c=t.isUnaryTag||Li,u=t.canBeLeftOpenTag||Li,l=0;e;){if(i=e,a&&Fs(a)){var d=0,f=a.toLowerCase(),_=Ms[f]||(Ms[f]=new RegExp("([\\s\\S]*?)(]*>)","i")),p=e.replace(_,function(e,n,r){return d=r.length,Fs(f)||"noscript"===f||(n=n.replace(//g,"$1").replace(//g,"$1")),zs(f,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});l+=e.length-p.length,e=p,r(f,l-d,l)}else{var m=e.indexOf("<");if(0===m){if(xs.test(e)){var g=e.indexOf("--\x3e");if(g>=0){t.shouldKeepComment&&t.comment(e.substring(4,g)),n(g+3);continue}}if(ks.test(e)){var h=e.indexOf("]>");if(h>=0){n(h+2);continue}}var y=e.match(bs);if(y){n(y[0].length);continue}var v=e.match(vs);if(v){var b=l;n(v[0].length),r(v[1],b,l);continue}var x=function(){var t=e.match(hs);if(t){var r={tagName:t[1],attrs:[],start:l};n(t[0].length);for(var i,a;!(i=e.match(ys))&&(a=e.match(ps));)n(a[0].length),r.attrs.push(a);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=l,r}}();if(x){!function(e){var n=e.tagName,i=e.unarySlash;s&&("p"===a&&_s(n)&&r(a),u(n)&&a===n&&r(n));for(var l=c(n)||!!i,d=e.attrs.length,f=new Array(d),_=0;_=0){for(S=e.slice(m);!(vs.test(S)||hs.test(S)||xs.test(S)||ks.test(S)||(C=S.indexOf("<",1))<0);)m+=C,S=e.slice(m);k=e.substring(0,m),n(m)}m<0&&(k=e,e=""),t.chars&&k&&t.chars(k)}if(e===i){t.chars&&t.chars(e);break}}r()}function Sr(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:Ur(t),parent:n,children:[]}}function Cr(e,t){function n(e){e.pre&&(s=!1),As(e.tag)&&(c=!1)}Cs=t.warn||ln,As=t.isPreTag||Li,Ns=t.mustUseProp||Li,Ps=t.getTagNamespace||Li,Ts=dn(t.modules,"transformNode"),Es=dn(t.modules,"preTransformNode"),ws=dn(t.modules,"postTransformNode"),Ds=t.delimiters;var r,i,a=[],o=!1!==t.preserveWhitespace,s=!1,c=!1;return kr(e,{warn:Cs,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldKeepComment:t.comments,start:function(e,o,u){var l=i&&i.ns||Ps(e);Gi&&"svg"===l&&(o=qr(o));var d=Sr(e,o,i);l&&(d.ns=l),Kr(d)&&!ia()&&(d.forbidden=!0);for(var f=0;f0,Xi=Wi&&Wi.indexOf("edge/")>0,Yi=Wi&&Wi.indexOf("android")>0,Qi=Wi&&/iphone|ipad|ipod|ios/.test(Wi),Zi=(Wi&&/chrome\/\d+/.test(Wi),{}.watch),ea=!1;if(Hi)try{var ta={};Object.defineProperty(ta,"passive",{get:function(){ea=!0}}),window.addEventListener("test-passive",null,ta)}catch(e){}var na,ra,ia=function(){return void 0===na&&(na=!Hi&&void 0!==t&&"server"===t.process.env.VUE_ENV),na},aa=Hi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,oa="undefined"!=typeof Symbol&&w(Symbol)&&"undefined"!=typeof Reflect&&w(Reflect.ownKeys);ra="undefined"!=typeof Set&&w(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var sa=x,ca=0,ua=function(){this.id=ca++,this.subs=[]};ua.prototype.addSub=function(e){this.subs.push(e)},ua.prototype.removeSub=function(e){p(this.subs,e)},ua.prototype.depend=function(){ua.target&&ua.target.addDep(this)},ua.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t1?y(n):n;for(var r=y(arguments,1),i=0,a=n.length;iparseInt(this.max)&&jt(i,a[0],a,this._vnode)),e.data.keepAlive=!0}return e}}};!function(e){var t={};t.get=function(){return Ji},Object.defineProperty(e,"config",t),e.util={warn:sa,extend:v,mergeOptions:G,defineReactive:L},e.set=B,e.delete=j,e.nextTick=ae,e.options=Object.create(null),zi.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,v(e.options.components,$a),Nt(e),Pt(e),Ot(e),Mt(e)}(At),Object.defineProperty(At.prototype,"$isServer",{get:ia}),Object.defineProperty(At.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),At.version="2.5.2";var Xa,Ya,Qa,Za,eo,to,no,ro,io=_("style,class"),ao=_("input,textarea,option,select,progress"),oo=function(e,t,n){return"value"===n&&ao(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},so=_("contenteditable,draggable,spellcheck"),co=_("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),uo="http://www.w3.org/1999/xlink",lo=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},fo=function(e){return lo(e)?e.slice(6,e.length):""},_o=function(e){return null==e||!1===e},po={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},mo=_("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),go=_("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),ho=function(e){return mo(e)||go(e)},yo=Object.create(null),vo=_("text,number,password,search,email,tel,url"),bo=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(e,t){return document.createElementNS(po[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setAttribute:function(e,t,n){e.setAttribute(t,n)}}),xo={create:function(e,t){$t(t)},update:function(e,t){e.data.ref!==t.data.ref&&($t(e,!0),$t(t))},destroy:function(e){$t(e,!0)}},ko=new da("",{},[]),So=["create","activate","update","remove","destroy"],Co={create:Zt,update:Zt,destroy:function(e){Zt(e,ko)}},Do=Object.create(null),To=[xo,Co],Eo={create:an,update:an},wo={create:sn,update:sn},Ao=/[\w).+\-_$\]]/,No="__r",Po="__c",Oo={create:Fn,update:Fn},Io={create:Mn,update:Mn},Fo=g(function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach(function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}),Mo=/^--/,Ro=/\s*!important$/,Lo=function(e,t,n){if(Mo.test(t))e.style.setProperty(t,n);else if(Ro.test(n))e.style.setProperty(t,n.replace(Ro,""),"important");else{var r=jo(t);if(Array.isArray(n))for(var i=0,a=n.length;i_?y(t,e(i[g+1])?null:i[g+1].elm,i,f,g,a):f>g&&b(t,n,d,_)}function S(e,t,n,i){for(var a=n;a-1?yo[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:yo[e]=/HTMLUnknownElement/.test(t.toString())},v(At.options.directives,Qo),v(At.options.components,ns),At.prototype.__patch__=Hi?Yo:x,At.prototype.$mount=function(e,t){return e=e&&Hi?Gt(e):void 0,we(this,e,t)},At.nextTick(function(){Ji.devtools&&aa&&aa.emit("init",At)},0);var rs,is=!!Hi&&function(e,t){var n=document.createElement("div");return n.innerHTML='
',n.innerHTML.indexOf(" ")>0}(),as=/\{\{((?:.|\n)+?)\}\}/g,os=/[-.*+?^${}()|[\]\/\\]/g,ss=g(function(e){var t=e[0].replace(os,"\\$&"),n=e[1].replace(os,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}),cs={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=hn(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=gn(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}},us={staticKeys:["staticStyle"],transformNode:function(e,t){var n=hn(e,"style");n&&(e.staticStyle=JSON.stringify(Fo(n)));var r=gn(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},ls={decode:function(e){return rs=rs||document.createElement("div"),rs.innerHTML=e,rs.textContent}},ds=_("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),fs=_("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),_s=_("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),ps=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ms="[a-zA-Z_][\\w\\-\\.]*",gs="((?:"+ms+"\\:)?"+ms+")",hs=new RegExp("^<"+gs),ys=/^\s*(\/?)>/,vs=new RegExp("^<\\/"+gs+"[^>]*>"),bs=/^]+>/i,xs=/^/g,"$1").replace(//g,"$1")),zs(f,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});l+=e.length-p.length,e=p,r(f,l-d,l)}else{var m=e.indexOf("<");if(0===m){if(xs.test(e)){var g=e.indexOf("--\x3e");if(g>=0){t.shouldKeepComment&&t.comment(e.substring(4,g)),n(g+3);continue}}if(ks.test(e)){var h=e.indexOf("]>");if(h>=0){n(h+2);continue}}var y=e.match(bs);if(y){n(y[0].length);continue}var v=e.match(vs);if(v){var b=l;n(v[0].length),r(v[1],b,l);continue}var x=function(){var t=e.match(hs);if(t){var r={tagName:t[1],attrs:[],start:l};n(t[0].length);for(var i,a;!(i=e.match(ys))&&(a=e.match(ps));)n(a[0].length),r.attrs.push(a);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=l,r}}();if(x){!function(e){var n=e.tagName,i=e.unarySlash;s&&("p"===a&&_s(n)&&r(a),u(n)&&a===n&&r(n));for(var l=c(n)||!!i,d=e.attrs.length,f=new Array(d),_=0;_=0){for(S=e.slice(m);!(vs.test(S)||hs.test(S)||xs.test(S)||ks.test(S)||(C=S.indexOf("<",1))<0);)m+=C,S=e.slice(m);k=e.substring(0,m),n(m)}m<0&&(k=e,e=""),t.chars&&k&&t.chars(k)}if(e===i){t.chars&&t.chars(e);break}}r()}function Sr(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:Ur(t),parent:n,children:[]}}function Cr(e,t){function n(e){e.pre&&(s=!1),As(e.tag)&&(c=!1)}Cs=t.warn||ln,As=t.isPreTag||Li,Ns=t.mustUseProp||Li,Ps=t.getTagNamespace||Li,Ts=dn(t.modules,"transformNode"),Es=dn(t.modules,"preTransformNode"),ws=dn(t.modules,"postTransformNode"),Ds=t.delimiters;var r,i,a=[],o=!1!==t.preserveWhitespace,s=!1,c=!1;return kr(e,{warn:Cs,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldKeepComment:t.comments,start:function(e,o,u){var l=i&&i.ns||Ps(e);Gi&&"svg"===l&&(o=qr(o));var d=Sr(e,o,i);l&&(d.ns=l),Kr(d)&&!ia()&&(d.forbidden=!0);for(var f=0;f0,Xi=Wi&&Wi.indexOf("edge/")>0,Yi=Wi&&Wi.indexOf("android")>0,Qi=Wi&&/iphone|ipad|ipod|ios/.test(Wi),Zi=(Wi&&/chrome\/\d+/.test(Wi),{}.watch),ea=!1;if(Hi)try{var ta={};Object.defineProperty(ta,"passive",{get:function(){ea=!0}}),window.addEventListener("test-passive",null,ta)}catch(e){}var na,ra,ia=function(){return void 0===na&&(na=!Hi&&void 0!==t&&"server"===t.process.env.VUE_ENV),na},aa=Hi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,oa="undefined"!=typeof Symbol&&w(Symbol)&&"undefined"!=typeof Reflect&&w(Reflect.ownKeys);ra="undefined"!=typeof Set&&w(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var sa=x,ca=0,ua=function(){this.id=ca++,this.subs=[]};ua.prototype.addSub=function(e){this.subs.push(e)},ua.prototype.removeSub=function(e){p(this.subs,e)},ua.prototype.depend=function(){ua.target&&ua.target.addDep(this)},ua.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t1?y(n):n;for(var r=y(arguments,1),i=0,a=n.length;iparseInt(this.max)&&jt(i,a[0],a,this._vnode)),e.data.keepAlive=!0}return e}}};!function(e){var t={};t.get=function(){return Ji},Object.defineProperty(e,"config",t),e.util={warn:sa,extend:v,mergeOptions:G,defineReactive:L},e.set=B,e.delete=j,e.nextTick=ae,e.options=Object.create(null),zi.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,v(e.options.components,$a),Nt(e),Pt(e),Ot(e),Mt(e)}(At),Object.defineProperty(At.prototype,"$isServer",{get:ia}),Object.defineProperty(At.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),At.version="2.5.2";var Xa,Ya,Qa,Za,eo,to,no,ro,io=_("style,class"),ao=_("input,textarea,option,select,progress"),oo=function(e,t,n){return"value"===n&&ao(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},so=_("contenteditable,draggable,spellcheck"),co=_("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),uo="http://www.w3.org/1999/xlink",lo=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},fo=function(e){return lo(e)?e.slice(6,e.length):""},_o=function(e){return null==e||!1===e},po={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},mo=_("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),go=_("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),ho=function(e){return mo(e)||go(e)},yo=Object.create(null),vo=_("text,number,password,search,email,tel,url"),bo=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(e,t){return document.createElementNS(po[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setAttribute:function(e,t,n){e.setAttribute(t,n)}}),xo={create:function(e,t){$t(t)},update:function(e,t){e.data.ref!==t.data.ref&&($t(e,!0),$t(t))},destroy:function(e){$t(e,!0)}},ko=new da("",{},[]),So=["create","activate","update","remove","destroy"],Co={create:Zt,update:Zt,destroy:function(e){Zt(e,ko)}},Do=Object.create(null),To=[xo,Co],Eo={create:an,update:an},wo={create:sn,update:sn},Ao=/[\w).+\-_$\]]/,No="__r",Po="__c",Oo={create:Fn,update:Fn},Io={create:Mn,update:Mn},Fo=g(function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach(function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}),Mo=/^--/,Ro=/\s*!important$/,Lo=function(e,t,n){if(Mo.test(t))e.style.setProperty(t,n);else if(Ro.test(n))e.style.setProperty(t,n.replace(Ro,""),"important");else{var r=jo(t);if(Array.isArray(n))for(var i=0,a=n.length;i_?y(t,e(i[g+1])?null:i[g+1].elm,i,f,g,a):f>g&&b(t,n,d,_)}function S(e,t,n,i){for(var a=n;a-1?yo[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:yo[e]=/HTMLUnknownElement/.test(t.toString())},v(At.options.directives,Qo),v(At.options.components,ns),At.prototype.__patch__=Hi?Yo:x,At.prototype.$mount=function(e,t){return e=e&&Hi?Gt(e):void 0,we(this,e,t)},At.nextTick(function(){Ji.devtools&&aa&&aa.emit("init",At)},0);var rs,is=!!Hi&&function(e,t){var n=document.createElement("div");return n.innerHTML='
',n.innerHTML.indexOf(" ")>0}(),as=/\{\{((?:.|\n)+?)\}\}/g,os=/[-.*+?^${}()|[\]\/\\]/g,ss=g(function(e){var t=e[0].replace(os,"\\$&"),n=e[1].replace(os,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}),cs={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=hn(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=gn(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}},us={staticKeys:["staticStyle"],transformNode:function(e,t){var n=hn(e,"style");n&&(e.staticStyle=JSON.stringify(Fo(n)));var r=gn(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},ls={decode:function(e){return rs=rs||document.createElement("div"),rs.innerHTML=e,rs.textContent}},ds=_("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),fs=_("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),_s=_("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),ps=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ms="[a-zA-Z_][\\w\\-\\.]*",gs="((?:"+ms+"\\:)?"+ms+")",hs=new RegExp("^<"+gs),ys=/^\s*(\/?)>/,vs=new RegExp("^<\\/"+gs+"[^>]*>"),bs=/^]+>/i,xs=/^