!function(e){var n={};function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)t.d(r,a,function(n){return e[n]}.bind(null,a));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=8)}([function(e,n,t){"use strict";(function(e,r,a){t.d(n,"c",(function(){return f})),t.d(n,"a",(function(){return g})),t.d(n,"b",(function(){return _})); /*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */ var i,o=function(){for(var e=0,n=0,t=arguments.length;n0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]0;for(var t=0,r=e;t>1);switch(a(t(e[l]),n)){case-1:o=l+1;break;case 0:return l;case 1:s=l-1}}return~o}function f(e,n,t,r,a){if(e&&e.length>0){var i=e.length;if(i>0){var o=void 0===r||r<0?0:r,s=void 0===a||o+a>i-1?i-1:o+a,l=void 0;for(arguments.length<=2?(l=e[o],o++):l=t;o<=s;)l=n(l,e[o],o),o++;return l}}return t}e.emptyArray=[],e.Map=e.tryGetNativeMap()||function(){if("function"==typeof e.createMapShim)return e.createMapShim();throw new Error("TypeScript requires an environment that provides a compatible native Map implementation.")}(),e.createMap=n,e.createMapFromEntries=function(e){for(var t=n(),r=0,a=e;r=0;t--){var r=n(e[t],t);if(r)return r}},e.firstDefined=function(e,n){if(void 0!==e)for(var t=0;t=0;t--){var r=e[t];if(n(r,t))return r}},e.findIndex=function(e,n,t){for(var r=t||0;r=0;r--)if(n(e[r],r))return r;return-1},e.findMap=function(n,t){for(var r=0;r0&&e.Debug.assertGreaterThanOrEqual(r(t[o],t[o-1]),0);n:for(var s=i;is&&e.Debug.assertGreaterThanOrEqual(r(n[i],n[i-1]),0),r(t[o],n[i])){case-1:a.push(t[o]);continue e;case 0:continue e;case 1:continue n}}return a},e.sum=function(e,n){for(var t=0,r=0,a=e;rn?1:0}function I(e,n){return C(e,n)}e.hasProperty=_,e.getProperty=function(e,n){return g.call(e,n)?e[n]:void 0},e.getOwnKeys=function(e){var n=[];for(var t in e)g.call(e,t)&&n.push(t);return n},e.getAllKeys=function(e){var n=[];do{for(var t=0,r=Object.getOwnPropertyNames(e);t0?1:0}function a(e){var n=new Intl.Collator(e,{usage:"sort",sensitivity:"variant"}).compare;return function(e,t){return r(e,t,n)}}function i(e){return void 0!==e?o():function(e,t){return r(e,t,n)};function n(e,n){return e.localeCompare(n)}}function o(){return function(n,t){return r(n,t,e)};function e(e,t){return n(e.toUpperCase(),t.toUpperCase())||n(e,t)}function n(e,n){return en?1:0}}}();function N(e,n,t){for(var r=new Array(n.length+1),a=new Array(n.length+1),i=t+1,o=0;o<=n.length;o++)r[o]=o;for(o=1;o<=e.length;o++){var s=e.charCodeAt(o-1),l=o>t?o-t:1,c=n.length>t+o?t+o:n.length;a[0]=o;for(var d=o,u=1;ut)return;var p=r;r=a,a=p}var f=r[n.length];return f>t?void 0:f}function w(e,n){var t=e.length-n.length;return t>=0&&e.indexOf(n,t)===t}function P(e,n){for(var t=n;t=t.length+r.length&&V(n,t)&&w(n,r)}e.getUILocale=function(){return O},e.setUILocale=function(e){O!==e&&(O=e,M=void 0)},e.compareStringsCaseSensitiveUI=function(e,n){return(M||(M=k(O)))(e,n)},e.compareProperties=function(e,n,t,r){return e===n?0:void 0===e?-1:void 0===n?1:r(e[t],n[t])},e.compareBooleans=function(e,n){return D(e?1:0,n?1:0)},e.getSpellingSuggestion=function(n,t,r){for(var a,i=Math.min(2,Math.floor(.34*n.length)),o=Math.floor(.4*n.length)+1,s=!1,l=n.toLowerCase(),c=0,d=t;ca&&(a=l.prefix.length,r=s)}return r},e.startsWith=V,e.removePrefix=function(e,n){return V(e,n)?e.substr(n.length):e},e.tryRemovePrefix=function(e,n,t){return void 0===t&&(t=L),V(t(e),t(n))?e.substring(n.length):void 0},e.and=function(e,n){return function(t){return e(t)&&n(t)}},e.or=function(){for(var e=[],n=0;n=e}function r(e,n,t,i){e||(t&&(n+="\r\nVerbose Debug Information: "+("string"==typeof t?t:t())),a(n?"False expression: "+n:"False expression.",i||r))}function a(e,n){var t=new Error(e?"Debug Failure. "+e:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(t,n||a),t}function i(e,n){return null==e?a(n):e}function o(e){if("function"!=typeof e)return"";if(e.hasOwnProperty("name"))return e.name;var n=Function.prototype.toString.call(e),t=/^function\s+([\w\$]+)\s*\(/.exec(n);return t?t[1]:""}function s(n,t,r){void 0===n&&(n=0);var a=function(n){var t=[];for(var r in n){var a=n[r];"number"==typeof a&&t.push([a,r])}return e.stableSort(t,(function(n,t){return e.compareValues(n[0],t[0])}))}(t);if(0===n)return a.length>0&&0===a[0][0]?a[0][1]:"0";if(r){for(var i="",o=n,s=a.length-1;s>=0&&0!==o;s--){var l=a[s],c=l[0],d=l[1];0!==c&&(o&c)===c&&(o&=~c,i=d+(i?"|":"")+i)}if(0===o)return i}else for(var u=0,m=a;u=n&&a("Expected "+e+" < "+n+". "+(t||""))},n.assertLessThanOrEqual=function(e,n){e>n&&a("Expected "+e+" <= "+n)},n.assertGreaterThanOrEqual=function(e,n){e= "+n)},n.fail=a,n.assertDefined=i,n.assertEachDefined=function(e,n){for(var t=0,r=e;t=0,"Invalid argument: major"),e.Debug.assert(a>=0,"Invalid argument: minor"),e.Debug.assert(i>=0,"Invalid argument: patch"),e.Debug.assert(!s||t.test(s),"Invalid argument: prerelease"),e.Debug.assert(!l||r.test(l),"Invalid argument: build"),this.major=n,this.minor=a,this.patch=i,this.prerelease=s?s.split("."):e.emptyArray,this.build=l?l.split("."):e.emptyArray}return n.tryParse=function(e){var t=o(e);if(t)return new n(t.major,t.minor,t.patch,t.prerelease,t.build)},n.prototype.compareTo=function(n){return this===n?0:void 0===n?1:e.compareValues(this.major,n.major)||e.compareValues(this.minor,n.minor)||e.compareValues(this.patch,n.patch)||function(n,t){if(n===t)return 0;if(0===n.length)return 0===t.length?0:1;if(0===t.length)return-1;for(var r=Math.min(n.length,t.length),i=0;i|>=|=)?\s*([a-z0-9-+.*]+)$/i;function p(e){for(var n=[],t=0,r=e.trim().split(l);t=",r.version)),y(a.major)||t.push(y(a.minor)?v("<",a.version.increment("major")):y(a.patch)?v("<",a.version.increment("minor")):v("<=",a.version)),!0)}function _(e,n,t){var r=f(n);if(!r)return!1;var a=r.version,o=r.major,s=r.minor,l=r.patch;if(y(o))"<"!==e&&">"!==e||t.push(v("<",i.zero));else switch(e){case"~":t.push(v(">=",a)),t.push(v("<",a.increment(y(s)?"major":"minor")));break;case"^":t.push(v(">=",a)),t.push(v("<",a.increment(a.major>0||y(s)?"major":a.minor>0||y(l)?"minor":"patch")));break;case"<":case">=":t.push(v(e,a));break;case"<=":case">":t.push(y(s)?v("<="===e?"<":">=",a.increment("major")):y(l)?v("<="===e?"<":">=",a.increment("minor")):v(e,a));break;case"=":case void 0:y(s)||y(l)?(t.push(v(">=",a)),t.push(v("<",a.increment(y(s)?"major":"minor")))):t.push(v("=",a));break;default:return!1}return!0}function y(e){return"*"===e||"x"===e||"X"===e}function v(e,n){return{operator:e,operand:n}}function h(e,n){for(var t=0,r=n;t":return a>0;case">=":return a>=0;case"=":return 0===a;default:return e.Debug.assertNever(t)}}function E(n){return e.map(n,T).join(" ")}function T(e){return""+e.operator+e.operand}}(u||(u={})),function(e){!function(e){e[e.Unknown=0]="Unknown",e[e.EndOfFileToken=1]="EndOfFileToken",e[e.SingleLineCommentTrivia=2]="SingleLineCommentTrivia",e[e.MultiLineCommentTrivia=3]="MultiLineCommentTrivia",e[e.NewLineTrivia=4]="NewLineTrivia",e[e.WhitespaceTrivia=5]="WhitespaceTrivia",e[e.ShebangTrivia=6]="ShebangTrivia",e[e.ConflictMarkerTrivia=7]="ConflictMarkerTrivia",e[e.NumericLiteral=8]="NumericLiteral",e[e.BigIntLiteral=9]="BigIntLiteral",e[e.StringLiteral=10]="StringLiteral",e[e.JsxText=11]="JsxText",e[e.JsxTextAllWhiteSpaces=12]="JsxTextAllWhiteSpaces",e[e.RegularExpressionLiteral=13]="RegularExpressionLiteral",e[e.NoSubstitutionTemplateLiteral=14]="NoSubstitutionTemplateLiteral",e[e.TemplateHead=15]="TemplateHead",e[e.TemplateMiddle=16]="TemplateMiddle",e[e.TemplateTail=17]="TemplateTail",e[e.OpenBraceToken=18]="OpenBraceToken",e[e.CloseBraceToken=19]="CloseBraceToken",e[e.OpenParenToken=20]="OpenParenToken",e[e.CloseParenToken=21]="CloseParenToken",e[e.OpenBracketToken=22]="OpenBracketToken",e[e.CloseBracketToken=23]="CloseBracketToken",e[e.DotToken=24]="DotToken",e[e.DotDotDotToken=25]="DotDotDotToken",e[e.SemicolonToken=26]="SemicolonToken",e[e.CommaToken=27]="CommaToken",e[e.QuestionDotToken=28]="QuestionDotToken",e[e.LessThanToken=29]="LessThanToken",e[e.LessThanSlashToken=30]="LessThanSlashToken",e[e.GreaterThanToken=31]="GreaterThanToken",e[e.LessThanEqualsToken=32]="LessThanEqualsToken",e[e.GreaterThanEqualsToken=33]="GreaterThanEqualsToken",e[e.EqualsEqualsToken=34]="EqualsEqualsToken",e[e.ExclamationEqualsToken=35]="ExclamationEqualsToken",e[e.EqualsEqualsEqualsToken=36]="EqualsEqualsEqualsToken",e[e.ExclamationEqualsEqualsToken=37]="ExclamationEqualsEqualsToken",e[e.EqualsGreaterThanToken=38]="EqualsGreaterThanToken",e[e.PlusToken=39]="PlusToken",e[e.MinusToken=40]="MinusToken",e[e.AsteriskToken=41]="AsteriskToken",e[e.AsteriskAsteriskToken=42]="AsteriskAsteriskToken",e[e.SlashToken=43]="SlashToken",e[e.PercentToken=44]="PercentToken",e[e.PlusPlusToken=45]="PlusPlusToken",e[e.MinusMinusToken=46]="MinusMinusToken",e[e.LessThanLessThanToken=47]="LessThanLessThanToken",e[e.GreaterThanGreaterThanToken=48]="GreaterThanGreaterThanToken",e[e.GreaterThanGreaterThanGreaterThanToken=49]="GreaterThanGreaterThanGreaterThanToken",e[e.AmpersandToken=50]="AmpersandToken",e[e.BarToken=51]="BarToken",e[e.CaretToken=52]="CaretToken",e[e.ExclamationToken=53]="ExclamationToken",e[e.TildeToken=54]="TildeToken",e[e.AmpersandAmpersandToken=55]="AmpersandAmpersandToken",e[e.BarBarToken=56]="BarBarToken",e[e.QuestionToken=57]="QuestionToken",e[e.ColonToken=58]="ColonToken",e[e.AtToken=59]="AtToken",e[e.QuestionQuestionToken=60]="QuestionQuestionToken",e[e.BacktickToken=61]="BacktickToken",e[e.EqualsToken=62]="EqualsToken",e[e.PlusEqualsToken=63]="PlusEqualsToken",e[e.MinusEqualsToken=64]="MinusEqualsToken",e[e.AsteriskEqualsToken=65]="AsteriskEqualsToken",e[e.AsteriskAsteriskEqualsToken=66]="AsteriskAsteriskEqualsToken",e[e.SlashEqualsToken=67]="SlashEqualsToken",e[e.PercentEqualsToken=68]="PercentEqualsToken",e[e.LessThanLessThanEqualsToken=69]="LessThanLessThanEqualsToken",e[e.GreaterThanGreaterThanEqualsToken=70]="GreaterThanGreaterThanEqualsToken",e[e.GreaterThanGreaterThanGreaterThanEqualsToken=71]="GreaterThanGreaterThanGreaterThanEqualsToken",e[e.AmpersandEqualsToken=72]="AmpersandEqualsToken",e[e.BarEqualsToken=73]="BarEqualsToken",e[e.CaretEqualsToken=74]="CaretEqualsToken",e[e.Identifier=75]="Identifier",e[e.BreakKeyword=76]="BreakKeyword",e[e.CaseKeyword=77]="CaseKeyword",e[e.CatchKeyword=78]="CatchKeyword",e[e.ClassKeyword=79]="ClassKeyword",e[e.ConstKeyword=80]="ConstKeyword",e[e.ContinueKeyword=81]="ContinueKeyword",e[e.DebuggerKeyword=82]="DebuggerKeyword",e[e.DefaultKeyword=83]="DefaultKeyword",e[e.DeleteKeyword=84]="DeleteKeyword",e[e.DoKeyword=85]="DoKeyword",e[e.ElseKeyword=86]="ElseKeyword",e[e.EnumKeyword=87]="EnumKeyword",e[e.ExportKeyword=88]="ExportKeyword",e[e.ExtendsKeyword=89]="ExtendsKeyword",e[e.FalseKeyword=90]="FalseKeyword",e[e.FinallyKeyword=91]="FinallyKeyword",e[e.ForKeyword=92]="ForKeyword",e[e.FunctionKeyword=93]="FunctionKeyword",e[e.IfKeyword=94]="IfKeyword",e[e.ImportKeyword=95]="ImportKeyword",e[e.InKeyword=96]="InKeyword",e[e.InstanceOfKeyword=97]="InstanceOfKeyword",e[e.NewKeyword=98]="NewKeyword",e[e.NullKeyword=99]="NullKeyword",e[e.ReturnKeyword=100]="ReturnKeyword",e[e.SuperKeyword=101]="SuperKeyword",e[e.SwitchKeyword=102]="SwitchKeyword",e[e.ThisKeyword=103]="ThisKeyword",e[e.ThrowKeyword=104]="ThrowKeyword",e[e.TrueKeyword=105]="TrueKeyword",e[e.TryKeyword=106]="TryKeyword",e[e.TypeOfKeyword=107]="TypeOfKeyword",e[e.VarKeyword=108]="VarKeyword",e[e.VoidKeyword=109]="VoidKeyword",e[e.WhileKeyword=110]="WhileKeyword",e[e.WithKeyword=111]="WithKeyword",e[e.ImplementsKeyword=112]="ImplementsKeyword",e[e.InterfaceKeyword=113]="InterfaceKeyword",e[e.LetKeyword=114]="LetKeyword",e[e.PackageKeyword=115]="PackageKeyword",e[e.PrivateKeyword=116]="PrivateKeyword",e[e.ProtectedKeyword=117]="ProtectedKeyword",e[e.PublicKeyword=118]="PublicKeyword",e[e.StaticKeyword=119]="StaticKeyword",e[e.YieldKeyword=120]="YieldKeyword",e[e.AbstractKeyword=121]="AbstractKeyword",e[e.AsKeyword=122]="AsKeyword",e[e.AssertsKeyword=123]="AssertsKeyword",e[e.AnyKeyword=124]="AnyKeyword",e[e.AsyncKeyword=125]="AsyncKeyword",e[e.AwaitKeyword=126]="AwaitKeyword",e[e.BooleanKeyword=127]="BooleanKeyword",e[e.ConstructorKeyword=128]="ConstructorKeyword",e[e.DeclareKeyword=129]="DeclareKeyword",e[e.GetKeyword=130]="GetKeyword",e[e.InferKeyword=131]="InferKeyword",e[e.IsKeyword=132]="IsKeyword",e[e.KeyOfKeyword=133]="KeyOfKeyword",e[e.ModuleKeyword=134]="ModuleKeyword",e[e.NamespaceKeyword=135]="NamespaceKeyword",e[e.NeverKeyword=136]="NeverKeyword",e[e.ReadonlyKeyword=137]="ReadonlyKeyword",e[e.RequireKeyword=138]="RequireKeyword",e[e.NumberKeyword=139]="NumberKeyword",e[e.ObjectKeyword=140]="ObjectKeyword",e[e.SetKeyword=141]="SetKeyword",e[e.StringKeyword=142]="StringKeyword",e[e.SymbolKeyword=143]="SymbolKeyword",e[e.TypeKeyword=144]="TypeKeyword",e[e.UndefinedKeyword=145]="UndefinedKeyword",e[e.UniqueKeyword=146]="UniqueKeyword",e[e.UnknownKeyword=147]="UnknownKeyword",e[e.FromKeyword=148]="FromKeyword",e[e.GlobalKeyword=149]="GlobalKeyword",e[e.BigIntKeyword=150]="BigIntKeyword",e[e.OfKeyword=151]="OfKeyword",e[e.QualifiedName=152]="QualifiedName",e[e.ComputedPropertyName=153]="ComputedPropertyName",e[e.TypeParameter=154]="TypeParameter",e[e.Parameter=155]="Parameter",e[e.Decorator=156]="Decorator",e[e.PropertySignature=157]="PropertySignature",e[e.PropertyDeclaration=158]="PropertyDeclaration",e[e.MethodSignature=159]="MethodSignature",e[e.MethodDeclaration=160]="MethodDeclaration",e[e.Constructor=161]="Constructor",e[e.GetAccessor=162]="GetAccessor",e[e.SetAccessor=163]="SetAccessor",e[e.CallSignature=164]="CallSignature",e[e.ConstructSignature=165]="ConstructSignature",e[e.IndexSignature=166]="IndexSignature",e[e.TypePredicate=167]="TypePredicate",e[e.TypeReference=168]="TypeReference",e[e.FunctionType=169]="FunctionType",e[e.ConstructorType=170]="ConstructorType",e[e.TypeQuery=171]="TypeQuery",e[e.TypeLiteral=172]="TypeLiteral",e[e.ArrayType=173]="ArrayType",e[e.TupleType=174]="TupleType",e[e.OptionalType=175]="OptionalType",e[e.RestType=176]="RestType",e[e.UnionType=177]="UnionType",e[e.IntersectionType=178]="IntersectionType",e[e.ConditionalType=179]="ConditionalType",e[e.InferType=180]="InferType",e[e.ParenthesizedType=181]="ParenthesizedType",e[e.ThisType=182]="ThisType",e[e.TypeOperator=183]="TypeOperator",e[e.IndexedAccessType=184]="IndexedAccessType",e[e.MappedType=185]="MappedType",e[e.LiteralType=186]="LiteralType",e[e.ImportType=187]="ImportType",e[e.ObjectBindingPattern=188]="ObjectBindingPattern",e[e.ArrayBindingPattern=189]="ArrayBindingPattern",e[e.BindingElement=190]="BindingElement",e[e.ArrayLiteralExpression=191]="ArrayLiteralExpression",e[e.ObjectLiteralExpression=192]="ObjectLiteralExpression",e[e.PropertyAccessExpression=193]="PropertyAccessExpression",e[e.ElementAccessExpression=194]="ElementAccessExpression",e[e.CallExpression=195]="CallExpression",e[e.NewExpression=196]="NewExpression",e[e.TaggedTemplateExpression=197]="TaggedTemplateExpression",e[e.TypeAssertionExpression=198]="TypeAssertionExpression",e[e.ParenthesizedExpression=199]="ParenthesizedExpression",e[e.FunctionExpression=200]="FunctionExpression",e[e.ArrowFunction=201]="ArrowFunction",e[e.DeleteExpression=202]="DeleteExpression",e[e.TypeOfExpression=203]="TypeOfExpression",e[e.VoidExpression=204]="VoidExpression",e[e.AwaitExpression=205]="AwaitExpression",e[e.PrefixUnaryExpression=206]="PrefixUnaryExpression",e[e.PostfixUnaryExpression=207]="PostfixUnaryExpression",e[e.BinaryExpression=208]="BinaryExpression",e[e.ConditionalExpression=209]="ConditionalExpression",e[e.TemplateExpression=210]="TemplateExpression",e[e.YieldExpression=211]="YieldExpression",e[e.SpreadElement=212]="SpreadElement",e[e.ClassExpression=213]="ClassExpression",e[e.OmittedExpression=214]="OmittedExpression",e[e.ExpressionWithTypeArguments=215]="ExpressionWithTypeArguments",e[e.AsExpression=216]="AsExpression",e[e.NonNullExpression=217]="NonNullExpression",e[e.MetaProperty=218]="MetaProperty",e[e.SyntheticExpression=219]="SyntheticExpression",e[e.TemplateSpan=220]="TemplateSpan",e[e.SemicolonClassElement=221]="SemicolonClassElement",e[e.Block=222]="Block",e[e.EmptyStatement=223]="EmptyStatement",e[e.VariableStatement=224]="VariableStatement",e[e.ExpressionStatement=225]="ExpressionStatement",e[e.IfStatement=226]="IfStatement",e[e.DoStatement=227]="DoStatement",e[e.WhileStatement=228]="WhileStatement",e[e.ForStatement=229]="ForStatement",e[e.ForInStatement=230]="ForInStatement",e[e.ForOfStatement=231]="ForOfStatement",e[e.ContinueStatement=232]="ContinueStatement",e[e.BreakStatement=233]="BreakStatement",e[e.ReturnStatement=234]="ReturnStatement",e[e.WithStatement=235]="WithStatement",e[e.SwitchStatement=236]="SwitchStatement",e[e.LabeledStatement=237]="LabeledStatement",e[e.ThrowStatement=238]="ThrowStatement",e[e.TryStatement=239]="TryStatement",e[e.DebuggerStatement=240]="DebuggerStatement",e[e.VariableDeclaration=241]="VariableDeclaration",e[e.VariableDeclarationList=242]="VariableDeclarationList",e[e.FunctionDeclaration=243]="FunctionDeclaration",e[e.ClassDeclaration=244]="ClassDeclaration",e[e.InterfaceDeclaration=245]="InterfaceDeclaration",e[e.TypeAliasDeclaration=246]="TypeAliasDeclaration",e[e.EnumDeclaration=247]="EnumDeclaration",e[e.ModuleDeclaration=248]="ModuleDeclaration",e[e.ModuleBlock=249]="ModuleBlock",e[e.CaseBlock=250]="CaseBlock",e[e.NamespaceExportDeclaration=251]="NamespaceExportDeclaration",e[e.ImportEqualsDeclaration=252]="ImportEqualsDeclaration",e[e.ImportDeclaration=253]="ImportDeclaration",e[e.ImportClause=254]="ImportClause",e[e.NamespaceImport=255]="NamespaceImport",e[e.NamedImports=256]="NamedImports",e[e.ImportSpecifier=257]="ImportSpecifier",e[e.ExportAssignment=258]="ExportAssignment",e[e.ExportDeclaration=259]="ExportDeclaration",e[e.NamedExports=260]="NamedExports",e[e.ExportSpecifier=261]="ExportSpecifier",e[e.MissingDeclaration=262]="MissingDeclaration",e[e.ExternalModuleReference=263]="ExternalModuleReference",e[e.JsxElement=264]="JsxElement",e[e.JsxSelfClosingElement=265]="JsxSelfClosingElement",e[e.JsxOpeningElement=266]="JsxOpeningElement",e[e.JsxClosingElement=267]="JsxClosingElement",e[e.JsxFragment=268]="JsxFragment",e[e.JsxOpeningFragment=269]="JsxOpeningFragment",e[e.JsxClosingFragment=270]="JsxClosingFragment",e[e.JsxAttribute=271]="JsxAttribute",e[e.JsxAttributes=272]="JsxAttributes",e[e.JsxSpreadAttribute=273]="JsxSpreadAttribute",e[e.JsxExpression=274]="JsxExpression",e[e.CaseClause=275]="CaseClause",e[e.DefaultClause=276]="DefaultClause",e[e.HeritageClause=277]="HeritageClause",e[e.CatchClause=278]="CatchClause",e[e.PropertyAssignment=279]="PropertyAssignment",e[e.ShorthandPropertyAssignment=280]="ShorthandPropertyAssignment",e[e.SpreadAssignment=281]="SpreadAssignment",e[e.EnumMember=282]="EnumMember",e[e.UnparsedPrologue=283]="UnparsedPrologue",e[e.UnparsedPrepend=284]="UnparsedPrepend",e[e.UnparsedText=285]="UnparsedText",e[e.UnparsedInternalText=286]="UnparsedInternalText",e[e.UnparsedSyntheticReference=287]="UnparsedSyntheticReference",e[e.SourceFile=288]="SourceFile",e[e.Bundle=289]="Bundle",e[e.UnparsedSource=290]="UnparsedSource",e[e.InputFiles=291]="InputFiles",e[e.JSDocTypeExpression=292]="JSDocTypeExpression",e[e.JSDocAllType=293]="JSDocAllType",e[e.JSDocUnknownType=294]="JSDocUnknownType",e[e.JSDocNullableType=295]="JSDocNullableType",e[e.JSDocNonNullableType=296]="JSDocNonNullableType",e[e.JSDocOptionalType=297]="JSDocOptionalType",e[e.JSDocFunctionType=298]="JSDocFunctionType",e[e.JSDocVariadicType=299]="JSDocVariadicType",e[e.JSDocNamepathType=300]="JSDocNamepathType",e[e.JSDocComment=301]="JSDocComment",e[e.JSDocTypeLiteral=302]="JSDocTypeLiteral",e[e.JSDocSignature=303]="JSDocSignature",e[e.JSDocTag=304]="JSDocTag",e[e.JSDocAugmentsTag=305]="JSDocAugmentsTag",e[e.JSDocAuthorTag=306]="JSDocAuthorTag",e[e.JSDocClassTag=307]="JSDocClassTag",e[e.JSDocCallbackTag=308]="JSDocCallbackTag",e[e.JSDocEnumTag=309]="JSDocEnumTag",e[e.JSDocParameterTag=310]="JSDocParameterTag",e[e.JSDocReturnTag=311]="JSDocReturnTag",e[e.JSDocThisTag=312]="JSDocThisTag",e[e.JSDocTypeTag=313]="JSDocTypeTag",e[e.JSDocTemplateTag=314]="JSDocTemplateTag",e[e.JSDocTypedefTag=315]="JSDocTypedefTag",e[e.JSDocPropertyTag=316]="JSDocPropertyTag",e[e.SyntaxList=317]="SyntaxList",e[e.NotEmittedStatement=318]="NotEmittedStatement",e[e.PartiallyEmittedExpression=319]="PartiallyEmittedExpression",e[e.CommaListExpression=320]="CommaListExpression",e[e.MergeDeclarationMarker=321]="MergeDeclarationMarker",e[e.EndOfDeclarationMarker=322]="EndOfDeclarationMarker",e[e.SyntheticReferenceExpression=323]="SyntheticReferenceExpression",e[e.Count=324]="Count",e[e.FirstAssignment=62]="FirstAssignment",e[e.LastAssignment=74]="LastAssignment",e[e.FirstCompoundAssignment=63]="FirstCompoundAssignment",e[e.LastCompoundAssignment=74]="LastCompoundAssignment",e[e.FirstReservedWord=76]="FirstReservedWord",e[e.LastReservedWord=111]="LastReservedWord",e[e.FirstKeyword=76]="FirstKeyword",e[e.LastKeyword=151]="LastKeyword",e[e.FirstFutureReservedWord=112]="FirstFutureReservedWord",e[e.LastFutureReservedWord=120]="LastFutureReservedWord",e[e.FirstTypeNode=167]="FirstTypeNode",e[e.LastTypeNode=187]="LastTypeNode",e[e.FirstPunctuation=18]="FirstPunctuation",e[e.LastPunctuation=74]="LastPunctuation",e[e.FirstToken=0]="FirstToken",e[e.LastToken=151]="LastToken",e[e.FirstTriviaToken=2]="FirstTriviaToken",e[e.LastTriviaToken=7]="LastTriviaToken",e[e.FirstLiteralToken=8]="FirstLiteralToken",e[e.LastLiteralToken=14]="LastLiteralToken",e[e.FirstTemplateToken=14]="FirstTemplateToken",e[e.LastTemplateToken=17]="LastTemplateToken",e[e.FirstBinaryOperator=29]="FirstBinaryOperator",e[e.LastBinaryOperator=74]="LastBinaryOperator",e[e.FirstStatement=224]="FirstStatement",e[e.LastStatement=240]="LastStatement",e[e.FirstNode=152]="FirstNode",e[e.FirstJSDocNode=292]="FirstJSDocNode",e[e.LastJSDocNode=316]="LastJSDocNode",e[e.FirstJSDocTagNode=304]="FirstJSDocTagNode",e[e.LastJSDocTagNode=316]="LastJSDocTagNode",e[e.FirstContextualKeyword=121]="FirstContextualKeyword",e[e.LastContextualKeyword=151]="LastContextualKeyword"}(e.SyntaxKind||(e.SyntaxKind={})),function(e){e[e.None=0]="None",e[e.Let=1]="Let",e[e.Const=2]="Const",e[e.NestedNamespace=4]="NestedNamespace",e[e.Synthesized=8]="Synthesized",e[e.Namespace=16]="Namespace",e[e.OptionalChain=32]="OptionalChain",e[e.ExportContext=64]="ExportContext",e[e.ContainsThis=128]="ContainsThis",e[e.HasImplicitReturn=256]="HasImplicitReturn",e[e.HasExplicitReturn=512]="HasExplicitReturn",e[e.GlobalAugmentation=1024]="GlobalAugmentation",e[e.HasAsyncFunctions=2048]="HasAsyncFunctions",e[e.DisallowInContext=4096]="DisallowInContext",e[e.YieldContext=8192]="YieldContext",e[e.DecoratorContext=16384]="DecoratorContext",e[e.AwaitContext=32768]="AwaitContext",e[e.ThisNodeHasError=65536]="ThisNodeHasError",e[e.JavaScriptFile=131072]="JavaScriptFile",e[e.ThisNodeOrAnySubNodesHasError=262144]="ThisNodeOrAnySubNodesHasError",e[e.HasAggregatedChildData=524288]="HasAggregatedChildData",e[e.PossiblyContainsDynamicImport=1048576]="PossiblyContainsDynamicImport",e[e.PossiblyContainsImportMeta=2097152]="PossiblyContainsImportMeta",e[e.JSDoc=4194304]="JSDoc",e[e.Ambient=8388608]="Ambient",e[e.InWithStatement=16777216]="InWithStatement",e[e.JsonFile=33554432]="JsonFile",e[e.BlockScoped=3]="BlockScoped",e[e.ReachabilityCheckFlags=768]="ReachabilityCheckFlags",e[e.ReachabilityAndEmitFlags=2816]="ReachabilityAndEmitFlags",e[e.ContextFlags=25358336]="ContextFlags",e[e.TypeExcludesFlags=40960]="TypeExcludesFlags",e[e.PermanentlySetIncrementalFlags=3145728]="PermanentlySetIncrementalFlags"}(e.NodeFlags||(e.NodeFlags={})),function(e){e[e.None=0]="None",e[e.Export=1]="Export",e[e.Ambient=2]="Ambient",e[e.Public=4]="Public",e[e.Private=8]="Private",e[e.Protected=16]="Protected",e[e.Static=32]="Static",e[e.Readonly=64]="Readonly",e[e.Abstract=128]="Abstract",e[e.Async=256]="Async",e[e.Default=512]="Default",e[e.Const=2048]="Const",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AccessibilityModifier=28]="AccessibilityModifier",e[e.ParameterPropertyModifier=92]="ParameterPropertyModifier",e[e.NonPublicAccessibilityModifier=24]="NonPublicAccessibilityModifier",e[e.TypeScriptModifier=2270]="TypeScriptModifier",e[e.ExportDefault=513]="ExportDefault",e[e.All=3071]="All"}(e.ModifierFlags||(e.ModifierFlags={})),function(e){e[e.None=0]="None",e[e.IntrinsicNamedElement=1]="IntrinsicNamedElement",e[e.IntrinsicIndexedElement=2]="IntrinsicIndexedElement",e[e.IntrinsicElement=3]="IntrinsicElement"}(e.JsxFlags||(e.JsxFlags={})),function(e){e[e.Succeeded=1]="Succeeded",e[e.Failed=2]="Failed",e[e.Reported=4]="Reported",e[e.ReportsUnmeasurable=8]="ReportsUnmeasurable",e[e.ReportsUnreliable=16]="ReportsUnreliable",e[e.ReportsMask=24]="ReportsMask"}(e.RelationComparisonResult||(e.RelationComparisonResult={})),function(e){e[e.None=0]="None",e[e.Auto=1]="Auto",e[e.Loop=2]="Loop",e[e.Unique=3]="Unique",e[e.Node=4]="Node",e[e.KindMask=7]="KindMask",e[e.ReservedInNestedScopes=8]="ReservedInNestedScopes",e[e.Optimistic=16]="Optimistic",e[e.FileLevel=32]="FileLevel"}(e.GeneratedIdentifierFlags||(e.GeneratedIdentifierFlags={})),function(e){e[e.None=0]="None",e[e.PrecedingLineBreak=1]="PrecedingLineBreak",e[e.PrecedingJSDocComment=2]="PrecedingJSDocComment",e[e.Unterminated=4]="Unterminated",e[e.ExtendedUnicodeEscape=8]="ExtendedUnicodeEscape",e[e.Scientific=16]="Scientific",e[e.Octal=32]="Octal",e[e.HexSpecifier=64]="HexSpecifier",e[e.BinarySpecifier=128]="BinarySpecifier",e[e.OctalSpecifier=256]="OctalSpecifier",e[e.ContainsSeparator=512]="ContainsSeparator",e[e.UnicodeEscape=1024]="UnicodeEscape",e[e.BinaryOrOctalSpecifier=384]="BinaryOrOctalSpecifier",e[e.NumericLiteralFlags=1008]="NumericLiteralFlags"}(e.TokenFlags||(e.TokenFlags={})),function(e){e[e.Unreachable=1]="Unreachable",e[e.Start=2]="Start",e[e.BranchLabel=4]="BranchLabel",e[e.LoopLabel=8]="LoopLabel",e[e.Assignment=16]="Assignment",e[e.TrueCondition=32]="TrueCondition",e[e.FalseCondition=64]="FalseCondition",e[e.SwitchClause=128]="SwitchClause",e[e.ArrayMutation=256]="ArrayMutation",e[e.Call=512]="Call",e[e.Referenced=1024]="Referenced",e[e.Shared=2048]="Shared",e[e.PreFinally=4096]="PreFinally",e[e.AfterFinally=8192]="AfterFinally",e[e.Cached=16384]="Cached",e[e.Label=12]="Label",e[e.Condition=96]="Condition"}(e.FlowFlags||(e.FlowFlags={}));var n,t=function(){};e.OperationCanceledException=t,function(e){e[e.Import=0]="Import",e[e.ReferenceFile=1]="ReferenceFile",e[e.TypeReferenceDirective=2]="TypeReferenceDirective"}(e.RefFileKind||(e.RefFileKind={})),function(e){e[e.Not=0]="Not",e[e.SafeModules=1]="SafeModules",e[e.Completely=2]="Completely"}(e.StructureIsReused||(e.StructureIsReused={})),function(e){e[e.Success=0]="Success",e[e.DiagnosticsPresent_OutputsSkipped=1]="DiagnosticsPresent_OutputsSkipped",e[e.DiagnosticsPresent_OutputsGenerated=2]="DiagnosticsPresent_OutputsGenerated",e[e.InvalidProject_OutputsSkipped=3]="InvalidProject_OutputsSkipped",e[e.ProjectReferenceCycle_OutputsSkipped=4]="ProjectReferenceCycle_OutputsSkipped",e[e.ProjectReferenceCycle_OutputsSkupped=4]="ProjectReferenceCycle_OutputsSkupped"}(e.ExitStatus||(e.ExitStatus={})),function(e){e[e.None=0]="None",e[e.Literal=1]="Literal",e[e.Subtype=2]="Subtype"}(e.UnionReduction||(e.UnionReduction={})),function(e){e[e.None=0]="None",e[e.Signature=1]="Signature",e[e.NoConstraints=2]="NoConstraints",e[e.Completion=4]="Completion"}(e.ContextFlags||(e.ContextFlags={})),function(e){e[e.None=0]="None",e[e.NoTruncation=1]="NoTruncation",e[e.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",e[e.GenerateNamesForShadowedTypeParams=4]="GenerateNamesForShadowedTypeParams",e[e.UseStructuralFallback=8]="UseStructuralFallback",e[e.ForbidIndexedAccessSymbolReferences=16]="ForbidIndexedAccessSymbolReferences",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.UseFullyQualifiedType=64]="UseFullyQualifiedType",e[e.UseOnlyExternalAliasing=128]="UseOnlyExternalAliasing",e[e.SuppressAnyReturnType=256]="SuppressAnyReturnType",e[e.WriteTypeParametersInQualifiedName=512]="WriteTypeParametersInQualifiedName",e[e.MultilineObjectLiterals=1024]="MultilineObjectLiterals",e[e.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",e[e.UseTypeOfFunction=4096]="UseTypeOfFunction",e[e.OmitParameterModifiers=8192]="OmitParameterModifiers",e[e.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",e[e.AllowThisInObjectLiteral=32768]="AllowThisInObjectLiteral",e[e.AllowQualifedNameInPlaceOfIdentifier=65536]="AllowQualifedNameInPlaceOfIdentifier",e[e.AllowAnonymousIdentifier=131072]="AllowAnonymousIdentifier",e[e.AllowEmptyUnionOrIntersection=262144]="AllowEmptyUnionOrIntersection",e[e.AllowEmptyTuple=524288]="AllowEmptyTuple",e[e.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",e[e.AllowEmptyIndexInfoType=2097152]="AllowEmptyIndexInfoType",e[e.AllowNodeModulesRelativePaths=67108864]="AllowNodeModulesRelativePaths",e[e.DoNotIncludeSymbolChain=134217728]="DoNotIncludeSymbolChain",e[e.IgnoreErrors=70221824]="IgnoreErrors",e[e.InObjectTypeLiteral=4194304]="InObjectTypeLiteral",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.InInitialEntityName=16777216]="InInitialEntityName",e[e.InReverseMappedType=33554432]="InReverseMappedType"}(e.NodeBuilderFlags||(e.NodeBuilderFlags={})),function(e){e[e.None=0]="None",e[e.NoTruncation=1]="NoTruncation",e[e.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",e[e.UseStructuralFallback=8]="UseStructuralFallback",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.UseFullyQualifiedType=64]="UseFullyQualifiedType",e[e.SuppressAnyReturnType=256]="SuppressAnyReturnType",e[e.MultilineObjectLiterals=1024]="MultilineObjectLiterals",e[e.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",e[e.UseTypeOfFunction=4096]="UseTypeOfFunction",e[e.OmitParameterModifiers=8192]="OmitParameterModifiers",e[e.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",e[e.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",e[e.AddUndefined=131072]="AddUndefined",e[e.WriteArrowStyleSignature=262144]="WriteArrowStyleSignature",e[e.InArrayType=524288]="InArrayType",e[e.InElementType=2097152]="InElementType",e[e.InFirstTypeArgument=4194304]="InFirstTypeArgument",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.WriteOwnNameForAnyLike=0]="WriteOwnNameForAnyLike",e[e.NodeBuilderFlagsMask=9469291]="NodeBuilderFlagsMask"}(e.TypeFormatFlags||(e.TypeFormatFlags={})),function(e){e[e.None=0]="None",e[e.WriteTypeParametersOrArguments=1]="WriteTypeParametersOrArguments",e[e.UseOnlyExternalAliasing=2]="UseOnlyExternalAliasing",e[e.AllowAnyNodeKind=4]="AllowAnyNodeKind",e[e.UseAliasDefinedOutsideCurrentScope=8]="UseAliasDefinedOutsideCurrentScope",e[e.DoNotIncludeSymbolChain=16]="DoNotIncludeSymbolChain"}(e.SymbolFormatFlags||(e.SymbolFormatFlags={})),function(e){e[e.Accessible=0]="Accessible",e[e.NotAccessible=1]="NotAccessible",e[e.CannotBeNamed=2]="CannotBeNamed"}(e.SymbolAccessibility||(e.SymbolAccessibility={})),function(e){e[e.UnionOrIntersection=0]="UnionOrIntersection",e[e.Spread=1]="Spread"}(e.SyntheticSymbolKind||(e.SyntheticSymbolKind={})),function(e){e[e.This=0]="This",e[e.Identifier=1]="Identifier",e[e.AssertsThis=2]="AssertsThis",e[e.AssertsIdentifier=3]="AssertsIdentifier"}(e.TypePredicateKind||(e.TypePredicateKind={})),function(e){e[e.Unknown=0]="Unknown",e[e.TypeWithConstructSignatureAndValue=1]="TypeWithConstructSignatureAndValue",e[e.VoidNullableOrNeverType=2]="VoidNullableOrNeverType",e[e.NumberLikeType=3]="NumberLikeType",e[e.BigIntLikeType=4]="BigIntLikeType",e[e.StringLikeType=5]="StringLikeType",e[e.BooleanType=6]="BooleanType",e[e.ArrayLikeType=7]="ArrayLikeType",e[e.ESSymbolType=8]="ESSymbolType",e[e.Promise=9]="Promise",e[e.TypeWithCallSignature=10]="TypeWithCallSignature",e[e.ObjectType=11]="ObjectType"}(e.TypeReferenceSerializationKind||(e.TypeReferenceSerializationKind={})),function(e){e[e.None=0]="None",e[e.FunctionScopedVariable=1]="FunctionScopedVariable",e[e.BlockScopedVariable=2]="BlockScopedVariable",e[e.Property=4]="Property",e[e.EnumMember=8]="EnumMember",e[e.Function=16]="Function",e[e.Class=32]="Class",e[e.Interface=64]="Interface",e[e.ConstEnum=128]="ConstEnum",e[e.RegularEnum=256]="RegularEnum",e[e.ValueModule=512]="ValueModule",e[e.NamespaceModule=1024]="NamespaceModule",e[e.TypeLiteral=2048]="TypeLiteral",e[e.ObjectLiteral=4096]="ObjectLiteral",e[e.Method=8192]="Method",e[e.Constructor=16384]="Constructor",e[e.GetAccessor=32768]="GetAccessor",e[e.SetAccessor=65536]="SetAccessor",e[e.Signature=131072]="Signature",e[e.TypeParameter=262144]="TypeParameter",e[e.TypeAlias=524288]="TypeAlias",e[e.ExportValue=1048576]="ExportValue",e[e.Alias=2097152]="Alias",e[e.Prototype=4194304]="Prototype",e[e.ExportStar=8388608]="ExportStar",e[e.Optional=16777216]="Optional",e[e.Transient=33554432]="Transient",e[e.Assignment=67108864]="Assignment",e[e.ModuleExports=134217728]="ModuleExports",e[e.All=67108863]="All",e[e.Enum=384]="Enum",e[e.Variable=3]="Variable",e[e.Value=111551]="Value",e[e.Type=788968]="Type",e[e.Namespace=1920]="Namespace",e[e.Module=1536]="Module",e[e.Accessor=98304]="Accessor",e[e.FunctionScopedVariableExcludes=111550]="FunctionScopedVariableExcludes",e[e.BlockScopedVariableExcludes=111551]="BlockScopedVariableExcludes",e[e.ParameterExcludes=111551]="ParameterExcludes",e[e.PropertyExcludes=0]="PropertyExcludes",e[e.EnumMemberExcludes=900095]="EnumMemberExcludes",e[e.FunctionExcludes=110991]="FunctionExcludes",e[e.ClassExcludes=899503]="ClassExcludes",e[e.InterfaceExcludes=788872]="InterfaceExcludes",e[e.RegularEnumExcludes=899327]="RegularEnumExcludes",e[e.ConstEnumExcludes=899967]="ConstEnumExcludes",e[e.ValueModuleExcludes=110735]="ValueModuleExcludes",e[e.NamespaceModuleExcludes=0]="NamespaceModuleExcludes",e[e.MethodExcludes=103359]="MethodExcludes",e[e.GetAccessorExcludes=46015]="GetAccessorExcludes",e[e.SetAccessorExcludes=78783]="SetAccessorExcludes",e[e.TypeParameterExcludes=526824]="TypeParameterExcludes",e[e.TypeAliasExcludes=788968]="TypeAliasExcludes",e[e.AliasExcludes=2097152]="AliasExcludes",e[e.ModuleMember=2623475]="ModuleMember",e[e.ExportHasLocal=944]="ExportHasLocal",e[e.BlockScoped=418]="BlockScoped",e[e.PropertyOrAccessor=98308]="PropertyOrAccessor",e[e.ClassMember=106500]="ClassMember",e[e.ExportSupportsDefaultModifier=112]="ExportSupportsDefaultModifier",e[e.ExportDoesNotSupportDefaultModifier=-113]="ExportDoesNotSupportDefaultModifier",e[e.Classifiable=2885600]="Classifiable",e[e.LateBindingContainer=6256]="LateBindingContainer"}(e.SymbolFlags||(e.SymbolFlags={})),function(e){e[e.Numeric=0]="Numeric",e[e.Literal=1]="Literal"}(e.EnumKind||(e.EnumKind={})),function(e){e[e.Instantiated=1]="Instantiated",e[e.SyntheticProperty=2]="SyntheticProperty",e[e.SyntheticMethod=4]="SyntheticMethod",e[e.Readonly=8]="Readonly",e[e.ReadPartial=16]="ReadPartial",e[e.WritePartial=32]="WritePartial",e[e.HasNonUniformType=64]="HasNonUniformType",e[e.HasLiteralType=128]="HasLiteralType",e[e.ContainsPublic=256]="ContainsPublic",e[e.ContainsProtected=512]="ContainsProtected",e[e.ContainsPrivate=1024]="ContainsPrivate",e[e.ContainsStatic=2048]="ContainsStatic",e[e.Late=4096]="Late",e[e.ReverseMapped=8192]="ReverseMapped",e[e.OptionalParameter=16384]="OptionalParameter",e[e.RestParameter=32768]="RestParameter",e[e.DeferredType=65536]="DeferredType",e[e.Synthetic=6]="Synthetic",e[e.Discriminant=192]="Discriminant",e[e.Partial=48]="Partial"}(e.CheckFlags||(e.CheckFlags={})),function(e){e.Call="__call",e.Constructor="__constructor",e.New="__new",e.Index="__index",e.ExportStar="__export",e.Global="__global",e.Missing="__missing",e.Type="__type",e.Object="__object",e.JSXAttributes="__jsxAttributes",e.Class="__class",e.Function="__function",e.Computed="__computed",e.Resolving="__resolving__",e.ExportEquals="export=",e.Default="default",e.This="this"}(e.InternalSymbolName||(e.InternalSymbolName={})),function(e){e[e.TypeChecked=1]="TypeChecked",e[e.LexicalThis=2]="LexicalThis",e[e.CaptureThis=4]="CaptureThis",e[e.CaptureNewTarget=8]="CaptureNewTarget",e[e.SuperInstance=256]="SuperInstance",e[e.SuperStatic=512]="SuperStatic",e[e.ContextChecked=1024]="ContextChecked",e[e.AsyncMethodWithSuper=2048]="AsyncMethodWithSuper",e[e.AsyncMethodWithSuperBinding=4096]="AsyncMethodWithSuperBinding",e[e.CaptureArguments=8192]="CaptureArguments",e[e.EnumValuesComputed=16384]="EnumValuesComputed",e[e.LexicalModuleMergesWithClass=32768]="LexicalModuleMergesWithClass",e[e.LoopWithCapturedBlockScopedBinding=65536]="LoopWithCapturedBlockScopedBinding",e[e.ContainsCapturedBlockScopeBinding=131072]="ContainsCapturedBlockScopeBinding",e[e.CapturedBlockScopedBinding=262144]="CapturedBlockScopedBinding",e[e.BlockScopedBindingInLoop=524288]="BlockScopedBindingInLoop",e[e.ClassWithBodyScopedClassBinding=1048576]="ClassWithBodyScopedClassBinding",e[e.BodyScopedClassBinding=2097152]="BodyScopedClassBinding",e[e.NeedsLoopOutParameter=4194304]="NeedsLoopOutParameter",e[e.AssignmentsMarked=8388608]="AssignmentsMarked",e[e.ClassWithConstructorReference=16777216]="ClassWithConstructorReference",e[e.ConstructorReferenceInClass=33554432]="ConstructorReferenceInClass"}(e.NodeCheckFlags||(e.NodeCheckFlags={})),function(e){e[e.Any=1]="Any",e[e.Unknown=2]="Unknown",e[e.String=4]="String",e[e.Number=8]="Number",e[e.Boolean=16]="Boolean",e[e.Enum=32]="Enum",e[e.BigInt=64]="BigInt",e[e.StringLiteral=128]="StringLiteral",e[e.NumberLiteral=256]="NumberLiteral",e[e.BooleanLiteral=512]="BooleanLiteral",e[e.EnumLiteral=1024]="EnumLiteral",e[e.BigIntLiteral=2048]="BigIntLiteral",e[e.ESSymbol=4096]="ESSymbol",e[e.UniqueESSymbol=8192]="UniqueESSymbol",e[e.Void=16384]="Void",e[e.Undefined=32768]="Undefined",e[e.Null=65536]="Null",e[e.Never=131072]="Never",e[e.TypeParameter=262144]="TypeParameter",e[e.Object=524288]="Object",e[e.Union=1048576]="Union",e[e.Intersection=2097152]="Intersection",e[e.Index=4194304]="Index",e[e.IndexedAccess=8388608]="IndexedAccess",e[e.Conditional=16777216]="Conditional",e[e.Substitution=33554432]="Substitution",e[e.NonPrimitive=67108864]="NonPrimitive",e[e.AnyOrUnknown=3]="AnyOrUnknown",e[e.Nullable=98304]="Nullable",e[e.Literal=2944]="Literal",e[e.Unit=109440]="Unit",e[e.StringOrNumberLiteral=384]="StringOrNumberLiteral",e[e.StringOrNumberLiteralOrUnique=8576]="StringOrNumberLiteralOrUnique",e[e.DefinitelyFalsy=117632]="DefinitelyFalsy",e[e.PossiblyFalsy=117724]="PossiblyFalsy",e[e.Intrinsic=67359327]="Intrinsic",e[e.Primitive=131068]="Primitive",e[e.StringLike=132]="StringLike",e[e.NumberLike=296]="NumberLike",e[e.BigIntLike=2112]="BigIntLike",e[e.BooleanLike=528]="BooleanLike",e[e.EnumLike=1056]="EnumLike",e[e.ESSymbolLike=12288]="ESSymbolLike",e[e.VoidLike=49152]="VoidLike",e[e.DisjointDomains=67238908]="DisjointDomains",e[e.UnionOrIntersection=3145728]="UnionOrIntersection",e[e.StructuredType=3670016]="StructuredType",e[e.TypeVariable=8650752]="TypeVariable",e[e.InstantiableNonPrimitive=58982400]="InstantiableNonPrimitive",e[e.InstantiablePrimitive=4194304]="InstantiablePrimitive",e[e.Instantiable=63176704]="Instantiable",e[e.StructuredOrInstantiable=66846720]="StructuredOrInstantiable",e[e.ObjectFlagsType=3899392]="ObjectFlagsType",e[e.Simplifiable=25165824]="Simplifiable",e[e.Narrowable=133970943]="Narrowable",e[e.NotUnionOrUnit=67637251]="NotUnionOrUnit",e[e.NotPrimitiveUnion=66994211]="NotPrimitiveUnion",e[e.IncludesMask=68943871]="IncludesMask",e[e.IncludesStructuredOrInstantiable=262144]="IncludesStructuredOrInstantiable",e[e.IncludesNonWideningType=2097152]="IncludesNonWideningType",e[e.IncludesWildcard=4194304]="IncludesWildcard",e[e.IncludesEmptyObject=8388608]="IncludesEmptyObject",e[e.GenericMappedType=131072]="GenericMappedType"}(e.TypeFlags||(e.TypeFlags={})),function(e){e[e.Class=1]="Class",e[e.Interface=2]="Interface",e[e.Reference=4]="Reference",e[e.Tuple=8]="Tuple",e[e.Anonymous=16]="Anonymous",e[e.Mapped=32]="Mapped",e[e.Instantiated=64]="Instantiated",e[e.ObjectLiteral=128]="ObjectLiteral",e[e.EvolvingArray=256]="EvolvingArray",e[e.ObjectLiteralPatternWithComputedProperties=512]="ObjectLiteralPatternWithComputedProperties",e[e.ContainsSpread=1024]="ContainsSpread",e[e.ReverseMapped=2048]="ReverseMapped",e[e.JsxAttributes=4096]="JsxAttributes",e[e.MarkerType=8192]="MarkerType",e[e.JSLiteral=16384]="JSLiteral",e[e.FreshLiteral=32768]="FreshLiteral",e[e.ArrayLiteral=65536]="ArrayLiteral",e[e.PrimitiveUnion=131072]="PrimitiveUnion",e[e.ContainsWideningType=262144]="ContainsWideningType",e[e.ContainsObjectOrArrayLiteral=524288]="ContainsObjectOrArrayLiteral",e[e.NonInferrableType=1048576]="NonInferrableType",e[e.ClassOrInterface=3]="ClassOrInterface",e[e.RequiresWidening=786432]="RequiresWidening",e[e.PropagatingFlags=1835008]="PropagatingFlags"}(e.ObjectFlags||(e.ObjectFlags={})),function(e){e[e.Invariant=0]="Invariant",e[e.Covariant=1]="Covariant",e[e.Contravariant=2]="Contravariant",e[e.Bivariant=3]="Bivariant",e[e.Independent=4]="Independent",e[e.VarianceMask=7]="VarianceMask",e[e.Unmeasurable=8]="Unmeasurable",e[e.Unreliable=16]="Unreliable",e[e.AllowsStructuralFallback=24]="AllowsStructuralFallback"}(e.VarianceFlags||(e.VarianceFlags={})),function(e){e[e.Component=0]="Component",e[e.Function=1]="Function",e[e.Mixed=2]="Mixed"}(e.JsxReferenceKind||(e.JsxReferenceKind={})),function(e){e[e.Call=0]="Call",e[e.Construct=1]="Construct"}(e.SignatureKind||(e.SignatureKind={})),function(e){e[e.None=0]="None",e[e.HasRestParameter=1]="HasRestParameter",e[e.HasLiteralTypes=2]="HasLiteralTypes",e[e.IsInnerCallChain=4]="IsInnerCallChain",e[e.IsOuterCallChain=8]="IsOuterCallChain",e[e.PropagatingFlags=3]="PropagatingFlags",e[e.CallChainFlags=12]="CallChainFlags"}(e.SignatureFlags||(e.SignatureFlags={})),function(e){e[e.String=0]="String",e[e.Number=1]="Number"}(e.IndexKind||(e.IndexKind={})),function(e){e[e.NakedTypeVariable=1]="NakedTypeVariable",e[e.HomomorphicMappedType=2]="HomomorphicMappedType",e[e.PartialHomomorphicMappedType=4]="PartialHomomorphicMappedType",e[e.MappedTypeConstraint=8]="MappedTypeConstraint",e[e.ReturnType=16]="ReturnType",e[e.LiteralKeyof=32]="LiteralKeyof",e[e.NoConstraints=64]="NoConstraints",e[e.AlwaysStrict=128]="AlwaysStrict",e[e.MaxValue=256]="MaxValue",e[e.PriorityImpliesCombination=56]="PriorityImpliesCombination",e[e.Circularity=-1]="Circularity"}(e.InferencePriority||(e.InferencePriority={})),function(e){e[e.None=0]="None",e[e.NoDefault=1]="NoDefault",e[e.AnyDefault=2]="AnyDefault",e[e.SkippedGenericFunction=4]="SkippedGenericFunction"}(e.InferenceFlags||(e.InferenceFlags={})),function(e){e[e.False=0]="False",e[e.Maybe=1]="Maybe",e[e.True=-1]="True"}(e.Ternary||(e.Ternary={})),function(e){e[e.None=0]="None",e[e.ExportsProperty=1]="ExportsProperty",e[e.ModuleExports=2]="ModuleExports",e[e.PrototypeProperty=3]="PrototypeProperty",e[e.ThisProperty=4]="ThisProperty",e[e.Property=5]="Property",e[e.Prototype=6]="Prototype",e[e.ObjectDefinePropertyValue=7]="ObjectDefinePropertyValue",e[e.ObjectDefinePropertyExports=8]="ObjectDefinePropertyExports",e[e.ObjectDefinePrototypeProperty=9]="ObjectDefinePrototypeProperty"}(e.AssignmentDeclarationKind||(e.AssignmentDeclarationKind={})),function(e){e[e.Warning=0]="Warning",e[e.Error=1]="Error",e[e.Suggestion=2]="Suggestion",e[e.Message=3]="Message"}(n=e.DiagnosticCategory||(e.DiagnosticCategory={})),e.diagnosticCategoryName=function(e,t){void 0===t&&(t=!0);var r=n[e.category];return t?r.toLowerCase():r},function(e){e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs"}(e.ModuleResolutionKind||(e.ModuleResolutionKind={})),function(e){e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015",e[e.ESNext=99]="ESNext"}(e.ModuleKind||(e.ModuleKind={})),function(e){e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React",e[e.ReactNative=3]="ReactNative"}(e.JsxEmit||(e.JsxEmit={})),function(e){e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed"}(e.NewLineKind||(e.NewLineKind={})),function(e){e[e.Unknown=0]="Unknown",e[e.JS=1]="JS",e[e.JSX=2]="JSX",e[e.TS=3]="TS",e[e.TSX=4]="TSX",e[e.External=5]="External",e[e.JSON=6]="JSON",e[e.Deferred=7]="Deferred"}(e.ScriptKind||(e.ScriptKind={})),function(e){e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ES2019=6]="ES2019",e[e.ES2020=7]="ES2020",e[e.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest"}(e.ScriptTarget||(e.ScriptTarget={})),function(e){e[e.Standard=0]="Standard",e[e.JSX=1]="JSX"}(e.LanguageVariant||(e.LanguageVariant={})),function(e){e[e.None=0]="None",e[e.Recursive=1]="Recursive"}(e.WatchDirectoryFlags||(e.WatchDirectoryFlags={})),function(e){e[e.nullCharacter=0]="nullCharacter",e[e.maxAsciiCharacter=127]="maxAsciiCharacter",e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.lineSeparator=8232]="lineSeparator",e[e.paragraphSeparator=8233]="paragraphSeparator",e[e.nextLine=133]="nextLine",e[e.space=32]="space",e[e.nonBreakingSpace=160]="nonBreakingSpace",e[e.enQuad=8192]="enQuad",e[e.emQuad=8193]="emQuad",e[e.enSpace=8194]="enSpace",e[e.emSpace=8195]="emSpace",e[e.threePerEmSpace=8196]="threePerEmSpace",e[e.fourPerEmSpace=8197]="fourPerEmSpace",e[e.sixPerEmSpace=8198]="sixPerEmSpace",e[e.figureSpace=8199]="figureSpace",e[e.punctuationSpace=8200]="punctuationSpace",e[e.thinSpace=8201]="thinSpace",e[e.hairSpace=8202]="hairSpace",e[e.zeroWidthSpace=8203]="zeroWidthSpace",e[e.narrowNoBreakSpace=8239]="narrowNoBreakSpace",e[e.ideographicSpace=12288]="ideographicSpace",e[e.mathematicalSpace=8287]="mathematicalSpace",e[e.ogham=5760]="ogham",e[e._=95]="_",e[e.$=36]="$",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.ampersand=38]="ampersand",e[e.asterisk=42]="asterisk",e[e.at=64]="at",e[e.backslash=92]="backslash",e[e.backtick=96]="backtick",e[e.bar=124]="bar",e[e.caret=94]="caret",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.closeParen=41]="closeParen",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.equals=61]="equals",e[e.exclamation=33]="exclamation",e[e.greaterThan=62]="greaterThan",e[e.hash=35]="hash",e[e.lessThan=60]="lessThan",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.openParen=40]="openParen",e[e.percent=37]="percent",e[e.plus=43]="plus",e[e.question=63]="question",e[e.semicolon=59]="semicolon",e[e.singleQuote=39]="singleQuote",e[e.slash=47]="slash",e[e.tilde=126]="tilde",e[e.backspace=8]="backspace",e[e.formFeed=12]="formFeed",e[e.byteOrderMark=65279]="byteOrderMark",e[e.tab=9]="tab",e[e.verticalTab=11]="verticalTab"}(e.CharacterCodes||(e.CharacterCodes={})),function(e){e.Ts=".ts",e.Tsx=".tsx",e.Dts=".d.ts",e.Js=".js",e.Jsx=".jsx",e.Json=".json",e.TsBuildInfo=".tsbuildinfo"}(e.Extension||(e.Extension={})),function(e){e[e.None=0]="None",e[e.ContainsTypeScript=1]="ContainsTypeScript",e[e.ContainsJsx=2]="ContainsJsx",e[e.ContainsESNext=4]="ContainsESNext",e[e.ContainsES2019=8]="ContainsES2019",e[e.ContainsES2018=16]="ContainsES2018",e[e.ContainsES2017=32]="ContainsES2017",e[e.ContainsES2016=64]="ContainsES2016",e[e.ContainsES2015=128]="ContainsES2015",e[e.ContainsGenerator=256]="ContainsGenerator",e[e.ContainsDestructuringAssignment=512]="ContainsDestructuringAssignment",e[e.ContainsTypeScriptClassSyntax=1024]="ContainsTypeScriptClassSyntax",e[e.ContainsLexicalThis=2048]="ContainsLexicalThis",e[e.ContainsRestOrSpread=4096]="ContainsRestOrSpread",e[e.ContainsObjectRestOrSpread=8192]="ContainsObjectRestOrSpread",e[e.ContainsComputedPropertyName=16384]="ContainsComputedPropertyName",e[e.ContainsBlockScopedBinding=32768]="ContainsBlockScopedBinding",e[e.ContainsBindingPattern=65536]="ContainsBindingPattern",e[e.ContainsYield=131072]="ContainsYield",e[e.ContainsHoistedDeclarationOrCompletion=262144]="ContainsHoistedDeclarationOrCompletion",e[e.ContainsDynamicImport=524288]="ContainsDynamicImport",e[e.ContainsClassFields=1048576]="ContainsClassFields",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AssertTypeScript=1]="AssertTypeScript",e[e.AssertJsx=2]="AssertJsx",e[e.AssertESNext=4]="AssertESNext",e[e.AssertES2019=8]="AssertES2019",e[e.AssertES2018=16]="AssertES2018",e[e.AssertES2017=32]="AssertES2017",e[e.AssertES2016=64]="AssertES2016",e[e.AssertES2015=128]="AssertES2015",e[e.AssertGenerator=256]="AssertGenerator",e[e.AssertDestructuringAssignment=512]="AssertDestructuringAssignment",e[e.OuterExpressionExcludes=536870912]="OuterExpressionExcludes",e[e.PropertyAccessExcludes=536870912]="PropertyAccessExcludes",e[e.NodeExcludes=536870912]="NodeExcludes",e[e.ArrowFunctionExcludes=537371648]="ArrowFunctionExcludes",e[e.FunctionExcludes=537373696]="FunctionExcludes",e[e.ConstructorExcludes=537372672]="ConstructorExcludes",e[e.MethodOrAccessorExcludes=537372672]="MethodOrAccessorExcludes",e[e.PropertyExcludes=536872960]="PropertyExcludes",e[e.ClassExcludes=536888320]="ClassExcludes",e[e.ModuleExcludes=537168896]="ModuleExcludes",e[e.TypeExcludes=-2]="TypeExcludes",e[e.ObjectLiteralExcludes=536896512]="ObjectLiteralExcludes",e[e.ArrayLiteralOrCallOrNewExcludes=536875008]="ArrayLiteralOrCallOrNewExcludes",e[e.VariableDeclarationListExcludes=536944640]="VariableDeclarationListExcludes",e[e.ParameterExcludes=536870912]="ParameterExcludes",e[e.CatchClauseExcludes=536879104]="CatchClauseExcludes",e[e.BindingPatternExcludes=536875008]="BindingPatternExcludes",e[e.PropertyNamePropagatingFlags=2048]="PropertyNamePropagatingFlags"}(e.TransformFlags||(e.TransformFlags={})),function(e){e[e.None=0]="None",e[e.SingleLine=1]="SingleLine",e[e.AdviseOnEmitNode=2]="AdviseOnEmitNode",e[e.NoSubstitution=4]="NoSubstitution",e[e.CapturesThis=8]="CapturesThis",e[e.NoLeadingSourceMap=16]="NoLeadingSourceMap",e[e.NoTrailingSourceMap=32]="NoTrailingSourceMap",e[e.NoSourceMap=48]="NoSourceMap",e[e.NoNestedSourceMaps=64]="NoNestedSourceMaps",e[e.NoTokenLeadingSourceMaps=128]="NoTokenLeadingSourceMaps",e[e.NoTokenTrailingSourceMaps=256]="NoTokenTrailingSourceMaps",e[e.NoTokenSourceMaps=384]="NoTokenSourceMaps",e[e.NoLeadingComments=512]="NoLeadingComments",e[e.NoTrailingComments=1024]="NoTrailingComments",e[e.NoComments=1536]="NoComments",e[e.NoNestedComments=2048]="NoNestedComments",e[e.HelperName=4096]="HelperName",e[e.ExportName=8192]="ExportName",e[e.LocalName=16384]="LocalName",e[e.InternalName=32768]="InternalName",e[e.Indented=65536]="Indented",e[e.NoIndentation=131072]="NoIndentation",e[e.AsyncFunctionBody=262144]="AsyncFunctionBody",e[e.ReuseTempVariableScope=524288]="ReuseTempVariableScope",e[e.CustomPrologue=1048576]="CustomPrologue",e[e.NoHoisting=2097152]="NoHoisting",e[e.HasEndOfDeclarationMarker=4194304]="HasEndOfDeclarationMarker",e[e.Iterator=8388608]="Iterator",e[e.NoAsciiEscaping=16777216]="NoAsciiEscaping",e[e.TypeScriptClassWrapper=33554432]="TypeScriptClassWrapper",e[e.NeverApplyImportHelper=67108864]="NeverApplyImportHelper"}(e.EmitFlags||(e.EmitFlags={})),function(e){e[e.Extends=1]="Extends",e[e.Assign=2]="Assign",e[e.Rest=4]="Rest",e[e.Decorate=8]="Decorate",e[e.Metadata=16]="Metadata",e[e.Param=32]="Param",e[e.Awaiter=64]="Awaiter",e[e.Generator=128]="Generator",e[e.Values=256]="Values",e[e.Read=512]="Read",e[e.Spread=1024]="Spread",e[e.SpreadArrays=2048]="SpreadArrays",e[e.Await=4096]="Await",e[e.AsyncGenerator=8192]="AsyncGenerator",e[e.AsyncDelegator=16384]="AsyncDelegator",e[e.AsyncValues=32768]="AsyncValues",e[e.ExportStar=65536]="ExportStar",e[e.MakeTemplateObject=131072]="MakeTemplateObject",e[e.FirstEmitHelper=1]="FirstEmitHelper",e[e.LastEmitHelper=131072]="LastEmitHelper",e[e.ForOfIncludes=256]="ForOfIncludes",e[e.ForAwaitOfIncludes=32768]="ForAwaitOfIncludes",e[e.AsyncGeneratorIncludes=12288]="AsyncGeneratorIncludes",e[e.AsyncDelegatorIncludes=53248]="AsyncDelegatorIncludes",e[e.SpreadIncludes=1536]="SpreadIncludes"}(e.ExternalEmitHelpers||(e.ExternalEmitHelpers={})),function(e){e[e.SourceFile=0]="SourceFile",e[e.Expression=1]="Expression",e[e.IdentifierName=2]="IdentifierName",e[e.MappedTypeParameter=3]="MappedTypeParameter",e[e.Unspecified=4]="Unspecified",e[e.EmbeddedStatement=5]="EmbeddedStatement"}(e.EmitHint||(e.EmitHint={})),function(e){e.Prologue="prologue",e.EmitHelpers="emitHelpers",e.NoDefaultLib="no-default-lib",e.Reference="reference",e.Type="type",e.Lib="lib",e.Prepend="prepend",e.Text="text",e.Internal="internal"}(e.BundleFileSectionKind||(e.BundleFileSectionKind={})),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.AsteriskDelimited=32]="AsteriskDelimited",e[e.DelimitersMask=60]="DelimitersMask",e[e.AllowTrailingComma=64]="AllowTrailingComma",e[e.Indented=128]="Indented",e[e.SpaceBetweenBraces=256]="SpaceBetweenBraces",e[e.SpaceBetweenSiblings=512]="SpaceBetweenSiblings",e[e.Braces=1024]="Braces",e[e.Parenthesis=2048]="Parenthesis",e[e.AngleBrackets=4096]="AngleBrackets",e[e.SquareBrackets=8192]="SquareBrackets",e[e.BracketsMask=15360]="BracketsMask",e[e.OptionalIfUndefined=16384]="OptionalIfUndefined",e[e.OptionalIfEmpty=32768]="OptionalIfEmpty",e[e.Optional=49152]="Optional",e[e.PreferNewLine=65536]="PreferNewLine",e[e.NoTrailingNewLine=131072]="NoTrailingNewLine",e[e.NoInterveningComments=262144]="NoInterveningComments",e[e.NoSpaceIfEmpty=524288]="NoSpaceIfEmpty",e[e.SingleElement=1048576]="SingleElement",e[e.Modifiers=262656]="Modifiers",e[e.HeritageClauses=512]="HeritageClauses",e[e.SingleLineTypeLiteralMembers=768]="SingleLineTypeLiteralMembers",e[e.MultiLineTypeLiteralMembers=32897]="MultiLineTypeLiteralMembers",e[e.TupleTypeElements=528]="TupleTypeElements",e[e.UnionTypeConstituents=516]="UnionTypeConstituents",e[e.IntersectionTypeConstituents=520]="IntersectionTypeConstituents",e[e.ObjectBindingPatternElements=525136]="ObjectBindingPatternElements",e[e.ArrayBindingPatternElements=524880]="ArrayBindingPatternElements",e[e.ObjectLiteralExpressionProperties=526226]="ObjectLiteralExpressionProperties",e[e.ArrayLiteralExpressionElements=8914]="ArrayLiteralExpressionElements",e[e.CommaListElements=528]="CommaListElements",e[e.CallExpressionArguments=2576]="CallExpressionArguments",e[e.NewExpressionArguments=18960]="NewExpressionArguments",e[e.TemplateExpressionSpans=262144]="TemplateExpressionSpans",e[e.SingleLineBlockStatements=768]="SingleLineBlockStatements",e[e.MultiLineBlockStatements=129]="MultiLineBlockStatements",e[e.VariableDeclarationList=528]="VariableDeclarationList",e[e.SingleLineFunctionBodyStatements=768]="SingleLineFunctionBodyStatements",e[e.MultiLineFunctionBodyStatements=1]="MultiLineFunctionBodyStatements",e[e.ClassHeritageClauses=0]="ClassHeritageClauses",e[e.ClassMembers=129]="ClassMembers",e[e.InterfaceMembers=129]="InterfaceMembers",e[e.EnumMembers=145]="EnumMembers",e[e.CaseBlockClauses=129]="CaseBlockClauses",e[e.NamedImportsOrExportsElements=525136]="NamedImportsOrExportsElements",e[e.JsxElementOrFragmentChildren=262144]="JsxElementOrFragmentChildren",e[e.JsxElementAttributes=262656]="JsxElementAttributes",e[e.CaseOrDefaultClauseStatements=163969]="CaseOrDefaultClauseStatements",e[e.HeritageClauseTypes=528]="HeritageClauseTypes",e[e.SourceFileStatements=131073]="SourceFileStatements",e[e.Decorators=49153]="Decorators",e[e.TypeArguments=53776]="TypeArguments",e[e.TypeParameters=53776]="TypeParameters",e[e.Parameters=2576]="Parameters",e[e.IndexSignatureParameters=8848]="IndexSignatureParameters",e[e.JSDocComment=33]="JSDocComment"}(e.ListFormat||(e.ListFormat={})),function(e){e[e.None=0]="None",e[e.TripleSlashXML=1]="TripleSlashXML",e[e.SingleLine=2]="SingleLine",e[e.MultiLine=4]="MultiLine",e[e.All=7]="All",e[e.Default=7]="Default"}(e.PragmaKindFlags||(e.PragmaKindFlags={})),e.commentPragmas={reference:{args:[{name:"types",optional:!0,captureSpan:!0},{name:"lib",optional:!0,captureSpan:!0},{name:"path",optional:!0,captureSpan:!0},{name:"no-default-lib",optional:!0}],kind:1},"amd-dependency":{args:[{name:"path"},{name:"name",optional:!0}],kind:1},"amd-module":{args:[{name:"name"}],kind:1},"ts-check":{kind:2},"ts-nocheck":{kind:2},jsx:{args:[{name:"factory"}],kind:4}}}(u||(u={})),function(n){var t,r;function a(e){var n;return(n={})[r.Low]=e.Low,n[r.Medium]=e.Medium,n[r.High]=e.High,n}n.generateDjb2Hash=function(e){for(var n=5381,t=0;t0;p(),s--){var u=e[i];if(u)if(u.isClosed)e[i]=void 0;else{d++;var m=c(u,h(u.fileName));u.isClosed?e[i]=void 0:m?(u.unchangedPolls=0,e!==a&&(e[i]=void 0,_(u))):u.unchangedPolls!==n.unchangedPollThresholds[t]?u.unchangedPolls++:e===a?(u.unchangedPolls=1,e[i]=void 0,g(u,r.Low)):t!==r.High&&(u.unchangedPolls++,e[i]=void 0,g(u,t===r.Low?r.Medium:r.High)),e[i]&&(l0}function a(e){return 0!==d(e)}function i(e){return/^\.\.?($|[\\/])/.test(e)}function s(n,t){return n.length>t.length&&e.endsWith(n,t)}function l(e){return e.length>0&&t(e.charCodeAt(e.length-1))}function c(e){return e>=97&&e<=122||e>=65&&e<=90}function d(n){if(!n)return 0;var t=n.charCodeAt(0);if(47===t||92===t){if(n.charCodeAt(1)!==t)return 1;var r=n.indexOf(47===t?e.directorySeparator:"\\",2);return r<0?n.length:r+1}if(c(t)&&58===n.charCodeAt(1)){var a=n.charCodeAt(2);if(47===a||92===a)return 3;if(2===n.length)return 2}var i=n.indexOf("://");if(-1!==i){var o=i+"://".length,s=n.indexOf(e.directorySeparator,o);if(-1!==s){var l=n.slice(0,i),d=n.slice(o,s);if("file"===l&&(""===d||"localhost"===d)&&c(n.charCodeAt(s+1))){var u=function(e,n){var t=e.charCodeAt(n);if(58===t)return n+1;if(37===t&&51===e.charCodeAt(n+1)){var r=e.charCodeAt(n+2);if(97===r||65===r)return n+3}return-1}(n,s+2);if(-1!==u){if(47===n.charCodeAt(u))return~(u+1);if(u===n.length)return~u}}return~(s+1)}return~n.length}return 0}function u(e){var n=d(e);return n<0?~n:n}function m(n){var t=u(n=v(n));return t===n.length?n:(n=A(n)).slice(0,Math.max(t,n.lastIndexOf(e.directorySeparator)))}function p(n,t,r){if(u(n=v(n))===n.length)return"";var a=(n=A(n)).slice(Math.max(u(n),n.lastIndexOf(e.directorySeparator)+1)),i=void 0!==t&&void 0!==r?g(a,t,r):void 0;return i?a.slice(0,a.length-i.length):a}function f(n,t,r){if(e.startsWith(t,".")||(t="."+t),n.length>=t.length&&46===n.charCodeAt(n.length-t.length)){var a=n.slice(n.length-t.length);if(r(a,t))return a}}function g(n,t,r){if(t)return function(e,n,t){if("string"==typeof n)return f(e,n,t)||"";for(var r=0,a=n;r=0?a.substring(i):""}function _(n,t){return void 0===t&&(t=""),function(n,t){var r=n.substring(0,t),a=n.substring(t).split(e.directorySeparator);return a.length&&!e.lastOrUndefined(a)&&a.pop(),o([r],a)}(n=b(t,n),u(n))}function y(n){return 0===n.length?"":(n[0]&&x(n[0]))+n.slice(1).join(e.directorySeparator)}function v(t){return t.replace(n,e.directorySeparator)}function h(n){if(!e.some(n))return[];for(var t=[n[0]],r=1;r1){if(".."!==t[t.length-1]){t.pop();continue}}else if(t[0])continue;t.push(a)}}return t}function b(e){for(var n=[],t=1;t0&&n===e.length},e.pathIsAbsolute=a,e.pathIsRelative=i,e.hasExtension=function(n){return e.stringContains(p(n),".")},e.fileExtensionIs=s,e.fileExtensionIsOneOf=function(e,n){for(var t=0,r=n;t0==u(t)>0,"Paths must either both be absolute or both be relative");var a="function"==typeof r?r:e.identity;return y(I(n,t,"boolean"==typeof r&&r?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive,a))}function O(n,t,a,i,o){var s=I(E(a,n),E(a,t),e.equateStringsCaseSensitive,i),l=s[0];if(o&&r(l)){var c=l.charAt(0)===e.directorySeparator?"file://":"file:///";s[0]=c+l}return y(s)}e.comparePathsCaseSensitive=function(n,t){return R(n,t,e.compareStringsCaseSensitive)},e.comparePathsCaseInsensitive=function(n,t){return R(n,t,e.compareStringsCaseInsensitive)},e.comparePaths=function(n,t,r,a){return"string"==typeof r?(n=b(r,n),t=b(r,t)):"boolean"==typeof r&&(a=r),R(n,t,e.getStringComparer(a))},e.containsPath=function(n,t,r,a){if("string"==typeof r?(n=b(r,n),t=b(r,t)):"boolean"==typeof r&&(a=r),void 0===n||void 0===t)return!1;if(n===t)return!0;var i=h(_(n)),o=h(_(t));if(o.length type."),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:n(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:n(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."),Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces:n(1069,e.DiagnosticCategory.Error,"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069","Unexpected token. A type parameter name was expected without curly braces."),_0_modifier_cannot_appear_on_a_type_member:n(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:n(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:n(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:n(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:n(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}'."),_0_modifier_cannot_appear_on_a_constructor_declaration:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(1097,e.DiagnosticCategory.Error,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:n(1098,e.DiagnosticCategory.Error,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:n(1099,e.DiagnosticCategory.Error,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(1109,e.DiagnosticCategory.Error,"Expression_expected_1109","Expression expected."),Type_expected:n(1110,e.DiagnosticCategory.Error,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(1121,e.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_strict_mode_1121","Octal literals are not allowed in strict mode."),Variable_declaration_list_cannot_be_empty:n(1123,e.DiagnosticCategory.Error,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:n(1124,e.DiagnosticCategory.Error,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:n(1125,e.DiagnosticCategory.Error,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:n(1126,e.DiagnosticCategory.Error,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:n(1127,e.DiagnosticCategory.Error,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:n(1128,e.DiagnosticCategory.Error,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:n(1129,e.DiagnosticCategory.Error,"Statement_expected_1129","Statement expected."),case_or_default_expected:n(1130,e.DiagnosticCategory.Error,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:n(1131,e.DiagnosticCategory.Error,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:n(1132,e.DiagnosticCategory.Error,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:n(1134,e.DiagnosticCategory.Error,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:n(1135,e.DiagnosticCategory.Error,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:n(1136,e.DiagnosticCategory.Error,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:n(1137,e.DiagnosticCategory.Error,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:n(1138,e.DiagnosticCategory.Error,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:n(1139,e.DiagnosticCategory.Error,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:n(1140,e.DiagnosticCategory.Error,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:n(1141,e.DiagnosticCategory.Error,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:n(1142,e.DiagnosticCategory.Error,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:n(1144,e.DiagnosticCategory.Error,"or_expected_1144","'{' or ';' expected."),Declaration_expected:n(1146,e.DiagnosticCategory.Error,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:n(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:n(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:n(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."),const_declarations_must_be_initialized:n(1155,e.DiagnosticCategory.Error,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:n(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:n(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:n(1160,e.DiagnosticCategory.Error,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:n(1161,e.DiagnosticCategory.Error,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:n(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:n(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:n(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_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1165,e.DiagnosticCategory.Error,"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165","A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1166,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_1166","A computed property name in a class property declaration must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1168,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168","A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1169,e.DiagnosticCategory.Error,"A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169","A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:n(1170,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170","A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_comma_expression_is_not_allowed_in_a_computed_property_name:n(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:n(1172,e.DiagnosticCategory.Error,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:n(1173,e.DiagnosticCategory.Error,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:n(1174,e.DiagnosticCategory.Error,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:n(1175,e.DiagnosticCategory.Error,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:n(1176,e.DiagnosticCategory.Error,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:n(1177,e.DiagnosticCategory.Error,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:n(1178,e.DiagnosticCategory.Error,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:n(1179,e.DiagnosticCategory.Error,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:n(1180,e.DiagnosticCategory.Error,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:n(1181,e.DiagnosticCategory.Error,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:n(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:n(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:n(1184,e.DiagnosticCategory.Error,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:n(1185,e.DiagnosticCategory.Error,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:n(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:n(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:n(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:n(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:n(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:n(1191,e.DiagnosticCategory.Error,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:n(1192,e.DiagnosticCategory.Error,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:n(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:n(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:n(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:n(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:n(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:n(1199,e.DiagnosticCategory.Error,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:n(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_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead:n(1202,e.DiagnosticCategory.Error,"Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202","Import assignment cannot be used when targeting ECMAScript 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_modules_Consider_using_export_default_or_another_module_format_instead:n(1203,e.DiagnosticCategory.Error,"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203","Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead."),Cannot_re_export_a_type_when_the_isolatedModules_flag_is_provided:n(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:n(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:n(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."),All_files_must_be_modules_when_the_isolatedModules_flag_is_provided:n(1208,e.DiagnosticCategory.Error,"All_files_must_be_modules_when_the_isolatedModules_flag_is_provided_1208","All files must be modules when the '--isolatedModules' flag is provided."),Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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_in_your_tsconfig_or_jsconfig_to_remove_this_warning:n(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 in your 'tsconfig' or 'jsconfig' to remove this warning."),Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher:n(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:n(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:n(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:n(1223,e.DiagnosticCategory.Error,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:n(1224,e.DiagnosticCategory.Error,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:n(1225,e.DiagnosticCategory.Error,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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_or_literal_enum_reference:n(1254,e.DiagnosticCategory.Error,"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254","A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),A_definite_assignment_assertion_is_not_permitted_in_this_context:n(1255,e.DiagnosticCategory.Error,"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255","A definite assignment assertion '!' is not permitted in this context."),A_rest_element_must_be_last_in_a_tuple_type:n(1256,e.DiagnosticCategory.Error,"A_rest_element_must_be_last_in_a_tuple_type_1256","A rest element must be last in a tuple type."),A_required_element_cannot_follow_an_optional_element:n(1257,e.DiagnosticCategory.Error,"A_required_element_cannot_follow_an_optional_element_1257","A required element cannot follow an optional element."),Definite_assignment_assertions_can_only_be_used_along_with_a_type_annotation:n(1258,e.DiagnosticCategory.Error,"Definite_assignment_assertions_can_only_be_used_along_with_a_type_annotation_1258","Definite assignment assertions can only be used along with a type annotation."),Module_0_can_only_be_default_imported_using_the_1_flag:n(1259,e.DiagnosticCategory.Error,"Module_0_can_only_be_default_imported_using_the_1_flag_1259","Module '{0}' can only be default-imported using the '{1}' flag"),Keywords_cannot_contain_escape_characters:n(1260,e.DiagnosticCategory.Error,"Keywords_cannot_contain_escape_characters_1260","Keywords cannot contain escape characters."),with_statements_are_not_allowed_in_an_async_function_block:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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_imports_are_only_supported_when_the_module_flag_is_set_to_esnext_commonjs_amd_system_or_umd:n(1323,e.DiagnosticCategory.Error,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_esnext_commonjs_amd_system_or_umd_1323","Dynamic imports are only supported when the '--module' flag is set to 'esnext', 'commonjs', 'amd', 'system', or 'umd'."),Dynamic_import_must_have_one_specifier_as_an_argument:n(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:n(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:n(1326,e.DiagnosticCategory.Error,"Dynamic_import_cannot_have_type_arguments_1326","Dynamic import cannot have type arguments"),String_literal_with_double_quotes_expected:n(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:n(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."),_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0:n(1329,e.DiagnosticCategory.Error,"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329","'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?"),A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly:n(1330,e.DiagnosticCategory.Error,"A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330","A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'."),A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly:n(1331,e.DiagnosticCategory.Error,"A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331","A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'."),A_variable_whose_type_is_a_unique_symbol_type_must_be_const:n(1332,e.DiagnosticCategory.Error,"A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332","A variable whose type is a 'unique symbol' type must be 'const'."),unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name:n(1333,e.DiagnosticCategory.Error,"unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333","'unique symbol' types may not be used on a variable declaration with a binding name."),unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement:n(1334,e.DiagnosticCategory.Error,"unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334","'unique symbol' types are only allowed on variables in a variable statement."),unique_symbol_types_are_not_allowed_here:n(1335,e.DiagnosticCategory.Error,"unique_symbol_types_are_not_allowed_here_1335","'unique symbol' types are not allowed here."),An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead:n(1336,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead_1336","An index signature parameter type cannot be a type alias. Consider writing '[{0}: {1}]: {2}' instead."),An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead:n(1337,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead_1337","An index signature parameter type cannot be a union type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:n(1338,e.DiagnosticCategory.Error,"infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338","'infer' declarations are only permitted in the 'extends' clause of a conditional type."),Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:n(1339,e.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339","Module '{0}' does not refer to a value, but is used as a value here."),Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0:n(1340,e.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340","Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?"),Type_arguments_cannot_be_used_here:n(1342,e.DiagnosticCategory.Error,"Type_arguments_cannot_be_used_here_1342","Type arguments cannot be used here."),The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_esnext_or_system:n(1343,e.DiagnosticCategory.Error,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_esnext_or_system_1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'esnext' or 'system'."),A_label_is_not_allowed_here:n(1344,e.DiagnosticCategory.Error,"A_label_is_not_allowed_here_1344","'A label is not allowed here."),An_expression_of_type_void_cannot_be_tested_for_truthiness:n(1345,e.DiagnosticCategory.Error,"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345","An expression of type 'void' cannot be tested for truthiness"),This_parameter_is_not_allowed_with_use_strict_directive:n(1346,e.DiagnosticCategory.Error,"This_parameter_is_not_allowed_with_use_strict_directive_1346","This parameter is not allowed with 'use strict' directive."),use_strict_directive_cannot_be_used_with_non_simple_parameter_list:n(1347,e.DiagnosticCategory.Error,"use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347","'use strict' directive cannot be used with non-simple parameter list."),Non_simple_parameter_declared_here:n(1348,e.DiagnosticCategory.Error,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:n(1349,e.DiagnosticCategory.Error,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:n(1350,e.DiagnosticCategory.Message,"Print_the_final_configuration_instead_of_building_1350","Print the final configuration instead of building."),An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal:n(1351,e.DiagnosticCategory.Error,"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351","An identifier or keyword cannot immediately follow a numeric literal."),A_bigint_literal_cannot_use_exponential_notation:n(1352,e.DiagnosticCategory.Error,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:n(1353,e.DiagnosticCategory.Error,"A_bigint_literal_must_be_an_integer_1353","A bigint literal must be an integer."),readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types:n(1354,e.DiagnosticCategory.Error,"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354","'readonly' type modifier is only permitted on array and tuple literal types."),A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals:n(1355,e.DiagnosticCategory.Error,"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355","A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals."),Did_you_mean_to_mark_this_function_as_async:n(1356,e.DiagnosticCategory.Error,"Did_you_mean_to_mark_this_function_as_async_1356","Did you mean to mark this function as 'async'?"),An_enum_member_name_must_be_followed_by_a_or:n(1357,e.DiagnosticCategory.Error,"An_enum_member_name_must_be_followed_by_a_or_1357","An enum member name must be followed by a ',', '=', or '}'."),Tagged_template_expressions_are_not_permitted_in_an_optional_chain:n(1358,e.DiagnosticCategory.Error,"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358","Tagged template expressions are not permitted in an optional chain."),Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:n(1359,e.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here_1359","Identifier expected. '{0}' is a reserved word that cannot be used here."),The_types_of_0_are_incompatible_between_these_types:n(2200,e.DiagnosticCategory.Error,"The_types_of_0_are_incompatible_between_these_types_2200","The types of '{0}' are incompatible between these types."),The_types_returned_by_0_are_incompatible_between_these_types:n(2201,e.DiagnosticCategory.Error,"The_types_returned_by_0_are_incompatible_between_these_types_2201","The types returned by '{0}' are incompatible between these types."),Call_signature_return_types_0_and_1_are_incompatible:n(2202,e.DiagnosticCategory.Error,"Call_signature_return_types_0_and_1_are_incompatible_2202","Call signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Construct_signature_return_types_0_and_1_are_incompatible:n(2203,e.DiagnosticCategory.Error,"Construct_signature_return_types_0_and_1_are_incompatible_2203","Construct signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:n(2204,e.DiagnosticCategory.Error,"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204","Call signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:n(2205,e.DiagnosticCategory.Error,"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205","Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),Duplicate_identifier_0:n(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:n(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:n(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:n(2303,e.DiagnosticCategory.Error,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:n(2304,e.DiagnosticCategory.Error,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:n(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:n(2306,e.DiagnosticCategory.Error,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0:n(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:n(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:n(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:n(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:n(2311,e.DiagnosticCategory.Error,"A_class_may_only_extend_another_class_2311","A class may only extend another class."),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:n(2312,e.DiagnosticCategory.Error,"An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312","An interface can only extend an object type or intersection of object types with statically known members."),Type_parameter_0_has_a_circular_constraint:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(2323,e.DiagnosticCategory.Error,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:n(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:n(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:n(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:n(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:n(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:n(2329,e.DiagnosticCategory.Error,"Index_signature_is_missing_in_type_0_2329","Index signature is missing in type '{0}'."),Index_signatures_are_incompatible:n(2330,e.DiagnosticCategory.Error,"Index_signatures_are_incompatible_2330","Index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:n(2343,e.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_ve_2343","This syntax requires an imported helper named '{1}' which does not exist in '{0}'. Consider upgrading your version of '{0}'."),Type_0_does_not_satisfy_the_constraint_1:n(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:n(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:n(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:n(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:n(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'?"),This_expression_is_not_callable:n(2349,e.DiagnosticCategory.Error,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:n(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."),This_expression_is_not_constructable:n(2351,e.DiagnosticCategory.Error,"This_expression_is_not_constructable_2351","This expression is not constructable."),Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first:n(2352,e.DiagnosticCategory.Error,"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352","Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first."),Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:n(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:n(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:n(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_bigint_or_an_enum_type:n(2356,e.DiagnosticCategory.Error,"An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356","An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type."),The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:n(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:n(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:n(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:n(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:n(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_bigint_or_an_enum_type:n(2362,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362","The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:n(2363,e.DiagnosticCategory.Error,"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363","The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:n(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:n(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:n(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'."),This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap:n(2367,e.DiagnosticCategory.Error,"This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap_2367","This condition will always return '{0}' since the types '{1}' and '{2}' have no overlap."),Type_parameter_name_cannot_be_0:n(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:n(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:n(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:n(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:n(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:n(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:n(2374,e.DiagnosticCategory.Error,"Duplicate_string_index_signature_2374","Duplicate string index signature."),Duplicate_number_index_signature:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(2387,e.DiagnosticCategory.Error,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:n(2388,e.DiagnosticCategory.Error,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:n(2389,e.DiagnosticCategory.Error,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:n(2390,e.DiagnosticCategory.Error,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:n(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:n(2392,e.DiagnosticCategory.Error,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:n(2393,e.DiagnosticCategory.Error,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:n(2394,e.DiagnosticCategory.Error,"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394","This overload signature is not compatible with its implementation signature."),Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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_but_here_has_type_0:n(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_but_2407","The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'."),Setters_cannot_return_a_value:n(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:n(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:n(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:n(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:n(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:n(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:n(2414,e.DiagnosticCategory.Error,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:n(2415,e.DiagnosticCategory.Error,"Class_0_incorrectly_extends_base_class_1_2415","Class '{0}' incorrectly extends base class '{1}'."),Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2:n(2416,e.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416","Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'."),Class_static_side_0_incorrectly_extends_base_class_static_side_1:n(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}'."),Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:n(2418,e.DiagnosticCategory.Error,"Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1_2418","Type of computed property's value is '{0}', which is not assignable to type '{1}'."),Class_0_incorrectly_implements_interface_1:n(2420,e.DiagnosticCategory.Error,"Class_0_incorrectly_implements_interface_1_2420","Class '{0}' incorrectly implements interface '{1}'."),A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members:n(2422,e.DiagnosticCategory.Error,"A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422","A class can only implement an object type or intersection of object types with statically known members."),Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:n(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_property_1_but_extended_class_2_defines_it_as_instance_member_function:n(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:n(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:n(2427,e.DiagnosticCategory.Error,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:n(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:n(2430,e.DiagnosticCategory.Error,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(2449,e.DiagnosticCategory.Error,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:n(2450,e.DiagnosticCategory.Error,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:n(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:n(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:n(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:n(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:n(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:n(2456,e.DiagnosticCategory.Error,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:n(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:n(2458,e.DiagnosticCategory.Error,"An_AMD_module_cannot_have_multiple_name_assignments_2458","An AMD module cannot have multiple name assignments."),Type_0_is_not_an_array_type:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(2468,e.DiagnosticCategory.Error,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:n(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:n(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:n(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:n(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:n(2473,e.DiagnosticCategory.Error,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values:n(2474,e.DiagnosticCategory.Error,"const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values_2474","const enum member initializers can only contain literal values and other computed enum values."),const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query:n(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 or type query."),A_const_enum_member_can_only_be_accessed_using_a_string_literal:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator:n(2488,e.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488","Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator."),An_iterator_must_have_a_next_method:n(2489,e.DiagnosticCategory.Error,"An_iterator_must_have_a_next_method_2489","An iterator must have a 'next()' method."),The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property:n(2490,e.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490","The type returned by the '{0}()' method of an iterator must have a 'value' property."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:n(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:n(2492,e.DiagnosticCategory.Error,"Cannot_redeclare_identifier_0_in_catch_clause_2492","Cannot redeclare identifier '{0}' in catch clause."),Tuple_type_0_of_length_1_has_no_element_at_index_2:n(2493,e.DiagnosticCategory.Error,"Tuple_type_0_of_length_1_has_no_element_at_index_2_2493","Tuple type '{0}' of length '{1}' has no element at index '{2}'."),Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:n(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:n(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:n(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."),This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export:n(2497,e.DiagnosticCategory.Error,"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497","This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export."),Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:n(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:n(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:n(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:n(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:n(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:n(2503,e.DiagnosticCategory.Error,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:n(2504,e.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504","Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator."),A_generator_cannot_have_a_void_type_annotation:n(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:n(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:n(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:n(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_an_object_type_or_intersection_of_object_types_with_statically_known_members:n(2509,e.DiagnosticCategory.Error,"Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_2509","Base constructor return type '{0}' is not an object type or intersection of object types with statically known members."),Base_constructors_must_all_have_the_same_return_type:n(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_an_abstract_class:n(2511,e.DiagnosticCategory.Error,"Cannot_create_an_instance_of_an_abstract_class_2511","Cannot create an instance of an abstract class."),Overload_signatures_must_all_be_abstract_or_non_abstract:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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_1_type_A_type_annotation_is_necessary:n(2527,e.DiagnosticCategory.Error,"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527","The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary."),A_module_cannot_have_multiple_default_exports:n(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:n(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:n(2530,e.DiagnosticCategory.Error,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:n(2531,e.DiagnosticCategory.Error,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:n(2532,e.DiagnosticCategory.Error,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:n(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:n(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:n(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:n(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:n(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:n(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:n(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_read_only_property:n(2540,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_read_only_property_2540","Cannot assign to '{0}' because it is a read-only property."),The_target_of_an_assignment_must_be_a_variable_or_a_property_access:n(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:n(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:n(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:n(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:n(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:n(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_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:n(2547,e.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_pro_2547","The type returned by the '{0}()' 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:n(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:n(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."),Property_0_does_not_exist_on_type_1_Did_you_mean_2:n(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:n(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:n(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:n(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:n(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_1_or_more:n(2556,e.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_or_more_2556","Expected {0} arguments, but got {1} or more."),Expected_at_least_0_arguments_but_got_1_or_more:n(2557,e.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_or_more_2557","Expected at least {0} arguments, but got {1} or more."),Expected_0_type_arguments_but_got_1:n(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:n(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:n(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?"),Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2:n(2561,e.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561","Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?"),Base_class_expressions_cannot_reference_class_type_parameters:n(2562,e.DiagnosticCategory.Error,"Base_class_expressions_cannot_reference_class_type_parameters_2562","Base class expressions cannot reference class type parameters."),The_containing_function_or_module_body_is_too_large_for_control_flow_analysis:n(2563,e.DiagnosticCategory.Error,"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563","The containing function or module body is too large for control flow analysis."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor:n(2564,e.DiagnosticCategory.Error,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564","Property '{0}' has no initializer and is not definitely assigned in the constructor."),Property_0_is_used_before_being_assigned:n(2565,e.DiagnosticCategory.Error,"Property_0_is_used_before_being_assigned_2565","Property '{0}' is used before being assigned."),A_rest_element_cannot_have_a_property_name:n(2566,e.DiagnosticCategory.Error,"A_rest_element_cannot_have_a_property_name_2566","A rest element cannot have a property name."),Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:n(2567,e.DiagnosticCategory.Error,"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567","Enum declarations can only merge with namespace or other enum declarations."),Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators:n(2569,e.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterati_2569","Type '{0}' is not an array type or a string type. Use compiler option '--downlevelIteration' to allow iterating of iterators."),Object_is_of_type_unknown:n(2571,e.DiagnosticCategory.Error,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),Rest_signatures_are_incompatible:n(2572,e.DiagnosticCategory.Error,"Rest_signatures_are_incompatible_2572","Rest signatures are incompatible."),Property_0_is_incompatible_with_rest_element_type:n(2573,e.DiagnosticCategory.Error,"Property_0_is_incompatible_with_rest_element_type_2573","Property '{0}' is incompatible with rest element type."),A_rest_element_type_must_be_an_array_type:n(2574,e.DiagnosticCategory.Error,"A_rest_element_type_must_be_an_array_type_2574","A rest element type must be an array type."),No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments:n(2575,e.DiagnosticCategory.Error,"No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments_2575","No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments."),Property_0_is_a_static_member_of_type_1:n(2576,e.DiagnosticCategory.Error,"Property_0_is_a_static_member_of_type_1_2576","Property '{0}' is a static member of type '{1}'"),Return_type_annotation_circularly_references_itself:n(2577,e.DiagnosticCategory.Error,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode:n(2580,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_2580","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i @types/node`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery:n(2581,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_2581","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashjest_or_npm_i_types_Slashmocha:n(2582,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashje_2582","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:n(2583,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583","Cannot find name '{0}'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom:n(2584,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584","Cannot find name '{0}'. Do you need to change your target library? Try changing the `lib` compiler option to include 'dom'."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:n(2585,e.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585","'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later."),Enum_type_0_circularly_references_itself:n(2586,e.DiagnosticCategory.Error,"Enum_type_0_circularly_references_itself_2586","Enum type '{0}' circularly references itself."),JSDoc_type_0_circularly_references_itself:n(2587,e.DiagnosticCategory.Error,"JSDoc_type_0_circularly_references_itself_2587","JSDoc type '{0}' circularly references itself."),Cannot_assign_to_0_because_it_is_a_constant:n(2588,e.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_constant_2588","Cannot assign to '{0}' because it is a constant."),Type_instantiation_is_excessively_deep_and_possibly_infinite:n(2589,e.DiagnosticCategory.Error,"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589","Type instantiation is excessively deep and possibly infinite."),Expression_produces_a_union_type_that_is_too_complex_to_represent:n(2590,e.DiagnosticCategory.Error,"Expression_produces_a_union_type_that_is_too_complex_to_represent_2590","Expression produces a union type that is too complex to represent."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:n(2591,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_types_Slashnode_and_th_2591","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:n(2592,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_types_Slashjquery_an_2592","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i @types/jquery` and then add `jquery` to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashjest_or_npm_i_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:n(2593,e.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_types_Slashje_2593","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig."),This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:n(2594,e.DiagnosticCategory.Error,"This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the__2594","This module is declared with using 'export =', and can only be used with a default import when using the '{0}' flag."),JSX_element_attributes_type_0_may_not_be_a_union_type:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(2609,e.DiagnosticCategory.Error,"JSX_spread_child_must_be_an_array_type_2609","JSX spread child must be an array type."),Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_property:n(2610,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_proper_2610","Class '{0}' defines instance member accessor '{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_accessor:n(2611,e.DiagnosticCategory.Error,"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_access_2611","Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member accessor."),Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration:n(2612,e.DiagnosticCategory.Error,"Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_2612","Property '{0}' will overwrite the base property in '{1}'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration."),Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead:n(2613,e.DiagnosticCategory.Error,"Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead_2613","Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead?"),Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead:n(2614,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead_2614","Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead?"),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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.",!0),The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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}\"]'?"),The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context:n(2714,e.DiagnosticCategory.Error,"The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context_2714","The expression of an export assignment must be an identifier or qualified name in an ambient context."),Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor:n(2715,e.DiagnosticCategory.Error,"Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715","Abstract property '{0}' in class '{1}' cannot be accessed in the constructor."),Type_parameter_0_has_a_circular_default:n(2716,e.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_default_2716","Type parameter '{0}' has a circular default."),Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:n(2717,e.DiagnosticCategory.Error,"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717","Subsequent property declarations must have the same type. Property '{0}' must be of type '{1}', but here has type '{2}'."),Duplicate_property_0:n(2718,e.DiagnosticCategory.Error,"Duplicate_property_0_2718","Duplicate property '{0}'."),Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:n(2719,e.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719","Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."),Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:n(2720,e.DiagnosticCategory.Error,"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720","Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?"),Cannot_invoke_an_object_which_is_possibly_null:n(2721,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_2721","Cannot invoke an object which is possibly 'null'."),Cannot_invoke_an_object_which_is_possibly_undefined:n(2722,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_undefined_2722","Cannot invoke an object which is possibly 'undefined'."),Cannot_invoke_an_object_which_is_possibly_null_or_undefined:n(2723,e.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723","Cannot invoke an object which is possibly 'null' or 'undefined'."),Module_0_has_no_exported_member_1_Did_you_mean_2:n(2724,e.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_Did_you_mean_2_2724","Module '{0}' has no exported member '{1}'. Did you mean '{2}'?"),Class_name_cannot_be_Object_when_targeting_ES5_with_module_0:n(2725,e.DiagnosticCategory.Error,"Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725","Class name cannot be 'Object' when targeting ES5 with module {0}."),Cannot_find_lib_definition_for_0:n(2726,e.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_2726","Cannot find lib definition for '{0}'."),Cannot_find_lib_definition_for_0_Did_you_mean_1:n(2727,e.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727","Cannot find lib definition for '{0}'. Did you mean '{1}'?"),_0_is_declared_here:n(2728,e.DiagnosticCategory.Message,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:n(2729,e.DiagnosticCategory.Error,"Property_0_is_used_before_its_initialization_2729","Property '{0}' is used before its initialization."),An_arrow_function_cannot_have_a_this_parameter:n(2730,e.DiagnosticCategory.Error,"An_arrow_function_cannot_have_a_this_parameter_2730","An arrow function cannot have a 'this' parameter."),Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String:n(2731,e.DiagnosticCategory.Error,"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731","Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'."),Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension:n(2732,e.DiagnosticCategory.Error,"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732","Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension"),Property_0_was_also_declared_here:n(2733,e.DiagnosticCategory.Error,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),It_is_highly_likely_that_you_are_missing_a_semicolon:n(2734,e.DiagnosticCategory.Error,"It_is_highly_likely_that_you_are_missing_a_semicolon_2734","It is highly likely that you are missing a semicolon."),Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1:n(2735,e.DiagnosticCategory.Error,"Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1_2735","Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?"),Operator_0_cannot_be_applied_to_type_1:n(2736,e.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_type_1_2736","Operator '{0}' cannot be applied to type '{1}'."),BigInt_literals_are_not_available_when_targeting_lower_than_ESNext:n(2737,e.DiagnosticCategory.Error,"BigInt_literals_are_not_available_when_targeting_lower_than_ESNext_2737","BigInt literals are not available when targeting lower than ESNext."),An_outer_value_of_this_is_shadowed_by_this_container:n(2738,e.DiagnosticCategory.Message,"An_outer_value_of_this_is_shadowed_by_this_container_2738","An outer value of 'this' is shadowed by this container."),Type_0_is_missing_the_following_properties_from_type_1_Colon_2:n(2739,e.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739","Type '{0}' is missing the following properties from type '{1}': {2}"),Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more:n(2740,e.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740","Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more."),Property_0_is_missing_in_type_1_but_required_in_type_2:n(2741,e.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_but_required_in_type_2_2741","Property '{0}' is missing in type '{1}' but required in type '{2}'."),The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary:n(2742,e.DiagnosticCategory.Error,"The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_a_2742","The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary."),No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments:n(2743,e.DiagnosticCategory.Error,"No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments_2743","No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments."),Type_parameter_defaults_can_only_reference_previously_declared_type_parameters:n(2744,e.DiagnosticCategory.Error,"Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744","Type parameter defaults can only reference previously declared type parameters."),This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided:n(2745,e.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745","This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided."),This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided:n(2746,e.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746","This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided."),_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2:n(2747,e.DiagnosticCategory.Error,"_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747","'{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'."),Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided:n(2748,e.DiagnosticCategory.Error,"Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided_2748","Cannot access ambient const enums when the '--isolatedModules' flag is provided."),_0_refers_to_a_value_but_is_being_used_as_a_type_here:n(2749,e.DiagnosticCategory.Error,"_0_refers_to_a_value_but_is_being_used_as_a_type_here_2749","'{0}' refers to a value, but is being used as a type here."),The_implementation_signature_is_declared_here:n(2750,e.DiagnosticCategory.Error,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:n(2751,e.DiagnosticCategory.Error,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:n(2752,e.DiagnosticCategory.Error,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:n(2753,e.DiagnosticCategory.Error,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:n(2754,e.DiagnosticCategory.Error,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:n(2755,e.DiagnosticCategory.Error,"No_constituent_of_type_0_is_callable_2755","No constituent of type '{0}' is callable."),Not_all_constituents_of_type_0_are_callable:n(2756,e.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_callable_2756","Not all constituents of type '{0}' are callable."),Type_0_has_no_call_signatures:n(2757,e.DiagnosticCategory.Error,"Type_0_has_no_call_signatures_2757","Type '{0}' has no call signatures."),Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:n(2758,e.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758","Each member of the union type '{0}' has signatures, but none of those signatures are compatible with each other."),No_constituent_of_type_0_is_constructable:n(2759,e.DiagnosticCategory.Error,"No_constituent_of_type_0_is_constructable_2759","No constituent of type '{0}' is constructable."),Not_all_constituents_of_type_0_are_constructable:n(2760,e.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_constructable_2760","Not all constituents of type '{0}' are constructable."),Type_0_has_no_construct_signatures:n(2761,e.DiagnosticCategory.Error,"Type_0_has_no_construct_signatures_2761","Type '{0}' has no construct signatures."),Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other:n(2762,e.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762","Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:n(2763,e.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_s_2763","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:n(2764,e.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_al_2764","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:n(2765,e.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring__2765","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'."),Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:n(2766,e.DiagnosticCategory.Error,"Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_co_2766","Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always send '{0}'."),The_0_property_of_an_iterator_must_be_a_method:n(2767,e.DiagnosticCategory.Error,"The_0_property_of_an_iterator_must_be_a_method_2767","The '{0}' property of an iterator must be a method."),The_0_property_of_an_async_iterator_must_be_a_method:n(2768,e.DiagnosticCategory.Error,"The_0_property_of_an_async_iterator_must_be_a_method_2768","The '{0}' property of an async iterator must be a method."),No_overload_matches_this_call:n(2769,e.DiagnosticCategory.Error,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:n(2770,e.DiagnosticCategory.Error,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:n(2771,e.DiagnosticCategory.Error,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:n(2772,e.DiagnosticCategory.Error,"Overload_0_of_1_2_gave_the_following_error_2772","Overload {0} of {1}, '{2}', gave the following error."),Did_you_forget_to_use_await:n(2773,e.DiagnosticCategory.Error,"Did_you_forget_to_use_await_2773","Did you forget to use 'await'?"),This_condition_will_always_return_true_since_the_function_is_always_defined_Did_you_mean_to_call_it_instead:n(2774,e.DiagnosticCategory.Error,"This_condition_will_always_return_true_since_the_function_is_always_defined_Did_you_mean_to_call_it__2774","This condition will always return true since the function is always defined. Did you mean to call it instead?"),Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation:n(2775,e.DiagnosticCategory.Error,"Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation_2775","Assertions require every name in the call target to be declared with an explicit type annotation."),Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name:n(2776,e.DiagnosticCategory.Error,"Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776","Assertions require the call target to be an identifier or qualified name."),The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access:n(2777,e.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access_2777","The operand of an increment or decrement operator may not be an optional property access."),The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:n(2778,e.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access_2778","The target of an object rest assignment may not be an optional property access."),The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access:n(2779,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779","The left-hand side of an assignment expression may not be an optional property access."),The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access:n(2780,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access_2780","The left-hand side of a 'for...in' statement may not be an optional property access."),The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access:n(2781,e.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access_2781","The left-hand side of a 'for...of' statement may not be an optional property access."),Import_declaration_0_is_using_private_name_1:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4034,e.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034","Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:n(4035,e.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1_4035","Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4036,e.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036","Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:n(4037,e.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037","Parameter type of public setter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4038,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_modul_4038","Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4039,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_4039","Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:n(4040,e.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1_4040","Return type of public static getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4041,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_4041","Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:n(4042,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4042","Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1:n(4043,e.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1_4043","Return type of public getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(4090,e.DiagnosticCategory.Error,"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:n(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:n(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:n(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."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4095,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095","Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4096,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096","Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:n(4097,e.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097","Public static method '{0}' of exported class has or is using private name '{1}'."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4098,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098","Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:n(4099,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099","Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_method_0_of_exported_class_has_or_is_using_private_name_1:n(4100,e.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100","Public method '{0}' of exported class has or is using private name '{1}'."),Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:n(4101,e.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101","Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Method_0_of_exported_interface_has_or_is_using_private_name_1:n(4102,e.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_private_name_1_4102","Method '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1:n(4103,e.DiagnosticCategory.Error,"Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1_4103","Type parameter '{0}' of exported mapped object type is using private name '{1}'."),The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1:n(4104,e.DiagnosticCategory.Error,"The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1_4104","The type '{0}' is 'readonly' and cannot be assigned to the mutable type '{1}'."),Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter:n(4105,e.DiagnosticCategory.Error,"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105","Private or protected member '{0}' cannot be accessed on a type parameter."),Parameter_0_of_accessor_has_or_is_using_private_name_1:n(4106,e.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_private_name_1_4106","Parameter '{0}' of accessor has or is using private name '{1}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:n(4107,e.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2_4107","Parameter '{0}' of accessor has or is using name '{1}' from private module '{2}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:n(4108,e.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4108","Parameter '{0}' of accessor has or is using name '{1}' from external module '{2}' but cannot be named."),Type_arguments_for_0_circularly_reference_themselves:n(4109,e.DiagnosticCategory.Error,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:n(4110,e.DiagnosticCategory.Error,"Tuple_type_arguments_circularly_reference_themselves_4110","Tuple type arguments circularly reference themselves."),The_current_host_does_not_support_the_0_option:n(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:n(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:n(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}'."),Cannot_read_file_0_Colon_1:n(5012,e.DiagnosticCategory.Error,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:n(5014,e.DiagnosticCategory.Error,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:n(5023,e.DiagnosticCategory.Error,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:n(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:n(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:n(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:n(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_cannot_be_specified_when_option_target_is_ES3:n(5048,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_when_option_target_is_ES3_5048","Option '{0}' cannot be specified when option 'target' is 'ES3'."),Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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_can_have_at_most_one_Asterisk_character:n(5062,e.DiagnosticCategory.Error,"Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character_5062","Substitution '{0}' in pattern '{1}' can have at most one '*' character."),Substitutions_for_pattern_0_should_be_an_array:n(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:n(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:n(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:n(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:n(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."),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:n(5068,e.DiagnosticCategory.Error,"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__5068","Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig."),Option_0_cannot_be_specified_without_specifying_option_1_or_option_2:n(5069,e.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069","Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'."),Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy:n(5070,e.DiagnosticCategory.Error,"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070","Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy."),Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext:n(5071,e.DiagnosticCategory.Error,"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071","Option '--resolveJsonModule' can only be specified when module code generation is 'commonjs', 'amd', 'es2015' or 'esNext'."),Unknown_build_option_0:n(5072,e.DiagnosticCategory.Error,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:n(5073,e.DiagnosticCategory.Error,"Build_option_0_requires_a_value_of_type_1_5073","Build option '{0}' requires a value of type {1}."),Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified:n(5074,e.DiagnosticCategory.Error,"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074","Option '--incremental' can only be specified using tsconfig, emitting to single file or when option `--tsBuildInfoFile` is specified."),_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2:n(5075,e.DiagnosticCategory.Error,"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075","'{0}' is assignable to the constraint of type '{1}', but '{1}' could be instantiated with a different subtype of constraint '{2}'."),_0_and_1_operations_cannot_be_mixed_without_parentheses:n(5076,e.DiagnosticCategory.Error,"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076","'{0}' and '{1}' operations cannot be mixed without parentheses."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:n(6e3,e.DiagnosticCategory.Message,"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000","Generates a sourcemap for each corresponding '.d.ts' file."),Concatenate_and_emit_output_to_single_file:n(6001,e.DiagnosticCategory.Message,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:n(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:n(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:n(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:n(6005,e.DiagnosticCategory.Message,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:n(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:n(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:n(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:n(6009,e.DiagnosticCategory.Message,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:n(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:n(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:n(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:n(6013,e.DiagnosticCategory.Message,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Only_emit_d_ts_declaration_files:n(6014,e.DiagnosticCategory.Message,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_ES2019_or_ESNEXT:n(6015,e.DiagnosticCategory.Message,"Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_ES2019_or_ESNEXT_6015","Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'."),Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_or_ESNext:n(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:n(6017,e.DiagnosticCategory.Message,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:n(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:n(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:n(6023,e.DiagnosticCategory.Message,"Syntax_Colon_0_6023","Syntax: {0}"),options:n(6024,e.DiagnosticCategory.Message,"options_6024","options"),file:n(6025,e.DiagnosticCategory.Message,"file_6025","file"),Examples_Colon_0:n(6026,e.DiagnosticCategory.Message,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:n(6027,e.DiagnosticCategory.Message,"Options_Colon_6027","Options:"),Version_0:n(6029,e.DiagnosticCategory.Message,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:n(6030,e.DiagnosticCategory.Message,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),Starting_compilation_in_watch_mode:n(6031,e.DiagnosticCategory.Message,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:n(6032,e.DiagnosticCategory.Message,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:n(6034,e.DiagnosticCategory.Message,"KIND_6034","KIND"),FILE:n(6035,e.DiagnosticCategory.Message,"FILE_6035","FILE"),VERSION:n(6036,e.DiagnosticCategory.Message,"VERSION_6036","VERSION"),LOCATION:n(6037,e.DiagnosticCategory.Message,"LOCATION_6037","LOCATION"),DIRECTORY:n(6038,e.DiagnosticCategory.Message,"DIRECTORY_6038","DIRECTORY"),STRATEGY:n(6039,e.DiagnosticCategory.Message,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:n(6040,e.DiagnosticCategory.Message,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Generates_corresponding_map_file:n(6043,e.DiagnosticCategory.Message,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:n(6044,e.DiagnosticCategory.Error,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:n(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:n(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:n(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:n(6049,e.DiagnosticCategory.Error,"Unsupported_locale_0_6049","Unsupported locale '{0}'."),Unable_to_open_file_0:n(6050,e.DiagnosticCategory.Error,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:n(6051,e.DiagnosticCategory.Error,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:n(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:n(6053,e.DiagnosticCategory.Error,"File_0_not_found_6053","File '{0}' not found."),File_0_has_unsupported_extension_The_only_supported_extensions_are_1:n(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:n(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:n(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:n(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:n(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:n(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:n(6061,e.DiagnosticCategory.Message,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file:n(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:n(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:n(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:n(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:n(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:n(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:n(6071,e.DiagnosticCategory.Message,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(6079,e.DiagnosticCategory.Message,"Specify_library_files_to_be_included_in_the_compilation_6079","Specify library files to be included in the compilation."),Specify_JSX_code_generation_Colon_preserve_react_native_or_react:n(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:n(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:n(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:n(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:n(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:n(6085,e.DiagnosticCategory.Message,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:n(6086,e.DiagnosticCategory.Message,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(6099,e.DiagnosticCategory.Message,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:n(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:n(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:n(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:n(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:n(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_1_got_2:n(6105,e.DiagnosticCategory.Message,"Expected_type_of_0_field_in_package_json_to_be_1_got_2_6105","Expected type of '{0}' field in 'package.json' to be '{1}', got '{2}'."),baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1:n(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:n(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:n(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:n(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:n(6110,e.DiagnosticCategory.Message,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:n(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:n(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:n(6113,e.DiagnosticCategory.Message,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:n(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:n(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:n(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:n(6117,e.DiagnosticCategory.Message,"Resolving_using_primary_search_paths_6117","Resolving using primary search paths..."),Resolving_from_node_modules_folder:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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. ========"),Resolving_real_path_for_0_result_1:n(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:n(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:n(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_its_value_is_never_read:n(6133,e.DiagnosticCategory.Error,"_0_is_declared_but_its_value_is_never_read_6133","'{0}' is declared but its value is never read.",!0),Report_errors_on_unused_locals:n(6134,e.DiagnosticCategory.Message,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:n(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:n(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:n(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_its_value_is_never_read:n(6138,e.DiagnosticCategory.Error,"Property_0_is_declared_but_its_value_is_never_read_6138","Property '{0}' is declared but its value is never read.",!0),Import_emit_helpers_from_tslib:n(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:n(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:n(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:n(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_as_locally_declared_ambient_module_in_file_1:n(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:n(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:n(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_from_location_1:n(6147,e.DiagnosticCategory.Message,"Resolution_for_module_0_was_found_in_cache_from_location_1_6147","Resolution for module '{0}' was found in cache from location '{1}'."),Directory_0_does_not_exist_skipping_all_lookups_in_it:n(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:n(6149,e.DiagnosticCategory.Message,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(6162,e.DiagnosticCategory.Message,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:n(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:n(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:n(6165,e.DiagnosticCategory.Message,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:n(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:n(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:n(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:n(6169,e.DiagnosticCategory.Message,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:n(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:n(6171,e.DiagnosticCategory.Message,"Command_line_Options_6171","Command-line Options"),Basic_Options:n(6172,e.DiagnosticCategory.Message,"Basic_Options_6172","Basic Options"),Strict_Type_Checking_Options:n(6173,e.DiagnosticCategory.Message,"Strict_Type_Checking_Options_6173","Strict Type-Checking Options"),Module_Resolution_Options:n(6174,e.DiagnosticCategory.Message,"Module_Resolution_Options_6174","Module Resolution Options"),Source_Map_Options:n(6175,e.DiagnosticCategory.Message,"Source_Map_Options_6175","Source Map Options"),Additional_Checks:n(6176,e.DiagnosticCategory.Message,"Additional_Checks_6176","Additional Checks"),Experimental_Options:n(6177,e.DiagnosticCategory.Message,"Experimental_Options_6177","Experimental Options"),Advanced_Options:n(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:n(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:n(6180,e.DiagnosticCategory.Message,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),List_of_language_service_plugins:n(6181,e.DiagnosticCategory.Message,"List_of_language_service_plugins_6181","List of language service plugins."),Scoped_package_detected_looking_in_0:n(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:n(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:n(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:n(6185,e.DiagnosticCategory.Message,"Disable_strict_checking_of_generic_signatures_in_function_types_6185","Disable strict checking of generic signatures in function types."),Enable_strict_checking_of_function_types:n(6186,e.DiagnosticCategory.Message,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:n(6187,e.DiagnosticCategory.Message,"Enable_strict_checking_of_property_initialization_in_classes_6187","Enable strict checking of property initialization in classes."),Numeric_separators_are_not_allowed_here:n(6188,e.DiagnosticCategory.Error,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:n(6189,e.DiagnosticCategory.Error,"Multiple_consecutive_numeric_separators_are_not_permitted_6189","Multiple consecutive numeric separators are not permitted."),Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen:n(6191,e.DiagnosticCategory.Message,"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191","Whether to keep outdated console output in watch mode instead of clearing the screen."),All_imports_in_import_declaration_are_unused:n(6192,e.DiagnosticCategory.Error,"All_imports_in_import_declaration_are_unused_6192","All imports in import declaration are unused.",!0),Found_1_error_Watching_for_file_changes:n(6193,e.DiagnosticCategory.Message,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:n(6194,e.DiagnosticCategory.Message,"Found_0_errors_Watching_for_file_changes_6194","Found {0} errors. Watching for file changes."),Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols:n(6195,e.DiagnosticCategory.Message,"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195","Resolve 'keyof' to string valued property names only (no numbers or symbols)."),_0_is_declared_but_never_used:n(6196,e.DiagnosticCategory.Error,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:n(6197,e.DiagnosticCategory.Message,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:n(6198,e.DiagnosticCategory.Error,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:n(6199,e.DiagnosticCategory.Error,"All_variables_are_unused_6199","All variables are unused.",!0),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:n(6200,e.DiagnosticCategory.Error,"Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200","Definitions of the following identifiers conflict with those in another file: {0}"),Conflicts_are_in_this_file:n(6201,e.DiagnosticCategory.Message,"Conflicts_are_in_this_file_6201","Conflicts are in this file."),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:n(6202,e.DiagnosticCategory.Error,"Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202","Project references may not form a circular graph. Cycle detected: {0}"),_0_was_also_declared_here:n(6203,e.DiagnosticCategory.Message,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:n(6204,e.DiagnosticCategory.Message,"and_here_6204","and here."),All_type_parameters_are_unused:n(6205,e.DiagnosticCategory.Error,"All_type_parameters_are_unused_6205","All type parameters are unused"),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:n(6206,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206","'package.json' has a 'typesVersions' field with version-specific path mappings."),package_json_does_not_have_a_typesVersions_entry_that_matches_version_0:n(6207,e.DiagnosticCategory.Message,"package_json_does_not_have_a_typesVersions_entry_that_matches_version_0_6207","'package.json' does not have a 'typesVersions' entry that matches version '{0}'."),package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2:n(6208,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_ma_6208","'package.json' has a 'typesVersions' entry '{0}' that matches compiler version '{1}', looking for a pattern to match module name '{2}'."),package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range:n(6209,e.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range_6209","'package.json' has a 'typesVersions' entry '{0}' that is not a valid semver range."),An_argument_for_0_was_not_provided:n(6210,e.DiagnosticCategory.Message,"An_argument_for_0_was_not_provided_6210","An argument for '{0}' was not provided."),An_argument_matching_this_binding_pattern_was_not_provided:n(6211,e.DiagnosticCategory.Message,"An_argument_matching_this_binding_pattern_was_not_provided_6211","An argument matching this binding pattern was not provided."),Did_you_mean_to_call_this_expression:n(6212,e.DiagnosticCategory.Message,"Did_you_mean_to_call_this_expression_6212","Did you mean to call this expression?"),Did_you_mean_to_use_new_with_this_expression:n(6213,e.DiagnosticCategory.Message,"Did_you_mean_to_use_new_with_this_expression_6213","Did you mean to use 'new' with this expression?"),Enable_strict_bind_call_and_apply_methods_on_functions:n(6214,e.DiagnosticCategory.Message,"Enable_strict_bind_call_and_apply_methods_on_functions_6214","Enable strict 'bind', 'call', and 'apply' methods on functions."),Using_compiler_options_of_project_reference_redirect_0:n(6215,e.DiagnosticCategory.Message,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:n(6216,e.DiagnosticCategory.Message,"Found_1_error_6216","Found 1 error."),Found_0_errors:n(6217,e.DiagnosticCategory.Message,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:n(6218,e.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2_6218","======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3:n(6219,e.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219","======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========"),package_json_had_a_falsy_0_field:n(6220,e.DiagnosticCategory.Message,"package_json_had_a_falsy_0_field_6220","'package.json' had a falsy '{0}' field."),Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects:n(6221,e.DiagnosticCategory.Message,"Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects_6221","Disable use of source files instead of declaration files from referenced projects."),Emit_class_fields_with_Define_instead_of_Set:n(6222,e.DiagnosticCategory.Message,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:n(6223,e.DiagnosticCategory.Message,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Projects_to_reference:n(6300,e.DiagnosticCategory.Message,"Projects_to_reference_6300","Projects to reference"),Enable_project_compilation:n(6302,e.DiagnosticCategory.Message,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:n(6304,e.DiagnosticCategory.Error,"Composite_projects_may_not_disable_declaration_emit_6304","Composite projects may not disable declaration emit."),Output_file_0_has_not_been_built_from_source_file_1:n(6305,e.DiagnosticCategory.Error,"Output_file_0_has_not_been_built_from_source_file_1_6305","Output file '{0}' has not been built from source file '{1}'."),Referenced_project_0_must_have_setting_composite_Colon_true:n(6306,e.DiagnosticCategory.Error,"Referenced_project_0_must_have_setting_composite_Colon_true_6306","Referenced project '{0}' must have setting \"composite\": true."),File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern:n(6307,e.DiagnosticCategory.Error,"File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307","File '{0}' is not listed within the file list of project '{1}'. Projects must list all files or use an 'include' pattern."),Cannot_prepend_project_0_because_it_does_not_have_outFile_set:n(6308,e.DiagnosticCategory.Error,"Cannot_prepend_project_0_because_it_does_not_have_outFile_set_6308","Cannot prepend project '{0}' because it does not have 'outFile' set"),Output_file_0_from_project_1_does_not_exist:n(6309,e.DiagnosticCategory.Error,"Output_file_0_from_project_1_does_not_exist_6309","Output file '{0}' from project '{1}' does not exist"),Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2:n(6350,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2_6350","Project '{0}' is out of date because oldest output '{1}' is older than newest input '{2}'"),Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2:n(6351,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2_6351","Project '{0}' is up to date because newest input '{1}' is older than oldest output '{2}'"),Project_0_is_out_of_date_because_output_file_1_does_not_exist:n(6352,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352","Project '{0}' is out of date because output file '{1}' does not exist"),Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date:n(6353,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date_6353","Project '{0}' is out of date because its dependency '{1}' is out of date"),Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies:n(6354,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies_6354","Project '{0}' is up to date with .d.ts files from its dependencies"),Projects_in_this_build_Colon_0:n(6355,e.DiagnosticCategory.Message,"Projects_in_this_build_Colon_0_6355","Projects in this build: {0}"),A_non_dry_build_would_delete_the_following_files_Colon_0:n(6356,e.DiagnosticCategory.Message,"A_non_dry_build_would_delete_the_following_files_Colon_0_6356","A non-dry build would delete the following files: {0}"),A_non_dry_build_would_build_project_0:n(6357,e.DiagnosticCategory.Message,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:n(6358,e.DiagnosticCategory.Message,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:n(6359,e.DiagnosticCategory.Message,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),delete_this_Project_0_is_up_to_date_because_it_was_previously_built:n(6360,e.DiagnosticCategory.Message,"delete_this_Project_0_is_up_to_date_because_it_was_previously_built_6360","delete this - Project '{0}' is up to date because it was previously built"),Project_0_is_up_to_date:n(6361,e.DiagnosticCategory.Message,"Project_0_is_up_to_date_6361","Project '{0}' is up to date"),Skipping_build_of_project_0_because_its_dependency_1_has_errors:n(6362,e.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362","Skipping build of project '{0}' because its dependency '{1}' has errors"),Project_0_can_t_be_built_because_its_dependency_1_has_errors:n(6363,e.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363","Project '{0}' can't be built because its dependency '{1}' has errors"),Build_one_or_more_projects_and_their_dependencies_if_out_of_date:n(6364,e.DiagnosticCategory.Message,"Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364","Build one or more projects and their dependencies, if out of date"),Delete_the_outputs_of_all_projects:n(6365,e.DiagnosticCategory.Message,"Delete_the_outputs_of_all_projects_6365","Delete the outputs of all projects"),Enable_verbose_logging:n(6366,e.DiagnosticCategory.Message,"Enable_verbose_logging_6366","Enable verbose logging"),Show_what_would_be_built_or_deleted_if_specified_with_clean:n(6367,e.DiagnosticCategory.Message,"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367","Show what would be built (or deleted, if specified with '--clean')"),Build_all_projects_including_those_that_appear_to_be_up_to_date:n(6368,e.DiagnosticCategory.Message,"Build_all_projects_including_those_that_appear_to_be_up_to_date_6368","Build all projects, including those that appear to be up to date"),Option_build_must_be_the_first_command_line_argument:n(6369,e.DiagnosticCategory.Error,"Option_build_must_be_the_first_command_line_argument_6369","Option '--build' must be the first command line argument."),Options_0_and_1_cannot_be_combined:n(6370,e.DiagnosticCategory.Error,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:n(6371,e.DiagnosticCategory.Message,"Updating_unchanged_output_timestamps_of_project_0_6371","Updating unchanged output timestamps of project '{0}'..."),Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed:n(6372,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372","Project '{0}' is out of date because output of its dependency '{1}' has changed"),Updating_output_of_project_0:n(6373,e.DiagnosticCategory.Message,"Updating_output_of_project_0_6373","Updating output of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:n(6374,e.DiagnosticCategory.Message,"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374","A non-dry build would update timestamps for output of project '{0}'"),A_non_dry_build_would_update_output_of_project_0:n(6375,e.DiagnosticCategory.Message,"A_non_dry_build_would_update_output_of_project_0_6375","A non-dry build would update output of project '{0}'"),Cannot_update_output_of_project_0_because_there_was_error_reading_file_1:n(6376,e.DiagnosticCategory.Message,"Cannot_update_output_of_project_0_because_there_was_error_reading_file_1_6376","Cannot update output of project '{0}' because there was error reading file '{1}'"),Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1:n(6377,e.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377","Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'"),Enable_incremental_compilation:n(6378,e.DiagnosticCategory.Message,"Enable_incremental_compilation_6378","Enable incremental compilation"),Composite_projects_may_not_disable_incremental_compilation:n(6379,e.DiagnosticCategory.Error,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:n(6380,e.DiagnosticCategory.Message,"Specify_file_to_store_incremental_compilation_information_6380","Specify file to store incremental compilation information"),Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2:n(6381,e.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381","Project '{0}' is out of date because output for it was generated with version '{1}' that differs with current version '{2}'"),Skipping_build_of_project_0_because_its_dependency_1_was_not_built:n(6382,e.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_was_not_built_6382","Skipping build of project '{0}' because its dependency '{1}' was not built"),Project_0_can_t_be_built_because_its_dependency_1_was_not_built:n(6383,e.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383","Project '{0}' can't be built because its dependency '{1}' was not built"),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:n(6500,e.DiagnosticCategory.Message,"The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1_6500","The expected type comes from property '{0}' which is declared here on type '{1}'"),The_expected_type_comes_from_this_index_signature:n(6501,e.DiagnosticCategory.Message,"The_expected_type_comes_from_this_index_signature_6501","The expected type comes from this index signature."),The_expected_type_comes_from_the_return_type_of_this_signature:n(6502,e.DiagnosticCategory.Message,"The_expected_type_comes_from_the_return_type_of_this_signature_6502","The expected type comes from the return type of this signature."),Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing:n(6503,e.DiagnosticCategory.Message,"Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing_6503","Print names of files that are part of the compilation and then stop processing."),Variable_0_implicitly_has_an_1_type:n(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:n(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:n(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:n(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:n(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:n(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:n(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."),Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:n(7014,e.DiagnosticCategory.Error,"Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7014","Function type, which lacks return-type annotation, implicitly has an '{0}' return type."),Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:n(7025,e.DiagnosticCategory.Error,"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025","Generator implicitly has yield type '{0}' because it does not yield any values. Consider supplying a return type annotation."),JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:n(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:n(7027,e.DiagnosticCategory.Error,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:n(7028,e.DiagnosticCategory.Error,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:n(7029,e.DiagnosticCategory.Error,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:n(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:n(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:n(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:n(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:n(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_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:n(7035,e.DiagnosticCategory.Error,"Try_npm_install_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_mod_7035","Try `npm install @types/{1}` 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:n(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}'."),Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports:n(7037,e.DiagnosticCategory.Message,"Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037","Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'."),Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead:n(7038,e.DiagnosticCategory.Message,"Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038","Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead."),Mapped_object_type_implicitly_has_an_any_template_type:n(7039,e.DiagnosticCategory.Error,"Mapped_object_type_implicitly_has_an_any_template_type_7039","Mapped object type implicitly has an 'any' template type."),If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1:n(7040,e.DiagnosticCategory.Error,"If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040","If the '{0}' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}`"),The_containing_arrow_function_captures_the_global_value_of_this:n(7041,e.DiagnosticCategory.Error,"The_containing_arrow_function_captures_the_global_value_of_this_7041","The containing arrow function captures the global value of 'this'."),Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used:n(7042,e.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042","Module '{0}' was resolved to '{1}', but '--resolveJsonModule' is not used."),Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:n(7043,e.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7043","Variable '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:n(7044,e.DiagnosticCategory.Suggestion,"Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7044","Parameter '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:n(7045,e.DiagnosticCategory.Suggestion,"Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7045","Member '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage:n(7046,e.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage_7046","Variable '{0}' implicitly has type '{1}' in some locations, but a better type may be inferred from usage."),Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:n(7047,e.DiagnosticCategory.Suggestion,"Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047","Rest parameter '{0}' implicitly has an 'any[]' type, but a better type may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage:n(7048,e.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage_7048","Property '{0}' implicitly has type 'any', but a better type for its get accessor may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage:n(7049,e.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage_7049","Property '{0}' implicitly has type 'any', but a better type for its set accessor may be inferred from usage."),_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:n(7050,e.DiagnosticCategory.Suggestion,"_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage_7050","'{0}' implicitly has an '{1}' return type, but a better type may be inferred from usage."),Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1:n(7051,e.DiagnosticCategory.Error,"Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1_7051","Parameter has a name but no type. Did you mean '{0}: {1}'?"),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1:n(7052,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1_7052","Element implicitly has an 'any' type because type '{0}' has no index signature. Did you mean to call '{1}' ?"),Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1:n(7053,e.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053","Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1:n(7054,e.DiagnosticCategory.Error,"No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054","No index signature with a parameter of type '{0}' was found on type '{1}'."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:n(7055,e.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055","'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."),You_cannot_rename_this_element:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(8019,e.DiagnosticCategory.Message,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:n(8020,e.DiagnosticCategory.Error,"JSDoc_types_can_only_be_used_inside_documentation_comments_8020","JSDoc types can only be used inside documentation comments."),JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags:n(8021,e.DiagnosticCategory.Error,"JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021","JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags."),JSDoc_0_is_not_attached_to_a_class:n(8022,e.DiagnosticCategory.Error,"JSDoc_0_is_not_attached_to_a_class_8022","JSDoc '@{0}' is not attached to a class."),JSDoc_0_1_does_not_match_the_extends_2_clause:n(8023,e.DiagnosticCategory.Error,"JSDoc_0_1_does_not_match_the_extends_2_clause_8023","JSDoc '@{0} {1}' does not match the 'extends {2}' clause."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name:n(8024,e.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024","JSDoc '@param' tag has name '{0}', but there is no parameter with that name."),Class_declarations_cannot_have_more_than_one_augments_or_extends_tag:n(8025,e.DiagnosticCategory.Error,"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025","Class declarations cannot have more than one `@augments` or `@extends` tag."),Expected_0_type_arguments_provide_these_with_an_extends_tag:n(8026,e.DiagnosticCategory.Error,"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026","Expected {0} type arguments; provide these with an '@extends' tag."),Expected_0_1_type_arguments_provide_these_with_an_extends_tag:n(8027,e.DiagnosticCategory.Error,"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027","Expected {0}-{1} type arguments; provide these with an '@extends' tag."),JSDoc_may_only_appear_in_the_last_parameter_of_a_signature:n(8028,e.DiagnosticCategory.Error,"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028","JSDoc '...' may only appear in the last parameter of a signature."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type:n(8029,e.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029","JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type."),The_type_of_a_function_declaration_must_match_the_function_s_signature:n(8030,e.DiagnosticCategory.Error,"The_type_of_a_function_declaration_must_match_the_function_s_signature_8030","The type of a function declaration must match the function's signature."),You_cannot_rename_a_module_via_a_global_import:n(8031,e.DiagnosticCategory.Error,"You_cannot_rename_a_module_via_a_global_import_8031","You cannot rename a module via a global import."),Qualified_name_0_is_not_allowed_without_a_leading_param_object_1:n(8032,e.DiagnosticCategory.Error,"Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032","Qualified name '{0}' is not allowed without a leading '@param {object} {1}'."),Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_class_extends_clause:n(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:n(9003,e.DiagnosticCategory.Error,"class_expressions_are_not_currently_supported_9003","'class' expressions are not currently supported."),Language_service_is_disabled:n(9004,e.DiagnosticCategory.Error,"Language_service_is_disabled_9004","Language service is disabled."),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:n(9005,e.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005","Declaration emit for this file requires using private name '{0}'. An explicit type annotation may unblock declaration emit."),Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:n(9006,e.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006","Declaration emit for this file requires using private name '{0}' from module '{1}'. An explicit type annotation may unblock declaration emit."),JSX_attributes_must_only_be_assigned_a_non_empty_expression:n(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:n(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:n(17002,e.DiagnosticCategory.Error,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),JSX_attribute_expected:n(17003,e.DiagnosticCategory.Error,"JSX_attribute_expected_17003","JSX attribute expected."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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:n(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."),JSX_fragment_has_no_corresponding_closing_tag:n(17014,e.DiagnosticCategory.Error,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:n(17015,e.DiagnosticCategory.Error,"Expected_corresponding_closing_tag_for_JSX_fragment_17015","Expected corresponding closing tag for JSX fragment."),JSX_fragment_is_not_supported_when_using_jsxFactory:n(17016,e.DiagnosticCategory.Error,"JSX_fragment_is_not_supported_when_using_jsxFactory_17016","JSX fragment is not supported when using --jsxFactory"),JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma:n(17017,e.DiagnosticCategory.Error,"JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma_17017","JSX fragment is not supported when using an inline JSX factory pragma"),Circularity_detected_while_resolving_configuration_Colon_0:n(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:n(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:n(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:n(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}'."),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module:n(80001,e.DiagnosticCategory.Suggestion,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module_80001","File is a CommonJS module; it may be converted to an ES6 module."),This_constructor_function_may_be_converted_to_a_class_declaration:n(80002,e.DiagnosticCategory.Suggestion,"This_constructor_function_may_be_converted_to_a_class_declaration_80002","This constructor function may be converted to a class declaration."),Import_may_be_converted_to_a_default_import:n(80003,e.DiagnosticCategory.Suggestion,"Import_may_be_converted_to_a_default_import_80003","Import may be converted to a default import."),JSDoc_types_may_be_moved_to_TypeScript_types:n(80004,e.DiagnosticCategory.Suggestion,"JSDoc_types_may_be_moved_to_TypeScript_types_80004","JSDoc types may be moved to TypeScript types."),require_call_may_be_converted_to_an_import:n(80005,e.DiagnosticCategory.Suggestion,"require_call_may_be_converted_to_an_import_80005","'require' call may be converted to an import."),This_may_be_converted_to_an_async_function:n(80006,e.DiagnosticCategory.Suggestion,"This_may_be_converted_to_an_async_function_80006","This may be converted to an async function."),await_has_no_effect_on_the_type_of_this_expression:n(80007,e.DiagnosticCategory.Suggestion,"await_has_no_effect_on_the_type_of_this_expression_80007","'await' has no effect on the type of this expression."),Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers:n(80008,e.DiagnosticCategory.Suggestion,"Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accur_80008","Numeric literals with absolute values equal to 2^53 or greater are too large to be represented accurately as integers."),Add_missing_super_call:n(90001,e.DiagnosticCategory.Message,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:n(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:n(90003,e.DiagnosticCategory.Message,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_declaration_for_Colon_0:n(90004,e.DiagnosticCategory.Message,"Remove_declaration_for_Colon_0_90004","Remove declaration for: '{0}'"),Remove_import_from_0:n(90005,e.DiagnosticCategory.Message,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:n(90006,e.DiagnosticCategory.Message,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:n(90007,e.DiagnosticCategory.Message,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:n(90008,e.DiagnosticCategory.Message,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_destructuring:n(90009,e.DiagnosticCategory.Message,"Remove_destructuring_90009","Remove destructuring"),Remove_variable_statement:n(90010,e.DiagnosticCategory.Message,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:n(90011,e.DiagnosticCategory.Message,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:n(90012,e.DiagnosticCategory.Message,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_module_1:n(90013,e.DiagnosticCategory.Message,"Import_0_from_module_1_90013","Import '{0}' from module \"{1}\""),Change_0_to_1:n(90014,e.DiagnosticCategory.Message,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Add_0_to_existing_import_declaration_from_1:n(90015,e.DiagnosticCategory.Message,"Add_0_to_existing_import_declaration_from_1_90015","Add '{0}' to existing import declaration from \"{1}\""),Declare_property_0:n(90016,e.DiagnosticCategory.Message,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:n(90017,e.DiagnosticCategory.Message,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:n(90018,e.DiagnosticCategory.Message,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:n(90019,e.DiagnosticCategory.Message,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:n(90020,e.DiagnosticCategory.Message,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:n(90021,e.DiagnosticCategory.Message,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:n(90022,e.DiagnosticCategory.Message,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:n(90023,e.DiagnosticCategory.Message,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:n(90024,e.DiagnosticCategory.Message,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:n(90025,e.DiagnosticCategory.Message,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:n(90026,e.DiagnosticCategory.Message,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:n(90027,e.DiagnosticCategory.Message,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:n(90028,e.DiagnosticCategory.Message,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:n(90029,e.DiagnosticCategory.Message,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:n(90030,e.DiagnosticCategory.Message,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:n(90031,e.DiagnosticCategory.Message,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Import_default_0_from_module_1:n(90032,e.DiagnosticCategory.Message,"Import_default_0_from_module_1_90032","Import default '{0}' from module \"{1}\""),Add_default_import_0_to_existing_import_declaration_from_1:n(90033,e.DiagnosticCategory.Message,"Add_default_import_0_to_existing_import_declaration_from_1_90033","Add default import '{0}' to existing import declaration from \"{1}\""),Add_parameter_name:n(90034,e.DiagnosticCategory.Message,"Add_parameter_name_90034","Add parameter name"),Convert_function_to_an_ES2015_class:n(95001,e.DiagnosticCategory.Message,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_function_0_to_class:n(95002,e.DiagnosticCategory.Message,"Convert_function_0_to_class_95002","Convert function '{0}' to class"),Extract_to_0_in_1:n(95004,e.DiagnosticCategory.Message,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:n(95005,e.DiagnosticCategory.Message,"Extract_function_95005","Extract function"),Extract_constant:n(95006,e.DiagnosticCategory.Message,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:n(95007,e.DiagnosticCategory.Message,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:n(95008,e.DiagnosticCategory.Message,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:n(95009,e.DiagnosticCategory.Message,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Annotate_with_types_from_JSDoc:n(95010,e.DiagnosticCategory.Message,"Annotate_with_types_from_JSDoc_95010","Annotate with types from JSDoc"),Infer_type_of_0_from_usage:n(95011,e.DiagnosticCategory.Message,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:n(95012,e.DiagnosticCategory.Message,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:n(95013,e.DiagnosticCategory.Message,"Convert_to_default_import_95013","Convert to default import"),Install_0:n(95014,e.DiagnosticCategory.Message,"Install_0_95014","Install '{0}'"),Replace_import_with_0:n(95015,e.DiagnosticCategory.Message,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:n(95016,e.DiagnosticCategory.Message,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES6_module:n(95017,e.DiagnosticCategory.Message,"Convert_to_ES6_module_95017","Convert to ES6 module"),Add_undefined_type_to_property_0:n(95018,e.DiagnosticCategory.Message,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:n(95019,e.DiagnosticCategory.Message,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:n(95020,e.DiagnosticCategory.Message,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Add_all_missing_members:n(95022,e.DiagnosticCategory.Message,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:n(95023,e.DiagnosticCategory.Message,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:n(95024,e.DiagnosticCategory.Message,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:n(95025,e.DiagnosticCategory.Message,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:n(95026,e.DiagnosticCategory.Message,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:n(95027,e.DiagnosticCategory.Message,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:n(95028,e.DiagnosticCategory.Message,"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028","Add definite assignment assertions to all uninitialized properties"),Add_undefined_type_to_all_uninitialized_properties:n(95029,e.DiagnosticCategory.Message,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:n(95030,e.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_95030","Change all jsdoc-style types to TypeScript"),Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types:n(95031,e.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031","Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)"),Implement_all_unimplemented_interfaces:n(95032,e.DiagnosticCategory.Message,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:n(95033,e.DiagnosticCategory.Message,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:n(95034,e.DiagnosticCategory.Message,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:n(95035,e.DiagnosticCategory.Message,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:n(95036,e.DiagnosticCategory.Message,"Make_all_super_calls_the_first_statement_in_their_constructor_95036","Make all 'super()' calls the first statement in their constructor"),Add_qualifier_to_all_unresolved_variables_matching_a_member_name:n(95037,e.DiagnosticCategory.Message,"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037","Add qualifier to all unresolved variables matching a member name"),Change_all_extended_interfaces_to_implements:n(95038,e.DiagnosticCategory.Message,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:n(95039,e.DiagnosticCategory.Message,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:n(95040,e.DiagnosticCategory.Message,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:n(95041,e.DiagnosticCategory.Message,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:n(95042,e.DiagnosticCategory.Message,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:n(95043,e.DiagnosticCategory.Message,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:n(95044,e.DiagnosticCategory.Message,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:n(95045,e.DiagnosticCategory.Message,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:n(95046,e.DiagnosticCategory.Message,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:n(95047,e.DiagnosticCategory.Message,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:n(95048,e.DiagnosticCategory.Message,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:n(95049,e.DiagnosticCategory.Message,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:n(95050,e.DiagnosticCategory.Message,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:n(95051,e.DiagnosticCategory.Message,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:n(95052,e.DiagnosticCategory.Message,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:n(95053,e.DiagnosticCategory.Message,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:n(95054,e.DiagnosticCategory.Message,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:n(95055,e.DiagnosticCategory.Message,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:n(95056,e.DiagnosticCategory.Message,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:n(95057,e.DiagnosticCategory.Message,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:n(95058,e.DiagnosticCategory.Message,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:n(95059,e.DiagnosticCategory.Message,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:n(95060,e.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:n(95061,e.DiagnosticCategory.Message,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:n(95062,e.DiagnosticCategory.Message,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:n(95063,e.DiagnosticCategory.Message,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:n(95064,e.DiagnosticCategory.Message,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:n(95065,e.DiagnosticCategory.Message,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:n(95066,e.DiagnosticCategory.Message,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_unknown_conversion_for_non_overlapping_types:n(95069,e.DiagnosticCategory.Message,"Add_unknown_conversion_for_non_overlapping_types_95069","Add 'unknown' conversion for non-overlapping types"),Add_unknown_to_all_conversions_of_non_overlapping_types:n(95070,e.DiagnosticCategory.Message,"Add_unknown_to_all_conversions_of_non_overlapping_types_95070","Add 'unknown' to all conversions of non-overlapping types"),Add_missing_new_operator_to_call:n(95071,e.DiagnosticCategory.Message,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:n(95072,e.DiagnosticCategory.Message,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:n(95073,e.DiagnosticCategory.Message,"Add_names_to_all_parameters_without_names_95073","Add names to all parameters without names"),Enable_the_experimentalDecorators_option_in_your_configuration_file:n(95074,e.DiagnosticCategory.Message,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:n(95075,e.DiagnosticCategory.Message,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Allow_accessing_UMD_globals_from_modules:n(95076,e.DiagnosticCategory.Message,"Allow_accessing_UMD_globals_from_modules_95076","Allow accessing UMD globals from modules."),Extract_type:n(95077,e.DiagnosticCategory.Message,"Extract_type_95077","Extract type"),Extract_to_type_alias:n(95078,e.DiagnosticCategory.Message,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:n(95079,e.DiagnosticCategory.Message,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:n(95080,e.DiagnosticCategory.Message,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:n(95081,e.DiagnosticCategory.Message,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:n(95082,e.DiagnosticCategory.Message,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:n(95083,e.DiagnosticCategory.Message,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:n(95084,e.DiagnosticCategory.Message,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:n(95085,e.DiagnosticCategory.Message,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:n(95086,e.DiagnosticCategory.Message,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:n(95087,e.DiagnosticCategory.Message,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:n(95088,e.DiagnosticCategory.Message,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:n(95089,e.DiagnosticCategory.Message,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:n(95090,e.DiagnosticCategory.Message,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:n(95091,e.DiagnosticCategory.Message,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:n(95092,e.DiagnosticCategory.Message,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:n(95093,e.DiagnosticCategory.Message,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:n(95094,e.DiagnosticCategory.Message,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:n(95095,e.DiagnosticCategory.Message,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:n(18004,e.DiagnosticCategory.Error,"No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004","No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer."),Classes_may_not_have_a_field_named_constructor:n(18006,e.DiagnosticCategory.Error,"Classes_may_not_have_a_field_named_constructor_18006","Classes may not have a field named 'constructor'."),JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array:n(18007,e.DiagnosticCategory.Error,"JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array_18007","JSX expressions may not use the comma operator. Did you mean to write an array?")}}(u||(u={})),function(e){var n;function t(e){return e>=75}e.tokenIsIdentifierOrKeyword=t,e.tokenIsIdentifierOrKeywordOrGreaterThan=function(e){return 31===e||t(e)};var r=((n={abstract:121,any:124,as:122,asserts:123,bigint:150,boolean:127,break:76,case:77,catch:78,class:79,continue:81,const:80}).constructor=128,n.debugger=82,n.declare=129,n.default=83,n.delete=84,n.do=85,n.else=86,n.enum=87,n.export=88,n.extends=89,n.false=90,n.finally=91,n.for=92,n.from=148,n.function=93,n.get=130,n.if=94,n.implements=112,n.import=95,n.in=96,n.infer=131,n.instanceof=97,n.interface=113,n.is=132,n.keyof=133,n.let=114,n.module=134,n.namespace=135,n.never=136,n.new=98,n.null=99,n.number=139,n.object=140,n.package=115,n.private=116,n.protected=117,n.public=118,n.readonly=137,n.require=138,n.global=149,n.return=100,n.set=141,n.static=119,n.string=142,n.super=101,n.switch=102,n.symbol=143,n.this=103,n.throw=104,n.true=105,n.try=106,n.type=144,n.typeof=107,n.undefined=145,n.unique=146,n.unknown=147,n.var=108,n.void=109,n.while=110,n.with=111,n.yield=120,n.async=125,n.await=126,n.of=151,n),a=e.createMapFromTemplate(r),i=e.createMapFromTemplate(s(s({},r),{"{":18,"}":19,"(":20,")":21,"[":22,"]":23,".":24,"...":25,";":26,",":27,"<":29,">":31,"<=":32,">=":33,"==":34,"!=":35,"===":36,"!==":37,"=>":38,"+":39,"-":40,"**":42,"*":41,"/":43,"%":44,"++":45,"--":46,"<<":47,">":48,">>>":49,"&":50,"|":51,"^":52,"!":53,"~":54,"&&":55,"||":56,"?":57,"??":60,"?.":28,":":58,"=":62,"+=":63,"-=":64,"*=":65,"**=":66,"/=":67,"%=":68,"<<=":69,">>=":70,">>>=":71,"&=":72,"|=":73,"^=":74,"@":59,"`":61})),o=[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],l=[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],c=[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],d=[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],u=[65,90,97,122,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,895,895,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1327,1329,1366,1369,1369,1376,1416,1488,1514,1519,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,2144,2154,2208,2228,2230,2237,2308,2361,2365,2365,2384,2384,2392,2401,2417,2432,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2556,2556,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,2809,2809,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,3129,3133,3133,3160,3162,3168,3169,3200,3200,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,3412,3414,3423,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,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,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6264,6272,6312,6314,6314,6320,6389,6400,6430,6480,6509,6512,6516,6528,6571,6576,6601,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7296,7304,7312,7354,7357,7359,7401,7404,7406,7411,7413,7414,7418,7418,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,8472,8477,8484,8484,8486,8486,8488,8488,8490,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,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12443,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42653,42656,42735,42775,42783,42786,42888,42891,42943,42946,42950,42999,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43261,43262,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43488,43492,43494,43503,43514,43518,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43646,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,43824,43866,43868,43879,43888,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,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66176,66204,66208,66256,66304,66335,66349,66378,66384,66421,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68096,68112,68115,68117,68119,68121,68149,68192,68220,68224,68252,68288,68295,68297,68324,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68899,69376,69404,69415,69415,69424,69445,69600,69622,69635,69687,69763,69807,69840,69864,69891,69926,69956,69956,69968,70002,70006,70006,70019,70066,70081,70084,70106,70106,70108,70108,70144,70161,70163,70187,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70366,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70461,70461,70480,70480,70493,70497,70656,70708,70727,70730,70751,70751,70784,70831,70852,70853,70855,70855,71040,71086,71128,71131,71168,71215,71236,71236,71296,71338,71352,71352,71424,71450,71680,71723,71840,71903,71935,71935,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72384,72440,72704,72712,72714,72750,72768,72768,72818,72847,72960,72966,72968,72969,72971,73008,73030,73030,73056,73061,73063,73064,73066,73097,73112,73112,73440,73458,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92880,92909,92928,92975,92992,92995,93027,93047,93053,93071,93760,93823,93952,94026,94032,94032,94099,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,123136,123180,123191,123197,123214,123214,123584,123627,124928,125124,125184,125251,125259,125259,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101],m=[48,57,65,90,95,95,97,122,170,170,181,181,183,183,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,895,895,902,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1327,1329,1366,1369,1369,1376,1416,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1519,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2045,2045,2048,2093,2112,2139,2144,2154,2208,2228,2230,2237,2259,2273,2275,2403,2406,2415,2417,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,2556,2556,2558,2558,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,2809,2815,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,3072,3084,3086,3088,3090,3112,3114,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3162,3168,3171,3174,3183,3200,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,3328,3331,3333,3340,3342,3344,3346,3396,3398,3400,3402,3406,3412,3415,3423,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,3558,3567,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,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,4969,4977,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,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,6264,6272,6314,6320,6389,6400,6430,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6618,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6832,6845,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7296,7304,7312,7354,7357,7359,7376,7378,7380,7418,7424,7673,7675,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,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,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,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42737,42775,42783,42786,42888,42891,42943,42946,42950,42999,43047,43072,43123,43136,43205,43216,43225,43232,43255,43259,43259,43261,43309,43312,43347,43360,43388,43392,43456,43471,43481,43488,43518,43520,43574,43584,43597,43600,43609,43616,43638,43642,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,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,65071,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,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66045,66045,66176,66204,66208,66256,66272,66272,66304,66335,66349,66378,66384,66426,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68099,68101,68102,68108,68115,68117,68119,68121,68149,68152,68154,68159,68159,68192,68220,68224,68252,68288,68295,68297,68326,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68903,68912,68921,69376,69404,69415,69415,69424,69456,69600,69622,69632,69702,69734,69743,69759,69818,69840,69864,69872,69881,69888,69940,69942,69951,69956,69958,69968,70003,70006,70006,70016,70084,70089,70092,70096,70106,70108,70108,70144,70161,70163,70199,70206,70206,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70378,70384,70393,70400,70403,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70459,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70730,70736,70745,70750,70751,70784,70853,70855,70855,70864,70873,71040,71093,71096,71104,71128,71133,71168,71232,71236,71236,71248,71257,71296,71352,71360,71369,71424,71450,71453,71467,71472,71481,71680,71738,71840,71913,71935,71935,72096,72103,72106,72151,72154,72161,72163,72164,72192,72254,72263,72263,72272,72345,72349,72349,72384,72440,72704,72712,72714,72758,72760,72768,72784,72793,72818,72847,72850,72871,72873,72886,72960,72966,72968,72969,72971,73014,73018,73018,73020,73021,73023,73031,73040,73049,73056,73061,73063,73064,73066,73102,73104,73105,73107,73112,73120,73129,73440,73462,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92768,92777,92880,92909,92912,92916,92928,92982,92992,92995,93008,93017,93027,93047,93053,93071,93760,93823,93952,94026,94031,94087,94095,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,113821,113822,119141,119145,119149,119154,119163,119170,119173,119179,119210,119213,119362,119364,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,120782,120831,121344,121398,121403,121452,121461,121461,121476,121476,121499,121503,121505,121519,122880,122886,122888,122904,122907,122913,122915,122916,122918,122922,123136,123180,123184,123197,123200,123209,123214,123214,123584,123641,124928,125124,125136,125142,125184,125259,125264,125273,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101,917760,917999];function p(e,n){if(e=2?u:1===n?c:o)}e.isUnicodeIdentifierStart=f;var g,_=(g=[],i.forEach((function(e,n){g[e]=n})),g);function y(e){for(var n=new Array,t=0,r=0;t127&&S(a)&&(n.push(r),r=t)}}return n.push(r),n}function v(n,t,r,a,i){(t<0||t>=n.length)&&(i?t=t<0?0:t>=n.length?n.length-1:t:e.Debug.fail("Bad line number. Line: "+t+", lineStarts.length: "+n.length+" , line map is correct? "+(void 0!==a?e.arraysEqual(n,y(a)):"unknown")));var o=n[t]+r;return i?o>n[t+1]?n[t+1]:"string"==typeof a&&o>a.length?a.length:o:(t=8192&&e<=8203||8239===e||8287===e||12288===e||65279===e}function S(e){return 10===e||13===e||8232===e||8233===e}function L(e){return e>=48&&e<=57}function A(e){return e>=48&&e<=55}e.tokenToString=function(e){return _[e]},e.stringToToken=function(e){return i.get(e)},e.computeLineStarts=y,e.getPositionOfLineAndCharacter=function(e,n,t,r){return e.getPositionOfLineAndCharacter?e.getPositionOfLineAndCharacter(n,t,r):v(h(e),n,t,e.text,r)},e.computePositionOfLineAndCharacter=v,e.getLineStarts=h,e.computeLineAndCharacterOfPosition=b,e.getLineAndCharacterOfPosition=function(e,n){return b(h(e),n)},e.isWhiteSpaceLike=E,e.isWhiteSpaceSingleLine=T,e.isLineBreak=S,e.isOctalDigit=A,e.couldStartTrivia=function(e,n){var t=e.charCodeAt(n);switch(t){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===n;default:return t>127}},e.skipTrivia=function(n,t,r,a){if(void 0===a&&(a=!1),e.positionIsSynthesized(t))return t;for(;;){var i=n.charCodeAt(t);switch(i){case 13:10===n.charCodeAt(t+1)&&t++;case 10:if(t++,r)return t;continue;case 9:case 11:case 12:case 32:t++;continue;case 47:if(a)break;if(47===n.charCodeAt(t+1)){for(t+=2;t127&&E(i)){t++;continue}}return t}};var x="<<<<<<<".length;function C(n,t){if(e.Debug.assert(t>=0),0===t||S(n.charCodeAt(t-1))){var r=n.charCodeAt(t);if(t+x=0&&t127&&E(g)){u&&S(g)&&(d=!0),t++;continue}break e}}return u&&(p=a(s,l,c,d,i,p)),p}function k(e,n,t,r,a){return O(!0,e,n,!1,t,r,a)}function N(e,n,t,r,a){return O(!0,e,n,!0,t,r,a)}function w(e,n,t,r,a,i){return i||(i=[]),i.push({kind:t,pos:e,end:n,hasTrailingNewLine:r}),i}function P(e){var n=R.exec(e);if(n)return n[0]}function G(e,n){return e>=65&&e<=90||e>=97&&e<=122||36===e||95===e||e>127&&f(e,n)}function F(e,n){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||36===e||95===e||e>127&&function(e,n){return p(e,n>=2?m:1===n?d:l)}(e,n)}e.isShebangTrivia=I,e.scanShebangTrivia=M,e.forEachLeadingCommentRange=function(e,n,t,r){return O(!1,e,n,!1,t,r)},e.forEachTrailingCommentRange=function(e,n,t,r){return O(!1,e,n,!0,t,r)},e.reduceEachLeadingCommentRange=k,e.reduceEachTrailingCommentRange=N,e.getLeadingCommentRanges=function(e,n){return k(e,n,w,void 0,void 0)},e.getTrailingCommentRanges=function(e,n){return N(e,n,w,void 0,void 0)},e.getShebang=P,e.isIdentifierStart=G,e.isIdentifierPart=F,e.isIdentifierText=function(e,n){var t=V(e,0);if(!G(t,n))return!1;for(var r=B(t);r111},isReservedWord:function(){return f>=76&&f<=111},isUnterminated:function(){return 0!=(4&_)},getTokenFlags:function(){return _},reScanGreaterToken:function(){if(31===f){if(62===y.charCodeAt(d))return 62===y.charCodeAt(d+1)?61===y.charCodeAt(d+2)?(d+=3,f=71):(d+=2,f=49):61===y.charCodeAt(d+1)?(d+=2,f=70):(d++,f=48);if(61===y.charCodeAt(d))return d++,f=33}return f},reScanSlashToken:function(){if(43===f||67===f){for(var t=p+1,r=!1,a=!1;;){if(t>=u){_|=4,b(e.Diagnostics.Unterminated_regular_expression_literal);break}var i=y.charCodeAt(t);if(S(i)){_|=4,b(e.Diagnostics.Unterminated_regular_expression_literal);break}if(r)r=!1;else{if(47===i&&!a){t++;break}91===i?a=!0:92===i?r=!0:93===i&&(a=!1)}t++}for(;t=u)return f=1;var e=V(y,d);switch(d+=B(e),e){case 9:case 11:case 12:case 32:for(;d=0&&G(t,n))return d+=3,_|=8,g=W()+J(),f=Y();var r=z();return r>=0&&G(r,n)?(d+=6,_|=1024,g=String.fromCharCode(r)+J(),f=Y()):(d++,f=0)}if(G(e,n)){for(var a=e;d=65&&s<=70)s+=32;else if(!(s>=48&&s<=57||s>=97&&s<=102))break;a.push(s),d++,o=!1}}return a.length=u){r+=y.substring(a,d),_|=4,b(e.Diagnostics.Unterminated_string_literal);break}var i=y.charCodeAt(d);if(i===t){r+=y.substring(a,d),d++;break}if(92!==i||n){if(S(i)&&!n){r+=y.substring(a,d),_|=4,b(e.Diagnostics.Unterminated_string_literal);break}d++}else r+=y.substring(a,d),r+=K(),a=d}return r}function H(){for(var n,t=96===y.charCodeAt(d),r=++d,a="";;){if(d>=u){a+=y.substring(r,d),_|=4,b(e.Diagnostics.Unterminated_template_literal),n=t?14:17;break}var i=y.charCodeAt(d);if(96===i){a+=y.substring(r,d),d++,n=t?14:17;break}if(36===i&&d+1=u)return b(e.Diagnostics.Unexpected_end_of_text),"";var n=y.charCodeAt(d);switch(d++,n){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 d=0?String.fromCharCode(t):(b(e.Diagnostics.Hexadecimal_digit_expected),"")}function W(){var n=w(1,!1),t=n?parseInt(n,16):-1,r=!1;return t<0?(b(e.Diagnostics.Hexadecimal_digit_expected),r=!0):t>1114111&&(b(e.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),r=!0),d>=u?(b(e.Diagnostics.Unexpected_end_of_text),r=!0):125===y.charCodeAt(d)?d++:(b(e.Diagnostics.Unterminated_Unicode_escape_sequence),r=!0),r?"":q(t)}function q(n){if(e.Debug.assert(0<=n&&n<=1114111),n<=65535)return String.fromCharCode(n);var t=Math.floor((n-65536)/1024)+55296,r=(n-65536)%1024+56320;return String.fromCharCode(t,r)}function z(){if(d+5=2&&117===V(y,d+1)&&123===V(y,d+2)){var e=d;d+=3;var t=w(1,!1),r=t?parseInt(t,16):-1;return d=e,r}return-1}function J(){for(var e="",t=d;d=0&&F(r,n)){d+=3,_|=8,e+=W(),t=d;continue}if(!((r=z())>=0&&F(r,n)))break;_|=1024,e+=y.substring(t,d),e+=q(r),t=d+=6}}return e+=y.substring(t,d)}function Y(){var e=g.length;if(e>=2&&e<=11){var n=g.charCodeAt(0);if(n>=97&&n<=122){var t=a.get(g);if(void 0!==t)return f=t}}return f=75}function Q(n){for(var t="",r=!1,a=!1;;){var i=y.charCodeAt(d);if(95!==i){if(r=!0,!L(i)||i-48>=n)break;t+=y[d],d++,a=!1}else _|=512,r?(r=!1,a=!0):b(a?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,d,1),d++}return 95===y.charCodeAt(d-1)&&b(e.Diagnostics.Numeric_separators_are_not_allowed_here,d-1,1),t}function Z(){if(110===y.charCodeAt(d))return g+="n",384&_&&(g=e.parsePseudoBigInt(g)+"n"),d++,9;var n=128&_?parseInt(g.slice(2),2):256&_?parseInt(g.slice(2),8):+g;return g=""+n,8}function $(){var t;m=d,_=0;for(var a=!1;;){if(p=d,d>=u)return f=1;var o=V(y,d);if(35===o&&0===d&&I(y,d)){if(d=M(y,d),r)continue;return f=6}switch(o){case 10:case 13:if(_|=1,r){d++;continue}return 13===o&&d+1=0&&G(c,n))return d+=3,_|=8,g=W()+J(),f=Y();var h=z();return h>=0&&G(h,n)?(d+=6,_|=1024,g=String.fromCharCode(h)+J(),f=Y()):(b(e.Diagnostics.Invalid_character),d++,f=0);default:if(G(o,n)){for(d+=B(o);d=u)return f=1;var e=y.charCodeAt(d);if(60===e)return 47===y.charCodeAt(d+1)?(d+=2,f=30):(d++,f=29);if(123===e)return d++,f=18;for(var n=0;d=0),d=n,m=n,p=n,f=0,g=void 0,_=0}};var V=String.prototype.codePointAt?function(e,n){return e.codePointAt(n)}:function(e,n){var t=e.length;if(!(n<0||n>=t)){var r=e.charCodeAt(n);if(r>=55296&&r<=56319&&t>n+1){var a=e.charCodeAt(n+1);if(a>=56320&&a<=57343)return 1024*(r-55296)+a-56320+65536}return r}};function B(e){return e>=65536?2:1}}(u||(u={})),function(e){e.isExternalModuleNameRelative=function(n){return e.pathIsRelative(n)||e.isRootedDiskPath(n)},e.sortAndDeduplicateDiagnostics=function(n){return e.sortAndDeduplicate(n,e.compareDiagnostics)}}(u||(u={})),function(e){e.resolvingEmptyArray=[],e.emptyMap=e.createMap(),e.emptyUnderscoreEscapedMap=e.emptyMap,e.externalHelpersModuleNameText="tslib",e.defaultMaximumTruncationLength=160,e.getDeclarationOfKind=function(e,n){var t=e.declarations;if(t)for(var r=0,a=t;r=0);var r=e.getLineStarts(t),a=n,i=t.text;if(a+1===r.length)return i.length-1;var o=r[a],s=r[a+1]-1;for(e.Debug.assert(e.isLineBreak(i.charCodeAt(s)));o<=s&&e.isLineBreak(i.charCodeAt(s));)s--;return s}function p(e){return void 0===e||e.pos===e.end&&e.pos>=0&&1!==e.kind}function f(e){return!p(e)}function g(e,n,t){if(void 0===n||0===n.length)return e;for(var r=0;r0?h(n._children[0],t,r):e.skipTrivia((t||u(n)).text,n.pos)}function b(e,n,t){return void 0===t&&(t=!1),E(e.text,n,t)}function E(n,t,r){if(void 0===r&&(r=!1),p(t))return"";var a=n.substring(r?t.pos:e.skipTrivia(n,t.pos),t.end);return function e(n){return 292===n.kind||n.parent&&e(n.parent)}(t)&&(a=a.replace(/(^|\r?\n|\r)\s*\*\s*/g,"$1")),a}function T(e,n){return void 0===n&&(n=!1),b(u(e),e,n)}function S(e){return e.pos}function L(e){var n=e.emitNode;return n&&n.flags||0}function A(e){var n=dn(e);return 241===n.kind&&278===n.parent.kind}function x(n){return e.isModuleDeclaration(n)&&(10===n.name.kind||C(n))}function C(e){return!!(1024&e.flags)}function D(e){return x(e)&&R(e)}function R(n){switch(n.parent.kind){case 288:return e.isExternalModule(n.parent);case 249:return x(n.parent.parent)&&e.isSourceFile(n.parent.parent.parent)&&!e.isExternalModule(n.parent.parent.parent)}return!1}function I(n,t){switch(n.kind){case 288:case 250:case 278:case 248:case 229:case 230:case 231:case 161:case 160:case 162:case 163:case 243:case 200:case 201:return!0;case 222:return!e.isFunctionLike(t)}return!1}function M(n){switch(n.kind){case 164:case 165:case 159:case 166:case 169:case 170:case 298:case 244:case 213:case 245:case 246:case 314:case 243:case 160:case 161:case 162:case 163:case 200:case 201:return!0;default:return e.assertType(n),!1}}function O(e){switch(e.kind){case 253:case 252:return!0;default:return!1}}function k(e){return e&&0!==c(e)?T(e):"(Missing)"}function N(n){switch(n.kind){case 75:return n.escapedText;case 10:case 8:case 14:return e.escapeLeadingUnderscores(n.text);case 153:return $e(n.expression)?e.escapeLeadingUnderscores(n.expression.text):e.Debug.fail("Text of property name cannot be read from non-literal-valued ComputedPropertyNames");default:return e.Debug.assertNever(n)}}function w(n,t,r,a,i,o,s){var l=G(n,t);return e.createFileDiagnostic(n,l.start,l.length,r,a,i,o,s)}function P(n,t){var r=e.createScanner(n.languageVersion,!0,n.languageVariant,n.text,void 0,t);r.scan();var a=r.getTokenPos();return e.createTextSpanFromBounds(a,r.getTextPos())}function G(n,t){var r=t;switch(t.kind){case 288:var a=e.skipTrivia(n.text,0,!1);return a===n.text.length?e.createTextSpan(0,0):P(n,a);case 241:case 190:case 244:case 213:case 245:case 248:case 247:case 282:case 243:case 200:case 160:case 162:case 163:case 246:case 158:case 157:r=t.name;break;case 201:return function(n,t){var r=e.skipTrivia(n.text,t.pos);if(t.body&&222===t.body.kind){var a=e.getLineAndCharacterOfPosition(n,t.body.pos).line;if(a0?t.statements[0].pos:t.end;return e.createTextSpanFromBounds(i,o)}if(void 0===r)return P(n,t.pos);e.Debug.assert(!e.isJSDoc(r));var s=p(r),l=s||e.isJsxText(t)?r.pos:e.skipTrivia(n.text,r.pos);return s?(e.Debug.assert(l===r.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(l===r.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(e.Debug.assert(l>=r.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),e.Debug.assert(l<=r.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),e.createTextSpanFromBounds(l,r.end)}function F(e){return 6===e.scriptKind}function V(n){return!!(2&e.getCombinedNodeFlags(n))}function B(e){return 195===e.kind&&95===e.expression.kind}function U(n){return e.isImportTypeNode(n)&&e.isLiteralTypeNode(n.argument)&&e.isStringLiteral(n.argument.literal)}function H(e){return 225===e.kind&&10===e.expression.kind}e.changesAffectModuleResolution=function(e,n){return e.configFilePath!==n.configFilePath||a(e,n)},e.optionsHaveModuleResolutionChanges=a,e.findAncestor=i,e.forEachAncestor=function(n,t){for(;;){var r=t(n);if("quit"===r)return;if(void 0!==r)return r;if(e.isSourceFile(n))return;n=n.parent}},e.forEachEntry=function(e,n){for(var t=e.entries(),r=t.next();!r.done;r=t.next()){var a=r.value,i=a[0],o=n(a[1],i);if(o)return o}},e.forEachKey=function(e,n){for(var t=e.keys(),r=t.next();!r.done;r=t.next()){var a=n(r.value);if(a)return a}},e.copyEntries=l,e.arrayToSet=function(n,t){return e.arrayToMap(n,t||function(e){return e},e.returnTrue)},e.cloneMap=function(n){var t=e.createMap();return l(n,t),t},e.usingSingleLineStringWriter=function(e){var n=r.getText();try{return e(r),r.getText()}finally{r.clear(),r.writeKeyword(n)}},e.getFullWidth=c,e.getResolvedModule=function(e,n){return e&&e.resolvedModules&&e.resolvedModules.get(n)},e.setResolvedModule=function(n,t,r){n.resolvedModules||(n.resolvedModules=e.createMap()),n.resolvedModules.set(t,r)},e.setResolvedTypeReferenceDirective=function(n,t,r){n.resolvedTypeReferenceDirectiveNames||(n.resolvedTypeReferenceDirectiveNames=e.createMap()),n.resolvedTypeReferenceDirectiveNames.set(t,r)},e.projectReferenceIsEqualTo=function(e,n){return e.path===n.path&&!e.prepend==!n.prepend&&!e.circular==!n.circular},e.moduleResolutionIsEqualTo=function(e,n){return e.isExternalLibraryImport===n.isExternalLibraryImport&&e.extension===n.extension&&e.resolvedFileName===n.resolvedFileName&&e.originalPath===n.originalPath&&(t=e.packageId,r=n.packageId,t===r||!!t&&!!r&&t.name===r.name&&t.subModuleName===r.subModuleName&&t.version===r.version);var t,r},e.packageIdToString=function(e){var n=e.name,t=e.subModuleName;return(t?n+"/"+t:n)+"@"+e.version},e.typeDirectiveIsEqualTo=function(e,n){return e.resolvedFileName===n.resolvedFileName&&e.primary===n.primary},e.hasChangesInResolutions=function(n,t,r,a){e.Debug.assert(n.length===t.length);for(var i=0;i=0),e.getLineStarts(t)[n]},e.nodePosToString=function(n){var t=u(n),r=e.getLineAndCharacterOfPosition(t,n.pos);return t.fileName+"("+(r.line+1)+","+(r.character+1)+")"},e.getEndLinePosition=m,e.isFileLevelUniqueName=function(e,n,t){return!(t&&t(n)||e.identifiers.has(n))},e.nodeIsMissing=p,e.nodeIsPresent=f,e.insertStatementsAfterStandardPrologue=function(e,n){return g(e,n,H)},e.insertStatementsAfterCustomPrologue=function(e,n){return g(e,n,y)},e.insertStatementAfterStandardPrologue=function(e,n){return _(e,n,H)},e.insertStatementAfterCustomPrologue=function(e,n){return _(e,n,y)},e.isRecognizedTripleSlashComment=function(n,t,r){if(47===n.charCodeAt(t+1)&&t+2=e.ModuleKind.ES2015||!t.noImplicitUseStrict)))},e.isBlockScope=I,e.isDeclarationWithTypeParameters=function(n){switch(n.kind){case 308:case 315:case 303:return!0;default:return e.assertType(n),M(n)}},e.isDeclarationWithTypeParameterChildren=M,e.isAnyImportSyntax=O,e.isLateVisibilityPaintedStatement=function(e){switch(e.kind){case 253:case 252:case 224:case 244:case 243:case 248:case 246:case 245:case 247:return!0;default:return!1}},e.isAnyImportOrReExport=function(n){return O(n)||e.isExportDeclaration(n)},e.getEnclosingBlockScopeContainer=function(e){return i(e.parent,(function(e){return I(e,e.parent)}))},e.declarationNameToString=k,e.getNameFromIndexInfo=function(e){return e.declaration?k(e.declaration.parameters[0].name):void 0},e.getTextOfPropertyName=N,e.entityNameToString=function n(t){switch(t.kind){case 75:return 0===c(t)?e.idText(t):T(t);case 152:return n(t.left)+"."+n(t.right);case 193:return n(t.expression)+"."+n(t.name);default:throw e.Debug.assertNever(t)}},e.createDiagnosticForNode=function(e,n,t,r,a,i){return w(u(e),e,n,t,r,a,i)},e.createDiagnosticForNodeArray=function(n,t,r,a,i,o,s){var l=e.skipTrivia(n.text,t.pos);return e.createFileDiagnostic(n,l,t.end-l,r,a,i,o,s)},e.createDiagnosticForNodeInSourceFile=w,e.createDiagnosticForNodeFromMessageChain=function(e,n,t){var r=u(e),a=G(r,e);return{file:r,start:a.start,length:a.length,code:n.code,category:n.category,messageText:n.next?n:n.messageText,relatedInformation:t}},e.getSpanOfTokenAtPosition=P,e.getErrorSpanForNode=G,e.isExternalOrCommonJsModule=function(e){return void 0!==(e.externalModuleIndicator||e.commonJsModuleIndicator)},e.isJsonSourceFile=F,e.isEnumConst=function(n){return!!(2048&e.getCombinedModifierFlags(n))},e.isDeclarationReadonly=function(n){return!(!(64&e.getCombinedModifierFlags(n))||e.isParameterPropertyDeclaration(n,n.parent))},e.isVarConst=V,e.isLet=function(n){return!!(1&e.getCombinedNodeFlags(n))},e.isSuperCall=function(e){return 195===e.kind&&101===e.expression.kind},e.isImportCall=B,e.isImportMeta=function(n){return e.isMetaProperty(n)&&95===n.keywordToken&&"meta"===n.name.escapedText},e.isLiteralImportTypeNode=U,e.isPrologueDirective=H,e.getLeadingCommentRangesOfNode=function(n,t){return 11!==n.kind?e.getLeadingCommentRanges(t.text,n.pos):void 0},e.getJSDocCommentRanges=function(n,t){var r=155===n.kind||154===n.kind||200===n.kind||201===n.kind||199===n.kind?e.concatenate(e.getTrailingCommentRanges(t,n.pos),e.getLeadingCommentRanges(t,n.pos)):e.getLeadingCommentRanges(t,n.pos);return e.filter(r,(function(e){return 42===t.charCodeAt(e.pos+1)&&42===t.charCodeAt(e.pos+2)&&47!==t.charCodeAt(e.pos+3)}))},e.fullTripleSlashReferencePathRegEx=/^(\/\/\/\s*/;var K=/^(\/\/\/\s*/;e.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*/;var j=/^(\/\/\/\s*/;function W(n){if(167<=n.kind&&n.kind<=187)return!0;switch(n.kind){case 124:case 147:case 139:case 150:case 142:case 127:case 143:case 140:case 145:case 136:return!0;case 109:return 204!==n.parent.kind;case 215:return!at(n);case 154:return 185===n.parent.kind||180===n.parent.kind;case 75:(152===n.parent.kind&&n.parent.right===n||193===n.parent.kind&&n.parent.name===n)&&(n=n.parent),e.Debug.assert(75===n.kind||152===n.kind||193===n.kind,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 152:case 193:case 103:var t=n.parent;if(171===t.kind)return!1;if(187===t.kind)return!t.isTypeOf;if(167<=t.kind&&t.kind<=187)return!0;switch(t.kind){case 215:return!at(t);case 154:case 314:return n===t.constraint;case 158:case 157:case 155:case 241:return n===t.type;case 243:case 200:case 201:case 161:case 160:case 159:case 162:case 163:return n===t.type;case 164:case 165:case 166:case 198:return n===t.type;case 195:case 196:return e.contains(t.typeArguments,n);case 197:return!1}}return!1}function q(e){if(e)switch(e.kind){case 190:case 282:case 155:case 279:case 158:case 157:case 280:case 241:return!0}return!1}function z(e){return 242===e.parent.kind&&224===e.parent.parent.kind}function X(e,n,t){return e.properties.filter((function(e){if(279===e.kind){var r=N(e.name);return n===r||!!t&&t===r}return!1}))}function J(n){if(n&&n.statements.length){var t=n.statements[0].expression;return e.tryCast(t,e.isObjectLiteralExpression)}}function Y(n,t){var r=J(n);return r?X(r,t):e.emptyArray}function Q(n,t){for(e.Debug.assert(288!==n.kind);;){if(!(n=n.parent))return e.Debug.fail();switch(n.kind){case 153:if(e.isClassLike(n.parent.parent))return n;n=n.parent;break;case 156:155===n.parent.kind&&e.isClassElement(n.parent.parent)?n=n.parent.parent:e.isClassElement(n.parent)&&(n=n.parent);break;case 201:if(!t)continue;case 243:case 200:case 248:case 158:case 157:case 160:case 159:case 161:case 162:case 163:case 164:case 165:case 166:case 247:case 288:return n}}}function Z(e){var n=e.kind;return(193===n||194===n)&&101===e.expression.kind}function $(e,n,t){switch(e.kind){case 244:return!0;case 158:return 244===n.kind;case 162:case 163:case 160:return void 0!==e.body&&244===n.kind;case 155:return void 0!==n.body&&(161===n.kind||160===n.kind||163===n.kind)&&244===t.kind}return!1}function ee(e,n,t){return void 0!==e.decorators&&$(e,n,t)}function ne(e,n,t){return ee(e,n,t)||te(e,n)}function te(n,t){switch(n.kind){case 244:return e.some(n.members,(function(e){return ne(e,n,t)}));case 160:case 163:return e.some(n.parameters,(function(e){return ee(e,n,t)}));default:return!1}}function re(e){var n=e.parent;return(266===n.kind||265===n.kind||267===n.kind)&&n.tagName===e}function ae(e){switch(e.kind){case 101:case 99:case 105:case 90:case 13:case 191:case 192:case 193:case 194:case 195:case 196:case 197:case 216:case 198:case 217:case 199:case 200:case 213:case 201:case 204:case 202:case 203:case 206:case 207:case 208:case 209:case 212:case 210:case 214:case 264:case 265:case 268:case 211:case 205:case 218:return!0;case 152:for(;152===e.parent.kind;)e=e.parent;return 171===e.parent.kind||re(e);case 75:if(171===e.parent.kind||re(e))return!0;case 8:case 9:case 10:case 14:case 103:return ie(e);default:return!1}}function ie(e){var n=e.parent;switch(n.kind){case 241:case 155:case 158:case 157:case 282:case 279:case 190:return n.initializer===e;case 225:case 226:case 227:case 228:case 234:case 235:case 236:case 275:case 238:return n.expression===e;case 229:var t=n;return t.initializer===e&&242!==t.initializer.kind||t.condition===e||t.incrementor===e;case 230:case 231:var r=n;return r.initializer===e&&242!==r.initializer.kind||r.expression===e;case 198:case 216:case 220:case 153:return e===n.expression;case 156:case 274:case 273:case 281:return!0;case 215:return n.expression===e&&at(n);case 280:return n.objectAssignmentInitializer===e;default:return ae(n)}}function oe(e){return 252===e.kind&&263===e.moduleReference.kind}function se(e){return le(e)}function le(e){return!!e&&!!(131072&e.flags)}function ce(n,t){if(195!==n.kind)return!1;var r=n,a=r.expression,i=r.arguments;if(75!==a.kind||"require"!==a.escapedText)return!1;if(1!==i.length)return!1;var o=i[0];return!t||e.isStringLiteralLike(o)}function de(n){return le(n)&&n.initializer&&e.isBinaryExpression(n.initializer)&&(56===n.initializer.operatorToken.kind||60===n.initializer.operatorToken.kind)&&n.name&&it(n.name)&&me(n.name,n.initializer.left)?n.initializer.right:n.initializer}function ue(n,t){if(e.isCallExpression(n)){var r=Ue(n.expression);return 200===r.kind||201===r.kind?n:void 0}return 200===n.kind||213===n.kind||201===n.kind||e.isObjectLiteralExpression(n)&&(0===n.properties.length||t)?n:void 0}function me(n,t){return on(n)&&on(t)?sn(n)==sn(n):e.isIdentifier(n)&&ye(t)?(103===t.expression.kind||e.isIdentifier(t.expression)&&("window"===t.expression.escapedText||"self"===t.expression.escapedText||"global"===t.expression.escapedText))&&me(n,Te(t)):!(!ye(n)||!ye(t))&&(Le(n)===Le(t)&&me(n.expression,t.expression))}function pe(n){return e.isIdentifier(n)&&"exports"===n.escapedText}function fe(n){return(e.isPropertyAccessExpression(n)||ve(n))&&e.isIdentifier(n.expression)&&"module"===n.expression.escapedText&&"exports"===Le(n)}function ge(n){var t=function(n){if(e.isCallExpression(n)){if(!_e(n))return 0;var t=n.arguments[0];return pe(t)||fe(t)?8:he(t)&&"prototype"===Le(t)?9:7}if(62!==n.operatorToken.kind||!Lt(n.left))return 0;if(Ee(n.left.expression,!0)&&"prototype"===Le(n.left)&&e.isObjectLiteralExpression(xe(n)))return 6;return Ae(n.left)}(n);return 5===t||le(n)?t:0}function _e(n){return 3===e.length(n.arguments)&&e.isPropertyAccessExpression(n.expression)&&e.isIdentifier(n.expression.expression)&&"Object"===e.idText(n.expression.expression)&&"defineProperty"===e.idText(n.expression.name)&&$e(n.arguments[1])&&Ee(n.arguments[0],!0)}function ye(n){return e.isPropertyAccessExpression(n)||ve(n)}function ve(n){return e.isElementAccessExpression(n)&&($e(n.argumentExpression)||rn(n.argumentExpression))}function he(n,t){return e.isPropertyAccessExpression(n)&&(!t&&103===n.expression.kind||Ee(n.expression,!0))||be(n,t)}function be(e,n){return ve(e)&&(!n&&103===e.expression.kind||it(e.expression)||he(e.expression,!0))}function Ee(e,n){return it(e)||he(e,n)}function Te(n){return e.isPropertyAccessExpression(n)?n.name:n.argumentExpression}function Se(n){if(e.isPropertyAccessExpression(n))return n.name;var t=Ue(n.argumentExpression);return e.isNumericLiteral(t)||e.isStringLiteralLike(t)?t:n}function Le(n){var t=Se(n);if(t){if(e.isIdentifier(t))return t.escapedText;if(e.isStringLiteralLike(t)||e.isNumericLiteral(t))return e.escapeLeadingUnderscores(t.text)}if(e.isElementAccessExpression(n)&&rn(n.argumentExpression))return ln(e.idText(n.argumentExpression.name))}function Ae(n){if(103===n.expression.kind)return 4;if(fe(n))return 2;if(Ee(n.expression,!0)){if(st(n.expression))return 3;for(var t=n;!e.isIdentifier(t.expression);)t=t.expression;var r=t.expression;if(("exports"===r.escapedText||"module"===r.escapedText&&"exports"===Le(t))&&he(n))return 1;if(Ee(n,!0)||e.isElementAccessExpression(n)&&tn(n)&&103!==n.expression.kind)return 5}return 0}function xe(n){for(;e.isBinaryExpression(n.right);)n=n.right;return n.right}function Ce(n){switch(n.parent.kind){case 253:case 259:return n.parent;case 263:return n.parent.parent;case 195:return B(n.parent)||ce(n.parent,!1)?n.parent:void 0;case 186:return e.Debug.assert(e.isStringLiteral(n)),e.tryCast(n.parent.parent,e.isImportTypeNode);default:return}}function De(e){return 315===e.kind||308===e.kind||309===e.kind}function Re(n){return e.isExpressionStatement(n)&&e.isBinaryExpression(n.expression)&&0!==ge(n.expression)&&e.isBinaryExpression(n.expression.right)&&(56===n.expression.right.operatorToken.kind||60===n.expression.right.operatorToken.kind)?n.expression.right.right:void 0}function Ie(e){switch(e.kind){case 224:var n=Me(e);return n&&n.initializer;case 158:case 279:return e.initializer}}function Me(n){return e.isVariableStatement(n)?e.firstOrUndefined(n.declarationList.declarations):void 0}function Oe(n){return e.isModuleDeclaration(n)&&n.body&&248===n.body.kind?n.body:void 0}function ke(n){var t=n.parent;return 279===t.kind||258===t.kind||158===t.kind||225===t.kind&&193===n.kind||Oe(t)||e.isBinaryExpression(n)&&62===n.operatorToken.kind?t:t.parent&&(Me(t.parent)===n||e.isBinaryExpression(t)&&62===t.operatorToken.kind)?t.parent:t.parent&&t.parent.parent&&(Me(t.parent.parent)||Ie(t.parent.parent)===n||Re(t.parent.parent))?t.parent.parent:void 0}function Ne(e){return we(Pe(e))}function we(n){var t,r=Re(n)||(t=n,e.isExpressionStatement(t)&&t.expression&&e.isBinaryExpression(t.expression)&&62===t.expression.operatorToken.kind?t.expression.right:void 0)||Ie(n)||Me(n)||Oe(n)||n;return r&&e.isFunctionLike(r)?r:void 0}function Pe(n){return e.Debug.assertDefined(i(n.parent,e.isJSDoc)).parent}function Ge(n){var t=e.isJSDocParameterTag(n)?n.typeExpression&&n.typeExpression.type:n.type;return void 0!==n.dotDotDotToken||!!t&&299===t.kind}function Fe(e){for(var n=e.parent;;){switch(n.kind){case 208:var t=n.operatorToken.kind;return et(t)&&n.left===e?62===t?1:2:0;case 206:case 207:var r=n.operator;return 45===r||46===r?2:0;case 230:case 231:return n.initializer===e?1:0;case 199:case 191:case 212:case 217:e=n;break;case 280:if(n.name!==e)return 0;e=n.parent;break;case 279:if(n.name===e)return 0;e=n.parent;break;default:return 0}n=e.parent}}function Ve(e,n){for(;e&&e.kind===n;)e=e.parent;return e}function Be(e){return Ve(e,199)}function Ue(e){for(;199===e.kind;)e=e.expression;return e}function He(n){return it(n)||e.isClassExpression(n)}function Ke(e){return He(je(e))}function je(n){return e.isExportAssignment(n)?n.expression:n.right}function We(n){var t=qe(n);if(t&&le(n)){var r=e.getJSDocAugmentsTag(n);if(r)return r.class}return t}function qe(e){var n=Je(e.heritageClauses,89);return n&&n.types.length>0?n.types[0]:void 0}function ze(e){var n=Je(e.heritageClauses,112);return n?n.types:void 0}function Xe(e){var n=Je(e.heritageClauses,89);return n?n.types:void 0}function Je(e,n){if(e)for(var t=0,r=e;t=0)return a[i];return},getGlobalDiagnostics:function(){return a=!0,n},getDiagnostics:function(a){if(a)return r.get(a)||[];var i=e.flatMapToMutable(t,(function(e){return r.get(e)}));if(!n.length)return i;return i.unshift.apply(i,n),i},reattachFileDiagnostics:function(n){e.forEach(r.get(n.fileName),(function(e){return e.file=n}))}}};var _n=/\$\{/g;var yn=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,vn=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,hn=/[\\\`]/g,bn=e.createMapFromTemplate({"\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","…":"\\u0085"});function En(e,n){var t=96===n?hn:39===n?vn:yn;return e.replace(t,Tn)}function Tn(e,n,t){if(0===e.charCodeAt(0)){var r=t.charCodeAt(n+e.length);return r>=48&&r<=57?"\\x00":"\\0"}return bn.get(e)||Sn(e.charCodeAt(0))}function Sn(e){return"\\u"+("0000"+e.toString(16).toUpperCase()).slice(-4)}e.escapeString=En,e.stripQuotes=function(e){var n,t=e.length;return t>=2&&e.charCodeAt(0)===e.charCodeAt(t-1)&&(39===(n=e.charCodeAt(0))||34===n||96===n)?e.substring(1,t-1):e},e.isIntrinsicJsxName=function(n){var t=n.charCodeAt(0);return t>=97&&t<=122||e.stringContains(n,"-")};var Ln=/[^\u0000-\u007F]/g;function An(e,n){return e=En(e,n),Ln.test(e)?e.replace(Ln,(function(e){return Sn(e.charCodeAt(0))})):e}e.escapeNonAsciiString=An;var xn=[""," "];function Cn(e){return void 0===xn[e]&&(xn[e]=Cn(e-1)+xn[1]),xn[e]}function Dn(){return xn[1].length}function Rn(e,n,t){return n.moduleName||In(e,n.fileName,t&&t.fileName)}function In(n,t,r){var a=function(e){return n.getCanonicalFileName(e)},i=e.toPath(r?e.getDirectoryPath(r):n.getCommonSourceDirectory(),n.getCurrentDirectory(),a),o=e.getNormalizedAbsolutePath(t,n.getCurrentDirectory()),s=e.getRelativePathToDirectoryOrUrl(i,o,i,a,!1),l=e.removeFileExtension(s);return r?e.ensurePathIsNonModuleName(l):l}function Mn(n,t,r,a,i){var o=t.declarationDir||t.outDir,s=o?Nn(n,o,r,a,i):n;return e.removeFileExtension(s)+".d.ts"}function On(e,n,t){return!(n.getCompilerOptions().noEmitForJsFiles&&se(e))&&!e.isDeclarationFile&&!n.isSourceFileFromExternalLibrary(e)&&!(F(e)&&n.getResolvedProjectReferenceToRedirect(e.fileName))&&(t||!n.isSourceOfProjectReferenceRedirect(e.fileName))}function kn(e,n,t){return Nn(e,t,n.getCurrentDirectory(),n.getCommonSourceDirectory(),(function(e){return n.getCanonicalFileName(e)}))}function Nn(n,t,r,a,i){var o=e.getNormalizedAbsolutePath(n,r);return o=0===i(o).indexOf(i(a))?o.substring(a.length):o,e.combinePaths(t,o)}function wn(n,t){return e.getLineAndCharacterOfPosition(n,t).line}function Pn(n,t){return e.computeLineAndCharacterOfPosition(n,t).line}function Gn(e){if(e&&e.parameters.length>0){var n=2===e.parameters.length&&Fn(e.parameters[0]);return e.parameters[n?1:0]}}function Fn(e){return Vn(e.name)}function Vn(e){return!!e&&75===e.kind&&Bn(e)}function Bn(e){return 103===e.originalKeywordKind}function Un(n){var t=n.type;return t||!le(n)?t:e.isJSDocPropertyLikeTag(n)?n.typeExpression&&n.typeExpression.type:e.getJSDocType(n)}function Hn(e,n,t,r){Kn(e,n,t.pos,r)}function Kn(e,n,t,r){r&&r.length&&t!==r[0].pos&&Pn(e,t)!==Pn(e,r[0].pos)&&n.writeLine()}function jn(e,n,t,r,a,i,o,s){if(r&&r.length>0){a&&t.writeSpace(" ");for(var l=!1,c=0,d=r;c=62&&e<=74}function nt(e){var n=tt(e);return n&&!n.isImplements?n.class:void 0}function tt(n){return e.isExpressionWithTypeArguments(n)&&e.isHeritageClause(n.parent)&&e.isClassLike(n.parent.parent)?{class:n.parent.parent,isImplements:112===n.parent.token}:void 0}function rt(n,t){return e.isBinaryExpression(n)&&(t?62===n.operatorToken.kind:et(n.operatorToken.kind))&&e.isLeftHandSideExpression(n.left)}function at(e){return void 0!==nt(e)}function it(e){return 75===e.kind||ot(e)}function ot(n){return e.isPropertyAccessExpression(n)&&it(n.expression)}function st(e){return he(e)&&"prototype"===Le(e)}e.getIndentString=Cn,e.getIndentSize=Dn,e.createTextWriter=function(n){var t,r,a,i,o,s=!1;function l(n){var r=e.computeLineStarts(n);r.length>1?(i=i+r.length-1,o=t.length-n.length+e.last(r),a=o-t.length==0):a=!1}function c(e){e&&e.length&&(a&&(e=Cn(r)+e,a=!1),t+=e,l(e))}function d(e){e&&(s=!1),c(e)}function u(){t="",r=0,a=!0,i=0,o=0,s=!1}return u(),{write:d,rawWrite:function(e){void 0!==e&&(t+=e,l(e),s=!1)},writeLiteral:function(e){e&&e.length&&d(e)},writeLine:function(){a||(i++,o=(t+=n).length,a=!0,s=!1)},increaseIndent:function(){r++},decreaseIndent:function(){r--},getIndent:function(){return r},getTextPos:function(){return t.length},getLine:function(){return i},getColumn:function(){return a?r*Dn():t.length-o},getText:function(){return t},isAtStartOfLine:function(){return a},hasTrailingComment:function(){return s},hasTrailingWhitespace:function(){return!!t.length&&e.isWhiteSpaceLike(t.charCodeAt(t.length-1))},clear:u,reportInaccessibleThisError:e.noop,reportPrivateInBaseOfClassExpression:e.noop,reportInaccessibleUniqueSymbolError:e.noop,trackSymbol:e.noop,writeKeyword:d,writeOperator:d,writeParameter:d,writeProperty:d,writePunctuation:d,writeSpace:d,writeStringLiteral:d,writeSymbol:function(e,n){return d(e)},writeTrailingSemicolon:d,writeComment:function(e){e&&(s=!0),c(e)},getTextPosWithWriteLine:function(){return a?t.length:t.length+n.length}}},e.getTrailingSemicolonDeferringWriter=function(e){var n=!1;function t(){n&&(e.writeTrailingSemicolon(";"),n=!1)}return s(s({},e),{writeTrailingSemicolon:function(){n=!0},writeLiteral:function(n){t(),e.writeLiteral(n)},writeStringLiteral:function(n){t(),e.writeStringLiteral(n)},writeSymbol:function(n,r){t(),e.writeSymbol(n,r)},writePunctuation:function(n){t(),e.writePunctuation(n)},writeKeyword:function(n){t(),e.writeKeyword(n)},writeOperator:function(n){t(),e.writeOperator(n)},writeParameter:function(n){t(),e.writeParameter(n)},writeSpace:function(n){t(),e.writeSpace(n)},writeProperty:function(n){t(),e.writeProperty(n)},writeComment:function(n){t(),e.writeComment(n)},writeLine:function(){t(),e.writeLine()},increaseIndent:function(){t(),e.increaseIndent()},decreaseIndent:function(){t(),e.decreaseIndent()}})},e.getResolvedExternalModuleName=Rn,e.getExternalModuleNameFromDeclaration=function(e,n,t){var r=n.getExternalModuleFileFromDeclaration(t);if(r&&!r.isDeclarationFile)return Rn(e,r)},e.getExternalModuleNameFromPath=In,e.getOwnEmitOutputFilePath=function(n,t,r){var a=t.getCompilerOptions();return(a.outDir?e.removeFileExtension(kn(n,t,a.outDir)):e.removeFileExtension(n))+r},e.getDeclarationEmitOutputFilePath=function(e,n){return Mn(e,n.getCompilerOptions(),n.getCurrentDirectory(),n.getCommonSourceDirectory(),(function(e){return n.getCanonicalFileName(e)}))},e.getDeclarationEmitOutputFilePathWorker=Mn,e.getSourceFilesToEmit=function(n,t,r){var a=n.getCompilerOptions();if(a.outFile||a.out){var i=e.getEmitModuleKind(a),o=a.emitDeclarationOnly||i===e.ModuleKind.AMD||i===e.ModuleKind.System;return e.filter(n.getSourceFiles(),(function(t){return(o||!e.isExternalModule(t))&&On(t,n,r)}))}var s=void 0===t?n.getSourceFiles():[t];return e.filter(s,(function(e){return On(e,n,r)}))},e.sourceFileMayBeEmitted=On,e.getSourceFilePathInNewDir=kn,e.getSourceFilePathInNewDirWorker=Nn,e.writeFile=function(n,t,r,a,i,o){n.writeFile(r,a,i,(function(n){t.add(e.createCompilerDiagnostic(e.Diagnostics.Could_not_write_file_0_Colon_1,r,n))}),o)},e.getLineOfLocalPosition=wn,e.getLineOfLocalPositionFromLineMap=Pn,e.getFirstConstructorWithBody=function(n){return e.find(n.members,(function(n){return e.isConstructorDeclaration(n)&&f(n.body)}))},e.getSetAccessorValueParameter=Gn,e.getSetAccessorTypeAnnotationNode=function(e){var n=Gn(e);return n&&n.type},e.getThisParameter=function(n){if(n.parameters.length&&!e.isJSDocSignature(n)){var t=n.parameters[0];if(Fn(t))return t}},e.parameterIsThisKeyword=Fn,e.isThisIdentifier=Vn,e.identifierIsThisKeyword=Bn,e.getAllAccessorDeclarations=function(n,t){var r,a,i,o;return nn(t)?(r=t,162===t.kind?i=t:163===t.kind?o=t:e.Debug.fail("Accessor has wrong kind")):e.forEach(n,(function(n){e.isAccessor(n)&&zn(n,32)===zn(t,32)&&(an(n.name)===an(t.name)&&(r?a||(a=n):r=n,162!==n.kind||i||(i=n),163!==n.kind||o||(o=n)))})),{firstAccessor:r,secondAccessor:a,getAccessor:i,setAccessor:o}},e.getEffectiveTypeAnnotationNode=Un,e.getTypeAnnotationNode=function(e){return e.type},e.getEffectiveReturnTypeNode=function(n){return e.isJSDocSignature(n)?n.type&&n.type.typeExpression&&n.type.typeExpression.type:n.type||(le(n)?e.getJSDocReturnType(n):void 0)},e.getJSDocTypeParameterDeclarations=function(n){return e.flatMap(e.getJSDocTags(n),(function(n){return function(n){return e.isJSDocTemplateTag(n)&&!(301===n.parent.kind&&n.parent.tags.some(De))}(n)?n.typeParameters:void 0}))},e.getEffectiveSetAccessorTypeAnnotationNode=function(e){var n=Gn(e);return n&&Un(n)},e.emitNewLineBeforeLeadingComments=Hn,e.emitNewLineBeforeLeadingCommentsOfPosition=Kn,e.emitNewLineBeforeLeadingCommentOfPosition=function(e,n,t,r){t!==r&&Pn(e,t)!==Pn(e,r)&&n.writeLine()},e.emitComments=jn,e.emitDetachedComments=function(n,t,r,a,i,o,s){var l,c;if(s?0===i.pos&&(l=e.filter(e.getLeadingCommentRanges(n,i.pos),(function(e){return v(n,e.pos)}))):l=e.getLeadingCommentRanges(n,i.pos),l){for(var d=[],u=void 0,m=0,p=l;m=g+2)break}d.push(f),u=f}if(d.length){g=Pn(t,e.last(d).end);Pn(t,e.skipTrivia(n,i.pos))>=g+2&&(Hn(t,r,i,l),jn(n,t,r,d,!1,!0,o,a),c={nodePos:i.pos,detachedCommentEndPos:e.last(d).end})}}return c},e.writeCommentRange=function(n,t,r,a,i,o){if(42===n.charCodeAt(a+1))for(var s=e.computeLineAndCharacterOfPosition(t,a),l=t.length,c=void 0,d=a,u=s.line;d0){var f=p%Dn(),g=Cn((p-f)/Dn());for(r.rawWrite(g);f;)r.rawWrite(" "),f--}else r.rawWrite("")}Wn(n,i,r,o,d,m),d=m}else r.writeComment(n.substring(a,i))},e.hasModifiers=function(e){return 0!==Qn(e)},e.hasModifier=zn,e.hasStaticModifier=Xn,e.hasReadonlyModifier=Jn,e.getSelectedModifierFlags=Yn,e.getModifierFlags=Qn,e.getModifierFlagsNoCache=Zn,e.modifierToFlag=$n,e.isLogicalOperator=function(e){return 56===e||55===e||53===e},e.isAssignmentOperator=et,e.tryGetClassExtendingExpressionWithTypeArguments=nt,e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments=tt,e.isAssignmentExpression=rt,e.isDestructuringAssignment=function(e){if(rt(e,!0)){var n=e.left.kind;return 192===n||191===n}return!1},e.isExpressionWithTypeArgumentsInClassExtendsClause=at,e.isEntityNameExpression=it,e.getFirstIdentifier=function(e){switch(e.kind){case 75:return e;case 152:do{e=e.left}while(75!==e.kind);return e;case 193:do{e=e.expression}while(75!==e.kind);return e}},e.isDottedName=function e(n){return 75===n.kind||103===n.kind||193===n.kind&&e(n.expression)||199===n.kind&&e(n.expression)},e.isPropertyAccessEntityNameExpression=ot,e.tryGetPropertyAccessOrIdentifierToString=function n(t){return e.isPropertyAccessExpression(t)?n(t.expression)+"."+t.name:e.isIdentifier(t)?e.unescapeLeadingUnderscores(t.escapedText):void 0},e.isPrototypeAccess=st,e.isRightSideOfQualifiedNameOrPropertyAccess=function(e){return 152===e.parent.kind&&e.parent.right===e||193===e.parent.kind&&e.parent.name===e},e.isEmptyObjectLiteral=function(e){return 192===e.kind&&0===e.properties.length},e.isEmptyArrayLiteral=function(e){return 191===e.kind&&0===e.elements.length},e.getLocalSymbolForExportDefault=function(n){return function(n){return n&&e.length(n.declarations)>0&&zn(n.declarations[0],512)}(n)?n.declarations[0].localSymbol:void 0},e.tryExtractTSExtension=function(n){return e.find(e.supportedTSExtensionsForExtractExtension,(function(t){return e.fileExtensionIs(n,t)}))};var lt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function ct(n){for(var t,r,a,i,o="",s=function(n){for(var t=[],r=n.length,a=0;a>6|192),t.push(63&i|128)):i<65536?(t.push(i>>12|224),t.push(i>>6&63|128),t.push(63&i|128)):i<131072?(t.push(i>>18|240),t.push(i>>12&63|128),t.push(i>>6&63|128),t.push(63&i|128)):e.Debug.assert(!1,"Unexpected code point")}return t}(n),l=0,c=s.length;l>2,r=(3&s[l])<<4|s[l+1]>>4,a=(15&s[l+1])<<2|s[l+2]>>6,i=63&s[l+2],l+1>=c?a=i=64:l+2>=c&&(i=64),o+=lt.charAt(t)+lt.charAt(r)+lt.charAt(a)+lt.charAt(i),l+=3;return o}e.convertToBase64=ct,e.base64encode=function(e,n){return e&&e.base64encode?e.base64encode(n):ct(n)},e.base64decode=function(e,n){if(e&&e.base64decode)return e.base64decode(n);for(var t=n.length,r=[],a=0;a>4&3,d=(15&o)<<4|s>>2&15,u=(3&s)<<6|63&l;0===d&&0!==s?r.push(c):0===u&&0!==l?r.push(c,d):r.push(c,d,u),a+=4}return function(e){for(var n="",t=0,r=e.length;t=n||-1===t),{pos:n,end:t}}function mt(e,n){return ut(n,e.end)}function pt(e){return e.decorators&&e.decorators.length>0?mt(e,e.decorators.end):e}function ft(e,n,t){return gt(_t(e,t),n.end,t)}function gt(e,n,t){return e===n||wn(t,e)===wn(t,n)}function _t(n,t){return e.positionIsSynthesized(n.pos)?-1:e.skipTrivia(t.text,n.pos)}function yt(e){return void 0!==e.initializer}function vt(e){return 33554432&e.flags?e.checkFlags:0}function ht(n){var t=n.parent;if(!t)return 0;switch(t.kind){case 199:return ht(t);case 207:case 206:var r=t.operator;return 45===r||46===r?l():0;case 208:var a=t,i=a.left,o=a.operatorToken;return i===n&&et(o.kind)?62===o.kind?1:l():0;case 193:return t.name!==n?0:ht(t);case 279:var s=ht(t.parent);return n===t.name?function(n){switch(n){case 0:return 1;case 1:return 0;case 2:return 2;default:return e.Debug.assertNever(n)}}(s):s;case 280:return n===t.objectAssignmentInitializer?0:ht(t.parent);case 191:return ht(t);default:return 0}function l(){return t.parent&&225===function(e){for(;199===e.kind;)e=e.parent;return e}(t.parent).kind?1:2}}function bt(e,n,t){var r=t.onDeleteValue,a=t.onExistingValue;e.forEach((function(t,i){var o=n.get(i);void 0===o?(e.delete(i),r(t,i)):a&&a(t,o,i)}))}function Et(e){if(32&e.flags){var n=Tt(e);return!!n&&zn(n,128)}return!1}function Tt(n){return e.find(n.declarations,e.isClassLike)}function St(e){return 3899392&e.flags?e.objectFlags:0}function Lt(e){return 193===e.kind||194===e.kind}e.getNewLineCharacter=function(n,t){switch(n.newLine){case 0:return"\r\n";case 1:return"\n"}return t?t():e.sys?e.sys.newLine:"\r\n"},e.createRange=ut,e.moveRangeEnd=function(e,n){return ut(e.pos,n)},e.moveRangePos=mt,e.moveRangePastDecorators=pt,e.moveRangePastModifiers=function(e){return e.modifiers&&e.modifiers.length>0?mt(e,e.modifiers.end):pt(e)},e.isCollapsedRange=function(e){return e.pos===e.end},e.createTokenRange=function(n,t){return ut(n,n+e.tokenToString(t).length)},e.rangeIsOnSingleLine=function(e,n){return ft(e,e,n)},e.rangeStartPositionsAreOnSameLine=function(e,n,t){return gt(_t(e,t),_t(n,t),t)},e.rangeEndPositionsAreOnSameLine=function(e,n,t){return gt(e.end,n.end,t)},e.rangeStartIsOnSameLineAsRangeEnd=ft,e.rangeEndIsOnSameLineAsRangeStart=function(e,n,t){return gt(e.end,_t(n,t),t)},e.isNodeArrayMultiLine=function(e,n){return!gt(e.pos,e.end,n)},e.positionsAreOnSameLine=gt,e.getStartPositionOfRange=_t,e.isDeclarationNameOfEnumOrNamespace=function(n){var t=e.getParseTreeNode(n);if(t)switch(t.parent.kind){case 247:case 248:return t===t.parent.name}return!1},e.getInitializedVariables=function(n){return e.filter(n.declarations,yt)},e.isWatchSet=function(e){return e.watch&&e.hasOwnProperty("watch")},e.closeFileWatcher=function(e){e.close()},e.getCheckFlags=vt,e.getDeclarationModifierFlagsFromSymbol=function(n){if(n.valueDeclaration){var t=e.getCombinedModifierFlags(n.valueDeclaration);return n.parent&&32&n.parent.flags?t:-29&t}if(6&vt(n)){var r=n.checkFlags;return(1024&r?8:256&r?4:16)|(2048&r?32:0)}return 4194304&n.flags?36:0},e.skipAlias=function(e,n){return 2097152&e.flags?n.getAliasedSymbol(e):e},e.getCombinedLocalAndExportSymbolFlags=function(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags},e.isWriteOnlyAccess=function(e){return 1===ht(e)},e.isWriteAccess=function(e){return 0!==ht(e)},function(e){e[e.Read=0]="Read",e[e.Write=1]="Write",e[e.ReadWrite=2]="ReadWrite"}(dt||(dt={})),e.compareDataObjects=function e(n,t){if(!n||!t||Object.keys(n).length!==Object.keys(t).length)return!1;for(var r in n)if("object"==typeof n[r]){if(!e(n[r],t[r]))return!1}else if("function"!=typeof n[r]&&n[r]!==t[r])return!1;return!0},e.clearMap=function(e,n){e.forEach(n),e.clear()},e.mutateMapSkippingNewValues=bt,e.mutateMap=function(e,n,t){bt(e,n,t);var r=t.createNewValue;n.forEach((function(n,t){e.has(t)||e.set(t,r(t,n))}))},e.isAbstractConstructorType=function(e){return!!(16&St(e))&&!!e.symbol&&Et(e.symbol)},e.isAbstractConstructorSymbol=Et,e.getClassLikeDeclarationOfSymbol=Tt,e.getObjectFlags=St,e.typeHasCallOrConstructSignatures=function(e,n){return 0!==n.getSignaturesOfType(e,0).length||0!==n.getSignaturesOfType(e,1).length},e.forSomeAncestorDirectory=function(n,t){return!!e.forEachAncestorDirectory(n,(function(e){return!!t(e)||void 0}))},e.isUMDExportSymbol=function(n){return!!n&&!!n.declarations&&!!n.declarations[0]&&e.isNamespaceExportDeclaration(n.declarations[0])},e.showModuleSpecifier=function(n){var t=n.moduleSpecifier;return e.isStringLiteral(t)?t.text:T(t)},e.getLastChild=function(n){var t;return e.forEachChild(n,(function(e){f(e)&&(t=e)}),(function(e){for(var n=e.length-1;n>=0;n--)if(f(e[n])){t=e[n];break}})),t},e.addToSeen=function(e,n,t){return void 0===t&&(t=!0),n=String(n),!e.has(n)&&(e.set(n,t),!0)},e.isObjectTypeDeclaration=function(n){return e.isClassLike(n)||e.isInterfaceDeclaration(n)||e.isTypeLiteralNode(n)},e.isTypeNodeKind=function(e){return e>=167&&e<=187||124===e||147===e||139===e||150===e||140===e||127===e||142===e||143===e||103===e||109===e||145===e||99===e||136===e||215===e||293===e||294===e||295===e||296===e||297===e||298===e||299===e},e.isAccessExpression=Lt,e.isBundleFileTextLike=function(e){switch(e.kind){case"text":case"internal":return!0;default:return!1}},e.getDotOrQuestionDotToken=function(n){return n.questionDotToken||e.createNode(24,n.expression.end,n.name.pos)}}(u||(u={})),function(e){function n(e){return e.start+e.length}function t(e){return 0===e.length}function r(e,n){var t=i(e,n);return t&&0===t.length?void 0:t}function a(e,n,t,r){return t<=e+n&&t+r>=e}function i(e,t){var r=Math.max(e.start,t.start),a=Math.min(n(e),n(t));return r<=a?s(r,a):void 0}function o(e,n){if(e<0)throw new Error("start < 0");if(n<0)throw new Error("length < 0");return{start:e,length:n}}function s(e,n){return o(e,n-e)}function l(e,n){if(n<0)throw new Error("newLength < 0");return{span:e,newLength:n}}function c(n){return!!e.isBindingPattern(n)&&e.every(n.elements,d)}function d(n){return!!e.isOmittedExpression(n)||c(n.name)}function u(n){for(var t=n.parent;e.isBindingElement(t.parent);)t=t.parent.parent;return t.parent}function m(n,t){e.isBindingElement(n)&&(n=u(n));var r=t(n);return 241===n.kind&&(n=n.parent),n&&242===n.kind&&(r|=t(n),n=n.parent),n&&224===n.kind&&(r|=t(n)),r}function p(e,n){if(e)for(;void 0!==e.original;)e=e.original;return!n||n(e)?e:void 0}function f(e){return 0==(8&e.flags)}function g(e){var n=e;return n.length>=3&&95===n.charCodeAt(0)&&95===n.charCodeAt(1)&&95===n.charCodeAt(2)?n.substr(1):n}function _(e){return g(e.escapedText)}function y(n){var t=n.parent.parent;if(t){if(e.isDeclaration(t))return v(t);switch(t.kind){case 224:if(t.declarationList&&t.declarationList.declarations[0])return v(t.declarationList.declarations[0]);break;case 225:var r=t.expression;switch(208===r.kind&&62===r.operatorToken.kind&&(r=r.left),r.kind){case 193:return r.name;case 194:var a=r.argumentExpression;if(e.isIdentifier(a))return a}break;case 199:return v(t.expression);case 237:if(e.isDeclaration(t.statement)||e.isExpression(t.statement))return v(t.statement)}}}function v(n){var t=T(n);return t&&e.isIdentifier(t)?t:void 0}function h(e){return e.name||y(e)}function b(e){return!!e.name}function E(n){switch(n.kind){case 75:return n;case 316:case 310:var t=n.name;if(152===t.kind)return t.right;break;case 195:case 208:var r=n;switch(e.getAssignmentDeclarationKind(r)){case 1:case 4:case 5:case 3:return e.getElementOrPropertyAccessArgumentExpressionOrName(r.left);case 7:case 8:case 9:return r.arguments[1];default:return}case 315:return h(n);case 309:return y(n);case 258:var a=n.expression;return e.isIdentifier(a)?a:void 0;case 194:var i=n;if(e.isBindableStaticElementAccessExpression(i))return i.argumentExpression}return n.name}function T(n){if(void 0!==n)return E(n)||(e.isFunctionExpression(n)||e.isClassExpression(n)?function(n){if(!n.parent)return;if(e.isPropertyAssignment(n.parent)||e.isBindingElement(n.parent))return n.parent.name;if(e.isBinaryExpression(n.parent)&&n===n.parent.right){if(e.isIdentifier(n.parent.left))return n.parent.left;if(e.isAccessExpression(n.parent.left))return e.getElementOrPropertyAccessArgumentExpressionOrName(n.parent.left)}else if(e.isVariableDeclaration(n.parent)&&e.isIdentifier(n.parent.name))return n.parent.name}(n):void 0)}function S(n){if(n.name){if(e.isIdentifier(n.name)){var t=n.name.escapedText;return C(n.parent).filter((function(n){return e.isJSDocParameterTag(n)&&e.isIdentifier(n.name)&&n.name.escapedText===t}))}var r=n.parent.parameters.indexOf(n);e.Debug.assert(r>-1,"Parameters should always be in their parents' parameter list");var a=C(n.parent).filter(e.isJSDocParameterTag);if(r=e.start&&t=e.pos&&n<=e.end},e.textSpanContainsTextSpan=function(e,t){return t.start>=e.start&&n(t)<=n(e)},e.textSpanOverlapsWith=function(e,n){return void 0!==r(e,n)},e.textSpanOverlap=r,e.textSpanIntersectsWithTextSpan=function(e,n){return a(e.start,e.length,n.start,n.length)},e.textSpanIntersectsWith=function(e,n,t){return a(e.start,e.length,n,t)},e.decodedTextSpanIntersectsWith=a,e.textSpanIntersectsWithPosition=function(e,t){return t<=n(e)&&t>=e.start},e.textSpanIntersection=i,e.createTextSpan=o,e.createTextSpanFromBounds=s,e.textChangeRangeNewSpan=function(e){return o(e.span.start,e.newLength)},e.textChangeRangeIsUnchanged=function(e){return t(e.span)&&0===e.newLength},e.createTextChangeRange=l,e.unchangedTextChangeRange=l(o(0,0),0),e.collapseTextChangeRangesAcrossMultipleVersions=function(t){if(0===t.length)return e.unchangedTextChangeRange;if(1===t.length)return t[0];for(var r=t[0],a=r.span.start,i=n(r.span),o=a+r.newLength,c=1;c=2&&95===e.charCodeAt(0)&&95===e.charCodeAt(1)?"_"+e:e},e.unescapeLeadingUnderscores=g,e.idText=_,e.symbolName=function(e){return g(e.escapedName)},e.nodeHasName=function n(t,r){return!(!b(t)||!e.isIdentifier(t.name)||_(t.name)!==_(r))||!(!e.isVariableStatement(t)||!e.some(t.declarationList.declarations,(function(e){return n(e,r)})))},e.getNameOfJSDocTypedef=h,e.isNamedDeclaration=b,e.getNonAssignedNameOfDeclaration=E,e.getNameOfDeclaration=T,e.getJSDocParameterTags=S,e.getJSDocTypeParameterTags=function(n){var t=n.name.escapedText;return C(n.parent).filter((function(n){return e.isJSDocTemplateTag(n)&&n.typeParameters.some((function(e){return e.name.escapedText===t}))}))},e.hasJSDocParameterTags=function(n){return!!D(n,e.isJSDocParameterTag)},e.getJSDocAugmentsTag=function(n){return D(n,e.isJSDocAugmentsTag)},e.getJSDocClassTag=function(n){return D(n,e.isJSDocClassTag)},e.getJSDocEnumTag=function(n){return D(n,e.isJSDocEnumTag)},e.getJSDocThisTag=function(n){return D(n,e.isJSDocThisTag)},e.getJSDocReturnTag=L,e.getJSDocTemplateTag=function(n){return D(n,e.isJSDocTemplateTag)},e.getJSDocTypeTag=A,e.getJSDocType=x,e.getJSDocReturnType=function(n){var t=L(n);if(t&&t.typeExpression)return t.typeExpression.type;var r=A(n);if(r&&r.typeExpression){var a=r.typeExpression.type;if(e.isTypeLiteralNode(a)){var i=e.find(a.members,e.isCallSignatureDeclaration);return i&&i.type}if(e.isFunctionTypeNode(a))return a.type}},e.getJSDocTags=C,e.getAllJSDocTagsOfKind=function(e,n){return C(e).filter((function(e){return e.kind===n}))},e.getEffectiveTypeParameterDeclarations=function(n){if(e.isJSDocSignature(n))return e.emptyArray;if(e.isJSDocTypeAlias(n))return e.Debug.assert(301===n.parent.kind),e.flatMap(n.parent.tags,(function(n){return e.isJSDocTemplateTag(n)?n.typeParameters:void 0}));if(n.typeParameters)return n.typeParameters;if(e.isInJSFile(n)){var t=e.getJSDocTypeParameterDeclarations(n);if(t.length)return t;var r=x(n);if(r&&e.isFunctionTypeNode(r)&&r.typeParameters)return r.typeParameters}return e.emptyArray},e.getEffectiveConstraintOfTypeParameter=function(n){return n.constraint?n.constraint:e.isJSDocTemplateTag(n.parent)&&n===n.parent.typeParameters[0]?n.parent.constraint:void 0}}(u||(u={})),function(e){function n(e){return 75===e.kind}function t(e){return 168===e.kind}function r(e){return 193===e.kind}function a(e){return 194===e.kind}function i(e){return 195===e.kind}function o(e){var n=e.kind;return!!(32&e.flags)&&(193===n||194===n||195===n)}function s(e){return o(e)&&!!e.questionDotToken}function l(e){switch(e.kind){case 285:case 286:return!0;default:return!1}}e.isNumericLiteral=function(e){return 8===e.kind},e.isBigIntLiteral=function(e){return 9===e.kind},e.isStringLiteral=function(e){return 10===e.kind},e.isJsxText=function(e){return 11===e.kind},e.isRegularExpressionLiteral=function(e){return 13===e.kind},e.isNoSubstitutionTemplateLiteral=function(e){return 14===e.kind},e.isTemplateHead=function(e){return 15===e.kind},e.isTemplateMiddle=function(e){return 16===e.kind},e.isTemplateTail=function(e){return 17===e.kind},e.isIdentifier=n,e.isQualifiedName=function(e){return 152===e.kind},e.isComputedPropertyName=function(e){return 153===e.kind},e.isTypeParameterDeclaration=function(e){return 154===e.kind},e.isParameter=function(e){return 155===e.kind},e.isDecorator=function(e){return 156===e.kind},e.isPropertySignature=function(e){return 157===e.kind},e.isPropertyDeclaration=function(e){return 158===e.kind},e.isMethodSignature=function(e){return 159===e.kind},e.isMethodDeclaration=function(e){return 160===e.kind},e.isConstructorDeclaration=function(e){return 161===e.kind},e.isGetAccessorDeclaration=function(e){return 162===e.kind},e.isSetAccessorDeclaration=function(e){return 163===e.kind},e.isCallSignatureDeclaration=function(e){return 164===e.kind},e.isConstructSignatureDeclaration=function(e){return 165===e.kind},e.isIndexSignatureDeclaration=function(e){return 166===e.kind},e.isGetOrSetAccessorDeclaration=function(e){return 163===e.kind||162===e.kind},e.isTypePredicateNode=function(e){return 167===e.kind},e.isTypeReferenceNode=t,e.isFunctionTypeNode=function(e){return 169===e.kind},e.isConstructorTypeNode=function(e){return 170===e.kind},e.isTypeQueryNode=function(e){return 171===e.kind},e.isTypeLiteralNode=function(e){return 172===e.kind},e.isArrayTypeNode=function(e){return 173===e.kind},e.isTupleTypeNode=function(e){return 174===e.kind},e.isUnionTypeNode=function(e){return 177===e.kind},e.isIntersectionTypeNode=function(e){return 178===e.kind},e.isConditionalTypeNode=function(e){return 179===e.kind},e.isInferTypeNode=function(e){return 180===e.kind},e.isParenthesizedTypeNode=function(e){return 181===e.kind},e.isThisTypeNode=function(e){return 182===e.kind},e.isTypeOperatorNode=function(e){return 183===e.kind},e.isIndexedAccessTypeNode=function(e){return 184===e.kind},e.isMappedTypeNode=function(e){return 185===e.kind},e.isLiteralTypeNode=function(e){return 186===e.kind},e.isImportTypeNode=function(e){return 187===e.kind},e.isObjectBindingPattern=function(e){return 188===e.kind},e.isArrayBindingPattern=function(e){return 189===e.kind},e.isBindingElement=function(e){return 190===e.kind},e.isArrayLiteralExpression=function(e){return 191===e.kind},e.isObjectLiteralExpression=function(e){return 192===e.kind},e.isPropertyAccessExpression=r,e.isPropertyAccessChain=function(e){return r(e)&&!!(32&e.flags)},e.isElementAccessExpression=a,e.isElementAccessChain=function(e){return a(e)&&!!(32&e.flags)},e.isCallExpression=i,e.isCallChain=function(e){return i(e)&&!!(32&e.flags)},e.isOptionalChain=o,e.isOptionalChainRoot=s,e.isExpressionOfOptionalChainRoot=function(e){return s(e.parent)&&e.parent.expression===e},e.isOutermostOptionalChain=function(e){return!o(e.parent)||s(e.parent)||e!==e.parent.expression},e.isNullishCoalesce=function(e){return 208===e.kind&&60===e.operatorToken.kind},e.isNewExpression=function(e){return 196===e.kind},e.isTaggedTemplateExpression=function(e){return 197===e.kind},e.isTypeAssertion=function(e){return 198===e.kind},e.isConstTypeReference=function(e){return t(e)&&n(e.typeName)&&"const"===e.typeName.escapedText&&!e.typeArguments},e.isParenthesizedExpression=function(e){return 199===e.kind},e.skipPartiallyEmittedExpressions=function(e){for(;319===e.kind;)e=e.expression;return e},e.isFunctionExpression=function(e){return 200===e.kind},e.isArrowFunction=function(e){return 201===e.kind},e.isDeleteExpression=function(e){return 202===e.kind},e.isTypeOfExpression=function(e){return 203===e.kind},e.isVoidExpression=function(e){return 204===e.kind},e.isAwaitExpression=function(e){return 205===e.kind},e.isPrefixUnaryExpression=function(e){return 206===e.kind},e.isPostfixUnaryExpression=function(e){return 207===e.kind},e.isBinaryExpression=function(e){return 208===e.kind},e.isConditionalExpression=function(e){return 209===e.kind},e.isTemplateExpression=function(e){return 210===e.kind},e.isYieldExpression=function(e){return 211===e.kind},e.isSpreadElement=function(e){return 212===e.kind},e.isClassExpression=function(e){return 213===e.kind},e.isOmittedExpression=function(e){return 214===e.kind},e.isExpressionWithTypeArguments=function(e){return 215===e.kind},e.isAsExpression=function(e){return 216===e.kind},e.isNonNullExpression=function(e){return 217===e.kind},e.isMetaProperty=function(e){return 218===e.kind},e.isTemplateSpan=function(e){return 220===e.kind},e.isSemicolonClassElement=function(e){return 221===e.kind},e.isBlock=function(e){return 222===e.kind},e.isVariableStatement=function(e){return 224===e.kind},e.isEmptyStatement=function(e){return 223===e.kind},e.isExpressionStatement=function(e){return 225===e.kind},e.isIfStatement=function(e){return 226===e.kind},e.isDoStatement=function(e){return 227===e.kind},e.isWhileStatement=function(e){return 228===e.kind},e.isForStatement=function(e){return 229===e.kind},e.isForInStatement=function(e){return 230===e.kind},e.isForOfStatement=function(e){return 231===e.kind},e.isContinueStatement=function(e){return 232===e.kind},e.isBreakStatement=function(e){return 233===e.kind},e.isBreakOrContinueStatement=function(e){return 233===e.kind||232===e.kind},e.isReturnStatement=function(e){return 234===e.kind},e.isWithStatement=function(e){return 235===e.kind},e.isSwitchStatement=function(e){return 236===e.kind},e.isLabeledStatement=function(e){return 237===e.kind},e.isThrowStatement=function(e){return 238===e.kind},e.isTryStatement=function(e){return 239===e.kind},e.isDebuggerStatement=function(e){return 240===e.kind},e.isVariableDeclaration=function(e){return 241===e.kind},e.isVariableDeclarationList=function(e){return 242===e.kind},e.isFunctionDeclaration=function(e){return 243===e.kind},e.isClassDeclaration=function(e){return 244===e.kind},e.isInterfaceDeclaration=function(e){return 245===e.kind},e.isTypeAliasDeclaration=function(e){return 246===e.kind},e.isEnumDeclaration=function(e){return 247===e.kind},e.isModuleDeclaration=function(e){return 248===e.kind},e.isModuleBlock=function(e){return 249===e.kind},e.isCaseBlock=function(e){return 250===e.kind},e.isNamespaceExportDeclaration=function(e){return 251===e.kind},e.isImportEqualsDeclaration=function(e){return 252===e.kind},e.isImportDeclaration=function(e){return 253===e.kind},e.isImportClause=function(e){return 254===e.kind},e.isNamespaceImport=function(e){return 255===e.kind},e.isNamedImports=function(e){return 256===e.kind},e.isImportSpecifier=function(e){return 257===e.kind},e.isExportAssignment=function(e){return 258===e.kind},e.isExportDeclaration=function(e){return 259===e.kind},e.isNamedExports=function(e){return 260===e.kind},e.isExportSpecifier=function(e){return 261===e.kind},e.isMissingDeclaration=function(e){return 262===e.kind},e.isExternalModuleReference=function(e){return 263===e.kind},e.isJsxElement=function(e){return 264===e.kind},e.isJsxSelfClosingElement=function(e){return 265===e.kind},e.isJsxOpeningElement=function(e){return 266===e.kind},e.isJsxClosingElement=function(e){return 267===e.kind},e.isJsxFragment=function(e){return 268===e.kind},e.isJsxOpeningFragment=function(e){return 269===e.kind},e.isJsxClosingFragment=function(e){return 270===e.kind},e.isJsxAttribute=function(e){return 271===e.kind},e.isJsxAttributes=function(e){return 272===e.kind},e.isJsxSpreadAttribute=function(e){return 273===e.kind},e.isJsxExpression=function(e){return 274===e.kind},e.isCaseClause=function(e){return 275===e.kind},e.isDefaultClause=function(e){return 276===e.kind},e.isHeritageClause=function(e){return 277===e.kind},e.isCatchClause=function(e){return 278===e.kind},e.isPropertyAssignment=function(e){return 279===e.kind},e.isShorthandPropertyAssignment=function(e){return 280===e.kind},e.isSpreadAssignment=function(e){return 281===e.kind},e.isEnumMember=function(e){return 282===e.kind},e.isSourceFile=function(e){return 288===e.kind},e.isBundle=function(e){return 289===e.kind},e.isUnparsedSource=function(e){return 290===e.kind},e.isUnparsedPrepend=function(e){return 284===e.kind},e.isUnparsedTextLike=l,e.isUnparsedNode=function(e){return l(e)||283===e.kind||287===e.kind},e.isJSDocTypeExpression=function(e){return 292===e.kind},e.isJSDocAllType=function(e){return 293===e.kind},e.isJSDocUnknownType=function(e){return 294===e.kind},e.isJSDocNullableType=function(e){return 295===e.kind},e.isJSDocNonNullableType=function(e){return 296===e.kind},e.isJSDocOptionalType=function(e){return 297===e.kind},e.isJSDocFunctionType=function(e){return 298===e.kind},e.isJSDocVariadicType=function(e){return 299===e.kind},e.isJSDoc=function(e){return 301===e.kind},e.isJSDocAuthorTag=function(e){return 306===e.kind},e.isJSDocAugmentsTag=function(e){return 305===e.kind},e.isJSDocClassTag=function(e){return 307===e.kind},e.isJSDocEnumTag=function(e){return 309===e.kind},e.isJSDocThisTag=function(e){return 312===e.kind},e.isJSDocParameterTag=function(e){return 310===e.kind},e.isJSDocReturnTag=function(e){return 311===e.kind},e.isJSDocTypeTag=function(e){return 313===e.kind},e.isJSDocTemplateTag=function(e){return 314===e.kind},e.isJSDocTypedefTag=function(e){return 315===e.kind},e.isJSDocPropertyTag=function(e){return 316===e.kind},e.isJSDocPropertyLikeTag=function(e){return 316===e.kind||310===e.kind},e.isJSDocTypeLiteral=function(e){return 302===e.kind},e.isJSDocCallbackTag=function(e){return 308===e.kind},e.isJSDocSignature=function(e){return 303===e.kind}}(u||(u={})),function(e){function n(e){return e>=152}function t(e){return 8<=e&&e<=14}function r(e){return 14<=e&&e<=17}function a(e){switch(e){case 121:case 125:case 80:case 129:case 83:case 88:case 118:case 116:case 117:case 137:case 119:return!0}return!1}function i(n){return!!(92&e.modifierToFlag(n))}function o(e){return e&&l(e.kind)}function s(e){switch(e){case 243:case 160:case 161:case 162:case 163:case 200:case 201:return!0;default:return!1}}function l(e){switch(e){case 159:case 164:case 303:case 165:case 166:case 169:case 298:case 170:return!0;default:return s(e)}}function c(e){var n=e.kind;return 161===n||158===n||160===n||162===n||163===n||166===n||221===n}function d(e){var n=e.kind;return 165===n||164===n||157===n||159===n||166===n}function u(e){var n=e.kind;return 279===n||280===n||281===n||160===n||162===n||163===n}function m(e){switch(e.kind){case 188:case 192:return!0}return!1}function p(e){switch(e.kind){case 189:case 191:return!0}return!1}function f(e){switch(e){case 193:case 194:case 196:case 195:case 264:case 265:case 268:case 197:case 191:case 199:case 192:case 213:case 200:case 75:case 13:case 8:case 9:case 10:case 14:case 210:case 90:case 99:case 103:case 105:case 101:case 217:case 218:case 95:return!0;default:return!1}}function g(e){switch(e){case 206:case 207:case 202:case 203:case 204:case 205:case 198:return!0;default:return f(e)}}function _(n){return function(e){switch(e){case 209:case 211:case 201:case 208:case 212:case 216:case 214:case 320:case 319:return!0;default:return g(e)}}(e.skipPartiallyEmittedExpressions(n).kind)}function y(e){return 319===e.kind}function v(e){return 318===e.kind}function h(n){return e.isExportAssignment(n)||e.isExportDeclaration(n)}function b(e){return 243===e||262===e||244===e||245===e||246===e||247===e||248===e||253===e||252===e||259===e||258===e||251===e}function E(e){return 233===e||232===e||240===e||227===e||225===e||223===e||230===e||231===e||229===e||226===e||237===e||234===e||236===e||238===e||239===e||224===e||228===e||235===e||318===e||322===e||321===e}function T(e){return e.kind>=304&&e.kind<=316}function S(e){return!!e.initializer}e.isSyntaxList=function(e){return 317===e.kind},e.isNode=function(e){return n(e.kind)},e.isNodeKind=n,e.isToken=function(e){return e.kind>=0&&e.kind<=151},e.isNodeArray=function(e){return e.hasOwnProperty("pos")&&e.hasOwnProperty("end")},e.isLiteralKind=t,e.isLiteralExpression=function(e){return t(e.kind)},e.isTemplateLiteralKind=r,e.isTemplateLiteralToken=function(e){return r(e.kind)},e.isTemplateMiddleOrTemplateTail=function(e){var n=e.kind;return 16===n||17===n},e.isImportOrExportSpecifier=function(n){return e.isImportSpecifier(n)||e.isExportSpecifier(n)},e.isStringTextContainingNode=function(e){return 10===e.kind||r(e.kind)},e.isGeneratedIdentifier=function(n){return e.isIdentifier(n)&&(7&n.autoGenerateFlags)>0},e.isModifierKind=a,e.isParameterPropertyModifier=i,e.isClassMemberModifier=function(e){return i(e)||119===e},e.isModifier=function(e){return a(e.kind)},e.isEntityName=function(e){var n=e.kind;return 152===n||75===n},e.isPropertyName=function(e){var n=e.kind;return 75===n||10===n||8===n||153===n},e.isBindingName=function(e){var n=e.kind;return 75===n||188===n||189===n},e.isFunctionLike=o,e.isFunctionLikeDeclaration=function(e){return e&&s(e.kind)},e.isFunctionLikeKind=l,e.isFunctionOrModuleBlock=function(n){return e.isSourceFile(n)||e.isModuleBlock(n)||e.isBlock(n)&&o(n.parent)},e.isClassElement=c,e.isClassLike=function(e){return e&&(244===e.kind||213===e.kind)},e.isAccessor=function(e){return e&&(162===e.kind||163===e.kind)},e.isMethodOrAccessor=function(e){switch(e.kind){case 160:case 162:case 163:return!0;default:return!1}},e.isTypeElement=d,e.isClassOrTypeElement=function(e){return d(e)||c(e)},e.isObjectLiteralElementLike=u,e.isTypeNode=function(n){return e.isTypeNodeKind(n.kind)},e.isFunctionOrConstructorTypeNode=function(e){switch(e.kind){case 169:case 170:return!0}return!1},e.isBindingPattern=function(e){if(e){var n=e.kind;return 189===n||188===n}return!1},e.isAssignmentPattern=function(e){var n=e.kind;return 191===n||192===n},e.isArrayBindingElement=function(e){var n=e.kind;return 190===n||214===n},e.isDeclarationBindingElement=function(e){switch(e.kind){case 241:case 155:case 190:return!0}return!1},e.isBindingOrAssignmentPattern=function(e){return m(e)||p(e)},e.isObjectBindingOrAssignmentPattern=m,e.isArrayBindingOrAssignmentPattern=p,e.isPropertyAccessOrQualifiedNameOrImportTypeNode=function(e){var n=e.kind;return 193===n||152===n||187===n},e.isPropertyAccessOrQualifiedName=function(e){var n=e.kind;return 193===n||152===n},e.isCallLikeExpression=function(e){switch(e.kind){case 266:case 265:case 195:case 196:case 197:case 156:return!0;default:return!1}},e.isCallOrNewExpression=function(e){return 195===e.kind||196===e.kind},e.isTemplateLiteral=function(e){var n=e.kind;return 210===n||14===n},e.isLeftHandSideExpression=function(n){return f(e.skipPartiallyEmittedExpressions(n).kind)},e.isUnaryExpression=function(n){return g(e.skipPartiallyEmittedExpressions(n).kind)},e.isUnaryExpressionWithWrite=function(e){switch(e.kind){case 207:return!0;case 206:return 45===e.operator||46===e.operator;default:return!1}},e.isExpression=_,e.isAssertionExpression=function(e){var n=e.kind;return 198===n||216===n},e.isPartiallyEmittedExpression=y,e.isNotEmittedStatement=v,e.isSyntheticReference=function(e){return 323===e.kind},e.isNotEmittedOrPartiallyEmittedNode=function(e){return v(e)||y(e)},e.isIterationStatement=function e(n,t){switch(n.kind){case 229:case 230:case 231:case 227:case 228:return!0;case 237:return t&&e(n.statement,t)}return!1},e.isScopeMarker=h,e.hasScopeMarker=function(n){return e.some(n,h)},e.needsScopeMarker=function(n){return!(e.isAnyImportOrReExport(n)||e.isExportAssignment(n)||e.hasModifier(n,1)||e.isAmbientModule(n))},e.isExternalModuleIndicator=function(n){return e.isAnyImportOrReExport(n)||e.isExportAssignment(n)||e.hasModifier(n,1)},e.isForInOrOfStatement=function(e){return 230===e.kind||231===e.kind},e.isConciseBody=function(n){return e.isBlock(n)||_(n)},e.isFunctionBody=function(n){return e.isBlock(n)},e.isForInitializer=function(n){return e.isVariableDeclarationList(n)||_(n)},e.isModuleBody=function(e){var n=e.kind;return 249===n||248===n||75===n},e.isNamespaceBody=function(e){var n=e.kind;return 249===n||248===n},e.isJSDocNamespaceBody=function(e){var n=e.kind;return 75===n||248===n},e.isNamedImportBindings=function(e){var n=e.kind;return 256===n||255===n},e.isModuleOrEnumDeclaration=function(e){return 248===e.kind||247===e.kind},e.isDeclaration=function(n){return 154===n.kind?n.parent&&314!==n.parent.kind||e.isInJSFile(n):201===(t=n.kind)||190===t||244===t||213===t||161===t||247===t||282===t||261===t||243===t||200===t||162===t||254===t||252===t||257===t||245===t||271===t||160===t||159===t||248===t||251===t||255===t||155===t||279===t||158===t||157===t||163===t||280===t||246===t||154===t||241===t||315===t||308===t||316===t;var t},e.isDeclarationStatement=function(e){return b(e.kind)},e.isStatementButNotDeclaration=function(e){return E(e.kind)},e.isStatement=function(n){var t=n.kind;return E(t)||b(t)||function(n){if(222!==n.kind)return!1;if(void 0!==n.parent&&(239===n.parent.kind||278===n.parent.kind))return!1;return!e.isFunctionBlock(n)}(n)},e.isModuleReference=function(e){var n=e.kind;return 263===n||152===n||75===n},e.isJsxTagNameExpression=function(e){var n=e.kind;return 103===n||75===n||193===n},e.isJsxChild=function(e){var n=e.kind;return 264===n||274===n||265===n||11===n||268===n},e.isJsxAttributeLike=function(e){var n=e.kind;return 271===n||273===n},e.isStringLiteralOrJsxExpression=function(e){var n=e.kind;return 10===n||274===n},e.isJsxOpeningLikeElement=function(e){var n=e.kind;return 266===n||265===n},e.isCaseOrDefaultClause=function(e){var n=e.kind;return 275===n||276===n},e.isJSDocNode=function(e){return e.kind>=292&&e.kind<=316},e.isJSDocCommentContainingNode=function(n){return 301===n.kind||T(n)||e.isJSDocTypeLiteral(n)||e.isJSDocSignature(n)},e.isJSDocTag=T,e.isSetAccessor=function(e){return 163===e.kind},e.isGetAccessor=function(e){return 162===e.kind},e.hasJSDocNodes=function(e){var n=e.jsDoc;return!!n&&n.length>0},e.hasType=function(e){return!!e.type},e.hasInitializer=S,e.hasOnlyExpressionInitializer=function(n){return S(n)&&!e.isForStatement(n)&&!e.isForInStatement(n)&&!e.isForOfStatement(n)&&!e.isJsxAttribute(n)},e.isObjectLiteralElement=function(e){return 271===e.kind||273===e.kind||u(e)},e.isTypeReferenceType=function(e){return 168===e.kind||215===e.kind};e.guessIndentation=function(n){for(var t=1073741823,r=0,a=n;rr.next.length)return 1;return 0}(n.messageText,t.messageText)||0}function u(e){return e.target||0}function m(n){return"number"==typeof n.module?n.module:u(n)>=2?e.ModuleKind.ES2015:e.ModuleKind.CommonJS}function p(e){return!(!e.declaration&&!e.composite)}function f(e,n){return void 0===e[n]?!!e.strict:!!e[n]}function g(e,n){return n.strictFlag?f(e,n.name):e[n.name]}function _(n,t,r,a){for(var i=e.getPathComponents(e.toPath(n,r,a)),o=e.getPathComponents(e.toPath(t,r,a));!y(i[i.length-2],a)&&!y(o[o.length-2],a)&&a(i[i.length-1])===a(o[o.length-1]);)i.pop(),o.pop();return[e.getPathFromPathComponents(i),e.getPathFromPathComponents(o)]}function y(n,t){return"node_modules"===t(n)||e.startsWith(n,"@")}e.isNamedImportsOrExports=function(e){return 256===e.kind||260===e.kind},e.objectAllocator={getNodeConstructor:function(){return a},getTokenConstructor:function(){return a},getIdentifierConstructor:function(){return a},getSourceFileConstructor:function(){return a},getSymbolConstructor:function(){return n},getTypeConstructor:function(){return t},getSignatureConstructor:function(){return r},getSourceMapSourceConstructor:function(){return i}},e.formatStringFromArgs=o,e.getLocaleSpecificMessage=s,e.createFileDiagnostic=function(n,t,r,a){e.Debug.assertGreaterThanOrEqual(t,0),e.Debug.assertGreaterThanOrEqual(r,0),n&&(e.Debug.assertLessThanOrEqual(t,n.text.length),e.Debug.assertLessThanOrEqual(t+r,n.text.length));var i=s(a);return arguments.length>4&&(i=o(i,arguments,4)),{file:n,start:t,length:r,messageText:i,category:a.category,code:a.code,reportsUnnecessary:a.reportsUnnecessary}},e.formatMessage=function(e,n){var t=s(n);return arguments.length>2&&(t=o(t,arguments,2)),t},e.createCompilerDiagnostic=function(e){var n=s(e);return arguments.length>1&&(n=o(n,arguments,1)),{file:void 0,start:void 0,length:void 0,messageText:n,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary}},e.createCompilerDiagnosticFromMessageChain=function(e){return{file:void 0,start:void 0,length:void 0,code:e.code,category:e.category,messageText:e.next?e:e.messageText}},e.chainDiagnosticMessages=function(e,n){var t=s(n);return arguments.length>2&&(t=o(t,arguments,2)),{messageText:t,category:n.category,code:n.code,next:void 0===e||Array.isArray(e)?e:[e]}},e.concatenateDiagnosticMessageChains=function(e,n){for(var t=e;t.next;)t=t.next[0];t.next=[n]},e.compareDiagnostics=c,e.compareDiagnosticsSkipRelatedInformation=d,e.getEmitScriptTarget=u,e.getEmitModuleKind=m,e.getEmitModuleResolutionKind=function(n){var t=n.moduleResolution;return void 0===t&&(t=m(n)===e.ModuleKind.CommonJS?e.ModuleResolutionKind.NodeJs:e.ModuleResolutionKind.Classic),t},e.hasJsonModuleEmitEnabled=function(n){switch(m(n)){case e.ModuleKind.CommonJS:case e.ModuleKind.AMD:case e.ModuleKind.ES2015:case e.ModuleKind.ESNext:return!0;default:return!1}},e.unreachableCodeIsError=function(e){return!1===e.allowUnreachableCode},e.unusedLabelIsError=function(e){return!1===e.allowUnusedLabels},e.getAreDeclarationMapsEnabled=function(e){return!(!p(e)||!e.declarationMap)},e.getAllowSyntheticDefaultImports=function(n){var t=m(n);return void 0!==n.allowSyntheticDefaultImports?n.allowSyntheticDefaultImports:n.esModuleInterop||t===e.ModuleKind.System},e.getEmitDeclarations=p,e.isIncrementalCompilation=function(e){return!(!e.incremental&&!e.composite)},e.getStrictOptionValue=f,e.compilerOptionsAffectSemanticDiagnostics=function(n,t){return t!==n&&e.semanticDiagnosticsOptionDeclarations.some((function(r){return!e.isJsonEqual(g(t,r),g(n,r))}))},e.compilerOptionsAffectEmit=function(n,t){return t!==n&&e.affectsEmitOptionDeclarations.some((function(r){return!e.isJsonEqual(g(t,r),g(n,r))}))},e.getCompilerOptionValue=g,e.hasZeroOrOneAsteriskCharacter=function(e){for(var n=!1,t=0;t0;)d+=")?",g--;return d}(t,r,i,c[i])}))}function m(e){return!/[.*?]/.test(e)}function p(e,n){return"*"===e?n:"?"===e?"[^/]":"\\"+e}function f(n,t,r,a,i){n=e.normalizePath(n),i=e.normalizePath(i);var o=e.combinePaths(i,n);return{includeFilePatterns:e.map(u(r,o,"files"),(function(e){return"^"+e+"$"})),includeFilePattern:d(r,o,"files"),includeDirectoryPattern:d(r,o,"directories"),excludePattern:d(t,o,"exclude"),basePaths:_(n,r,a)}}function g(e,n){return new RegExp(e,n?"":"i")}function _(n,t,r){var a=[n];if(t){for(var i=[],o=0,s=t;o=0;r--)if(e.fileExtensionIs(n,t[r]))return S(r,t);return 0},e.adjustExtensionPriority=S,e.getNextLowestExtensionPriority=function(e,n){return e<2?2:n.length};var L=[".d.ts",".ts",".js",".tsx",".jsx",".json"];function A(n,t){return e.fileExtensionIs(n,t)?x(n,t):void 0}function x(e,n){return e.substring(0,e.length-n.length)}function C(n){e.Debug.assert(e.hasZeroOrOneAsteriskCharacter(n));var t=n.indexOf("*");return-1===t?void 0:{prefix:n.substr(0,t),suffix:n.substr(t+1)}}function D(e){return".ts"===e||".tsx"===e||".d.ts"===e}function R(n){return e.find(L,(function(t){return e.fileExtensionIs(n,t)}))}e.removeFileExtension=function(e){for(var n=0,t=L;n=0)},e.extensionIsTS=D,e.resolutionExtensionIsTSOrJson=function(e){return D(e)||".json"===e},e.extensionFromPath=function(n){var t=R(n);return void 0!==t?t:e.Debug.fail("File "+n+" has unknown extension.")},e.isAnySupportedFileExtension=function(e){return void 0!==R(e)},e.tryGetExtensionFromPath=R,e.isCheckJsEnabledForFile=function(e,n){return e.checkJsDirective?e.checkJsDirective.enabled:n.checkJs},e.emptyFileSystemEntries={files:e.emptyArray,directories:e.emptyArray},e.matchPatternOrExact=function(n,t){for(var r=[],a=0,i=n;aa&&(a=o)}return{min:r,max:a}};var I=function(){function n(){this.map=e.createMap()}return n.prototype.add=function(n){this.map.set(String(e.getNodeId(n)),n)},n.prototype.tryAdd=function(e){return!this.has(e)&&(this.add(e),!0)},n.prototype.has=function(n){return this.map.has(String(e.getNodeId(n)))},n.prototype.forEach=function(e){this.map.forEach(e)},n.prototype.some=function(n){return e.forEachEntry(this.map,n)||!1},n}();e.NodeSet=I;var M=function(){function n(){this.map=e.createMap()}return n.prototype.get=function(n){var t=this.map.get(String(e.getNodeId(n)));return t&&t.value},n.prototype.getOrUpdate=function(e,n){var t=this.get(e);if(t)return t;var r=n();return this.set(e,r),r},n.prototype.set=function(n,t){this.map.set(String(e.getNodeId(n)),{node:n,value:t})},n.prototype.has=function(n){return this.map.has(String(e.getNodeId(n)))},n.prototype.forEach=function(e){this.map.forEach((function(n){var t=n.node,r=n.value;return e(r,t)}))},n}();e.NodeMap=M,e.rangeOfNode=function(n){return{pos:e.getTokenPosOfNode(n),end:n.end}},e.rangeOfTypeParameters=function(e){return{pos:e.pos-1,end:e.end+1}},e.skipTypeChecking=function(e,n,t){return n.skipLibCheck&&e.isDeclarationFile||n.skipDefaultLibCheck&&e.hasNoDefaultLib||t.isSourceOfProjectReferenceRedirect(e.fileName)},e.isJsonEqual=function n(t,r){return t===r||"object"==typeof t&&null!==t&&"object"==typeof r&&null!==r&&e.equalOwnProperties(t,r,n)},e.getOrUpdate=function(e,n,t){var r=e.get(n);if(void 0===r){var a=t();return e.set(n,a),a}return r},e.parsePseudoBigInt=function(e){var n;switch(e.charCodeAt(1)){case 98:case 66:n=1;break;case 111:case 79:n=3;break;case 120:case 88:n=4;break;default:for(var t=e.length-1,r=0;48===e.charCodeAt(r);)r++;return e.slice(r,t)||"0"}for(var a=e.length-1,i=(a-2)*n,o=new Uint16Array((i>>>4)+(15&i?1:0)),s=a-1,l=0;s>=2;s--,l+=n){var c=l>>>4,d=e.charCodeAt(s),u=(d<=57?d-48:10+d-(d<=70?65:97))<<(15&l);o[c]|=u;var m=u>>>16;m&&(o[c+1]|=m)}for(var p="",f=o.length-1,g=!0;g;){var _=0;g=!1;for(c=f;c>=0;c--){var y=_<<16|o[c],v=y/10|0;o[c]=v,_=y-10*v,v&&!g&&(f=c,g=!0)}p=_+p}return p},e.pseudoBigIntToString=function(e){var n=e.negative,t=e.base10Value;return(n&&"0"!==t?"-":"")+t}}(u||(u={})),function(e){var n,t,r,a,i,o,s;function l(e,n){return n&&e(n)}function c(e,n,t){if(t){if(n)return n(t);for(var r=0,a=t;rn.checkJsDirective.pos)&&(n.checkJsDirective={enabled:"ts-check"===a,end:e.range.end,pos:e.range.pos})}));break;case"jsx":return;default:e.Debug.fail("Unhandled pragma kind")}}))}!function(e){e[e.None=0]="None",e[e.Yield=1]="Yield",e[e.Await=2]="Await",e[e.Type=4]="Type",e[e.IgnoreMissingOpenBrace=16]="IgnoreMissingOpenBrace",e[e.JSDoc=32]="JSDoc"}(n||(n={})),e.createNode=function(n,o,s){return 288===n?new(i||(i=e.objectAllocator.getSourceFileConstructor()))(n,o,s):75===n?new(a||(a=e.objectAllocator.getIdentifierConstructor()))(n,o,s):e.isNodeKind(n)?new(t||(t=e.objectAllocator.getNodeConstructor()))(n,o,s):new(r||(r=e.objectAllocator.getTokenConstructor()))(n,o,s)},e.isJSDocLikeText=d,e.forEachChild=u,e.createSourceFile=function(n,t,r,a,i){var s;return void 0===a&&(a=!1),e.performance.mark("beforeParse"),e.perfLogger.logStartParseSourceFile(n),s=100===r?o.parseSourceFile(n,t,r,void 0,a,6):o.parseSourceFile(n,t,r,void 0,a,i),e.perfLogger.logStopParseSourceFile(),e.performance.mark("afterParse"),e.performance.measure("Parse","beforeParse","afterParse"),s},e.parseIsolatedEntityName=function(e,n){return o.parseIsolatedEntityName(e,n)},e.parseJsonText=function(e,n){return o.parseJsonText(e,n)},e.isExternalModule=function(e){return void 0!==e.externalModuleIndicator},e.updateSourceFile=function(e,n,t,r){void 0===r&&(r=!1);var a=s.updateSourceFile(e,n,t,r);return a.flags|=3145728&e.flags,a},e.parseIsolatedJSDocComment=function(e,n,t){var r=o.JSDocParser.parseIsolatedJSDocComment(e,n,t);return r&&r.jsDoc&&o.fixupParentReferences(r.jsDoc),r},e.parseJSDocTypeExpressionForTests=function(e,n,t){return o.JSDocParser.parseJSDocTypeExpressionForTests(e,n,t)},function(n){var t,r,a,i,o,s,l,c,g,_,y,v,h,b,T,S,L,A,x=e.createScanner(99,!0),C=!1;function D(n,t,r,a,i){void 0===r&&(r=2),I(t,r,a,6),(o=w(n,2,6,!1)).flags=T,ae();var l=ne();if(1===te())o.statements=Le([],l,l),o.endOfFileToken=he();else{var c=Te(225);switch(te()){case 22:c.expression=Vt();break;case 105:case 90:case 99:c.expression=he();break;case 40:ue((function(){return 8===ae()&&58!==ae()}))?c.expression=_t():c.expression=Ut();break;case 8:case 10:if(ue((function(){return 58!==ae()}))){c.expression=cn();break}default:c.expression=Ut()}Ae(c),o.statements=Le([c],l),o.endOfFileToken=ve(1,e.Diagnostics.Unexpected_token)}i&&N(o),o.nodeCount=_,o.identifierCount=v,o.identifiers=y,o.parseDiagnostics=s;var d=o;return M(),d}function R(e){return 4===e||2===e||1===e||6===e?1:0}function I(n,o,c,d){switch(t=e.objectAllocator.getNodeConstructor(),r=e.objectAllocator.getTokenConstructor(),a=e.objectAllocator.getIdentifierConstructor(),i=e.objectAllocator.getSourceFileConstructor(),g=n,l=c,s=[],h=0,y=e.createMap(),v=0,_=0,d){case 1:case 2:T=131072;break;case 6:T=33685504;break;default:T=0}C=!1,x.setText(g),x.setOnError(ee),x.setScriptTarget(o),x.setLanguageVariant(R(d))}function M(){x.setText(""),x.setOnError(void 0),s=void 0,o=void 0,y=void 0,l=void 0,g=void 0,b=void 0}function O(n,t,r,a){var i=m(n);return i&&(T|=8388608),(o=w(n,t,a,i)).flags=T,ae(),p(o,g),f(o,(function(n,t,r){s.push(e.createFileDiagnostic(o,n,t,r))})),o.statements=Xe(0,ar),e.Debug.assert(1===te()),o.endOfFileToken=k(he()),function(n){n.externalModuleIndicator=e.forEach(n.statements,zr)||function(e){return 2097152&e.flags?Xr(e):void 0}(n)}(o),o.nodeCount=_,o.identifierCount=v,o.identifiers=y,o.parseDiagnostics=s,r&&N(o),o}function k(n){e.Debug.assert(!n.jsDoc);var t=e.mapDefined(e.getJSDocCommentRanges(n,o.text),(function(e){return A.parseJSDocComment(n,e.pos,e.end-e.pos)}));return t.length&&(n.jsDoc=t),n}function N(n){var t=n;return void u(n,(function n(r){if(r.parent!==t){r.parent=t;var a=t;if(t=r,u(r,n),e.hasJSDocNodes(r))for(var i=0,o=r.jsDoc;i111)}function fe(n,t,r){return void 0===r&&(r=!0),te()===n?(r&&ae(),!0):(t?Y(t):Y(e.Diagnostics._0_expected,e.tokenToString(n)),!1)}function ge(e){return te()===e&&(ae(),!0)}function _e(e){if(te()===e)return he()}function ye(e){if(te()===e)return n=Te(te()),ie(),Ae(n);var n}function ve(n,t,r){return _e(n)||xe(n,!1,t||e.Diagnostics._0_expected,r||e.tokenToString(n))}function he(){var e=Te(te());return ae(),Ae(e)}function be(){return 26===te()||(19===te()||1===te()||x.hasPrecedingLineBreak())}function Ee(){return be()?(26===te()&&ae(),!0):fe(26)}function Te(n,i){_++;var o=i>=0?i:x.getStartPos();return e.isNodeKind(n)||0===n?new t(n,o,o):75===n?new a(n,o,o):new r(n,o,o)}function Se(e,n){var t=Te(e,n);return 2&x.getTokenFlags()&&k(t),t}function Le(e,n,t){var r=e.length,a=r>=1&&r<=4?e.slice():e;return a.pos=n,a.end=void 0===t?x.getStartPos():t,a}function Ae(e,n){return e.end=void 0===n?x.getStartPos():n,T&&(e.flags|=T),C&&(C=!1,e.flags|=65536),e}function xe(n,t,r,a){t?Q(x.getStartPos(),0,r,a):r&&Y(r,a);var i=Te(n);return 75===n?i.escapedText="":(e.isLiteralKind(n)||e.isTemplateLiteralKind(n))&&(i.text=""),Ae(i)}function Ce(e){var n=y.get(e);return void 0===n&&y.set(e,n=e),n}function De(n,t){if(v++,n){var r=Te(75);return 75!==te()&&(r.originalKeywordKind=te()),r.escapedText=e.escapeLeadingUnderscores(Ce(x.getTokenValue())),re(),Ae(r)}var a=1===te(),i=x.isReservedWord(),o=x.getTokenText(),s=i?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:e.Diagnostics.Identifier_expected;return xe(75,a,t||s,o)}function Re(e){return De(pe(),e)}function Ie(n){return De(e.tokenIsIdentifierOrKeyword(te()),n)}function Me(){return e.tokenIsIdentifierOrKeyword(te())||10===te()||8===te()}function Oe(e){if(10===te()||8===te()){var n=cn();return n.text=Ce(n.text),n}return e&&22===te()?function(){var e=Te(153);return fe(22),e.expression=K(tt),fe(23),Ae(e)}():Ie()}function ke(){return Oe(!0)}function Ne(e){return te()===e&&me(Pe)}function we(){return ae(),!x.hasPrecedingLineBreak()&&Ge()}function Pe(){switch(te()){case 80:return 87===ae();case 88:return ae(),83===te()?ue(Fe):41!==te()&&122!==te()&&18!==te()&&Ge();case 83:return Fe();case 119:case 130:case 141:return ae(),Ge();default:return we()}}function Ge(){return 22===te()||18===te()||41===te()||25===te()||Me()}function Fe(){return ae(),79===te()||93===te()||113===te()||121===te()&&ue(Qt)||125===te()&&ue(Zt)}function Ve(n,t){if(Ye(n))return!0;switch(n){case 0:case 1:case 3:return!(26===te()&&t)&&tr();case 2:return 77===te()||83===te();case 4:return ue(Cn);case 5:return ue(Ar)||26===te()&&!t;case 6:return 22===te()||Me();case 12:switch(te()){case 22:case 41:case 25:case 24:return!0;default:return Me()}case 18:return Me();case 9:return 22===te()||25===te()||Me();case 7:return 18===te()?ue(Be):t?pe()&&!je():et()&&!je();case 8:return mr();case 10:return 27===te()||25===te()||mr();case 19:return pe();case 15:switch(te()){case 27:case 24:return!0}case 11:return 25===te()||nt();case 16:return hn(!1);case 17:return hn(!0);case 20:case 21:return 27===te()||Hn();case 22:return Pr();case 23:return e.tokenIsIdentifierOrKeyword(te());case 13:return e.tokenIsIdentifierOrKeyword(te())||18===te();case 14:return!0}return e.Debug.fail("Non-exhaustive case in 'isListElement'.")}function Be(){if(e.Debug.assert(18===te()),19===ae()){var n=ae();return 27===n||18===n||89===n||112===n}return!0}function Ue(){return ae(),pe()}function He(){return ae(),e.tokenIsIdentifierOrKeyword(te())}function Ke(){return ae(),e.tokenIsIdentifierOrKeywordOrGreaterThan(te())}function je(){return(112===te()||89===te())&&ue(We)}function We(){return ae(),nt()}function qe(){return ae(),Hn()}function ze(e){if(1===te())return!0;switch(e){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:return 19===te();case 3:return 19===te()||77===te()||83===te();case 7:return 18===te()||89===te()||112===te();case 8:return function(){if(be())return!0;if(mt(te()))return!0;if(38===te())return!0;return!1}();case 19:return 31===te()||20===te()||18===te()||89===te()||112===te();case 11:return 21===te()||26===te();case 15:case 21:case 10:return 23===te();case 17:case 16:case 18:return 21===te()||23===te();case 20:return 27!==te();case 22:return 18===te()||19===te();case 13:return 31===te()||43===te();case 14:return 29===te()&&ue(Ur);default:return!1}}function Xe(e,n){var t=h;h|=1<=0&&(l.hasTrailingComma=!0),l}function en(n){return 6===n?e.Diagnostics.An_enum_member_name_must_be_followed_by_a_or:void 0}function nn(){var e=Le([],ne());return e.isMissingList=!0,e}function tn(e,n,t,r){if(fe(t)){var a=$e(e,n);return fe(r),a}return nn()}function rn(e,n){for(var t=e?Ie(n):Re(n),r=x.getStartPos();ge(24);){if(29===te()){t.jsdocDotPos=r;break}r=x.getStartPos(),t=an(t,on(e))}return t}function an(e,n){var t=Te(152,e.pos);return t.left=e,t.right=n,Ae(t)}function on(n){if(x.hasPrecedingLineBreak()&&e.tokenIsIdentifierOrKeyword(te())&&ue(Yt))return xe(75,!0,e.Diagnostics.Identifier_expected);return n?Ie():Re()}function sn(){var n,t=Te(210);t.head=(n=dn(te()),e.Debug.assert(15===n.kind,"Template head has wrong token kind"),n),e.Debug.assert(15===t.head.kind,"Template head has wrong token kind");var r=[],a=ne();do{r.push(ln())}while(16===e.last(r).literal.kind);return t.templateSpans=Le(r,a),Ae(t)}function ln(){var n,t,r=Te(220);return r.expression=K(tt),19===te()?(c=x.reScanTemplateToken(),t=dn(te()),e.Debug.assert(16===t.kind||17===t.kind,"Template fragment has wrong token kind"),n=t):n=ve(17,e.Diagnostics._0_expected,e.tokenToString(19)),r.literal=n,Ae(r)}function cn(){return dn(te())}function dn(e){var n=Te(e);switch(n.text=x.getTokenValue(),e){case 14:case 15:case 16:case 17:var t=14===e||17===e,r=x.getTokenText();n.rawText=r.substring(1,r.length-(x.isUnterminated()?0:t?1:2))}return x.hasExtendedUnicodeEscape()&&(n.hasExtendedUnicodeEscape=!0),x.isUnterminated()&&(n.isUnterminated=!0),8===n.kind&&(n.numericLiteralFlags=1008&x.getTokenFlags()),ae(),Ae(n),n}function un(){var n=Te(168);return n.typeName=rn(!0,e.Diagnostics.Type_expected),x.hasPrecedingLineBreak()||29!==se()||(n.typeArguments=tn(20,Qn,29,31)),Ae(n)}function mn(){var e=Te(182);return ae(),Ae(e)}function pn(e){var n=Te(293);return e?jn(297,n):(ae(),Ae(n))}function fn(){var e=Te(155);return 103!==te()&&98!==te()||(e.name=Ie(),fe(58)),e.type=gn(),Ae(e)}function gn(){x.setInJSDocType(!0);var e=_e(134);if(e){var n=Te(300,e.pos);e:for(;;)switch(te()){case 19:case 1:case 27:case 5:break e;default:ie()}return x.setInJSDocType(!1),Ae(n)}var t=_e(25),r=Jn();if(x.setInJSDocType(!1),t){var a=Te(299,t.pos);a.type=r,r=Ae(a)}return 62===te()?jn(297,r):r}function _n(){var e=Te(154);return e.name=Re(),ge(89)&&(Hn()||!nt()?e.constraint=Qn():e.expression=yt()),ge(62)&&(e.default=Qn()),Ae(e)}function yn(){if(29===te())return tn(19,_n,29,31)}function vn(){if(ge(58))return Qn()}function hn(n){return 25===te()||mr()||e.isModifierKind(te())||59===te()||Hn(!n)}function bn(){var n=Se(155);return 103===te()?(n.name=De(!0),n.type=vn(),Ae(n)):(n.decorators=xr(),n.modifiers=Cr(),n.dotDotDotToken=_e(25),n.name=pr(),0===e.getFullWidth(n.name)&&!e.hasModifiers(n)&&e.isModifierKind(te())&&ae(),n.questionToken=_e(57),n.type=vn(),n.initializer=rt(),Ae(n))}function En(n,t,r){32&t||(r.typeParameters=yn());var a=function(e,n){if(!fe(20))return e.parameters=nn(),!1;var t=q(),r=J();return F(!!(1&n)),B(!!(2&n)),e.parameters=32&n?$e(17,fn):$e(16,bn),F(t),B(r),fe(21)}(r,t);return(!function(n,t){if(38===n)return fe(n),!0;if(ge(58))return!0;if(t&&38===te())return Y(e.Diagnostics._0_expected,e.tokenToString(58)),ae(),!0;return!1}(n,!!(4&t))||(r.type=Jn(),!function n(t){switch(t.kind){case 168:return e.nodeIsMissing(t.typeName);case 169:case 170:var r=t,a=r.parameters,i=r.type;return!!a.isMissingList||n(i);case 181:return n(t.type);default:return!1}}(r.type)))&&a}function Tn(){ge(27)||Ee()}function Sn(e){var n=Se(e);return 165===e&&fe(98),En(58,4,n),Tn(),Ae(n)}function Ln(){return 22===te()&&ue(An)}function An(){if(ae(),25===te()||23===te())return!0;if(e.isModifierKind(te())){if(ae(),pe())return!0}else{if(!pe())return!1;ae()}return 58===te()||27===te()||57===te()&&(ae(),58===te()||27===te()||23===te())}function xn(e){return e.kind=166,e.parameters=tn(16,bn,22,23),e.type=$n(),Tn(),Ae(e)}function Cn(){if(20===te()||29===te())return!0;for(var n=!1;e.isModifierKind(te());)n=!0,ae();return 22===te()||(Me()&&(n=!0,ae()),!!n&&(20===te()||29===te()||57===te()||58===te()||27===te()||be()))}function Dn(){if(20===te()||29===te())return Sn(164);if(98===te()&&ue(Rn))return Sn(165);var e=Se(0);return e.modifiers=Cr(),Ln()?xn(e):function(e){return e.name=ke(),e.questionToken=_e(57),20===te()||29===te()?(e.kind=159,En(58,4,e)):(e.kind=157,e.type=$n(),62===te()&&(e.initializer=rt())),Tn(),Ae(e)}(e)}function Rn(){return ae(),20===te()||29===te()}function In(){return 24===ae()}function Mn(){switch(ae()){case 20:case 29:case 24:return!0}return!1}function On(){var e;return fe(18)?(e=Xe(4,Dn),fe(19)):e=nn(),e}function kn(){return ae(),39===te()||40===te()?137===ae():(137===te()&&ae(),22===te()&&Ue()&&96===ae())}function Nn(){var e=Te(185);return fe(18),137!==te()&&39!==te()&&40!==te()||(e.readonlyToken=he(),137!==e.readonlyToken.kind&&ve(137)),fe(22),e.typeParameter=function(){var e=Te(154);return e.name=Re(),fe(96),e.constraint=Qn(),Ae(e)}(),fe(23),57!==te()&&39!==te()&&40!==te()||(e.questionToken=he(),57!==e.questionToken.kind&&ve(57)),e.type=$n(),Ee(),fe(19),Ae(e)}function wn(){var e=ne();if(ge(25)){var n=Te(176,e);return n.type=Qn(),Ae(n)}var t=Qn();return 4194304&T||295!==t.kind||t.pos!==t.type.pos||(t.kind=175),t}function Pn(){var e=he();return 24===te()?void 0:e}function Gn(e){var n,t=Te(186);e&&((n=Te(206)).operator=40,ae());var r=105===te()||90===te()?he():dn(te());return e&&(n.operand=r,Ae(n),r=n),t.literal=r,Ae(t)}function Fn(){return ae(),95===te()}function Vn(){o.flags|=1048576;var n=Te(187);return ge(107)&&(n.isTypeOf=!0),fe(95),fe(20),n.argument=Qn(),fe(21),ge(24)&&(n.qualifier=rn(!0,e.Diagnostics.Type_expected)),x.hasPrecedingLineBreak()||29!==se()||(n.typeArguments=tn(20,Qn,29,31)),Ae(n)}function Bn(){return ae(),8===te()||9===te()}function Un(){switch(te()){case 124:case 147:case 142:case 139:case 150:case 143:case 127:case 145:case 136:case 140:return me(Pn)||un();case 41:return pn(!1);case 65:return pn(!0);case 60:x.reScanQuestionToken();case 57:return r=x.getStartPos(),ae(),27===te()||19===te()||21===te()||31===te()||62===te()||51===te()?Ae(t=Te(294,r)):((t=Te(295,r)).type=Qn(),Ae(t));case 93:return function(){if(ue(Br)){var e=Se(298);return ae(),En(58,36,e),Ae(e)}var n=Te(168);return n.typeName=Ie(),Ae(n)}();case 53:return function(){var e=Te(296);return ae(),e.type=Un(),Ae(e)}();case 14:case 10:case 8:case 9:case 105:case 90:return Gn();case 40:return ue(Bn)?Gn(!0):un();case 109:case 99:return he();case 103:var e=mn();return 132!==te()||x.hasPrecedingLineBreak()?e:function(e){ae();var n=Te(167,e.pos);return n.parameterName=e,n.type=Qn(),Ae(n)}(e);case 107:return ue(Fn)?Vn():(n=Te(171),fe(107),n.exprName=rn(!0),Ae(n));case 18:return ue(kn)?Nn():function(){var e=Te(172);return e.members=On(),Ae(e)}();case 22:return function(){var e=Te(174);return e.elementTypes=tn(21,wn,22,23),Ae(e)}();case 20:return function(){var e=Te(181);return fe(20),e.type=Qn(),fe(21),Ae(e)}();case 95:return Vn();case 123:return ue(Yt)?function(){var e=Te(167);return e.assertsModifier=ve(123),e.parameterName=103===te()?mn():Re(),e.type=ge(132)?Qn():void 0,Ae(e)}():un();default:return un()}var n,t,r}function Hn(e){switch(te()){case 124:case 147:case 142:case 139:case 150:case 127:case 137:case 143:case 146:case 109:case 145:case 99:case 103:case 107:case 136:case 18:case 22:case 29:case 51:case 50:case 98:case 10:case 8:case 9:case 105:case 90:case 140:case 41:case 57:case 53:case 25:case 131:case 95:case 123:return!0;case 93:return!e;case 40:return!e&&ue(Bn);case 20:return!e&&ue(Kn);default:return pe()}}function Kn(){return ae(),21===te()||hn(!1)||Hn()}function jn(e,n){ae();var t=Te(e,n.pos);return t.type=n,Ae(t)}function Wn(){var e=te();switch(e){case 133:case 146:case 137:return function(e){var n=Te(183);return fe(e),n.operator=e,n.type=Wn(),Ae(n)}(e);case 131:return function(){var e=Te(180);fe(131);var n=Te(154);return n.name=Re(),e.typeParameter=Ae(n),Ae(e)}()}return function(){for(var e=Un();!x.hasPrecedingLineBreak();)switch(te()){case 53:e=jn(296,e);break;case 57:if(!(4194304&T)&&ue(qe))return e;e=jn(295,e);break;case 22:var n;if(fe(22),Hn())(n=Te(184,e.pos)).objectType=e,n.indexType=Qn(),fe(23),e=Ae(n);else(n=Te(173,e.pos)).elementType=e,fe(23),e=Ae(n);break;default:return e}return e}()}function qn(e,n,t){var r=x.getStartPos(),a=ge(t),i=n();if(te()===t||a){for(var o=[i];ge(t);)o.push(n());var s=Te(e,r);s.types=Le(o,r),i=Ae(s)}return i}function zn(){return qn(178,Wn,50)}function Xn(){if(ae(),21===te()||25===te())return!0;if(function(){if(e.isModifierKind(te())&&Cr(),pe()||103===te())return ae(),!0;if(22===te()||18===te()){var n=s.length;return pr(),n===s.length}return!1}()){if(58===te()||27===te()||57===te()||62===te())return!0;if(21===te()&&(ae(),38===te()))return!0}return!1}function Jn(){var e=pe()&&me(Yn),n=Qn();if(e){var t=Te(167,e.pos);return t.assertsModifier=void 0,t.parameterName=e,t.type=n,Ae(t)}return n}function Yn(){var e=Re();if(132===te()&&!x.hasPrecedingLineBreak())return ae(),e}function Qn(){return U(40960,Zn)}function Zn(e){if(29===te()||20===te()&&ue(Xn)||98===te())return function(){var e=ne(),n=Se(ge(98)?170:169,e);return En(38,4,n),Ae(n)}();var n=qn(177,zn,51);if(!e&&!x.hasPrecedingLineBreak()&&ge(89)){var t=Te(179,n.pos);return t.checkType=n,t.extendsType=Zn(!0),fe(57),t.trueType=Zn(),fe(58),t.falseType=Zn(),Ae(t)}return n}function $n(){return ge(58)?Qn():void 0}function et(){switch(te()){case 103:case 101:case 99:case 105:case 90:case 8:case 9:case 10:case 14:case 15:case 20:case 22:case 18:case 93:case 79:case 98:case 43:case 67:case 75:return!0;case 95:return ue(Mn);default:return pe()}}function nt(){if(et())return!0;switch(te()){case 39:case 40:case 54:case 53:case 84:case 107:case 109:case 45:case 46:case 29:case 126:case 120:return!0;default:return!!function(){if(z()&&96===te())return!1;return e.getBinaryOperatorPrecedence(te())>0}()||pe()}}function tt(){var e=X();e&&V(!1);for(var n,t=at();n=_e(27);)t=ft(t,n,at());return e&&V(!0),t}function rt(){return ge(62)?at():void 0}function at(){if(function(){if(120===te())return!!q()||ue($t);return!1}())return n=Te(211),ae(),x.hasPrecedingLineBreak()||41!==te()&&!nt()||(n.asteriskToken=_e(41),n.expression=at()),Ae(n);var n,t=function(){var n=function(){if(20===te()||29===te()||125===te())return ue(ot);if(38===te())return 1;return 0}();if(0===n)return;var t=1===n?ct(!0):me(st);if(!t)return;var r=e.hasModifier(t,256),a=te();return t.equalsGreaterThanToken=ve(38),t.body=38===a||18===a?dt(r):Re(),Ae(t)}()||function(){if(125===te()&&1===ue(lt)){var e=Dr();return it(ut(0),e)}return}();if(t)return t;var r=ut(0);return 75===r.kind&&38===te()?it(r):e.isLeftHandSideExpression(r)&&e.isAssignmentOperator(oe())?ft(r,he(),at()):function(n){var t=_e(57);if(!t)return n;var r=Te(209,n.pos);return r.condition=n,r.questionToken=t,r.whenTrue=U(20480,at),r.colonToken=ve(58),r.whenFalse=e.nodeIsPresent(r.colonToken)?at():xe(75,!1,e.Diagnostics._0_expected,e.tokenToString(58)),Ae(r)}(r)}function it(n,t){var r;e.Debug.assert(38===te(),"parseSimpleArrowFunctionExpression should only have been called if we had a =>"),t?(r=Te(201,t.pos)).modifiers=t:r=Te(201,n.pos);var a=Te(155,n.pos);return a.name=n,Ae(a),r.parameters=Le([a],a.pos,a.end),r.equalsGreaterThanToken=ve(38),r.body=dt(!!t),k(Ae(r))}function ot(){if(125===te()){if(ae(),x.hasPrecedingLineBreak())return 0;if(20!==te()&&29!==te())return 0}var n=te(),t=ae();if(20===n){if(21===t)switch(ae()){case 38:case 58:case 18:return 1;default:return 0}if(22===t||18===t)return 2;if(25===t)return 1;if(e.isModifierKind(t)&&125!==t&&ue(Ue))return 1;if(!pe()&&103!==t)return 0;switch(ae()){case 58:return 1;case 57:return ae(),58===te()||27===te()||62===te()||21===te()?1:0;case 27:case 62:case 21:return 2}return 0}return e.Debug.assert(29===n),pe()?1===o.languageVariant?ue((function(){var e=ae();if(89===e)switch(ae()){case 62:case 31:return!1;default:return!0}else if(27===e)return!0;return!1}))?1:0:2:0}function st(){var n=x.getTokenPos();if(!b||!b.has(n.toString())){var t=ct(!1);return t||(b||(b=e.createMap())).set(n.toString(),!0),t}}function lt(){if(125===te()){if(ae(),x.hasPrecedingLineBreak()||38===te())return 0;var e=ut(0);if(!x.hasPrecedingLineBreak()&&75===e.kind&&38===te())return 1}return 0}function ct(n){var t=Se(201);if(t.modifiers=Dr(),En(58,e.hasModifier(t,256)?2:0,t)||n){var r=t.type&&e.isJSDocFunctionType(t.type);if(n||38===te()||!r&&18===te())return t}}function dt(e){return 18===te()?Wt(e?2:0):26===te()||93===te()||79===te()||!tr()||18!==te()&&93!==te()&&79!==te()&&59!==te()&&nt()?e?j(at):U(32768,at):Wt(16|(e?2:0))}function ut(e){return pt(e,yt())}function mt(e){return 96===e||151===e}function pt(n,t){for(;;){oe();var r=e.getBinaryOperatorPrecedence(te());if(!(42===te()?r>=n:r>n))break;if(96===te()&&z())break;if(122===te()){if(x.hasPrecedingLineBreak())break;ae(),t=gt(t,Qn())}else t=ft(t,he(),ut(r))}return t}function ft(e,n,t){var r=Te(208,e.pos);return r.left=e,r.operatorToken=n,r.right=t,Ae(r)}function gt(e,n){var t=Te(216,e.pos);return t.expression=e,t.type=n,Ae(t)}function _t(){var e=Te(206);return e.operator=te(),ae(),e.operand=vt(),Ae(e)}function yt(){if(function(){switch(te()){case 39:case 40:case 54:case 53:case 84:case 107:case 109:case 126:return!1;case 29:if(1!==o.languageVariant)return!1;default:return!0}}()){var n=ht();return 42===te()?pt(e.getBinaryOperatorPrecedence(te()),n):n}var t=te(),r=vt();if(42===te()){var a=e.skipTrivia(g,r.pos),i=r.end;198===r.kind?Z(a,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):Z(a,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(t))}return r}function vt(){switch(te()){case 39:case 40:case 54:case 53:return _t();case 84:return e=Te(202),ae(),e.expression=vt(),Ae(e);case 107:return function(){var e=Te(203);return ae(),e.expression=vt(),Ae(e)}();case 109:return function(){var e=Te(204);return ae(),e.expression=vt(),Ae(e)}();case 29:return function(){var e=Te(198);return fe(29),e.type=Qn(),fe(31),e.expression=vt(),Ae(e)}();case 126:if(126===te()&&(J()||ue($t)))return function(){var e=Te(205);return ae(),e.expression=vt(),Ae(e)}();default:return ht()}var e}function ht(){if(45===te()||46===te())return(n=Te(206)).operator=te(),ae(),n.operand=bt(),Ae(n);if(1===o.languageVariant&&29===te()&&ue(Ke))return Tt(!0);var n,t=bt();return e.Debug.assert(e.isLeftHandSideExpression(t)),45!==te()&&46!==te()||x.hasPrecedingLineBreak()?t:((n=Te(207,t.pos)).operand=t,n.operator=te(),ae(),Ae(n))}function bt(){var n;if(95===te())if(ue(Rn))o.flags|=1048576,n=he();else if(ue(In)){var t=x.getStartPos();ae(),ae();var r=Te(218,t);r.keywordToken=95,r.name=Ie(),n=Ae(r),o.flags|=2097152}else n=Et();else n=101===te()?function(){var n=he();if(29===te()){var t=ne();void 0!==me(wt)&&Z(t,ne(),e.Diagnostics.super_may_not_use_type_arguments)}if(20===te()||24===te()||22===te())return n;var r=Te(193,n.pos);return r.expression=n,ve(24,e.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access),r.name=on(!0),Ae(r)}():Et();return function(n){for(;;){n=Mt(n,!0);var t=_e(28);if(29===te()||47===te()){var r=me(wt);if(r){if(Ot()){n=kt(n,t,r);continue}(a=Te(195,n.pos)).expression=n,a.questionDotToken=t,a.typeArguments=r,a.arguments=Nt(),(t||32&n.flags)&&(a.flags|=32),n=Ae(a);continue}}else if(20===te()){var a;(a=Te(195,n.pos)).expression=n,a.questionDotToken=t,a.arguments=Nt(),(t||32&n.flags)&&(a.flags|=32),n=Ae(a);continue}if(t){var i=Te(193,n.pos);i.expression=n,i.questionDotToken=t,i.name=xe(75,!1,e.Diagnostics.Identifier_expected),i.flags|=32,n=Ae(i)}break}return n}(n)}function Et(){return Mt(Pt(),!0)}function Tt(n){var t,r=function(e){var n=x.getStartPos();if(fe(29),31===te()){var t=Te(269,n);return ce(),Ae(t)}var r,a=At(),i=wr(),o=(s=Te(272),s.properties=Xe(13,Ct),Ae(s));var s;31===te()?(r=Te(266,n),ce()):(fe(43),e?fe(31):(fe(31,void 0,!1),ce()),r=Te(265,n));return r.tagName=a,r.typeArguments=i,r.attributes=o,Ae(r)}(n);if(266===r.kind)(a=Te(264,r.pos)).openingElement=r,a.children=Lt(a.openingElement),a.closingElement=function(e){var n=Te(267);fe(30),n.tagName=At(),e?fe(31):(fe(31,void 0,!1),ce());return Ae(n)}(n),E(a.openingElement.tagName,a.closingElement.tagName)||$(a.closingElement,e.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,e.getTextOfNodeFromSourceText(g,a.openingElement.tagName)),t=Ae(a);else if(269===r.kind){var a;(a=Te(268,r.pos)).openingFragment=r,a.children=Lt(a.openingFragment),a.closingFragment=function(n){var t=Te(270);fe(30),e.tokenIsIdentifierOrKeyword(te())&&$(At(),e.Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment);n?fe(31):(fe(31,void 0,!1),ce());return Ae(t)}(n),t=Ae(a)}else e.Debug.assert(265===r.kind),t=r;if(n&&29===te()){var i=me((function(){return Tt(!0)}));if(i){Y(e.Diagnostics.JSX_expressions_must_have_one_parent_element);var o=Te(208,t.pos);return o.end=i.end,o.left=t,o.right=i,o.operatorToken=xe(27,!1),o.operatorToken.pos=o.operatorToken.end=o.right.pos,o}}return t}function St(n,t){switch(t){case 1:return void(e.isJsxOpeningFragment(n)?$(n,e.Diagnostics.JSX_fragment_has_no_corresponding_closing_tag):$(n.tagName,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(g,n.tagName)));case 30:case 7:return;case 11:case 12:return(r=Te(11)).text=x.getTokenValue(),r.containsOnlyTriviaWhiteSpaces=12===c,c=x.scanJsxToken(),Ae(r);case 18:return xt(!1);case 29:return Tt(!1);default:return e.Debug.assertNever(t)}var r}function Lt(e){var n=[],t=ne(),r=h;for(h|=16384;;){var a=St(e,c=x.reScanJsxToken());if(!a)break;n.push(a)}return h=r,Le(n,t)}function At(){le();for(var e=103===te()?he():Ie();ge(24);){var n=Te(193,e.pos);n.expression=e,n.name=on(!0),e=Ae(n)}return e}function xt(e){var n=Te(274);if(fe(18))return 19!==te()&&(n.dotDotDotToken=_e(25),n.expression=tt()),e?fe(19):fe(19,void 0,!1)&&ce(),Ae(n)}function Ct(){if(18===te())return function(){var e=Te(273);return fe(18),fe(25),e.expression=tt(),fe(19),Ae(e)}();le();var e=Te(271);if(e.name=Ie(),62===te())switch(c=x.scanJsxAttributeValue()){case 10:e.initializer=cn();break;default:e.initializer=xt(!0)}return Ae(e)}function Dt(){return ae(),e.tokenIsIdentifierOrKeyword(te())||22===te()||Ot()}function Rt(e,n){var t=Te(193,e.pos);return t.expression=e,t.questionDotToken=n,t.name=on(!0),(n||32&e.flags)&&(t.flags|=32),Ae(t)}function It(n,t){var r=Te(194,n.pos);if(r.expression=n,r.questionDotToken=t,23===te())r.argumentExpression=xe(75,!0,e.Diagnostics.An_element_access_expression_should_take_an_argument);else{var a=K(tt);e.isStringOrNumericLiteralLike(a)&&(a.text=Ce(a.text)),r.argumentExpression=a}return fe(23),(t||32&n.flags)&&(r.flags|=32),Ae(r)}function Mt(n,t){for(;;){var r=void 0,a=!1;if(t&&28===te()&&ue(Dt)?(r=ve(28),a=e.tokenIsIdentifierOrKeyword(te())):a=ge(24),a)n=Rt(n,r);else if(r||53!==te()||x.hasPrecedingLineBreak())if(!r&&X()||!ge(22)){if(!Ot())return n;n=kt(n,r,void 0)}else n=It(n,r);else{ae();var i=Te(217,n.pos);i.expression=n,n=Ae(i)}}}function Ot(){return 14===te()||15===te()}function kt(e,n,t){var r=Te(197,e.pos);return r.tag=e,r.questionDotToken=n,r.typeArguments=t,r.template=14===te()?cn():sn(),(n||32&e.flags)&&(r.flags|=32),Ae(r)}function Nt(){fe(20);var e=$e(11,Ft);return fe(21),e}function wt(){if(29===se()){ae();var e=$e(20,Qn);if(fe(31))return e&&function(){switch(te()){case 20:case 14:case 15:case 24:case 21:case 23:case 58:case 26:case 57:case 34:case 36:case 35:case 37:case 55:case 56:case 60:case 52:case 50:case 51:case 19:case 1:return!0;case 27:case 18:default:return!1}}()?e:void 0}}function Pt(){switch(te()){case 8:case 9:case 10:case 14:return cn();case 103:case 101:case 99:case 105:case 90:return he();case 20:return n=Se(199),fe(20),n.expression=K(tt),fe(21),Ae(n);case 22:return Vt();case 18:return Ut();case 125:if(!ue(Zt))break;return Ht();case 79:return Mr(Se(0),213);case 93:return Ht();case 98:return function(){var n=x.getStartPos();if(fe(98),ge(24)){var t=Te(218,n);return t.keywordToken=98,t.name=Ie(),Ae(t)}var r,a=Pt();for(;;){a=Mt(a,!1),r=me(wt),Ot()&&(e.Debug.assert(!!r,"Expected a type argument list; all plain tagged template starts should be consumed in 'parseMemberExpressionRest'"),a=kt(a,void 0,r),r=void 0);break}var i=Te(196,n);i.expression=a,i.typeArguments=r,(i.typeArguments||20===te())&&(i.arguments=Nt());return Ae(i)}();case 43:case 67:if(13===(c=x.reScanSlashToken()))return cn();break;case 15:return sn()}var n;return Re(e.Diagnostics.Expression_expected)}function Gt(){return 25===te()?(e=Te(212),fe(25),e.expression=at(),Ae(e)):27===te()?Te(214):at();var e}function Ft(){return U(20480,Gt)}function Vt(){var e=Te(191);return fe(22),x.hasPrecedingLineBreak()&&(e.multiLine=!0),e.elements=$e(15,Gt),fe(23),Ae(e)}function Bt(){var e=Se(0);if(_e(25))return e.kind=281,e.expression=at(),Ae(e);if(e.decorators=xr(),e.modifiers=Cr(),Ne(130))return Lr(e,162);if(Ne(141))return Lr(e,163);var n=_e(41),t=pe();if(e.name=ke(),e.questionToken=_e(57),e.exclamationToken=_e(53),n||20===te()||29===te())return Er(e,n);if(t&&58!==te()){e.kind=280;var r=_e(62);r&&(e.equalsToken=r,e.objectAssignmentInitializer=K(at))}else e.kind=279,fe(58),e.initializer=K(at);return Ae(e)}function Ut(){var e=Te(192);return fe(18),x.hasPrecedingLineBreak()&&(e.multiLine=!0),e.properties=$e(12,Bt,!0),fe(19),Ae(e)}function Ht(){var n=X();n&&V(!1);var t=Se(200);t.modifiers=Cr(),fe(93),t.asteriskToken=_e(41);var r=t.asteriskToken?1:0,a=e.hasModifier(t,256)?2:0;return t.name=r&&a?H(40960,Kt):r?function(e){return H(8192,e)}(Kt):a?j(Kt):Kt(),En(58,r|a,t),t.body=Wt(r|a),n&&V(!0),Ae(t)}function Kt(){return pe()?Re():void 0}function jt(e,n){var t=Te(222);return fe(18,n)||e?(x.hasPrecedingLineBreak()&&(t.multiLine=!0),t.statements=Xe(1,ar),fe(19)):t.statements=nn(),Ae(t)}function Wt(e,n){var t=q();F(!!(1&e));var r=J();B(!!(2&e));var a=X();a&&V(!1);var i=jt(!!(16&e),n);return a&&V(!0),F(t),B(r),i}function qt(){var e=ne();fe(92);var n,t,r=_e(126);if(fe(20),26!==te()&&(n=108===te()||114===te()||80===te()?_r(!0):H(4096,tt)),r?fe(151):ge(151)){var a=Te(231,e);a.awaitModifier=r,a.initializer=n,a.expression=K(at),fe(21),t=a}else if(ge(96)){var i=Te(230,e);i.initializer=n,i.expression=K(tt),fe(21),t=i}else{var o=Te(229,e);o.initializer=n,fe(26),26!==te()&&21!==te()&&(o.condition=K(tt)),fe(26),21!==te()&&(o.incrementor=K(tt)),fe(21),t=o}return t.statement=ar(),Ae(t)}function zt(e){var n=Te(e);return fe(233===e?76:81),be()||(n.label=Re()),Ee(),Ae(n)}function Xt(){return 77===te()?(e=Te(275),fe(77),e.expression=K(tt),fe(58),e.statements=Xe(3,ar),Ae(e)):function(){var e=Te(276);return fe(83),fe(58),e.statements=Xe(3,ar),Ae(e)}();var e}function Jt(){var e=Te(239);return fe(106),e.tryBlock=jt(!1),e.catchClause=78===te()?function(){var e=Te(278);fe(78),ge(20)?(e.variableDeclaration=gr(),fe(21)):e.variableDeclaration=void 0;return e.block=jt(!1),Ae(e)}():void 0,e.catchClause&&91!==te()||(fe(91),e.finallyBlock=jt(!1)),Ae(e)}function Yt(){return ae(),e.tokenIsIdentifierOrKeyword(te())&&!x.hasPrecedingLineBreak()}function Qt(){return ae(),79===te()&&!x.hasPrecedingLineBreak()}function Zt(){return ae(),93===te()&&!x.hasPrecedingLineBreak()}function $t(){return ae(),(e.tokenIsIdentifierOrKeyword(te())||8===te()||9===te()||10===te())&&!x.hasPrecedingLineBreak()}function er(){for(;;)switch(te()){case 108:case 114:case 80:case 93:case 79:case 87:return!0;case 113:case 144:return ae(),!x.hasPrecedingLineBreak()&&pe();case 134:case 135:return lr();case 121:case 125:case 129:case 116:case 117:case 118:case 137:if(ae(),x.hasPrecedingLineBreak())return!1;continue;case 149:return ae(),18===te()||75===te()||88===te();case 95:return ae(),10===te()||41===te()||18===te()||e.tokenIsIdentifierOrKeyword(te());case 88:if(ae(),62===te()||41===te()||18===te()||83===te()||122===te())return!0;continue;case 119:ae();continue;default:return!1}}function nr(){return ue(er)}function tr(){switch(te()){case 59:case 26:case 18:case 108:case 114:case 93:case 79:case 87:case 94:case 85:case 110:case 92:case 81:case 76:case 100:case 111:case 102:case 104:case 106:case 82:case 78:case 91:return!0;case 95:return nr()||ue(Mn);case 80:case 88:return nr();case 125:case 129:case 113:case 134:case 135:case 144:case 149:return!0;case 118:case 116:case 117:case 119:case 137:return nr()||!ue(Yt);default:return nt()}}function rr(){return ae(),pe()||18===te()||22===te()}function ar(){switch(te()){case 26:return e=Te(223),fe(26),Ae(e);case 18:return jt(!1);case 108:return vr(Se(241));case 114:if(ue(rr))return vr(Se(241));break;case 93:return hr(Se(243));case 79:return Ir(Se(244));case 94:return function(){var e=Te(226);return fe(94),fe(20),e.expression=K(tt),fe(21),e.thenStatement=ar(),e.elseStatement=ge(86)?ar():void 0,Ae(e)}();case 85:return function(){var e=Te(227);return fe(85),e.statement=ar(),fe(110),fe(20),e.expression=K(tt),fe(21),ge(26),Ae(e)}();case 110:return function(){var e=Te(228);return fe(110),fe(20),e.expression=K(tt),fe(21),e.statement=ar(),Ae(e)}();case 92:return qt();case 81:return zt(232);case 76:return zt(233);case 100:return function(){var e=Te(234);return fe(100),be()||(e.expression=K(tt)),Ee(),Ae(e)}();case 111:return function(){var e=Te(235);return fe(111),fe(20),e.expression=K(tt),fe(21),e.statement=H(16777216,ar),Ae(e)}();case 102:return function(){var e=Te(236);fe(102),fe(20),e.expression=K(tt),fe(21);var n=Te(250);return fe(18),n.clauses=Xe(2,Xt),fe(19),e.caseBlock=Ae(n),Ae(e)}();case 104:return function(){var e=Te(238);return fe(104),e.expression=x.hasPrecedingLineBreak()?void 0:K(tt),Ee(),Ae(e)}();case 106:case 78:case 91:return Jt();case 82:return function(){var e=Te(240);return fe(82),Ee(),Ae(e)}();case 59:return or();case 125:case 113:case 144:case 134:case 135:case 129:case 80:case 87:case 88:case 95:case 116:case 117:case 118:case 121:case 119:case 137:case 149:if(nr())return or()}var e;return function(){var e=Se(0),n=K(tt);return 75===n.kind&&ge(58)?(e.kind=237,e.label=n,e.statement=ar()):(e.kind=225,e.expression=n,Ee()),Ae(e)}()}function ir(e){return 129===e.kind}function or(){var n=ue((function(){return xr(),Cr()})),t=e.some(n,ir);if(t){var r=H(8388608,(function(){var e=Ye(h);if(e)return Qe(e)}));if(r)return r}var a=Se(0);if(a.decorators=xr(),a.modifiers=Cr(),t){for(var i=0,o=a.modifiers;i=0),e.Debug.assert(n<=i),e.Debug.assert(i<=a.length),d(a,n)){var o,s,l,c=[];return x.scanRange(n+3,r-5,(function(){var e,t,r=1,d=n-Math.max(a.lastIndexOf("\n",n),0)+4;function p(n){e||(e=d),c.push(n),d+=n.length}for(ie();k(5););k(4)&&(r=0,d=0);e:for(;;){switch(te()){case 59:0===r||1===r?(m(c),b(y(d)),r=0,e=void 0):p(x.getTokenText());break;case 4:c.push(x.getTokenText()),r=0,d=0;break;case 41:var f=x.getTokenText();1===r||2===r?(r=2,p(f)):(r=1,d+=f.length);break;case 5:var g=x.getTokenText();2===r?c.push(g):void 0!==e&&d+g.length>e&&c.push(g.slice(e-d-1)),d+=g.length;break;case 1:break e;default:r=2,p(x.getTokenText())}ie()}return u(c),m(c),(t=Te(301,n)).tags=o&&Le(o,s,l),t.comment=c.length?c.join(""):void 0,Ae(t,i)}))}function u(e){for(;e.length&&("\n"===e[0]||"\r"===e[0]);)e.shift()}function m(e){for(;e.length&&""===e[e.length-1].trim();)e.pop()}function p(){for(;;){if(ie(),1===te())return!0;if(5!==te()&&4!==te())return!1}}function f(){if(5!==te()&&4!==te()||!ue(p))for(;5===te()||4===te();)ie()}function _(){if((5===te()||4===te())&&ue(p))return"";for(var e=x.hasPrecedingLineBreak(),n=!1,t="";e&&41===te()||5===te()||4===te();)t+=x.getTokenText(),4===te()?(e=!0,n=!0,t=""):41===te()&&(e=!1),ie();return n?t:""}function y(n){e.Debug.assert(59===te());var r=x.getTokenPos();ie();var a,i=N(void 0),s=_();switch(i.escapedText){case"author":a=function(e,n,t){var r=Te(306,e);r.tagName=n;var a=me((function(){return function(){var e=[],n=!1,t=!1,r=x.getToken();e:for(;;){switch(r){case 75:case 5:case 24:case 59:e.push(x.getTokenText());break;case 29:if(n||t)return;n=!0,e.push(x.getTokenText());break;case 31:if(!n||t)return;t=!0,e.push(x.getTokenText()),x.setTextPos(x.getTokenPos()+1);break e;case 4:case 1:break e}r=ie()}if(n&&t)return 0===e.length?void 0:e.join("")}()}));if(!a)return Ae(r);if(r.comment=a,ue((function(){return 4!==ae()}))){var i=h(t);i&&(r.comment+=i)}return Ae(r)}(r,i,n);break;case"augments":case"extends":a=function(e,n){var t=Te(305,e);return t.tagName=n,t.class=function(){var e=ge(18),n=Te(215);n.expression=function(){var e=N();for(;ge(24);){var n=Te(193,e.pos);n.expression=e,n.name=N(),e=Ae(n)}return e}(),n.typeArguments=wr();var t=Ae(n);e&&fe(19);return t}(),Ae(t)}(r,i);break;case"class":case"constructor":a=function(e,n){var t=Te(307,e);return t.tagName=n,Ae(t)}(r,i);break;case"this":a=function(e,n){var r=Te(312,e);return r.tagName=n,r.typeExpression=t(!0),f(),Ae(r)}(r,i);break;case"enum":a=function(e,n){var r=Te(309,e);return r.tagName=n,r.typeExpression=t(!0),f(),Ae(r)}(r,i);break;case"arg":case"argument":case"param":return L(r,i,2,n);case"return":case"returns":a=function(n,t){e.some(o,e.isJSDocReturnTag)&&Z(t.pos,x.getTokenPos(),e.Diagnostics._0_tag_already_specified,t.escapedText);var r=Te(311,n);return r.tagName=t,r.typeExpression=E(),Ae(r)}(r,i);break;case"template":a=function(n,r){var a;18===te()&&(a=t());var i=[],o=ne();do{f();var s=Te(154);s.name=N(e.Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces),Ae(s),f(),i.push(s)}while(k(27));var l=Te(314,n);return l.tagName=r,l.constraint=a,l.typeParameters=Le(i,o),Ae(l),l}(r,i);break;case"type":a=A(r,i);break;case"typedef":a=function(n,t,r){var a=E();_();var i,o=Te(315,n);if(o.tagName=t,o.fullName=C(),o.name=D(o.fullName),f(),o.comment=h(r),o.typeExpression=a,!a||S(a.type)){for(var s=void 0,l=void 0,c=void 0;s=me((function(){return I(r)}));)if(l||(l=Te(302,n)),313===s.kind){if(c)break;c=s}else l.jsDocPropertyTags=e.append(l.jsDocPropertyTags,s);l&&(a&&173===a.type.kind&&(l.isArrayType=!0),o.typeExpression=c&&c.typeExpression&&!S(c.typeExpression.type)?c.typeExpression:Ae(l),i=o.typeExpression.end)}return Ae(o,i||void 0!==o.comment?x.getStartPos():(o.fullName||o.typeExpression||o.tagName).end)}(r,i,n);break;case"callback":a=function(n,t,r){var a,i=Te(308,n);i.tagName=t,i.fullName=C(),i.name=D(i.fullName),f(),i.comment=h(r);var o=Te(303,n);o.parameters=[];for(;a=me((function(){return M(4,r)}));)o.parameters=e.append(o.parameters,a);var s=me((function(){if(k(59)){var e=y(r);if(e&&311===e.kind)return e}}));s&&(o.type=s);return i.typeExpression=Ae(o),Ae(i)}(r,i,n);break;default:a=function(e,n){var t=Te(304,e);return t.tagName=n,Ae(t)}(r,i)}return a.comment||(s||(n+=a.end-a.pos),a.comment=h(n,s.slice(n))),a}function h(n,t){var r,a=[],i=0;function o(e){r||(r=n),a.push(e),n+=e.length}t&&(o(t),i=2);var s=te();e:for(;;){switch(s){case 4:i>=1&&(i=0,a.push(x.getTokenText())),n=0;break;case 59:if(3===i){a.push(x.getTokenText());break}x.setTextPos(x.getTextPos()-1);case 1:break e;case 5:if(2===i||3===i)o(x.getTokenText());else{var l=x.getTokenText();void 0!==r&&n+l.length>r&&a.push(l.slice(r-n)),n+=l.length}break;case 18:i=2,ue((function(){return 59===ie()&&e.tokenIsIdentifierOrKeyword(ie())&&"link"===x.getTokenText()}))&&(o(x.getTokenText()),ie(),o(x.getTokenText()),ie()),o(x.getTokenText());break;case 61:i=3===i?2:3,o(x.getTokenText());break;case 41:if(0===i){i=1,n+=1;break}default:3!==i&&(i=2),o(x.getTokenText())}s=ie()}return u(a),m(a),0===a.length?void 0:a.join("")}function b(e){e&&(o?o.push(e):(o=[e],s=e.pos),l=e.end)}function E(){return _(),18===te()?t():void 0}function T(){var n=k(22);n&&f();var t,r=k(61),a=function(){var e=N();ge(22)&&fe(23);for(;ge(24);){var n=N();ge(22)&&fe(23),e=an(e,n)}return e}();return r&&(ye(t=61)||xe(t,!1,e.Diagnostics._0_expected,e.tokenToString(t))),n&&(f(),_e(62)&&tt(),fe(23)),{name:a,isBracketed:n}}function S(n){switch(n.kind){case 140:return!0;case 173:return S(n.elementType);default:return e.isTypeReferenceNode(n)&&e.isIdentifier(n.typeName)&&"Object"===n.typeName.escapedText}}function L(n,t,r,a){var i=E(),o=!i;_();var s=T(),l=s.name,c=s.isBracketed;f(),o&&(i=E());var d=Te(1===r?316:310,n),u=h(a+x.getStartPos()-n),m=4!==r&&function(n,t,r,a){if(n&&S(n.type)){for(var i=Te(292,x.getTokenPos()),o=void 0,s=void 0,l=x.getStartPos(),c=void 0;o=me((function(){return M(r,a,t)}));)310!==o.kind&&316!==o.kind||(c=e.append(c,o));if(c)return(s=Te(302,l)).jsDocPropertyTags=c,173===n.type.kind&&(s.isArrayType=!0),i.type=Ae(s),Ae(i)}}(i,l,r,a);return m&&(i=m,o=!0),d.tagName=t,d.typeExpression=i,d.name=l,d.isNameFirst=o,d.isBracketed=c,d.comment=u,Ae(d)}function A(n,r){e.some(o,e.isJSDocTypeTag)&&Z(r.pos,x.getTokenPos(),e.Diagnostics._0_tag_already_specified,r.escapedText);var a=Te(313,n);return a.tagName=r,a.typeExpression=t(!0),Ae(a)}function C(n){var t=x.getTokenPos();if(e.tokenIsIdentifierOrKeyword(te())){var r=N();if(ge(24)){var a=Te(248,t);return n&&(a.flags|=4),a.name=r,a.body=C(!0),Ae(a)}return n&&(r.isInJSDocNamespace=!0),r}}function D(n){if(n)for(var t=n;;){if(e.isIdentifier(t)||!t.body)return e.isIdentifier(t)?t:t.name;t=t.body}}function R(n,t){for(;!e.isIdentifier(n)||!e.isIdentifier(t);){if(e.isIdentifier(n)||e.isIdentifier(t)||n.right.escapedText!==t.right.escapedText)return!1;n=n.left,t=t.left}return n.escapedText===t.escapedText}function I(e){return M(1,e)}function M(n,t,r){for(var a=!0,i=!1;;)switch(ie()){case 59:if(a){var o=O(n,t);return!(o&&(310===o.kind||316===o.kind)&&4!==n&&r&&(e.isIdentifier(o.name)||!R(r,o.name.left)))&&o}i=!1;break;case 4:a=!0,i=!1;break;case 41:i&&(a=!1),i=!0;break;case 75:a=!1;break;case 1:return!1}}function O(n,t){e.Debug.assert(59===te());var r=x.getStartPos();ie();var a,i=N();switch(f(),i.escapedText){case"type":return 1===n&&A(r,i);case"prop":case"property":a=1;break;case"arg":case"argument":case"param":a=6;break;default:return!1}return!!(n&a)&&L(r,i,n,t)}function k(e){return te()===e&&(ie(),!0)}function N(n){if(!e.tokenIsIdentifierOrKeyword(te()))return xe(75,!n,n||e.Diagnostics.Identifier_expected);v++;var t=x.getTokenPos(),r=x.getTextPos(),a=Te(75,t);return 75!==te()&&(a.originalKeywordKind=te()),a.escapedText=e.escapeLeadingUnderscores(Ce(x.getTokenValue())),Ae(a,r),ie(),a}}n.parseJSDocTypeExpressionForTests=function(e,n,r){I(e,99,void 0,1),o=w("file.js",99,1,!1),x.setText(e,n,r),c=x.scan();var a=t(),i=s;return M(),a?{jsDocTypeExpression:a,diagnostics:i}:void 0},n.parseJSDocTypeExpression=t,n.parseIsolatedJSDocComment=function(e,n,t){I(e,99,void 0,1),o={languageVariant:0,text:e};var r=H(4194304,(function(){return i(n,t)})),a=s;return M(),r?{jsDoc:r,diagnostics:a}:void 0},n.parseJSDocComment=function(e,n,t){var r,a=c,l=s.length,d=C,u=H(4194304,(function(){return i(n,t)}));return u&&(u.parent=e),131072&T&&(o.jsDocDiagnostics||(o.jsDocDiagnostics=[]),(r=o.jsDocDiagnostics).push.apply(r,s)),c=a,s.length=l,C=d,u},function(e){e[e.BeginningOfLine=0]="BeginningOfLine",e[e.SawAsterisk=1]="SawAsterisk",e[e.SavingComments=2]="SavingComments",e[e.SavingBackticks=3]="SavingBackticks"}(r||(r={})),function(e){e[e.Property=1]="Property",e[e.Parameter=2]="Parameter",e[e.CallbackParameter=4]="CallbackParameter"}(a||(a={}))}(A=n.JSDocParser||(n.JSDocParser={}))}(o||(o={})),function(n){function t(n,t,a,o,s,l){return void(t?d(n):c(n));function c(n){var t="";if(l&&r(n)&&(t=o.substring(n.pos,n.end)),n._children&&(n._children=void 0),n.pos+=a,n.end+=a,l&&r(n)&&e.Debug.assert(t===s.substring(n.pos,n.end)),u(n,c,d),e.hasJSDocNodes(n))for(var m=0,p=n.jsDoc;m=t,"Adjusting an element that was entirely before the change range"),e.Debug.assert(n.pos<=r,"Adjusting an element that was entirely after the change range"),e.Debug.assert(n.pos<=n.end),n.pos=Math.min(n.pos,a),n.end>=r?n.end+=i:n.end=Math.min(n.end,a),e.Debug.assert(n.pos<=n.end),n.parent&&(e.Debug.assert(n.pos>=n.parent.pos),e.Debug.assert(n.end<=n.parent.end))}function i(n,t){if(t){var r=n.pos,a=function(n){e.Debug.assert(n.pos>=r),r=n.end};if(e.hasJSDocNodes(n))for(var i=0,o=n.jsDoc;it),!0;if(i.pos>=a.pos&&(a=i),ta.pos&&(a=i)}return a}function l(n,t,r,a){var i=n.text;if(r&&(e.Debug.assert(i.length-r.span.length+r.newLength===t.length),a||e.Debug.shouldAssert(3))){var o=i.substr(0,r.span.start),s=t.substr(0,r.span.start);e.Debug.assert(o===s);var l=i.substring(e.textSpanEnd(r.span),i.length),c=t.substring(e.textSpanEnd(e.textChangeRangeNewSpan(r)),t.length);e.Debug.assert(l===c)}}var c;n.updateSourceFile=function(n,r,c,d){if(l(n,r,c,d=d||e.Debug.shouldAssert(2)),e.textChangeRangeIsUnchanged(c))return n;if(0===n.statements.length)return o.parseSourceFile(n.fileName,r,n.languageVersion,void 0,!0,n.scriptKind);var m=n;e.Debug.assert(!m.hasBeenIncrementallyParsed),m.hasBeenIncrementallyParsed=!0;var p=n.text,f=function(n){var t=n.statements,r=0;e.Debug.assert(r=n.pos&&e=n.pos&&e0&&a<=1;a++){var i=s(n,r);e.Debug.assert(i.pos<=r);var o=i.pos;r=Math.max(0,o-1)}var l=e.createTextSpanFromBounds(r,e.textSpanEnd(t.span)),c=t.newLength+(t.span.start-r);return e.createTextChangeRange(l,c)}(n,c);l(n,r,g,d),e.Debug.assert(g.span.start<=c.span.start),e.Debug.assert(e.textSpanEnd(g.span)===e.textSpanEnd(c.span)),e.Debug.assert(e.textSpanEnd(e.textChangeRangeNewSpan(g))===e.textSpanEnd(e.textChangeRangeNewSpan(c)));var _=e.textChangeRangeNewSpan(g).length-g.span.length;return function(n,r,o,s,l,c,d,m){return void p(n);function p(n){if(e.Debug.assert(n.pos<=n.end),n.pos>o)t(n,!1,l,c,d,m);else{var g=n.end;if(g>=r){if(n.intersectsChange=!0,n._children=void 0,a(n,r,o,s,l),u(n,p,f),e.hasJSDocNodes(n))for(var _=0,y=n.jsDoc;_o)t(n,!0,l,c,d,m);else{var i=n.end;if(i>=r){n.intersectsChange=!0,n._children=void 0,a(n,r,o,s,l);for(var u=0,f=n;u/im,v=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im;function h(n,t,r){var a=2===t.kind&&y.exec(r);if(a){var i=a[1].toLowerCase(),o=e.commentPragmas[i];if(!(o&&1&o.kind))return;if(o.args){for(var s={},l=0,c=o.args;l=t.length)break;var o=i;if(34===t.charCodeAt(o)){for(i++;i32;)i++;r.push(t.substring(o,i))}}d(r)}else c.push(e.createCompilerDiagnostic(e.Diagnostics.File_0_not_found,n))}}function f(e,n){return g(i,e,n)}function g(e,n,t){void 0===t&&(t=!1),n=n.toLowerCase();var r=e(),a=r.optionNameMap,i=r.shortOptionNames;if(t){var o=i.get(n);void 0!==o&&(n=o)}return a.get(n)}function _(n,t){var r=e.parseJsonText(n,t);return{config:b(r,r.parseDiagnostics),error:r.parseDiagnostics.length?r.parseDiagnostics[0]:void 0}}function y(n,t){var r=v(n,t);return e.isString(r)?e.parseJsonText(n,r):{parseDiagnostics:[r]}}function v(n,t){var r;try{r=t(n)}catch(t){return e.createCompilerDiagnostic(e.Diagnostics.Cannot_read_file_0_Colon_1,n,t.message)}return void 0===r?e.createCompilerDiagnostic(e.Diagnostics.The_specified_path_does_not_exist_Colon_0,n):r}function h(n){return e.arrayToMap(n,(function(e){return e.name}))}function b(e,n){return E(e,n,!0,void 0,void 0)}function E(n,t,r,a,i){return n.statements.length?l(n.statements[0].expression,a):r?{}:void 0;function o(e){return a&&a.elementOptions===e}function s(a,s,d,u){for(var m=r?{}:void 0,p=0,f=a.properties;p=0)return c.push(e.createCompilerDiagnostic(e.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,o(l,[u]).join(" -> "))),{raw:n||b(r,c)};var m=n?function(n,t,r,a,i){e.hasProperty(n,"excludes")&&i.push(e.createCompilerDiagnostic(e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude));var o,s=B(n.compilerOptions,r,i,a),l=H(n.typeAcquisition||n.typingOptions,r,i,a);if(n.compileOnSave=function(n,t,r){if(!e.hasProperty(n,e.compileOnSaveCommandLineOption.name))return!1;var a=j(e.compileOnSaveCommandLineOption,n.compileOnSave,t,r);return"boolean"==typeof a&&a}(n,r,i),n.extends)if(e.isString(n.extends)){var c=a?M(a,r):r;o=F(n.extends,t,c,i,e.createCompilerDiagnostic)}else i.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"extends","string"));return{raw:n,options:s,typeAcquisition:l,extendedConfigPath:o}}(n,a,i,s,c):function(n,r,a,i,o){var s,l,c,d=V(i),u={onSetValidOptionKeyValueInParent:function(n,t,r){e.Debug.assert("compilerOptions"===n||"typeAcquisition"===n||"typingOptions"===n),("compilerOptions"===n?d:"typeAcquisition"===n?s||(s=U(i)):l||(l=U(i)))[t.name]=function n(t,r,a){if(I(a))return;if("list"===t.type){var i=t;return i.element.isFilePath||!e.isString(i.element.type)?e.filter(e.map(a,(function(e){return n(i.element,r,e)})),(function(e){return!!e})):a}if(!e.isString(t.type))return t.type.get(e.isString(a)?a.toLowerCase():a);return W(t,r,a)}(t,a,r)},onSetValidOptionKeyValueInRoot:function(t,s,l,d){switch(t){case"extends":var u=i?M(i,a):a;return void(c=F(l,r,u,o,(function(t,r){return e.createDiagnosticForNodeInSourceFile(n,d,t,r)})))}},onSetUnknownOptionKeyValueInRoot:function(t,r,a,i){"excludes"===t&&o.push(e.createDiagnosticForNodeInSourceFile(n,r,e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude))}},m=E(n,o,!0,(void 0===t&&(t={name:void 0,type:"object",elementOptions:h([{name:"compilerOptions",type:"object",elementOptions:h(e.optionDeclarations),extraKeyDiagnosticMessage:e.Diagnostics.Unknown_compiler_option_0},{name:"typingOptions",type:"object",elementOptions:h(e.typeAcquisitionDeclarations),extraKeyDiagnosticMessage:e.Diagnostics.Unknown_type_acquisition_option_0},{name:"typeAcquisition",type:"object",elementOptions:h(e.typeAcquisitionDeclarations),extraKeyDiagnosticMessage:e.Diagnostics.Unknown_type_acquisition_option_0},{name:"extends",type:"string"},{name:"references",type:"list",element:{name:"references",type:"object"}},{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])}),t),u);s||(s=l?void 0!==l.enableAutoDiscovery?{enable:l.enableAutoDiscovery,include:l.include,exclude:l.exclude}:l:U(i));return{raw:m,options:d,typeAcquisition:s,extendedConfigPath:c}}(r,a,i,s,c);if(m.extendedConfigPath){l=l.concat([u]);var p=function(n,t,r,a,i,o,s){var l,c,d,u,m=r.useCaseSensitiveFileNames?t:e.toLowerCase(t);if(s&&(c=s.get(m)))d=c.extendedResult,u=c.extendedConfig;else{if(!(d=y(t,(function(e){return r.readFile(e)}))).parseDiagnostics.length){var p=e.getDirectoryPath(t);if(P(u=G(void 0,d,r,p,e.getBaseFileName(t),i,o,s))){var f=e.convertToRelativePath(p,a,e.identity),g=function(n){return e.isRootedDiskPath(n)?n:e.combinePaths(f,n)},_=function(n){v[n]&&(v[n]=e.map(v[n],g))},v=u.raw;_("include"),_("exclude"),_("files")}}s&&s.set(m,{extendedResult:d,extendedConfig:u})}n&&(n.extendedSourceFiles=[d.fileName],d.extendedSourceFiles&&(l=n.extendedSourceFiles).push.apply(l,d.extendedSourceFiles));if(d.parseDiagnostics.length)return void o.push.apply(o,d.parseDiagnostics);return u}(r,m.extendedConfigPath,a,i,l,c,d);if(p&&P(p)){var f=p.raw,g=m.raw,_=function(e){var n=g[e]||f[e];n&&(g[e]=n)};_("include"),_("exclude"),_("files"),void 0===g.compileOnSave&&(g.compileOnSave=f.compileOnSave),m.options=e.assign({},p.options,m.options)}}return m}function F(n,t,r,a,i){if(n=e.normalizeSlashes(n),e.isRootedDiskPath(n)||e.startsWith(n,"./")||e.startsWith(n,"../")){var o=e.getNormalizedAbsolutePath(n,r);return t.fileExists(o)||e.endsWith(o,".json")||(o+=".json",t.fileExists(o))?o:void a.push(i(e.Diagnostics.File_0_not_found,n))}var s=e.nodeModuleNameResolver(n,e.combinePaths(r,"tsconfig.json"),{moduleResolution:e.ModuleResolutionKind.NodeJs},t,void 0,void 0,!0);if(s.resolvedModule)return s.resolvedModule.resolvedFileName;a.push(i(e.Diagnostics.File_0_not_found,n))}function V(n){return n&&"jsconfig.json"===e.getBaseFileName(n)?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{}}function B(n,t,r,a){var i=V(a);return K(e.optionDeclarations,n,t,i,e.Diagnostics.Unknown_compiler_option_0,r),a&&(i.configFilePath=e.normalizeSlashes(a)),i}function U(n){return{enable:!!n&&"jsconfig.json"===e.getBaseFileName(n),include:[],exclude:[]}}function H(n,t,r,i){var o=U(i),s=a(n);return K(e.typeAcquisitionDeclarations,s,t,o,e.Diagnostics.Unknown_type_acquisition_option_0,r),o}function K(n,t,r,a,i,o){if(t){var s=h(n);for(var l in t){var c=s.get(l);c?a[c.name]=j(c,t[l],r,o):o.push(e.createCompilerDiagnostic(i,l))}}}function j(n,t,r,a){if(S(n,t)){var i=n.type;return"list"===i&&e.isArray(t)?function(n,t,r,a){return e.filter(e.map(t,(function(e){return j(n.element,e,r,a)})),(function(e){return!!e}))}(n,t,r,a):e.isString(i)?W(n,r,t):q(n,t,a)}a.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,n.name,T(n)))}function W(n,t,r){return n.isFilePath&&""===(r=e.getNormalizedAbsolutePath(r,t))&&(r="."),r}function q(e,n,t){if(!I(n)){var r=n.toLowerCase(),a=e.type.get(r);if(void 0!==a)return a;t.push(c(e))}}function z(e){return"function"==typeof e.trim?e.trim():e.replace(/^[\s]+|[\s]+$/g,"")}e.libs=r.map((function(e){return e[0]})),e.libMap=e.createMapFromEntries(r),e.commonOptionsWithBuild=[{name:"help",shortName:"h",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Print_this_message},{name:"help",shortName:"?",type:"boolean"},{name:"watch",shortName:"w",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Watch_input_files},{name:"preserveWatchOutput",type:"boolean",showInSimplifiedHelpView:!1,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen},{name:"listFiles",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Print_names_of_files_part_of_the_compilation},{name:"listEmittedFiles",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Print_names_of_generated_files_part_of_the_compilation},{name:"pretty",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Stylize_errors_and_messages_using_color_and_context_experimental},{name:"traceResolution",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Enable_tracing_of_the_name_resolution_process},{name:"diagnostics",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Show_diagnostic_information},{name:"extendedDiagnostics",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Show_verbose_diagnostic_information},{name:"generateCpuProfile",type:"string",isFilePath:!0,paramType:e.Diagnostics.FILE_OR_DIRECTORY,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Generates_a_CPU_profile},{name:"incremental",shortName:"i",type:"boolean",category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Enable_incremental_compilation,transpileOptionValue:void 0},{name:"locale",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.The_locale_used_when_displaying_messages_to_the_user_e_g_en_us}],e.optionDeclarations=o(e.commonOptionsWithBuild,[{name:"all",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Show_all_compiler_options},{name:"version",shortName:"v",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Print_the_compiler_s_version},{name:"init",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file},{name:"project",shortName:"p",type:"string",isFilePath:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,paramType:e.Diagnostics.FILE_OR_DIRECTORY,description:e.Diagnostics.Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json},{name:"build",type:"boolean",shortName:"b",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Build_one_or_more_projects_and_their_dependencies_if_out_of_date},{name:"showConfig",type:"boolean",category:e.Diagnostics.Command_line_Options,isCommandLineOnly:!0,description:e.Diagnostics.Print_the_final_configuration_instead_of_building},{name:"listFilesOnly",type:"boolean",category:e.Diagnostics.Command_line_Options,affectsSemanticDiagnostics:!0,affectsEmit:!0,isCommandLineOnly:!0,description:e.Diagnostics.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing},{name:"target",shortName:"t",type:e.createMapFromTemplate({es3:0,es5:1,es6:2,es2015:2,es2016:3,es2017:4,es2018:5,es2019:6,es2020:7,esnext:99}),affectsSourceFile:!0,affectsModuleResolution:!0,affectsEmit:!0,paramType:e.Diagnostics.VERSION,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_ES2019_or_ESNEXT},{name:"module",shortName:"m",type:e.createMapFromTemplate({none:e.ModuleKind.None,commonjs:e.ModuleKind.CommonJS,amd:e.ModuleKind.AMD,system:e.ModuleKind.System,umd:e.ModuleKind.UMD,es6:e.ModuleKind.ES2015,es2015:e.ModuleKind.ES2015,esnext:e.ModuleKind.ESNext}),affectsModuleResolution:!0,affectsEmit:!0,paramType:e.Diagnostics.KIND,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_or_ESNext},{name:"lib",type:"list",element:{name:"lib",type:e.libMap},affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_library_files_to_be_included_in_the_compilation,transpileOptionValue:void 0},{name:"allowJs",type:"boolean",affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Allow_javascript_files_to_be_compiled},{name:"checkJs",type:"boolean",category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Report_errors_in_js_files},{name:"jsx",type:e.createMapFromTemplate({preserve:1,"react-native":3,react:2}),affectsSourceFile:!0,paramType:e.Diagnostics.KIND,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_JSX_code_generation_Colon_preserve_react_native_or_react},{name:"declaration",shortName:"d",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Generates_corresponding_d_ts_file,transpileOptionValue:void 0},{name:"declarationMap",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Generates_a_sourcemap_for_each_corresponding_d_ts_file,transpileOptionValue:void 0},{name:"emitDeclarationOnly",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Only_emit_d_ts_declaration_files,transpileOptionValue:void 0},{name:"sourceMap",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Generates_corresponding_map_file},{name:"outFile",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.FILE,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Concatenate_and_emit_output_to_single_file,transpileOptionValue:void 0},{name:"outDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.DIRECTORY,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Redirect_output_structure_to_the_directory},{name:"rootDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir},{name:"composite",type:"boolean",affectsEmit:!0,isTSConfigOnly:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Enable_project_compilation,transpileOptionValue:void 0},{name:"tsBuildInfoFile",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.FILE,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_file_to_store_incremental_compilation_information,transpileOptionValue:void 0},{name:"removeComments",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Do_not_emit_comments_to_output},{name:"noEmit",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Do_not_emit_outputs,transpileOptionValue:void 0},{name:"importHelpers",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Import_emit_helpers_from_tslib},{name:"downlevelIteration",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3},{name:"isolatedModules",type:"boolean",category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule,transpileOptionValue:!0},{name:"strict",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_all_strict_type_checking_options},{name:"noImplicitAny",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Raise_error_on_expressions_and_declarations_with_an_implied_any_type},{name:"strictNullChecks",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_null_checks},{name:"strictFunctionTypes",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_checking_of_function_types},{name:"strictBindCallApply",type:"boolean",strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_bind_call_and_apply_methods_on_functions},{name:"strictPropertyInitialization",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_checking_of_property_initialization_in_classes},{name:"noImplicitThis",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Raise_error_on_this_expressions_with_an_implied_any_type},{name:"alwaysStrict",type:"boolean",affectsSourceFile:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Parse_in_strict_mode_and_emit_use_strict_for_each_source_file},{name:"noUnusedLocals",type:"boolean",affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_errors_on_unused_locals},{name:"noUnusedParameters",type:"boolean",affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_errors_on_unused_parameters},{name:"noImplicitReturns",type:"boolean",affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_error_when_not_all_code_paths_in_function_return_a_value},{name:"noFallthroughCasesInSwitch",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_errors_for_fallthrough_cases_in_switch_statement},{name:"moduleResolution",type:e.createMapFromTemplate({node:e.ModuleResolutionKind.NodeJs,classic:e.ModuleResolutionKind.Classic}),affectsModuleResolution:!0,paramType:e.Diagnostics.STRATEGY,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6},{name:"baseUrl",type:"string",affectsModuleResolution:!0,isFilePath:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Base_directory_to_resolve_non_absolute_module_names},{name:"paths",type:"object",affectsModuleResolution:!0,isTSConfigOnly:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl,transpileOptionValue:void 0},{name:"rootDirs",type:"list",isTSConfigOnly:!0,element:{name:"rootDirs",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime,transpileOptionValue:void 0},{name:"typeRoots",type:"list",element:{name:"typeRoots",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.List_of_folders_to_include_type_definitions_from},{name:"types",type:"list",element:{name:"types",type:"string"},affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Type_declaration_files_to_be_included_in_compilation,transpileOptionValue:void 0},{name:"allowSyntheticDefaultImports",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking},{name:"esModuleInterop",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports},{name:"preserveSymlinks",type:"boolean",category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Do_not_resolve_the_real_path_of_symlinks},{name:"allowUmdGlobalAccess",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Allow_accessing_UMD_globals_from_modules},{name:"sourceRoot",type:"string",affectsEmit:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations},{name:"mapRoot",type:"string",affectsEmit:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations},{name:"inlineSourceMap",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file},{name:"inlineSources",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set},{name:"experimentalDecorators",type:"boolean",category:e.Diagnostics.Experimental_Options,description:e.Diagnostics.Enables_experimental_support_for_ES7_decorators},{name:"emitDecoratorMetadata",type:"boolean",category:e.Diagnostics.Experimental_Options,description:e.Diagnostics.Enables_experimental_support_for_emitting_type_metadata_for_decorators},{name:"jsxFactory",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h},{name:"resolveJsonModule",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Include_modules_imported_with_json_extension},{name:"out",type:"string",affectsEmit:!0,isFilePath:!1,category:e.Diagnostics.Advanced_Options,paramType:e.Diagnostics.FILE,description:e.Diagnostics.Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file,transpileOptionValue:void 0},{name:"reactNamespace",type:"string",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit},{name:"skipDefaultLibCheck",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files},{name:"charset",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.The_character_set_of_the_input_files},{name:"emitBOM",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files},{name:"newLine",type:e.createMapFromTemplate({crlf:0,lf:1}),affectsEmit:!0,paramType:e.Diagnostics.NEWLINE,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix},{name:"noErrorTruncation",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_truncate_error_messages},{name:"noLib",type:"boolean",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_include_the_default_library_file_lib_d_ts,transpileOptionValue:!0},{name:"noResolve",type:"boolean",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files,transpileOptionValue:!0},{name:"stripInternal",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_emit_declarations_for_code_that_has_an_internal_annotation},{name:"disableSizeLimit",type:"boolean",affectsSourceFile:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_size_limitations_on_JavaScript_projects},{name:"disableSourceOfProjectReferenceRedirect",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects},{name:"noImplicitUseStrict",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_emit_use_strict_directives_in_module_output},{name:"noEmitHelpers",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_generate_custom_helper_functions_like_extends_in_compiled_output},{name:"noEmitOnError",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_emit_outputs_if_any_errors_were_reported,transpileOptionValue:void 0},{name:"preserveConstEnums",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_erase_const_enum_declarations_in_generated_code},{name:"declarationDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.DIRECTORY,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Output_directory_for_generated_declaration_files,transpileOptionValue:void 0},{name:"skipLibCheck",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Skip_type_checking_of_declaration_files},{name:"allowUnusedLabels",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_report_errors_on_unused_labels},{name:"allowUnreachableCode",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_report_errors_on_unreachable_code},{name:"suppressExcessPropertyErrors",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Suppress_excess_property_checks_for_object_literals},{name:"suppressImplicitAnyIndexErrors",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures},{name:"forceConsistentCasingInFileNames",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disallow_inconsistently_cased_references_to_the_same_file},{name:"maxNodeModuleJsDepth",type:"number",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files},{name:"noStrictGenericChecks",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_strict_checking_of_generic_signatures_in_function_types},{name:"useDefineForClassFields",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Emit_class_fields_with_Define_instead_of_Set},{name:"keyofStringsOnly",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols},{name:"plugins",type:"list",isTSConfigOnly:!0,element:{name:"plugin",type:"object"},description:e.Diagnostics.List_of_language_service_plugins}]),e.semanticDiagnosticsOptionDeclarations=e.optionDeclarations.filter((function(e){return!!e.affectsSemanticDiagnostics})),e.affectsEmitOptionDeclarations=e.optionDeclarations.filter((function(e){return!!e.affectsEmit})),e.moduleResolutionOptionDeclarations=e.optionDeclarations.filter((function(e){return!!e.affectsModuleResolution})),e.sourceFileAffectingCompilerOptions=e.optionDeclarations.filter((function(e){return!!e.affectsSourceFile||!!e.affectsModuleResolution||!!e.affectsBindDiagnostics})),e.transpileOptionValueCompilerOptions=e.optionDeclarations.filter((function(n){return e.hasProperty(n,"transpileOptionValue")})),e.buildOpts=o(e.commonOptionsWithBuild,[{name:"verbose",shortName:"v",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Enable_verbose_logging,type:"boolean"},{name:"dry",shortName:"d",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Show_what_would_be_built_or_deleted_if_specified_with_clean,type:"boolean"},{name:"force",shortName:"f",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Build_all_projects_including_those_that_appear_to_be_up_to_date,type:"boolean"},{name:"clean",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Delete_the_outputs_of_all_projects,type:"boolean"}]),e.typeAcquisitionDeclarations=[{name:"enableAutoDiscovery",type:"boolean"},{name:"enable",type:"boolean"},{name:"include",type:"list",element:{name:"include",type:"string"}},{name:"exclude",type:"list",element:{name:"exclude",type:"string"}}],e.defaultInitCompilerOptions={module:e.ModuleKind.CommonJS,target:1,strict:!0,esModuleInterop:!0,forceConsistentCasingInFileNames:!0},e.convertEnableAutoDiscoveryToEnable=a,e.getOptionNameMap=i,e.createOptionNameMap=l,e.createCompilerDiagnosticForInvalidCustomType=c,e.parseCustomTypeOption=u,e.parseListTypeOption=m,e.parseCommandLine=function(n,t){return p(i,[e.Diagnostics.Unknown_compiler_option_0,e.Diagnostics.Compiler_option_0_expects_an_argument],n,t)},e.getOptionFromName=f,e.parseBuildCommand=function(n){var t,r=p((function(){return t||(t=l(e.buildOpts))}),[e.Diagnostics.Unknown_build_option_0,e.Diagnostics.Build_option_0_requires_a_value_of_type_1],n),a=r.options,i=r.fileNames,o=r.errors,s=a;return 0===i.length&&i.push("."),s.clean&&s.force&&o.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","force")),s.clean&&s.verbose&&o.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","verbose")),s.clean&&s.watch&&o.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","watch")),s.watch&&s.dry&&o.push(e.createCompilerDiagnostic(e.Diagnostics.Options_0_and_1_cannot_be_combined,"watch","dry")),{buildOptions:s,projects:i,errors:o}},e.getDiagnosticText=function(n){for(var t=[],r=1;r0)for(var E=function(n){if(e.fileExtensionIs(n,".json")){if(!o){var r=m.filter((function(n){return e.endsWith(n,".json")})),i=e.map(e.getRegularExpressionsForWildcards(r,t,"files"),(function(e){return"^"+e+"$"}));o=i?i.map((function(n){return e.getRegexFromPattern(n,a.useCaseSensitiveFileNames)})):e.emptyArray}if(-1!==e.findIndex(o,(function(e){return e.test(n)}))){var u=s(n);l.has(u)||d.has(u)||d.set(u,n)}return"continue"}if(function(n,t,r,a,i){for(var o=e.getExtensionPriority(n,a),s=e.adjustExtensionPriority(o,a),l=0;lo&&(o=c),1===o)return o}return o}break;case 249:var d=0;return e.forEachChild(n,(function(n){var t=r(n,i);switch(t){case 0:return;case 2:return void(d=2);case 1:return d=1,!0;default:e.Debug.assertNever(t)}})),d;case 248:return t(n,i);case 75:if(n.isInJSDocNamespace)return 0}return 1}(n,i);return i.set(o,s),s}function a(n,t){for(var a=n.propertyName||n.name,i=n.parent;i;){if(e.isBlock(i)||e.isModuleBlock(i)||e.isSourceFile(i)){for(var o=void 0,s=0,l=i.statements;so)&&(o=d),1===o)return o}}if(void 0!==o)return o}i=i.parent}return 1}function i(n){return e.Debug.attachFlowNodeDebugInfo(n),n}!function(e){e[e.NonInstantiated=0]="NonInstantiated",e[e.Instantiated=1]="Instantiated",e[e.ConstEnumOnly=2]="ConstEnumOnly"}(e.ModuleInstanceState||(e.ModuleInstanceState={})),e.getModuleInstanceState=t,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"}(n||(n={}));var l=i,c=function(){var n,r,a,c,f,y,v,h,b,E,T,S,L,A,x,C,D,R,I,M,O,k,N,w,P=0,G={flags:1},F={flags:1},V=0;function B(t,r,a,i,o){return e.createDiagnosticForNodeInSourceFile(e.getSourceFileOfNode(t)||n,t,r,a,i,o)}return function(t,o){n=t,r=o,a=e.getEmitScriptTarget(r),O=function(n,t){return!(!e.getStrictOptionValue(t,"alwaysStrict")||n.isDeclarationFile)||!!n.externalModuleIndicator}(n,o),N=e.createUnderscoreEscapedMap(),P=0,w=n.isDeclarationFile,k=e.objectAllocator.getSymbolConstructor(),e.Debug.attachFlowNodeDebugInfo(G),e.Debug.attachFlowNodeDebugInfo(F),n.locals||(Ge(n),n.symbolCount=P,n.classifiableNames=N,function(){if(!b)return;for(var t=f,r=h,a=v,o=c,s=T,l=0,d=b;l=224&&n.kind<=240&&!r.allowUnreachableCode&&(n.flowNode=T),n.kind){case 228:!function(e){var n=ae(),t=re(),r=re();oe(n,T),T=n,ge(e.expression,t,r),T=ue(t),_e(e.statement,r,n),oe(n,T),T=ue(r)}(n);break;case 227:!function(n){var t=ae(),r=237===n.parent.kind?e.lastOrUndefined(R):void 0,a=r?r.continueTarget:re(),i=r?r.breakTarget:re();oe(t,T),T=t,_e(n.statement,i,a),oe(a,T),T=ue(a),ge(n.expression,t,i),T=ue(i)}(n);break;case 229:!function(e){var n=ae(),t=re(),r=re();Ge(e.initializer),oe(n,T),T=n,ge(e.condition,t,r),T=ue(t),_e(e.statement,r,n),Ge(e.incrementor),oe(n,T),T=ue(r)}(n);break;case 230:case 231:!function(e){var n=ae(),t=re();Ge(e.expression),oe(n,T),T=n,231===e.kind&&Ge(e.awaitModifier);oe(t,T),Ge(e.initializer),242!==e.initializer.kind&&he(e.initializer);_e(e.statement,t,n),oe(n,T),T=ue(t)}(n);break;case 226:!function(e){var n=re(),t=re(),r=re();ge(e.expression,n,t),T=ue(n),Ge(e.thenStatement),oe(r,T),T=ue(t),Ge(e.elseStatement),oe(r,T),T=ue(r)}(n);break;case 234:case 238:!function(e){Ge(e.expression),234===e.kind&&(I=!0,A&&oe(A,T));T=G}(n);break;case 233:case 232:!function(e){if(Ge(e.label),e.label){var n=function(e){if(R)for(var n=0,t=R;n=112&&t.originalKeywordKind<=120)||e.isIdentifierName(t)||8388608&t.flags||4194304&t.flags||n.parseDiagnostics.length||n.bindDiagnostics.push(B(t,function(t){if(e.getContainingClass(t))return e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode;if(n.externalModuleIndicator)return e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode;return e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode}(t),e.declarationNameToString(t)))}function Oe(t,r){if(r&&75===r.kind){var a=r;if(o=a,e.isIdentifier(o)&&("eval"===o.escapedText||"arguments"===o.escapedText)){var i=e.getErrorSpanForNode(n,r);n.bindDiagnostics.push(e.createFileDiagnostic(n,i.start,i.length,function(t){if(e.getContainingClass(t))return e.Diagnostics.Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode;if(n.externalModuleIndicator)return e.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode;return e.Diagnostics.Invalid_use_of_0_in_strict_mode}(t),e.idText(a)))}}var o}function ke(e){O&&Oe(e,e.name)}function Ne(t){if(a<2&&288!==v.kind&&248!==v.kind&&!e.isFunctionLike(v)){var r=e.getErrorSpanForNode(n,t);n.bindDiagnostics.push(e.createFileDiagnostic(n,r.start,r.length,function(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:n.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}(t)))}}function we(t,r,a,i,o){var s=e.getSpanOfTokenAtPosition(n,t.pos);n.bindDiagnostics.push(e.createFileDiagnostic(n,s.start,s.length,r,a,i,o))}function Pe(t,r,a,i){!function(t,r,a){var i=e.createFileDiagnostic(n,r.pos,r.end-r.pos,a);t?n.bindDiagnostics.push(i):n.bindSuggestionDiagnostics=e.append(n.bindSuggestionDiagnostics,s(s({},i),{category:e.DiagnosticCategory.Suggestion}))}(t,{pos:e.getTokenPosOfNode(r,n),end:a.end},i)}function Ge(t){if(t){t.parent=c;var a=O;if(function(t){switch(t.kind){case 75:if(t.isInJSDocNamespace){for(var a=t.parent;a&&!e.isJSDocTypeAlias(a);)a=a.parent;Ie(a,524288,788968);break}case 103:return T&&(e.isExpression(t)||280===c.kind)&&(t.flowNode=T),Me(t);case 193:case 194:var i=t;T&&ee(i)&&(i.flowNode=T),e.isSpecialPropertyDeclaration(i)&&function(n){103===n.expression.kind?Ke(n):e.isBindableStaticAccessExpression(n)&&288===n.parent.parent.kind&&(e.isPrototypeAccess(n.expression)?qe(n,n.parent):ze(n))}(i),e.isInJSFile(i)&&n.commonJsModuleIndicator&&e.isModuleExportsAccessExpression(i)&&!m(v,"module")&&q(n.locals,void 0,i.expression,134217729,111550);break;case 208:switch(e.getAssignmentDeclarationKind(t)){case 1:He(t);break;case 2:!function(t){if(!Ue(t))return;var r=e.getRightMostAssignedExpression(t.right);if(e.isEmptyObjectLiteral(r)||f===n&&u(n,r))return;var a=e.exportAssignmentIsAlias(t)?2097152:1049092;K(q(n.symbol.exports,n.symbol,t,67108864|a,0),t)}(t);break;case 3:qe(t.left,t);break;case 6:!function(e){e.left.parent=e,e.right.parent=e,Qe(e.left.expression,e.left,!1,!0)}(t);break;case 4:Ke(t);break;case 5:!function(t){var r=Ze(t.left.expression);if(!e.isInJSFile(t)&&!e.isFunctionSymbol(r))return;if(t.left.parent=t,t.right.parent=t,e.isIdentifier(t.left.expression)&&f===n&&u(n,t.left.expression))He(t);else if(e.hasDynamicName(t)){Re(t,67108868,"__computed");var a=Xe(r,t.left.expression,Ye(t.left),!1,!1);We(t,a)}else ze(e.cast(t.left,e.isBindableStaticAccessExpression))}(t);break;case 0:break;default:e.Debug.fail("Unknown binary expression special property assignment kind")}return function(n){O&&e.isLeftHandSideExpression(n.left)&&e.isAssignmentOperator(n.operatorToken.kind)&&Oe(n,n.left)}(t);case 278:return function(e){O&&e.variableDeclaration&&Oe(e,e.variableDeclaration.name)}(t);case 202:return function(t){if(O&&75===t.expression.kind){var r=e.getErrorSpanForNode(n,t.expression);n.bindDiagnostics.push(e.createFileDiagnostic(n,r.start,r.length,e.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}(t);case 8:return function(t){O&&32&t.numericLiteralFlags&&n.bindDiagnostics.push(B(t,e.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode))}(t);case 207:return function(e){O&&Oe(e,e.operand)}(t);case 206:return function(e){O&&(45!==e.operator&&46!==e.operator||Oe(e,e.operand))}(t);case 235:return function(n){O&&we(n,e.Diagnostics.with_statements_are_not_allowed_in_strict_mode)}(t);case 237:return function(n){O&&r.target>=2&&(e.isDeclarationStatement(n.statement)||e.isVariableStatement(n.statement))&&we(n.label,e.Diagnostics.A_label_is_not_allowed_here)}(t);case 182:return void(E=!0);case 167:break;case 154:return function(n){if(e.isJSDocTemplateTag(n.parent)){var t=e.find(n.parent.parent.tags,e.isJSDocTypeAlias)||e.getHostSignatureFromJSDoc(n.parent);t?(t.locals||(t.locals=e.createSymbolTable()),q(t.locals,void 0,n,262144,526824)):xe(n,262144,526824)}else if(180===n.parent.kind){var r=function(n){var t=e.findAncestor(n,(function(n){return n.parent&&e.isConditionalTypeNode(n.parent)&&n.parent.extendsType===n}));return t&&t.parent}(n.parent);r?(r.locals||(r.locals=e.createSymbolTable()),q(r.locals,void 0,n,262144,526824)):Re(n,262144,j(n))}else xe(n,262144,526824)}(t);case 155:return nn(t);case 241:return en(t);case 190:return t.flowNode=T,en(t);case 158:case 157:return function(e){return tn(e,4|(e.questionToken?16777216:0),0)}(t);case 279:case 280:return tn(t,4,0);case 282:return tn(t,8,900095);case 164:case 165:case 166:return xe(t,131072,0);case 160:case 159:return tn(t,8192|(t.questionToken?16777216:0),e.isObjectLiteralMethod(t)?0:103359);case 243:return function(t){n.isDeclarationFile||8388608&t.flags||e.isAsyncFunction(t)&&(M|=2048);ke(t),O?(Ne(t),Ie(t,16,110991)):xe(t,16,110991)}(t);case 161:return xe(t,16384,0);case 162:return tn(t,32768,46015);case 163:return tn(t,65536,78783);case 169:case 298:case 303:case 170:return function(n){var t=U(131072,j(n));H(t,n,131072);var r=U(2048,"__type");H(r,n,2048),r.members=e.createSymbolTable(),r.members.set(t.escapedName,t)}(t);case 172:case 302:case 185:return function(e){return Re(e,2048,"__type")}(t);case 307:return function(n){Q(n);var t=e.getHostSignatureFromJSDoc(n);t&&160!==t.kind&&H(t.symbol,t,32)}(t);case 192:return function(t){var r;if(function(e){e[e.Property=1]="Property",e[e.Accessor=2]="Accessor"}(r||(r={})),O)for(var a=e.createUnderscoreEscapedMap(),i=0,o=t.properties;i151){var o=c;c=t;var s=Le(t);0===s?X(t):function(n,t){var r=f,a=y,o=v;if(1&t?(201!==n.kind&&(y=f),f=v=n,32&t&&(f.locals=e.createSymbolTable()),Ae(f)):2&t&&((v=n).locals=void 0),4&t){var s=l,c=T,d=S,u=L,m=A,p=R,g=I,_=16&t&&!e.hasModifier(n,256)&&!n.asteriskToken&&!!e.getImmediatelyInvokedFunctionExpression(n);_||(T=i({flags:2}),144&t&&(T.node=n)),A=_||161===n.kind?re():void 0,S=void 0,L=void 0,R=void 0,I=!1,l=i,X(n),n.flags&=-2817,!(1&T.flags)&&8&t&&e.nodeIsPresent(n.body)&&(n.flags|=256,I&&(n.flags|=512),n.endFlowNode=T),288===n.kind&&(n.flags|=M),A&&(oe(A,T),T=ue(A),161===n.kind&&(n.returnFlowNode=T)),_||(T=c),S=d,L=u,A=m,R=p,I=g,l=s}else 64&t?(E=!1,X(n),n.flags=E?128|n.flags:-129&n.flags):X(n);f=r,y=a,v=o}(t,s),c=o}else if(!w&&0==(536870912&t.transformFlags)){V|=p(t,0);o=c;1===t.kind&&(c=t),Fe(t),c=o}O=a}}function Fe(n){if(e.hasJSDocNodes(n))if(e.isInJSFile(n))for(var t=0,r=n.jsDoc;t=167&&e<=187)return-2;switch(e){case 195:case 196:case 191:return 536875008;case 248:return 537168896;case 155:return 536870912;case 201:return 537371648;case 200:case 243:return 537373696;case 242:return 536944640;case 244:case 213:return 536888320;case 161:return 537372672;case 160:case 162:case 163:return 537372672;case 124:case 139:case 150:case 136:case 142:case 140:case 127:case 143:case 109:case 154:case 157:case 159:case 164:case 165:case 166:case 245:case 246:return-2;case 192:return 536896512;case 278:return 536879104;case 188:case 189:return 536875008;case 198:case 216:case 319:case 199:case 101:return 536870912;case 193:case 194:default:return 536870912}}function _(n,t){t.parent=n,e.forEachChild(t,(function(e){return _(t,e)}))}e.bindSourceFile=function(n,t){e.performance.mark("beforeBind"),e.perfLogger.logStartBindFile(""+n.fileName),c(n,t),e.perfLogger.logStopBindFile(),e.performance.mark("afterBind"),e.performance.measure("Bind","beforeBind","afterBind")},e.isExportsOrModuleExportsOrAlias=u,e.computeTransformFlagsForNode=p,e.getTransformFlagsSubtreeExclusions=g}(u||(u={})),function(e){e.createGetSymbolWalker=function(n,t,r,a,i,o,s,l,c,d,u){return function(m){void 0===m&&(m=function(){return!0});var p=[],f=[];return{walkType:function(n){try{return g(n),{visitedTypes:e.getOwnValues(p),visitedSymbols:e.getOwnValues(f)}}finally{e.clear(p),e.clear(f)}},walkSymbol:function(n){try{return v(n),{visitedTypes:e.getOwnValues(p),visitedSymbols:e.getOwnValues(f)}}finally{e.clear(p),e.clear(f)}}};function g(n){if(n&&(!p[n.id]&&(p[n.id]=n,!v(n.symbol)))){if(524288&n.flags){var t=n,r=t.objectFlags;4&r&&function(n){g(n.target),e.forEach(u(n),g)}(n),32&r&&function(e){g(e.typeParameter),g(e.constraintType),g(e.templateType),g(e.modifiersType)}(n),3&r&&(y(i=n),e.forEach(i.typeParameters,g),e.forEach(a(i),g),g(i.thisType)),24&r&&y(t)}var i;262144&n.flags&&function(e){g(c(e))}(n),3145728&n.flags&&function(n){e.forEach(n.types,g)}(n),4194304&n.flags&&function(e){g(e.type)}(n),8388608&n.flags&&function(e){g(e.objectType),g(e.indexType),g(e.constraint)}(n)}}function _(a){var i=t(a);i&&g(i.type),e.forEach(a.typeParameters,g);for(var o=0,s=a.parameters;o1&&2097152&b.flags&&(t=e.createSymbolTable()).set("export=",b);return O(t),L(f);function E(e){return!!e&&75===e.kind}function S(n){var t=e.find(n,e.isExportAssignment),r=e.find(n,e.isModuleDeclaration);if(r&&t&&t.isExportEquals&&e.isIdentifier(t.expression)&&e.isIdentifier(r.name)&&e.idText(r.name)===e.idText(t.expression)&&r.body&&e.isModuleBlock(r.body)){var a=e.filter(n,(function(n){return!!(1&e.getModifierFlags(n))}));e.length(a)&&(r.body.statements=e.createNodeArray(o(r.body.statements,[e.createExportDeclaration(void 0,void 0,e.createNamedExports(e.map(e.flatMap(a,(function(n){return t=n,e.isVariableStatement(t)?e.filter(e.map(t.declarationList.declarations,e.getNameOfDeclaration),E):e.filter([e.getNameOfDeclaration(t)],E);var t})),(function(n){return e.createExportSpecifier(void 0,n)}))),void 0)]))),e.find(n,(function(n){return n!==r&&e.nodeHasName(n,r.name)}))||(f=[],e.forEach(r.body.statements,(function(e){w(e,0)})),n=o(e.filter(n,(function(e){return e!==r&&e!==t})),f))}return n}function L(n){return n=function(n){var t=e.find(n,(function(n){return e.isExportDeclaration(n)&&!n.moduleSpecifier&&!!n.exportClause}));if(t){var r=e.mapDefined(t.exportClause.elements,(function(t){if(!t.propertyName){var r=e.filter(n,(function(n){return e.nodeHasName(n,t.name)}));if(e.length(r)&&e.every(r,C))return void e.forEach(r,M)}return t}));e.length(r)?t.exportClause.elements=e.createNodeArray(r):n=e.filter(n,(function(e){return e!==t}))}return n}(n=function(n){var t=e.filter(n,(function(n){return e.isExportDeclaration(n)&&!n.moduleSpecifier&&!!n.exportClause}));if(e.length(t)>1){var r=e.filter(n,(function(n){return!e.isExportDeclaration(n)||!!n.moduleSpecifier||!n.exportClause}));n=o(r,[e.createExportDeclaration(void 0,void 0,e.createNamedExports(e.flatMap(t,(function(e){return e.exportClause.elements}))),void 0)])}var a=e.filter(n,(function(n){return e.isExportDeclaration(n)&&!!n.moduleSpecifier&&!!n.exportClause}));if(e.length(a)>1){var i=e.group(a,(function(n){return e.isStringLiteral(n.moduleSpecifier)?">"+n.moduleSpecifier.text:">"}));if(i.length!==a.length)for(var s=function(t){t.length>1&&(n=o(e.filter(n,(function(e){return-1===t.indexOf(e)})),[e.createExportDeclaration(void 0,void 0,e.createNamedExports(e.flatMap(t,(function(e){return e.exportClause.elements}))),t[0].moduleSpecifier)]))},l=0,c=i;l0&&e.isSingleOrDoubleQuote(i.charCodeAt(0))?e.stripQuotes(i):i}return"default"===t?t="_default":"export="===t&&(t="_exports"),t=e.isIdentifierText(t,V)&&!e.isStringANonContextualKeyword(t)?t:"_"+t.replace(/[^a-zA-Z0-9]/g,"_")}function $(e,n){return r.remappedSymbolNames.has(""+D(e))?r.remappedSymbolNames.get(""+D(e)):(n=Z(e,n),r.remappedSymbolNames.set(""+D(e),n),n)}}(r,t,d)}))}};function t(t,r,a,i){e.Debug.assert(void 0===t||0==(8&t.flags));var o={enclosingDeclaration:t,flags:r||0,tracker:a&&a.trackSymbol?a:{trackSymbol:e.noop,moduleResolverHost:134217728&r?{getCommonSourceDirectory:n.getCommonSourceDirectory?function(){return n.getCommonSourceDirectory()}:function(){return""},getSourceFiles:function(){return n.getSourceFiles()},getCurrentDirectory:e.maybeBind(n,n.getCurrentDirectory),getProbableSymlinks:e.maybeBind(n,n.getProbableSymlinks)}:void 0},encounteredError:!1,visitedTypes:void 0,symbolDepth:void 0,inferTypeParameters:void 0,approximateLength:0},s=i(o);return o.encounteredError?void 0:s}function a(n){return n.truncating?n.truncating:n.truncating=!(1&n.flags)&&n.approximateLength>e.defaultMaximumTruncationLength}function l(n,t){r&&r.throwIfCancellationRequested&&r.throwIfCancellationRequested();var i=8388608&t.flags;if(t.flags&=-8388609,n){if(1&n.flags)return t.approximateLength+=3,e.createKeywordTypeNode(124);if(2&n.flags)return e.createKeywordTypeNode(147);if(4&n.flags)return t.approximateLength+=6,e.createKeywordTypeNode(142);if(8&n.flags)return t.approximateLength+=6,e.createKeywordTypeNode(139);if(64&n.flags)return t.approximateLength+=6,e.createKeywordTypeNode(150);if(16&n.flags)return t.approximateLength+=7,e.createKeywordTypeNode(127);if(1024&n.flags&&!(1048576&n.flags)){var o=ea(n.symbol),s=S(o,t,788968);return $i(o)===n?s:G(s,e.createTypeReferenceNode(e.symbolName(n.symbol),void 0))}if(1056&n.flags)return S(n.symbol,t,788968);if(128&n.flags)return t.approximateLength+=n.value.length+2,e.createLiteralTypeNode(e.setEmitFlags(e.createLiteral(n.value),16777216));if(256&n.flags){var g=n.value;return t.approximateLength+=(""+g).length,e.createLiteralTypeNode(g<0?e.createPrefix(40,e.createLiteral(-g)):e.createLiteral(g))}if(2048&n.flags)return t.approximateLength+=e.pseudoBigIntToString(n.value).length+1,e.createLiteralTypeNode(e.createLiteral(n.value));if(512&n.flags)return t.approximateLength+=n.intrinsicName.length,"true"===n.intrinsicName?e.createTrue():e.createFalse();if(8192&n.flags){if(!(1048576&t.flags)){if(Ea(n.symbol,t.enclosingDeclaration))return t.approximateLength+=6,S(n.symbol,t,111551);t.tracker.reportInaccessibleUniqueSymbolError&&t.tracker.reportInaccessibleUniqueSymbolError()}return t.approximateLength+=13,e.createTypeOperatorNode(146,e.createKeywordTypeNode(143))}if(16384&n.flags)return t.approximateLength+=4,e.createKeywordTypeNode(109);if(32768&n.flags)return t.approximateLength+=9,e.createKeywordTypeNode(145);if(65536&n.flags)return t.approximateLength+=4,e.createKeywordTypeNode(99);if(131072&n.flags)return t.approximateLength+=5,e.createKeywordTypeNode(136);if(4096&n.flags)return t.approximateLength+=6,e.createKeywordTypeNode(143);if(67108864&n.flags)return t.approximateLength+=6,e.createKeywordTypeNode(140);if(gc(n))return 4194304&t.flags&&(t.encounteredError||32768&t.flags||(t.encounteredError=!0),t.tracker.reportInaccessibleThisError&&t.tracker.reportInaccessibleThisError()),t.approximateLength+=4,e.createThis();if(!i&&n.aliasSymbol&&(16384&t.flags||ba(n.aliasSymbol,t.enclosingDeclaration))){var _=u(n.aliasTypeArguments,t);return!ma(n.aliasSymbol.escapedName)||32&n.aliasSymbol.flags?S(n.aliasSymbol,t,788968,_):e.createTypeReferenceNode(e.createIdentifier(""),_)}var y=e.getObjectFlags(n);if(4&y)return e.Debug.assert(!!(524288&n.flags)),n.node?N(n,P):P(n);if(262144&n.flags||3&y){if(262144&n.flags&&e.contains(t.inferTypeParameters,n))return t.approximateLength+=e.symbolName(n.symbol).length+6,e.createInferTypeNode(f(n,t,void 0));if(4&t.flags&&262144&n.flags&&!ba(n.symbol,t.enclosingDeclaration)){var v=A(n,t);return t.approximateLength+=e.idText(v).length,e.createTypeReferenceNode(e.createIdentifier(e.idText(v)),void 0)}return n.symbol?S(n.symbol,t,788968):e.createTypeReferenceNode(e.createIdentifier("?"),void 0)}if(3145728&n.flags){var h=1048576&n.flags?function(e){for(var n=[],t=0,r=0;r0?e.createUnionOrIntersectionTypeNode(1048576&n.flags?177:178,b):void(t.encounteredError||262144&t.flags||(t.encounteredError=!0))}if(48&y)return e.Debug.assert(!!(524288&n.flags)),k(n);if(4194304&n.flags){var E=n.type;t.approximateLength+=6;var T=l(E,t);return e.createTypeOperatorNode(T)}if(8388608&n.flags){var L=l(n.objectType,t);T=l(n.indexType,t);return t.approximateLength+=2,e.createIndexedAccessTypeNode(L,T)}if(16777216&n.flags){var x=l(n.checkType,t),R=t.inferTypeParameters;t.inferTypeParameters=n.root.inferTypeParameters;var I=l(n.extendsType,t);t.inferTypeParameters=R;var M=l(xc(n),t),O=l(Cc(n),t);return t.approximateLength+=15,e.createConditionalTypeNode(x,I,M,O)}return 33554432&n.flags?l(n.typeVariable,t):e.Debug.fail("Should be unreachable.")}function k(n){var r=""+n.id,a=n.symbol;if(a){if(v_(a.valueDeclaration)){var i=n===Wi(a)?788968:111551;return S(a,t,i)}if(32&a.flags&&!Ai(a)&&!(213===a.valueDeclaration.kind&&2048&t.flags)||896&a.flags||function(){var n=!!(8192&a.flags)&&e.some(a.declarations,(function(n){return e.hasModifier(n,32)})),i=!!(16&a.flags)&&(a.parent||e.forEach(a.declarations,(function(e){return 288===e.parent.kind||249===e.parent.kind})));if(n||i)return(!!(4096&t.flags)||t.visitedTypes&&t.visitedTypes.has(r))&&(!(8&t.flags)||Ea(a,t.enclosingDeclaration))}())return S(a,t,111551);if(t.visitedTypes&&t.visitedTypes.has(r)){var o=function(n){if(n.symbol&&2048&n.symbol.flags){var t=e.findAncestor(n.symbol.declarations[0].parent,(function(e){return 181!==e.kind}));if(246===t.kind)return $r(t)}return}(n);return o?S(o,t,788968):c(t)}return N(n,w)}return w(n)}function N(n,r){var a,i=""+n.id,o=16&e.getObjectFlags(n)&&n.symbol&&32&n.symbol.flags,s=4&e.getObjectFlags(n)&&n.node?"N"+C(n.node):n.symbol?(o?"+":"")+D(n.symbol):void 0;if(t.visitedTypes||(t.visitedTypes=e.createMap()),s&&!t.symbolDepth&&(t.symbolDepth=e.createMap()),s){if((a=t.symbolDepth.get(s)||0)>10)return c(t);t.symbolDepth.set(s,a+1)}t.visitedTypes.set(i,!0);var l=r(n);return t.visitedTypes.delete(i),s&&t.symbolDepth.set(s,a),l}function w(n){if(zo(n))return function(n){e.Debug.assert(!!(524288&n.flags));var r,a=n.declaration.readonlyToken?e.createToken(n.declaration.readonlyToken.kind):void 0,i=n.declaration.questionToken?e.createToken(n.declaration.questionToken.kind):void 0;r=Ho(n)?e.createTypeOperatorNode(l(Ko(n),t)):l(Vo(n),t);var o=f(Fo(n),t,r),s=l(Bo(n),t),c=e.createMappedTypeNode(a,o,i,s);return t.approximateLength+=10,e.setEmitFlags(c,1)}(n);var r=Xo(n);if(!r.properties.length&&!r.stringIndexInfo&&!r.numberIndexInfo){if(!r.callSignatures.length&&!r.constructSignatures.length)return t.approximateLength+=2,e.setEmitFlags(e.createTypeLiteralNode(void 0),1);if(1===r.callSignatures.length&&!r.constructSignatures.length)return p(r.callSignatures[0],169,t);if(1===r.constructSignatures.length&&!r.callSignatures.length)return p(r.constructSignatures[0],170,t)}var i=t.flags;t.flags|=4194304;var o=function(n){if(a(t))return[e.createPropertySignature(void 0,"...",void 0,void 0,void 0)];for(var r=[],i=0,o=n.callSignatures;i0){var v=(n.target.typeParameters||e.emptyArray).length;y=u(r.slice(A,v),t)}var h=t.flags;t.flags|=16;var b=S(n.symbol,t,788968,y);return t.flags=h,c?G(c,b):b}if(r.length>0){var E=cl(n),T=u(r.slice(0,E),t),L=n.target.hasRestElement;if(T){for(var A=n.target.minLength;A2)return[l(n[0],t),e.createTypeReferenceNode("... "+(n.length-2)+" more ...",void 0),l(n[n.length-1],t)]}for(var i=[],o=0,s=0,c=n;s0)),i}function b(n,t){var r;return 524384&Rh(n).flags&&(r=e.createNodeArray(e.map(Pi(n),(function(e){return g(e,t)})))),r}function E(n,t,r){e.Debug.assert(n&&0<=t&&t1?_(i,i.length-1,1):void 0,l=a||E(i,0,t),c=T(i[0],t);!(67108864&t.flags)&&e.getEmitModuleResolutionKind(F)===e.ModuleResolutionKind.NodeJs&&c.indexOf("/node_modules/")>=0&&(t.encounteredError=!0,t.tracker.reportLikelyUnsafeImportRequiredError&&t.tracker.reportLikelyUnsafeImportRequiredError(c));var d=e.createLiteralTypeNode(e.createLiteral(c));if(t.tracker.trackExternalModuleSymbolOfImportTypeNode&&t.tracker.trackExternalModuleSymbolOfImportTypeNode(i[0]),t.approximateLength+=c.length+10,!s||e.isEntityName(s)){if(s)(f=e.isIdentifier(s)?s:s.right).typeArguments=void 0;return e.createImportTypeNode(d,s,l,o)}var u=function n(t){return e.isIndexedAccessTypeNode(t.objectType)?n(t.objectType):t}(s),m=u.objectType.typeName;return e.createIndexedAccessTypeNode(e.createImportTypeNode(d,m,l,o),u.indexType)}var p=_(i,i.length-1,0);if(e.isIndexedAccessTypeNode(p))return p;if(o)return e.createTypeQueryNode(p);var f,g=(f=e.isIdentifier(p)?p:p.right).typeArguments;return f.typeArguments=void 0,e.createTypeReferenceNode(p,g);function _(n,r,i){var o,s=r===n.length-1?a:E(n,r,t),l=n[r],c=n[r-1];if(0===r)t.flags|=16777216,o=Va(l,t),t.approximateLength+=(o?o.length:0)+1,t.flags^=16777216;else if(c&&Xr(c)){var d=Xr(c);e.forEachEntry(d,(function(n,t){if(ra(n,l)&&!uo(t)&&"export="!==t)return o=e.unescapeLeadingUnderscores(t),!0}))}if(o||(o=Va(l,t)),t.approximateLength+=o.length+1,!(16&t.flags)&&c&&yo(c)&&yo(c).get(l.escapedName)&&ra(yo(c).get(l.escapedName),l)){var u=_(n,r-1,i);return e.isIndexedAccessTypeNode(u)?e.createIndexedAccessTypeNode(u,e.createLiteralTypeNode(e.createLiteral(o))):e.createIndexedAccessTypeNode(e.createTypeReferenceNode(u,s),e.createLiteralTypeNode(e.createLiteral(o)))}var m=e.setEmitFlags(e.createIdentifier(o,s),16777216);if(m.symbol=l,r>i){u=_(n,r-1,i);return e.isEntityName(u)?e.createQualifiedName(u,m):e.Debug.fail("Impossible construct - an export of an indexed access cannot be reachable")}return m}}function L(e,n){return!!pr(n.enclosingDeclaration,e,788968,void 0,e,!1)}function A(n,t){if(4&t.flags&&t.typeParameterNames){var r=t.typeParameterNames.get(""+Hl(n));if(r)return r}var a=x(n.symbol,t,788968,!0);if(!(75&a.kind))return e.createIdentifier("(Missing type parameter)");if(4&t.flags){for(var i=a.escapedText,o=0,s=i;t.typeParameterNamesByText&&t.typeParameterNamesByText.get(s)||L(s,t);)s=i+"_"+ ++o;s!==i&&(a=e.createIdentifier(s,a.typeArguments)),(t.typeParameterNames||(t.typeParameterNames=e.createMap())).set(""+Hl(n),a),(t.typeParameterNamesByText||(t.typeParameterNamesByText=e.createMap())).set(a.escapedText,!0)}return a}function x(n,t,r,a){var i=v(n,t,r);return!a||1===i.length||t.encounteredError||65536&t.flags||(t.encounteredError=!0),function n(r,a){var i=E(r,a,t),o=r[a];0===a&&(t.flags|=16777216);var s=Va(o,t);0===a&&(t.flags^=16777216);var l=e.setEmitFlags(e.createIdentifier(s,i),16777216);return l.symbol=o,a>0?e.createQualifiedName(n(r,a-1),l):l}(i,i.length-1)}function R(n,t,r){var a=v(n,t,r);return function n(r,a){var i=E(r,a,t),o=r[a];0===a&&(t.flags|=16777216);var s=Va(o,t);0===a&&(t.flags^=16777216);var l=s.charCodeAt(0);if(e.isSingleOrDoubleQuote(l)&&e.some(o.declarations,Aa))return e.createLiteral(T(o,t));var c=e.isIdentifierStart(l,V);if(0===a||c){var d=e.setEmitFlags(e.createIdentifier(s,i),16777216);return d.symbol=o,a>0?e.createPropertyAccess(n(r,a-1),d):d}91===l&&(s=s.substring(1,s.length-1),l=s.charCodeAt(0));var u=void 0;return e.isSingleOrDoubleQuote(l)?(u=e.createLiteral(s.substring(1,s.length-1).replace(/\\./g,(function(e){return e.substring(1)})))).singleQuote=39===l:""+ +s===s&&(u=e.createLiteral(+s)),u||((u=e.setEmitFlags(e.createIdentifier(s,i),16777216)).symbol=o),e.createElementAccess(n(r,a-1),u)}(a,a.length-1)}function I(n){return e.isIdentifierText(n,F.target)?e.createIdentifier(n):e.createLiteral(Mf(n)?+n:n)}}(),Z=e.createSymbolTable(),$=Zt(4,"undefined");$.declarations=[];var ee=Zt(1536,"globalThis",8);ee.exports=Z,Z.set(ee.escapedName,ee);var ne,te=Zt(4,"arguments"),re=Zt(4,"require"),ae={getNodeCount:function(){return e.sum(n.getSourceFiles(),"nodeCount")},getIdentifierCount:function(){return e.sum(n.getSourceFiles(),"identifierCount")},getSymbolCount:function(){return e.sum(n.getSourceFiles(),"symbolCount")+v},getTypeCount:function(){return y},getRelationCacheSizes:function(){return{assignable:Ht.size,identity:jt.size,subtype:Ut.size}},isUndefinedSymbol:function(e){return e===$},isArgumentsSymbol:function(e){return e===te},isUnknownSymbol:function(e){return e===fe},getMergedSymbol:Zr,getDiagnostics:Yh,getGlobalDiagnostics:function(){return Qh(),Gt.getGlobalDiagnostics()},getTypeOfSymbolAtLocation:function(n,t){return(t=e.getParseTreeNode(t))?function(n,t){if(n=n.exportSymbol||n,75===t.kind&&(e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),e.isExpressionNode(t)&&!e.isAssignmentTarget(t))){var r=Py(t);if(aa(cr(t).resolvedSymbol)===n)return r}return Ri(n)}(n,t):he},getSymbolsOfParameterPropertyDeclaration:function(n,t){var r=e.getParseTreeNode(n,e.isParameter);return void 0===r?e.Debug.fail("Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node."):function(n,t){var r=n.parent,a=n.parent.parent,i=ur(r.locals,t,111551),o=ur(yo(a.symbol),t,111551);if(i&&o)return[i,o];return e.Debug.fail("There should exist two symbols, one as property declaration and one as parameter declaration")}(r,e.escapeLeadingUnderscores(t))},getDeclaredTypeOfSymbol:$i,getPropertiesOfType:Zo,getPropertyOfType:function(n,t){return _s(n,e.escapeLeadingUnderscores(t))},getTypeOfPropertyOfType:function(n,t){return za(n,e.escapeLeadingUnderscores(t))},getIndexInfoOfType:Es,getSignaturesOfType:vs,getIndexTypeOfType:Ts,getBaseTypes:Ki,getBaseTypeOfLiteralType:Lu,getWidenedType:Zu,getTypeFromTypeNode:function(n){var t=e.getParseTreeNode(n,e.isTypeNode);return t?qc(t):he},getParameterType:I_,getPromisedTypeOfPromise:ov,getReturnTypeOfSignature:Vs,isNullableType:sg,getNullableType:Gu,getNonNullableType:Vu,getNonOptionalType:Hu,getTypeArguments:ll,typeToTypeNode:Q.typeToTypeNode,indexInfoToIndexSignatureDeclaration:Q.indexInfoToIndexSignatureDeclaration,signatureToSignatureDeclaration:Q.signatureToSignatureDeclaration,symbolToEntityName:Q.symbolToEntityName,symbolToExpression:Q.symbolToExpression,symbolToTypeParameterDeclarations:Q.symbolToTypeParameterDeclarations,symbolToParameterDeclaration:Q.symbolToParameterDeclaration,typeParameterToDeclaration:Q.typeParameterToDeclaration,getSymbolsInScope:function(n,t){return(n=e.getParseTreeNode(n))?function(n,t){if(16777216&n.flags)return[];var r=e.createSymbolTable(),a=!1;return i(),r.delete("this"),As(r);function i(){for(;n;){switch(n.locals&&!dr(n)&&s(n.locals,t),n.kind){case 288:if(!e.isExternalOrCommonJsModule(n))break;case 248:s($r(n).exports,2623475&t);break;case 247:s($r(n).exports,8&t);break;case 213:n.name&&o(n.symbol,t);case 244:case 245:a||s(yo($r(n)),788968&t);break;case 200:n.name&&o(n.symbol,t)}e.introducesArgumentsExoticObject(n)&&o(te,t),a=e.hasModifier(n,32),n=n.parent}s(Z,t)}function o(n,t){if(e.getCombinedLocalAndExportSymbolFlags(n)&t){var a=n.escapedName;r.has(a)||r.set(a,n)}}function s(e,n){n&&e.forEach((function(e){o(e,n)}))}}(n,t):[]},getSymbolAtLocation:function(n){return(n=e.getParseTreeNode(n))?ab(n):void 0},getShorthandAssignmentValueSymbol:function(n){return(n=e.getParseTreeNode(n))?function(e){if(e&&280===e.kind)return Gr(e.name,2208703);return}(n):void 0},getExportSpecifierLocalTargetSymbol:function(n){var t=e.getParseTreeNode(n,e.isExportSpecifier);return t?function(e){return e.parent.parent.moduleSpecifier?xr(e.parent.parent,e):Gr(e.propertyName||e.name,2998271)}(t):void 0},getExportSymbolOfSymbol:function(e){return Zr(e.exportSymbol||e)},getTypeAtLocation:function(n){return(n=e.getParseTreeNode(n))?ib(n):he},getTypeOfAssignmentPattern:function(n){var t=e.getParseTreeNode(n,e.isAssignmentPattern);return t&&ob(t)||he},getPropertySymbolOfDestructuringAssignment:function(n){var t=e.getParseTreeNode(n,e.isIdentifier);return t?function(n){var t=ob(e.cast(n.parent.parent,e.isAssignmentPattern));return t&&_s(t,n.escapedText)}(t):void 0},signatureToString:function(n,t,r,a){return Ra(n,e.getParseTreeNode(t),r,a)},typeToString:function(n,t,r){return Ia(n,e.getParseTreeNode(t),r)},symbolToString:function(n,t,r,a){return Da(n,e.getParseTreeNode(t),r,a)},typePredicateToString:function(n,t,r){return Na(n,e.getParseTreeNode(t),r)},writeSignature:function(n,t,r,a,i){return Ra(n,e.getParseTreeNode(t),r,a,i)},writeType:function(n,t,r,a){return Ia(n,e.getParseTreeNode(t),r,a)},writeSymbol:function(n,t,r,a,i){return Da(n,e.getParseTreeNode(t),r,a,i)},writeTypePredicate:function(n,t,r,a){return Na(n,e.getParseTreeNode(t),r,a)},getAugmentedPropertiesOfType:db,getRootSymbols:function n(t){var r=function(n){if(6&e.getCheckFlags(n))return e.mapDefined(lr(n).containingType.types,(function(e){return _s(e,n.escapedName)}));if(33554432&n.flags){var t=n,r=t.leftSpread,a=t.rightSpread,i=t.syntheticOrigin;return r?[r,a]:i?[i]:e.singleElementArray(function(e){var n,t=e;for(;t=lr(t).target;)n=t;return n}(n))}return}(t);return r?e.flatMap(r,n):[t]},getContextualType:function(n,t){var r=e.getParseTreeNode(n,e.isExpression);return r?yf(r,t):void 0},getContextualTypeForObjectLiteralElement:function(n){var t=e.getParseTreeNode(n,e.isObjectLiteralElementLike);return t?cf(t):void 0},getContextualTypeForArgumentAtIndex:function(n,t){var r=e.getParseTreeNode(n,e.isCallLikeExpression);return r&&af(r,t)},getContextualTypeForJsxAttribute:function(n){var t=e.getParseTreeNode(n,e.isJsxAttributeLike);return t&&mf(t)},isContextSensitive:yd,getFullyQualifiedName:Pr,getResolvedSignature:function(e,n,t){return ie(e,n,t,0)},getResolvedSignatureForSignatureHelp:function(e,n,t){return ie(e,n,t,16)},getExpandedParameters:Ao,hasEffectiveRestParameter:w_,getConstantValue:function(n){var t=e.getParseTreeNode(n,Ib);return t?Mb(t):void 0},isValidPropertyAccess:function(n,t){var r=e.getParseTreeNode(n,e.isPropertyAccessOrQualifiedNameOrImportTypeNode);return!!r&&function(e,n){switch(e.kind){case 193:return Cg(e,101===e.expression.kind,n,Zu(Fy(e.expression)));case 152:return Cg(e,!1,n,Zu(Fy(e.left)));case 187:return Cg(e,!1,n,qc(e))}}(r,e.escapeLeadingUnderscores(t))},isValidPropertyAccessForCompletions:function(n,t,r){var a=e.getParseTreeNode(n,e.isPropertyAccessExpression);return!!a&&function(e,n,t){return Cg(e,193===e.kind&&101===e.expression.kind,t.escapedName,n)}(a,t,r)},getSignatureFromDeclaration:function(n){var t=e.getParseTreeNode(n,e.isFunctionLike);return t?ks(t):void 0},isImplementationOfOverload:function(n){var t=e.getParseTreeNode(n,e.isFunctionLike);return t?Sb(t):void 0},getImmediateAliasedSymbol:Nf,getAliasedSymbol:Or,getEmitResolver:function(e,n){return Yh(e,n),Y},getExportsOfModule:qr,getExportsAndPropertiesOfModule:function(n){var t=qr(n),r=Kr(n);r!==n&&e.addRange(t,Zo(Ri(r)));return t},getSymbolWalker:e.createGetSymbolWalker((function(e){return Hs(e)||_e}),Fs,Vs,Ki,Xo,Ri,Im,bs,es,e.getFirstIdentifier,ll),getAmbientModules:function(){rn||(rn=[],Z.forEach((function(e,n){i.test(n)&&rn.push(e)})));return rn},getJsxIntrinsicTagNamesAt:function(n){var t=Hf(A.IntrinsicElements,n);return t?Zo(t):e.emptyArray},isOptionalParameter:function(n){var t=e.getParseTreeNode(n,e.isParameter);return!!t&&Ds(t)},tryGetMemberInModuleExports:function(n,t){return zr(e.escapeLeadingUnderscores(n),t)},tryGetMemberInModuleExportsAndProperties:function(n,t){return function(e,n){var t=zr(e,n);if(t)return t;var r=Kr(n);if(r===n)return;var a=Ri(r);return 131068&a.flags?void 0:_s(a,e)}(e.escapeLeadingUnderscores(n),t)},tryFindAmbientModuleWithoutAugmentations:function(e){return Cs(e,!1)},getApparentType:ms,getUnionType:Xl,isTypeAssignableTo:function(e,n){return Cd(e,n)},createAnonymousType:ga,createSignature:Eo,createSymbol:Zt,createIndexInfo:Zs,getAnyType:function(){return _e},getStringType:function(){return xe},getNumberType:function(){return Ce},createPromiseType:H_,createArrayType:Pl,getElementTypeOfArrayType:_u,getBooleanType:function(){return ke},getFalseType:function(e){return e?Re:Ie},getTrueType:function(e){return e?Me:Oe},getVoidType:function(){return we},getUndefinedType:function(){return Ee},getNullType:function(){return Le},getESSymbolType:function(){return Ne},getNeverType:function(){return Pe},getOptionalType:function(){return Se},isSymbolAccessible:Ta,getObjectFlags:e.getObjectFlags,isArrayType:fu,isTupleType:Ru,isArrayLikeType:yu,isTypeInvalidDueToUnionDiscriminant:function(e,n){return n.properties.some((function(n){var t=n.name&&rc(n.name),r=t&&lo(t)?fo(t):void 0,a=void 0===r?void 0:za(e,r);return!!a&&Su(a)&&!Cd(ib(n),a)}))},getAllPossiblePropertiesOfTypes:function(n){var t=Xl(n);if(!(1048576&t.flags))return db(t);for(var r=e.createSymbolTable(),a=0,i=n;a>",0,_e),Qn=Eo(void 0,void 0,void 0,e.emptyArray,_e,void 0,0,0),Zn=Eo(void 0,void 0,void 0,e.emptyArray,he,void 0,0,0),$n=Eo(void 0,void 0,void 0,e.emptyArray,_e,void 0,0,0),et=Eo(void 0,void 0,void 0,e.emptyArray,Ge,void 0,0,0),nt=Zs(xe,!0),tt=e.createMap(),rt={get yieldType(){throw new Error("Not supported")},get returnType(){throw new Error("Not supported")},get nextType(){throw new Error("Not supported")}},at=Zv(_e,_e,_e),it=Zv(_e,_e,be),ot=Zv(Pe,_e,Ee),st={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:function(e){return Pn||(Pn=Cl("AsyncIterator",3,e))||Je},getGlobalIterableType:function(e){return wn||(wn=Cl("AsyncIterable",1,e))||Je},getGlobalIterableIteratorType:function(e){return Gn||(Gn=Cl("AsyncIterableIterator",1,e))||Je},getGlobalGeneratorType:function(e){return Fn||(Fn=Cl("AsyncGenerator",3,e))||Je},resolveIterationType:lv,mustHaveANextMethodDiagnostic:e.Diagnostics.An_async_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:e.Diagnostics.The_0_property_of_an_async_iterator_must_be_a_method,mustHaveAValueDiagnostic:e.Diagnostics.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property},lt={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:function(e){return In||(In=Cl("Iterator",3,e))||Je},getGlobalIterableType:Ol,getGlobalIterableIteratorType:function(e){return Mn||(Mn=Cl("IterableIterator",1,e))||Je},getGlobalGeneratorType:function(e){return On||(On=Cl("Generator",3,e))||Je},resolveIterationType:function(e,n){return e},mustHaveANextMethodDiagnostic:e.Diagnostics.An_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:e.Diagnostics.The_0_property_of_an_iterator_must_be_a_method,mustHaveAValueDiagnostic:e.Diagnostics.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property},ct=e.createMap(),dt=e.createMap(),ut=0,mt=0,pt=0,ft=!1,gt=0,_t=Kc(""),yt=Kc(0),vt=Kc({negative:!1,base10Value:"0"}),ht=[],bt=[],Et=[],Tt=0,St=[],Lt=[],At=[],xt=[],Ct=[],Dt=[],Rt=[],It=[],Mt=[],Ot=[],kt=[],Nt=[],wt=[],Pt=[],Gt=e.createDiagnosticCollection(),Ft=e.createDiagnosticCollection(),Vt=e.createMapFromTemplate({string:xe,number:Ce,bigint:De,boolean:ke,symbol:Ne,undefined:Ee}),Bt=Xl(e.arrayFrom(E.keys(),Kc)),Ut=e.createMap(),Ht=e.createMap(),Kt=e.createMap(),jt=e.createMap(),Wt=e.createMap(),qt=e.createSymbolTable();return qt.set($.escapedName,$),function(){for(var t=0,r=n.getSourceFiles();t=5||e.addRelatedInfo(i,e.length(i.relatedInformation)?e.createDiagnosticForNode(l,e.Diagnostics.and_here):e.createDiagnosticForNode(l,e.Diagnostics._0_was_also_declared_here,r))}}function or(e,n,t){void 0===t&&(t=!1),n.forEach((function(n,r){var a=e.get(r);e.set(r,a?rr(a,n,t):n)}))}function sr(n){var t=n.parent;if(t.symbol.declarations[0]===t)if(e.isGlobalScopeAugmentation(t))or(Z,t.symbol.exports);else{var r=Br(n,n,8388608&n.parent.parent.flags?void 0:e.Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found,!0);if(!r)return;if(1920&(r=Kr(r)).flags)if(e.some(an,(function(e){return r===e.symbol}))){var a=rr(t.symbol,r,!0);on||(on=e.createMap()),on.set(n.text,a)}else rr(r,t.symbol);else Xt(n,e.Diagnostics.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,n.text)}else e.Debug.assert(t.symbol.declarations.length>1)}function lr(e){if(33554432&e.flags)return e;var n=D(e);return Lt[n]||(Lt[n]={})}function cr(e){var n=C(e);return At[n]||(At[n]={flags:0})}function dr(n){return 288===n.kind&&!e.isExternalOrCommonJsModule(n)}function ur(n,t,r){if(r){var a=n.get(t);if(a){if(e.Debug.assert(0==(1&e.getCheckFlags(a)),"Should never get an instantiated symbol here."),a.flags&r)return a;if(2097152&a.flags){var i=Or(a);if(i===fe||i.flags&r)return a}}}}function mr(t,r){var a=e.getSourceFileOfNode(t),i=e.getSourceFileOfNode(r);if(a!==i){if(B&&(a.externalModuleIndicator||i.externalModuleIndicator)||!F.outFile&&!F.out||Mm(r)||8388608&t.flags)return!0;if(c(r,t))return!0;var o=n.getSourceFiles();return o.indexOf(a)<=o.indexOf(i)}if(t.pos<=r.pos){if(190===t.kind){var s=e.getAncestor(r,190);return s?e.findAncestor(s,e.isBindingElement)!==e.findAncestor(t,e.isBindingElement)||t.posn.end)return!1;return void 0===e.findAncestor(t,(function(e){if(e===n)return"quit";switch(e.kind){case 201:case 158:return!0;case 222:switch(e.parent.kind){case 162:case 160:case 163:return!0;default:return!1}default:return!1}}))}(t,r)}if(261===r.parent.kind||258===r.parent.kind&&r.parent.isExportEquals)return!0;if(258===r.kind&&r.isExportEquals)return!0;var l=e.getEnclosingBlockScopeContainer(t);return!!(4194304&r.flags)||Mm(r)||c(r,t,l);function c(n,t,r){return!!e.findAncestor(n,(function(a){if(a===r)return"quit";if(e.isFunctionLike(a))return!0;if(a.parent&&158===a.parent.kind&&a.parent.initializer===a)if(e.hasModifier(a.parent,32)){if(160===t.kind)return!0}else if(!(158===t.kind&&!e.hasModifier(t,32))||e.getContainingClass(n)!==e.getContainingClass(t))return!0;return!1}))}}function pr(e,n,t,r,a,i,o,s){return void 0===o&&(o=!1),fr(e,n,t,r,a,i,o,ur,s)}function fr(n,t,r,a,i,o,s,l,c){var d,u,m,p,f,g,_=n,y=!1,v=n,h=!1;e:for(;n;){if(n.locals&&!dr(n)&&(d=l(n.locals,t,r))){var b=!0;if(e.isFunctionLike(n)&&u&&u!==n.body){if(r&d.flags&788968&&301!==u.kind&&(b=!!(262144&d.flags)&&(u===n.type||155===u.kind||154===u.kind)),r&d.flags&3){var E=n;F.target&&F.target>=2&&e.isParameter(u)&&E.body&&d.valueDeclaration.pos>=E.body.pos&&d.valueDeclaration.end<=E.body.end?b=!1:1&d.flags&&(b=155===u.kind||u===n.type&&!!e.findAncestor(d.valueDeclaration,e.isParameter))}}else 179===n.kind&&(b=u===n.trueType);if(b)break e;d=void 0}switch(y=y||gr(n,u),n.kind){case 288:if(!e.isExternalOrCommonJsModule(n))break;h=!0;case 248:var T=$r(n).exports||P;if(288===n.kind||e.isModuleDeclaration(n)&&8388608&n.flags&&!e.isGlobalScopeAugmentation(n)){if(d=T.get("default")){var S=e.getLocalSymbolForExportDefault(d);if(S&&d.flags&r&&S.escapedName===t)break e;d=void 0}var L=T.get(t);if(L&&2097152===L.flags&&e.getDeclarationOfKind(L,261))break}if("default"!==t&&(d=l(T,t,2623475&r))){if(!e.isSourceFile(n)||!n.commonJsModuleIndicator||d.declarations.some(e.isJSDocTypeAlias))break e;d=void 0}break;case 247:if(d=l($r(n).exports,t,8&r))break e;break;case 158:if(!e.hasModifier(n,32)){var A=oa(n.parent);A&&A.locals&&l(A.locals,t,111551&r)&&(p=n)}break;case 244:case 213:case 245:if(d=l($r(n).members||P,t,788968&r)){if(!vr(d,n)){d=void 0;break}if(u&&e.hasModifier(u,32))return void Xt(v,e.Diagnostics.Static_members_cannot_reference_class_type_parameters);break e}if(213===n.kind&&32&r){var x=n.name;if(x&&t===x.escapedText){d=n.symbol;break e}}break;case 215:if(u===n.expression&&89===n.parent.token){var C=n.parent.parent;if(e.isClassLike(C)&&(d=l($r(C).members,t,788968&r)))return void(a&&Xt(v,e.Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters))}break;case 153:if(g=n.parent.parent,(e.isClassLike(g)||245===g.kind)&&(d=l($r(g).members,t,788968&r)))return void Xt(v,e.Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);break;case 201:if(F.target>=2)break;case 160:case 161:case 162:case 163:case 243:if(3&r&&"arguments"===t){d=te;break e}break;case 200:if(3&r&&"arguments"===t){d=te;break e}if(16&r){var D=n.name;if(D&&t===D.escapedText){d=n.symbol;break e}}break;case 156:n.parent&&155===n.parent.kind&&(n=n.parent),n.parent&&(e.isClassElement(n.parent)||244===n.parent.kind)&&(n=n.parent);break;case 315:case 308:case 309:n=e.getJSDocHost(n);break;case 155:u&&u===n.initializer&&(f=n);break;case 190:if(u&&u===n.initializer)155===(k=e.getRootDeclaration(n)).kind&&(f=n)}_r(n)&&(m=n),u=n,n=n.parent}if(!o||!d||m&&d===m.symbol||(d.isReferenced|=r),!d){if(u&&(e.Debug.assert(288===u.kind),u.commonJsModuleIndicator&&"exports"===t&&r&u.symbol.flags))return u.symbol;s||(d=l(Z,t,r))}if(!d&&_&&e.isInJSFile(_)&&_.parent&&e.isRequireCall(_.parent,!1))return re;if(d){if(a){if(p){var R=p.name;return void Xt(v,e.Diagnostics.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,e.declarationNameToString(R),yr(i))}if(v&&(2&r||(32&r||384&r)&&111551==(111551&r))){var I=aa(d);(2&I.flags||32&I.flags||384&I.flags)&&function(n,t){if(e.Debug.assert(!!(2&n.flags||32&n.flags||384&n.flags)),67108881&n.flags&&32&n.flags)return;var r=e.find(n.declarations,(function(n){return e.isBlockOrCatchScoped(n)||e.isClassLike(n)||247===n.kind}));if(void 0===r)return e.Debug.fail("checkResolvedBlockScopedVariable could not find block-scoped declaration");if(!(8388608&r.flags||mr(r,t))){var a=void 0,i=e.declarationNameToString(e.getNameOfDeclaration(r));2&n.flags?a=Xt(t,e.Diagnostics.Block_scoped_variable_0_used_before_its_declaration,i):32&n.flags?a=Xt(t,e.Diagnostics.Class_0_used_before_its_declaration,i):256&n.flags?a=Xt(t,e.Diagnostics.Enum_0_used_before_its_declaration,i):(e.Debug.assert(!!(128&n.flags)),F.preserveConstEnums&&(a=Xt(t,e.Diagnostics.Class_0_used_before_its_declaration,i))),a&&e.addRelatedInfo(a,e.createDiagnosticForNode(r,e.Diagnostics._0_is_declared_here,i))}}(I,v)}if(d&&h&&111551==(111551&r)&&!(4194304&_.flags)){var M=Zr(d);e.length(M.declarations)&&e.every(M.declarations,(function(n){return e.isNamespaceExportDeclaration(n)||e.isSourceFile(n)&&!!n.symbol.globalExports}))&&Yt(!F.allowUmdGlobalAccess,v,e.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead,e.unescapeLeadingUnderscores(t))}if(d&&f&&!y&&111551==(111551&r)){var O=Zr(vo(d)),k=e.getRootDeclaration(f);O===$r(f)?Xt(v,e.Diagnostics.Parameter_0_cannot_be_referenced_in_its_initializer,e.declarationNameToString(f.name)):O.valueDeclaration&&O.valueDeclaration.pos>f.pos&&k.parent.locals&&l(k.parent.locals,O.escapedName,r)===O&&Xt(v,e.Diagnostics.Initializer_of_parameter_0_cannot_reference_identifier_1_declared_after_it,e.declarationNameToString(f.name),e.declarationNameToString(v))}}return d}if(a&&!(v&&(function(n,t,r){if(!e.isIdentifier(n)||n.escapedText!==t||$h(n)||Mm(n))return!1;var a=e.getThisContainer(n,!1),i=a;for(;i;){if(e.isClassLike(i.parent)){var o=$r(i.parent);if(!o)break;if(_s(Ri(o),t))return Xt(n,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,yr(r),Da(o)),!0;if(i===a&&!e.hasModifier(i,32))if(_s($i(o).thisType,t))return Xt(n,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,yr(r)),!0}i=i.parent}return!1}(v,t,i)||hr(v)||function(n,t,r){var a=1920|(e.isInJSFile(n)?111551:0);if(r===a){var i=Mr(pr(n,t,788968&~a,void 0,void 0,!1)),o=n.parent;if(i){if(e.isQualifiedName(o)){e.Debug.assert(o.left===n,"Should only be resolving left side of qualified name as a namespace");var s=o.right.escapedText;if(_s($i(i),s))return Xt(o,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,e.unescapeLeadingUnderscores(t),e.unescapeLeadingUnderscores(s)),!0}return Xt(n,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,e.unescapeLeadingUnderscores(t)),!0}}return!1}(v,t,r)||function(n,t,r){if(111551&r){if("any"===t||"string"===t||"number"===t||"boolean"===t||"never"===t)return Xt(n,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,e.unescapeLeadingUnderscores(t)),!0;var a=Mr(pr(n,t,788544,void 0,void 0,!1));if(a&&!(1024&a.flags)){var i=function(e){switch(e){case"Promise":case"Symbol":case"Map":case"WeakMap":case"Set":case"WeakSet":return!0}return!1}(t)?e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here;return Xt(n,i,e.unescapeLeadingUnderscores(t)),!0}}return!1}(v,t,r)||function(n,t,r){if(111127&r){if(Mr(pr(n,t,1024,void 0,void 0,!1)))return Xt(n,e.Diagnostics.Cannot_use_namespace_0_as_a_value,e.unescapeLeadingUnderscores(t)),!0}else if(788544&r){if(Mr(pr(n,t,1536,void 0,void 0,!1)))return Xt(n,e.Diagnostics.Cannot_use_namespace_0_as_a_type,e.unescapeLeadingUnderscores(t)),!0}return!1}(v,t,r)||function(n,t,r){if(788584&r){var a=Mr(pr(n,t,111127,void 0,void 0,!1));if(a&&!(1920&a.flags))return Xt(n,e.Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here,e.unescapeLeadingUnderscores(t)),!0}return!1}(v,t,r)))){var N=void 0;if(c&&Tt<10&&(N=Sg(_,t,r))){var w=Da(N),G=Xt(v,c,yr(i),w);N.valueDeclaration&&e.addRelatedInfo(G,e.createDiagnosticForNode(N.valueDeclaration,e.Diagnostics._0_is_declared_here,w))}N||Xt(v,a,yr(i)),Tt++}}function gr(n,t){return 201!==n.kind&&200!==n.kind?e.isTypeQueryNode(n)||(e.isFunctionLikeDeclaration(n)||158===n.kind&&!e.hasModifier(n,32))&&(!t||t!==n.name):(!t||t!==n.name)&&(!(!n.asteriskToken&&!e.hasModifier(n,256))||!e.getImmediatelyInvokedFunctionExpression(n))}function _r(e){switch(e.kind){case 243:case 244:case 245:case 247:case 246:case 248:return!0;default:return!1}}function yr(n){return e.isString(n)?e.unescapeLeadingUnderscores(n):e.declarationNameToString(n)}function vr(n,t){for(var r=0,a=n.declarations;r=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop",s=r.exports.get("export=").valueDeclaration,l=Xt(n.name,e.Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag,Da(r),o);e.addRelatedInfo(l,e.createDiagnosticForNode(s,e.Diagnostics.This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,o))}else r.exports&&r.exports.has(n.symbol.escapedName)?Xt(n.name,e.Diagnostics.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,Da(r),Da(n.symbol)):Xt(n.name,e.Diagnostics.Module_0_has_no_default_export,Da(r));return a}}(n,t);case 255:return function(e,n){var t=e.parent.parent.moduleSpecifier;return jr(Vr(e,t),t,n,!1)}(n,t);case 257:return function(e,n){return xr(e.parent.parent.parent,e,n)}(n,t);case 261:return Cr(n,901119,t);case 258:case 208:return function(n,t){return Dr(e.isExportAssignment(n)?n.expression:n.right,t)}(n,t);case 251:return function(e,n){return Kr(e.parent.symbol,n)}(n,t);case 280:return Gr(n.name,901119,!0,t);case 279:return function(e,n){return Dr(e.initializer,n)}(n,t);case 193:return function(n,t){if(e.isBinaryExpression(n.parent)&&n.parent.left===n&&62===n.parent.operatorToken.kind)return Dr(n.parent.right,t)}(n,t);default:return e.Debug.fail()}}function Ir(e,n){return void 0===n&&(n=901119),!!e&&(2097152==(e.flags&(2097152|n))||!!(2097152&e.flags&&67108864&e.flags))}function Mr(e,n){return!n&&Ir(e)?Or(e):e}function Or(n){e.Debug.assert(0!=(2097152&n.flags),"Should only get Alias here.");var t=lr(n);if(t.target)t.target===ge&&(t.target=fe);else{t.target=ge;var r=Tr(n);if(!r)return e.Debug.fail();var a=Rr(r);t.target===ge?t.target=a||fe:Xt(r,e.Diagnostics.Circular_definition_of_import_alias_0,Da(n))}return t.target}function kr(e){var n=$r(e),t=Or(n);t&&((t===fe||111551&t.flags&&!Tb(t))&&Nr(n))}function Nr(n){var t=lr(n);if(!t.referenced){t.referenced=!0;var r=Tr(n);if(!r)return e.Debug.fail();if(e.isInternalModuleImportEqualsDeclaration(r)){var a=Mr(n);(a===fe||111551&a.flags)&&Ty(r.moduleReference)}}}function wr(n,t){return 75===n.kind&&e.isRightSideOfQualifiedNameOrPropertyAccess(n)&&(n=n.parent),75===n.kind||152===n.parent.kind?Gr(n,1920,!1,t):(e.Debug.assert(252===n.parent.kind),Gr(n,901119,!1,t))}function Pr(e,n){return e.parent?Pr(e.parent,n)+"."+Da(e):Da(e,n,void 0,20)}function Gr(n,t,r,a,i){if(!e.nodeIsMissing(n)){var o,s=1920|(e.isInJSFile(n)?111551&t:0);if(75===n.kind){var l=t===s?e.Diagnostics.Cannot_find_namespace_0:Rm(e.getFirstIdentifier(n)),c=e.isInJSFile(n)?function(n,t){if(hl(n.parent)){var r=function(n){if(e.findAncestor(n,(function(n){return e.isJSDocNode(n)||4194304&n.flags?e.isJSDocTypeAlias(n):"quit"})))return;var t=e.getJSDocHost(n);if(e.isExpressionStatement(t)&&e.isBinaryExpression(t.expression)&&3===e.getAssignmentDeclarationKind(t.expression)){if(a=$r(t.expression.left))return Fr(a)}if((e.isObjectLiteralMethod(t)||e.isPropertyAssignment(t))&&e.isBinaryExpression(t.parent.parent)&&6===e.getAssignmentDeclarationKind(t.parent.parent)){if(a=$r(t.parent.parent.left))return Fr(a)}var r=e.getHostSignatureFromJSDocHost(t);if(r){var a;return(a=$r(r))&&a.valueDeclaration}}(n.parent);if(r)return pr(r,n.escapedText,t,void 0,n,!0)}}(n,t):void 0;if(!(o=pr(i||n,n.escapedText,t,r||c?void 0:l,n,!0)))return c}else{if(152!==n.kind&&193!==n.kind)throw e.Debug.assertNever(n,"Unknown entity name kind.");var d=152===n.kind?n.left:n.expression,u=152===n.kind?n.right:n.name,m=Gr(d,s,r,!1,i);if(!m||e.nodeIsMissing(u))return;if(m===fe)return m;if(e.isInJSFile(n)&&m.valueDeclaration&&e.isVariableDeclaration(m.valueDeclaration)&&m.valueDeclaration.initializer&&L_(m.valueDeclaration.initializer)){var p=m.valueDeclaration.initializer.arguments[0],f=Vr(p,p);if(f){var g=Kr(f);g&&(m=g)}}if(!(o=ur(Xr(m),u.escapedText,t)))return void(r||Xt(u,e.Diagnostics.Namespace_0_has_no_exported_member_1,Pr(m),e.declarationNameToString(u)))}return e.Debug.assert(0==(1&e.getCheckFlags(o)),"Should never get an instantiated symbol here."),o.flags&t||a?o:Or(o)}}function Fr(n){var t=n.parent.valueDeclaration;if(t)return(e.isAssignmentDeclaration(t)?e.getAssignedExpandoInitializer(t):e.hasOnlyExpressionInitializer(t)?e.getDeclaredExpandoInitializer(t):void 0)||t}function Vr(n,t,r){return Br(n,t,r?void 0:e.Diagnostics.Cannot_find_module_0)}function Br(n,t,r,a){return void 0===a&&(a=!1),e.isStringLiteralLike(t)?Ur(n,t.text,r,t,a):void 0}function Ur(t,r,a,i,o){(void 0===o&&(o=!1),e.startsWith(r,"@types/"))&&Xt(i,e.Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,e.removePrefix(r,"@types/"),r);var s=Cs(r,!0);if(s)return s;var l=e.getSourceFileOfNode(t),c=e.getResolvedModule(l,r),d=c&&e.getResolutionDiagnostic(F,c),u=c&&!d&&n.getSourceFile(c.resolvedFileName);if(u)return u.symbol?(c.isExternalLibraryImport&&!e.resolutionExtensionIsTSOrJson(c.extension)&&Hr(!1,i,c,r),Zr(u.symbol)):void(a&&Xt(i,e.Diagnostics.File_0_is_not_a_module,u.fileName));if(an){var m=e.findBestPatternMatch(an,(function(e){return e.pattern}),r);if(m){var p=on&&on.get(r);return Zr(p?p:m.symbol)}}if(c&&!e.resolutionExtensionIsTSOrJson(c.extension)&&void 0===d||d===e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type)o?Xt(i,e.Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented,r,c.resolvedFileName):Hr(q&&!!a,i,c,r);else if(a){if(c){var f=n.getProjectReferenceRedirect(c.resolvedFileName);if(f)return void Xt(i,e.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,f,c.resolvedFileName)}if(d)Xt(i,d,r,c.resolvedFileName);else{var g=e.tryExtractTSExtension(r);if(g)Xt(i,e.Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead,g,e.removeExtension(r,g));else!F.resolveJsonModule&&e.fileExtensionIs(r,".json")&&e.getEmitModuleResolutionKind(F)===e.ModuleResolutionKind.NodeJs&&e.hasJsonModuleEmitEnabled(F)?Xt(i,e.Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,r):Xt(i,a,r)}}}function Hr(n,t,r,a){var i,o=r.packageId,s=r.resolvedFileName,l=!e.isExternalModuleNameRelative(a)&&o?(i=o.name,p().has(e.getTypesPackageName(i))?e.chainDiagnosticMessages(void 0,e.Diagnostics.If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1,o.name,e.mangleScopedPackageName(o.name)):e.chainDiagnosticMessages(void 0,e.Diagnostics.Try_npm_install_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,a,e.mangleScopedPackageName(o.name))):void 0;Yt(n,t,e.chainDiagnosticMessages(l,e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,a,s))}function Kr(n,t){if(n){var r=function(n,t){if(!n||n===fe||n===t||1===t.exports.size||2097152&n.flags)return n;var r=lr(n);if(r.cjsExportMerged)return r.cjsExportMerged;var a=33554432&n.flags?n:tr(n);a.flags=512|a.flags,void 0===a.exports&&(a.exports=e.createSymbolTable());return t.exports.forEach((function(e,n){"export="!==n&&a.exports.set(n,a.exports.has(n)?rr(a.exports.get(n),e):e)})),lr(a).cjsExportMerged=a,r.cjsExportMerged=a}(Zr(Mr(n.exports.get("export="),t)),Zr(n));return Zr(r)||n}}function jr(n,t,r,a){var i=Kr(n,r);if(!r&&i){if(!(a||1539&i.flags||e.getDeclarationOfKind(i,288))){var o=B>=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";return Xt(t,e.Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,o),i}if(F.esModuleInterop){var s=t.parent;if(e.isImportDeclaration(s)&&e.getNamespaceDeclarationNode(s)||e.isImportCall(s)){var l=Ri(i),c=ys(l,0);if(c&&c.length||(c=ys(l,1)),c&&c.length){var d=S_(l,i,n),u=Zt(i.flags,i.escapedName);u.declarations=i.declarations?i.declarations.slice():[],u.parent=i.parent,u.target=i,u.originatingImport=s,i.valueDeclaration&&(u.valueDeclaration=i.valueDeclaration),i.constEnumOnlyModule&&(u.constEnumOnlyModule=!0),i.members&&(u.members=e.cloneMap(i.members)),i.exports&&(u.exports=e.cloneMap(i.exports));var m=Xo(d);return u.type=ga(u,m.members,e.emptyArray,e.emptyArray,m.stringIndexInfo,m.numberIndexInfo),u}}}}return i}function Wr(e){return void 0!==e.exports.get("export=")}function qr(e){return As(Jr(e))}function zr(e,n){var t=Jr(n);if(t)return t.get(e)}function Xr(e){return 6256&e.flags?_o(e,"resolvedExports"):1536&e.flags?Jr(e):e.exports||P}function Jr(e){var n=lr(e);return n.resolvedExports||(n.resolvedExports=Qr(e))}function Yr(n,t,r,a){t&&t.forEach((function(t,i){if("default"!==i){var o=n.get(i);if(o){if(r&&a&&o&&Mr(o)!==Mr(t)){var s=r.get(i);s.exportsWithDuplicate?s.exportsWithDuplicate.push(a):s.exportsWithDuplicate=[a]}}else n.set(i,t),r&&a&&r.set(i,{specifierText:e.getTextOfNode(a.moduleSpecifier)})}}))}function Qr(n){var t=[];return function n(r){if(!(r&&r.exports&&e.pushIfUnique(t,r)))return;var a=e.cloneMap(r.exports),i=r.exports.get("__export");if(i){for(var o=e.createSymbolTable(),s=e.createMap(),l=0,c=i.declarations;l=d?c.substr(0,d-"...".length)+"...":c}function Ma(e,n){var t=Oa(e.symbol)?Ia(e,e.symbol.valueDeclaration):Ia(e),r=Oa(n.symbol)?Ia(n,n.symbol.valueDeclaration):Ia(n);return t===r&&(t=Ia(e,void 0,64),r=Ia(n,void 0,64)),[t,r]}function Oa(n){return n&&n.valueDeclaration&&e.isExpression(n.valueDeclaration)&&!yd(n.valueDeclaration)}function ka(e){return void 0===e&&(e=0),9469291&e}function Na(n,t,r,a){return void 0===r&&(r=16384),a?i(a).getText():e.usingSingleLineStringWriter(i);function i(a){var i=e.createTypePredicateNodeWithModifier(2===n.kind||3===n.kind?e.createToken(123):void 0,1===n.kind||3===n.kind?e.createIdentifier(n.parameterName):e.createThisTypeNode(),n.type&&Q.typeToTypeNode(n.type,t,70222336|ka(r))),o=e.createPrinter({removeComments:!0}),s=t&&e.getSourceFileOfNode(t);return o.writeNode(4,i,s,a),a}}function wa(e){return 8===e?"private":16===e?"protected":"public"}function Pa(n){return n&&n.parent&&249===n.parent.kind&&e.isExternalModuleAugmentation(n.parent.parent)}function Ga(n){return 288===n.kind||e.isAmbientModule(n)}function Fa(n,t){var r=n.nameType;if(r){if(384&r.flags){var a=""+r.value;return e.isIdentifierText(a,F.target)||Mf(a)?Mf(a)&&e.startsWith(a,"-")?"["+a+"]":a:'"'+e.escapeString(a,34)+'"'}if(8192&r.flags)return"["+Va(r.symbol,t)+"]"}}function Va(n,t){if(t&&"default"===n.escapedName&&!(16384&t.flags)&&(!(16777216&t.flags)||!n.declarations||t.enclosingDeclaration&&e.findAncestor(n.declarations[0],Ga)!==e.findAncestor(t.enclosingDeclaration,Ga)))return"default";if(n.declarations&&n.declarations.length){var r=e.firstDefined(n.declarations,(function(n){return e.getNameOfDeclaration(n)?n:void 0})),a=r&&e.getNameOfDeclaration(r);if(r&&a){if(e.isCallExpression(r)&&e.isBindableObjectDefinePropertyCall(r))return e.symbolName(n);if(e.isComputedPropertyName(a)&&!(4096&e.getCheckFlags(n))&&n.nameType&&384&n.nameType.flags){var i=Fa(n,t);if(void 0!==i)return i}return e.declarationNameToString(a)}if(r||(r=n.declarations[0]),r.parent&&241===r.parent.kind)return e.declarationNameToString(r.parent.name);switch(r.kind){case 213:case 200:case 201:return!t||t.encounteredError||131072&t.flags||(t.encounteredError=!0),213===r.kind?"(Anonymous class)":"(Anonymous function)"}}var o=Fa(n,t);return void 0!==o?o:e.symbolName(n)}function Ba(n){if(n){var t=cr(n);return void 0===t.isVisible&&(t.isVisible=!!function(){switch(n.kind){case 308:case 315:case 309:return!!(n.parent&&n.parent.parent&&n.parent.parent.parent&&e.isSourceFile(n.parent.parent.parent));case 190:return Ba(n.parent.parent);case 241:if(e.isBindingPattern(n.name)&&!n.name.elements.length)return!1;case 248:case 244:case 245:case 246:case 243:case 247:case 252:if(e.isExternalModuleAugmentation(n))return!0;var t=qa(n);return 1&e.getCombinedModifierFlags(n)||252!==n.kind&&288!==t.kind&&8388608&t.flags?Ba(t):dr(t);case 158:case 157:case 162:case 163:case 160:case 159:if(e.hasModifier(n,24))return!1;case 161:case 165:case 164:case 166:case 155:case 249:case 169:case 170:case 172:case 168:case 173:case 174:case 177:case 178:case 181:return Ba(n.parent);case 254:case 255:case 257:return!1;case 154:case 288:case 251:return!0;case 258:default:return!1}}()),t.isVisible}return!1}function Ua(n,t){var r,a,i;return n.parent&&258===n.parent.kind?r=pr(n,n.escapedText,2998271,void 0,n,!1):261===n.parent.kind&&(r=Cr(n.parent,2998271)),r&&((i=e.createMap()).set(""+D(r),!0),function n(r){e.forEach(r,(function(r){var o=Er(r)||r;if(t?cr(r).isVisible=!0:(a=a||[],e.pushIfUnique(a,o)),e.isInternalModuleImportEqualsDeclaration(r)){var s=r.moduleReference,l=pr(r,e.getFirstIdentifier(s).escapedText,901119,void 0,void 0,!1),c=l&&""+D(l);l&&!i.has(c)&&(i.set(c,!0),n(l.declarations))}}))}(r.declarations)),a}function Ha(e,n){var t=Ka(e,n);if(t>=0){for(var r=ht.length,a=t;a=0;t--){if(ja(ht[t],Et[t]))return-1;if(ht[t]===e&&Et[t]===n)return t}return-1}function ja(n,t){switch(t){case 0:return!!lr(n).type;case 5:return!!cr(n).resolvedEnumType;case 2:return!!lr(n).declaredType;case 1:return!!n.resolvedBaseConstructorType;case 3:return!!n.resolvedReturnType;case 4:return!!n.immediateBaseConstraint;case 6:return!!lr(n).resolvedJSDocType;case 7:return!!n.resolvedTypeArguments}return e.Debug.assertNever(t)}function Wa(){return ht.pop(),Et.pop(),bt.pop()}function qa(n){return e.findAncestor(e.getRootDeclaration(n),(function(e){switch(e.kind){case 241:case 242:case 257:case 256:case 255:case 254:return!1;default:return!0}})).parent}function za(e,n){var t=_s(e,n);return t?Ri(t):void 0}function Xa(e){return e&&0!=(1&e.flags)}function Ja(e){var n=$r(e);return n&&lr(n).type||oi(e,!1)}function Ya(n){return 153===n.kind&&!e.isStringOrNumericLiteralLike(n.expression)}function Qa(n,t,r){if(131072&(n=sp(n,(function(e){return!(98304&e.flags)}))).flags)return We;if(1048576&n.flags)return cp(n,(function(e){return Qa(e,t,r)}));var a=Xl(e.map(t,rc));if(pc(n)||fc(a)){if(131072&a.flags)return n;var i=Hn||(Hn=xl("Omit",524288,e.Diagnostics.Cannot_find_global_type_0));return i?ul(i,[n,a]):he}for(var o=e.createSymbolTable(),s=0,l=Zo(n);s=2?(a=_e,Nl(Ol(!0),[a])):vn;var l=Bl(e.map(i,(function(n){return e.isOmittedExpression(n)?_e:mi(n,t,r)})),e.findLastIndex(i,(function(n){return!e.isOmittedExpression(n)&&!Af(n)}),i.length-(s?2:1))+1,s);return t&&((l=ol(l)).pattern=n),l}function fi(n,t,r){return void 0===t&&(t=!1),void 0===r&&(r=!1),188===n.kind?function(n,t,r){var a,i=e.createSymbolTable(),o=524416;e.forEach(n.elements,(function(e){var n=e.propertyName||e.name;if(e.dotDotDotToken)a=Zs(_e,!1);else{var s=rc(n);if(lo(s)){var l=fo(s),c=Zt(4|(e.initializer?16777216:0),l);c.type=mi(e,t,r),c.bindingElement=e,i.set(c.escapedName,c)}else o|=512}}));var s=ga(void 0,i,e.emptyArray,e.emptyArray,a,void 0);return s.objectFlags|=o,t&&(s.pattern=n),s}(n,t,r):pi(n,t,r)}function gi(e,n){return _i(oi(e,!0),e,n)}function _i(n,t,r){return n?(r&&nm(t,n),8192&n.flags&&(e.isBindingElement(t)||!t.type)&&n.symbol!==$r(t)&&(n=Ne),Zu(n)):(n=e.isParameter(t)&&t.dotDotDotToken?vn:_e,r&&(yi(t)||em(t,n)),n)}function yi(n){var t=e.getRootDeclaration(n);return nv(155===t.kind?t.parent:t)}function vi(n){var t=e.getEffectiveTypeAnnotationNode(n);if(t)return qc(t)}function hi(n){var t=lr(n);if(!t.type){var r=function(n){if(4194304&n.flags)return(t=$i(ea(n))).typeParameters?il(t,e.map(t.typeParameters,(function(e){return _e}))):t;var t;if(n===re)return _e;if(134217728&n.flags){var r=$r(e.getSourceFileOfNode(n.valueDeclaration)),a=e.createSymbolTable();return a.set("exports",r),ga(n,a,e.emptyArray,e.emptyArray,void 0,void 0)}var i,o=n.valueDeclaration;if(e.isCatchClauseVariableDeclarationOrBindingElement(o))return _e;if(e.isSourceFile(o)&&e.isJsonSourceFile(o)){if(!o.statements.length)return We;var s=Au(Fy(o.statements[0].expression));return 524288&s.flags?zu(s):s}if(!Ha(n,0))return 512&n.flags&&!(67108864&n.flags)?xi(n):Di(n);if(258===o.kind)i=_i(Ty(o.expression),o);else if(e.isBinaryExpression(o)||e.isInJSFile(o)&&(e.isCallExpression(o)||(e.isPropertyAccessExpression(o)||e.isBindableStaticElementAccessExpression(o))&&e.isBinaryExpression(o.parent)))i=si(n);else if(e.isJSDocPropertyLikeTag(o)||e.isPropertyAccessExpression(o)||e.isElementAccessExpression(o)||e.isIdentifier(o)||e.isStringLiteralLike(o)||e.isNumericLiteral(o)||e.isClassDeclaration(o)||e.isFunctionDeclaration(o)||e.isMethodDeclaration(o)&&!e.isObjectLiteralMethod(o)||e.isMethodSignature(o)||e.isSourceFile(o)){if(9136&n.flags)return xi(n);i=e.isBinaryExpression(o.parent)?si(n):vi(o)||_e}else if(e.isPropertyAssignment(o))i=vi(o)||Dy(o);else if(e.isJsxAttribute(o))i=vi(o)||Vf(o);else if(e.isShorthandPropertyAssignment(o))i=vi(o)||Cy(o.name,0);else if(e.isObjectLiteralMethod(o))i=vi(o)||Ry(o,0);else if(e.isParameter(o)||e.isPropertyDeclaration(o)||e.isPropertySignature(o)||e.isVariableDeclaration(o)||e.isBindingElement(o))i=gi(o,!0);else if(e.isEnumDeclaration(o))i=xi(n);else if(e.isEnumMember(o))i=Ci(n);else{if(!e.isAccessor(o))return e.Debug.fail("Unhandled declaration kind! "+e.Debug.formatSyntaxKind(o.kind)+" for "+e.Debug.formatSymbol(n));i=Li(n)}if(!Wa())return 512&n.flags&&!(67108864&n.flags)?xi(n):Di(n);return i}(n);t.type||(t.type=r)}return t.type}function bi(n){if(n)return 162===n.kind?e.getEffectiveReturnTypeNode(n):e.getEffectiveSetAccessorTypeAnnotationNode(n)}function Ei(e){var n=bi(e);return n&&qc(n)}function Ti(e){return Gs(ks(e))}function Si(n){var t=lr(n);return t.type||(t.type=function(n){if(!Ha(n,0))return he;var t=Li(n);if(!Wa()){if(t=_e,q)Xt(e.getDeclarationOfKind(n,162),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,Da(n))}return t}(n))}function Li(n){var t=e.getDeclarationOfKind(n,162),r=e.getDeclarationOfKind(n,163);if(t&&e.isInJSFile(t)){var a=ti(t);if(a)return a}var i=Ei(t);if(i)return i;var o=Ei(r);return o||(t&&t.body?W_(t):(r?nv(r)||Yt(q,r,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,Da(n)):(e.Debug.assert(!!t,"there must exist a getter as we are current checking either setter or getter in this function"),nv(t)||Yt(q,t,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,Da(n))),_e))}function Ai(n){var t=Hi(Wi(n));return 8650752&t.flags?t:2097152&t.flags?e.find(t.types,(function(e){return!!(8650752&e.flags)})):void 0}function xi(n){var t=lr(n),r=t;if(!t.type){var a=e.getDeclarationOfExpando(n.valueDeclaration);if(a){var i=h_(n,$r(a));i&&(n=t=i)}r.type=t.type=function(n){var t=n.valueDeclaration;if(1536&n.flags&&e.isShorthandAmbientModuleSymbol(n))return _e;if(208===t.kind||(193===t.kind||194===t.kind)&&208===t.parent.kind)return si(n);if(512&n.flags&&t&&e.isSourceFile(t)&&t.commonJsModuleIndicator){var r=Kr(n);if(r!==n){if(!Ha(n,0))return he;var a=Zr(n.exports.get("export=")),i=si(a,a===r?void 0:r);return Wa()?i:Di(n)}}var o=da(16,n);if(32&n.flags){var s=Ai(n);return s?nc([o,s]):o}return H&&16777216&n.flags?Fu(o):o}(n)}return t.type}function Ci(e){var n=lr(e);return n.type||(n.type=Qi(e))}function Di(n){var t=n.valueDeclaration;return e.getEffectiveTypeAnnotationNode(t)?(Xt(n.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Da(n)),he):(q&&(155!==t.kind||t.initializer)&&Xt(n.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,Da(n)),_e)}function Ri(n){return 65536&e.getCheckFlags(n)?function(n){var t=lr(n);return t.type||(e.Debug.assertDefined(t.deferralParent),e.Debug.assertDefined(t.deferralConstituents),t.type=1048576&t.deferralParent.flags?Xl(t.deferralConstituents):nc(t.deferralConstituents)),t.type}(n):1&e.getCheckFlags(n)?function(e){var n=lr(e);if(!n.type){if(!Ha(e,0))return n.type=he;var t=pd(Ri(n.target),n.mapper);Wa()||(t=Di(e)),n.type=t}return n.type}(n):8192&e.getCheckFlags(n)?function(e){return fm(e.propertyType,e.mappedType,e.constraintType)}(n):7&n.flags?hi(n):9136&n.flags?xi(n):8&n.flags?Ci(n):98304&n.flags?Si(n):2097152&n.flags?function(e){var n=lr(e);if(!n.type){var t=Or(e);n.type=111551&t.flags?Ri(t):he}return n.type}(n):he}function Ii(n,t){return void 0!==n&&void 0!==t&&0!=(4&e.getObjectFlags(n))&&n.target===t}function Mi(n){return 4&e.getObjectFlags(n)?n.target:n}function Oi(n,t){return function n(r){if(7&e.getObjectFlags(r)){var a=Mi(r);return a===t||e.some(Ki(a),n)}if(2097152&r.flags)return e.some(r.types,n);return!1}(n)}function ki(n,t){for(var r=0,a=t;r0)return!0;if(8650752&e.flags){var n=is(e);return!!n&&Gi(n)}return!1}function Vi(n){return e.getEffectiveBaseTypeNode(n.symbol.valueDeclaration)}function Bi(n,t,r){var a=e.length(t),i=e.isInJSFile(r);return e.filter(vs(n,1),(function(n){return(i||a>=Ms(n.typeParameters))&&a<=e.length(n.typeParameters)}))}function Ui(n,t,r){var a=Bi(n,t,r),i=e.map(t,qc);return e.sameMap(a,(function(n){return e.some(n.typeParameters)?Ks(n,i,e.isInJSFile(r)):n}))}function Hi(n){if(!n.resolvedBaseConstructorType){var t=n.symbol.valueDeclaration,r=e.getEffectiveBaseTypeNode(t),a=Vi(n);if(!a)return n.resolvedBaseConstructorType=Ee;if(!Ha(n,1))return he;var i=Fy(a.expression);if(r&&a!==r&&(e.Debug.assert(!r.typeArguments),Fy(r.expression)),2621440&i.flags&&Xo(i),!Wa())return Xt(n.symbol.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,Da(n.symbol)),n.resolvedBaseConstructorType=he;if(!(1&i.flags||i===Ae||Fi(i))){var o=Xt(a.expression,e.Diagnostics.Type_0_is_not_a_constructor_function_type,Ia(i));if(262144&i.flags){var s=nl(i),l=be;if(s){var c=vs(s,1);c[0]&&(l=Vs(c[0]))}e.addRelatedInfo(o,e.createDiagnosticForNode(i.symbol.declarations[0],e.Diagnostics.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,Da(i.symbol),Ia(l)))}return n.resolvedBaseConstructorType=he}n.resolvedBaseConstructorType=i}return n.resolvedBaseConstructorType}function Ki(n){return n.resolvedBaseTypes||(8&n.objectFlags?n.resolvedBaseTypes=[Pl(Xl(n.typeParameters||e.emptyArray),n.readonly)]:96&n.symbol.flags?(32&n.symbol.flags&&function(n){n.resolvedBaseTypes=e.resolvingEmptyArray;var t=ms(Hi(n));if(!(2621441&t.flags))return n.resolvedBaseTypes=e.emptyArray;var r,a=Vi(n),i=t.symbol?$i(t.symbol):void 0;if(t.symbol&&32&t.symbol.flags&&function(e){var n=e.outerTypeParameters;if(n){var t=n.length-1,r=ll(e);return n[t].symbol!==r[t].symbol}return!0}(i))r=dl(a,t.symbol);else if(1&t.flags)r=t;else{var o=Ui(t,a.typeArguments,a);if(!o.length)return Xt(a.expression,e.Diagnostics.No_base_constructor_has_the_specified_number_of_type_arguments),n.resolvedBaseTypes=e.emptyArray;r=Vs(o[0])}if(r===he)return n.resolvedBaseTypes=e.emptyArray;if(!ji(r))return Xt(a.expression,e.Diagnostics.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members,Ia(r)),n.resolvedBaseTypes=e.emptyArray;if(n===r||Oi(r,n))return Xt(n.symbol.valueDeclaration,e.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,Ia(n,void 0,2)),n.resolvedBaseTypes=e.emptyArray;n.resolvedBaseTypes===e.resolvingEmptyArray&&(n.members=void 0);n.resolvedBaseTypes=[r]}(n),64&n.symbol.flags&&function(n){n.resolvedBaseTypes=n.resolvedBaseTypes||e.emptyArray;for(var t=0,r=n.symbol.declarations;t=i?16384:0);return a.type=r===o?Pl(e):e,a}));return e.concatenate(n.parameters.slice(0,t),s)}}return n.parameters}function xo(e,n,t,r,a){for(var i=0,o=e;i0)return;for(var a=1;a1&&(r=void 0===r?a:-1);for(var i=0,o=n[a];i1){var d=s.thisParameter,u=e.forEach(l,(function(e){return e.thisParameter}));if(u)d=qu(u,nc(e.mapDefined(l,(function(e){return e.thisParameter&&Ri(e.thisParameter)}))));(c=So(s,l)).thisParameter=d}(t||(t=[])).push(c)}}}}if(!e.length(t)&&-1!==r){for(var m=n[void 0!==r?r:0],p=m.slice(),f=function(n){if(n!==m){var t=n[0];if(e.Debug.assert(!!t,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass"),!(p=t.typeParameters&&e.some(p,(function(e){return!!e.typeParameters}))?void 0:e.map(p,(function(n){return function(n,t){var r=n.declaration,a=function(e,n){for(var t=k_(e),r=k_(n),a=t>=r?e:n,i=a===e?n:e,o=a===e?t:r,s=w_(e)||w_(n),l=s&&!w_(a),c=new Array(o+(l?1:0)),d=0;d=N_(a)&&d>=N_(i),_=d>=t?void 0:R_(e,d),y=d>=r?void 0:R_(n,d),v=Zt(1|(g&&!f?16777216:0),(_===y?_:_?y?void 0:_:y)||"arg"+d);v.type=f?Pl(p):p,c[d]=v}if(l){var h=Zt(1,"args");h.type=Pl(I_(i,o)),c[o]=h}return c}(n,t),i=function(e,n){if(!e||!n)return e||n;var t=nc([Ri(e),Ri(n)]);return qu(e,t)}(n.thisParameter,t.thisParameter),o=Math.max(n.minArgumentCount,t.minArgumentCount),s=Eo(r,n.typeParameters||t.typeParameters,i,a,void 0,void 0,o,3&(n.flags|t.flags));return s.unionSignatures=e.concatenate(n.unionSignatures||[n],[t]),s}(n,t)}))))return"break"}},g=0,_=n;g<_.length;g++){if("break"===f(_[g]))break}t=p}return t||e.emptyArray}function Ro(e,n){for(var t=[],r=!1,a=0,i=e;a0})),r=e.map(n,Gi);if(t>0&&t===e.countWhere(r,(function(e){return e}))){var a=r.indexOf(!0);r[a]=!1}return r}function No(n){for(var t,r,a,i,o=n.types,s=ko(o),l=e.countWhere(s,(function(e){return e})),c=function(c){var d=n.types[c];if(!s[c]){var u=vs(d,1);u.length&&l>0&&(u=e.map(u,(function(e){var n=To(e);return n.resolvedReturnType=function(e,n,t,r){for(var a=[],i=0;i=u&&o<=m){var p=m?Ws(d,Os(i,d.typeParameters,u,a)):To(d);p.typeParameters=n.localTypeParameters,p.resolvedReturnType=n,s.push(p)}}return s}(d)),n.constructSignatures=a}}}function Go(n){if(131069&n.flags)return n;if(4194304&n.flags)return sc(ms(n.type));if(16777216&n.flags){if(n.root.isDistributive){var t=n.checkType,r=Go(t);if(r!==t)return md(n,$c(Yc(n.root.checkType,r),n.mapper))}return n}return 1048576&n.flags?Xl(e.sameMap(n.types,Go)):2097152&n.flags?nc(e.sameMap(n.types,Go)):Pe}function Fo(e){return e.typeParameter||(e.typeParameter=Zi($r(e.declaration.typeParameter)))}function Vo(e){return e.constraintType||(e.constraintType=es(Fo(e))||he)}function Bo(e){return e.templateType||(e.templateType=e.declaration.type?pd(ai(qc(e.declaration.type),!!(4&jo(e))),e.mapper||G):he)}function Uo(n){return e.getEffectiveConstraintOfTypeParameter(n.declaration.typeParameter)}function Ho(e){var n=Uo(e);return 183===n.kind&&133===n.operator}function Ko(e){if(!e.modifiersType)if(Ho(e))e.modifiersType=pd(qc(Uo(e).type),e.mapper||G);else{var n=Vo(Sc(e.declaration)),t=n&&262144&n.flags?es(n):n;e.modifiersType=t&&4194304&t.flags?pd(t.type,e.mapper||G):be}return e.modifiersType}function jo(e){var n=e.declaration;return(n.readonlyToken?40===n.readonlyToken.kind?2:1:0)|(n.questionToken?40===n.questionToken.kind?8:4:0)}function Wo(e){var n=jo(e);return 8&n?-1:4&n?1:0}function qo(e){var n=Wo(e),t=Ko(e);return n||(zo(t)?Wo(t):0)}function zo(n){return!!(32&e.getObjectFlags(n))&&fc(Vo(n))}function Xo(n){return n.members||(524288&n.flags?4&n.objectFlags?function(n){var t=so(n.target),r=e.concatenate(t.typeParameters,[t.thisType]),a=ll(n);bo(n,t,r,a.length===r.length?a:e.concatenate(a,[n]))}(n):3&n.objectFlags?function(n){bo(n,so(n),e.emptyArray,e.emptyArray)}(n):2048&n.objectFlags?function(n){for(var t=Es(n.source,0),r=jo(n.mappedType),a=!(1&r),i=4&r?0:16777216,o=t&&Zs(fm(t.type,n.mappedType,n.constraintType),a&&t.isReadonly),s=e.createSymbolTable(),l=0,c=Zo(n.source);l=50)return Xt(d,e.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite),t=!0,n.immediateBaseConstraint=Qe;L++;var r=function(e){if(262144&e.flags){var n=nl(e);return e.isThisType||!n?n:a(n)}if(3145728&e.flags){for(var t=e.types,r=[],i=0,o=t;i=99,Kn||(Kn=Cl("BigInt",0,t))||We):528&r.flags?gn:12288&r.flags?Rl(V>=2):67108864&r.flags?We:4194304&r.flags?Ke:2&r.flags&&!H?We:r}function ps(n,t){for(var r,a=e.createMap(),i=1048576&n.flags,o=i?24:0,s=i?0:16777216,l=4,c=0,d=0,u=n.types;d2?(x.checkFlags|=65536,x.deferralParent=n,x.deferralConstituents=b):x.type=i?Xl(b):nc(b),x}}function fs(n,t){var r=n.propertyCache||(n.propertyCache=e.createSymbolTable()),a=r.get(t);return a||(a=ps(n,t))&&r.set(t,a),a}function gs(n,t){var r=fs(n,t);return!r||16&e.getCheckFlags(r)?void 0:r}function _s(e,n){if(524288&(e=ms(e)).flags){var t=Xo(e),r=t.members.get(n);if(r&&ia(r))return r;var a=t===Ye?ln:t.callSignatures.length?cn:t.constructSignatures.length?dn:void 0;if(a){var i=Yo(a,n);if(i)return i}return Yo(sn,n)}if(3145728&e.flags)return gs(e,n)}function ys(n,t){if(3670016&n.flags){var r=Xo(n);return 0===t?r.callSignatures:r.constructSignatures}return e.emptyArray}function vs(e,n){return ys(ms(e),n)}function hs(e,n){if(3670016&e.flags){var t=Xo(e);return 0===n?t.stringIndexInfo:t.numberIndexInfo}}function bs(e,n){var t=hs(e,n);return t&&t.type}function Es(e,n){return hs(ms(e),n)}function Ts(e,n){return bs(ms(e),n)}function Ss(n,t){if(Wu(n)){for(var r=[],a=0,i=Zo(n);a=0),r>=N_(t)}var a=e.getImmediatelyInvokedFunctionExpression(n.parent);return!!a&&(!n.type&&!n.dotDotDotToken&&n.parent.parameters.indexOf(n)>=a.arguments.length)}function Rs(n){if(!e.isJSDocParameterTag(n))return!1;var t=n.isBracketed,r=n.typeExpression;return t||!!r&&297===r.type.kind}function Is(e,n,t,r){return{kind:e,parameterName:n,parameterIndex:t,type:r}}function Ms(n){var t,r=0;if(n)for(var a=0;a=r&&o<=i){for(var s=n?n.slice():[],l=o;lc.arguments.length&&!g||u||xs(p)||(o=a.length)}if(!(162!==n.kind&&163!==n.kind||po(n)||l&&s)){var _=162===n.kind?163:162,y=e.getDeclarationOfKind($r(n),_);y&&(s=(t=oE(y))&&t.symbol)}var v=161===n.kind?Wi(Zr(n.parent.symbol)):void 0,h=v?v.localTypeParameters:Ls(n);(e.hasRestParameter(n)||e.isInJSFile(n)&&function(n,t){if(e.isJSDocSignature(n)||!ws(n))return!1;var r=e.lastOrUndefined(n.parameters),a=r?e.getJSDocParameterTags(r):e.getJSDocTags(n).filter(e.isJSDocParameterTag),i=e.firstDefined(a,(function(n){return n.typeExpression&&e.isJSDocVariadicType(n.typeExpression.type)?n.typeExpression.type:void 0})),o=Zt(3,"args",32768);o.type=i?Pl(qc(i.type)):vn,i&&t.pop();return t.push(o),!0}(n,a))&&(i|=1),r.resolvedSignature=Eo(n,h,s,a,void 0,void 0,o,i)}return r.resolvedSignature}function Ns(n){var t=e.isInJSFile(n)?e.getJSDocTypeTag(n):void 0,r=t&&t.typeExpression&&Bg(qc(t.typeExpression));return r&&qs(r)}function ws(n){var t=cr(n);return void 0===t.containsArgumentsReference&&(8192&t.flags?t.containsArgumentsReference=!0:t.containsArgumentsReference=function n(t){if(!t)return!1;switch(t.kind){case 75:return"arguments"===t.escapedText&&e.isExpressionNode(t);case 158:case 160:case 162:case 163:return 153===t.name.kind&&n(t.name);default:return!e.nodeStartsNewLexicalEnvironment(t)&&!e.isPartOfTypeNode(t)&&!!e.forEachChild(t,n)}}(n.body)),t.containsArgumentsReference}function Ps(n){if(!n)return e.emptyArray;for(var t=[],r=0;r0&&a.body){var i=n.declarations[r-1];if(a.parent===i.parent&&a.kind===i.kind&&a.pos===i.end)continue}t.push(ks(a))}}return t}function Gs(e){if(e.thisParameter)return Ri(e.thisParameter)}function Fs(n){if(!n.resolvedTypePredicate){if(n.target){var t=Fs(n.target);n.resolvedTypePredicate=t?(o=t,s=n.mapper,Is(o.kind,o.parameterName,o.parameterIndex,pd(o.type,s))):Yn}else if(n.unionSignatures)n.resolvedTypePredicate=function(e){for(var n,t=[],r=0,a=e;r=0}function Hs(e){if(N(e)){var n=Ri(e.parameters[e.parameters.length-1]),t=Ru(n)?Iu(n):n;return t&&Ts(t,1)}}function Ks(e,n,t,r){var a=js(e,Os(n,e.typeParameters,Ms(e.typeParameters),t));if(r){var i=Ug(Vs(a));if(i){var o=To(i);o.typeParameters=r;var s=To(a);return s.resolvedReturnType=Js(o),s}}return a}function js(n,t){var r=n.instantiations||(n.instantiations=e.createMap()),a=rl(t),i=r.get(a);return i||r.set(a,i=Ws(n,t)),i}function Ws(e,n){return ad(e,function(e,n){return Qc(e.typeParameters,n)}(e,n),!0)}function qs(e){return e.typeParameters?e.erasedSignatureCache||(e.erasedSignatureCache=function(e){return ad(e,Zc(e.typeParameters),!0)}(e)):e}function zs(n){return n.typeParameters?n.canonicalSignatureCache||(n.canonicalSignatureCache=function(n){return Ks(n,e.map(n.typeParameters,(function(e){return e.target&&!es(e.target)?e.target:e})),e.isInJSFile(n.declaration))}(n)):n}function Xs(n){var t=n.typeParameters;if(t){var r=Zc(t);return ad(n,Qc(t,e.map(t,(function(e){return pd(is(e),r)||be}))),!0)}return n}function Js(n){if(!n.isolatedSignatureType){var t=n.declaration?n.declaration.kind:0,r=161===t||165===t||170===t,a=da(16);a.members=P,a.properties=e.emptyArray,a.callSignatures=r?e.emptyArray:[n],a.constructSignatures=r?[n]:e.emptyArray,n.isolatedSignatureType=a}return n.isolatedSignatureType}function Ys(e){return e.members.get("__index")}function Qs(n,t){var r=1===t?139:142,a=Ys(n);if(a)for(var i=0,o=a.declarations;i1&&(n+=":"+i),r+=i}return n}function al(n,t){for(var r=0,a=0,i=n;aa.length)){var l=s&&e.isExpressionWithTypeArguments(n)&&!e.isJSDocAugmentsTag(n.parent);if(Xt(n,o===a.length?l?e.Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag:e.Diagnostics.Generic_type_0_requires_1_type_argument_s:l?e.Diagnostics.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,Ia(r,void 0,2),o,a.length),!s)return he}return 168===n.kind&&Fl(n)?sl(r,n,void 0):il(r,e.concatenate(r.outerTypeParameters,Os(Tl(n),a,o,s)))}return bl(n,t)?r:he}function ul(n,t){var r=$i(n),a=lr(n),i=a.typeParameters,o=rl(t),s=a.instantiations.get(o);return s||a.instantiations.set(o,s=pd(r,Qc(i,Os(t,i,Ms(i),e.isInJSFile(n.valueDeclaration))))),s}function ml(n){switch(n.kind){case 168:return n.typeName;case 215:var t=n.expression;if(e.isEntityNameExpression(t))return t}}function pl(e,n,t){return e&&Gr(e,n,t)||fe}function fl(n,t){if(t===fe)return he;if(96&(t=function(n){var t=n.valueDeclaration;if(t&&e.isInJSFile(t)&&!(524288&n.flags)){var r=e.isVariableDeclaration(t)?e.getDeclaredExpandoInitializer(t):e.getAssignedExpandoInitializer(t);return r&&$r(r)||void 0}}(t)||t).flags)return dl(n,t);if(524288&t.flags)return function(n,t){var r=$i(t),a=lr(t).typeParameters;if(a){var i=e.length(n.typeArguments),o=Ms(a);return ia.length?(Xt(n,o===a.length?e.Diagnostics.Generic_type_0_requires_1_type_argument_s:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,Da(t),o,a.length),he):ul(t,Tl(n))}return bl(n,t)?r:he}(n,t);var r=eo(t);if(r)return bl(n,t)?262144&r.flags?vl(r,n):Uc(r):he;if(111551&t.flags&&hl(n)){var a=function(n,t){var r=Ri(t),a=r;if(t.valueDeclaration){var i=e.getRootDeclaration(t.valueDeclaration),o=!1;if(e.isVariableDeclaration(i)&&i.initializer){for(var s=i.initializer;e.isPropertyAccessExpression(s);)s=s.expression;o=e.isCallExpression(s)&&e.isRequireCall(s,!0)&&!!r.symbol}var l=t!==r.symbol&&Zr(t)===r.symbol,c=187===n.kind&&n.qualifier;r.symbol&&(o||c||l)&&(a=fl(n,r.symbol))}return lr(t).resolvedJSDocType=a}(n,t);return a||(pl(ml(n),788968),Ri(t))}return he}function gl(e,n){if(3&n.flags||n===e)return e;var t=Hl(e)+">"+Hl(n),r=ue.get(t);if(r)return r;var a=sa(33554432);return a.typeVariable=e,a.substitute=n,ue.set(t,a),a}function _l(e){return 174===e.kind&&1===e.elementTypes.length}function yl(e,n,t){return _l(n)&&_l(t)?yl(e,n.elementTypes[0],t.elementTypes[0]):Lc(qc(n))===e?qc(t):void 0}function vl(n,t){for(var r;t&&!e.isStatement(t)&&301!==t.kind;){var a=t.parent;if(179===a.kind&&t===a.trueType){var i=yl(n,a.checkType,a.extendsType);i&&(r=e.append(r,i))}t=a}return r?gl(n,nc(e.append(r,n))):n}function hl(e){return!!(4194304&e.flags)&&(168===e.kind||187===e.kind)}function bl(n,t){return!n.typeArguments||(Xt(n,e.Diagnostics.Type_0_is_not_generic,t?Da(t):n.typeName?e.declarationNameToString(n.typeName):"(anonymous)"),!1)}function El(n){var t=cr(n);if(!t.resolvedType){var r=void 0,a=void 0;hl(n)&&((a=function(n){if(e.isIdentifier(n.typeName)){var t=n.typeArguments;switch(n.typeName.escapedText){case"String":return bl(n),xe;case"Number":return bl(n),Ce;case"Boolean":return bl(n),ke;case"Void":return bl(n),we;case"Undefined":return bl(n),Ee;case"Null":return bl(n),Le;case"Function":case"function":return bl(n),ln;case"Array":case"array":return t&&t.length||q?void 0:vn;case"Promise":case"promise":return t&&t.length||q?void 0:H_(_e);case"Object":if(t&&2===t.length){if(e.isJSDocIndexSignature(n)){var r=qc(t[0]),a=Zs(qc(t[1]),!1);return ga(void 0,P,e.emptyArray,e.emptyArray,r===xe?a:void 0,r===Ce?a:void 0)}return _e}return bl(n),q?void 0:_e}}}(n))||((r=pl(ml(n),788968,!0))===fe?r=pl(ml(n),900095):pl(ml(n),788968),a=fl(n,r))),a||(a=fl(n,r=pl(ml(n),788968))),t.resolvedSymbol=r,t.resolvedType=a}return t.resolvedType}function Tl(n){return e.map(n.typeArguments,qc)}function Sl(e){var n=cr(e);return n.resolvedType||(n.resolvedType=Uc(Zu(Fy(e.exprName)))),n.resolvedType}function Ll(n,t){function r(e){for(var n=0,t=e.declarations;n=t?16777216:0),""+c,a?8:0);u.type=d,s.push(u)}}}var m=[];for(c=t;c<=l;c++)m.push(Kc(c));var p=Zt(4,"length");p.type=r?Ce:Xl(m),s.push(p);var f=da(12);return f.typeParameters=o,f.outerTypeParameters=void 0,f.localTypeParameters=o,f.instantiations=e.createMap(),f.instantiations.set(rl(f.typeParameters),f),f.target=f,f.resolvedTypeArguments=f.typeParameters,f.thisType=ua(),f.thisType.isThisType=!0,f.thisType.constraint=f,f.declaredProperties=s,f.declaredCallSignatures=e.emptyArray,f.declaredConstructSignatures=e.emptyArray,f.declaredStringIndexInfo=void 0,f.declaredNumberIndexInfo=void 0,f.minLength=t,f.hasRestElement=r,f.readonly=a,f.associatedNames=i,f}(n,t,r,a,i)),s}function Bl(e,n,t,r,a){void 0===n&&(n=e.length),void 0===t&&(t=!1),void 0===r&&(r=!1);var i=e.length;if(1===i&&t)return Pl(e[0],r);var o=Vl(i,n,i>0&&t,r,a);return e.length?il(o,e):o}function Ul(e,n){var t=e.target;return t.hasRestElement&&(n=Math.min(n,cl(e)-1)),Bl(ll(e).slice(n),Math.max(0,t.minLength-n),t.hasRestElement,t.readonly,t.associatedNames&&t.associatedNames.slice(n))}function Hl(e){return e.id}function Kl(n,t){return e.binarySearch(n,t,Hl,e.compareValues)>=0}function jl(n,t){var r=e.binarySearch(n,t,Hl,e.compareValues);return r<0&&(n.splice(~r,0,t),!0)}function Wl(n,t,r){var a=r.flags;if(1048576&a)return ql(n,t,r.types);if(!(131072&a))if(t|=68943871&a,66846720&a&&(t|=262144),r===ve&&(t|=4194304),!H&&98304&a)262144&e.getObjectFlags(r)||(t|=2097152);else{var i=n.length,o=i&&r.id>n[i-1].id?~i:e.binarySearch(n,r,Hl,e.compareValues);o<0&&n.splice(~o,0,r)}return t}function ql(e,n,t){for(var r=0,a=t;r0;)for(var o=n[--a],s=0,l=n;s(t?25e6:1e6))return Xt(d,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent),!1;if(i++,xd(o,c)&&(!(1&e.getObjectFlags(Mi(o)))||!(1&e.getObjectFlags(Mi(c)))||Dd(o,c))){e.orderedRemoveItemAt(n,a);break}}}return!0}function Xl(n,t,r,a){if(void 0===t&&(t=1),0===n.length)return Pe;if(1===n.length)return n[0];var i=[],o=ql(i,0,n);if(0!==t){if(3&o)return 1&o?4194304&o?ve:_e:be;switch(t){case 1:11136&o&&function(n,t){for(var r=n.length;r>0;){var a=n[--r];(128&a.flags&&4&t||256&a.flags&&8&t||2048&a.flags&&64&t||8192&a.flags&&4096&t||Hc(a)&&Kl(n,a.regularType))&&e.orderedRemoveItemAt(n,r)}}(i,o);break;case 2:if(!zl(i,!(262144&o)))return he}if(0===i.length)return 65536&o?2097152&o?Le:Ae:32768&o?2097152&o?Ee:Te:Pe}return Yl(i,66994211&o?0:131072,r,a)}function Jl(e,n){return e.kind===n.kind&&e.parameterIndex===n.parameterIndex}function Yl(e,n,t,r){if(0===e.length)return Pe;if(1===e.length)return e[0];var a=rl(e),i=se.get(a);return i||(i=sa(1048576),se.set(a,i),i.objectFlags=n|al(e,98304),i.types=e,i.aliasSymbol=t,i.aliasTypeArguments=r),i}function Ql(e,n,t){var r=t.flags;return 2097152&r?Zl(e,n,t.types):(jd(t)?8388608&n||(n|=8388608,e.set(t.id.toString(),t)):(3&r?t===ve&&(n|=4194304):!H&&98304&r||e.has(t.id.toString())||(109440&t.flags&&109440&n&&(n|=67108864),e.set(t.id.toString(),t)),n|=68943871&r),n)}function Zl(e,n,t){for(var r=0,a=t;r0;){var a=n[--r];(4&a.flags&&128&t||8&a.flags&&256&t||64&a.flags&&2048&t||4096&a.flags&&8192&t)&&e.orderedRemoveItemAt(n,r)}}(o,i),8388608&i&&524288&i&&e.orderedRemoveItemAt(o,e.findIndex(o,jd)),0===o.length)return be;if(1===o.length)return o[0];var s=rl(o),l=le.get(s);if(!l){if(1048576&i)if(function(n){var t,r=e.findIndex(n,(function(n){return!!(131072&e.getObjectFlags(n))}));if(r<0)return!1;for(var a=r+1;a=1e5)return Xt(d,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent),he;var c=e.findIndex(o,(function(e){return 0!=(1048576&e.flags)})),u=o[c];l=Xl(e.map(u.types,(function(n){return nc(e.replaceElement(o,c,n))})),1,t,r)}else l=function(e,n,t){var r=sa(2097152);return r.objectFlags=al(e,98304),r.types=e,r.aliasSymbol=n,r.aliasTypeArguments=t,r}(o,t,r);le.set(s,l)}return l}function tc(e,n){var t=sa(4194304);return t.type=e,t.stringsOnly=n,t}function rc(n){return e.isIdentifier(n)?Kc(e.unescapeLeadingUnderscores(n.escapedText)):Uc(e.isComputedPropertyName(n)?Of(n):Fy(n))}function ac(n,t){if(!(24&e.getDeclarationModifierFlagsFromSymbol(n))){var r=vo(n).nameType;if(!r&&!e.isKnownSymbol(n))if("default"===n.escapedName)r=Kc("default");else{var a=n.valueDeclaration&&e.getNameOfDeclaration(n.valueDeclaration);r=a&&rc(a)||Kc(e.symbolName(n))}if(r&&r.flags&t)return r}return Pe}function ic(n,t){return Xl(e.map(Zo(n),(function(e){return ac(e,t)})))}function oc(e){var n=Es(e,1);return n!==nt?n:void 0}function sc(n,t,r){return void 0===t&&(t=X),1048576&n.flags?nc(e.map(n.types,(function(e){return sc(e,t,r)}))):2097152&n.flags?Xl(e.map(n.types,(function(e){return sc(e,t,r)}))):cy(n,58982400)?function(e,n){return n?e.resolvedStringIndexType||(e.resolvedStringIndexType=tc(e,!0)):e.resolvedIndexType||(e.resolvedIndexType=tc(e,!1))}(n,t):32&e.getObjectFlags(n)?sp(Vo(n),(function(e){return!(r&&5&e.flags)})):n===ve?ve:2&n.flags?Pe:131073&n.flags?Ke:t?!r&&Es(n,0)?xe:ic(n,128):!r&&Es(n,0)?Xl([xe,Ce,ic(n,8192)]):oc(n)?Xl([Ce,ic(n,8320)]):ic(n,8576)}function lc(n){if(X)return n;var t=Un||(Un=xl("Extract",524288,e.Diagnostics.Cannot_find_global_type_0));return t?ul(t,[n,xe]):xe}function cc(n){return!q&&(!!(16384&e.getObjectFlags(n))||(1048576&n.flags?e.every(n.types,cc):2097152&n.flags?e.some(n.types,cc):!!(63176704&n.flags)&&cc(ls(n))))}function dc(n,t){var r=t&&194===t.kind?t:void 0;return lo(n)?fo(n):r&&Mg(r.argumentExpression,n,!1)?e.getPropertyNameForKnownSymbolName(e.idText(r.argumentExpression.name)):t&&e.isPropertyName(t)?e.getPropertyNameForPropertyNameNode(t):void 0}function uc(n,t,r,a,i,o,s){var l=o&&194===o.kind?o:void 0,c=dc(r,o);if(void 0!==c){var d=_s(t,c);if(d){if(l){if(xg(d,l,103===l.expression.kind),e.isAssignmentTarget(l)&&(iy(l,d)||oy(l)))return void Xt(l.argumentExpression,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,Da(d));4&s&&(cr(o).resolvedSymbol=d)}var u=Ri(d);return l&&1!==e.getAssignmentTargetKind(l)?Ip(l,u):u}if(op(t,Ru)&&Mf(c)&&+c>=0){if(o&&op(t,(function(e){return!e.target.hasRestElement}))&&!(8&s)){var m=mc(o);Ru(t)?Xt(m,e.Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2,Ia(t),cl(t),e.unescapeLeadingUnderscores(c)):Xt(m,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(c),Ia(t))}return h(Es(t,1)),cp(t,(function(e){return Iu(e)||Ee}))}}if(!(98304&r.flags)&&dy(r,12716)){if(131073&t.flags)return t;var p=Es(t,0),f=dy(r,296)&&Es(t,1)||p;if(f)return 1&s&&f===p?void(l&&Xt(l,e.Diagnostics.Type_0_cannot_be_used_to_index_type_1,Ia(r),Ia(n))):o&&!dy(r,12)?(Xt(m=mc(o),e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,Ia(r)),f.type):(h(f),f.type);if(131072&r.flags)return Pe;if(cc(t))return _e;if(l&&!my(t)){if(t.symbol===ee&&void 0!==c&&ee.exports.has(c)&&418&ee.exports.get(c).flags)Xt(l,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(c),Ia(t));else if(q&&!F.suppressImplicitAnyIndexErrors&&!i)if(void 0!==c&&bg(c,t))Xt(l,e.Diagnostics.Property_0_is_a_static_member_of_type_1,c,Ia(t));else if(Ts(t,1))Xt(l.argumentExpression,e.Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number);else{var g=void 0;if(void 0!==c&&(g=Tg(c,t)))void 0!==g&&Xt(l.argumentExpression,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,c,Ia(t),g);else{var _=function(n,t){var r=e.isAssignmentTarget(t)?"set":"get";if(!function(e,t){void 0===t&&(t=1);var r=Yo(n,e);if(r){var a=Bg(Ri(r));if(a&&N_(a)===t&&"string"===Ia(I_(a,0)))return!0}return!1}(r))return;var a=e.tryGetPropertyAccessOrIdentifierToString(t);void 0===a?a=r:a+="."+r;return a}(t,l);if(void 0!==_)Xt(l,e.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,Ia(t),_);else{var y=void 0;if(1024&r.flags)y=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+Ia(r)+"]",Ia(t));else if(8192&r.flags){var v=Pr(r.symbol,l);y=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+v+"]",Ia(t))}else 128&r.flags||256&r.flags?y=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,r.value,Ia(t)):12&r.flags&&(y=e.chainDiagnosticMessages(void 0,e.Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,Ia(r),Ia(t)));y=e.chainDiagnosticMessages(y,e.Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,Ia(a),Ia(t)),Gt.add(e.createDiagnosticForNodeFromMessageChain(l,y))}}}return}}if(cc(t))return _e;if(o){m=mc(o);384&r.flags?Xt(m,e.Diagnostics.Property_0_does_not_exist_on_type_1,""+r.value,Ia(t)):12&r.flags?Xt(m,e.Diagnostics.Type_0_has_no_matching_index_signature_for_type_1,Ia(t),Ia(r)):Xt(m,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,Ia(r))}return Xa(r)?r:void 0;function h(n){n&&n.isReadonly&&l&&(e.isAssignmentTarget(l)||e.isDeleteTarget(l))&&Xt(l,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,Ia(t))}}function mc(e){return 194===e.kind?e.argumentExpression:184===e.kind?e.indexType:153===e.kind?e.expression:e}function pc(e){return cy(e,59113472)}function fc(e){return cy(e,63176704)}function gc(e){return!!(262144&e.flags&&e.isThisType)}function _c(n,t){return 8388608&n.flags?function(n,t){var r=t?"simplifiedForWriting":"simplifiedForReading";if(n[r])return n[r]===Ze?n:n[r];n[r]=Ze;var a=_c(n.objectType,t),i=_c(n.indexType,t),o=function(n,t,r){if(1048576&t.flags){var a=e.map(t.types,(function(e){return _c(bc(n,e),r)}));return r?nc(a):Xl(a)}}(a,i,t);if(o)return n[r]=o;if(!(63176704&i.flags)){var s=yc(a,i,t);if(s)return n[r]=s}if(zo(a))return n[r]=cp(hc(a,n.indexType),(function(e){return _c(e,t)}));return n[r]=n}(n,t):16777216&n.flags?function(e,n){var t=e.checkType,r=e.extendsType,a=xc(e),i=Cc(e);if(131072&i.flags&&Lc(a)===Lc(t)){if(1&t.flags||Cd(gd(t),gd(r)))return _c(a,n);if(vc(t,r))return Pe}else if(131072&a.flags&&Lc(i)===Lc(t)){if(!(1&t.flags)&&Cd(gd(t),gd(r)))return Pe;if(1&t.flags||vc(t,r))return _c(i,n)}return e}(n,t):n}function yc(n,t,r){if(3145728&n.flags){var a=e.map(n.types,(function(e){return _c(bc(e,t),r)}));return 2097152&n.flags||r?nc(a):Xl(a)}}function vc(e,n){return!!(131072&Xl([Io(e,n),Pe]).flags)}function hc(e,n){var t=Qc([Fo(e)],[n]),r=$c(e.mapper,t);return pd(Bo(e),r)}function bc(e,n,t){return Ec(e,n,t,0)||(t?he:be)}function Ec(e,n,t,r){if(void 0===r&&(r=0),e===ve||n===ve)return ve;if(!Wd(e)||98304&n.flags||!dy(n,12)||(n=xe),fc(n)||(!t||184===t.kind)&&pc(e)){if(3&e.flags)return e;var a=e.id+","+n.id,i=de.get(a);return i||de.set(a,i=function(e,n){var t=sa(8388608);return t.objectType=e,t.indexType=n,t}(e,n)),i}var o=ms(e);if(1048576&n.flags&&!(16&n.flags)){for(var s=[],l=!1,c=0,d=n.types;c=a,r)})),o=jo(t),s=4&o?0:8&o?cl(n)-(n.target.hasRestElement?1:0):a,l=cd(n.target.readonly,o);return e.contains(i,he)?he:Bl(i,s,n.target.hasRestElement,l,n.target.associatedNames)}(a,n,i):ud(n,i)}return a}))}return ud(n,t)}(r,g):ud(r,g),i.instantiations.set(p,f)}return f}return n}function sd(n,t){if(n.symbol&&n.symbol.declarations&&1===n.symbol.declarations.length){for(var r=n.symbol.declarations[0].parent,a=t;a!==r;a=a.parent)if(!a||222===a.kind||179===a.kind&&e.forEachChild(a.extendsType,i))return!0;return!!e.forEachChild(t,i)}return!0;function i(t){switch(t.kind){case 182:return!!n.isThisType;case 75:return!n.isThisType&&e.isPartOfTypeNode(t)&&function(e){return!(152===e.kind||168===e.parent.kind&&e.parent.typeArguments&&e===e.parent.typeName||187===e.parent.kind&&e.parent.typeArguments&&e===e.parent.qualifier)}(t)&&qc(t)===n;case 171:return!0}return!!e.forEachChild(t,i)}}function ld(e){var n=Vo(e);if(4194304&n.flags){var t=Lc(n.type);if(262144&t.flags)return t}}function cd(e,n){return!!(1&n)||!(2&n)&&e}function dd(e,n,t,r){var a=$c(r,Qc([Fo(e)],[n])),i=pd(Bo(e.target||e),a),o=jo(e);return H&&4&o&&!Cd(Ee,i)?Fu(i):H&&8&o&&t?jm(i,524288):i}function ud(e,n){var t=da(64|e.objectFlags,e.symbol);if(32&e.objectFlags){t.declaration=e.declaration;var r=Fo(e),a=rd(r);t.typeParameter=a,n=$c(Yc(r,a),n),a.mapper=n}return t.target=e,t.mapper=n,t.aliasSymbol=e.aliasSymbol,t.aliasTypeArguments=Xc(e.aliasTypeArguments,n),t}function md(n,t){var r=n.root;if(r.outerTypeParameters){var a=e.map(r.outerTypeParameters,t),i=rl(a),o=r.instantiations.get(i);if(!o)o=function(e,n){if(e.isDistributive){var t=e.checkType,r=n(t);if(t!==r&&1179648&r.flags)return cp(r,(function(r){return Ac(e,ed(t,r,n))}))}return Ac(e,n)}(r,Qc(r.outerTypeParameters,a)),r.instantiations.set(i,o);return o}return n}function pd(n,t){if(!n||!t||t===G)return n;if(50===S||b>=5e6)return Xt(d,e.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite),he;b++,S++;var r=function(e,n){var t=e.flags;if(262144&t)return n(e);if(524288&t){var r=e.objectFlags;if(16&r)return um(e)?od(e,n):e;if(32&r)return od(e,n);if(4&r){if(e.node)return od(e,n);var a=e.resolvedTypeArguments,i=Xc(a,n);return i!==a?il(e.target,i):e}return e}if(1048576&t&&!(131068&t)){var o=e.types;return(s=Xc(o,n))!==o?Xl(s,1,e.aliasSymbol,Xc(e.aliasTypeArguments,n)):e}if(2097152&t){var s;o=e.types;return(s=Xc(o,n))!==o?nc(s,e.aliasSymbol,Xc(e.aliasTypeArguments,n)):e}if(4194304&t)return sc(pd(e.type,n));if(8388608&t)return bc(pd(e.objectType,n),pd(e.indexType,n));if(16777216&t)return md(e,$c(e.mapper,n));if(33554432&t){var l=pd(e.typeVariable,n);if(8650752&l.flags)return gl(l,pd(e.substitute,n));var c=pd(e.substitute,n);return 3&c.flags||Cd(gd(l),gd(c))?l:c}return e}(n,t);return S--,r}function fd(e){return 262143&e.flags?e:e.permissiveInstantiation||(e.permissiveInstantiation=pd(e,nd))}function gd(e){return 262143&e.flags?e:(e.restrictiveInstantiation||(e.restrictiveInstantiation=pd(e,td),e.restrictiveInstantiation.restrictiveInstantiation=e.restrictiveInstantiation),e.restrictiveInstantiation)}function _d(e,n){return e&&Zs(pd(e.type,n),e.isReadonly,e.declaration)}function yd(n){switch(e.Debug.assert(160!==n.kind||e.isObjectLiteralMethod(n)),n.kind){case 200:case 201:case 160:case 243:return vd(n);case 192:return e.some(n.properties,yd);case 191:return e.some(n.elements,yd);case 209:return yd(n.whenTrue)||yd(n.whenFalse);case 208:return(56===n.operatorToken.kind||60===n.operatorToken.kind)&&(yd(n.left)||yd(n.right));case 279:return yd(n.initializer);case 199:return yd(n.expression);case 272:return e.some(n.properties,yd)||e.isJsxOpeningElement(n.parent)&&e.some(n.parent.parent.children,yd);case 271:var t=n.initializer;return!!t&&yd(t);case 274:var r=n.expression;return!!r&&yd(r)}return!1}function vd(n){if(e.isFunctionDeclaration(n)&&(!e.isInJSFile(n)||!ti(n)))return!1;if(n.typeParameters)return!1;if(e.some(n.parameters,(function(n){return!e.getEffectiveTypeAnnotationNode(n)})))return!0;if(201!==n.kind){var t=e.firstOrUndefined(n.parameters);if(!t||!e.parameterIsThisKeyword(t))return!0}return hd(n)}function hd(e){return!!e.body&&222!==e.body.kind&&yd(e.body)}function bd(n){return(e.isInJSFile(n)&&e.isFunctionDeclaration(n)||Tf(n)||e.isObjectLiteralMethod(n))&&vd(n)}function Ed(n){if(524288&n.flags){var t=Xo(n);if(t.constructSignatures.length||t.callSignatures.length){var r=da(16,n.symbol);return r.members=t.members,r.properties=t.properties,r.callSignatures=e.emptyArray,r.constructSignatures=e.emptyArray,r}}else if(2097152&n.flags)return nc(e.map(n.types,Ed));return n}function Td(e,n){return Xd(e,n,jt)}function Sd(e,n){return Xd(e,n,jt)?-1:0}function Ld(e,n){return Xd(e,n,Ht)?-1:0}function Ad(e,n){return Xd(e,n,Ut)?-1:0}function xd(e,n){return Xd(e,n,Ut)}function Cd(e,n){return Xd(e,n,Ht)}function Dd(n,t){return 1048576&n.flags?e.every(n.types,(function(e){return Dd(e,t)})):1048576&t.flags?e.some(t.types,(function(e){return Dd(n,e)})):58982400&n.flags?Dd(is(n)||be,t):t===sn?!!(67633152&n.flags):t===ln?!!(524288&n.flags)&&Hm(n):Oi(n,Mi(t))}function Rd(e,n){return Xd(e,n,Kt)}function Id(e,n){return Rd(e,n)||Rd(n,e)}function Md(e,n,t,r,a,i){return Yd(e,n,Ht,t,r,a,i)}function Od(e,n,t,r,a,i){return kd(e,n,Ht,t,r,a,i,void 0)}function kd(e,n,t,r,a,i,o,s){return!!Xd(e,n,t)||(!r||!wd(a,e,n,t,i,o,s))&&Yd(e,n,t,r,i,o,s)}function Nd(n){return!!(16777216&n.flags||2097152&n.flags&&e.some(n.types,Nd))}function wd(n,t,r,a,i,o,c){if(!n||Nd(r))return!1;if(!Yd(t,r,a,void 0)&&function(n,t,r,a,i,o,s){for(var l=vs(t,0),c=vs(t,1),d=0,u=[c,l];d1,v=sp(g,bu),h=sp(g,(function(e){return!bu(e)}));if(y){if(v!==Pe){var b=Bl(Bf(u,0)),E=function(n,t){var r,a,i,o,s;return l(this,(function(l){switch(l.label){case 0:if(!e.length(n.children))return[2];r=0,a=0,l.label=1;case 1:return ad)return 0;n.typeParameters&&n.typeParameters!==t.typeParameters&&(n=Kg(n,t=zs(t),void 0,l));var u=k_(n),m=G_(n),p=G_(t);if(m&&p&&u!==d)return 0;var f=t.declaration?t.declaration.kind:0,g=!r&&K&&160!==f&&159!==f&&161!==f,_=-1,y=Gs(n);if(y&&y!==we){var v=Gs(t);if(v){if(!(T=!g&&l(y,v,!1)||l(v,y,i)))return i&&o(e.Diagnostics.The_this_types_of_each_signature_are_incompatible),0;_&=T}}for(var h=m||p?Math.min(u,d):Math.max(u,d),b=m||p?h-1:-1,E=0;E0||ub(n));if(p&&!function(e,n,t){for(var r=0,a=Zo(e);r0&&w(Vs(g[0]),t,!1)||_.length>0&&w(Vs(_[0]),t,!1)?O(e.Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,Ia(n),Ia(t)):O(e.Diagnostics.Type_0_has_no_properties_in_common_with_type_1,Ia(n),Ia(t))}return 0}var y=0,v=R(),b=!!s;if(1048576&n.flags)y=r===Kt?B(n,t,i&&!(131068&n.flags)):function(e,n,t){for(var r=-1,a=e.types,i=0,o=a;i0;if(T&&h--,524288&n.flags&&524288&t.flags){var S=c;N(n,t,i),c!==S&&(T=!!c)}if(524288&n.flags&&131068&t.flags)!function(n,t){var r=Oa(n.symbol)?Ia(n,n.symbol.valueDeclaration):Ia(n),a=Oa(t.symbol)?Ia(t,t.symbol.valueDeclaration):Ia(t);(pn===n&&xe===t||fn===n&&Ce===t||gn===n&&ke===t||Rl(!1)===n&&Ne===t)&&O(e.Diagnostics._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible,a,r)}(n,t);else if(n.symbol&&524288&n.flags&&sn===n)O(e.Diagnostics.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead);else if(d&&2097152&t.flags){var L=t.types,x=Hf(A.IntrinsicAttributes,a),C=Hf(A.IntrinsicClassAttributes,a);if(x!==he&&C!==he&&(e.contains(L,x)||e.contains(L,C)))return y}if(!o&&T)return f=[n,t],y;k(o,n,t)}return y}function P(e,n){for(var t=-1,r=0,a=e.types;r0||vs(n,r=1).length>0)return e.find(t.types,(function(e){return vs(e,r).length>0}))}(n,t)||function(n,t){for(var r,a=0,i=0,o=t.types;i=a&&(r=s,a=c)}else Tu(l)&&1>=a&&(r=s,a=1)}return r}(n,t)||a[a.length-1],!0);return 0}function V(n,t){if(1048576&t.flags&&2621440&n.flags){var r=Zo(n);if(r){var a=Fm(r,t);if(a)return Qd(t,e.map(a,(function(e){return[function(){return Ri(e)},e.escapedName]})),w)}}}function B(e,n,t){var r=e.types;if(1048576&e.flags&&Kl(r,n))return-1;for(var a=r.length,i=0;i25)return 0}for(var l=new Array(r.length),c=e.createUnderscoreEscapedMap(),d=0;d5?O(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,Ia(n),Ia(t),e.map(f.slice(0,4),(function(e){return Da(e)})).join(", "),f.length-4):O(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,Ia(n),Ia(t),e.map(f,(function(e){return Da(e)})).join(", ")),g&&c&&h++)}return 0}if(Tm(t))for(var y=0,v=W(Zo(n),s);y0&&e.every(t.properties,(function(e){return!!(16777216&e.flags)}))}return!!(2097152&n.flags)&&e.every(n.types,Zd)}function $d(n,t,r){var a=il(n,e.map(n.typeParameters,(function(e){return e===t?r:e})));return a.objectFlags|=8192,a}function eu(e){var n=lr(e);return nu(n.typeParameters,n,(function(t,r,a){var i=ul(e,Xc(n.typeParameters,Yc(r,a)));return i.aliasTypeArgumentsContainsMarker=!0,i}))}function nu(n,t,r){void 0===n&&(n=e.emptyArray);var a=t.variances;if(!a){t.variances=e.emptyArray,a=[];for(var i=function(e){var n=!1,i=!1,o=Xn;Xn=function(e){return e?i=!0:n=!0};var s=r(t,e,en),l=r(t,e,nn),c=(Cd(l,s)?1:0)|(Cd(s,l)?2:0);3===c&&Cd(r(t,e,Jn),s)&&(c=4),Xn=o,(n||i)&&(n&&(c|=8),i&&(c|=16)),a.push(c)},o=0,s=n;o":r+="-"+o.id}return r}function ou(e,n,t,r){if(r===jt&&e.id>n.id){var a=e;e=n,n=a}var i=t?"&":"";if(au(e)&&au(n)){var o=[];return iu(e,o)+","+iu(n,o)+i}return e.id+","+n.id+i}function su(n,t){if(!(6&e.getCheckFlags(n)))return t(n);for(var r=0,a=n.containingType.types;r=5&&524288&e.flags){var r=e.symbol;if(r)for(var a=0,i=0;i=5)return!0}}if(t>=5&&8388608&e.flags){var o=du(e);for(a=0,i=0;i=5)return!0}}return!1}function du(e){for(var n=e;8388608&n.flags;)n=n.objectType;return n}function uu(n,t,r){if(n===t)return-1;var a=24&e.getDeclarationModifierFlagsFromSymbol(n);if(a!==(24&e.getDeclarationModifierFlagsFromSymbol(t)))return 0;if(a){if(Rh(n)!==Rh(t))return 0}else if((16777216&n.flags)!=(16777216&t.flags))return 0;return ay(n)!==ay(t)?0:r(Ri(n),Ri(t))}function mu(n,t,r,a,i,o){if(n===t)return-1;if(!function(e,n,t){var r=k_(e),a=k_(n),i=N_(e),o=N_(n),s=w_(e),l=w_(n);return r===a&&i===o&&s===l||!!(t&&i<=o)}(n,t,r))return 0;if(e.length(n.typeParameters)!==e.length(t.typeParameters))return 0;if(t.typeParameters){for(var s=Qc(n.typeParameters,t.typeParameters),l=0;l-1&&(pr(o,o.name.escapedText,788968,void 0,o.name.escapedText,!0)||o.name.originalKeywordKind&&e.isTypeNodeKind(o.name.originalKeywordKind))){var s="arg"+o.parent.parameters.indexOf(o);return void Yt(q,n,e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,s,e.declarationNameToString(o.name))}i=n.dotDotDotToken?q?e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type:e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:q?e.Diagnostics.Parameter_0_implicitly_has_an_1_type:e.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 190:if(i=e.Diagnostics.Binding_element_0_implicitly_has_an_1_type,!q)return;break;case 298:return void Xt(n,e.Diagnostics.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,a);case 243:case 160:case 159:case 162:case 163:case 200:case 201:if(q&&!n.name)return void Xt(n,1===r?e.Diagnostics.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:e.Diagnostics.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,a);i=q?1===r?e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:e.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:e.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage;break;case 185:return void(q&&Xt(n,e.Diagnostics.Mapped_object_type_implicitly_has_an_any_template_type));default:i=q?e.Diagnostics.Variable_0_implicitly_has_an_1_type:e.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage}Yt(q,n,i,e.declarationNameToString(e.getNameOfDeclaration(n)),a)}}function nm(n,r,a){t&&q&&262144&e.getObjectFlags(r)&&(function n(t){var r=!1;if(262144&e.getObjectFlags(t)){if(1048576&t.flags)if(e.some(t.types,Kd))r=!0;else for(var a=0,i=t.types;ae.target.minLength||!Iu(n)&&(!!Iu(e)||Mu(n)0)for(var T=0,S=t;T1){var t=e.filter(n,Sm);if(t.length){var r=Xl(t,2);return e.concatenate(e.filter(n,(function(e){return!Sm(e)})),[r])}}return n}(n.candidates),o=(r=n.typeParameter,!!(a=es(r))&&cy(16777216&a.flags?ts(a):a,4325372)),s=!o&&n.topLevel&&(n.isFixed||!mm(Vs(t),n.typeParameter)),l=o?e.sameMap(i,Uc):s?e.sameMap(i,Au):i;return Zu(56&n.priority?Xl(l,2):function(n){if(!H)return pu(n);var t=e.filter(n,(function(e){return!(98304&e.flags)}));return t.length?Gu(pu(t),98304&ku(n)):Xl(n,2)}(l))}function xm(n,t){var r=n.inferences[t];if(!r.inferredType){var a=void 0,i=n.signature;if(i){var o=r.candidates?Am(r,i):void 0;if(r.contraCandidates){var s=Lm(r);a=!o||131072&o.flags||!xd(o,s)?s:o}else if(o)a=o;else if(1&n.flags)a=Ge;else{var l=ds(r.typeParameter);l&&(a=pd(l,$c(function(n,t){return function(r){return e.findIndex(n.inferences,(function(e){return e.typeParameter===r}))>=t?be:r}}(n,t),n.nonFixingMapper)))}}else a=vm(r);r.inferredType=a||Cm(!!(2&n.flags));var c=es(r.typeParameter);if(c){var d=pd(c,n.nonFixingMapper);a&&n.compareTypes(a,ho(d,a))||(r.inferredType=a=d)}}return r.inferredType}function Cm(e){return e?_e:be}function Dm(e){for(var n=[],t=0;t=0&&r.parameterIndex=r&&l-1){var d=i.filter((function(e){return void 0!==e})),u=l=2||0==(34&t.flags)||e.isSourceFile(t.valueDeclaration)||278===t.valueDeclaration.parent.kind)return;var r=e.getEnclosingBlockScopeContainer(t.valueDeclaration),a=function(n,t){return!!e.findAncestor(n,(function(n){return n===t?"quit":e.isFunctionLike(n)}))}(n.parent,r),i=r,o=!1;for(;i&&!e.nodeStartsNewLexicalEnvironment(i);){if(e.isIterationStatement(i,!1)){o=!0;break}i=i.parent}if(o){if(a){var s=!0;if(e.isForStatement(r)&&e.getAncestor(t.valueDeclaration,242).parent===r){var l=function(n,t){return e.findAncestor(n,(function(e){return e===t?"quit":e===t.initializer||e===t.condition||e===t.incrementor||e===t.statement}))}(n.parent,r);if(l){var c=cr(l);c.flags|=131072;var d=c.capturedBlockScopeBindings||(c.capturedBlockScopeBindings=[]);e.pushIfUnique(d,t),l===r.initializer&&(s=!1)}}s&&(cr(i).flags|=65536)}229===r.kind&&e.getAncestor(t.valueDeclaration,242).parent===r&&function(n,t){var r=n;for(;199===r.parent.kind;)r=r.parent;var a=!1;if(e.isAssignmentTarget(r))a=!0;else if(206===r.parent.kind||207===r.parent.kind){var i=r.parent;a=45===i.operator||46===i.operator}if(!a)return!1;return!!e.findAncestor(r,(function(e){return e===t?"quit":e===t.statement}))}(n,r)&&(cr(t.valueDeclaration).flags|=4194304),cr(t.valueDeclaration).flags|=524288}a&&(cr(t.valueDeclaration).flags|=262144)}(n,t);var o=Gp(Ri(a),n),s=e.getAssignmentTargetKind(n);if(s){if(!(3&a.flags||e.isInJSFile(n)&&512&a.flags))return Xt(n,e.Diagnostics.Cannot_assign_to_0_because_it_is_not_a_variable,Da(t)),he;if(ay(a))return 3&a.flags?Xt(n,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant,Da(t)):Xt(n,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,Da(t)),he}var l=2097152&a.flags;if(3&a.flags){if(1===s)return o}else{if(!l)return o;i=e.find(t.declarations,O)}if(!i)return o;for(var c=155===e.getRootDeclaration(i).kind,d=Mp(i),u=Mp(n),m=u!==d,p=n.parent&&n.parent.parent&&e.isSpreadAssignment(n.parent)&&Jm(n.parent.parent),f=134217728&t.flags;u!==d&&(200===u.kind||201===u.kind||e.isObjectLiteralOrClassExpressionMethod(u))&&(Np(a)||c&&!Op(a));)u=Mp(u);var g=c||l||m||p||f||e.isBindingElement(i)||o!==ye&&o!==hn&&(!H||0!=(16387&o.flags)||Mm(n)||261===n.parent.kind)||217===n.parent.kind||241===i.kind&&i.exclamationToken||8388608&i.flags,_=Ip(n,o,g?c?function(e,n){return H&&155===n.kind&&n.initializer&&32768&Nu(e)&&!(32768&Nu(Fy(n.initializer)))?jm(e,524288):e}(o,i):o:o===ye||o===hn?Ee:Fu(o),u,!g);if(Ep(n)||o!==ye&&o!==hn){if(!g&&!(32768&Nu(o))&&32768&Nu(_))return Xt(n,e.Diagnostics.Variable_0_is_used_before_being_assigned,Da(t)),o}else if(_===ye||_===hn)return q&&(Xt(e.getNameOfDeclaration(i),e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined,Da(t),Ia(_)),Xt(n,e.Diagnostics.Variable_0_implicitly_has_an_1_type,Da(t),Ia(_))),Gv(_);return s?Lu(_):_}function Bp(e,n){(cr(e).flags|=2,158===n.kind||161===n.kind)?cr(n.parent).flags|=4:cr(n).flags|=4}function Up(n){return e.isSuperCall(n)?n:e.isFunctionLike(n)?void 0:e.forEachChild(n,Up)}function Hp(e){var n=cr(e);return void 0===n.hasSuperCall&&(n.superCall=Up(e.body),n.hasSuperCall=!!n.superCall),n.superCall}function Kp(e){return Hi($i($r(e)))===Ae}function jp(n,t,r){var a=t.parent;if(e.getClassExtendsHeritageElement(a)&&!Kp(a)){var i=Hp(t);(!i||i.end>n.pos)&&Xt(n,r)}}function Wp(n){var t=e.getThisContainer(n,!0),r=!1;switch(161===t.kind&&jp(n,t,e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class),201===t.kind&&(t=e.getThisContainer(t,!1),r=!0),t.kind){case 248:Xt(n,e.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 247:Xt(n,e.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 161:zp(n,t)&&Xt(n,e.Diagnostics.this_cannot_be_referenced_in_constructor_arguments);break;case 158:case 157:e.hasModifier(t,32)&&Xt(n,e.Diagnostics.this_cannot_be_referenced_in_a_static_property_initializer);break;case 153:Xt(n,e.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name)}r&&V<2&&Bp(n,t);var a=qp(n,!0,t);if(z){var i=Ri(ee);if(a===i&&r)Xt(n,e.Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this);else if(!a){var o=Xt(n,e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!e.isSourceFile(t)){var s=qp(t);s&&s!==i&&e.addRelatedInfo(o,e.createDiagnosticForNode(t,e.Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container))}}}return a||_e}function qp(n,t,r){void 0===t&&(t=!0),void 0===r&&(r=e.getThisContainer(n,!1));var a=e.isInJSFile(n);if(e.isFunctionLike(r)&&(!ef(n)||e.getThisParameter(r))){var i=function(n){if(200===n.kind&&e.isBinaryExpression(n.parent)&&3===e.getAssignmentDeclarationKind(n.parent))return n.parent.left.expression.expression;if(160===n.kind&&192===n.parent.kind&&e.isBinaryExpression(n.parent.parent)&&6===e.getAssignmentDeclarationKind(n.parent.parent))return n.parent.parent.left.expression;if(200===n.kind&&279===n.parent.kind&&192===n.parent.parent.kind&&e.isBinaryExpression(n.parent.parent.parent)&&6===e.getAssignmentDeclarationKind(n.parent.parent.parent))return n.parent.parent.parent.left.expression;if(200===n.kind&&e.isPropertyAssignment(n.parent)&&e.isIdentifier(n.parent.name)&&("value"===n.parent.name.escapedText||"get"===n.parent.name.escapedText||"set"===n.parent.name.escapedText)&&e.isObjectLiteralExpression(n.parent.parent)&&e.isCallExpression(n.parent.parent.parent)&&n.parent.parent.parent.arguments[2]===n.parent.parent&&9===e.getAssignmentDeclarationKind(n.parent.parent.parent))return n.parent.parent.parent.arguments[0].expression;if(e.isMethodDeclaration(n)&&e.isIdentifier(n.name)&&("value"===n.name.escapedText||"get"===n.name.escapedText||"set"===n.name.escapedText)&&e.isObjectLiteralExpression(n.parent)&&e.isCallExpression(n.parent.parent)&&n.parent.parent.arguments[2]===n.parent&&9===e.getAssignmentDeclarationKind(n.parent.parent))return n.parent.parent.arguments[0].expression}(r);if(a&&i){var o=Fy(i).symbol;if(o&&o.members&&16&o.flags)return Ip(n,$i(o).thisType)}else if(a&&(200===r.kind||243===r.kind)&&e.getJSDocClassTag(r)){return Ip(n,$i(Zr(r.symbol)).thisType)}var s=Ti(r)||Qp(r);if(s)return Ip(n,s)}if(e.isClassLike(r.parent)){var l,c=$r(r.parent);return Ip(n,l=e.hasModifier(r,32)?Ri(c):$i(c).thisType)}if(a&&((l=function(n){var t=e.getJSDocType(n);if(t&&298===t.kind){var r=t;if(r.parameters.length>0&&r.parameters[0].name&&"this"===r.parameters[0].name.escapedText)return qc(r.parameters[0].type)}var a=e.getJSDocThisTag(n);if(a&&a.typeExpression)return qc(a.typeExpression)}(r))&&l!==he))return Ip(n,l);if(e.isSourceFile(r)){if(r.commonJsModuleIndicator){var d=$r(r);return d&&Ri(d)}if(t)return Ri(ee)}}function zp(n,t){return!!e.findAncestor(n,(function(n){return e.isFunctionLikeDeclaration(n)?"quit":155===n.kind&&n.parent===t}))}function Xp(n){var t=195===n.parent.kind&&n.parent.expression===n,r=e.getSuperContainer(n,!0),a=!1;if(!t)for(;r&&201===r.kind;)r=e.getSuperContainer(r,!0),a=V<2;var i=0;if(!function(n){if(!n)return!1;if(t)return 161===n.kind;if(e.isClassLike(n.parent)||192===n.parent.kind)return e.hasModifier(n,32)?160===n.kind||159===n.kind||162===n.kind||163===n.kind:160===n.kind||159===n.kind||162===n.kind||163===n.kind||158===n.kind||157===n.kind||161===n.kind;return!1}(r)){var o=e.findAncestor(n,(function(e){return e===r?"quit":153===e.kind}));return o&&153===o.kind?Xt(n,e.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name):t?Xt(n,e.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):r&&r.parent&&(e.isClassLike(r.parent)||192===r.parent.kind)?Xt(n,e.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class):Xt(n,e.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions),he}if(t||161!==r.kind||jp(n,r,e.Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),i=e.hasModifier(r,32)||t?512:256,cr(n).flags|=i,160===r.kind&&e.hasModifier(r,256)&&(e.isSuperProperty(n.parent)&&e.isAssignmentTarget(n.parent)?cr(r).flags|=4096:cr(r).flags|=2048),a&&Bp(n.parent,r),192===r.parent.kind)return V<2?(Xt(n,e.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),he):_e;var s=r.parent;if(!e.getClassExtendsHeritageElement(s))return Xt(n,e.Diagnostics.super_can_only_be_referenced_in_a_derived_class),he;var l=$i($r(s)),c=l&&Ki(l)[0];return c?161===r.kind&&zp(n,r)?(Xt(n,e.Diagnostics.super_cannot_be_referenced_in_constructor_arguments),he):512===i?Hi(l):ho(c,l.thisType):he}function Jp(n){return 4&e.getObjectFlags(n)&&n.target===yn?ll(n)[0]:void 0}function Yp(n){return cp(n,(function(n){return 2097152&n.flags?e.forEach(n.types,Jp):Jp(n)}))}function Qp(n){if(201!==n.kind){if(bd(n)){var t=Lf(n);if(t){var r=t.thisParameter;if(r)return Ri(r)}}var a=e.isInJSFile(n);if(z||a){var i=function(e){return 160!==e.kind&&162!==e.kind&&163!==e.kind||192!==e.parent.kind?200===e.kind&&279===e.parent.kind?e.parent.parent:void 0:e.parent}(n);if(i){for(var o=ff(i),s=i,l=o;l;){var c=Yp(l);if(c)return pd(c,dm(vf(i)));if(279!==s.parent.kind)break;l=ff(s=s.parent.parent)}return Zu(o?Vu(o):Ty(i))}var d=n.parent;if(208===d.kind&&62===d.operatorToken.kind){var u=d.left;if(193===u.kind||194===u.kind){var m=u.expression;if(a&&e.isIdentifier(m)){var p=e.getSourceFileOfNode(d);if(p.commonJsModuleIndicator&&Im(m)===p.symbol)return}return Zu(Ty(m))}}}}}function Zp(n,t){var r=n.parent;if(bd(r)){var a=e.getImmediatelyInvokedFunctionExpression(r);if(a&&a.arguments){var i=Qg(a),o=r.parameters.indexOf(n);if(n.dotDotDotToken)return Wg(i,o,i.length,_e,void 0);var s=cr(a),l=s.resolvedSignature;s.resolvedSignature=Qn;var c=o=0)return s}return Mf(t)&&lf(n,1)||lf(n,0)}}),!0)}function lf(e,n){return cp(e,(function(e){return bs(e,n)}),!0)}function cf(e,n){var t=ff(e.parent,n);if(t){if(!po(e)){var r=sf(t,$r(e).escapedName);if(r)return r}return Rf(e.name)&&lf(t,1)||lf(t,0)}}function df(e,n){return e&&(sf(e,""+n)||Yv(1,e,Ee,void 0,!1))}function uf(n){var t=n.parent;return e.isJsxAttributeLike(t)?yf(n):e.isJsxElement(t)?function(e,n){var t=ff(e.openingElement.tagName),r=qf(jf(e));if(t&&!Xa(t)&&r&&""!==r){var a=Fd(e.children),i=a.indexOf(n),o=sf(t,r);return o&&(1===a.length?o:cp(o,(function(e){return yu(e)?bc(e,Kc(i)):e}),!0))}}(t,n):void 0}function mf(n){if(e.isJsxAttribute(n)){var t=ff(n.parent);if(!t||Xa(t))return;return sf(t,n.name.escapedText)}return yf(n.parent)}function pf(e){switch(e.kind){case 10:case 8:case 9:case 14:case 105:case 90:case 99:case 75:case 145:return!0;case 193:case 199:return pf(e.expression);case 274:return!e.expression||pf(e.expression)}return!1}function ff(n,t){var r=gf(e.isObjectLiteralMethod(n)?function(n,t){if(e.Debug.assert(e.isObjectLiteralMethod(n)),!(16777216&n.flags))return cf(n,t)}(n,t):yf(n,t),n,t);if(r&&!(t&&2&t&&8650752&r.flags)){var a=cp(r,ms,!0);if(1048576&a.flags){if(e.isObjectLiteralExpression(n))return function(n,t){return Qd(t,e.map(e.filter(n.properties,(function(e){return!!e.symbol&&279===e.kind&&pf(e.initializer)&&Gm(t,e.symbol.escapedName)})),(function(e){return[function(){return Fy(e.initializer)},e.symbol.escapedName]})),Cd,t)}(n,a);if(e.isJsxAttributes(n))return function(n,t){return Qd(t,e.map(e.filter(n.properties,(function(e){return!!e.symbol&&271===e.kind&&Gm(t,e.symbol.escapedName)&&(!e.initializer||pf(e.initializer))})),(function(e){return[e.initializer?function(){return Fy(e.initializer)}:function(){return Me},e.symbol.escapedName]})),Cd,t)}(n,a)}return a}}function gf(n,t,r){if(n&&cy(n,63176704)){var a=vf(t);if(a&&e.some(a.inferences,Oy)){if(r&&1&r)return _f(n,a.nonFixingMapper);if(a.returnMapper)return _f(n,a.returnMapper)}}return n}function _f(n,t){return 63176704&n.flags?pd(n,t):1048576&n.flags?Xl(e.map(n.types,(function(e){return _f(e,t)})),0):2097152&n.flags?nc(e.map(n.types,(function(e){return _f(e,t)}))):n}function yf(n,t){if(!(16777216&n.flags)){if(n.contextualType)return n.contextualType;var r=n.parent;switch(r.kind){case 241:case 155:case 158:case 157:case 190:return function(n){var t=n.parent;if(e.hasInitializer(t)&&n===t.initializer){var r=$p(t);if(r)return r;if(e.isBindingPattern(t.name))return fi(t.name,!0,!1)}}(n);case 201:case 234:return function(n){var t=e.getContainingFunction(n);if(t){var r=e.getFunctionFlags(t);if(1&r)return;var a=tf(t);if(a){if(2&r){var i=iv(a);return i&&Xl([i,K_(i)])}return a}}}(n);case 211:return function(n){var t=e.getContainingFunction(n);if(t){var r=e.getFunctionFlags(t),a=tf(t);if(a)return n.asteriskToken?a:_h(0,a,0!=(2&r))}}(r);case 205:return function(e){var n=yf(e);if(n){var t=lv(n);return t&&Xl([t,K_(t)])}}(r);case 195:if(95===r.expression.kind)return xe;case 196:return rf(r,n,t);case 198:case 216:return e.isConstTypeReference(r.type)?void 0:qc(r.type);case 208:return of(n,t);case 279:case 280:return cf(r,t);case 281:return ff(r.parent,t);case 191:var a=r;return df(ff(a,t),e.indexOfNode(a.elements,n));case 209:return function(e,n){var t=e.parent;return e===t.whenTrue||e===t.whenFalse?yf(t,n):void 0}(n,t);case 220:return e.Debug.assert(210===r.parent.kind),function(e,n){if(197===e.parent.kind)return rf(e.parent,n)}(r.parent,n);case 199:var i=e.isInJSFile(r)?e.getJSDocTypeTag(r):void 0;return i?qc(i.typeExpression.type):yf(r,t);case 274:return uf(r);case 271:case 273:return mf(r);case 266:case 265:return function(n){if(e.isJsxOpeningElement(n)&&n.parent.contextualType)return n.parent.contextualType;return af(n,0)}(r)}}}function vf(n){var t=e.findAncestor(n,(function(e){return!!e.inferenceContext}));return t&&t.inferenceContext}function hf(n,t){return 0!==zg(t)?function(e,n){var t=V_(e,be);t=bf(n,jf(n),t);var r=Hf(A.IntrinsicAttributes,n);r!==he&&(t=Io(r,t));return t}(n,t):function(n,t){var r=jf(t),a=(o=r,Wf(A.ElementAttributesPropertyNameContainer,o)),i=void 0===a?V_(n,be):""===a?Vs(n):function(e,n){if(e.unionSignatures){for(var t=[],r=0,a=e.unionSignatures;r=2)return il(o,l=Os([s,r],o.typeParameters,2,e.isInJSFile(n)));if(e.length(o.aliasTypeArguments)>=2){var l=Os([s,r],o.aliasTypeArguments,2,e.isInJSFile(n));return ul(o.aliasSymbol,l)}}return r}function Ef(n,t){var r=vs(n,0);if(1===r.length){var a=r[0];if(!function(n,t){for(var r=0;r0&&212===a[i-1].kind,y=i-(_?1:0),v=void 0;if(l&&y>0)return(g=ol(Bl(s,y,_))).pattern=n,g;if(v=Df(s,c,_,i,d))return Cf(v);if(r)return Cf(Bl(s,y,_))}return Cf(Pl(s.length?Xl(s,2):H?Ve:Te,d))}function Cf(n){if(!(4&e.getObjectFlags(n)))return n;var t=n.literalType;return t||((t=n.literalType=ol(n)).objectFlags|=589824),t}function Df(e,n,t,r,a){if(void 0===r&&(r=e.length),void 0===a&&(a=!1),a||n&&ip(n,hu))return Bl(e,r-(t?1:0),t,a)}function Rf(e){switch(e.kind){case 153:return function(e){return dy(Of(e),296)}(e);case 75:return Mf(e.escapedText);case 8:case 10:return Mf(e.text);default:return!1}}function If(e){return"Infinity"===e||"-Infinity"===e||"NaN"===e}function Mf(e){return(+e).toString()===e}function Of(n){var t=cr(n.expression);return t.resolvedType||(t.resolvedType=Fy(n.expression),98304&t.resolvedType.flags||!dy(t.resolvedType,12716)&&!Cd(t.resolvedType,He)?Xt(n,e.Diagnostics.A_computed_property_name_must_be_of_type_string_number_symbol_or_any):Mg(n.expression,t.resolvedType,!0)),t.resolvedType}function kf(e,n,t,r){for(var a=[],i=0;i0&&(o=wc(o,I(),n.symbol,f,c),i=[],r=e.createSymbolTable(),_=!1,y=!1),!Pf(S=Fy(b.expression)))return Xt(b,e.Diagnostics.Spread_types_may_only_be_created_from_object_types),he;o=wc(o,S,n.symbol,f,c),v=h+1;continue}e.Debug.assert(162===b.kind||163===b.kind),Wh(b)}!T||8576&T.flags?r.set(E.escapedName,E):Cd(T,He)&&(Cd(T,Ce)?y=!0:_=!0,a&&(g=!0)),i.push(E)}if(l)for(var D=0,R=Zo(s);D0&&(o=wc(o,I(),n.symbol,f,c)),o):I();function I(){var t=_?kf(n,v,i,0):void 0,o=y?kf(n,v,i,1):void 0,s=ga(n.symbol,r,e.emptyArray,e.emptyArray,t,o);return s.objectFlags|=524416|f,p&&(s.objectFlags|=16384),g&&(s.objectFlags|=512),a&&(s.pattern=n),s}}function Pf(n){if(63176704&n.flags){var t=is(n);if(void 0!==t)return Pf(t)}return!!(126615553&n.flags||117632&Nu(n)&&Pf(wu(n))||3145728&n.flags&&e.every(n.types,Pf))}function Gf(n){return!e.stringContains(n,"-")}function Ff(n){return 75===n.kind&&e.isIntrinsicJsxName(n.escapedText)}function Vf(e,n){return e.initializer?Cy(e.initializer,n):Me}function Bf(e,n){for(var t=[],r=0,a=e.children;r0&&(o=wc(o,S(),a.symbol,c,!1),i=e.createSymbolTable()),Xa(g=Ty(p.expression,t))&&(s=!0),Pf(g)?o=wc(o,g,a.symbol,c,!1):r=r?nc([r,g]):g}}s||i.size>0&&(o=wc(o,S(),a.symbol,c,!1));var y=264===n.parent.kind?n.parent:void 0;if(y&&y.openingElement===n&&y.children.length>0){var v=Bf(y,t);if(!s&&d&&""!==d){l&&Xt(a,e.Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,e.unescapeLeadingUnderscores(d));var h=ff(n.attributes),b=h&&sf(h,d),E=Zt(33554436,d);E.type=1===v.length?v[0]:Df(v,b,!1)||Pl(Xl(v)),E.valueDeclaration=e.createPropertySignature(void 0,e.unescapeLeadingUnderscores(d),void 0,void 0,void 0),E.valueDeclaration.parent=a,E.valueDeclaration.symbol=E;var T=e.createSymbolTable();T.set(d,E),o=wc(o,ga(a.symbol,T,e.emptyArray,e.emptyArray,void 0,void 0),a.symbol,c,!1)}}return s?_e:r&&o!==qe?nc([r,o]):r||(o===qe?S():o);function S(){c|=J;var n=ga(a.symbol,i,e.emptyArray,e.emptyArray,void 0,void 0);return n.objectFlags|=524416|c,n}}(n.parent,t)}function Hf(e,n){var t=jf(n),r=t&&Xr(t),a=r&&ur(r,e,788968);return a?$i(a):he}function Kf(n){var t=cr(n);if(!t.resolvedSymbol){var r=Hf(A.IntrinsicElements,n);if(r!==he){if(!e.isIdentifier(n.tagName))return e.Debug.fail();var a=_s(r,n.tagName.escapedText);return a?(t.jsxFlags|=1,t.resolvedSymbol=a):Ts(r,0)?(t.jsxFlags|=2,t.resolvedSymbol=r.symbol):(Xt(n,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.idText(n.tagName),"JSX."+A.IntrinsicElements),t.resolvedSymbol=fe)}return q&&Xt(n,e.Diagnostics.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists,e.unescapeLeadingUnderscores(A.IntrinsicElements)),t.resolvedSymbol=fe}return t.resolvedSymbol}function jf(e){var n=e&&cr(e);if(n&&n.jsxNamespace)return n.jsxNamespace;if(!n||!1!==n.jsxNamespace){var t=zt(e),r=pr(e,t,1920,void 0,t,!1);if(r){var a=Mr(ur(Xr(Mr(r)),A.JSX,1920));if(a)return n&&(n.jsxNamespace=a),a;n&&(n.jsxNamespace=!1)}}return xl(A.JSX,1920,void 0)}function Wf(n,t){var r=t&&ur(t.exports,n,788968),a=r&&$i(r),i=a&&Zo(a);if(i){if(0===i.length)return"";if(1===i.length)return i[0].escapedName;i.length>1&&Xt(r.declarations[0],e.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,e.unescapeLeadingUnderscores(n))}}function qf(e){return Wf(A.ElementChildrenAttributeNameContainer,e)}function zf(n,t){var r=Hf(A.IntrinsicElements,t);if(r!==he){var a=n.value,i=_s(r,e.escapeLeadingUnderscores(a));if(i)return Ri(i);var o=Ts(r,0);return o||void 0}return _e}function Xf(n){e.Debug.assert(Ff(n.tagName));var t=cr(n);if(!t.resolvedJsxElementAttributesType){var r=Kf(n);return 1&t.jsxFlags?t.resolvedJsxElementAttributesType=Ri(r):2&t.jsxFlags?t.resolvedJsxElementAttributesType=$s(r,0).type:t.resolvedJsxElementAttributesType=he}return t.resolvedJsxElementAttributesType}function Jf(e){var n=Hf(A.ElementClass,e);if(n!==he)return n}function Yf(e){return Hf(A.Element,e)}function Qf(e){var n=Yf(e);if(n)return Xl([n,Le])}function Zf(n){var t,r=e.isJsxOpeningLikeElement(n);r&&function(n){Qb(n,n.typeArguments);for(var t=e.createUnderscoreEscapedMap(),r=0,a=n.attributes.properties;r=0)return u>=N_(r)&&(w_(r)||us)return!1;if(o||i>=l)return!0;for(var m=i;m=a&&t.length<=r}function Bg(e){return Hg(e,0,!1)}function Ug(e){return Hg(e,0,!1)||Hg(e,1,!1)}function Hg(e,n,t){if(524288&e.flags){var r=Xo(e);if(t||0===r.properties.length&&!r.stringIndexInfo&&!r.numberIndexInfo){if(0===n&&1===r.callSignatures.length&&0===r.constructSignatures.length)return r.callSignatures[0];if(1===n&&1===r.constructSignatures.length&&0===r.callSignatures.length)return r.constructSignatures[0]}}}function Kg(n,t,r,a){var i=am(n.typeParameters,n,0,a),o=P_(t),s=r&&(o&&262144&o.flags?r.nonFixingMapper:r.mapper);return tm(s?ad(t,s):t,n,(function(e,n){hm(i.inferences,e,n)})),r||rm(t,n,(function(e,n){hm(i.inferences,e,n,16)})),Ks(n,Dm(i),e.isInJSFile(t.declaration))}function jg(n,t,r,a,i){if(e.isJsxOpeningLikeElement(n))return function(e,n,t,r){var a=hf(n,e),i=Ey(e.attributes,a,r,t);return hm(r.inferences,i,a),Dm(r)}(n,t,a,i);if(156!==n.kind){var o=yf(n);if(o){var s=vf(n),l=pd(o,dm(function(n,t){return void 0===t&&(t=0),n&&im(e.map(n.inferences,cm),n.signature,n.flags|t,n.compareTypes)}(s,1))),c=Bg(l),d=c&&c.typeParameters?Js(js(c,c.typeParameters)):l,u=Vs(t);hm(i.inferences,d,u,16);var m=am(t.typeParameters,t,i.flags),p=pd(o,s&&s.returnMapper);hm(m.inferences,p,u),i.returnMapper=e.some(m.inferences,Oy)?dm(function(n){var t=e.filter(n.inferences,Oy);return t.length?im(e.map(t,cm),n.signature,n.flags,n.compareTypes):void 0}(m)):void 0}}var f=Gs(t);if(f){var g=Jg(n),_=g?Fy(g):we;hm(i.inferences,_,f)}for(var y=G_(t),v=y?Math.min(k_(t)-1,r.length):r.length,h=0;h=r-1){var o=n[r-1];if(wg(o))return 219===o.kind?Pl(o.type):ip(s=Ey(o.expression,a,i,0),(function(e){return!(63176705&e.flags||fu(e)||Ru(e))}))?Pl(bc(s,Ce)):s}for(var s,l=[],c=-1,d=t;d0||e.isJsxOpeningElement(n)&&n.parent.children.length>0?[n.attributes]:e.emptyArray;var a=n.arguments||e.emptyArray,i=a.length;if(i&&wg(a[i-1])&&Pg(a)===i-1){var o=a[i-1],s=mt?Fy(o.expression):Ty(o.expression);if(Ru(s)){var l=ll(s),c=s.target.hasRestElement?l.length-1:-1,d=e.map(l,(function(e,n){return Yg(o,e,n===c)}));return e.concatenate(a.slice(0,i-1),d)}}return a}function Zg(n,t){switch(n.parent.kind){case 244:case 213:return 1;case 158:return 2;case 160:case 162:case 163:return 0===V||t.parameters.length<=2?2:3;case 155:return 3;default:return e.Debug.fail()}}function $g(n,t){var r,a,i=e.getSourceFileOfNode(n);if(e.isPropertyAccessExpression(n.expression)){var o=e.getErrorSpanForNode(i,n.expression.name);r=o.start,a=t?o.length:n.end-r}else{var s=e.getErrorSpanForNode(i,n.expression);r=s.start,a=t?s.length:n.end-r}return{start:r,length:a,sourceFile:i}}function e_(n,t,r,a,i,o){if(e.isCallExpression(n)){var s=$g(n),l=s.sourceFile,c=s.start,d=s.length;return e.createFileDiagnostic(l,c,d,t,r,a,i,o)}return e.createDiagnosticForNode(n,t,r,a,i,o)}function n_(n,t,r){for(var a,i=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY,s=Number.NEGATIVE_INFINITY,l=Number.POSITIVE_INFINITY,c=r.length,d=0,u=t;ds&&(s=p),c-1;c<=o&&h&&c--;var b=y||h?y&&h?e.Diagnostics.Expected_at_least_0_arguments_but_got_1_or_more:y?e.Diagnostics.Expected_at_least_0_arguments_but_got_1:e.Diagnostics.Expected_0_arguments_but_got_1_or_more:e.Diagnostics.Expected_0_arguments_but_got_1;if(a&&N_(a)>c&&a.declaration){var E=a.declaration.parameters[a.thisParameter?c+1:c];E&&(_=e.createDiagnosticForNode(E,e.isBindingPattern(E.name)?e.Diagnostics.An_argument_matching_this_binding_pattern_was_not_provided:e.Diagnostics.An_argument_for_0_was_not_provided,E.name?e.isBindingPattern(E.name)?void 0:e.idText(e.getFirstIdentifier(E.name)):c))}if(ic&&S?r.indexOf(S):Math.min(o,r.length-1)))}}else g=e.createNodeArray(r.slice(o));g.pos=e.first(g).pos,g.end=e.last(g).end,g.end===g.pos&&g.end++;var L=e.createDiagnosticForNodeArray(e.getSourceFileOfNode(n),g,b,v,c);return _?e.addRelatedInfo(L,_):L}function t_(n,r,a,i,o,s){var l,c=197===n.kind,d=156===n.kind,u=e.isJsxOpeningLikeElement(n),m=!a;d||(l=n.typeArguments,(c||u||101!==n.expression.kind)&&e.forEach(l,Kh));var p=a||[];if(function(n,t,r){var a,i,o,s,l=0,c=-1;e.Debug.assert(!t.length);for(var d=0,u=n;d1&&(y=q(p,Ut,E)),y||(y=q(p,Ht,E)),y)return y;if(m)if(f)if(1===f.length||f.length>3){var T,S=f[f.length-1];f.length>3&&(T=e.chainDiagnosticMessages(T,e.Diagnostics.The_last_overload_gave_the_following_error),T=e.chainDiagnosticMessages(T,e.Diagnostics.No_overload_matches_this_call));var L=Xg(n,v,S,Ht,0,!0,(function(){return T}));if(L)for(var A=0,x=L;A3&&e.addRelatedInfo(C,e.createDiagnosticForNode(S.declaration,e.Diagnostics.The_last_overload_is_declared_here)),Gt.add(C)}else e.Debug.fail("No error for last overload signature")}else{for(var D=[],R=0,I=Number.MAX_VALUE,M=0,O=0,k=function(t){var r=Xg(n,v,t,Ht,0,!0,(function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Overload_0_of_1_2_gave_the_following_error,O+1,p.length,Ra(t))}));r?(r.length<=I&&(I=r.length,M=O),R=Math.max(R,r.length),D.push(r)):e.Debug.fail("No error for 3 or fewer overload signatures"),O++},P=0,G=f;P1?D[M]:e.flatten(D);e.Debug.assert(F.length>0,"No errors reported for 3 or fewer overload signatures");var V=e.chainDiagnosticMessages(e.map(F,(function(e){return"string"==typeof e.messageText?e:e.messageText})),e.Diagnostics.No_overload_matches_this_call),B=e.flatMap(F,(function(e){return e.relatedInformation}));if(e.every(F,(function(e){return e.start===F[0].start&&e.length===F[0].length&&e.file===F[0].file}))){var U=F[0],H=U.file,K=U.start,j=U.length;Gt.add({file:H,start:K,length:j,code:V.code,category:V.category,messageText:V,relatedInformation:B})}else Gt.add(e.createDiagnosticForNodeFromMessageChain(n,V,B))}else if(g)Gt.add(n_(n,[g],v));else if(_)qg(_,n.typeArguments,!0,s);else{var W=e.filter(r,(function(e){return Vg(e,l)}));0===W.length?Gt.add(function(n,t,r){var a=r.length;if(1===t.length){var i=Ms((u=t[0]).typeParameters),o=e.length(u.typeParameters);return e.createDiagnosticForNodeArray(e.getSourceFileOfNode(n),r,e.Diagnostics.Expected_0_type_arguments_but_got_1,ia?l=Math.min(l,m):o0),a||1===t.length||t.some((function(e){return!!e.typeParameters}))?function(n,t,r){var a=function(e,n){for(var t=-1,r=-1,a=0;a=n)return a;o>r&&(r=o,t=a)}return t}(t,void 0===ne?r.length:ne),i=t[a],o=i.typeParameters;if(!o)return i;var s=Og(n)?n.typeArguments:void 0,l=s?Ws(i,function(e,n,t){var r=e.map(ib);for(;r.length>n.length;)r.pop();for(;r.length=0&&Xt(n.arguments[a],e.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}var i=og(n.expression);if(i===Ge)return et;if((i=ms(i))===he)return Ng(n);if(Xa(i))return n.typeArguments&&Xt(n,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),kg(n);var o=vs(i,1);if(o.length){if(!function(n,t){if(!t||!t.declaration)return!0;var r=t.declaration,a=e.getSelectedModifierFlags(r,24);if(!a)return!0;var i=e.getClassLikeDeclarationOfSymbol(r.parent.symbol),o=$i(r.parent.symbol);if(!nb(n,i)){var s=e.getContainingClass(n);if(s&&16&a){var l=ib(s);if(function n(t,r){var a=Ki(r);if(!e.length(a))return!1;var i=a[0];if(2097152&i.flags){for(var o=ko(i.types),s=0,l=0,c=i.types;l0;if(1048576&n.flags){for(var s=!1,l=0,c=n.types;l0)return e.parameters.length-1+t}}return e.minArgumentCount}function w_(e){if(N(e)){var n=Ri(e.parameters[e.parameters.length-1]);return!Ru(n)||n.target.hasRestElement}return!1}function P_(e){if(N(e)){var n=Ri(e.parameters[e.parameters.length-1]);return Ru(n)?function(e){var n=Iu(e);return n&&Pl(n)}(n):n}}function G_(e){var n=P_(e);return!n||fu(n)||Xa(n)?void 0:n}function F_(e){return V_(e,Pe)}function V_(e,n){return e.parameters.length>0?I_(e,0):n}function B_(n,t){(n.typeParameters=t.typeParameters,t.thisParameter)&&((!(i=n.thisParameter)||i.valueDeclaration&&!i.valueDeclaration.type)&&(i||(n.thisParameter=qu(t.thisParameter,void 0)),U_(n.thisParameter,Ri(t.thisParameter))));for(var r=n.parameters.length-(N(n)?1:0),a=0;a0&&(r=Xl(d,2)):c=Pe;var u=function(n,t){var r=[],a=[],i=0!=(2&e.getFunctionFlags(n));return e.forEachYieldExpression(n.body,(function(n){var o,s=n.expression?Fy(n.expression,t):Te;if(e.pushIfUnique(r,z_(n,s,_e,i)),n.asteriskToken){var l=eh(s,i?19:17,n.expression);o=l&&l.nextType}else o=yf(n);o&&e.pushIfUnique(a,o)})),{yieldTypes:r,nextTypes:a}}(n,t),m=u.yieldTypes,p=u.nextTypes;a=e.some(m)?Xl(m,2):void 0,i=e.some(p)?nc(p):void 0}else{var f=Q_(n,t);if(!f)return 2&o?j_(n,Pe):Pe;if(0===f.length)return 2&o?j_(n,we):we;r=Xl(f,2)}if(r||a||i){var g=Sf(n);if(g||(a&&nm(n,a,1),r&&nm(n,r),i&&nm(n,i)),r&&Tu(r)||a&&Tu(a)||i&&Tu(i)){var _=g?g===ks(n)?l?void 0:r:gf(Vs(g),n):void 0;l?(a=Du(a,_,0,s),r=Du(r,_,1,s),i=Du(i,_,2,s)):r=function(e,n,t){return e&&Tu(e)&&(e=Cu(e,n?t?ov(n):n:void 0)),e}(r,_,s)}a&&(a=Zu(a)),r&&(r=Zu(r)),i&&(i=Zu(i))}return l?q_(a||Pe,r||c,i||nf(2,n)||be,s):s?H_(r||c):r||c}function q_(e,n,t,r){var a=r?st:lt,i=a.getGlobalGeneratorType(!1);if(e=a.resolveIterationType(e,void 0)||be,n=a.resolveIterationType(n,void 0)||be,t=a.resolveIterationType(t,void 0)||be,i===Je){var o=a.getGlobalIterableIteratorType(!1),s=o!==Je?ah(o,a):void 0,l=s?s.returnType:_e,c=s?s.nextType:Ee;return Cd(n,l)&&Cd(c,t)?o!==Je?Nl(o,[e]):(a.getGlobalIterableIteratorType(!0),We):(a.getGlobalGeneratorType(!0),We)}return Nl(i,[e,n,t])}function z_(n,t,r,a){var i=n.expression||n,o=n.asteriskToken?Jv(a?19:17,t,r,i):t;return a?lv(o,i,n.asteriskToken?e.Diagnostics.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:e.Diagnostics.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):o}function X_(e,n,t,r){var a=0;if(r){for(var i=n;i1&&n.charCodeAt(t-1)>=48&&n.charCodeAt(t-1)<=57;)t--;for(var r=n.slice(0,t),a=1;;a++){var i=r+a;if(!ky(e,i))return i}}function wy(e){var n=Bg(e);if(n&&!n.typeParameters)return Vs(n)}function Py(n,t){var r=e.skipParentheses(n);if(!e.isCallExpression(r)||101===r.expression.kind||e.isRequireCall(r,!0)||E_(r)){if(e.isAssertionExpression(r)&&!e.isConstTypeReference(r.type))return qc(r.type)}else{var a=e.isCallChain(r)?function(e){var n=Fy(e.expression),t=ju(n,e.expression),r=wy(n);return r&&Ku(r,e,t!==n)}(r):wy(og(r.expression));if(a)return a}return t?Ty(n):Fy(n)}function Gy(e){var n=cr(e);if(n.contextFreeType)return n.contextFreeType;var t=e.contextualType;e.contextualType=_e;var r=n.contextFreeType=Fy(e,4);return e.contextualType=t,r}function Fy(n,a,i){var o=d;d=n,b=0;var s=Iy(n,function(n,a,i){var o=n.kind;if(r)switch(o){case 213:case 200:case 201:r.throwIfCancellationRequested()}switch(o){case 75:return Vp(n);case 103:return Wp(n);case 101:return Xp(n);case 99:return Ae;case 14:case 10:return Bc(Kc(n.text));case 8:return vE(n),Bc(Kc(+n.text));case 9:return function(n){if(!(e.isLiteralTypeNode(n.parent)||e.isPrefixUnaryExpression(n.parent)&&e.isLiteralTypeNode(n.parent.parent))&&V<99&&gE(n,e.Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ESNext))return!0}(n),Bc(function(n){return Kc({negative:!1,base10Value:e.parsePseudoBigInt(n.text)})}(n));case 105:return Me;case 90:return Re;case 210:return function(n){return e.forEach(n.templateSpans,(function(n){cy(Fy(n.expression),12288)&&Xt(n.expression,e.Diagnostics.Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String)})),xe}(n);case 13:return _n;case 191:return xf(n,a,i);case 192:return wf(n,a);case 193:return fg(n);case 152:return gg(n);case 194:return Rg(n);case 195:if(95===n.expression.kind)return T_(n);case 196:return b_(n,a);case 197:return A_(n);case 199:return function(n,t){var r=e.isInJSFile(n)?e.getJSDocTypeTag(n):void 0;if(r)return x_(r,r.typeExpression.type,n.expression,t);return Fy(n.expression,t)}(n,a);case 213:return function(e){return Ch(e),Wh(e),Ri($r(e))}(n);case 200:case 201:return $_(n,a);case 203:return function(e){return Fy(e.expression),Bt}(n);case 198:case 216:return function(e){return x_(e,e.type,e.expression)}(n);case 217:return function(e){return Vu(Fy(e.expression))}(n);case 218:return C_(n);case 202:return function(n){Fy(n.expression);var t=e.skipParentheses(n.expression);if(193!==t.kind&&194!==t.kind)return Xt(t,e.Diagnostics.The_operand_of_a_delete_operator_must_be_a_property_reference),ke;var r=aa(cr(t).resolvedSymbol);return r&&ay(r)&&Xt(t,e.Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_read_only_property),ke}(n);case 204:return function(e){return Fy(e.expression),Te}(n);case 205:return function(n){if(t){if(!(32768&n.flags)){var r=e.getSourceFileOfNode(n);if(!mE(r)){var a=e.getSpanOfTokenAtPosition(r,n.pos),i=e.createFileDiagnostic(r,a.start,a.length,e.Diagnostics.await_expression_is_only_allowed_within_an_async_function),o=e.getContainingFunction(n);if(o&&161!==o.kind){e.Debug.assert(0==(2&e.getFunctionFlags(o)),"Enclosing function should never be an async function.");var s=e.createDiagnosticForNode(o,e.Diagnostics.Did_you_mean_to_mark_this_function_as_async);e.addRelatedInfo(i,s)}Gt.add(i)}}ef(n)&&Xt(n,e.Diagnostics.await_expressions_cannot_be_used_in_a_parameter_initializer)}var l=Fy(n.expression),c=sv(l,n,e.Diagnostics.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);return c!==l||c===he||3&l.flags||Jt(!1,e.createDiagnosticForNode(n,e.Diagnostics.await_has_no_effect_on_the_type_of_this_expression)),c}(n);case 206:return function(n){var t=Fy(n.operand);if(t===Ge)return Ge;switch(n.operand.kind){case 8:switch(n.operator){case 40:return Bc(Kc(-n.operand.text));case 39:return Bc(Kc(+n.operand.text))}break;case 9:if(40===n.operator)return Bc(Kc({negative:!0,base10Value:e.parsePseudoBigInt(n.operand.text)}))}switch(n.operator){case 39:case 40:case 54:return mg(t,n.operand),cy(t,12288)&&Xt(n.operand,e.Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol,e.tokenToString(n.operator)),39===n.operator?(cy(t,2112)&&Xt(n.operand,e.Diagnostics.Operator_0_cannot_be_applied_to_type_1,e.tokenToString(n.operator),Ia(Lu(t))),Ce):ly(t);case 53:Wv(n.operand);var r=12582912&Km(t);return 4194304===r?Re:8388608===r?Me:ke;case 45:case 46:return ty(n.operand,mg(t,n.operand),e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&sy(n.operand,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),ly(t)}return he}(n);case 207:return function(n){var t=Fy(n.operand);return t===Ge?Ge:(ty(n.operand,mg(t,n.operand),e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&sy(n.operand,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,e.Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),ly(t))}(n);case 208:return vy(n,a);case 209:return function(e,n){return Wv(e.condition),Xl([Fy(e.whenTrue,n),Fy(e.whenFalse,n)],2)}(n,a);case 212:return function(e,n){return V<2&&Kb(e,F.downlevelIteration?1536:2048),Jv(33,Fy(e.expression,n),Ee,e.expression)}(n,a);case 214:return Te;case 211:return by(n);case 219:return n.type;case 274:return ng(n,a);case 264:case 265:return function(e,n){return Wh(e),Yf(e)||_e}(n);case 268:return function(n){return Zf(n.openingFragment),2===F.jsx&&(F.jsxFactory||e.getSourceFileOfNode(n).pragmas.has("jsx"))&&Xt(n,F.jsxFactory?e.Diagnostics.JSX_fragment_is_not_supported_when_using_jsxFactory:e.Diagnostics.JSX_fragment_is_not_supported_when_using_an_inline_JSX_factory_pragma),Bf(n),Yf(n)||_e}(n);case 272:return Uf(n,a);case 266:e.Debug.fail("Shouldn't ever directly check a JsxOpeningElement")}return he}(n,a,i),a);return my(s)&&function(n,t){193===n.parent.kind&&n.parent.expression===n||194===n.parent.kind&&n.parent.expression===n||(75===n.kind||152===n.kind)&&tb(n)||171===n.parent.kind&&n.parent.exprName===n||261===n.parent.kind||Xt(n,e.Diagnostics.const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query);if(F.isolatedModules){e.Debug.assert(!!(128&t.symbol.flags)),8388608&t.symbol.valueDeclaration.flags&&Xt(n,e.Diagnostics.Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided)}}(n,s),d=o,s}function Vy(n){n.expression&&pE(n.expression,e.Diagnostics.Type_expected),Kh(n.constraint),Kh(n.default);var r=Zi($r(n));is(r),function(e){return cs(e)!==Ze}(r)||Xt(n.default,e.Diagnostics.Type_parameter_0_has_a_circular_default,Ia(r));var a=es(r),i=ds(r);a&&i&&Md(i,ho(pd(a,Yc(r,i)),i),n.default,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1),t&&Sh(n.name,e.Diagnostics.Type_parameter_name_cannot_be_0)}function By(n){Wb(n),Fv(n);var t=e.getContainingFunction(n);e.hasModifier(n,92)&&(161===t.kind&&e.nodeIsPresent(t.body)||Xt(n,e.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation)),n.questionToken&&e.isBindingPattern(n.name)&&t.body&&Xt(n,e.Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),n.name&&e.isIdentifier(n.name)&&("this"===n.name.escapedText||"new"===n.name.escapedText)&&(0!==t.parameters.indexOf(n)&&Xt(n,e.Diagnostics.A_0_parameter_must_be_the_first_parameter,n.name.escapedText),161!==t.kind&&165!==t.kind&&170!==t.kind||Xt(n,e.Diagnostics.A_constructor_cannot_have_a_this_parameter),201===t.kind&&Xt(n,e.Diagnostics.An_arrow_function_cannot_have_a_this_parameter)),!n.dotDotDotToken||e.isBindingPattern(n.name)||Cd(Ri(n.symbol),bn)||Xt(n,e.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}function Uy(n,t,r){for(var a=0,i=n.elements;a=2||F.noEmit||!e.hasRestParameter(n)||8388608&n.flags||e.nodeIsMissing(n.body))return;e.forEach(n.parameters,(function(n){n.name&&!e.isBindingPattern(n.name)&&n.name.escapedText===te.escapedName&&Xt(n,e.Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)}))}(n);var a=e.getEffectiveReturnTypeNode(n);if(q&&!a)switch(n.kind){case 165:Xt(n,e.Diagnostics.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break;case 164:Xt(n,e.Diagnostics.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type)}if(a){var i=e.getFunctionFlags(n);if(1==(5&i)){var o=qc(a);if(o===we)Xt(a,e.Diagnostics.A_generator_cannot_have_a_void_type_annotation);else{var s=_h(0,o,0!=(2&i))||_e;Md(q_(s,_h(1,o,0!=(2&i))||s,_h(2,o,0!=(2&i))||be,!!(2&i)),o,a)}}else 2==(3&i)&&function(n,t){var r=qc(t);if(V>=2){if(r===he)return;var a=Il(!0);if(a!==Je&&!Ii(r,a))return void Xt(t,e.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type)}else{if(function(n){dv(n&&e.getEntityNameFromTypeNode(n))}(t),r===he)return;var i=e.getEntityNameFromTypeNode(t);if(void 0===i)return void Xt(t,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,Ia(r));var o=Gr(i,111551,!0),s=o?Ri(o):he;if(s===he)return void(75===i.kind&&"Promise"===i.escapedText&&Mi(r)===Il(!1)?Xt(t,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):Xt(t,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,e.entityNameToString(i)));var l=(u=!0,Dn||(Dn=Cl("PromiseConstructorLike",0,u))||We);if(l===We)return void Xt(t,e.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,e.entityNameToString(i));if(!Md(s,l,t,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;var c=i&&e.getFirstIdentifier(i),d=ur(n.locals,c.escapedText,111551);if(d)return void Xt(d.valueDeclaration,e.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,e.idText(c),e.entityNameToString(i))}var u;sv(r,n,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}(n,a)}166!==n.kind&&298!==n.kind&&vv(n)}}function Ky(n){for(var t=e.createMap(),r=0,a=n.members;r0&&t.declarations[0]!==n)return}var r=Ys($r(n));if(r)for(var a=!1,i=!1,o=0,s=r.declarations;o=0)return void(t&&Xt(t,e.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method));Pt.push(n.id);var u=lv(d,t,r,a);if(Pt.pop(),!u)return;return i.awaitedTypeOfType=u}var m=za(n,"then");if(!(m&&vs(m,0).length>0))return i.awaitedTypeOfType=n;if(t){if(!r)return e.Debug.fail();Xt(t,r,a)}}function cv(n){var t=Vs(y_(n));if(!(1&t.flags)){var r,a,i=m_(n);switch(n.parent.kind){case 244:r=Xl([Ri($r(n.parent)),we]);break;case 155:r=we,a=e.chainDiagnosticMessages(void 0,e.Diagnostics.The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any);break;case 158:r=we,a=e.chainDiagnosticMessages(void 0,e.Diagnostics.The_return_type_of_a_property_decorator_function_must_be_either_void_or_any);break;case 160:case 162:case 163:r=Xl([wl(ib(n.parent)),we]);break;default:return e.Debug.fail()}Md(t,r,n,i,(function(){return a}))}}function dv(n){if(n){var t=e.getFirstIdentifier(n),r=2097152|(75===n.kind?788968:1920),a=pr(t,t.escapedText,r,void 0,void 0,!0);a&&2097152&a.flags&&ia(a)&&!Tb(Or(a))&&Nr(a)}}function uv(n){var t=mv(n);t&&e.isEntityName(t)&&dv(t)}function mv(e){if(e)switch(e.kind){case 178:case 177:return pv(e.types);case 179:return pv([e.trueType,e.falseType]);case 181:return mv(e.type);case 168:return e.typeName}}function pv(n){for(var t,r=0,a=n;r=e.ModuleKind.ES2015||F.noEmit)&&(Ov(n,t,"require")||Ov(n,t,"exports"))&&(!e.isModuleDeclaration(n)||1===e.getModuleInstanceState(n))){var r=qa(n);288===r.kind&&e.isExternalOrCommonJsModule(r)&&Xt(t,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,e.declarationNameToString(t),e.declarationNameToString(t))}}function Pv(n,t){if(!(V>=4||F.noEmit)&&Ov(n,t,"Promise")&&(!e.isModuleDeclaration(n)||1===e.getModuleInstanceState(n))){var r=qa(n);288===r.kind&&e.isExternalOrCommonJsModule(r)&&2048&r.flags&&Xt(t,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,e.declarationNameToString(t),e.declarationNameToString(t))}}function Gv(e){return e===ye?_e:e===hn?vn:e}function Fv(n){if(gv(n),e.isBindingElement(n)||Kh(n.type),n.name){if(153===n.name.kind&&(Of(n.name),n.initializer&&Ty(n.initializer)),190===n.kind){188===n.parent.kind&&V<99&&Kb(n,4),n.propertyName&&153===n.propertyName.kind&&Of(n.propertyName);var t=n.parent.parent,r=Ja(t),a=n.propertyName||n.name;if(r&&!e.isBindingPattern(a)){var i=rc(a);if(lo(i)){var o=_s(r,fo(i));o&&(xg(o,void 0,!1),ag(t,!!t.initializer&&101===t.initializer.kind,r,o))}}}if(e.isBindingPattern(n.name)&&(189===n.name.kind&&V<2&&F.downlevelIteration&&Kb(n,512),e.forEach(n.name.elements,Kh)),n.initializer&&155===e.getRootDeclaration(n).kind&&e.nodeIsMissing(e.getContainingFunction(n).body))Xt(n,e.Diagnostics.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);else if(e.isBindingPattern(n.name)){var s=n.initializer&&230!==n.parent.parent.kind,l=0===n.name.elements.length;if(s||l){var c=gi(n);if(s){var d=Ty(n.initializer);H&&l?pg(d,n):Od(d,gi(n),n,n.initializer)}l&&(e.isArrayBindingPattern(n.name)?Jv(65,c,Ee,n):H&&pg(c,n))}}else{var u=$r(n),m=Gv(Ri(u));if(n===u.valueDeclaration){var p=e.getEffectiveInitializer(n);if(p)e.isInJSFile(n)&&e.isObjectLiteralExpression(p)&&(0===p.properties.length||e.isPrototypeAccess(n.name))&&e.hasEntries(u.exports)||230===n.parent.parent.kind||Od(Ty(p),m,n,p,void 0);u.declarations.length>1&&e.some(u.declarations,(function(t){return t!==n&&e.isVariableLike(t)&&!Bv(t,n)}))&&Xt(n.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(n.name))}else{var f=Gv(gi(n));m===he||f===he||Td(m,f)||67108864&u.flags||Vv(u.valueDeclaration,m,n,f),n.initializer&&Od(Ty(n.initializer),f,n,n.initializer,void 0),Bv(n,u.valueDeclaration)||Xt(n.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(n.name))}158!==n.kind&&157!==n.kind&&(av(n),241!==n.kind&&190!==n.kind||function(n){if(0==(3&e.getCombinedNodeFlags(n))&&!e.isParameterDeclaration(n)&&(241!==n.kind||n.initializer)){var t=$r(n);if(1&t.flags){if(!e.isIdentifier(n.name))return e.Debug.fail();var r=pr(n,n.name.escapedText,3,void 0,void 0,!1);if(r&&r!==t&&2&r.flags&&3&tg(r)){var a=e.getAncestor(r.valueDeclaration,242),i=224===a.parent.kind&&a.parent.parent?a.parent.parent:void 0;if(!(i&&(222===i.kind&&e.isFunctionLike(i.parent)||249===i.kind||248===i.kind||288===i.kind))){var o=Da(r);Xt(n,e.Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,o,o)}}}}}(n),wv(n,n.name),Pv(n,n.name))}}}function Vv(n,t,r,a){var i=e.getNameOfDeclaration(r),o=158===r.kind||157===r.kind?e.Diagnostics.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:e.Diagnostics.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2,s=e.declarationNameToString(i),l=Xt(i,o,s,Ia(t),Ia(a));n&&e.addRelatedInfo(l,e.createDiagnosticForNode(n,e.Diagnostics._0_was_also_declared_here,s))}function Bv(n,t){if(155===n.kind&&241===t.kind||241===n.kind&&155===t.kind)return!0;if(e.hasQuestionToken(n)!==e.hasQuestionToken(t))return!1;return e.getSelectedModifierFlags(n,504)===e.getSelectedModifierFlags(t,504)}function Uv(n){return function(n){if(230!==n.parent.parent.kind&&231!==n.parent.parent.kind)if(8388608&n.flags)dE(n);else if(!n.initializer){if(e.isBindingPattern(n.name)&&!e.isBindingPattern(n.parent))return gE(n,e.Diagnostics.A_destructuring_declaration_must_have_an_initializer);if(e.isVarConst(n))return gE(n,e.Diagnostics.const_declarations_must_be_initialized)}if(n.exclamationToken&&(224!==n.parent.parent.kind||!n.type||n.initializer||8388608&n.flags))return gE(n.exclamationToken,e.Diagnostics.Definite_assignment_assertions_can_only_be_used_along_with_a_type_annotation);F.module===e.ModuleKind.ES2015||F.module===e.ModuleKind.ESNext||F.module===e.ModuleKind.System||F.noEmit||8388608&n.parent.parent.flags||!e.hasModifier(n.parent.parent,1)||function n(t){if(75===t.kind){if("__esModule"===e.idText(t))return gE(t,e.Diagnostics.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules)}else for(var r=t.elements,a=0,i=r;a=1&&Uv(n.declarations[0])}function Xv(e,n){return Jv(n?15:13,og(e),Ee,e)}function Jv(e,n,t,r){return Xa(n)?n:Yv(e,n,t,r,!0)||_e}function Yv(n,t,r,a,i){var o=0!=(2&n);if(t!==Pe){var s=V>=2,l=!s&&F.downlevelIteration;if(s||l||o){var c=eh(t,n,s?a:void 0);if(i&&c){var d=8&n?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:32&n?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:64&n?e.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:16&n?e.Diagnostics.Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:void 0;d&&Md(r,c.nextType,a,d)}if(c||s)return c&&c.yieldType}var u=t,m=!1,p=!1;if(4&n){if(1048576&u.flags){var f=t.types,g=e.filter(f,(function(e){return!(132&e.flags)}));g!==f&&(u=Xl(g,2))}else 132&u.flags&&(u=Pe);if((p=u!==t)&&(V<1&&a&&(Xt(a,e.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),m=!0),131072&u.flags))return xe}if(!yu(u)){if(a&&!m){var _=Qv(n,0,t,void 0),y=4&n&&!p?l?[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,!0]:_?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,!1]:[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type,!0]:l?[e.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:_?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,!1]:[e.Diagnostics.Type_0_is_not_an_array_type,!0],v=y[0];Qt(a,y[1]&&!!iv(u),v,Ia(u))}return p?xe:void 0}var h=Ts(u,1);return p&&h?132&h.flags?xe:Xl([h,xe],2):h}sh(a,t,o)}function Qv(e,n,t,r){if(!Xa(t)){var a=eh(t,e,r);return a&&a[k(n)]}}function Zv(e,n,t){if(void 0===e&&(e=Pe),void 0===n&&(n=Pe),void 0===t&&(t=be),67359327&e.flags&&180227&n.flags&&180227&t.flags){var r=rl([e,n,t]),a=tt.get(r);return a||(a={yieldType:e,returnType:n,nextType:t},tt.set(r,a)),a}return{yieldType:e,returnType:n,nextType:t}}function $v(n){for(var t,r,a,i=0,o=n;ir)return!1;for(var d=0;d1)return pE(o.types[1],e.Diagnostics.Classes_can_only_extend_a_single_class);t=!0}else{if(e.Debug.assert(112===o.token),r)return pE(o,e.Diagnostics.implements_clause_already_seen);r=!0}$b(o)}})(n)||Xb(n.typeParameters,t)}(n),gv(n),n.name&&(Sh(n.name,e.Diagnostics.Class_name_cannot_be_0),wv(n,n.name),Pv(n,n.name),8388608&n.flags||(r=n.name,1===V&&"Object"===r.escapedText&&B!==e.ModuleKind.ES2015&&B!==e.ModuleKind.ESNext&&Xt(r,e.Diagnostics.Class_name_cannot_be_Object_when_targeting_ES5_with_module_0,e.ModuleKind[B]))),Lh(e.getEffectiveTypeParameterDeclarations(n)),av(n);var a=$r(n),i=$i(a),o=ho(i),s=Ri(a);xh(a),function(n){for(var t=e.createUnderscoreEscapedMap(),r=e.createUnderscoreEscapedMap(),a=0,i=n.members;a>s;case 49:return i>>>s;case 47:return i<1&&R(n,!!F.preserveConstEnums||!!F.isolatedModules)){var s=function(n){for(var t=0,r=n.declarations;t1)for(var o=0,s=r;o=224&&a<=240&&n.flowNode&&!xp(n.flowNode)&&Yt(!1===F.allowUnreachableCode,n,e.Diagnostics.Unreachable_code_detected);switch(a){case 154:return Vy(n);case 155:return By(n);case 158:case 157:return Wy(n);case 169:case 170:case 164:case 165:case 166:return Hy(n);case 160:case 159:return function(n){lE(n)||nE(n.name),yv(n),e.hasModifier(n,128)&&160===n.kind&&n.body&&Xt(n,e.Diagnostics.Method_0_cannot_have_an_implementation_because_it_is_marked_abstract,e.declarationNameToString(n.name))}(n);case 161:return qy(n);case 162:case 163:return zy(n);case 168:return Zy(n);case 167:return function(n){var t=function(e){switch(e.parent.kind){case 201:case 164:case 243:case 200:case 169:case 160:case 159:var n=e.parent;if(e===n.type)return n}}(n);if(t){var r=ks(t),a=Fs(r);if(a){Kh(n.type);var i=n.parameterName;if(0===a.kind||2===a.kind)Wc(i);else if(a.parameterIndex>=0){if(N(r)&&a.parameterIndex===r.parameters.length-1)Xt(i,e.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter);else if(a.type){Md(a.type,Ri(r.parameters[a.parameterIndex]),n.type,void 0,(function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type)}))}}else if(i){for(var o=!1,s=0,l=t.parameters;s0),r.length>1&&Xt(r[1],e.Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);var a=_v(n.class.expression),i=e.getClassExtendsHeritageElement(t);if(i){var o=_v(i.expression);o&&a.escapedText!==o.escapedText&&Xt(a,e.Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause,e.idText(n.tagName),e.idText(a),e.idText(o))}}else Xt(t,e.Diagnostics.JSDoc_0_is_not_attached_to_a_class,e.idText(n.tagName))}(n);case 315:case 308:case 309:return function(n){n.typeExpression||Xt(n.name,e.Diagnostics.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags),n.name&&Sh(n.name,e.Diagnostics.Type_alias_name_cannot_be_0),Kh(n.typeExpression)}(n);case 314:return function(e){Kh(e.constraint);for(var n=0,t=e.typeParameters;n-1&&r1){var a=e.isEnumConst(n);e.forEach(r.declarations,(function(n){e.isEnumDeclaration(n)&&e.isEnumConst(n)!==a&&Xt(e.getNameOfDeclaration(n),e.Diagnostics.Enum_declarations_must_all_be_const_or_non_const)}))}var i=!1;e.forEach(r.declarations,(function(n){if(247!==n.kind)return!1;var t=n;if(!t.members.length)return!1;var r=t.members[0];r.initializer||(i?Xt(r.name,e.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):i=!0)}))}}}(n);case 248:return wh(n);case 253:return function(n){if(!Bh(n,e.Diagnostics.An_import_declaration_can_only_be_used_in_a_namespace_or_module)&&(!Wb(n)&&e.hasModifiers(n)&&pE(n,e.Diagnostics.An_import_declaration_cannot_have_modifiers),Gh(n))){var t=n.importClause;if(t)if(t.name&&Vh(t),t.namedBindings)if(255===t.namedBindings.kind)Vh(t.namedBindings);else Vr(n,n.moduleSpecifier)&&e.forEach(t.namedBindings.elements,Vh)}}(n);case 252:return function(n){if(!Bh(n,e.Diagnostics.An_import_declaration_can_only_be_used_in_a_namespace_or_module)&&(Wb(n),e.isInternalModuleImportEqualsDeclaration(n)||Gh(n)))if(Vh(n),e.hasModifier(n,1)&&kr(n),263!==n.moduleReference.kind){var t=Or($r(n));if(t!==fe){if(111551&t.flags){var r=e.getFirstIdentifier(n.moduleReference);1920&Gr(r,112575).flags||Xt(r,e.Diagnostics.Module_0_is_hidden_by_a_local_declaration_with_the_same_name,e.declarationNameToString(r))}788968&t.flags&&Sh(n.name,e.Diagnostics.Import_name_cannot_be_0)}}else B>=e.ModuleKind.ES2015&&!(8388608&n.flags)&&gE(n,e.Diagnostics.Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead)}(n);case 259:return function(n){if(!Bh(n,e.Diagnostics.An_export_declaration_can_only_be_used_in_a_module)&&(!Wb(n)&&e.hasModifiers(n)&&pE(n,e.Diagnostics.An_export_declaration_cannot_have_modifiers),!n.moduleSpecifier||Gh(n)))if(n.exportClause){e.forEach(n.exportClause.elements,Uh);var t=249===n.parent.kind&&e.isAmbientModule(n.parent.parent),r=!t&&249===n.parent.kind&&!n.moduleSpecifier&&8388608&n.flags;288===n.parent.kind||t||r||Xt(n,e.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace)}else{var a=Vr(n,n.moduleSpecifier);a&&Wr(a)&&Xt(n.moduleSpecifier,e.Diagnostics.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,Da(a)),B!==e.ModuleKind.System&&B!==e.ModuleKind.ES2015&&B!==e.ModuleKind.ESNext&&Kb(n,65536)}}(n);case 258:return function(n){if(!Bh(n,e.Diagnostics.An_export_assignment_can_only_be_used_in_a_module)){var t=288===n.parent.kind?n.parent:n.parent.parent;if(248!==t.kind||e.isAmbientModule(t)){if(!Wb(n)&&e.hasModifiers(n)&&pE(n,e.Diagnostics.An_export_assignment_cannot_have_modifiers),75===n.expression.kind){var r=n.expression,a=Gr(r,67108863,!0,!0,n);if(a){Fp(a,r);var i=2097152&a.flags?Or(a):a;(i===fe||111551&i.flags)&&Ty(n.expression)}e.getEmitDeclarations(F)&&Ua(n.expression,!0)}else Ty(n.expression);Hh(t),8388608&n.flags&&!e.isEntityNameExpression(n.expression)&&gE(n.expression,e.Diagnostics.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context),!n.isExportEquals||8388608&n.flags||(B>=e.ModuleKind.ES2015?gE(n,e.Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):B===e.ModuleKind.System&&gE(n,e.Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system))}else n.isExportEquals?Xt(n,e.Diagnostics.An_export_assignment_cannot_be_used_in_a_namespace):Xt(n,e.Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module)}}(n);case 223:case 240:return void yE(n);case 262:(function(e){gv(e)})(n)}}(n),d=a}}function jh(n){e.isInJSFile(n)||gE(n,e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments)}function Wh(n){var t=cr(e.getSourceFileOfNode(n));if(!(1&t.flags)){t.deferredNodes=t.deferredNodes||e.createMap();var r=""+C(n);t.deferredNodes.set(r,n)}}function qh(n){var t=d;switch(d=n,b=0,n.kind){case 200:case 201:case 160:case 159:!function(n){e.Debug.assert(160!==n.kind||e.isObjectLiteralMethod(n));var t=e.getFunctionFlags(n),r=Bs(n);if(Z_(n,r),n.body)if(e.getEffectiveReturnTypeNode(n)||Vs(ks(n)),222===n.body.kind)Kh(n.body);else{var a=Fy(n.body),i=ny(r,t);if(i)if(2==(3&t))Od(sv(a,n.body,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member),i,n.body,n.body);else Od(a,i,n.body,n.body)}}(n);break;case 162:case 163:zy(n);break;case 213:!function(n){e.forEach(n.members,Kh),vv(n)}(n);break;case 265:!function(e){Zf(e)}(n);break;case 264:!function(e){Zf(e.openingElement),Ff(e.closingElement.tagName)?Kf(e.closingElement):Fy(e.closingElement.tagName),Bf(e)}(n)}d=t}function zh(t){e.performance.mark("beforeCheck"),function(t){var r=cr(t);if(!(1&r.flags)){if(e.skipTypeChecking(t,F,n))return;!function(n){!!(8388608&n.flags)&&function(n){for(var t=0,r=n.statements;t0?e.concatenate(o,i):i}return e.forEach(n.getSourceFiles(),zh),Gt.getDiagnostics()}(t)}finally{r=void 0}}function Qh(){if(!t)throw new Error("Trying to get diagnostics from a type checker that does not produce them.")}function Zh(e){switch(e.kind){case 154:case 244:case 245:case 246:case 247:return!0;default:return!1}}function $h(e){for(;152===e.parent.kind;)e=e.parent;return 168===e.parent.kind}function eb(n,t){for(var r;(n=e.getContainingClass(n))&&!(r=t(n)););return r}function nb(e,n){return!!eb(e,(function(e){return e===n}))}function tb(e){return void 0!==function(e){for(;152===e.parent.kind;)e=e.parent;return 252===e.parent.kind?e.parent.moduleReference===e?e.parent:void 0:258===e.parent.kind&&e.parent.expression===e?e.parent:void 0}(e)}function rb(n){if(e.isDeclarationName(n))return $r(n.parent);if(e.isInJSFile(n)&&193===n.parent.kind&&n.parent===n.parent.parent.left){var t=function(n){switch(e.getAssignmentDeclarationKind(n.parent.parent)){case 1:case 3:return $r(n.parent);case 4:case 2:case 5:return $r(n.parent.parent)}}(n);if(t)return t}if(258===n.parent.kind&&e.isEntityNameExpression(n)){var r=Gr(n,2998271,!0);if(r&&r!==fe)return r}else if(!e.isPropertyAccessExpression(n)&&tb(n)){var a=e.getAncestor(n,252);return e.Debug.assert(void 0!==a),wr(n,!0)}if(!e.isPropertyAccessExpression(n)){var i=function(n){for(var t=n.parent;e.isQualifiedName(t);)n=t,t=t.parent;if(t&&187===t.kind&&t.qualifier===n)return t}(n);if(i){qc(i);var o=cr(n).resolvedSymbol;return o===fe?void 0:o}}for(;e.isRightSideOfQualifiedNameOrPropertyAccess(n);)n=n.parent;if(function(e){for(;193===e.parent.kind;)e=e.parent;return 215===e.parent.kind}(n)){var s=0;215===n.parent.kind?(s=788968,e.isExpressionWithTypeArgumentsInClassExtendsClause(n.parent)&&(s|=111551)):s=1920,s|=2097152;var l=e.isEntityNameExpression(n)?Gr(n,s):void 0;if(l)return l}if(310===n.parent.kind)return e.getParameterSymbolFromJSDoc(n.parent);if(154===n.parent.kind&&314===n.parent.parent.kind){e.Debug.assert(!e.isInJSFile(n));var c=e.getTypeParameterFromJsDoc(n.parent);return c&&c.symbol}if(e.isExpressionNode(n)){if(e.nodeIsMissing(n))return;if(75===n.kind){if(e.isJSXTagName(n)&&Ff(n)){var d=Kf(n.parent);return d===fe?void 0:d}return Gr(n,111551,!1,!0)}if(193===n.kind||152===n.kind){var u=cr(n);return u.resolvedSymbol||(193===n.kind?fg(n):gg(n)),u.resolvedSymbol}}else if($h(n)){return Gr(n,s=168===n.parent.kind?788968:1920,!1,!0)}return 167===n.parent.kind?Gr(n,1):void 0}function ab(n){if(288===n.kind)return e.isExternalModule(n)?Zr(n.symbol):void 0;var t=n.parent,r=t.parent;if(!(16777216&n.flags)){if(M(n)){var a=$r(t);return e.isImportOrExportSpecifier(n.parent)&&n.parent.propertyName===n?Nf(a):a}if(e.isLiteralComputedPropertyDeclarationName(n))return $r(t.parent);if(75===n.kind){if(tb(n))return rb(n);if(190===t.kind&&188===r.kind&&n===t.propertyName){var i=_s(ib(r),n.escapedText);if(i)return i}}switch(n.kind){case 75:case 193:case 152:return rb(n);case 103:var o=e.getThisContainer(n,!1);if(e.isFunctionLike(o)){var s=ks(o);if(s.thisParameter)return s.thisParameter}if(e.isInExpressionContext(n))return Fy(n).symbol;case 182:return Wc(n).symbol;case 101:return Fy(n).symbol;case 128:var l=n.parent;return l&&161===l.kind?l.parent.symbol:void 0;case 10:case 14:if(e.isExternalModuleImportEqualsDeclaration(n.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(n.parent.parent)===n||(253===n.parent.kind||259===n.parent.kind)&&n.parent.moduleSpecifier===n||e.isInJSFile(n)&&e.isRequireCall(n.parent,!1)||e.isImportCall(n.parent)||e.isLiteralTypeNode(n.parent)&&e.isLiteralImportTypeNode(n.parent.parent)&&n.parent.parent.argument===n.parent)return Vr(n,n);if(e.isCallExpression(t)&&e.isBindableObjectDefinePropertyCall(t)&&t.arguments[1]===n)return $r(t);case 8:var c=e.isElementAccessExpression(t)?t.argumentExpression===n?Py(t.expression):void 0:e.isLiteralTypeNode(t)&&e.isIndexedAccessTypeNode(r)?qc(r.objectType):void 0;return c&&_s(c,e.escapeLeadingUnderscores(n.text));case 83:case 93:case 38:case 79:return $r(n.parent);case 187:return e.isLiteralImportTypeNode(n)?ab(n.argument.literal):void 0;case 88:return e.isExportAssignment(n.parent)?e.Debug.assertDefined(n.parent.symbol):void 0;default:return}}}function ib(n){if(16777216&n.flags)return he;var t,r,a=e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments(n),i=a&&Wi($r(a.class));if(e.isPartOfTypeNode(n)){var o=qc(n);return i?ho(o,i.thisType):o}if(e.isExpressionNode(n))return sb(n);if(i&&!a.isImplements){var s=e.firstOrUndefined(Ki(i));return s?ho(s,i.thisType):he}if(Zh(n))return $i(r=$r(n));if(75===(t=n).kind&&Zh(t.parent)&&t.parent.name===t)return(r=ab(n))?$i(r):he;if(e.isDeclaration(n))return Ri(r=$r(n));if(M(n))return(r=ab(n))?Ri(r):he;if(e.isBindingPattern(n))return oi(n.parent,!0)||he;if(tb(n)&&(r=ab(n))){var l=$i(r);return l!==he?l:Ri(r)}return he}function ob(n){if(e.Debug.assert(192===n.kind||191===n.kind),231===n.parent.kind)return _y(n,Xv(n.parent.expression,n.parent.awaitModifier)||he);if(208===n.parent.kind)return _y(n,Py(n.parent.right)||he);if(279===n.parent.kind){var t=e.cast(n.parent.parent,e.isObjectLiteralExpression);return fy(t,ob(t)||he,e.indexOfNode(t.properties,n.parent))}var r=e.cast(n.parent,e.isArrayLiteralExpression),a=ob(r)||he,i=Jv(65,a,Ee,n.parent)||he;return gy(r,a,r.elements.indexOf(n),i)}function sb(n){return e.isRightSideOfQualifiedNameOrPropertyAccess(n)&&(n=n.parent),Uc(Py(n))}function lb(n){var t=$r(n.parent);return e.hasModifier(n,32)?Ri(t):$i(t)}function cb(n){var t=n.name;switch(t.kind){case 75:return Kc(e.idText(t));case 8:case 10:return Kc(t.text);case 153:var r=Of(t);return dy(r,12288)?r:xe;default:return e.Debug.fail("Unsupported property name.")}}function db(n){n=ms(n);var t=e.createSymbolTable(Zo(n)),r=vs(n,0).length?cn:vs(n,1).length?dn:void 0;return r&&e.forEach(Zo(r),(function(e){t.has(e.escapedName)||t.set(e.escapedName,e)})),pa(t)}function ub(n){return e.typeHasCallOrConstructSignatures(n,ae)}function mb(n){if(!e.isGeneratedIdentifier(n)){var t=e.getParseTreeNode(n,e.isIdentifier);if(t)return!(193===t.parent.kind&&t.parent.name===t)&&Fb(t)===te}return!1}function pb(n){var t=Vr(n.parent,n);if(!t||e.isShorthandAmbientModuleSymbol(t))return!0;var r=Wr(t),a=lr(t=Kr(t));return void 0===a.exportsSomeValue&&(a.exportsSomeValue=r?!!(111551&t.flags):e.forEachEntry(Jr(t),(function(e){return(e=Mr(e))&&!!(111551&e.flags)}))),a.exportsSomeValue}function fb(n,t){var r=e.getParseTreeNode(n,e.isIdentifier);if(r){var a=Fb(r,function(n){return e.isModuleOrEnumDeclaration(n.parent)&&n===n.parent.name}(r));if(a){if(1048576&a.flags){var i=Zr(a.exportSymbol);if(!t&&944&i.flags&&!(3&i.flags))return;a=i}var o=ea(a);if(o){if(512&o.flags&&288===o.valueDeclaration.kind){var s=o.valueDeclaration;return s!==e.getSourceFileOfNode(r)?void 0:s}return e.findAncestor(r.parent,(function(n){return e.isModuleOrEnumDeclaration(n)&&$r(n)===o}))}}}}function gb(n){var t=e.getParseTreeNode(n,e.isIdentifier);if(t){var r=Fb(t);if(Ir(r,111551))return Tr(r)}}function _b(n){if(418&n.flags&&!e.isSourceFile(n.valueDeclaration)){var t=lr(n);if(void 0===t.isDeclarationWithCollidingName){var r=e.getEnclosingBlockScopeContainer(n.valueDeclaration);if(e.isStatementWithLocals(r)||function(n){return e.isBindingElement(n.valueDeclaration)&&278===e.walkUpBindingElementsAndPatterns(n.valueDeclaration).parent.kind}(n)){var a=cr(n.valueDeclaration);if(pr(r.parent,n.escapedName,111551,void 0,void 0,!1))t.isDeclarationWithCollidingName=!0;else if(262144&a.flags){var i=524288&a.flags,o=e.isIterationStatement(r,!1),s=222===r.kind&&e.isIterationStatement(r.parent,!1);t.isDeclarationWithCollidingName=!(e.isBlockScopedContainerTopLevel(r)||i&&(o||s))}else t.isDeclarationWithCollidingName=!1}}return t.isDeclarationWithCollidingName}return!1}function yb(n){if(!e.isGeneratedIdentifier(n)){var t=e.getParseTreeNode(n,e.isIdentifier);if(t){var r=Fb(t);if(r&&_b(r))return r.valueDeclaration}}}function vb(n){var t=e.getParseTreeNode(n,e.isDeclaration);if(t){var r=$r(t);if(r)return _b(r)}return!1}function hb(n){switch(n.kind){case 252:case 254:case 255:case 257:case 261:return Eb($r(n)||fe);case 259:var t=n.exportClause;return!!t&&e.some(t.elements,hb);case 258:return!n.expression||75!==n.expression.kind||Eb($r(n)||fe)}return!1}function bb(n){var t=e.getParseTreeNode(n,e.isImportEqualsDeclaration);return!(void 0===t||288!==t.parent.kind||!e.isInternalModuleImportEqualsDeclaration(t))&&(Eb($r(t))&&t.moduleReference&&!e.nodeIsMissing(t.moduleReference))}function Eb(e){var n=Or(e);return n===fe||!!(111551&n.flags)&&(F.preserveConstEnums||!Tb(n))}function Tb(e){return py(e)||!!e.constEnumOnlyModule}function Sb(n){if(e.nodeIsPresent(n.body)){if(e.isGetAccessor(n)||e.isSetAccessor(n))return!1;var t=Ps($r(n));return t.length>1||1===t.length&&t[0].declaration!==n}return!1}function Lb(n){return!(!H||Ds(n)||e.isJSDocParameterTag(n)||!n.initializer||e.hasModifier(n,92))}function Ab(n){return H&&Ds(n)&&!n.initializer&&e.hasModifier(n,92)}function xb(n){var t=e.getParseTreeNode(n,e.isFunctionDeclaration);if(!t)return!1;var r=$r(t);return!!(r&&16&r.flags)&&!!e.forEachEntry(Xr(r),(function(n){return 111551&n.flags&&n.valueDeclaration&&e.isPropertyAccessExpression(n.valueDeclaration)}))}function Cb(n){var t=e.getParseTreeNode(n,e.isFunctionDeclaration);if(!t)return e.emptyArray;var r=$r(t);return r&&Zo(Ri(r))||e.emptyArray}function Db(e){return cr(e).flags||0}function Rb(e){return kh(e.parent),cr(e).enumMemberValue}function Ib(e){switch(e.kind){case 282:case 193:case 194:return!0}return!1}function Mb(n){if(282===n.kind)return Rb(n);var t=cr(n).resolvedSymbol;if(t&&8&t.flags){var r=t.valueDeclaration;if(e.isEnumConst(r.parent))return Rb(r)}}function Ob(e){return!!(524288&e.flags)&&vs(e,0).length>0}function kb(n,t){var r=e.getParseTreeNode(n,e.isEntityName);if(!r)return e.TypeReferenceSerializationKind.Unknown;if(t&&!(t=e.getParseTreeNode(t)))return e.TypeReferenceSerializationKind.Unknown;var a=Gr(r,111551,!0,!1,t),i=Gr(r,788968,!0,!1,t);if(a&&a===i){var o=Ml(!1);if(o&&a===o)return e.TypeReferenceSerializationKind.Promise;var s=Ri(a);if(s&&Fi(s))return e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}if(!i)return e.TypeReferenceSerializationKind.Unknown;var l=$i(i);return l===he?e.TypeReferenceSerializationKind.Unknown:3&l.flags?e.TypeReferenceSerializationKind.ObjectType:dy(l,245760)?e.TypeReferenceSerializationKind.VoidNullableOrNeverType:dy(l,528)?e.TypeReferenceSerializationKind.BooleanType:dy(l,296)?e.TypeReferenceSerializationKind.NumberLikeType:dy(l,2112)?e.TypeReferenceSerializationKind.BigIntLikeType:dy(l,132)?e.TypeReferenceSerializationKind.StringLikeType:Ru(l)?e.TypeReferenceSerializationKind.ArrayLikeType:dy(l,12288)?e.TypeReferenceSerializationKind.ESSymbolType:Ob(l)?e.TypeReferenceSerializationKind.TypeWithCallSignature:fu(l)?e.TypeReferenceSerializationKind.ArrayLikeType:e.TypeReferenceSerializationKind.ObjectType}function Nb(n,t,r,a,i){var o=e.getParseTreeNode(n,e.isVariableLikeOrAccessor);if(!o)return e.createToken(124);var s=$r(o),l=!s||133120&s.flags?he:Au(Ri(s));return 8192&l.flags&&l.symbol===s&&(r|=1048576),i&&(l=Fu(l)),Q.typeToTypeNode(l,t,1024|r,a)}function wb(n,t,r,a){var i=e.getParseTreeNode(n,e.isFunctionLike);if(!i)return e.createToken(124);var o=ks(i);return Q.typeToTypeNode(Vs(o),t,1024|r,a)}function Pb(n,t,r,a){var i=e.getParseTreeNode(n,e.isExpression);if(!i)return e.createToken(124);var o=Zu(sb(i));return Q.typeToTypeNode(o,t,1024|r,a)}function Gb(n){return Z.has(e.escapeLeadingUnderscores(n))}function Fb(n,t){var r=cr(n).resolvedSymbol;if(r)return r;var a=n;if(t){var i=n.parent;e.isDeclaration(i)&&n===i.name&&(a=qa(i))}return pr(a,n.escapedText,3257279,void 0,void 0,!0)}function Vb(n){if(!e.isGeneratedIdentifier(n)){var t=e.getParseTreeNode(n,e.isIdentifier);if(t){var r=Fb(t);if(r)return aa(r).valueDeclaration}}}function Bb(n){return!!(e.isDeclarationReadonly(n)||e.isVariableDeclaration(n)&&e.isVarConst(n))&&Hc(Ri($r(n)))}function Ub(n,t){return function(n,t,r){return(1024&n.flags?Q.symbolToExpression(n.symbol,111551,t,void 0,r):n===Me?e.createTrue():n===Re&&e.createFalse())||e.createLiteral(n.value)}(Ri($r(n)),n,t)}function Hb(n){var t=248===n.kind?e.tryCast(n.name,e.isStringLiteral):e.getExternalModuleName(n),r=Br(t,t,void 0);if(r)return e.getDeclarationOfKind(r,288)}function Kb(n,t){if((a&t)!==t&&F.importHelpers){var r=e.getSourceFileOfNode(n);if(e.isEffectiveExternalModule(r,F)&&!(8388608&n.flags)){var i=function(n,t){c||(c=Ur(n,e.externalHelpersModuleNameText,e.Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,t)||fe);return c}(r,n);if(i!==fe)for(var o=t&~a,s=1;s<=131072;s<<=1)if(o&s){var l=jb(s);ur(i.exports,e.escapeLeadingUnderscores(l),111551)||Xt(n,e.Diagnostics.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0,e.externalHelpersModuleNameText,l)}a|=t}}}function jb(n){switch(n){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"__spreadArrays";case 4096:return"__await";case 8192:return"__asyncGenerator";case 16384:return"__asyncDelegator";case 32768:return"__asyncValues";case 65536:return"__exportStar";case 131072:return"__makeTemplateObject";default:return e.Debug.fail("Unrecognized helper")}}function Wb(n){return function(n){if(!n.decorators)return!1;if(!e.nodeCanBeDecorated(n,n.parent,n.parent.parent))return 160!==n.kind||e.nodeIsPresent(n.body)?pE(n,e.Diagnostics.Decorators_are_not_valid_here):pE(n,e.Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload);if(162===n.kind||163===n.kind){var t=e.getAllAccessorDeclarations(n.parent.members,n);if(t.firstAccessor.decorators&&n===t.secondAccessor)return pE(n,e.Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}return!1}(n)||function(n){var t,r,a,i,o=function(n){return!!n.modifiers&&(function(n){switch(n.kind){case 162:case 163:case 161:case 158:case 157:case 160:case 159:case 166:case 248:case 253:case 252:case 259:case 258:case 200:case 201:case 155:return!1;default:if(249===n.parent.kind||288===n.parent.kind)return!1;switch(n.kind){case 243:return qb(n,125);case 244:return qb(n,121);case 245:case 224:case 246:return!0;case 247:return qb(n,80);default:return e.Debug.fail(),!1}}}(n)?pE(n,e.Diagnostics.Modifiers_cannot_appear_here):void 0)}(n);if(void 0!==o)return o;for(var s=0,l=0,c=n.modifiers;l1||e.modifiers[0].kind!==n}function zb(n,t){return void 0===t&&(t=e.Diagnostics.Trailing_comma_not_allowed),!(!n||!n.hasTrailingComma)&&fE(n[0],n.end-",".length,",".length,t)}function Xb(n,t){if(n&&0===n.length){var r=n.pos-"<".length;return fE(t,r,e.skipTrivia(t.text,n.end)+">".length-r,e.Diagnostics.Type_parameter_list_cannot_be_empty)}return!1}function Jb(n){if(V>=3){var t=n.body&&e.isBlock(n.body)&&e.findUseStrictPrologue(n.body.statements);if(t){var r=(i=n.parameters,e.filter(i,(function(n){return!!n.initializer||e.isBindingPattern(n.name)||e.isRestParameter(n)})));if(e.length(r)){e.forEach(r,(function(n){e.addRelatedInfo(Xt(n,e.Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive),e.createDiagnosticForNode(t,e.Diagnostics.use_strict_directive_used_here))}));var a=r.map((function(n,t){return 0===t?e.createDiagnosticForNode(n,e.Diagnostics.Non_simple_parameter_declared_here):e.createDiagnosticForNode(n,e.Diagnostics.and_here)}));return e.addRelatedInfo.apply(void 0,o([Xt(t,e.Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list)],a)),!0}}}var i;return!1}function Yb(n){var t=e.getSourceFileOfNode(n);return Wb(n)||Xb(n.typeParameters,t)||function(n){for(var t=!1,r=n.length,a=0;a".length-a,e.Diagnostics.Type_argument_list_cannot_be_empty)}return!1}(n,t)}function Zb(n){return function(n){if(n)for(var t=0,r=n;t1){t=230===n.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 pE(i.declarations[1],t)}var s=o[0];if(s.initializer){var t=230===n.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 gE(s.name,t)}if(s.type)return gE(s,t=230===n.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!1}function oE(n){if(n.parameters.length===(162===n.kind?1:2))return e.getThisParameter(n)}function sE(n,t){if(function(n){return e.isDynamicName(n)&&!co(n)}(n))return gE(n,t)}function lE(n){if(Yb(n))return!0;if(160===n.kind){if(192===n.parent.kind){if(n.modifiers&&(1!==n.modifiers.length||125!==e.first(n.modifiers).kind))return pE(n,e.Diagnostics.Modifiers_cannot_appear_here);if(rE(n.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional))return!0;if(aE(n.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context))return!0;if(void 0===n.body)return fE(n,n.end-1,";".length,e.Diagnostics._0_expected,"{")}if(tE(n))return!0}if(e.isClassLike(n.parent)){if(8388608&n.flags)return sE(n.name,e.Diagnostics.A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(160===n.kind&&!n.body)return sE(n.name,e.Diagnostics.A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}else{if(245===n.parent.kind)return sE(n.name,e.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(172===n.parent.kind)return sE(n.name,e.Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}}function cE(n){return e.isStringOrNumericLiteralLike(n)||206===n.kind&&40===n.operator&&8===n.operand.kind}function dE(n){var t,r=n.initializer;if(r){var a=!(cE(r)||function(n){if((e.isPropertyAccessExpression(n)||e.isElementAccessExpression(n)&&cE(n.argumentExpression))&&e.isEntityNameExpression(n.expression))return!!(1024&Ty(n).flags)}(r)||105===r.kind||90===r.kind||(t=r,9===t.kind||206===t.kind&&40===t.operator&&9===t.operand.kind)),i=e.isDeclarationReadonly(n)||e.isVariableDeclaration(n)&&e.isVarConst(n);if(!i||n.type)return gE(r,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts);if(a)return gE(r,e.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference);if(!i||a)return gE(r,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}function uE(n){var t=n.declarations;return!!zb(n.declarations)||!n.declarations.length&&fE(n,t.pos,t.end-t.pos,e.Diagnostics.Variable_declaration_list_cannot_be_empty)}function mE(e){return e.parseDiagnostics.length>0}function pE(n,t,r,a,i){var o=e.getSourceFileOfNode(n);if(!mE(o)){var s=e.getSpanOfTokenAtPosition(o,n.pos);return Gt.add(e.createFileDiagnostic(o,s.start,s.length,t,r,a,i)),!0}return!1}function fE(n,t,r,a,i,o,s){var l=e.getSourceFileOfNode(n);return!mE(l)&&(Gt.add(e.createFileDiagnostic(l,t,r,a,i,o,s)),!0)}function gE(n,t,r,a,i){return!mE(e.getSourceFileOfNode(n))&&(Gt.add(e.createDiagnosticForNode(n,t,r,a,i)),!0)}function _E(n){return 245!==n.kind&&246!==n.kind&&253!==n.kind&&252!==n.kind&&259!==n.kind&&258!==n.kind&&251!==n.kind&&!e.hasModifier(n,515)&&pE(n,e.Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function yE(n){if(8388608&n.flags){if(!cr(n).hasReportedStatementInAmbientContext&&(e.isFunctionLike(n.parent)||e.isAccessor(n.parent)))return cr(n).hasReportedStatementInAmbientContext=pE(n,e.Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts);if(222===n.parent.kind||249===n.parent.kind||288===n.parent.kind){var t=cr(n.parent);if(!t.hasReportedStatementInAmbientContext)return t.hasReportedStatementInAmbientContext=pE(n,e.Diagnostics.Statements_are_not_allowed_in_ambient_contexts)}}return!1}function vE(n){if(32&n.numericLiteralFlags){var t=void 0;if(V>=1?t=e.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:e.isChildOfNodeWithKind(n,186)?t=e.Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:e.isChildOfNodeWithKind(n,282)&&(t=e.Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0),t){var r=e.isPrefixUnaryExpression(n.parent)&&40===n.parent.operator,a=(r?"-":"")+"0o"+n.text;return gE(r?n.parent:n,t,a)}}return function(n){if(16&n.numericLiteralFlags||n.text.length<=15||-1!==n.text.indexOf("."))return;var t=+e.getTextOfNode(n);if(t<=Math.pow(2,53)-1&&t+1>t)return;Jt(!1,e.createDiagnosticForNode(n,e.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}(n),!1}},function(e){e.JSX="JSX",e.IntrinsicElements="IntrinsicElements",e.ElementClass="ElementClass",e.ElementAttributesPropertyNameContainer="ElementAttributesProperty",e.ElementChildrenAttributeNameContainer="ElementChildrenAttribute",e.Element="Element",e.IntrinsicAttributes="IntrinsicAttributes",e.IntrinsicClassAttributes="IntrinsicClassAttributes",e.LibraryManagedAttributes="LibraryManagedAttributes"}(A||(A={})),e.signatureHasRestParameter=N,e.signatureHasLiteralTypes=w}(u||(u={})),function(e){function n(n){var t=e.createNode(n,-1,-1);return t.flags|=8,t}function t(n,t){return n!==t&&(mt(n,t),ot(n,t),e.aggregateTransformFlags(n)),n}function r(n,t){if(n&&n!==e.emptyArray){if(e.isNodeArray(n))return n}else n=[];var r=n;return r.pos=-1,r.end=-1,r.hasTrailingComma=t,r}function a(e){if(void 0===e)return e;var t=n(e.kind);for(var r in t.flags|=e.flags,mt(t,e),e)!t.hasOwnProperty(r)&&e.hasOwnProperty(r)&&(t[r]=e[r]);return t}function i(n,t){if("number"==typeof n)return o(n+"");if("object"==typeof n&&"base10Value"in n)return s(e.pseudoBigIntToString(n)+"n");if("boolean"==typeof n)return n?f():g();if(e.isString(n)){var r=l(n);return t&&(r.singleQuote=!0),r}return a=n,(i=l(e.getTextOfIdentifierOrLiteral(a))).textSourceNode=a,i;var a,i}function o(e,t){void 0===t&&(t=0);var r=n(8);return r.text=e,r.numericLiteralFlags=t,r}function s(e){var t=n(9);return t.text=e,t}function l(e){var t=n(10);return t.text=e,t}function c(t,a){var i=n(75);return i.escapedText=e.escapeLeadingUnderscores(t),i.originalKeywordKind=t?e.stringToToken(t):0,i.autoGenerateFlags=0,i.autoGenerateId=0,a&&(i.typeArguments=r(a)),i}e.updateNode=t,e.createNodeArray=r,e.getSynthesizedClone=a,e.createLiteral=i,e.createNumericLiteral=o,e.createBigIntLiteral=s,e.createStringLiteral=l,e.createRegularExpressionLiteral=function(e){var t=n(13);return t.text=e,t},e.createIdentifier=c,e.updateIdentifier=function(n,r){return n.typeArguments!==r?t(c(e.idText(n),r),n):n};var d,u=0;function m(e){var n=c(e);return n.autoGenerateFlags=19,n.autoGenerateId=u,u++,n}function p(e){return n(e)}function f(){return n(105)}function g(){return n(90)}function _(e){return p(e)}function y(e,t){var r=n(152);return r.left=e,r.right=nt(t),r}function v(t){var r=n(153);return r.expression=function(n){return e.isCommaSequence(n)?_e(n):n}(t),r}function h(e,t,r){var a=n(154);return a.name=nt(e),a.constraint=t,a.default=r,a}function b(t,r,a,i,o,s,l){var c=n(155);return c.decorators=rt(t),c.modifiers=rt(r),c.dotDotDotToken=a,c.name=nt(i),c.questionToken=o,c.type=s,c.initializer=l?e.parenthesizeExpressionForList(l):void 0,c}function E(t){var r=n(156);return r.expression=e.parenthesizeForAccess(t),r}function T(e,t,r,a,i){var o=n(157);return o.modifiers=rt(e),o.name=nt(t),o.questionToken=r,o.type=a,o.initializer=i,o}function S(e,t,r,a,i,o){var s=n(158);return s.decorators=rt(e),s.modifiers=rt(t),s.name=nt(r),s.questionToken=void 0!==a&&57===a.kind?a:void 0,s.exclamationToken=void 0!==a&&53===a.kind?a:void 0,s.type=i,s.initializer=o,s}function L(e,n,t,r,a){var i=O(159,e,n,t);return i.name=nt(r),i.questionToken=a,i}function A(e,t,a,i,o,s,l,c,d){var u=n(160);return u.decorators=rt(e),u.modifiers=rt(t),u.asteriskToken=a,u.name=nt(i),u.questionToken=o,u.typeParameters=rt(s),u.parameters=r(l),u.type=c,u.body=d,u}function x(e,n,t){return function(e,n,t){return de(ae(e,nt(n)),void 0,t)}(c(e),n,t)}function C(e,n,t){return!!t&&(e.push(Kn(n,t)),!0)}function D(e,t,a,i){var o=n(161);return o.decorators=rt(e),o.modifiers=rt(t),o.typeParameters=void 0,o.parameters=r(a),o.type=void 0,o.body=i,o}function R(e,t,a,i,o,s){var l=n(162);return l.decorators=rt(e),l.modifiers=rt(t),l.name=nt(a),l.typeParameters=void 0,l.parameters=r(i),l.type=o,l.body=s,l}function I(e,t,a,i,o){var s=n(163);return s.decorators=rt(e),s.modifiers=rt(t),s.name=nt(a),s.typeParameters=void 0,s.parameters=r(i),s.body=o,s}function M(e,t,a,i){var o=n(166);return o.decorators=rt(e),o.modifiers=rt(t),o.parameters=r(a),o.type=i,o}function O(e,t,r,a,i){var o=n(e);return o.typeParameters=rt(t),o.parameters=rt(r),o.type=a,o.typeArguments=rt(i),o}function k(e,n,r,a){return e.typeParameters!==n||e.parameters!==r||e.type!==a?t(O(e.kind,n,r,a),e):e}function N(e,t,r){var a=n(167);return a.assertsModifier=e,a.parameterName=nt(t),a.type=r,a}function w(e,n,r,a){return e.assertsModifier!==n||e.parameterName!==r||e.type!==a?t(N(n,r,a),e):e}function P(t,r){var a=n(168);return a.typeName=nt(t),a.typeArguments=r&&e.parenthesizeTypeParameters(r),a}function G(e){var t=n(171);return t.exprName=e,t}function F(e){var t=n(172);return t.members=r(e),t}function V(t){var r=n(173);return r.elementType=e.parenthesizeArrayTypeMember(t),r}function B(e){var t=n(174);return t.elementTypes=r(e),t}function U(t){var r=n(175);return r.type=e.parenthesizeArrayTypeMember(t),r}function H(e){var t=n(176);return t.type=e,t}function K(t,r){var a=n(t);return a.types=e.parenthesizeElementTypeMembers(r),a}function j(e,n){return e.types!==n?t(K(e.kind,n),e):e}function W(t,r,a,i){var o=n(179);return o.checkType=e.parenthesizeConditionalTypeMember(t),o.extendsType=e.parenthesizeConditionalTypeMember(r),o.trueType=a,o.falseType=i,o}function q(e){var t=n(180);return t.typeParameter=e,t}function z(t,r,a,i){var o=n(187);return o.argument=t,o.qualifier=r,o.typeArguments=e.parenthesizeTypeParameters(a),o.isTypeOf=i,o}function X(e){var t=n(181);return t.type=e,t}function J(t,r){var a=n(183);return a.operator="number"==typeof t?t:133,a.type=e.parenthesizeElementTypeMember("number"==typeof t?r:t),a}function Y(t,r){var a=n(184);return a.objectType=e.parenthesizeElementTypeMember(t),a.indexType=r,a}function Q(e,t,r,a){var i=n(185);return i.readonlyToken=e,i.typeParameter=t,i.questionToken=r,i.type=a,i}function Z(e){var t=n(186);return t.literal=e,t}function $(e){var t=n(188);return t.elements=r(e),t}function ee(e){var t=n(189);return t.elements=r(e),t}function ne(e,t,r,a){var i=n(190);return i.dotDotDotToken=e,i.propertyName=nt(t),i.name=nt(r),i.initializer=a,i}function te(t,a){var i=n(191);return i.elements=e.parenthesizeListElements(r(t)),a&&(i.multiLine=!0),i}function re(e,t){var a=n(192);return a.properties=r(e),t&&(a.multiLine=!0),a}function ae(t,r){var a=n(193);return a.expression=e.parenthesizeForAccess(t),a.name=nt(r),st(a,131072),a}function ie(t,r,a){var i=n(193);return i.flags|=32,i.expression=e.parenthesizeForAccess(t),i.questionDotToken=r,i.name=nt(a),st(i,131072),i}function oe(n,r,a,i){return e.Debug.assert(!!(32&n.flags),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),n.expression!==r||n.questionDotToken!==a||n.name!==i?t(st(ie(r,a,i),e.getEmitFlags(n)),n):n}function se(t,r){var a=n(194);return a.expression=e.parenthesizeForAccess(t),a.argumentExpression=tt(r),a}function le(t,r,a){var i=n(194);return i.flags|=32,i.expression=e.parenthesizeForAccess(t),i.questionDotToken=r,i.argumentExpression=tt(a),i}function ce(n,r,a,i){return e.Debug.assert(!!(32&n.flags),"Cannot update an ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),n.expression!==r||n.questionDotToken!==a||n.argumentExpression!==i?t(le(r,a,i),n):n}function de(t,a,i){var o=n(195);return o.expression=e.parenthesizeForAccess(t),o.typeArguments=rt(a),o.arguments=e.parenthesizeListElements(r(i)),o}function ue(t,a,i,o){var s=n(195);return s.flags|=32,s.expression=e.parenthesizeForAccess(t),s.questionDotToken=a,s.typeArguments=rt(i),s.arguments=e.parenthesizeListElements(r(o)),s}function me(n,r,a,i,o){return e.Debug.assert(!!(32&n.flags),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),n.expression!==r||n.questionDotToken!==a||n.typeArguments!==i||n.arguments!==o?t(ue(r,a,i,o),n):n}function pe(t,a,i){var o=n(196);return o.expression=e.parenthesizeForNew(t),o.typeArguments=rt(a),o.arguments=i?e.parenthesizeListElements(r(i)):void 0,o}function fe(t,r,a){var i=n(197);return i.tag=e.parenthesizeForAccess(t),a?(i.typeArguments=rt(r),i.template=a):(i.typeArguments=void 0,i.template=r),i}function ge(t,r){var a=n(198);return a.type=t,a.expression=e.parenthesizePrefixOperand(r),a}function _e(e){var t=n(199);return t.expression=e,t}function ye(e,t,a,i,o,s,l){var c=n(200);return c.modifiers=rt(e),c.asteriskToken=t,c.name=nt(a),c.typeParameters=rt(i),c.parameters=r(o),c.type=s,c.body=l,c}function ve(t,a,i,o,s,l){var c=n(201);return c.modifiers=rt(t),c.typeParameters=rt(a),c.parameters=r(i),c.type=o,c.equalsGreaterThanToken=s||p(38),c.body=e.parenthesizeConciseBody(l),c}function he(t){var r=n(202);return r.expression=e.parenthesizePrefixOperand(t),r}function be(t){var r=n(203);return r.expression=e.parenthesizePrefixOperand(t),r}function Ee(t){var r=n(204);return r.expression=e.parenthesizePrefixOperand(t),r}function Te(t){var r=n(205);return r.expression=e.parenthesizePrefixOperand(t),r}function Se(t,r){var a=n(206);return a.operator=t,a.operand=e.parenthesizePrefixOperand(r),a}function Le(t,r){var a=n(207);return a.operand=e.parenthesizePostfixOperand(t),a.operator=r,a}function Ae(t,r,a){var i,o=n(208),s="number"==typeof(i=r)?p(i):i,l=s.kind;return o.left=e.parenthesizeBinaryOperand(l,t,!0,void 0),o.operatorToken=s,o.right=e.parenthesizeBinaryOperand(l,a,!1,o.left),o}function xe(t,r,a,i,o){var s=n(209);return s.condition=e.parenthesizeForConditionalHead(t),s.questionToken=o?r:p(57),s.whenTrue=e.parenthesizeSubexpressionOfConditionalExpression(o?a:r),s.colonToken=o?i:p(58),s.whenFalse=e.parenthesizeSubexpressionOfConditionalExpression(o||a),s}function Ce(e,t){var a=n(210);return a.head=e,a.templateSpans=r(t),a}e.createTempVariable=function(e,n){var t=c("");return t.autoGenerateFlags=1,t.autoGenerateId=u,u++,e&&e(t),n&&(t.autoGenerateFlags|=8),t},e.createLoopVariable=function(){var e=c("");return e.autoGenerateFlags=2,e.autoGenerateId=u,u++,e},e.createUniqueName=function(e){var n=c(e);return n.autoGenerateFlags=3,n.autoGenerateId=u,u++,n},e.createOptimisticUniqueName=m,e.createFileLevelUniqueName=function(e){var n=m(e);return n.autoGenerateFlags|=32,n},e.getGeneratedNameForNode=function(n,t){var r=c(n&&e.isIdentifier(n)?e.idText(n):"");return r.autoGenerateFlags=4|t,r.autoGenerateId=u,r.original=n,u++,r},e.createToken=p,e.createSuper=function(){return n(101)},e.createThis=function(){return n(103)},e.createNull=function(){return n(99)},e.createTrue=f,e.createFalse=g,e.createModifier=_,e.createModifiersFromModifierFlags=function(e){var n=[];return 1&e&&n.push(_(88)),2&e&&n.push(_(129)),512&e&&n.push(_(83)),2048&e&&n.push(_(80)),4&e&&n.push(_(118)),8&e&&n.push(_(116)),16&e&&n.push(_(117)),128&e&&n.push(_(121)),32&e&&n.push(_(119)),64&e&&n.push(_(137)),256&e&&n.push(_(125)),n},e.createQualifiedName=y,e.updateQualifiedName=function(e,n,r){return e.left!==n||e.right!==r?t(y(n,r),e):e},e.createComputedPropertyName=v,e.updateComputedPropertyName=function(e,n){return e.expression!==n?t(v(n),e):e},e.createTypeParameterDeclaration=h,e.updateTypeParameterDeclaration=function(e,n,r,a){return e.name!==n||e.constraint!==r||e.default!==a?t(h(n,r,a),e):e},e.createParameter=b,e.updateParameter=function(e,n,r,a,i,o,s,l){return e.decorators!==n||e.modifiers!==r||e.dotDotDotToken!==a||e.name!==i||e.questionToken!==o||e.type!==s||e.initializer!==l?t(b(n,r,a,i,o,s,l),e):e},e.createDecorator=E,e.updateDecorator=function(e,n){return e.expression!==n?t(E(n),e):e},e.createPropertySignature=T,e.updatePropertySignature=function(e,n,r,a,i,o){return e.modifiers!==n||e.name!==r||e.questionToken!==a||e.type!==i||e.initializer!==o?t(T(n,r,a,i,o),e):e},e.createProperty=S,e.updateProperty=function(e,n,r,a,i,o,s){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.questionToken!==(void 0!==i&&57===i.kind?i:void 0)||e.exclamationToken!==(void 0!==i&&53===i.kind?i:void 0)||e.type!==o||e.initializer!==s?t(S(n,r,a,i,o,s),e):e},e.createMethodSignature=L,e.updateMethodSignature=function(e,n,r,a,i,o){return e.typeParameters!==n||e.parameters!==r||e.type!==a||e.name!==i||e.questionToken!==o?t(L(n,r,a,i,o),e):e},e.createMethod=A,e.createObjectDefinePropertyCall=function(e,n,t){return x("Object","defineProperty",[e,tt(n),t])},e.createPropertyDescriptor=function(n,t){var r=[];C(r,"enumerable",tt(n.enumerable)),C(r,"configurable",tt(n.configurable));var a=C(r,"writable",tt(n.writable));a=C(r,"value",n.value)||a;var i=C(r,"get",n.get);return i=C(r,"set",n.set)||i,e.Debug.assert(!(a&&i),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),re(r,!t)},e.updateMethod=function(e,n,r,a,i,o,s,l,c,d){return e.decorators!==n||e.modifiers!==r||e.asteriskToken!==a||e.name!==i||e.questionToken!==o||e.typeParameters!==s||e.parameters!==l||e.type!==c||e.body!==d?t(A(n,r,a,i,o,s,l,c,d),e):e},e.createConstructor=D,e.updateConstructor=function(e,n,r,a,i){return e.decorators!==n||e.modifiers!==r||e.parameters!==a||e.body!==i?t(D(n,r,a,i),e):e},e.createGetAccessor=R,e.updateGetAccessor=function(e,n,r,a,i,o,s){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.parameters!==i||e.type!==o||e.body!==s?t(R(n,r,a,i,o,s),e):e},e.createSetAccessor=I,e.updateSetAccessor=function(e,n,r,a,i,o){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.parameters!==i||e.body!==o?t(I(n,r,a,i,o),e):e},e.createCallSignature=function(e,n,t){return O(164,e,n,t)},e.updateCallSignature=function(e,n,t,r){return k(e,n,t,r)},e.createConstructSignature=function(e,n,t){return O(165,e,n,t)},e.updateConstructSignature=function(e,n,t,r){return k(e,n,t,r)},e.createIndexSignature=M,e.updateIndexSignature=function(e,n,r,a,i){return e.parameters!==a||e.type!==i||e.decorators!==n||e.modifiers!==r?t(M(n,r,a,i),e):e},e.createSignatureDeclaration=O,e.createKeywordTypeNode=function(e){return n(e)},e.createTypePredicateNode=function(e,n){return N(void 0,e,n)},e.createTypePredicateNodeWithModifier=N,e.updateTypePredicateNode=function(e,n,t){return w(e,e.assertsModifier,n,t)},e.updateTypePredicateNodeWithModifier=w,e.createTypeReferenceNode=P,e.updateTypeReferenceNode=function(e,n,r){return e.typeName!==n||e.typeArguments!==r?t(P(n,r),e):e},e.createFunctionTypeNode=function(e,n,t){return O(169,e,n,t)},e.updateFunctionTypeNode=function(e,n,t,r){return k(e,n,t,r)},e.createConstructorTypeNode=function(e,n,t){return O(170,e,n,t)},e.updateConstructorTypeNode=function(e,n,t,r){return k(e,n,t,r)},e.createTypeQueryNode=G,e.updateTypeQueryNode=function(e,n){return e.exprName!==n?t(G(n),e):e},e.createTypeLiteralNode=F,e.updateTypeLiteralNode=function(e,n){return e.members!==n?t(F(n),e):e},e.createArrayTypeNode=V,e.updateArrayTypeNode=function(e,n){return e.elementType!==n?t(V(n),e):e},e.createTupleTypeNode=B,e.updateTupleTypeNode=function(e,n){return e.elementTypes!==n?t(B(n),e):e},e.createOptionalTypeNode=U,e.updateOptionalTypeNode=function(e,n){return e.type!==n?t(U(n),e):e},e.createRestTypeNode=H,e.updateRestTypeNode=function(e,n){return e.type!==n?t(H(n),e):e},e.createUnionTypeNode=function(e){return K(177,e)},e.updateUnionTypeNode=function(e,n){return j(e,n)},e.createIntersectionTypeNode=function(e){return K(178,e)},e.updateIntersectionTypeNode=function(e,n){return j(e,n)},e.createUnionOrIntersectionTypeNode=K,e.createConditionalTypeNode=W,e.updateConditionalTypeNode=function(e,n,r,a,i){return e.checkType!==n||e.extendsType!==r||e.trueType!==a||e.falseType!==i?t(W(n,r,a,i),e):e},e.createInferTypeNode=q,e.updateInferTypeNode=function(e,n){return e.typeParameter!==n?t(q(n),e):e},e.createImportTypeNode=z,e.updateImportTypeNode=function(e,n,r,a,i){return e.argument!==n||e.qualifier!==r||e.typeArguments!==a||e.isTypeOf!==i?t(z(n,r,a,i),e):e},e.createParenthesizedType=X,e.updateParenthesizedType=function(e,n){return e.type!==n?t(X(n),e):e},e.createThisTypeNode=function(){return n(182)},e.createTypeOperatorNode=J,e.updateTypeOperatorNode=function(e,n){return e.type!==n?t(J(e.operator,n),e):e},e.createIndexedAccessTypeNode=Y,e.updateIndexedAccessTypeNode=function(e,n,r){return e.objectType!==n||e.indexType!==r?t(Y(n,r),e):e},e.createMappedTypeNode=Q,e.updateMappedTypeNode=function(e,n,r,a,i){return e.readonlyToken!==n||e.typeParameter!==r||e.questionToken!==a||e.type!==i?t(Q(n,r,a,i),e):e},e.createLiteralTypeNode=Z,e.updateLiteralTypeNode=function(e,n){return e.literal!==n?t(Z(n),e):e},e.createObjectBindingPattern=$,e.updateObjectBindingPattern=function(e,n){return e.elements!==n?t($(n),e):e},e.createArrayBindingPattern=ee,e.updateArrayBindingPattern=function(e,n){return e.elements!==n?t(ee(n),e):e},e.createBindingElement=ne,e.updateBindingElement=function(e,n,r,a,i){return e.propertyName!==r||e.dotDotDotToken!==n||e.name!==a||e.initializer!==i?t(ne(n,r,a,i),e):e},e.createArrayLiteral=te,e.updateArrayLiteral=function(e,n){return e.elements!==n?t(te(n,e.multiLine),e):e},e.createObjectLiteral=re,e.updateObjectLiteral=function(e,n){return e.properties!==n?t(re(n,e.multiLine),e):e},e.createPropertyAccess=ae,e.updatePropertyAccess=function(n,r,a){return e.isOptionalChain(n)?oe(n,r,n.questionDotToken,a):n.expression!==r||n.name!==a?t(st(ae(r,a),e.getEmitFlags(n)),n):n},e.createPropertyAccessChain=ie,e.updatePropertyAccessChain=oe,e.createElementAccess=se,e.updateElementAccess=function(n,r,a){return e.isOptionalChain(n)?ce(n,r,n.questionDotToken,a):n.expression!==r||n.argumentExpression!==a?t(se(r,a),n):n},e.createElementAccessChain=le,e.updateElementAccessChain=ce,e.createCall=de,e.updateCall=function(n,r,a,i){return e.isOptionalChain(n)?me(n,r,n.questionDotToken,a,i):n.expression!==r||n.typeArguments!==a||n.arguments!==i?t(de(r,a,i),n):n},e.createCallChain=ue,e.updateCallChain=me,e.createNew=pe,e.updateNew=function(e,n,r,a){return e.expression!==n||e.typeArguments!==r||e.arguments!==a?t(pe(n,r,a),e):e},e.createTaggedTemplate=fe,e.updateTaggedTemplate=function(e,n,r,a){return e.tag!==n||(a?e.typeArguments!==r||e.template!==a:void 0!==e.typeArguments||e.template!==r)?t(fe(n,r,a),e):e},e.createTypeAssertion=ge,e.updateTypeAssertion=function(e,n,r){return e.type!==n||e.expression!==r?t(ge(n,r),e):e},e.createParen=_e,e.updateParen=function(e,n){return e.expression!==n?t(_e(n),e):e},e.createFunctionExpression=ye,e.updateFunctionExpression=function(e,n,r,a,i,o,s,l){return e.name!==a||e.modifiers!==n||e.asteriskToken!==r||e.typeParameters!==i||e.parameters!==o||e.type!==s||e.body!==l?t(ye(n,r,a,i,o,s,l),e):e},e.createArrowFunction=ve,e.updateArrowFunction=function(e,n,r,a,i,o,s){return e.modifiers!==n||e.typeParameters!==r||e.parameters!==a||e.type!==i||e.equalsGreaterThanToken!==o||e.body!==s?t(ve(n,r,a,i,o,s),e):e},e.createDelete=he,e.updateDelete=function(e,n){return e.expression!==n?t(he(n),e):e},e.createTypeOf=be,e.updateTypeOf=function(e,n){return e.expression!==n?t(be(n),e):e},e.createVoid=Ee,e.updateVoid=function(e,n){return e.expression!==n?t(Ee(n),e):e},e.createAwait=Te,e.updateAwait=function(e,n){return e.expression!==n?t(Te(n),e):e},e.createPrefix=Se,e.updatePrefix=function(e,n){return e.operand!==n?t(Se(e.operator,n),e):e},e.createPostfix=Le,e.updatePostfix=function(e,n){return e.operand!==n?t(Le(n,e.operator),e):e},e.createBinary=Ae,e.updateBinary=function(e,n,r,a){return e.left!==n||e.right!==r?t(Ae(n,a||e.operatorToken,r),e):e},e.createConditional=xe,e.updateConditional=function(e,n,r,a,i,o){return e.condition!==n||e.questionToken!==r||e.whenTrue!==a||e.colonToken!==i||e.whenFalse!==o?t(xe(n,r,a,i,o),e):e},e.createTemplateExpression=Ce,e.updateTemplateExpression=function(e,n,r){return e.head!==n||e.templateSpans!==r?t(Ce(n,r),e):e};var De,Re,Ie={};function Me(t,r,a){var i=n(t);if(i.text=r,void 0===a||r===a)i.rawText=a;else{var o=function(n,t){switch(d||(d=e.createScanner(99,!1,0)),n){case 14:d.setText("`"+t+"`");break;case 15:d.setText("`"+t+"${");break;case 16:d.setText("}"+t+"${");break;case 17:d.setText("}"+t+"`")}var r,a=d.scan();if(23===a&&(a=d.reScanTemplateToken()),d.isUnterminated())return d.setText(void 0),Ie;switch(a){case 14:case 15:case 16:case 17:r=d.getTokenValue()}return 1!==d.scan()?(d.setText(void 0),Ie):(d.setText(void 0),r)}(t,a);if("object"==typeof o)return e.Debug.fail("Invalid raw text");e.Debug.assert(r===o,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'."),i.rawText=a}return i}function Oe(e,t){var r=n(211);return r.asteriskToken=e&&41===e.kind?e:void 0,r.expression=e&&41!==e.kind?e:t,r}function ke(t){var r=n(212);return r.expression=e.parenthesizeExpressionForList(t),r}function Ne(e,t,a,i,o){var s=n(213);return s.decorators=void 0,s.modifiers=rt(e),s.name=nt(t),s.typeParameters=rt(a),s.heritageClauses=rt(i),s.members=r(o),s}function we(t,r){var a=n(215);return a.expression=e.parenthesizeForAccess(r),a.typeArguments=rt(t),a}function Pe(e,t){var r=n(216);return r.expression=e,r.type=t,r}function Ge(t){var r=n(217);return r.expression=e.parenthesizeForAccess(t),r}function Fe(e,t){var r=n(218);return r.keywordToken=e,r.name=t,r}function Ve(e,t){var r=n(220);return r.expression=e,r.literal=t,r}function Be(e,t){var a=n(222);return a.statements=r(e),t&&(a.multiLine=t),a}function Ue(t,r){var a=n(224);return a.decorators=void 0,a.modifiers=rt(t),a.declarationList=e.isArray(r)?sn(r):r,a}function He(){return n(223)}function Ke(t){var r=n(225);return r.expression=e.parenthesizeExpressionForExpressionStatement(t),r}function je(e,n){return e.expression!==n?t(Ke(n),e):e}function We(e,t,r){var a=n(226);return a.expression=e,a.thenStatement=at(t),a.elseStatement=at(r),a}function qe(e,t){var r=n(227);return r.statement=at(e),r.expression=t,r}function ze(e,t){var r=n(228);return r.expression=e,r.statement=at(t),r}function Xe(e,t,r,a){var i=n(229);return i.initializer=e,i.condition=t,i.incrementor=r,i.statement=at(a),i}function Je(e,t,r){var a=n(230);return a.initializer=e,a.expression=t,a.statement=at(r),a}function Ye(t,r,a,i){var o=n(231);return o.awaitModifier=t,o.initializer=r,o.expression=e.isCommaSequence(a)?_e(a):a,o.statement=at(i),o}function Qe(e){var t=n(232);return t.label=nt(e),t}function Ze(e){var t=n(233);return t.label=nt(e),t}function $e(e){var t=n(234);return t.expression=e,t}function en(e,t){var r=n(235);return r.expression=e,r.statement=at(t),r}function nn(t,r){var a=n(236);return a.expression=e.parenthesizeExpressionForList(t),a.caseBlock=r,a}function tn(e,t){var r=n(237);return r.label=nt(e),r.statement=at(t),r}function rn(e){var t=n(238);return t.expression=e,t}function an(e,t,r){var a=n(239);return a.tryBlock=e,a.catchClause=t,a.finallyBlock=r,a}function on(t,r,a){var i=n(241);return i.name=nt(t),i.type=r,i.initializer=void 0!==a?e.parenthesizeExpressionForList(a):void 0,i}function sn(e,t){void 0===t&&(t=0);var a=n(242);return a.flags|=3&t,a.declarations=r(e),a}function ln(e,t,a,i,o,s,l,c){var d=n(243);return d.decorators=rt(e),d.modifiers=rt(t),d.asteriskToken=a,d.name=nt(i),d.typeParameters=rt(o),d.parameters=r(s),d.type=l,d.body=c,d}function cn(e,t,a,i,o,s){var l=n(244);return l.decorators=rt(e),l.modifiers=rt(t),l.name=nt(a),l.typeParameters=rt(i),l.heritageClauses=rt(o),l.members=r(s),l}function dn(e,t,a,i,o,s){var l=n(245);return l.decorators=rt(e),l.modifiers=rt(t),l.name=nt(a),l.typeParameters=rt(i),l.heritageClauses=rt(o),l.members=r(s),l}function un(e,t,r,a,i){var o=n(246);return o.decorators=rt(e),o.modifiers=rt(t),o.name=nt(r),o.typeParameters=rt(a),o.type=i,o}function mn(e,t,a,i){var o=n(247);return o.decorators=rt(e),o.modifiers=rt(t),o.name=nt(a),o.members=r(i),o}function pn(e,t,r,a,i){void 0===i&&(i=0);var o=n(248);return o.flags|=1044&i,o.decorators=rt(e),o.modifiers=rt(t),o.name=r,o.body=a,o}function fn(e){var t=n(249);return t.statements=r(e),t}function gn(e){var t=n(250);return t.clauses=r(e),t}function _n(e){var t=n(251);return t.name=nt(e),t}function yn(e,t,r,a){var i=n(252);return i.decorators=rt(e),i.modifiers=rt(t),i.name=nt(r),i.moduleReference=a,i}function vn(e,t,r,a){var i=n(253);return i.decorators=rt(e),i.modifiers=rt(t),i.importClause=r,i.moduleSpecifier=a,i}function hn(e,t){var r=n(254);return r.name=e,r.namedBindings=t,r}function bn(e){var t=n(255);return t.name=e,t}function En(e){var t=n(256);return t.elements=r(e),t}function Tn(e,t){var r=n(257);return r.propertyName=e,r.name=t,r}function Sn(t,r,a,i){var o=n(258);return o.decorators=rt(t),o.modifiers=rt(r),o.isExportEquals=a,o.expression=a?e.parenthesizeBinaryOperand(62,i,!1,void 0):e.parenthesizeDefaultExpression(i),o}function Ln(e,t,r,a){var i=n(259);return i.decorators=rt(e),i.modifiers=rt(t),i.exportClause=r,i.moduleSpecifier=a,i}function An(e){var t=n(260);return t.elements=r(e),t}function xn(e,t){var r=n(261);return r.propertyName=nt(e),r.name=nt(t),r}function Cn(e){var t=n(263);return t.expression=e,t}function Dn(e,t){var r=n(e);return r.tagName=c(t),r}function Rn(e,t,a){var i=n(264);return i.openingElement=e,i.children=r(t),i.closingElement=a,i}function In(e,t,r){var a=n(265);return a.tagName=e,a.typeArguments=rt(t),a.attributes=r,a}function Mn(e,t,r){var a=n(266);return a.tagName=e,a.typeArguments=rt(t),a.attributes=r,a}function On(e){var t=n(267);return t.tagName=e,t}function kn(e,t,a){var i=n(268);return i.openingFragment=e,i.children=r(t),i.closingFragment=a,i}function Nn(e,t){var r=n(11);return r.text=e,r.containsOnlyTriviaWhiteSpaces=!!t,r}function wn(e,t){var r=n(271);return r.name=e,r.initializer=t,r}function Pn(e){var t=n(272);return t.properties=r(e),t}function Gn(e){var t=n(273);return t.expression=e,t}function Fn(e,t){var r=n(274);return r.dotDotDotToken=e,r.expression=t,r}function Vn(t,a){var i=n(275);return i.expression=e.parenthesizeExpressionForList(t),i.statements=r(a),i}function Bn(e){var t=n(276);return t.statements=r(e),t}function Un(e,t){var a=n(277);return a.token=e,a.types=r(t),a}function Hn(t,r){var a=n(278);return a.variableDeclaration=e.isString(t)?on(t):t,a.block=r,a}function Kn(t,r){var a=n(279);return a.name=nt(t),a.questionToken=void 0,a.initializer=e.parenthesizeExpressionForList(r),a}function jn(t,r){var a=n(280);return a.name=nt(t),a.objectAssignmentInitializer=void 0!==r?e.parenthesizeExpressionForList(r):void 0,a}function Wn(t){var r=n(281);return r.expression=e.parenthesizeExpressionForList(t),r}function qn(t,r){var a=n(282);return a.name=nt(t),a.initializer=r&&e.parenthesizeExpressionForList(r),a}function zn(e,t){var r=n(319);return r.expression=e,r.original=t,ot(r,t),r}function Xn(n){if(e.nodeIsSynthesized(n)&&!e.isParseTreeNode(n)&&!n.original&&!n.emitNode&&!n.id){if(320===n.kind)return n.elements;if(e.isBinaryExpression(n)&&27===n.operatorToken.kind)return[n.left,n.right]}return n}function Jn(t){var a=n(320);return a.elements=r(e.sameFlatMap(t,Xn)),a}function Yn(e,t){var r=n(323);return r.expression=e,r.thisArg=t,r}function Qn(n,t){void 0===t&&(t=e.emptyArray);var r=e.createNode(289);return r.prepends=t,r.sourceFiles=n,r}function Zn(){return De||(De=e.arrayToMap([e.valuesHelper,e.readHelper,e.spreadHelper,e.spreadArraysHelper,e.restHelper,e.decorateHelper,e.metadataHelper,e.paramHelper,e.awaiterHelper,e.assignHelper,e.awaitHelper,e.asyncGeneratorHelper,e.asyncDelegator,e.asyncValues,e.extendsHelper,e.templateObjectHelper,e.generatorHelper,e.importStarHelper,e.importDefaultHelper],(function(e){return e.name})))}function $n(n,t){var r=e.createNode(function(n){switch(n){case"prologue":return 283;case"prepend":return 284;case"internal":return 286;case"text":return 285;case"emitHelpers":case"no-default-lib":case"reference":case"type":case"lib":return e.Debug.fail("BundleFileSectionKind: "+n+" not yet mapped to SyntaxKind");default:return e.Debug.assertNever(n)}}(n.kind),n.pos,n.end);return r.parent=t,r.data=n.data,r}function et(n,t){var r=e.createNode(287,n.pos,n.end);return r.parent=t,r.data=n.data,r.section=n,r}function nt(n){return e.isString(n)?c(n):n}function tt(e){return"string"==typeof e?l(e):"number"==typeof e?o(""+e):"boolean"==typeof e?e?f():g():e}function rt(e){return e?r(e):void 0}function at(n){return n&&e.isNotEmittedStatement(n)?ot(mt(He(),n),n):n}function it(n){if(!n.emitNode){if(e.isParseTreeNode(n)){if(288===n.kind)return n.emitNode={annotatedNodes:[n]};it(e.getSourceFileOfNode(e.getParseTreeNode(e.getSourceFileOfNode(n)))).annotatedNodes.push(n)}n.emitNode={}}return n.emitNode}function ot(e,n){return n&&(e.pos=n.pos,e.end=n.end),e}function st(e,n){return it(e).flags=n,e}function lt(e){var n=e.emitNode;return n&&n.leadingComments}function ct(e,n){return it(e).leadingComments=n,e}function dt(e){var n=e.emitNode;return n&&n.trailingComments}function ut(e,n){return it(e).trailingComments=n,e}function mt(n,t){if(n.original=t,t){var r=t.emitNode;r&&(n.emitNode=function(n,t){var r=n.flags,a=n.leadingComments,i=n.trailingComments,o=n.commentRange,s=n.sourceMapRange,l=n.tokenSourceMapRanges,c=n.constantValue,d=n.helpers,u=n.startsOnNewLine;t||(t={});a&&(t.leadingComments=e.addRange(a.slice(),t.leadingComments));i&&(t.trailingComments=e.addRange(i.slice(),t.trailingComments));r&&(t.flags=r);o&&(t.commentRange=o);s&&(t.sourceMapRange=s);l&&(t.tokenSourceMapRanges=function(e,n){n||(n=[]);for(var t in e)n[t]=e[t];return n}(l,t.tokenSourceMapRanges));void 0!==c&&(t.constantValue=c);d&&(t.helpers=e.addRange(t.helpers,d));void 0!==u&&(t.startsOnNewLine=u);return t}(r,n.emitNode))}return n}e.createTemplateHead=function(e,n){var t=Me(15,e,n);return t.text=e,t},e.createTemplateMiddle=function(e,n){var t=Me(16,e,n);return t.text=e,t},e.createTemplateTail=function(e,n){var t=Me(17,e,n);return t.text=e,t},e.createNoSubstitutionTemplateLiteral=function(e,n){return Me(14,e,n)},e.createYield=Oe,e.updateYield=function(e,n,r){return e.expression!==r||e.asteriskToken!==n?t(Oe(n,r),e):e},e.createSpread=ke,e.updateSpread=function(e,n){return e.expression!==n?t(ke(n),e):e},e.createClassExpression=Ne,e.updateClassExpression=function(e,n,r,a,i,o){return e.modifiers!==n||e.name!==r||e.typeParameters!==a||e.heritageClauses!==i||e.members!==o?t(Ne(n,r,a,i,o),e):e},e.createOmittedExpression=function(){return n(214)},e.createExpressionWithTypeArguments=we,e.updateExpressionWithTypeArguments=function(e,n,r){return e.typeArguments!==n||e.expression!==r?t(we(n,r),e):e},e.createAsExpression=Pe,e.updateAsExpression=function(e,n,r){return e.expression!==n||e.type!==r?t(Pe(n,r),e):e},e.createNonNullExpression=Ge,e.updateNonNullExpression=function(e,n){return e.expression!==n?t(Ge(n),e):e},e.createMetaProperty=Fe,e.updateMetaProperty=function(e,n){return e.name!==n?t(Fe(e.keywordToken,n),e):e},e.createTemplateSpan=Ve,e.updateTemplateSpan=function(e,n,r){return e.expression!==n||e.literal!==r?t(Ve(n,r),e):e},e.createSemicolonClassElement=function(){return n(221)},e.createBlock=Be,e.updateBlock=function(e,n){return e.statements!==n?t(Be(n,e.multiLine),e):e},e.createVariableStatement=Ue,e.updateVariableStatement=function(e,n,r){return e.modifiers!==n||e.declarationList!==r?t(Ue(n,r),e):e},e.createEmptyStatement=He,e.createExpressionStatement=Ke,e.updateExpressionStatement=je,e.createStatement=Ke,e.updateStatement=je,e.createIf=We,e.updateIf=function(e,n,r,a){return e.expression!==n||e.thenStatement!==r||e.elseStatement!==a?t(We(n,r,a),e):e},e.createDo=qe,e.updateDo=function(e,n,r){return e.statement!==n||e.expression!==r?t(qe(n,r),e):e},e.createWhile=ze,e.updateWhile=function(e,n,r){return e.expression!==n||e.statement!==r?t(ze(n,r),e):e},e.createFor=Xe,e.updateFor=function(e,n,r,a,i){return e.initializer!==n||e.condition!==r||e.incrementor!==a||e.statement!==i?t(Xe(n,r,a,i),e):e},e.createForIn=Je,e.updateForIn=function(e,n,r,a){return e.initializer!==n||e.expression!==r||e.statement!==a?t(Je(n,r,a),e):e},e.createForOf=Ye,e.updateForOf=function(e,n,r,a,i){return e.awaitModifier!==n||e.initializer!==r||e.expression!==a||e.statement!==i?t(Ye(n,r,a,i),e):e},e.createContinue=Qe,e.updateContinue=function(e,n){return e.label!==n?t(Qe(n),e):e},e.createBreak=Ze,e.updateBreak=function(e,n){return e.label!==n?t(Ze(n),e):e},e.createReturn=$e,e.updateReturn=function(e,n){return e.expression!==n?t($e(n),e):e},e.createWith=en,e.updateWith=function(e,n,r){return e.expression!==n||e.statement!==r?t(en(n,r),e):e},e.createSwitch=nn,e.updateSwitch=function(e,n,r){return e.expression!==n||e.caseBlock!==r?t(nn(n,r),e):e},e.createLabel=tn,e.updateLabel=function(e,n,r){return e.label!==n||e.statement!==r?t(tn(n,r),e):e},e.createThrow=rn,e.updateThrow=function(e,n){return e.expression!==n?t(rn(n),e):e},e.createTry=an,e.updateTry=function(e,n,r,a){return e.tryBlock!==n||e.catchClause!==r||e.finallyBlock!==a?t(an(n,r,a),e):e},e.createDebuggerStatement=function(){return n(240)},e.createVariableDeclaration=on,e.updateVariableDeclaration=function(e,n,r,a){return e.name!==n||e.type!==r||e.initializer!==a?t(on(n,r,a),e):e},e.createVariableDeclarationList=sn,e.updateVariableDeclarationList=function(e,n){return e.declarations!==n?t(sn(n,e.flags),e):e},e.createFunctionDeclaration=ln,e.updateFunctionDeclaration=function(e,n,r,a,i,o,s,l,c){return e.decorators!==n||e.modifiers!==r||e.asteriskToken!==a||e.name!==i||e.typeParameters!==o||e.parameters!==s||e.type!==l||e.body!==c?t(ln(n,r,a,i,o,s,l,c),e):e},e.createClassDeclaration=cn,e.updateClassDeclaration=function(e,n,r,a,i,o,s){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.typeParameters!==i||e.heritageClauses!==o||e.members!==s?t(cn(n,r,a,i,o,s),e):e},e.createInterfaceDeclaration=dn,e.updateInterfaceDeclaration=function(e,n,r,a,i,o,s){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.typeParameters!==i||e.heritageClauses!==o||e.members!==s?t(dn(n,r,a,i,o,s),e):e},e.createTypeAliasDeclaration=un,e.updateTypeAliasDeclaration=function(e,n,r,a,i,o){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.typeParameters!==i||e.type!==o?t(un(n,r,a,i,o),e):e},e.createEnumDeclaration=mn,e.updateEnumDeclaration=function(e,n,r,a,i){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.members!==i?t(mn(n,r,a,i),e):e},e.createModuleDeclaration=pn,e.updateModuleDeclaration=function(e,n,r,a,i){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.body!==i?t(pn(n,r,a,i,e.flags),e):e},e.createModuleBlock=fn,e.updateModuleBlock=function(e,n){return e.statements!==n?t(fn(n),e):e},e.createCaseBlock=gn,e.updateCaseBlock=function(e,n){return e.clauses!==n?t(gn(n),e):e},e.createNamespaceExportDeclaration=_n,e.updateNamespaceExportDeclaration=function(e,n){return e.name!==n?t(_n(n),e):e},e.createImportEqualsDeclaration=yn,e.updateImportEqualsDeclaration=function(e,n,r,a,i){return e.decorators!==n||e.modifiers!==r||e.name!==a||e.moduleReference!==i?t(yn(n,r,a,i),e):e},e.createImportDeclaration=vn,e.updateImportDeclaration=function(e,n,r,a,i){return e.decorators!==n||e.modifiers!==r||e.importClause!==a||e.moduleSpecifier!==i?t(vn(n,r,a,i),e):e},e.createImportClause=hn,e.updateImportClause=function(e,n,r){return e.name!==n||e.namedBindings!==r?t(hn(n,r),e):e},e.createNamespaceImport=bn,e.updateNamespaceImport=function(e,n){return e.name!==n?t(bn(n),e):e},e.createNamedImports=En,e.updateNamedImports=function(e,n){return e.elements!==n?t(En(n),e):e},e.createImportSpecifier=Tn,e.updateImportSpecifier=function(e,n,r){return e.propertyName!==n||e.name!==r?t(Tn(n,r),e):e},e.createExportAssignment=Sn,e.updateExportAssignment=function(e,n,r,a){return e.decorators!==n||e.modifiers!==r||e.expression!==a?t(Sn(n,r,e.isExportEquals,a),e):e},e.createExportDeclaration=Ln,e.updateExportDeclaration=function(e,n,r,a,i){return e.decorators!==n||e.modifiers!==r||e.exportClause!==a||e.moduleSpecifier!==i?t(Ln(n,r,a,i),e):e},e.createEmptyExports=function(){return Ln(void 0,void 0,An([]),void 0)},e.createNamedExports=An,e.updateNamedExports=function(e,n){return e.elements!==n?t(An(n),e):e},e.createExportSpecifier=xn,e.updateExportSpecifier=function(e,n,r){return e.propertyName!==n||e.name!==r?t(xn(n,r),e):e},e.createExternalModuleReference=Cn,e.updateExternalModuleReference=function(e,n){return e.expression!==n?t(Cn(n),e):e},e.createJSDocTypeExpression=function(e){var t=n(292);return t.type=e,t},e.createJSDocTypeTag=function(e,n){var t=Dn(313,"type");return t.typeExpression=e,t.comment=n,t},e.createJSDocReturnTag=function(e,n){var t=Dn(311,"returns");return t.typeExpression=e,t.comment=n,t},e.createJSDocThisTag=function(e){var n=Dn(312,"this");return n.typeExpression=e,n},e.createJSDocParamTag=function(e,n,t,r){var a=Dn(310,"param");return a.typeExpression=t,a.name=e,a.isBracketed=n,a.comment=r,a},e.createJSDocComment=function(e,t){var r=n(301);return r.comment=e,r.tags=t,r},e.createJsxElement=Rn,e.updateJsxElement=function(e,n,r,a){return e.openingElement!==n||e.children!==r||e.closingElement!==a?t(Rn(n,r,a),e):e},e.createJsxSelfClosingElement=In,e.updateJsxSelfClosingElement=function(e,n,r,a){return e.tagName!==n||e.typeArguments!==r||e.attributes!==a?t(In(n,r,a),e):e},e.createJsxOpeningElement=Mn,e.updateJsxOpeningElement=function(e,n,r,a){return e.tagName!==n||e.typeArguments!==r||e.attributes!==a?t(Mn(n,r,a),e):e},e.createJsxClosingElement=On,e.updateJsxClosingElement=function(e,n){return e.tagName!==n?t(On(n),e):e},e.createJsxFragment=kn,e.createJsxText=Nn,e.updateJsxText=function(e,n,r){return e.text!==n||e.containsOnlyTriviaWhiteSpaces!==r?t(Nn(n,r),e):e},e.createJsxOpeningFragment=function(){return n(269)},e.createJsxJsxClosingFragment=function(){return n(270)},e.updateJsxFragment=function(e,n,r,a){return e.openingFragment!==n||e.children!==r||e.closingFragment!==a?t(kn(n,r,a),e):e},e.createJsxAttribute=wn,e.updateJsxAttribute=function(e,n,r){return e.name!==n||e.initializer!==r?t(wn(n,r),e):e},e.createJsxAttributes=Pn,e.updateJsxAttributes=function(e,n){return e.properties!==n?t(Pn(n),e):e},e.createJsxSpreadAttribute=Gn,e.updateJsxSpreadAttribute=function(e,n){return e.expression!==n?t(Gn(n),e):e},e.createJsxExpression=Fn,e.updateJsxExpression=function(e,n){return e.expression!==n?t(Fn(e.dotDotDotToken,n),e):e},e.createCaseClause=Vn,e.updateCaseClause=function(e,n,r){return e.expression!==n||e.statements!==r?t(Vn(n,r),e):e},e.createDefaultClause=Bn,e.updateDefaultClause=function(e,n){return e.statements!==n?t(Bn(n),e):e},e.createHeritageClause=Un,e.updateHeritageClause=function(e,n){return e.types!==n?t(Un(e.token,n),e):e},e.createCatchClause=Hn,e.updateCatchClause=function(e,n,r){return e.variableDeclaration!==n||e.block!==r?t(Hn(n,r),e):e},e.createPropertyAssignment=Kn,e.updatePropertyAssignment=function(e,n,r){return e.name!==n||e.initializer!==r?t(Kn(n,r),e):e},e.createShorthandPropertyAssignment=jn,e.updateShorthandPropertyAssignment=function(e,n,r){return e.name!==n||e.objectAssignmentInitializer!==r?t(jn(n,r),e):e},e.createSpreadAssignment=Wn,e.updateSpreadAssignment=function(e,n){return e.expression!==n?t(Wn(n),e):e},e.createEnumMember=qn,e.updateEnumMember=function(e,n,r){return e.name!==n||e.initializer!==r?t(qn(n,r),e):e},e.updateSourceFileNode=function(e,a,i,o,s,l,c){if(e.statements!==a||void 0!==i&&e.isDeclarationFile!==i||void 0!==o&&e.referencedFiles!==o||void 0!==s&&e.typeReferenceDirectives!==s||void 0!==c&&e.libReferenceDirectives!==c||void 0!==l&&e.hasNoDefaultLib!==l){var d=n(288);return d.flags|=e.flags,d.statements=r(a),d.endOfFileToken=e.endOfFileToken,d.fileName=e.fileName,d.path=e.path,d.text=e.text,d.isDeclarationFile=void 0===i?e.isDeclarationFile:i,d.referencedFiles=void 0===o?e.referencedFiles:o,d.typeReferenceDirectives=void 0===s?e.typeReferenceDirectives:s,d.hasNoDefaultLib=void 0===l?e.hasNoDefaultLib:l,d.libReferenceDirectives=void 0===c?e.libReferenceDirectives:c,void 0!==e.amdDependencies&&(d.amdDependencies=e.amdDependencies),void 0!==e.moduleName&&(d.moduleName=e.moduleName),void 0!==e.languageVariant&&(d.languageVariant=e.languageVariant),void 0!==e.renamedDependencies&&(d.renamedDependencies=e.renamedDependencies),void 0!==e.languageVersion&&(d.languageVersion=e.languageVersion),void 0!==e.scriptKind&&(d.scriptKind=e.scriptKind),void 0!==e.externalModuleIndicator&&(d.externalModuleIndicator=e.externalModuleIndicator),void 0!==e.commonJsModuleIndicator&&(d.commonJsModuleIndicator=e.commonJsModuleIndicator),void 0!==e.identifiers&&(d.identifiers=e.identifiers),void 0!==e.nodeCount&&(d.nodeCount=e.nodeCount),void 0!==e.identifierCount&&(d.identifierCount=e.identifierCount),void 0!==e.symbolCount&&(d.symbolCount=e.symbolCount),void 0!==e.parseDiagnostics&&(d.parseDiagnostics=e.parseDiagnostics),void 0!==e.bindDiagnostics&&(d.bindDiagnostics=e.bindDiagnostics),void 0!==e.bindSuggestionDiagnostics&&(d.bindSuggestionDiagnostics=e.bindSuggestionDiagnostics),void 0!==e.lineMap&&(d.lineMap=e.lineMap),void 0!==e.classifiableNames&&(d.classifiableNames=e.classifiableNames),void 0!==e.resolvedModules&&(d.resolvedModules=e.resolvedModules),void 0!==e.resolvedTypeReferenceDirectiveNames&&(d.resolvedTypeReferenceDirectiveNames=e.resolvedTypeReferenceDirectiveNames),void 0!==e.imports&&(d.imports=e.imports),void 0!==e.moduleAugmentations&&(d.moduleAugmentations=e.moduleAugmentations),void 0!==e.pragmas&&(d.pragmas=e.pragmas),void 0!==e.localJsxFactory&&(d.localJsxFactory=e.localJsxFactory),void 0!==e.localJsxNamespace&&(d.localJsxNamespace=e.localJsxNamespace),t(d,e)}return e},e.getMutableClone=function(e){var n=a(e);return n.pos=e.pos,n.end=e.end,n.parent=e.parent,n},e.createNotEmittedStatement=function(e){var t=n(318);return t.original=e,ot(t,e),t},e.createEndOfDeclarationMarker=function(e){var t=n(322);return t.emitNode={},t.original=e,t},e.createMergeDeclarationMarker=function(e){var t=n(321);return t.emitNode={},t.original=e,t},e.createPartiallyEmittedExpression=zn,e.updatePartiallyEmittedExpression=function(e,n){return e.expression!==n?t(zn(n,e.original),e):e},e.createCommaList=Jn,e.updateCommaList=function(e,n){return e.elements!==n?t(Jn(n),e):e},e.createSyntheticReferenceExpression=Yn,e.updateSyntheticReferenceExpression=function(e,n,r){return e.expression!==n||e.thisArg!==r?t(Yn(n,r),e):e},e.createBundle=Qn,e.createUnparsedSourceFile=function(n,t,r){var a,i,o=function(){var n=e.createNode(290);return n.prologues=e.emptyArray,n.referencedFiles=e.emptyArray,n.libReferenceDirectives=e.emptyArray,n.getLineAndCharacterOfPosition=function(t){return e.getLineAndCharacterOfPosition(n,t)},n}();if(e.isString(n))o.fileName="",o.text=n,o.sourceMapPath=t,o.sourceMapText=r;else if(e.Debug.assert("js"===t||"dts"===t),o.fileName=("js"===t?n.javascriptPath:n.declarationPath)||"",o.sourceMapPath="js"===t?n.javascriptMapPath:n.declarationMapPath,Object.defineProperties(o,{text:{get:function(){return"js"===t?n.javascriptText:n.declarationText}},sourceMapText:{get:function(){return"js"===t?n.javascriptMapText:n.declarationMapText}}}),n.buildInfo&&n.buildInfo.bundle&&(o.oldFileOfCurrentEmit=n.oldFileOfCurrentEmit,e.Debug.assert(void 0===r||"boolean"==typeof r),a=r,i="js"===t?n.buildInfo.bundle.js:n.buildInfo.bundle.dts,o.oldFileOfCurrentEmit))return function(n,t){var r,a;e.Debug.assert(!!n.oldFileOfCurrentEmit);for(var i=0,o=t.sections;i0&&(i[l-s]=c)}s>0&&(i.length-=s)}},e.compareEmitHelpers=function(n,t){return n===t||n.priority===t.priority?0:void 0===n.priority?1:void 0===t.priority?-1:e.compareValues(n.priority,t.priority)},e.setOriginalNode=mt}(u||(u={})),function(e){function n(n,t,r){if(e.isComputedPropertyName(t))return e.setTextRange(e.createElementAccess(n,t.expression),r);var a=e.setTextRange(e.isIdentifier(t)?e.createPropertyAccess(n,t):e.createElementAccess(n,t),t);return e.getOrCreateEmitNode(a).flags|=64,a}function t(n,t){var r=e.createIdentifier(n||"React");return r.flags&=-9,r.parent=e.getParseTreeNode(t),r}function r(n,r,a){return n?function n(r,a){if(e.isQualifiedName(r)){var i=n(r.left,a),o=e.createIdentifier(e.idText(r.right));return o.escapedText=r.right.escapedText,e.createPropertyAccess(i,o)}return t(e.idText(r),a)}(n,a):e.createPropertyAccess(t(r,a),"createElement")}function a(n){return e.setEmitFlags(e.createIdentifier(n),4098)}function i(n,t){var r=e.skipParentheses(n);switch(r.kind){case 75:return t;case 103:case 8:case 9:case 10:return!1;case 191:return 0!==r.elements.length;case 192:return r.properties.length>0;default:return!0}}function s(n){return e.isIdentifier(n)?e.createLiteral(n):e.isComputedPropertyName(n)?e.getMutableClone(n.expression):e.getMutableClone(n)}function l(e,n,t){return c(e,n,t,8192)}function c(n,t,r,a){void 0===a&&(a=0);var i=e.getNameOfDeclaration(n);if(i&&e.isIdentifier(i)&&!e.isGeneratedIdentifier(i)){var o=e.getMutableClone(i);return a|=e.getEmitFlags(i),r||(a|=48),t||(a|=1536),a&&e.setEmitFlags(o,a),o}return e.getGeneratedNameForNode(n)}function d(n,t,r,a){var i=e.createPropertyAccess(n,e.nodeIsSynthesized(t)?t:e.getSynthesizedClone(t));e.setTextRange(i,t);var o=0;return a||(o|=48),r||(o|=1536),o&&e.setEmitFlags(i,o),i}function u(n){return e.isStringLiteral(n.expression)&&"use strict"===n.expression.text}function m(n,t,r){e.Debug.assert(0===n.length,"Prologue directives should be at the first statement in the target statements array");for(var a=!1,i=0,o=t.length;ie.getOperatorPrecedence(208,27)?n:e.setTextRange(e.createParen(n),n)}function v(n){return 179===n.kind?e.createParenthesizedType(n):n}function h(n){switch(n.kind){case 177:case 178:case 169:case 170:return e.createParenthesizedType(n)}return v(n)}function b(e,n){for(;;){switch(e.kind){case 207:e=e.operand;continue;case 208:e=e.left;continue;case 209:e=e.condition;continue;case 197:e=e.tag;continue;case 195:if(n)return e;case 216:case 194:case 193:case 217:case 319:e=e.expression;continue}return e}}function E(e){return 208===e.kind&&27===e.operatorToken.kind||320===e.kind}function T(e,n){switch(void 0===n&&(n=7),e.kind){case 199:return 0!=(1&n);case 198:case 216:case 217:return 0!=(2&n);case 319:return 0!=(4&n)}return!1}function S(n,t){var r;void 0===t&&(t=7);do{r=n,1&t&&(n=e.skipParentheses(n)),2&t&&(n=L(n)),4&t&&(n=e.skipPartiallyEmittedExpressions(n))}while(r!==n);return n}function L(n){for(;e.isAssertionExpression(n)||217===n.kind;)n=n.expression;return n}function A(n,t,r){return void 0===r&&(r=7),n&&T(n,r)&&(!(199===(a=n).kind&&e.nodeIsSynthesized(a)&&e.nodeIsSynthesized(e.getSourceMapRange(a))&&e.nodeIsSynthesized(e.getCommentRange(a)))||e.some(e.getSyntheticLeadingComments(a))||e.some(e.getSyntheticTrailingComments(a)))?function(n,t){switch(n.kind){case 199:return e.updateParen(n,t);case 198:return e.updateTypeAssertion(n,n.type,t);case 216:return e.updateAsExpression(n,t,n.type);case 217:return e.updateNonNullExpression(n,t);case 319:return e.updatePartiallyEmittedExpression(n,t)}}(n,A(n.expression,t)):t;var a}function x(n){return e.setStartsOnNewLine(n,!0)}function C(n){var t=e.getOriginalNode(n,e.isSourceFile),r=t&&t.emitNode;return r&&r.externalHelpersModuleName}function D(n,t,r,a){if(t.importHelpers&&e.isEffectiveExternalModule(n,t)){var i=C(n);if(i)return i;var o=e.getEmitModuleKind(t),s=(r||t.esModuleInterop&&a)&&o!==e.ModuleKind.System&&o!==e.ModuleKind.ES2015&&o!==e.ModuleKind.ESNext;if(!s){var l=e.getEmitHelpers(n);if(l)for(var c=0,d=l;c0)if(i||c.push(e.createNull()),o.length>1)for(var d=0,u=o;d0)if(i.length>1)for(var c=0,d=i;c= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");\n };'},e.createValuesHelper=function(n,t,r){return n.requestEmitHelper(e.valuesHelper),e.setTextRange(e.createCall(a("__values"),void 0,[t]),r)},e.readHelper={name:"typescript:read",importName:"__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 };'},e.createReadHelper=function(n,t,r,i){return n.requestEmitHelper(e.readHelper),e.setTextRange(e.createCall(a("__read"),void 0,void 0!==r?[t,e.createLiteral(r)]:[t]),i)},e.spreadHelper={name:"typescript:spread",importName:"__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=function(n,t,r){return n.requestEmitHelper(e.readHelper),n.requestEmitHelper(e.spreadHelper),e.setTextRange(e.createCall(a("__spread"),void 0,t),r)},e.spreadArraysHelper={name:"typescript:spreadArrays",importName:"__spreadArrays",scoped:!1,text:"\n var __spreadArrays = (this && this.__spreadArrays) || function () {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n };"},e.createSpreadArraysHelper=function(n,t,r){return n.requestEmitHelper(e.spreadArraysHelper),e.setTextRange(e.createCall(a("__spreadArrays"),void 0,t),r)},e.createForOfBindingStatement=function(n,t){if(e.isVariableDeclarationList(n)){var r=e.first(n.declarations),a=e.updateVariableDeclaration(r,r.name,void 0,t);return e.setTextRange(e.createVariableStatement(void 0,e.updateVariableDeclarationList(n,[a])),n)}var i=e.setTextRange(e.createAssignment(n,t),n);return e.setTextRange(e.createStatement(i),n)},e.insertLeadingStatement=function(n,t){return e.isBlock(n)?e.updateBlock(n,e.setTextRange(e.createNodeArray(o([t],n.statements)),n.statements)):e.createBlock(e.createNodeArray([n,t]),!0)},e.restoreEnclosingLabel=function n(t,r,a){if(!r)return t;var i=e.updateLabel(r,r.label,237===r.statement.kind?n(t,r.statement):t);return a&&a(r),i},e.createCallBinding=function(n,t,r,a){void 0===a&&(a=!1);var o,s,l=S(n,7);if(e.isSuperProperty(l))o=e.createThis(),s=l;else if(101===l.kind)o=e.createThis(),s=r<2?e.setTextRange(e.createIdentifier("_super"),l):l;else if(4096&e.getEmitFlags(l))o=e.createVoidZero(),s=_(l);else switch(l.kind){case 193:i(l.expression,a)?(o=e.createTempVariable(t),s=e.createPropertyAccess(e.setTextRange(e.createAssignment(o,l.expression),l.expression),l.name),e.setTextRange(s,l)):(o=l.expression,s=l);break;case 194:i(l.expression,a)?(o=e.createTempVariable(t),s=e.createElementAccess(e.setTextRange(e.createAssignment(o,l.expression),l.expression),l.argumentExpression),e.setTextRange(s,l)):(o=l.expression,s=l);break;default:o=e.createVoidZero(),s=_(n)}return{target:s,thisArg:o}},e.inlineExpressions=function(n){return n.length>10?e.createCommaList(n):e.reduceLeft(n,e.createComma)},e.createExpressionFromEntityName=function n(t){if(e.isQualifiedName(t)){var r=n(t.left),a=e.getMutableClone(t.right);return e.setTextRange(e.createPropertyAccess(r,a),t)}return e.getMutableClone(t)},e.createExpressionForPropertyName=s,e.createExpressionForObjectLiteralElementLike=function(t,r,a){switch(r.kind){case 162:case 163:return function(n,t,r,a){var i=e.getAllAccessorDeclarations(n,t),o=i.firstAccessor,l=i.getAccessor,c=i.setAccessor;if(t===o){var d=[];if(l){var u=e.createFunctionExpression(l.modifiers,void 0,void 0,void 0,l.parameters,void 0,l.body);e.setTextRange(u,l),e.setOriginalNode(u,l);var m=e.createPropertyAssignment("get",u);d.push(m)}if(c){var p=e.createFunctionExpression(c.modifiers,void 0,void 0,void 0,c.parameters,void 0,c.body);e.setTextRange(p,c),e.setOriginalNode(p,c);var f=e.createPropertyAssignment("set",p);d.push(f)}d.push(e.createPropertyAssignment("enumerable",e.createTrue())),d.push(e.createPropertyAssignment("configurable",e.createTrue()));var g=e.setTextRange(e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"defineProperty"),void 0,[r,s(t.name),e.createObjectLiteral(d,a)]),o);return e.aggregateTransformFlags(g)}return}(t.properties,r,a,!!t.multiLine);case 279:return function(t,r){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(n(r,t.name,t.name),t.initializer),t),t))}(r,a);case 280:return function(t,r){return e.aggregateTransformFlags(e.setOriginalNode(e.setTextRange(e.createAssignment(n(r,t.name,t.name),e.getSynthesizedClone(t.name)),t),t))}(r,a);case 160:return function(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))}(r,a)}},e.getInternalName=function(e,n,t){return c(e,n,t,49152)},e.isInternalName=function(n){return 0!=(32768&e.getEmitFlags(n))},e.getLocalName=function(e,n,t){return c(e,n,t,16384)},e.isLocalName=function(n){return 0!=(16384&e.getEmitFlags(n))},e.getExportName=l,e.isExportName=function(n){return 0!=(8192&e.getEmitFlags(n))},e.getDeclarationName=function(e,n,t){return c(e,n,t)},e.getExternalModuleOrNamespaceExportName=function(n,t,r,a){return n&&e.hasModifier(t,1)?d(n,c(t),r,a):l(t,r,a)},e.getNamespaceMemberName=d,e.convertToFunctionBody=function(n,t){return e.isBlock(n)?n:e.setTextRange(e.createBlock([e.setTextRange(e.createReturn(n),n)],t),n)},e.convertFunctionDeclarationToExpression=function(n){if(!n.body)return e.Debug.fail();var t=e.createFunctionExpression(n.modifiers,n.asteriskToken,n.name,n.typeParameters,n.parameters,n.type,n.body);return e.setOriginalNode(t,n),e.setTextRange(t,n),e.getStartsOnNewLine(n)&&e.setStartsOnNewLine(t,!0),e.aggregateTransformFlags(t),t},e.addPrologue=function(e,n,t,r){return p(e,n,m(e,n,t),r)},e.addStandardPrologue=m,e.addCustomPrologue=p,e.findUseStrictPrologue=f,e.startsWithUseStrict=function(n){var t=e.firstOrUndefined(n);return void 0!==t&&e.isPrologueDirective(t)&&u(t)},e.ensureUseStrict=function(n){return f(n)?n:e.setTextRange(e.createNodeArray(o([x(e.createStatement(e.createLiteral("use strict")))],n)),n)},e.parenthesizeBinaryOperand=function(n,t,r,a){return 199===e.skipPartiallyEmittedExpressions(t).kind?t:function(n,t,r,a){var i=e.getOperatorPrecedence(208,n),o=e.getOperatorAssociativity(208,n),s=e.skipPartiallyEmittedExpressions(t);if(!r&&201===t.kind&&i>3)return!0;var l=e.getExpressionPrecedence(s);switch(e.compareValues(l,i)){case-1:return!(!r&&1===o&&211===t.kind);case 1:return!1;case 0:if(r)return 1===o;if(e.isBinaryExpression(s)&&s.operatorToken.kind===n){if(function(e){return 41===e||51===e||50===e||52===e}(n))return!1;if(39===n){var c=a?g(a):0;if(e.isLiteralKind(c)&&c===g(s))return!1}}return 0===e.getExpressionAssociativity(s)}}(n,t,r,a)?e.createParen(t):t},e.parenthesizeForConditionalHead=function(n){var t=e.getOperatorPrecedence(209,57),r=e.skipPartiallyEmittedExpressions(n),a=e.getExpressionPrecedence(r);return 1!==e.compareValues(a,t)?e.createParen(n):n},e.parenthesizeSubexpressionOfConditionalExpression=function(n){return E(e.skipPartiallyEmittedExpressions(n))?e.createParen(n):n},e.parenthesizeDefaultExpression=function(n){var t=e.skipPartiallyEmittedExpressions(n),r=E(t);if(!r)switch(b(t,!1).kind){case 213:case 200:r=!0}return r?e.createParen(n):n},e.parenthesizeForNew=function(n){var t=b(n,!0);switch(t.kind){case 195:return e.createParen(n);case 196:return t.arguments?n:e.createParen(n)}return _(n)},e.parenthesizeForAccess=_,e.parenthesizePostfixOperand=function(n){return e.isLeftHandSideExpression(n)?n:e.setTextRange(e.createParen(n),n)},e.parenthesizePrefixOperand=function(n){return e.isUnaryExpression(n)?n:e.setTextRange(e.createParen(n),n)},e.parenthesizeListElements=function(n){for(var t,r=0;r=e.ModuleKind.ES2015&&l<=e.ModuleKind.ESNext){var c=e.getEmitHelpers(n);if(c){for(var d=[],u=0,m=c;us-a)&&(i=s-a),(a>0||i0&&m<=151||182===m)return s;switch(m){case 75:return e.updateIdentifier(s,d(s.typeArguments,l,n));case 152:return e.updateQualifiedName(s,t(s.left,l,e.isEntityName),t(s.right,l,e.isIdentifier));case 153:return e.updateComputedPropertyName(s,t(s.expression,l,e.isExpression));case 154:return e.updateTypeParameterDeclaration(s,t(s.name,l,e.isIdentifier),t(s.constraint,l,e.isTypeNode),t(s.default,l,e.isTypeNode));case 155:return e.updateParameter(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.dotDotDotToken,u,e.isToken),t(s.name,l,e.isBindingName),t(s.questionToken,u,e.isToken),t(s.type,l,e.isTypeNode),t(s.initializer,l,e.isExpression));case 156:return e.updateDecorator(s,t(s.expression,l,e.isExpression));case 157:return e.updatePropertySignature(s,d(s.modifiers,l,e.isToken),t(s.name,l,e.isPropertyName),t(s.questionToken,u,e.isToken),t(s.type,l,e.isTypeNode),t(s.initializer,l,e.isExpression));case 158:return e.updateProperty(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.name,l,e.isPropertyName),t(s.questionToken||s.exclamationToken,u,e.isToken),t(s.type,l,e.isTypeNode),t(s.initializer,l,e.isExpression));case 159:return e.updateMethodSignature(s,d(s.typeParameters,l,e.isTypeParameterDeclaration),d(s.parameters,l,e.isParameterDeclaration),t(s.type,l,e.isTypeNode),t(s.name,l,e.isPropertyName),t(s.questionToken,u,e.isToken));case 160:return e.updateMethod(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.asteriskToken,u,e.isToken),t(s.name,l,e.isPropertyName),t(s.questionToken,u,e.isToken),d(s.typeParameters,l,e.isTypeParameterDeclaration),i(s.parameters,l,c,d),t(s.type,l,e.isTypeNode),o(s.body,l,c));case 161:return e.updateConstructor(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),i(s.parameters,l,c,d),o(s.body,l,c));case 162:return e.updateGetAccessor(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.name,l,e.isPropertyName),i(s.parameters,l,c,d),t(s.type,l,e.isTypeNode),o(s.body,l,c));case 163:return e.updateSetAccessor(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.name,l,e.isPropertyName),i(s.parameters,l,c,d),o(s.body,l,c));case 164:return e.updateCallSignature(s,d(s.typeParameters,l,e.isTypeParameterDeclaration),d(s.parameters,l,e.isParameterDeclaration),t(s.type,l,e.isTypeNode));case 165:return e.updateConstructSignature(s,d(s.typeParameters,l,e.isTypeParameterDeclaration),d(s.parameters,l,e.isParameterDeclaration),t(s.type,l,e.isTypeNode));case 166:return e.updateIndexSignature(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),d(s.parameters,l,e.isParameterDeclaration),t(s.type,l,e.isTypeNode));case 167:return e.updateTypePredicateNodeWithModifier(s,t(s.assertsModifier,l),t(s.parameterName,l),t(s.type,l,e.isTypeNode));case 168:return e.updateTypeReferenceNode(s,t(s.typeName,l,e.isEntityName),d(s.typeArguments,l,e.isTypeNode));case 169:return e.updateFunctionTypeNode(s,d(s.typeParameters,l,e.isTypeParameterDeclaration),d(s.parameters,l,e.isParameterDeclaration),t(s.type,l,e.isTypeNode));case 170:return e.updateConstructorTypeNode(s,d(s.typeParameters,l,e.isTypeParameterDeclaration),d(s.parameters,l,e.isParameterDeclaration),t(s.type,l,e.isTypeNode));case 171:return e.updateTypeQueryNode(s,t(s.exprName,l,e.isEntityName));case 172:return e.updateTypeLiteralNode(s,d(s.members,l,e.isTypeElement));case 173:return e.updateArrayTypeNode(s,t(s.elementType,l,e.isTypeNode));case 174:return e.updateTupleTypeNode(s,d(s.elementTypes,l,e.isTypeNode));case 175:return e.updateOptionalTypeNode(s,t(s.type,l,e.isTypeNode));case 176:return e.updateRestTypeNode(s,t(s.type,l,e.isTypeNode));case 177:return e.updateUnionTypeNode(s,d(s.types,l,e.isTypeNode));case 178:return e.updateIntersectionTypeNode(s,d(s.types,l,e.isTypeNode));case 179:return e.updateConditionalTypeNode(s,t(s.checkType,l,e.isTypeNode),t(s.extendsType,l,e.isTypeNode),t(s.trueType,l,e.isTypeNode),t(s.falseType,l,e.isTypeNode));case 180:return e.updateInferTypeNode(s,t(s.typeParameter,l,e.isTypeParameterDeclaration));case 187:return e.updateImportTypeNode(s,t(s.argument,l,e.isTypeNode),t(s.qualifier,l,e.isEntityName),r(s.typeArguments,l,e.isTypeNode),s.isTypeOf);case 181:return e.updateParenthesizedType(s,t(s.type,l,e.isTypeNode));case 183:return e.updateTypeOperatorNode(s,t(s.type,l,e.isTypeNode));case 184:return e.updateIndexedAccessTypeNode(s,t(s.objectType,l,e.isTypeNode),t(s.indexType,l,e.isTypeNode));case 185:return e.updateMappedTypeNode(s,t(s.readonlyToken,u,e.isToken),t(s.typeParameter,l,e.isTypeParameterDeclaration),t(s.questionToken,u,e.isToken),t(s.type,l,e.isTypeNode));case 186:return e.updateLiteralTypeNode(s,t(s.literal,l,e.isExpression));case 188:return e.updateObjectBindingPattern(s,d(s.elements,l,e.isBindingElement));case 189:return e.updateArrayBindingPattern(s,d(s.elements,l,e.isArrayBindingElement));case 190:return e.updateBindingElement(s,t(s.dotDotDotToken,u,e.isToken),t(s.propertyName,l,e.isPropertyName),t(s.name,l,e.isBindingName),t(s.initializer,l,e.isExpression));case 191:return e.updateArrayLiteral(s,d(s.elements,l,e.isExpression));case 192:return e.updateObjectLiteral(s,d(s.properties,l,e.isObjectLiteralElementLike));case 193:return 32&s.flags?e.updatePropertyAccessChain(s,t(s.expression,l,e.isExpression),t(s.questionDotToken,l,e.isToken),t(s.name,l,e.isIdentifier)):e.updatePropertyAccess(s,t(s.expression,l,e.isExpression),t(s.name,l,e.isIdentifier));case 194:return 32&s.flags?e.updateElementAccessChain(s,t(s.expression,l,e.isExpression),t(s.questionDotToken,l,e.isToken),t(s.argumentExpression,l,e.isExpression)):e.updateElementAccess(s,t(s.expression,l,e.isExpression),t(s.argumentExpression,l,e.isExpression));case 195:return 32&s.flags?e.updateCallChain(s,t(s.expression,l,e.isExpression),t(s.questionDotToken,l,e.isToken),d(s.typeArguments,l,e.isTypeNode),d(s.arguments,l,e.isExpression)):e.updateCall(s,t(s.expression,l,e.isExpression),d(s.typeArguments,l,e.isTypeNode),d(s.arguments,l,e.isExpression));case 196:return e.updateNew(s,t(s.expression,l,e.isExpression),d(s.typeArguments,l,e.isTypeNode),d(s.arguments,l,e.isExpression));case 197:return e.updateTaggedTemplate(s,t(s.tag,l,e.isExpression),r(s.typeArguments,l,e.isExpression),t(s.template,l,e.isTemplateLiteral));case 198:return e.updateTypeAssertion(s,t(s.type,l,e.isTypeNode),t(s.expression,l,e.isExpression));case 199:return e.updateParen(s,t(s.expression,l,e.isExpression));case 200:return e.updateFunctionExpression(s,d(s.modifiers,l,e.isModifier),t(s.asteriskToken,u,e.isToken),t(s.name,l,e.isIdentifier),d(s.typeParameters,l,e.isTypeParameterDeclaration),i(s.parameters,l,c,d),t(s.type,l,e.isTypeNode),o(s.body,l,c));case 201:return e.updateArrowFunction(s,d(s.modifiers,l,e.isModifier),d(s.typeParameters,l,e.isTypeParameterDeclaration),i(s.parameters,l,c,d),t(s.type,l,e.isTypeNode),t(s.equalsGreaterThanToken,l,e.isToken),o(s.body,l,c));case 202:return e.updateDelete(s,t(s.expression,l,e.isExpression));case 203:return e.updateTypeOf(s,t(s.expression,l,e.isExpression));case 204:return e.updateVoid(s,t(s.expression,l,e.isExpression));case 205:return e.updateAwait(s,t(s.expression,l,e.isExpression));case 206:return e.updatePrefix(s,t(s.operand,l,e.isExpression));case 207:return e.updatePostfix(s,t(s.operand,l,e.isExpression));case 208:return e.updateBinary(s,t(s.left,l,e.isExpression),t(s.right,l,e.isExpression),t(s.operatorToken,l,e.isToken));case 209:return e.updateConditional(s,t(s.condition,l,e.isExpression),t(s.questionToken,l,e.isToken),t(s.whenTrue,l,e.isExpression),t(s.colonToken,l,e.isToken),t(s.whenFalse,l,e.isExpression));case 210:return e.updateTemplateExpression(s,t(s.head,l,e.isTemplateHead),d(s.templateSpans,l,e.isTemplateSpan));case 211:return e.updateYield(s,t(s.asteriskToken,u,e.isToken),t(s.expression,l,e.isExpression));case 212:return e.updateSpread(s,t(s.expression,l,e.isExpression));case 213:return e.updateClassExpression(s,d(s.modifiers,l,e.isModifier),t(s.name,l,e.isIdentifier),d(s.typeParameters,l,e.isTypeParameterDeclaration),d(s.heritageClauses,l,e.isHeritageClause),d(s.members,l,e.isClassElement));case 215:return e.updateExpressionWithTypeArguments(s,d(s.typeArguments,l,e.isTypeNode),t(s.expression,l,e.isExpression));case 216:return e.updateAsExpression(s,t(s.expression,l,e.isExpression),t(s.type,l,e.isTypeNode));case 217:return e.updateNonNullExpression(s,t(s.expression,l,e.isExpression));case 218:return e.updateMetaProperty(s,t(s.name,l,e.isIdentifier));case 220:return e.updateTemplateSpan(s,t(s.expression,l,e.isExpression),t(s.literal,l,e.isTemplateMiddleOrTemplateTail));case 222:return e.updateBlock(s,d(s.statements,l,e.isStatement));case 224:return e.updateVariableStatement(s,d(s.modifiers,l,e.isModifier),t(s.declarationList,l,e.isVariableDeclarationList));case 225:return e.updateExpressionStatement(s,t(s.expression,l,e.isExpression));case 226:return e.updateIf(s,t(s.expression,l,e.isExpression),t(s.thenStatement,l,e.isStatement,e.liftToBlock),t(s.elseStatement,l,e.isStatement,e.liftToBlock));case 227:return e.updateDo(s,t(s.statement,l,e.isStatement,e.liftToBlock),t(s.expression,l,e.isExpression));case 228:return e.updateWhile(s,t(s.expression,l,e.isExpression),t(s.statement,l,e.isStatement,e.liftToBlock));case 229:return e.updateFor(s,t(s.initializer,l,e.isForInitializer),t(s.condition,l,e.isExpression),t(s.incrementor,l,e.isExpression),t(s.statement,l,e.isStatement,e.liftToBlock));case 230:return e.updateForIn(s,t(s.initializer,l,e.isForInitializer),t(s.expression,l,e.isExpression),t(s.statement,l,e.isStatement,e.liftToBlock));case 231:return e.updateForOf(s,t(s.awaitModifier,l,e.isToken),t(s.initializer,l,e.isForInitializer),t(s.expression,l,e.isExpression),t(s.statement,l,e.isStatement,e.liftToBlock));case 232:return e.updateContinue(s,t(s.label,l,e.isIdentifier));case 233:return e.updateBreak(s,t(s.label,l,e.isIdentifier));case 234:return e.updateReturn(s,t(s.expression,l,e.isExpression));case 235:return e.updateWith(s,t(s.expression,l,e.isExpression),t(s.statement,l,e.isStatement,e.liftToBlock));case 236:return e.updateSwitch(s,t(s.expression,l,e.isExpression),t(s.caseBlock,l,e.isCaseBlock));case 237:return e.updateLabel(s,t(s.label,l,e.isIdentifier),t(s.statement,l,e.isStatement,e.liftToBlock));case 238:return e.updateThrow(s,t(s.expression,l,e.isExpression));case 239:return e.updateTry(s,t(s.tryBlock,l,e.isBlock),t(s.catchClause,l,e.isCatchClause),t(s.finallyBlock,l,e.isBlock));case 241:return e.updateVariableDeclaration(s,t(s.name,l,e.isBindingName),t(s.type,l,e.isTypeNode),t(s.initializer,l,e.isExpression));case 242:return e.updateVariableDeclarationList(s,d(s.declarations,l,e.isVariableDeclaration));case 243:return e.updateFunctionDeclaration(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.asteriskToken,u,e.isToken),t(s.name,l,e.isIdentifier),d(s.typeParameters,l,e.isTypeParameterDeclaration),i(s.parameters,l,c,d),t(s.type,l,e.isTypeNode),o(s.body,l,c));case 244:return e.updateClassDeclaration(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.name,l,e.isIdentifier),d(s.typeParameters,l,e.isTypeParameterDeclaration),d(s.heritageClauses,l,e.isHeritageClause),d(s.members,l,e.isClassElement));case 245:return e.updateInterfaceDeclaration(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.name,l,e.isIdentifier),d(s.typeParameters,l,e.isTypeParameterDeclaration),d(s.heritageClauses,l,e.isHeritageClause),d(s.members,l,e.isTypeElement));case 246:return e.updateTypeAliasDeclaration(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.name,l,e.isIdentifier),d(s.typeParameters,l,e.isTypeParameterDeclaration),t(s.type,l,e.isTypeNode));case 247:return e.updateEnumDeclaration(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.name,l,e.isIdentifier),d(s.members,l,e.isEnumMember));case 248:return e.updateModuleDeclaration(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.name,l,e.isIdentifier),t(s.body,l,e.isModuleBody));case 249:return e.updateModuleBlock(s,d(s.statements,l,e.isStatement));case 250:return e.updateCaseBlock(s,d(s.clauses,l,e.isCaseOrDefaultClause));case 251:return e.updateNamespaceExportDeclaration(s,t(s.name,l,e.isIdentifier));case 252:return e.updateImportEqualsDeclaration(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.name,l,e.isIdentifier),t(s.moduleReference,l,e.isModuleReference));case 253:return e.updateImportDeclaration(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.importClause,l,e.isImportClause),t(s.moduleSpecifier,l,e.isExpression));case 254:return e.updateImportClause(s,t(s.name,l,e.isIdentifier),t(s.namedBindings,l,e.isNamedImportBindings));case 255:return e.updateNamespaceImport(s,t(s.name,l,e.isIdentifier));case 256:return e.updateNamedImports(s,d(s.elements,l,e.isImportSpecifier));case 257:return e.updateImportSpecifier(s,t(s.propertyName,l,e.isIdentifier),t(s.name,l,e.isIdentifier));case 258:return e.updateExportAssignment(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.expression,l,e.isExpression));case 259:return e.updateExportDeclaration(s,d(s.decorators,l,e.isDecorator),d(s.modifiers,l,e.isModifier),t(s.exportClause,l,e.isNamedExports),t(s.moduleSpecifier,l,e.isExpression));case 260:return e.updateNamedExports(s,d(s.elements,l,e.isExportSpecifier));case 261:return e.updateExportSpecifier(s,t(s.propertyName,l,e.isIdentifier),t(s.name,l,e.isIdentifier));case 263:return e.updateExternalModuleReference(s,t(s.expression,l,e.isExpression));case 264:return e.updateJsxElement(s,t(s.openingElement,l,e.isJsxOpeningElement),d(s.children,l,e.isJsxChild),t(s.closingElement,l,e.isJsxClosingElement));case 265:return e.updateJsxSelfClosingElement(s,t(s.tagName,l,e.isJsxTagNameExpression),d(s.typeArguments,l,e.isTypeNode),t(s.attributes,l,e.isJsxAttributes));case 266:return e.updateJsxOpeningElement(s,t(s.tagName,l,e.isJsxTagNameExpression),d(s.typeArguments,l,e.isTypeNode),t(s.attributes,l,e.isJsxAttributes));case 267:return e.updateJsxClosingElement(s,t(s.tagName,l,e.isJsxTagNameExpression));case 268:return e.updateJsxFragment(s,t(s.openingFragment,l,e.isJsxOpeningFragment),d(s.children,l,e.isJsxChild),t(s.closingFragment,l,e.isJsxClosingFragment));case 271:return e.updateJsxAttribute(s,t(s.name,l,e.isIdentifier),t(s.initializer,l,e.isStringLiteralOrJsxExpression));case 272:return e.updateJsxAttributes(s,d(s.properties,l,e.isJsxAttributeLike));case 273:return e.updateJsxSpreadAttribute(s,t(s.expression,l,e.isExpression));case 274:return e.updateJsxExpression(s,t(s.expression,l,e.isExpression));case 275:return e.updateCaseClause(s,t(s.expression,l,e.isExpression),d(s.statements,l,e.isStatement));case 276:return e.updateDefaultClause(s,d(s.statements,l,e.isStatement));case 277:return e.updateHeritageClause(s,d(s.types,l,e.isExpressionWithTypeArguments));case 278:return e.updateCatchClause(s,t(s.variableDeclaration,l,e.isVariableDeclaration),t(s.block,l,e.isBlock));case 279:return e.updatePropertyAssignment(s,t(s.name,l,e.isPropertyName),t(s.initializer,l,e.isExpression));case 280:return e.updateShorthandPropertyAssignment(s,t(s.name,l,e.isIdentifier),t(s.objectAssignmentInitializer,l,e.isExpression));case 281:return e.updateSpreadAssignment(s,t(s.expression,l,e.isExpression));case 282:return e.updateEnumMember(s,t(s.name,l,e.isPropertyName),t(s.initializer,l,e.isExpression));case 288:return e.updateSourceFileNode(s,a(s.statements,l,c));case 319:return e.updatePartiallyEmittedExpression(s,t(s.expression,l,e.isExpression));case 320:return e.updateCommaList(s,d(s.elements,l,e.isExpression));default:return s}}}}(u||(u={})),function(e){function n(e,n,t){return e?n(t,e):t}function t(e,n,t){return e?n(t,e):t}function r(r,a,i,o){if(void 0===r)return a;var s=o?t:e.reduceLeft,l=o||i,c=r.kind;if(c>0&&c<=151)return a;if(c>=167&&c<=186)return a;var d=a;switch(r.kind){case 221:case 223:case 214:case 240:case 318:break;case 152:d=n(r.left,i,d),d=n(r.right,i,d);break;case 153:d=n(r.expression,i,d);break;case 155:d=s(r.decorators,l,d),d=s(r.modifiers,l,d),d=n(r.name,i,d),d=n(r.type,i,d),d=n(r.initializer,i,d);break;case 156:d=n(r.expression,i,d);break;case 157:d=s(r.modifiers,l,d),d=n(r.name,i,d),d=n(r.questionToken,i,d),d=n(r.type,i,d),d=n(r.initializer,i,d);break;case 158:d=s(r.decorators,l,d),d=s(r.modifiers,l,d),d=n(r.name,i,d),d=n(r.type,i,d),d=n(r.initializer,i,d);break;case 160:d=s(r.decorators,l,d),d=s(r.modifiers,l,d),d=n(r.name,i,d),d=s(r.typeParameters,l,d),d=s(r.parameters,l,d),d=n(r.type,i,d),d=n(r.body,i,d);break;case 161:d=s(r.modifiers,l,d),d=s(r.parameters,l,d),d=n(r.body,i,d);break;case 162:d=s(r.decorators,l,d),d=s(r.modifiers,l,d),d=n(r.name,i,d),d=s(r.parameters,l,d),d=n(r.type,i,d),d=n(r.body,i,d);break;case 163:d=s(r.decorators,l,d),d=s(r.modifiers,l,d),d=n(r.name,i,d),d=s(r.parameters,l,d),d=n(r.body,i,d);break;case 188:case 189:d=s(r.elements,l,d);break;case 190:d=n(r.propertyName,i,d),d=n(r.name,i,d),d=n(r.initializer,i,d);break;case 191:d=s(r.elements,l,d);break;case 192:d=s(r.properties,l,d);break;case 193:d=n(r.expression,i,d),d=n(r.name,i,d);break;case 194:d=n(r.expression,i,d),d=n(r.argumentExpression,i,d);break;case 195:case 196:d=n(r.expression,i,d),d=s(r.typeArguments,l,d),d=s(r.arguments,l,d);break;case 197:d=n(r.tag,i,d),d=s(r.typeArguments,l,d),d=n(r.template,i,d);break;case 198:d=n(r.type,i,d),d=n(r.expression,i,d);break;case 200:d=s(r.modifiers,l,d),d=n(r.name,i,d),d=s(r.typeParameters,l,d),d=s(r.parameters,l,d),d=n(r.type,i,d),d=n(r.body,i,d);break;case 201:d=s(r.modifiers,l,d),d=s(r.typeParameters,l,d),d=s(r.parameters,l,d),d=n(r.type,i,d),d=n(r.body,i,d);break;case 199:case 202:case 203:case 204:case 205:case 211:case 212:case 217:d=n(r.expression,i,d);break;case 206:case 207:d=n(r.operand,i,d);break;case 208:d=n(r.left,i,d),d=n(r.right,i,d);break;case 209:d=n(r.condition,i,d),d=n(r.whenTrue,i,d),d=n(r.whenFalse,i,d);break;case 210:d=n(r.head,i,d),d=s(r.templateSpans,l,d);break;case 213:d=s(r.modifiers,l,d),d=n(r.name,i,d),d=s(r.typeParameters,l,d),d=s(r.heritageClauses,l,d),d=s(r.members,l,d);break;case 215:d=n(r.expression,i,d),d=s(r.typeArguments,l,d);break;case 216:d=n(r.expression,i,d),d=n(r.type,i,d);break;case 220:d=n(r.expression,i,d),d=n(r.literal,i,d);break;case 222:d=s(r.statements,l,d);break;case 224:d=s(r.modifiers,l,d),d=n(r.declarationList,i,d);break;case 225:d=n(r.expression,i,d);break;case 226:d=n(r.expression,i,d),d=n(r.thenStatement,i,d),d=n(r.elseStatement,i,d);break;case 227:d=n(r.statement,i,d),d=n(r.expression,i,d);break;case 228:case 235:d=n(r.expression,i,d),d=n(r.statement,i,d);break;case 229:d=n(r.initializer,i,d),d=n(r.condition,i,d),d=n(r.incrementor,i,d),d=n(r.statement,i,d);break;case 230:case 231:d=n(r.initializer,i,d),d=n(r.expression,i,d),d=n(r.statement,i,d);break;case 234:case 238:d=n(r.expression,i,d);break;case 236:d=n(r.expression,i,d),d=n(r.caseBlock,i,d);break;case 237:d=n(r.label,i,d),d=n(r.statement,i,d);break;case 239:d=n(r.tryBlock,i,d),d=n(r.catchClause,i,d),d=n(r.finallyBlock,i,d);break;case 241:d=n(r.name,i,d),d=n(r.type,i,d),d=n(r.initializer,i,d);break;case 242:d=s(r.declarations,l,d);break;case 243:d=s(r.decorators,l,d),d=s(r.modifiers,l,d),d=n(r.name,i,d),d=s(r.typeParameters,l,d),d=s(r.parameters,l,d),d=n(r.type,i,d),d=n(r.body,i,d);break;case 244:d=s(r.decorators,l,d),d=s(r.modifiers,l,d),d=n(r.name,i,d),d=s(r.typeParameters,l,d),d=s(r.heritageClauses,l,d),d=s(r.members,l,d);break;case 247:d=s(r.decorators,l,d),d=s(r.modifiers,l,d),d=n(r.name,i,d),d=s(r.members,l,d);break;case 248:d=s(r.decorators,l,d),d=s(r.modifiers,l,d),d=n(r.name,i,d),d=n(r.body,i,d);break;case 249:d=s(r.statements,l,d);break;case 250:d=s(r.clauses,l,d);break;case 252:d=s(r.decorators,l,d),d=s(r.modifiers,l,d),d=n(r.name,i,d),d=n(r.moduleReference,i,d);break;case 253:d=s(r.decorators,l,d),d=s(r.modifiers,l,d),d=n(r.importClause,i,d),d=n(r.moduleSpecifier,i,d);break;case 254:d=n(r.name,i,d),d=n(r.namedBindings,i,d);break;case 255:d=n(r.name,i,d);break;case 256:case 260:d=s(r.elements,l,d);break;case 257:case 261:d=n(r.propertyName,i,d),d=n(r.name,i,d);break;case 258:d=e.reduceLeft(r.decorators,i,d),d=e.reduceLeft(r.modifiers,i,d),d=n(r.expression,i,d);break;case 259:d=e.reduceLeft(r.decorators,i,d),d=e.reduceLeft(r.modifiers,i,d),d=n(r.exportClause,i,d),d=n(r.moduleSpecifier,i,d);break;case 263:d=n(r.expression,i,d);break;case 264:d=n(r.openingElement,i,d),d=e.reduceLeft(r.children,i,d),d=n(r.closingElement,i,d);break;case 268:d=n(r.openingFragment,i,d),d=e.reduceLeft(r.children,i,d),d=n(r.closingFragment,i,d);break;case 265:case 266:d=n(r.tagName,i,d),d=s(r.typeArguments,i,d),d=n(r.attributes,i,d);break;case 272:d=s(r.properties,l,d);break;case 267:d=n(r.tagName,i,d);break;case 271:d=n(r.name,i,d),d=n(r.initializer,i,d);break;case 273:case 274:d=n(r.expression,i,d);break;case 275:d=n(r.expression,i,d);case 276:d=s(r.statements,l,d);break;case 277:d=s(r.types,l,d);break;case 278:d=n(r.variableDeclaration,i,d),d=n(r.block,i,d);break;case 279:d=n(r.name,i,d),d=n(r.initializer,i,d);break;case 280:d=n(r.name,i,d),d=n(r.objectAssignmentInitializer,i,d);break;case 281:d=n(r.expression,i,d);break;case 282:d=n(r.name,i,d),d=n(r.initializer,i,d);break;case 288:d=s(r.statements,l,d);break;case 319:d=n(r.expression,i,d);break;case 320:d=s(r.elements,l,d)}return d}function a(n){if(void 0===n)return 0;if(536870912&n.transformFlags)return n.transformFlags&~e.getTransformFlagsSubtreeExclusions(n.kind);var t=function(n){if(e.hasModifier(n,2)||e.isTypeNode(n)&&215!==n.kind)return 0;return r(n,0,i,o)}(n);return e.computeTransformFlagsForNode(n,t)}function i(e,n){return e|a(n)}function o(e,n){return e|function(e){if(void 0===e)return 0;for(var n=0,t=0,r=0,i=e;r=A,"generatedLine cannot backtrack"),e.Debug.assert(t>=0,"generatedCharacter cannot be negative"),u();for(var l,c=[],d=i(r.mappings),p=d.next();!p.done;p=d.next()){var f=p.value;if(s&&(f.generatedLine>s.line||f.generatedLine===s.line&&f.generatedCharacter>s.character))break;if(!o||!(f.generatedLine=A,"generatedLine cannot backtrack"),e.Debug.assert(t>=0,"generatedCharacter cannot be negative"),e.Debug.assert(void 0===r||r>=0,"sourceIndex cannot be negative"),e.Debug.assert(void 0===a||a>=0,"sourceLine cannot be negative"),e.Debug.assert(void 0===i||i>=0,"sourceCharacter cannot be negative"),u(),(function(e,n){return!M||A!==e||x!==n}(n,t)||function(e,n,t){return void 0!==e&&void 0!==n&&void 0!==t&&C===e&&(D>n||D===n&&R>t)}(r,a,i))&&(F(),A=n,x=t,O=!1,k=!1,M=!0),void 0!==r&&void 0!==a&&void 0!==i&&(C=r,D=a,R=i,O=!0,void 0!==o&&(I=o,k=!0)),m()}function F(){if(M&&(!L||v!==A||h!==x||b!==C||E!==D||T!==R||S!==I)){if(u(),v=e.length)return m("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;var o=(n=e.charCodeAt(r))>=65&&n<=90?n-65:n>=97&&n<=122?n-97+26:n>=48&&n<=57?n-48+52:43===n?62:47===n?63:-1;if(-1===o)return m("Invalid character in VLQ"),-1;t=0!=(32&o),i|=(31&o)<>=1:i=-(i>>=1),i}}function o(e){return void 0!==e.sourceIndex&&void 0!==e.sourceLine&&void 0!==e.sourceCharacter}function s(n){n<0?n=1+(-n<<1):n<<=1;var t,r="";do{var a=31&n;(n>>=5)>0&&(a|=32),r+=String.fromCharCode((t=a)>=0&&t<26?65+t:t>=26&&t<52?97+t-26:t>=52&&t<62?48+t-52:62===t?43:63===t?47:e.Debug.fail(t+": not a base64 value"))}while(n>0);return r}function l(e){return void 0!==e.sourceIndex&&void 0!==e.sourcePosition}function c(e,n){return e.generatedPosition===n.generatedPosition&&e.sourceIndex===n.sourceIndex&&e.sourcePosition===n.sourcePosition}function d(n,t){return e.Debug.assert(n.sourceIndex===t.sourceIndex),e.compareValues(n.sourcePosition,t.sourcePosition)}function u(n,t){return e.compareValues(n.generatedPosition,t.generatedPosition)}function m(e){return e.sourcePosition}function p(e){return e.generatedPosition}e.getLineInfo=function(e,n){return{getLineCount:function(){return n.length},getLineText:function(t){return e.substring(n[t],n[t+1])}}},e.tryGetSourceMappingURL=function(e){for(var r=e.getLineCount()-1;r>=0;r--){var a=e.getLineText(r),i=n.exec(a);if(i)return i[1];if(!a.match(t))break}},e.isRawSourceMap=a,e.tryParseRawSourceMap=function(e){try{var n=JSON.parse(e);if(a(n))return n}catch(e){}},e.decodeMappings=i,e.sameMapping=function(e,n){return e===n||e.generatedLine===n.generatedLine&&e.generatedCharacter===n.generatedCharacter&&e.sourceIndex===n.sourceIndex&&e.sourceLine===n.sourceLine&&e.sourceCharacter===n.sourceCharacter&&e.nameIndex===n.nameIndex},e.isSourceMapping=o,e.createDocumentPositionMapper=function(n,t,r){var a,s,f,g=e.getDirectoryPath(r),_=t.sourceRoot?e.getNormalizedAbsolutePath(t.sourceRoot,g):g,y=e.getNormalizedAbsolutePath(t.file,g),v=n.getSourceFileLike(y),h=t.sources.map((function(n){return e.getNormalizedAbsolutePath(n,_)})),b=e.createMapFromEntries(h.map((function(e,t){return[n.getCanonicalFileName(e),t]})));return{getSourcePosition:function(n){var t=L();if(!e.some(t))return n;var r=e.binarySearchKey(t,n.pos,p,e.compareValues);r<0&&(r=~r);var a=t[r];if(void 0===a||!l(a))return n;return{fileName:h[a.sourceIndex],pos:a.sourcePosition}},getGeneratedPosition:function(t){var r=b.get(n.getCanonicalFileName(t.fileName));if(void 0===r)return t;var a=S(r);if(!e.some(a))return t;var i=e.binarySearchKey(a,t.pos,m,e.compareValues);i<0&&(i=~i);var o=a[i];if(void 0===o||o.sourceIndex!==r)return t;return{fileName:y,pos:o.generatedPosition}}};function E(r){var a,i,s=void 0!==v?e.getPositionOfLineAndCharacter(v,r.generatedLine,r.generatedCharacter,!0):-1;if(o(r)){var l=n.getSourceFileLike(h[r.sourceIndex]);a=t.sources[r.sourceIndex],i=void 0!==l?e.getPositionOfLineAndCharacter(l,r.sourceLine,r.sourceCharacter,!0):-1}return{generatedPosition:s,source:a,sourceIndex:r.sourceIndex,sourcePosition:i,nameIndex:r.nameIndex}}function T(){if(void 0===a){var r=i(t.mappings),o=e.arrayFrom(r,E);void 0!==r.error?(n.log&&n.log("Encountered error while decoding sourcemap: "+r.error),a=e.emptyArray):a=o}return a}function S(n){if(void 0===f){for(var t=[],r=0,a=T();r0&&a!==r.elements.length||!!(r.elements.length-a)&&e.isDefaultImport(n)}function a(n){return!r(n)&&(e.isDefaultImport(n)||!!n.importClause&&e.isNamedImports(n.importClause.namedBindings)&&function(n){return!!n&&(!!e.isNamedImports(n)&&e.some(n.elements,t))}(n.importClause.namedBindings))}function i(n,t,r){if(e.isBindingPattern(n.name))for(var a=0,o=n.name.elements;a=1)||12288&_.transformFlags||12288&e.getTargetOfBindingOrAssignmentElement(_).transformFlags||e.isComputedPropertyName(y)){c&&(n.emitBindingOrAssignment(n.createObjectBindingOrAssignmentPattern(c),s,l,o),c=void 0);var v=r(n,s,y);e.isComputedPropertyName(y)&&(d=e.append(d,v.argumentExpression)),t(n,_,v,_)}else c=e.append(c,_)}}c&&n.emitBindingOrAssignment(n.createObjectBindingOrAssignmentPattern(c),s,l,o)}(n,i,d,o,s):e.isArrayBindingOrAssignmentPattern(d)?function(n,r,i,o,s){var l,c,d=e.getElementsOfBindingOrAssignmentPattern(i),u=d.length;if(n.level<1&&n.downlevelIteration)o=a(n,e.createReadHelper(n.context,o,u>0&&e.getRestIndicatorOfBindingOrAssignmentElement(d[u-1])?void 0:u,s),!1,s);else if(1!==u&&(n.level<1||0===u)||e.every(d,e.isOmittedExpression)){var m=!e.isDeclarationBindingElement(r)||0!==u;o=a(n,o,m,s)}for(var p=0;p=1)if(8192&f.transformFlags){var g=e.createTempVariable(void 0);n.hoistTempVariables&&n.context.hoistVariableDeclaration(g),c=e.append(c,[g,f]),l=e.append(l,n.createArrayBindingOrAssignmentElement(g))}else l=e.append(l,f);else{if(e.isOmittedExpression(f))continue;if(e.getRestIndicatorOfBindingOrAssignmentElement(f)){if(p===u-1){_=e.createArraySlice(o,p);t(n,f,_,f)}}else{var _=e.createElementAccess(o,p);t(n,f,_,f)}}}l&&n.emitBindingOrAssignment(n.createArrayBindingOrAssignmentPattern(l),o,s,i);if(c)for(var y=0,v=c;y0)return!0;var t=e.getFirstConstructorWithBody(n);if(t)return e.forEach(t.parameters,V);return!1})(n)&&(r|=2);e.childIsDecorated(n)&&(r|=4);Ie(n)?r|=8:!function(n){return Me(n)&&e.hasModifier(n,512)}(n)?Oe(n)&&(r|=16):r|=32;T<=1&&7&r&&(r|=128);return r}(a,i);128&s&&n.startLexicalEnvironment();var l=a.name||(5&s?e.getGeneratedNameForNode(a):void 0),c=2&s?function(t,r){var a=e.moveRangePastDecorators(t),i=function(t){if(16777216&h.getNodeCheckFlags(t)){0==(1&m)&&(m|=1,n.enableSubstitution(75),p=[]);var r=e.createUniqueName(t.name&&!e.isGeneratedIdentifier(t.name)?e.idText(t.name):"default");return p[e.getOriginalNodeId(t)]=r,v(r),r}}(t),o=e.getLocalName(t,!1,!0),s=e.visitNodes(t.heritageClauses,D,e.isHeritageClause),l=H(t),c=e.createClassExpression(void 0,r,void 0,s,l);e.aggregateTransformFlags(c),e.setOriginalNode(c,t),e.setTextRange(c,a);var d=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(o,void 0,i?e.createAssignment(i,c):c)],1));return e.setOriginalNode(d,t),e.setTextRange(d,a),e.setCommentRange(d,t),d}(a,l):function(n,t,r){var a=128&r?void 0:e.visitNodes(n.modifiers,P,e.isModifier),i=e.createClassDeclaration(void 0,a,t,void 0,e.visitNodes(n.heritageClauses,D,e.isHeritageClause),H(n)),o=e.getEmitFlags(n);1&r&&(o|=32);return e.aggregateTransformFlags(i),e.setTextRange(i,n),e.setOriginalNode(i,n),e.setEmitFlags(i,o),i}(a,l,s),d=[c];if(X(d,a,!1),X(d,a,!0),function(t,a){var i=function(t){var a=function(n){var t=n.decorators,r=W(e.getFirstConstructorWithBody(n));if(!t&&!r)return;return{decorators:t,parameters:r}}(t),i=z(t,t,a);if(!i)return;var o=p&&p[e.getOriginalNodeId(t)],s=e.getLocalName(t,!1,!0),l=r(n,i,s),c=e.createAssignment(s,o?e.createAssignment(o,l):l);return e.setEmitFlags(c,1536),e.setSourceMapRange(c,e.moveRangePastDecorators(t)),c}(a);i&&t.push(e.setOriginalNode(e.createExpressionStatement(i),a))}(d,a),128&s){var u=e.createTokenRange(e.skipTrivia(t.text,a.members.end),19),f=e.getInternalName(a),g=e.createPartiallyEmittedExpression(f);g.end=u.end,e.setEmitFlags(g,1536);var _=e.createReturn(g);_.pos=u.pos,e.setEmitFlags(_,1920),d.push(_),e.insertStatementsAfterStandardPrologue(d,n.endLexicalEnvironment());var y=e.createImmediatelyInvokedArrowFunction(d);e.setEmitFlags(y,33554432);var b=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.getLocalName(a,!1,!1),void 0,y)]));e.setOriginalNode(b,a),e.setCommentRange(b,a),e.setSourceMapRange(b,e.moveRangePastDecorators(a)),e.startOnNewLine(b),d=[b]}8&s?Ne(d,a):(128&s||2&s)&&(32&s?d.push(e.createExportDefault(e.getLocalName(a,!1,!0))):16&s&&d.push(e.createExternalModuleExport(e.getLocalName(a,!1,!0))));d.length>1&&(d.push(e.createEndOfDeclarationMarker(a)),e.setEmitFlags(c,4194304|e.getEmitFlags(c)));return e.singleOrMany(d)}(a);case 213:return function(t){if(!U(t))return e.visitEachChild(t,D,n);var r=e.createClassExpression(void 0,t.name,void 0,e.visitNodes(t.heritageClauses,D,e.isHeritageClause),H(t));return e.aggregateTransformFlags(r),e.setOriginalNode(r,t),e.setTextRange(r,t),r}(a);case 277:return function(t){if(112===t.token)return;return e.visitEachChild(t,D,n)}(a);case 215:return function(n){return e.updateExpressionWithTypeArguments(n,void 0,e.visitNode(n.expression,D,e.isLeftHandSideExpression))}(a);case 160:return function(t){if(!me(t))return;var r=e.updateMethod(t,void 0,e.visitNodes(t.modifiers,P,e.isModifier),t.asteriskToken,ue(t),void 0,void 0,e.visitParameterList(t.parameters,D,n),void 0,e.visitFunctionBody(t.body,D,n));r!==t&&(e.setCommentRange(r,t),e.setSourceMapRange(r,e.moveRangePastDecorators(t)));return r}(a);case 162:return function(t){if(!_e(t))return;var r=e.updateGetAccessor(t,void 0,e.visitNodes(t.modifiers,P,e.isModifier),ue(t),e.visitParameterList(t.parameters,D,n),void 0,e.visitFunctionBody(t.body,D,n)||e.createBlock([]));r!==t&&(e.setCommentRange(r,t),e.setSourceMapRange(r,e.moveRangePastDecorators(t)));return r}(a);case 163:return function(t){if(!_e(t))return;var r=e.updateSetAccessor(t,void 0,e.visitNodes(t.modifiers,P,e.isModifier),ue(t),e.visitParameterList(t.parameters,D,n),e.visitFunctionBody(t.body,D,n)||e.createBlock([]));r!==t&&(e.setCommentRange(r,t),e.setSourceMapRange(r,e.moveRangePastDecorators(t)));return r}(a);case 243:return function(t){if(!me(t))return e.createNotEmittedStatement(t);var r=e.updateFunctionDeclaration(t,void 0,e.visitNodes(t.modifiers,P,e.isModifier),t.asteriskToken,t.name,void 0,e.visitParameterList(t.parameters,D,n),void 0,e.visitFunctionBody(t.body,D,n)||e.createBlock([]));if(Ie(t)){var a=[r];return Ne(a,t),a}return r}(a);case 200:return function(t){if(!me(t))return e.createOmittedExpression();return e.updateFunctionExpression(t,e.visitNodes(t.modifiers,P,e.isModifier),t.asteriskToken,t.name,void 0,e.visitParameterList(t.parameters,D,n),void 0,e.visitFunctionBody(t.body,D,n)||e.createBlock([]))}(a);case 201:return function(t){return e.updateArrowFunction(t,e.visitNodes(t.modifiers,P,e.isModifier),void 0,e.visitParameterList(t.parameters,D,n),void 0,t.equalsGreaterThanToken,e.visitFunctionBody(t.body,D,n))}(a);case 155:return function(n){if(e.parameterIsThisKeyword(n))return;var t=e.updateParameter(n,void 0,void 0,n.dotDotDotToken,e.visitNode(n.name,D,e.isBindingName),void 0,void 0,e.visitNode(n.initializer,D,e.isExpression));t!==n&&(e.setCommentRange(t,n),e.setTextRange(t,e.moveRangePastModifiers(n)),e.setSourceMapRange(t,e.moveRangePastModifiers(n)),e.setEmitFlags(t.name,32));return t}(a);case 199:return function(r){var a=e.skipOuterExpressions(r.expression,-3);if(e.isAssertionExpression(a)){var i=e.visitNode(r.expression,D,e.isExpression);return e.length(e.getLeadingCommentRangesOfNode(i,t))?e.updateParen(r,i):e.createPartiallyEmittedExpression(i,r)}return e.visitEachChild(r,D,n)}(a);case 198:case 216:return function(n){var t=e.visitNode(n.expression,D,e.isExpression);return e.createPartiallyEmittedExpression(t,n)}(a);case 195:return function(n){return e.updateCall(n,e.visitNode(n.expression,D,e.isExpression),void 0,e.visitNodes(n.arguments,D,e.isExpression))}(a);case 196:return function(n){return e.updateNew(n,e.visitNode(n.expression,D,e.isExpression),void 0,e.visitNodes(n.arguments,D,e.isExpression))}(a);case 197:return function(n){return e.updateTaggedTemplate(n,e.visitNode(n.tag,D,e.isExpression),void 0,e.visitNode(n.template,D,e.isExpression))}(a);case 217:return function(n){var t=e.visitNode(n.expression,D,e.isLeftHandSideExpression);return e.createPartiallyEmittedExpression(t,n)}(a);case 247:return function(n){if(!function(n){return!e.isEnumConst(n)||b.preserveConstEnums||b.isolatedModules}(n))return e.createNotEmittedStatement(n);var r=[],a=2,i=Te(r,n);i&&(S===e.ModuleKind.System&&l===t||(a|=512));var o=Ge(n),c=Fe(n),d=e.hasModifier(n,1)?e.getExternalModuleOrNamespaceExportName(s,n,!1,!0):e.getLocalName(n,!1,!0),u=e.createLogicalOr(d,e.createAssignment(d,e.createObjectLiteral()));if(he(n)){var m=e.getLocalName(n,!1,!0);u=e.createAssignment(m,u)}var p=e.createExpressionStatement(e.createCall(e.createFunctionExpression(void 0,void 0,void 0,void 0,[e.createParameter(void 0,void 0,void 0,o)],void 0,function(n,t){var r=s;s=t;var a=[];g();var i=e.map(n.members,ve);return e.insertStatementsAfterStandardPrologue(a,y()),e.addRange(a,i),s=r,e.createBlock(e.setTextRange(e.createNodeArray(a),n.members),!0)}(n,c)),void 0,[u]));e.setOriginalNode(p,n),i&&(e.setSyntheticLeadingComments(p,void 0),e.setSyntheticTrailingComments(p,void 0));return e.setTextRange(p,n),e.addEmitFlags(p,a),r.push(p),r.push(e.createEndOfDeclarationMarker(n)),r}(a);case 224:return function(t){if(Ie(t)){var r=e.getInitializedVariables(t.declarationList);if(0===r.length)return;return e.setTextRange(e.createExpressionStatement(e.inlineExpressions(e.map(r,ye))),t)}return e.visitEachChild(t,D,n)}(a);case 241:return function(n){return e.updateVariableDeclaration(n,e.visitNode(n.name,D,e.isBindingName),void 0,e.visitNode(n.initializer,D,e.isExpression))}(a);case 248:return Se(a);case 252:return Re(a);default:return e.visitEachChild(a,D,n)}}function F(t){var r=e.getStrictOptionValue(b,"alwaysStrict")&&!(e.isExternalModule(t)&&S>=e.ModuleKind.ES2015)&&!e.isJsonSourceFile(t);return e.updateSourceFileNode(t,e.visitLexicalEnvironment(t.statements,I,n,0,r))}function V(e){return void 0!==e.decorators&&e.decorators.length>0}function B(e){return!!(1024&e.transformFlags)}function U(n){return e.some(n.decorators)||e.some(n.typeParameters)||e.some(n.heritageClauses,B)||e.some(n.members,B)}function H(n){var t=[],r=e.getFirstConstructorWithBody(n),a=r&&e.filter(r.parameters,(function(n){return e.isParameterPropertyDeclaration(n,r)}));if(a)for(var i=0,o=a;i0&&e.parameterIsThisKeyword(r[0]),i=a?1:0,o=a?r.length-1:r.length,s=0;s0?158===a.kind?e.createVoidZero():e.createNull():void 0,c=r(n,i,o,s,l,e.moveRangePastDecorators(a));return e.setEmitFlags(c,1536),c}}function Y(n){return e.visitNode(n.expression,D,e.isExpression)}function Q(t,r){var a;if(t){a=[];for(var o=0,s=t;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 };'},e.metadataHelper={name:"typescript:metadata",importName:"__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 };'},e.paramHelper={name:"typescript:param",importName:"__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 };"}}(u||(u={})),function(e){var n;!function(e){e[e.ClassAliases=1]="ClassAliases"}(n||(n={})),e.transformClassFields=function(n){var t,r,a,i,s=n.hoistVariableDeclaration,l=n.endLexicalEnvironment,c=n.resumeLexicalEnvironment,d=n.getEmitResolver(),u=n.onSubstituteNode;return n.onSubstituteNode=function(n,a){if(a=u(n,a),1===n)return function(n){switch(n.kind){case 75:return function(n){return function(n){if(1&t&&33554432&d.getNodeCheckFlags(n)){var a=d.getReferencedValueDeclaration(n);if(a){var i=r[a.id];if(i){var o=e.getSynthesizedClone(i);return e.setSourceMapRange(o,n),e.setCommentRange(o,n),o}}}return}(n)||n}(n)}return n}(a);return a},e.chainBundle((function(t){var r=n.getCompilerOptions();if(t.isDeclarationFile||r.useDefineForClassFields&&99===r.target)return t;var a=e.visitEachChild(t,m,n);return e.addEmitHelpers(a,n.readEmitHelpers()),a}));function m(l){if(!(1048576&l.transformFlags))return l;switch(l.kind){case 213:return function(o){if(!e.forEach(o.members,e.isPropertyDeclaration))return e.visitEachChild(o,m,n);var l=a;a=void 0;var c=e.isClassDeclaration(e.getOriginalNode(o)),u=e.getProperties(o,!0,!0),p=e.getEffectiveBaseTypeNode(o),y=!(!p||99===e.skipOuterExpressions(p.expression).kind),v=e.updateClassExpression(o,o.modifiers,o.name,void 0,e.visitNodes(o.heritageClauses,m,e.isHeritageClause),f(o,y));if(e.some(u)||e.some(a)){if(c)return e.Debug.assertDefined(i,"Decorated classes transformed by TypeScript are expected to be within a variable declaration."),i&&a&&e.some(a)&&i.push(e.createExpressionStatement(e.inlineExpressions(a))),a=l,i&&e.some(u)&&g(i,u,e.getInternalName(o)),v;var h=[],b=16777216&d.getNodeCheckFlags(o),E=e.createTempVariable(s,!!b);if(b){0==(1&t)&&(t|=1,n.enableSubstitution(75),r=[]);var T=e.getSynthesizedClone(E);T.autoGenerateFlags&=-9,r[e.getOriginalNodeId(o)]=T}return e.setEmitFlags(v,65536|e.getEmitFlags(v)),h.push(e.startOnNewLine(e.createAssignment(E,v))),e.addRange(h,e.map(a,e.startOnNewLine)),e.addRange(h,function(n,t){for(var r=[],a=0,i=n;ad&&(o||e.addRange(u,e.visitNodes(r.body.statements,m,e.isStatement,d,p-d)),d=p)}g(u,s,e.createThis()),r&&e.addRange(u,e.visitNodes(r.body.statements,m,e.isStatement,d));return u=e.mergeLexicalEnvironment(u,l()),e.setTextRange(e.createBlock(e.setTextRange(e.createNodeArray(u),r?r.body.statements:t.members),!0),r?r.body:void 0)}(t,a,r);if(!o)return;return e.startOnNewLine(e.setOriginalNode(e.setTextRange(e.createConstructor(void 0,void 0,i,o),a||t),a))}(t,r);return i&&a.push(i),e.addRange(a,e.visitNodes(t.members,p,e.isClassElement)),e.setTextRange(e.createNodeArray(a),t.members)}function g(n,t,r){for(var a=0,i=t;a=2&&6144&p.getNodeCheckFlags(o);if(M&&(0==(1&a)&&(a|=1,n.enableSubstitution(195),n.enableSubstitution(193),n.enableSubstitution(194),n.enableEmitNotification(244),n.enableEmitNotification(160),n.enableEmitNotification(162),n.enableEmitNotification(163),n.enableEmitNotification(161),n.enableEmitNotification(224)),e.hasEntries(s))){var O=t(p,o,s);y[e.getNodeId(O)]=!0,e.insertStatementsAfterStandardPrologue(R,[O])}var k=e.createBlock(R,!0);e.setTextRange(k,o.body),M&&l&&(4096&p.getNodeCheckFlags(o)?e.addEmitHelper(k,e.advancedAsyncSuperHelper):2048&p.getNodeCheckFlags(o)&&e.addEmitHelper(k,e.asyncSuperHelper)),S=k}return i=h,_||(s=L,l=A),S}function N(n,t){return e.isBlock(n)?e.updateBlock(n,e.visitNodes(n.statements,S,e.isStatement,t)):e.convertToFunctionBody(e.visitNode(n,S,e.isConciseBody))}function w(n){return 101===n.expression.kind?e.setTextRange(e.createPropertyAccess(e.createFileLevelUniqueName("_super"),n.name),n):n}function P(n){return 101===n.expression.kind?(t=n.argumentExpression,r=n,4096&_?e.setTextRange(e.createPropertyAccess(e.createCall(e.createFileLevelUniqueName("_superIndex"),void 0,[t]),"value"),r):e.setTextRange(e.createCall(e.createFileLevelUniqueName("_superIndex"),void 0,[t]),r)):n;var t,r}},e.createSuperAccessVariableStatement=t,e.awaiterHelper={name:"typescript:awaiter",importName:"__awaiter",scoped:!1,priority:5,text:'\n var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\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) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n };'},e.asyncSuperHelper={name:"typescript:async-super",scoped:!0,text:e.helperString(c(["\n const "," = name => super[name];"],["\n const "," = name => super[name];"]),"_superIndex")},e.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:!0,text:e.helperString(c(["\n const "," = (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 const "," = (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);"]),"_superIndex")}}(u||(u={})),function(e){var n;function t(n,t){return n.getCompilerOptions().target>=2?e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"assign"),void 0,t):(n.requestEmitHelper(e.assignHelper),e.createCall(e.getUnscopedHelperName("__assign"),void 0,t))}function r(n,t){return n.requestEmitHelper(e.awaitHelper),e.createCall(e.getUnscopedHelperName("__await"),void 0,[t])}function a(n,t,r){return n.requestEmitHelper(e.asyncValues),e.setTextRange(e.createCall(e.getUnscopedHelperName("__asyncValues"),void 0,[t]),r)}!function(e){e[e.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"}(n||(n={})),e.transformES2018=function(n){var i=n.resumeLexicalEnvironment,s=n.endLexicalEnvironment,l=n.hoistVariableDeclaration,c=n.getEmitResolver(),d=n.getCompilerOptions(),u=e.getEmitScriptTarget(d),m=n.onEmitNode;n.onEmitNode=function(n,t,r){if(1&f&&function(e){var n=e.kind;return 244===n||161===n||160===n||162===n||163===n}(t)){var a=6144&c.getNodeCheckFlags(t);if(a!==b){var i=b;return b=a,m(n,t,r),void(b=i)}}else if(f&&E[e.getNodeId(t)]){i=b;return b=0,m(n,t,r),void(b=i)}m(n,t,r)};var p=n.onSubstituteNode;n.onSubstituteNode=function(n,t){if(t=p(n,t),1===n&&b)return function(n){switch(n.kind){case 193:return B(n);case 194:return U(n);case 195:return function(n){var t=n.expression;if(e.isSuperProperty(t)){var r=e.isPropertyAccessExpression(t)?B(t):U(t);return e.createCall(e.createPropertyAccess(r,"call"),void 0,o([e.createThis()],n.arguments))}return n}(n)}return n}(t);return t};var f,g,_,y,v,h=!1,b=0,E=[];return e.chainBundle((function(t){if(t.isDeclarationFile)return t;h=!1,_=e.isEffectiveStrictModeSourceFile(t,d);var r=e.visitEachChild(t,T,n);return e.addEmitHelpers(r,n.readEmitHelpers()),r}));function T(e){return C(e,!1)}function S(e){return C(e,!0)}function L(e){if(125!==e.kind)return e}function A(e,n){if(_){_=!1;var t=e(n);return _=!0,t}return e(n)}function x(t){return e.visitEachChild(t,T,n)}function C(i,s){if(0==(16&i.transformFlags))return i;switch(i.kind){case 205:return function(t){if(2&g&&1&g)return e.setOriginalNode(e.setTextRange(e.createYield(r(n,e.visitNode(t.expression,T,e.isExpression))),t),t);return e.visitEachChild(t,T,n)}(i);case 211:return function(t){if(2&g&&1&g){if(t.asteriskToken){var i=e.visitNode(t.expression,T,e.isExpression);return e.setOriginalNode(e.setTextRange(e.createYield(r(n,e.updateYield(t,t.asteriskToken,function(n,t,r){return n.requestEmitHelper(e.awaitHelper),n.requestEmitHelper(e.asyncDelegator),e.setTextRange(e.createCall(e.getUnscopedHelperName("__asyncDelegator"),void 0,[t]),r)}(n,a(n,i,i),i)))),t),t)}return e.setOriginalNode(e.setTextRange(e.createYield(I(t.expression?e.visitNode(t.expression,T,e.isExpression):e.createVoidZero())),t),t)}return e.visitEachChild(t,T,n)}(i);case 234:return function(t){if(2&g&&1&g)return e.updateReturn(t,I(t.expression?e.visitNode(t.expression,T,e.isExpression):e.createVoidZero()));return e.visitEachChild(t,T,n)}(i);case 237:return function(t){if(2&g){var r=e.unwrapInnermostStatementOfLabel(t);return 231===r.kind&&r.awaitModifier?R(r,t):e.restoreEnclosingLabel(e.visitEachChild(r,T,n),t)}return e.visitEachChild(t,T,n)}(i);case 192:return function(r){if(8192&r.transformFlags){var a=function(n){for(var t,r=[],a=0,i=n;a1){for(var o=1;o=2&&6144&c.getNodeCheckFlags(t);if(m){0==(1&f)&&(f|=1,n.enableSubstitution(195),n.enableSubstitution(193),n.enableSubstitution(194),n.enableEmitNotification(244),n.enableEmitNotification(160),n.enableEmitNotification(162),n.enableEmitNotification(163),n.enableEmitNotification(161),n.enableEmitNotification(224));var p=e.createSuperAccessVariableStatement(c,t,y);E[e.getNodeId(p)]=!0,e.insertStatementsAfterStandardPrologue(r,[p])}r.push(d),e.insertStatementsAfterStandardPrologue(r,s());var g=e.updateBlock(t.body,r);return m&&v&&(4096&c.getNodeCheckFlags(t)?e.addEmitHelper(g,e.advancedAsyncSuperHelper):2048&c.getNodeCheckFlags(t)&&e.addEmitHelper(g,e.asyncSuperHelper)),y=o,v=l,g}function F(n){i();var t=0,r=[],a=e.visitNode(n.body,T,e.isConciseBody);e.isBlock(a)&&(t=e.addPrologue(r,a.statements,!1,T)),e.addRange(r,V(void 0,n));var o=s();if(t>0||e.some(r)||e.some(o)){var l=e.convertToFunctionBody(a,!0);return e.insertStatementsAfterStandardPrologue(r,o),e.addRange(r,l.statements.slice(t)),e.updateBlock(l,e.setTextRange(e.createNodeArray(r),l.statements))}return a}function V(t,r){for(var a=0,i=r.parameters;a 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 };'},e.asyncDelegator={name:"typescript:asyncDelegator",importName:"__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) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }\n };'},e.asyncValues={name:"typescript:asyncValues",importName:"__asyncValues",scoped:!1,text:'\n var __asyncValues = (this && this.__asyncValues) || function (o) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n };'}}(u||(u={})),function(e){e.transformES2019=function(n){return e.chainBundle((function(r){if(r.isDeclarationFile)return r;return e.visitEachChild(r,t,n)}));function t(r){if(0==(8&r.transformFlags))return r;switch(r.kind){case 278:return function(r){if(!r.variableDeclaration)return e.updateCatchClause(r,e.createVariableDeclaration(e.createTempVariable(void 0)),e.visitNode(r.block,t,e.isBlock));return e.visitEachChild(r,t,n)}(r);default:return e.visitEachChild(r,t,n)}}}}(u||(u={})),function(e){e.transformESNext=function(n){var t=n.hoistVariableDeclaration;return e.chainBundle((function(t){if(t.isDeclarationFile)return t;return e.visitEachChild(t,r,n)}));function r(a){if(0==(4&a.transformFlags))return a;switch(a.kind){case 193:case 194:case 195:if(32&a.flags){var o=i(a,!1);return e.Debug.assertNotNode(o,e.isSyntheticReference),o}return e.visitEachChild(a,r,n);case 208:return 60===a.operatorToken.kind?function(n){var a=[],i=e.visitNode(n.left,r,e.isExpression);if(!e.isIdentifier(i)){var o=e.createTempVariable(t);a.push(e.createAssignment(o,i)),i=o}return a.push(e.createParen(e.createConditional(function(n){return e.createBinary(e.createBinary(n,e.createToken(37),e.createNull()),e.createToken(55),e.createBinary(n,e.createToken(37),e.createVoidZero()))}(i),i,e.visitNode(n.right,r,e.isExpression)))),e.inlineExpressions(a)}(a):e.visitEachChild(a,r,n);default:return e.visitEachChild(a,r,n)}}function a(o,s){switch(o.kind){case 199:return function(n,t){var r=a(n.expression,t);return e.isSyntheticReference(r)?e.createSyntheticReferenceExpression(e.updateParen(n,r.expression),r.thisArg):e.updateParen(n,r)}(o,s);case 193:return function(n,a){if(e.isOptionalChain(n))return i(n,a);var o,s=e.visitNode(n.expression,r,e.isExpression);return e.Debug.assertNotNode(s,e.isSyntheticReference),a&&(o=e.createTempVariable(t),s=e.createParen(e.createAssignment(o,s))),s=e.updatePropertyAccess(n,s,e.visitNode(n.name,r,e.isIdentifier)),o?e.createSyntheticReferenceExpression(s,o):s}(o,s);case 194:return function(n,a){if(e.isOptionalChain(n))return i(n,a);var o,s=e.visitNode(n.expression,r,e.isExpression);return e.Debug.assertNotNode(s,e.isSyntheticReference),a&&(o=e.createTempVariable(t),s=e.createParen(e.createAssignment(o,s))),s=e.updateElementAccess(n,s,e.visitNode(n.argumentExpression,r,e.isExpression)),o?e.createSyntheticReferenceExpression(s,o):s}(o,s);case 195:return function(t,a){return e.isOptionalChain(t)?i(t,a):e.visitEachChild(t,r,n)}(o,s);default:return e.visitNode(o,r,e.isExpression)}}function i(n,i){for(var o,s=function(n){for(var t=[n];!n.questionDotToken&&!e.isTaggedTemplateExpression(n);)n=e.cast(n.expression,e.isOptionalChain),t.unshift(n);return{expression:n.expression,chain:t}}(n),l=s.expression,c=s.chain,d=a(l,e.isCallChain(c[0])),u=e.createTempVariable(t),m=e.isSyntheticReference(d)?d.thisArg:void 0,p=e.isSyntheticReference(d)?d.expression:d,f=u,g=0;g=n.end)return!1;var a=e.getEnclosingBlockScopeContainer(n);for(;r;){if(r===a||r===n)return!1;if(e.isClassElement(r)&&r.parent===n)return!0;r=r.parent}return!1}(t,n)))return e.setTextRange(e.getGeneratedNameForNode(e.getNameOfDeclaration(t)),n)}return n}(n);case 103:return function(n){if(1&l&&16&a)return e.setTextRange(e.createFileLevelUniqueName("_this"),n);return n}(n)}return n}(t);if(e.isIdentifier(t))return function(n){if(2&l&&!e.isInternalName(n)){var t=e.getParseTreeNode(n,e.isIdentifier);if(t&&function(e){switch(e.parent.kind){case 190:case 244:case 247:case 241:return e.parent.name===e&&f.isDeclarationWithCollidingName(e.parent)}return!1}(t))return e.setTextRange(e.getGeneratedNameForNode(t),n)}return n}(t);return t},e.chainBundle((function(o){if(o.isDeclarationFile)return o;t=o,r=o.text;var s=function(n){var t=y(8064,64),r=[],a=[];c();var o=e.addStandardPrologue(r,n.statements,!1);o=e.addCustomPrologue(r,n.statements,o,b),e.addRange(a,e.visitNodes(n.statements,b,e.isStatement,o)),i&&a.push(e.createVariableStatement(void 0,e.createVariableDeclarationList(i)));return e.mergeLexicalEnvironment(r,u()),M(r,n),v(t,0,0),e.updateSourceFileNode(n,e.setTextRange(e.createNodeArray(e.concatenate(r,a)),n.statements))}(o);return e.addEmitHelpers(s,n.readEmitHelpers()),t=void 0,r=void 0,i=void 0,a=0,s}));function y(e,n){var t=a;return a=16383&(a&~e|n),t}function v(e,n,t){a=-16384&(a&~n|t)|e}function h(e){return 0!=(8192&a)&&234===e.kind&&!e.expression}function b(r){return function(n){return 0!=(128&n.transformFlags)||void 0!==s||8192&a&&(e.isStatement(n)||222===n.kind)||e.isIterationStatement(n,!1)&&ae(n)||0!=(33554432&e.getEmitFlags(n))}(r)?function(r){switch(r.kind){case 119:return;case 244:return function(n){var t=e.createVariableDeclaration(e.getLocalName(n,!0),void 0,S(n));e.setOriginalNode(t,n);var r=[],a=e.createVariableStatement(void 0,e.createVariableDeclarationList([t]));if(e.setOriginalNode(a,n),e.setTextRange(a,n),e.startOnNewLine(a),r.push(a),e.hasModifier(n,1)){var i=e.hasModifier(n,512)?e.createExportDefault(e.getLocalName(n)):e.createExternalModuleExport(e.getLocalName(n));e.setOriginalNode(i,a),r.push(i)}var o=e.getEmitFlags(n);0==(4194304&o)&&(r.push(e.createEndOfDeclarationMarker(n)),e.setEmitFlags(a,4194304|o));return e.singleOrMany(r)}(r);case 213:return function(e){return S(e)}(r);case 155:return function(n){return n.dotDotDotToken?void 0:e.isBindingPattern(n.name)?e.setOriginalNode(e.setTextRange(e.createParameter(void 0,void 0,void 0,e.getGeneratedNameForNode(n),void 0,void 0,void 0),n),n):n.initializer?e.setOriginalNode(e.setTextRange(e.createParameter(void 0,void 0,void 0,n.name,void 0,void 0,void 0),n),n):n}(r);case 243:return function(t){var r=s;s=void 0;var i=y(16286,65),o=e.visitParameterList(t.parameters,b,n),l=V(t),c=16384&a?e.getLocalName(t):t.name;return v(i,49152,0),s=r,e.updateFunctionDeclaration(t,void 0,e.visitNodes(t.modifiers,b,e.isModifier),t.asteriskToken,c,void 0,o,void 0,l)}(r);case 201:return function(t){2048&t.transformFlags&&(a|=32768);var r=s;s=void 0;var i=y(15232,66),o=e.createFunctionExpression(void 0,void 0,void 0,void 0,e.visitParameterList(t.parameters,b,n),void 0,V(t));e.setTextRange(o,t),e.setOriginalNode(o,t),e.setEmitFlags(o,8),32768&a&&De();return v(i,0,0),s=r,o}(r);case 200:return function(t){var r=262144&e.getEmitFlags(t)?y(16278,69):y(16286,65),i=s;s=void 0;var o=e.visitParameterList(t.parameters,b,n),l=V(t),c=16384&a?e.getLocalName(t):t.name;return v(r,49152,0),s=i,e.updateFunctionExpression(t,void 0,t.asteriskToken,c,void 0,o,void 0,l)}(r);case 241:return K(r);case 75:return function(n){if(!s)return n;if(e.isGeneratedIdentifier(n))return n;if("arguments"!==n.escapedText||!f.isArgumentsLocalBinding(n))return n;return s.argumentsName||(s.argumentsName=e.createUniqueName("arguments"))}(r);case 242:return function(t){if(3&t.flags||65536&t.transformFlags){3&t.flags&&Ce();var r=e.flatMap(t.declarations,1&t.flags?H:K),a=e.createVariableDeclarationList(r);return e.setOriginalNode(a,t),e.setTextRange(a,t),e.setCommentRange(a,t),65536&t.transformFlags&&(e.isBindingPattern(t.declarations[0].name)||e.isBindingPattern(e.last(t.declarations).name))&&e.setSourceMapRange(a,function(n){for(var t=-1,r=-1,a=0,i=n;a0?(e.insertStatementAfterCustomPrologue(t,e.setEmitFlags(e.createVariableStatement(void 0,e.createVariableDeclarationList(e.flattenDestructuringBinding(r,b,n,0,e.getGeneratedNameForNode(r)))),1048576)),!0):!!i&&(e.insertStatementAfterCustomPrologue(t,e.setEmitFlags(e.createExpressionStatement(e.createAssignment(e.getGeneratedNameForNode(r),e.visitNode(i,b,e.isExpression))),1048576)),!0)}function R(n,t,r,a){a=e.visitNode(a,b,e.isExpression);var i=e.createIf(e.createTypeCheck(e.getSynthesizedClone(r),"undefined"),e.setEmitFlags(e.setTextRange(e.createBlock([e.createExpressionStatement(e.setEmitFlags(e.setTextRange(e.createAssignment(e.setEmitFlags(e.getMutableClone(r),48),e.setEmitFlags(a,1584|e.getEmitFlags(a))),t),1536))]),t),1953));e.startOnNewLine(i),e.setTextRange(i,t),e.setEmitFlags(i,1050528),e.insertStatementAfterCustomPrologue(n,i)}function I(t,r,a){var i=[],o=e.lastOrUndefined(r.parameters);if(!function(e,n){return!(!e||!e.dotDotDotToken||n)}(o,a))return!1;var s=75===o.name.kind?e.getMutableClone(o.name):e.createTempVariable(void 0);e.setEmitFlags(s,48);var l=75===o.name.kind?e.getSynthesizedClone(o.name):s,c=r.parameters.length-1,d=e.createLoopVariable();i.push(e.setEmitFlags(e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(s,void 0,e.createArrayLiteral([]))])),o),1048576));var u=e.createFor(e.setTextRange(e.createVariableDeclarationList([e.createVariableDeclaration(d,void 0,e.createLiteral(c))]),o),e.setTextRange(e.createLessThan(d,e.createPropertyAccess(e.createIdentifier("arguments"),"length")),o),e.setTextRange(e.createPostfixIncrement(d),o),e.createBlock([e.startOnNewLine(e.setTextRange(e.createExpressionStatement(e.createAssignment(e.createElementAccess(l,0===c?d:e.createSubtract(d,e.createLiteral(c))),e.createElementAccess(e.createIdentifier("arguments"),d))),o))]));return e.setEmitFlags(u,1048576),e.startOnNewLine(u),i.push(u),75!==o.name.kind&&i.push(e.setEmitFlags(e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList(e.flattenDestructuringBinding(o,b,n,0,l))),o),1048576)),e.insertStatementsAfterCustomPrologue(t,i),!0}function M(n,t){return!!(32768&a&&201!==t.kind)&&(O(n,t,e.createThis()),!0)}function O(n,t,r){De();var a=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.createFileLevelUniqueName("_this"),void 0,r)]));e.setEmitFlags(a,1050112),e.setSourceMapRange(a,t),e.insertStatementAfterCustomPrologue(n,a)}function k(n,t,r){if(16384&a){var i=void 0;switch(t.kind){case 201:return n;case 160:case 162:case 163:i=e.createVoidZero();break;case 161:i=e.createPropertyAccess(e.setEmitFlags(e.createThis(),4),"constructor");break;case 243:case 200:i=e.createConditional(e.createLogicalAnd(e.setEmitFlags(e.createThis(),4),e.createBinary(e.setEmitFlags(e.createThis(),4),97,e.getLocalName(t))),e.createPropertyAccess(e.setEmitFlags(e.createThis(),4),"constructor"),e.createVoidZero());break;default:return e.Debug.failBadSyntaxKind(t)}var o=e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.createFileLevelUniqueName("_newTarget"),void 0,i)]));e.setEmitFlags(o,1050112),r&&(n=n.slice()),e.insertStatementAfterCustomPrologue(n,o)}return n}function N(n){return e.setTextRange(e.createEmptyStatement(),n)}function w(t,r,a){var i,o=e.getCommentRange(r),s=e.getSourceMapRange(r),l=F(r,r,void 0,a);if(n.getCompilerOptions().useDefineForClassFields){var c=e.visitNode(r.name,b,e.isPropertyName),d=e.isComputedPropertyName(c)?c.expression:e.isIdentifier(c)?e.createStringLiteral(e.unescapeLeadingUnderscores(c.escapedText)):c;i=e.createObjectDefinePropertyCall(t,d,e.createPropertyDescriptor({value:l,enumerable:!1,writable:!0,configurable:!0}))}else{var u=e.createMemberAccessForPropertyName(t,e.visitNode(r.name,b,e.isPropertyName),r.name);i=e.createAssignment(u,l)}e.setEmitFlags(l,1536),e.setSourceMapRange(l,s);var m=e.setTextRange(e.createExpressionStatement(i),r);return e.setOriginalNode(m,r),e.setCommentRange(m,o),e.setEmitFlags(m,48),m}function P(n,t,r){var a=e.createExpressionStatement(G(n,t,r,!1));return e.setEmitFlags(a,1536),e.setSourceMapRange(a,e.getSourceMapRange(t.firstAccessor)),a}function G(n,t,r,a){var i=t.firstAccessor,o=t.getAccessor,s=t.setAccessor,l=e.getMutableClone(n);e.setEmitFlags(l,1568),e.setSourceMapRange(l,i.name);var c=e.createExpressionForPropertyName(e.visitNode(i.name,b,e.isPropertyName));e.setEmitFlags(c,1552),e.setSourceMapRange(c,i.name);var d=[];if(o){var u=F(o,void 0,void 0,r);e.setSourceMapRange(u,e.getSourceMapRange(o)),e.setEmitFlags(u,512);var m=e.createPropertyAssignment("get",u);e.setCommentRange(m,e.getCommentRange(o)),d.push(m)}if(s){var p=F(s,void 0,void 0,r);e.setSourceMapRange(p,e.getSourceMapRange(s)),e.setEmitFlags(p,512);var f=e.createPropertyAssignment("set",p);e.setCommentRange(f,e.getCommentRange(s)),d.push(f)}d.push(e.createPropertyAssignment("enumerable",e.createTrue()),e.createPropertyAssignment("configurable",e.createTrue()));var g=e.createCall(e.createPropertyAccess(e.createIdentifier("Object"),"defineProperty"),void 0,[l,c,e.createObjectLiteral(d,!0)]);return a&&e.startOnNewLine(g),g}function F(t,r,i,o){var l=s;s=void 0;var c=o&&e.isClassLike(o)&&!e.hasModifier(t,32)?y(16286,73):y(16286,65),d=e.visitParameterList(t.parameters,b,n),u=V(t);return 16384&a&&!i&&(243===t.kind||200===t.kind)&&(i=e.getGeneratedNameForNode(t)),v(c,49152,0),s=l,e.setOriginalNode(e.setTextRange(e.createFunctionExpression(void 0,t.asteriskToken,i,void 0,d,void 0,u),r),t)}function V(n){var r,a,i,o=!1,s=!1,l=[],c=[],m=n.body;if(d(),e.isBlock(m)&&(i=e.addStandardPrologue(l,m.statements,!1)),o=C(c,n)||o,o=I(c,n,!1)||o,e.isBlock(m))i=e.addCustomPrologue(c,m.statements,i,b),r=m.statements,e.addRange(c,e.visitNodes(m.statements,b,e.isStatement,i)),!o&&m.multiLine&&(o=!0);else{e.Debug.assert(201===n.kind),r=e.moveRangeEnd(m,-1);var p=n.equalsGreaterThanToken;e.nodeIsSynthesized(p)||e.nodeIsSynthesized(m)||(e.rangeEndIsOnSameLineAsRangeStart(p,m,t)?s=!0:o=!0);var f=e.visitNode(m,b,e.isExpression),g=e.createReturn(f);e.setTextRange(g,m),e.moveSyntheticComments(g,m),e.setEmitFlags(g,1440),c.push(g),a=m}if(e.mergeLexicalEnvironment(l,u()),k(l,n,!1),M(l,n),e.some(l)&&(o=!0),c.unshift.apply(c,l),e.isBlock(m)&&e.arrayIsEqualTo(c,m.statements))return m;var _=e.createBlock(e.setTextRange(e.createNodeArray(c),r),o);return e.setTextRange(_,n.body),!o&&s&&e.setEmitFlags(_,1),a&&e.setTokenSourceMapRange(_,19,a),e.setOriginalNode(_,n.body),_}function B(t,r){if(!r)switch(t.expression.kind){case 199:return e.updateParen(t,B(t.expression,!1));case 208:return e.updateParen(t,U(t.expression,!1))}return e.visitEachChild(t,b,n)}function U(t,r){return e.isDestructuringAssignment(t)?e.flattenDestructuringAssignment(t,b,n,0,r):e.visitEachChild(t,b,n)}function H(t){var r=t.name;if(e.isBindingPattern(r))return K(t);if(!t.initializer&&function(e){var n=f.getNodeCheckFlags(e),t=262144&n,r=524288&n;return!(0!=(64&a)||t&&r&&0!=(512&a))&&0==(4096&a)&&(!f.isDeclarationWithCollidingName(e)||r&&!t&&0==(6144&a))}(t)){var i=e.getMutableClone(t);return i.initializer=e.createVoidZero(),i}return e.visitEachChild(t,b,n)}function K(t){var r,a=y(32,0);return r=e.isBindingPattern(t.name)?e.flattenDestructuringBinding(t,b,n,0,void 0,0!=(32&a)):e.visitEachChild(t,b,n),v(a,0,0),r}function j(n){s.labels.set(e.idText(n.label),!0)}function W(n){s.labels.set(e.idText(n.label),!1)}function q(t,r,i,o,l){var d=y(t,r),m=function(t,r,i,o){if(!ae(t)){var l=void 0;s&&(l=s.allowedNonLabeledJumps,s.allowedNonLabeledJumps=6);var d=o?o(t,r,void 0,i):e.restoreEnclosingLabel(e.visitEachChild(t,b,n),r,s&&W);return s&&(s.allowedNonLabeledJumps=l),d}var m=function(n){var t;switch(n.kind){case 229:case 230:case 231:var r=n.initializer;r&&242===r.kind&&(t=r)}var a=[],i=[];if(t&&3&e.getCombinedNodeFlags(t))for(var o=te(n),l=0,c=t.declarations;l=76&&t<=111)return e.setTextRange(e.createLiteral(n),n)}}}(u||(u={})),function(e){var n,t,r,a,i;!function(e){e[e.Nop=0]="Nop",e[e.Statement=1]="Statement",e[e.Assign=2]="Assign",e[e.Break=3]="Break",e[e.BreakWhenTrue=4]="BreakWhenTrue",e[e.BreakWhenFalse=5]="BreakWhenFalse",e[e.Yield=6]="Yield",e[e.YieldStar=7]="YieldStar",e[e.Return=8]="Return",e[e.Throw=9]="Throw",e[e.Endfinally=10]="Endfinally"}(n||(n={})),function(e){e[e.Open=0]="Open",e[e.Close=1]="Close"}(t||(t={})),function(e){e[e.Exception=0]="Exception",e[e.With=1]="With",e[e.Switch=2]="Switch",e[e.Loop=3]="Loop",e[e.Labeled=4]="Labeled"}(r||(r={})),function(e){e[e.Try=0]="Try",e[e.Catch=1]="Catch",e[e.Finally=2]="Finally",e[e.Done=3]="Done"}(a||(a={})),function(e){e[e.Next=0]="Next",e[e.Throw=1]="Throw",e[e.Return=2]="Return",e[e.Break=3]="Break",e[e.Yield=4]="Yield",e[e.YieldStar=5]="YieldStar",e[e.Catch=6]="Catch",e[e.Endfinally=7]="Endfinally"}(i||(i={})),e.transformGenerators=function(n){var t,r,a,i,s,l,c,d,u,m,p=n.resumeLexicalEnvironment,f=n.endLexicalEnvironment,g=n.hoistFunctionDeclaration,_=n.hoistVariableDeclaration,y=n.getCompilerOptions(),v=e.getEmitScriptTarget(y),h=n.getEmitResolver(),b=n.onSubstituteNode;n.onSubstituteNode=function(n,a){if(a=b(n,a),1===n)return function(n){if(e.isIdentifier(n))return function(n){if(!e.isGeneratedIdentifier(n)&&t&&t.has(e.idText(n))){var a=e.getOriginalNode(n);if(e.isIdentifier(a)&&a.parent){var i=h.getReferencedValueDeclaration(a);if(i){var o=r[e.getOriginalNodeId(i)];if(o){var s=e.getMutableClone(o);return e.setSourceMapRange(s,n),e.setCommentRange(s,n),s}}}}return n}(n);return n}(a);return a};var E,T,S,L,A,x,C,D,R,I,M,O,k=1,N=0,w=0;return e.chainBundle((function(t){if(t.isDeclarationFile||0==(256&t.transformFlags))return t;var r=e.visitEachChild(t,P,n);return e.addEmitHelpers(r,n.readEmitHelpers()),r}));function P(t){var r=t.transformFlags;return i?function(t){switch(t.kind){case 227:case 228:return function(t){return i?(re(),t=e.visitEachChild(t,P,n),ie(),t):e.visitEachChild(t,P,n)}(t);case 236:return function(t){i&&$({kind:2,isScript:!0,breakLabel:-1});t=e.visitEachChild(t,P,n),i&&oe();return t}(t);case 237:return function(t){i&&$({kind:4,isScript:!0,labelText:e.idText(t.label),breakLabel:-1});t=e.visitEachChild(t,P,n),i&&se();return t}(t);default:return G(t)}}(t):a?G(t):e.isFunctionLikeDeclaration(t)&&t.asteriskToken?function(n){switch(n.kind){case 243:return F(n);case 200:return V(n);default:return e.Debug.failBadSyntaxKind(n)}}(t):256&r?e.visitEachChild(t,P,n):t}function G(t){switch(t.kind){case 243:return F(t);case 200:return V(t);case 162:case 163:return function(t){var r=a,o=i;return a=!1,i=!1,t=e.visitEachChild(t,P,n),a=r,i=o,t}(t);case 224:return function(n){if(131072&n.transformFlags)return void W(n.declarationList);if(1048576&e.getEmitFlags(n))return n;for(var t=0,r=n.declarationList.declarations;t0?e.inlineExpressions(e.map(l,q)):void 0,e.visitNode(t.condition,P,e.isExpression),e.visitNode(t.incrementor,P,e.isExpression),e.visitNode(t.statement,P,e.isStatement,e.liftToBlock))}else t=e.visitEachChild(t,P,n);i&&ie();return t}(t);case 230:return function(t){i&&re();var r=t.initializer;if(e.isVariableDeclarationList(r)){for(var a=0,o=r.declarations;a0)return _e(r,t)}return e.visitEachChild(t,P,n)}(t);case 232:return function(t){if(i){var r=pe(t.label&&e.idText(t.label));if(r>0)return _e(r,t)}return e.visitEachChild(t,P,n)}(t);case 234:return function(n){return t=e.visitNode(n.expression,P,e.isExpression),r=n,e.setTextRange(e.createReturn(e.createArrayLiteral(t?[ge(2),t]:[ge(2)])),r);var t,r}(t);default:return 131072&t.transformFlags?function(t){switch(t.kind){case 208:return function(t){var r=e.getExpressionAssociativity(t);switch(r){case 0:return function(t){if(z(t.right)){if(e.isLogicalOperator(t.operatorToken.kind))return function(n){var t=Q(),r=Y();he(r,e.visitNode(n.left,P,e.isExpression),n.left),55===n.operatorToken.kind?Te(t,r,n.left):Ee(t,r,n.left);return he(r,e.visitNode(n.right,P,e.isExpression),n.right),Z(t),r}(t);if(27===t.operatorToken.kind)return function(n){var t=[];return r(n.left),r(n.right),e.inlineExpressions(t);function r(n){e.isBinaryExpression(n)&&27===n.operatorToken.kind?(r(n.left),r(n.right)):(z(n)&&t.length>0&&(Se(1,[e.createExpressionStatement(e.inlineExpressions(t))]),t=[]),t.push(e.visitNode(n,P,e.isExpression)))}}(t);var r=e.getMutableClone(t);return r.left=J(e.visitNode(t.left,P,e.isExpression)),r.right=e.visitNode(t.right,P,e.isExpression),r}return e.visitEachChild(t,P,n)}(t);case 1:return function(t){var r=t.left,a=t.right;if(z(a)){var i=void 0;switch(r.kind){case 193:i=e.updatePropertyAccess(r,J(e.visitNode(r.expression,P,e.isLeftHandSideExpression)),r.name);break;case 194:i=e.updateElementAccess(r,J(e.visitNode(r.expression,P,e.isLeftHandSideExpression)),J(e.visitNode(r.argumentExpression,P,e.isExpression)));break;default:i=e.visitNode(r,P,e.isExpression)}var o=t.operatorToken.kind;return(s=o)>=63&&s<=74?e.setTextRange(e.createAssignment(i,e.setTextRange(e.createBinary(J(i),function(e){switch(e){case 63:return 39;case 64:return 40;case 65:return 41;case 66:return 42;case 67:return 43;case 68:return 44;case 69:return 47;case 70:return 48;case 71:return 49;case 72:return 50;case 73:return 51;case 74:return 52}}(o),e.visitNode(a,P,e.isExpression)),t)),t):e.updateBinary(t,i,e.visitNode(a,P,e.isExpression))}var s;return e.visitEachChild(t,P,n)}(t);default:return e.Debug.assertNever(r)}}(t);case 209:return function(t){if(z(t.whenTrue)||z(t.whenFalse)){var r=Q(),a=Q(),i=Y();return Te(r,e.visitNode(t.condition,P,e.isExpression),t.condition),he(i,e.visitNode(t.whenTrue,P,e.isExpression),t.whenTrue),be(a),Z(r),he(i,e.visitNode(t.whenFalse,P,e.isExpression),t.whenFalse),Z(a),i}return e.visitEachChild(t,P,n)}(t);case 211:return function(t){var r=Q(),a=e.visitNode(t.expression,P,e.isExpression);if(t.asteriskToken){!function(e,n){Se(7,[e],n)}(0==(8388608&e.getEmitFlags(t.expression))?e.createValuesHelper(n,a,t):a,t)}else!function(e,n){Se(6,[e],n)}(a,t);return Z(r),function(n){return e.setTextRange(e.createCall(e.createPropertyAccess(L,"sent"),void 0,[]),n)}(t)}(t);case 191:return function(e){return U(e.elements,void 0,void 0,e.multiLine)}(t);case 192:return function(n){var t=n.properties,r=n.multiLine,a=X(t),i=Y();he(i,e.createObjectLiteral(e.visitNodes(t,P,e.isObjectLiteralElementLike,0,a),r));var o=e.reduceLeft(t,(function(t,a){z(a)&&t.length>0&&(ve(e.createExpressionStatement(e.inlineExpressions(t))),t=[]);var o=e.createExpressionForObjectLiteralElementLike(n,a,i),s=e.visitNode(o,P,e.isExpression);s&&(r&&e.startOnNewLine(s),t.push(s));return t}),[],a);return o.push(r?e.startOnNewLine(e.getMutableClone(i)):i),e.inlineExpressions(o)}(t);case 194:return function(t){if(z(t.argumentExpression)){var r=e.getMutableClone(t);return r.expression=J(e.visitNode(t.expression,P,e.isLeftHandSideExpression)),r.argumentExpression=e.visitNode(t.argumentExpression,P,e.isExpression),r}return e.visitEachChild(t,P,n)}(t);case 195:return function(t){if(!e.isImportCall(t)&&e.forEach(t.arguments,z)){var r=e.createCallBinding(t.expression,_,v,!0),a=r.target,i=r.thisArg;return e.setOriginalNode(e.createFunctionApply(J(e.visitNode(a,P,e.isLeftHandSideExpression)),i,U(t.arguments),t),t)}return e.visitEachChild(t,P,n)}(t);case 196:return function(t){if(e.forEach(t.arguments,z)){var r=e.createCallBinding(e.createPropertyAccess(t.expression,"bind"),_),a=r.target,i=r.thisArg;return e.setOriginalNode(e.setTextRange(e.createNew(e.createFunctionApply(J(e.visitNode(a,P,e.isExpression)),i,U(t.arguments,e.createVoidZero())),void 0,[]),t),t)}return e.visitEachChild(t,P,n)}(t);default:return e.visitEachChild(t,P,n)}}(t):262400&t.transformFlags?e.visitEachChild(t,P,n):t}}function F(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,P,n),void 0,B(t.body)),t),t);else{var r=a,o=i;a=!1,i=!1,t=e.visitEachChild(t,P,n),a=r,i=o}return a?void g(t):t}function V(t){if(t.asteriskToken)t=e.setOriginalNode(e.setTextRange(e.createFunctionExpression(void 0,void 0,t.name,void 0,e.visitParameterList(t.parameters,P,n),void 0,B(t.body)),t),t);else{var r=a,o=i;a=!1,i=!1,t=e.visitEachChild(t,P,n),a=r,i=o}return t}function B(n){var t=[],r=a,o=i,g=s,_=l,y=c,v=d,h=u,b=m,A=k,x=E,C=T,D=S,R=L;a=!0,i=!1,s=void 0,l=void 0,c=void 0,d=void 0,u=void 0,m=void 0,k=1,E=void 0,T=void 0,S=void 0,L=e.createTempVariable(void 0),p();var I=e.addPrologue(t,n.statements,!1,P);H(n.statements,I);var M=Le();return e.insertStatementsAfterStandardPrologue(t,f()),t.push(e.createReturn(M)),a=r,i=o,s=g,l=_,c=y,d=v,u=h,m=b,k=A,E=x,T=C,S=D,L=R,e.setTextRange(e.createBlock(t,n.multiLine),n)}function U(n,t,r,a){var i,s=X(n);if(s>0){i=Y();var l=e.visitNodes(n,P,e.isExpression,0,s);he(i,e.createArrayLiteral(t?o([t],l):l)),t=void 0}var c=e.reduceLeft(n,(function(n,r){if(z(r)&&n.length>0){var s=void 0!==i;i||(i=Y()),he(i,s?e.createArrayConcat(i,[e.createArrayLiteral(n,a)]):e.createArrayLiteral(t?o([t],n):n,a)),t=void 0,n=[]}return n.push(e.visitNode(r,P,e.isExpression)),n}),[],s);return i?e.createArrayConcat(i,[e.createArrayLiteral(c,a)]):e.setTextRange(e.createArrayLiteral(t?o([t],c):c,a),r)}function H(e,n){void 0===n&&(n=0);for(var t=e.length,r=n;r0?be(t,n):ve(n)}(a);case 233:return function(n){var t=me(n.label?e.idText(n.label):void 0);t>0?be(t,n):ve(n)}(a);case 234:return function(n){t=e.visitNode(n.expression,P,e.isExpression),r=n,Se(8,[t],r);var t,r}(a);case 235:return function(n){z(n)?(t=J(e.visitNode(n.expression,P,e.isExpression)),r=Q(),a=Q(),Z(r),$({kind:1,expression:t,startLabel:r,endLabel:a}),K(n.statement),e.Debug.assert(1===te()),Z(ee().endLabel)):ve(e.visitNode(n,P,e.isStatement));var t,r,a}(a);case 236:return function(n){if(z(n.caseBlock)){for(var t=n.caseBlock,r=t.clauses.length,a=($({kind:2,isScript:!1,breakLabel:p=Q()}),p),i=J(e.visitNode(n.expression,P,e.isExpression)),o=[],s=-1,l=0;l0)break;u.push(e.createCaseClause(e.visitNode(c.expression,P,e.isExpression),[_e(o[l],c.expression)]))}else m++}u.length&&(ve(e.createSwitch(i,e.createCaseBlock(u))),d+=u.length,u=[]),m>0&&(d+=m,m=0)}be(s>=0?o[s]:a);for(l=0;l0)break;c.push(q(a))}c.length&&(ve(e.createExpressionStatement(e.inlineExpressions(c))),l+=c.length,c=[])}}function q(n){return e.setSourceMapRange(e.createAssignment(e.setSourceMapRange(e.getSynthesizedClone(n.name),n.name),e.visitNode(n.initializer,P,e.isExpression)),n)}function z(e){return!!e&&0!=(131072&e.transformFlags)}function X(e){for(var n=e.length,t=0;t=0;t--){var r=d[t];if(!ce(r))break;if(r.labelText===e)return!0}return!1}function me(e){if(d)if(e)for(var n=d.length-1;n>=0;n--){if(ce(t=d[n])&&t.labelText===e)return t.breakLabel;if(le(t)&&ue(e,n-1))return t.breakLabel}else for(n=d.length-1;n>=0;n--){var t;if(le(t=d[n]))return t.breakLabel}return 0}function pe(e){if(d)if(e)for(var n=d.length-1;n>=0;n--){if(de(t=d[n])&&ue(e,n-1))return t.continueLabel}else for(n=d.length-1;n>=0;n--){var t;if(de(t=d[n]))return t.continueLabel}return 0}function fe(n){if(void 0!==n&&n>0){void 0===m&&(m=[]);var t=e.createLiteral(-1);return void 0===m[n]?m[n]=[t]:m[n].push(t),t}return e.createOmittedExpression()}function ge(n){var t=e.createLiteral(n);return e.addSyntheticTrailingComment(t,3,function(e){switch(e){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally";default:return}}(n)),t}function _e(n,t){return e.Debug.assertLessThan(0,n,"Invalid label"),e.setTextRange(e.createReturn(e.createArrayLiteral([ge(3),fe(n)])),t)}function ye(){Se(0)}function ve(e){e?Se(1,[e]):ye()}function he(e,n,t){Se(2,[e,n],t)}function be(e,n){Se(3,[e],n)}function Ee(e,n,t){Se(4,[e,n],t)}function Te(e,n,t){Se(5,[e,n],t)}function Se(e,n,t){void 0===E&&(E=[],T=[],S=[]),void 0===u&&Z(Q());var r=E.length;E[r]=e,T[r]=n,S[r]=t}function Le(){N=0,w=0,A=void 0,x=!1,C=!1,D=void 0,R=void 0,I=void 0,M=void 0,O=void 0;var t=function(){if(E){for(var n=0;n0)),524288))}function Ae(e){(function(e){if(!C)return!0;if(!u||!m)return!1;for(var n=0;n=0;t--){var r=O[t];R=[e.createWith(r.expression,e.createBlock(R))]}if(M){var a=M.startLabel,i=M.catchLabel,o=M.finallyLabel,s=M.endLabel;R.unshift(e.createExpressionStatement(e.createCall(e.createPropertyAccess(e.createPropertyAccess(L,"trys"),"push"),void 0,[e.createArrayLiteral([fe(a),fe(i),fe(o),fe(s)])]))),M=void 0}n&&R.push(e.createExpressionStatement(e.createAssignment(e.createPropertyAccess(L,"label"),e.createLiteral(w+1))))}D.push(e.createCaseClause(e.createLiteral(w),R||[])),R=void 0}function Ce(e){if(u)for(var n=0;n 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 };'}}(u||(u={})),function(e){e.transformModule=function(r){var a=r.startLexicalEnvironment,i=r.endLexicalEnvironment,s=r.hoistVariableDeclaration,l=r.getCompilerOptions(),c=r.getEmitResolver(),d=r.getEmitHost(),u=e.getEmitScriptTarget(l),m=e.getEmitModuleKind(l),p=r.onSubstituteNode,f=r.onEmitNode;r.onSubstituteNode=function(n,t){if((t=p(n,t)).id&&y[t.id])return t;if(1===n)return function(n){switch(n.kind){case 75:return X(n);case 208:return function(n){if(e.isAssignmentOperator(n.operatorToken.kind)&&e.isIdentifier(n.left)&&!e.isGeneratedIdentifier(n.left)&&!e.isLocalName(n.left)&&!e.isDeclarationNameOfEnumOrNamespace(n.left)){var t=J(n.left);if(t){for(var r=n,a=0,i=t;a=2?2:0)),n),n))}else r&&e.isDefaultImport(n)&&(t=e.append(t,e.createVariableStatement(void 0,e.createVariableDeclarationList([e.setOriginalNode(e.setTextRange(e.createVariableDeclaration(e.getSynthesizedClone(r.name),void 0,e.getGeneratedNameForNode(n)),n),n)],u>=2?2:0))));if(G(n)){var i=e.getOriginalNodeId(n);b[i]=F(b[i],n)}else t=F(t,n);return e.singleOrMany(t)}(n);case 252:return function(n){var t;e.Debug.assert(e.isExternalModuleImportEqualsDeclaration(n),"import= for internal module references should be handled in an earlier transformer."),m!==e.ModuleKind.AMD?t=e.hasModifier(n,1)?e.append(t,e.setOriginalNode(e.setTextRange(e.createExpressionStatement(q(n.name,N(n))),n),n)):e.append(t,e.setOriginalNode(e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.getSynthesizedClone(n.name),void 0,N(n))],u>=2?2:0)),n),n)):e.hasModifier(n,1)&&(t=e.append(t,e.setOriginalNode(e.setTextRange(e.createExpressionStatement(q(e.getExportName(n),e.getLocalName(n))),n),n)));if(G(n)){var r=e.getOriginalNodeId(n);b[r]=V(b[r],n)}else t=V(t,n);return e.singleOrMany(t)}(n);case 259:return function(n){if(!n.moduleSpecifier)return;var t=e.getGeneratedNameForNode(n);if(n.exportClause){var a=[];m!==e.ModuleKind.AMD&&a.push(e.setOriginalNode(e.setTextRange(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(t,void 0,N(n))])),n),n));for(var i=0,o=n.exportClause.elements;i(e.isExportName(t)?1:0);return!1}(n.left))return e.flattenDestructuringAssignment(n,I,r,0,!1,w);return e.visitEachChild(n,I,r)}(n):e.visitEachChild(n,I,r):n}function M(n,t){var a,i=e.createUniqueName("resolve"),o=e.createUniqueName("reject"),s=[e.createParameter(void 0,void 0,void 0,i),e.createParameter(void 0,void 0,void 0,o)],c=e.createBlock([e.createExpressionStatement(e.createCall(e.createIdentifier("require"),void 0,[e.createArrayLiteral([n||e.createOmittedExpression()]),i,o]))]);u>=2?a=e.createArrowFunction(void 0,void 0,s,void 0,void 0,c):(a=e.createFunctionExpression(void 0,void 0,void 0,void 0,s,void 0,c),t&&e.setEmitFlags(a,8));var d=e.createNew(e.createIdentifier("Promise"),void 0,[a]);return l.esModuleInterop?(r.requestEmitHelper(e.importStarHelper),e.createCall(e.createPropertyAccess(d,e.createIdentifier("then")),void 0,[e.getUnscopedHelperName("__importStar")])):d}function O(n,t){var a,i=e.createCall(e.createPropertyAccess(e.createIdentifier("Promise"),"resolve"),void 0,[]),o=e.createCall(e.createIdentifier("require"),void 0,n?[n]:[]);return l.esModuleInterop&&(r.requestEmitHelper(e.importStarHelper),o=e.createCall(e.getUnscopedHelperName("__importStar"),void 0,[o])),u>=2?a=e.createArrowFunction(void 0,void 0,[],void 0,void 0,o):(a=e.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,e.createBlock([e.createReturn(o)])),t&&e.setEmitFlags(a,8)),e.createCall(e.createPropertyAccess(i,"then"),void 0,[a])}function k(n,t){return!l.esModuleInterop||67108864&e.getEmitFlags(n)?t:e.getImportNeedsImportStarHelper(n)?(r.requestEmitHelper(e.importStarHelper),e.createCall(e.getUnscopedHelperName("__importStar"),void 0,[t])):e.getImportNeedsImportDefaultHelper(n)?(r.requestEmitHelper(e.importDefaultHelper),e.createCall(e.getUnscopedHelperName("__importDefault"),void 0,[t])):t}function N(n){var t=e.getExternalModuleNameLiteral(n,g,d,c,l),r=[];return t&&r.push(t),e.createCall(e.createIdentifier("require"),void 0,r)}function w(n,t,r){var a=J(n);if(a){for(var i=e.isExportName(n)?t:e.createAssignment(n,t),o=0,s=a;o0?a.parent.parameters[i-1]:void 0,s=r.text,l=o?e.concatenate(e.getTrailingCommentRanges(s,e.skipTrivia(s,o.end+1,!1,!0)),e.getLeadingCommentRanges(s,t.pos)):e.getTrailingCommentRanges(s,e.skipTrivia(s,t.pos,!1,!0));return l&&l.length&&n(e.last(l),r)}var c=a&&e.getLeadingCommentRangesOfNode(a,r);return!!e.forEach(c,(function(e){return n(e,r)}))}e.getDeclarationDiagnostics=function(n,t,a){if(a&&e.isJsonSourceFile(a))return[];var i=n.getCompilerOptions();return e.transformNodes(t,n,i,a?[a]:e.filter(n.getSourceFiles(),e.isSourceFileNotJson),[r],!1).diagnostics},e.isInternalDeclaration=t;function r(n){var r,l,c,d,u,m,p,f,g,_,y,v=function(){return e.Debug.fail("Diagnostic emitted without context")},h=v,b=!0,E=!1,T=!1,S=!1,L=!1,A=n.getEmitHost(),x={trackSymbol:function(e,n,t){if(262144&e.flags)return;O(C.isSymbolAccessible(e,n,t,!0)),M(C.getTypeReferenceDirectivesForSymbol(e,t))},reportInaccessibleThisError:function(){p&&n.addDiagnostic(e.createDiagnosticForNode(p,e.Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,e.declarationNameToString(p),"this"))},reportInaccessibleUniqueSymbolError:function(){p&&n.addDiagnostic(e.createDiagnosticForNode(p,e.Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,e.declarationNameToString(p),"unique symbol"))},reportPrivateInBaseOfClassExpression:function(t){p&&n.addDiagnostic(e.createDiagnosticForNode(p,e.Diagnostics.Property_0_of_exported_class_expression_may_not_be_private_or_protected,t))},reportLikelyUnsafeImportRequiredError:function(t){p&&n.addDiagnostic(e.createDiagnosticForNode(p,e.Diagnostics.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary,e.declarationNameToString(p),t))},moduleResolverHost:A,trackReferencedAmbientModule:function(n,t){var r=C.getTypeReferenceDirectivesForSymbol(t,67108863);if(e.length(r))return M(r);var a=e.getSourceFileOfNode(n);g.set(""+e.getOriginalNodeId(a),a)},trackExternalModuleSymbolOfImportTypeNode:function(e){E||(m||(m=[])).push(e)}},C=n.getEmitResolver(),D=n.getCompilerOptions(),R=D.noResolve,I=D.stripInternal;return function(t){if(288===t.kind&&t.isDeclarationFile)return t;if(289===t.kind){E=!0,g=e.createMap(),_=e.createMap();var a=!1,i=e.createBundle(e.map(t.sourceFiles,(function(t){if(!t.isDeclarationFile){if(a=a||t.hasNoDefaultLib,f=t,r=t,c=void 0,u=!1,d=e.createMap(),h=v,S=!1,L=!1,N(t,g),w(t,_),e.isExternalOrCommonJsModule(t)||e.isJsonSourceFile(t)){T=!1,b=!1;var i=e.isSourceFileJS(t)?e.createNodeArray(k(t,!0)):e.visitNodes(t.statements,Q);return e.updateSourceFileNode(t,[e.createModuleDeclaration([],[e.createModifier(129)],e.createLiteral(e.getResolvedExternalModuleName(n.getEmitHost(),t)),e.createModuleBlock(e.setTextRange(e.createNodeArray(J(i)),t.statements)))],!0,[],[],!1,[])}b=!0;var o=e.isSourceFileJS(t)?e.createNodeArray(k(t)):e.visitNodes(t.statements,Q);return e.updateSourceFileNode(t,J(o),!0,[],[],!1,[])}})),e.mapDefined(t.prepends,(function(n){if(291===n.kind){var t=e.createUnparsedSourceFile(n,"dts",I);return a=a||!!t.hasNoDefaultLib,N(t,g),M(t.typeReferenceDirectives),w(t,_),t}return n})));i.syntheticFileReferences=[],i.syntheticTypeReferences=B(),i.syntheticLibReferences=V(),i.hasNoDefaultLib=a;var p=e.getDirectoryPath(e.normalizeSlashes(e.getOutputPathsFor(t,A,!0).declarationFilePath)),x=H(i.syntheticFileReferences,p);return g.forEach(x),i}b=!0,S=!1,L=!1,r=t,f=t,h=v,E=!1,T=!1,u=!1,c=void 0,d=e.createMap(),l=void 0,g=N(f,e.createMap()),_=w(f,e.createMap());var C,R=[],O=e.getDirectoryPath(e.normalizeSlashes(e.getOutputPathsFor(t,A,!0).declarationFilePath)),P=H(R,O);if(e.isSourceFileJS(f))C=e.createNodeArray(k(t)),g.forEach(P),y=e.filter(C,e.isAnyImportSyntax);else{var G=e.visitNodes(t.statements,Q);C=e.setTextRange(e.createNodeArray(J(G)),t.statements),g.forEach(P),y=e.filter(C,e.isAnyImportSyntax),e.isExternalModule(t)&&(!T||S&&!L)&&(C=e.setTextRange(e.createNodeArray(o(C,[e.createEmptyExports()])),C))}var F=e.updateSourceFileNode(t,C,!0,R,B(),t.hasNoDefaultLib,V());return F.exportedModulesFromDeclarationEmit=m,F;function V(){return e.map(e.arrayFrom(_.keys()),(function(e){return{fileName:e,pos:-1,end:-1}}))}function B(){return l?e.mapDefined(e.arrayFrom(l.keys()),U):[]}function U(n){if(y)for(var t=0,r=y;t0?e.parameters[0].type:void 0}e.transformDeclarations=r}(u||(u={})),function(e){var n,t;function r(n,t,r){if(r)return e.emptyArray;var a=n.jsx,i=e.getEmitScriptTarget(n),o=e.getEmitModuleKind(n),l=[];return e.addRange(l,t&&e.map(t.before,s)),l.push(e.transformTypeScript),l.push(e.transformClassFields),2===a&&l.push(e.transformJsx),i<99&&l.push(e.transformESNext),i<6&&l.push(e.transformES2019),i<5&&l.push(e.transformES2018),i<4&&l.push(e.transformES2017),i<3&&l.push(e.transformES2016),i<2&&(l.push(e.transformES2015),l.push(e.transformGenerators)),l.push(function(n){switch(n){case e.ModuleKind.ESNext:case e.ModuleKind.ES2015:return e.transformES2015Module;case e.ModuleKind.System:return e.transformSystemModule;default:return e.transformModule}}(o)),i<1&&l.push(e.transformES5),e.addRange(l,t&&e.map(t.after,s)),l}function a(n){var t=[];return t.push(e.transformDeclarations),e.addRange(t,n&&e.map(n.afterDeclarations,l)),t}function i(n,t){return function(r){var a=n(r);return"function"==typeof a?t(a):function(n){return function(t){return e.isBundle(t)?n.transformBundle(t):n.transformSourceFile(t)}}(a)}}function s(n){return i(n,e.chainBundle)}function l(n){return i(n,e.identity)}function c(e,n){return n}function d(e,n,t){t(e,n)}!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initialized=1]="Initialized",e[e.Completed=2]="Completed",e[e.Disposed=3]="Disposed"}(n||(n={})),function(e){e[e.Substitution=1]="Substitution",e[e.EmitNotifications=2]="EmitNotifications"}(t||(t={})),e.noTransformers={scriptTransformers:e.emptyArray,declarationTransformers:e.emptyArray},e.getTransformers=function(e,n,t){return{scriptTransformers:r(e,n,t),declarationTransformers:a(n)}},e.noEmitSubstitution=c,e.noEmitNotification=d,e.transformNodes=function(n,t,r,a,i,s){for(var l,u,m,p=new Array(324),f=[],g=[],_=0,y=!1,v=c,h=d,b=0,E=[],T={getCompilerOptions:function(){return r},getEmitResolver:function(){return n},getEmitHost:function(){return t},startLexicalEnvironment:function(){e.Debug.assert(b>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(b<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!y,"Lexical environment is suspended."),f[_]=l,g[_]=u,_++,l=void 0,u=void 0},suspendLexicalEnvironment:function(){e.Debug.assert(b>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(b<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!y,"Lexical environment is already suspended."),y=!0},resumeLexicalEnvironment:function(){e.Debug.assert(b>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(b<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(y,"Lexical environment is not suspended."),y=!1},endLexicalEnvironment:function(){var n;if(e.Debug.assert(b>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(b<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!y,"Lexical environment is suspended."),(l||u)&&(u&&(n=o(u)),l)){var t=e.createVariableStatement(void 0,e.createVariableDeclarationList(l));e.setEmitFlags(t,1048576),n?n.push(t):n=[t]}_--,l=f[_],u=g[_],0===_&&(f=[],g=[]);return n},hoistVariableDeclaration:function(n){e.Debug.assert(b>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(b<2,"Cannot modify the lexical environment after transformation has completed.");var t=e.setEmitFlags(e.createVariableDeclaration(n),64);l?l.push(t):l=[t]},hoistFunctionDeclaration:function(n){e.Debug.assert(b>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(b<2,"Cannot modify the lexical environment after transformation has completed."),u?u.push(n):u=[n]},requestEmitHelper:function(n){e.Debug.assert(b>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(b<2,"Cannot modify the transformation context after transformation has completed."),e.Debug.assert(!n.scoped,"Cannot request a scoped emit helper."),m=e.append(m,n)},readEmitHelpers:function(){e.Debug.assert(b>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(b<2,"Cannot modify the transformation context after transformation has completed.");var n=m;return m=void 0,n},enableSubstitution:function(n){e.Debug.assert(b<2,"Cannot modify the transformation context after transformation has completed."),p[n]|=1},enableEmitNotification:function(n){e.Debug.assert(b<2,"Cannot modify the transformation context after transformation has completed."),p[n]|=2},isSubstitutionEnabled:R,isEmitNotificationEnabled:I,get onSubstituteNode(){return v},set onSubstituteNode(n){e.Debug.assert(b<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(void 0!==n,"Value must not be 'undefined'"),v=n},get onEmitNode(){return h},set onEmitNode(n){e.Debug.assert(b<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(void 0!==n,"Value must not be 'undefined'"),h=n},addDiagnostic:function(e){E.push(e)}},S=0,L=a;S"],e[8192]=["[","]"],e}(),a={pos:-1,end:-1};function i(n,t,r,a,i,o){void 0===a&&(a=!1);var l=e.isArray(r)?r:e.getSourceFilesToEmit(n,r,a),d=n.getCompilerOptions();if(d.outFile||d.out){var u=n.getPrependNodes();if(l.length||u.length){var m=e.createBundle(l,u);if(g=t(c(m,n,a),m))return g}}else{if(!i)for(var p=0,f=l;p"),Dn(),ge(e.type),Yn(e)}(t);case 298:return function(e){Ln("function"),gn(e,e.parameters),Tn(":"),ge(e.type)}(t);case 170:return function(e){Jn(e),Ln("new"),Dn(),fn(e,e.typeParameters),gn(e,e.parameters),Dn(),Tn("=>"),Dn(),ge(e.type),Yn(e)}(t);case 171:return function(e){Ln("typeof"),Dn(),ge(e.exprName)}(t);case 172:return function(n){Tn("{");var t=1&e.getEmitFlags(n)?768:32897;yn(n,n.members,524288|t),Tn("}")}(t);case 173:return function(e){ge(e.elementType),Tn("["),Tn("]")}(t);case 174:return function(e){Tn("["),yn(e,e.elementTypes,528),Tn("]")}(t);case 175:return function(e){ge(e.type),Tn("?")}(t);case 177:return function(e){yn(e,e.types,516)}(t);case 178:return function(e){yn(e,e.types,520)}(t);case 179:return function(e){ge(e.checkType),Dn(),Ln("extends"),Dn(),ge(e.extendsType),Dn(),Tn("?"),Dn(),ge(e.trueType),Dn(),Tn(":"),Dn(),ge(e.falseType)}(t);case 180:return function(e){Ln("infer"),Dn(),ge(e.typeParameter)}(t);case 181:return function(e){Tn("("),ge(e.type),Tn(")")}(t);case 215:return function(e){ye(e.expression),pn(e,e.typeArguments)}(t);case 182:return void Ln("this");case 183:return function(e){wn(e.operator,Ln),Dn(),ge(e.type)}(t);case 184:return function(e){ge(e.objectType),Tn("["),ge(e.indexType),Tn("]")}(t);case 185:return function(n){var t=e.getEmitFlags(n);Tn("{"),1&t?Dn():(In(),Mn());n.readonlyToken&&(ge(n.readonlyToken),137!==n.readonlyToken.kind&&Ln("readonly"),Dn());Tn("["),ve(3,n.typeParameter),Tn("]"),n.questionToken&&(ge(n.questionToken),57!==n.questionToken.kind&&Tn("?"));Tn(":"),Dn(),ge(n.type),Sn(),1&t?Dn():(In(),On());Tn("}")}(t);case 186:return function(e){ye(e.literal)}(t);case 187:return function(e){e.isTypeOf&&(Ln("typeof"),Dn());Ln("import"),Tn("("),ge(e.argument),Tn(")"),e.qualifier&&(Tn("."),ge(e.qualifier));pn(e,e.typeArguments)}(t);case 293:return void Tn("*");case 294:return void Tn("?");case 295:return function(e){Tn("?"),ge(e.type)}(t);case 296:return function(e){Tn("!"),ge(e.type)}(t);case 297:return function(e){ge(e.type),Tn("=")}(t);case 176:case 299:return function(e){Tn("..."),ge(e.type)}(t);case 188:return function(e){Tn("{"),yn(e,e.elements,525136),Tn("}")}(t);case 189:return function(e){Tn("["),yn(e,e.elements,524880),Tn("]")}(t);case 190:return function(e){ge(e.dotDotDotToken),e.propertyName&&(ge(e.propertyName),Tn(":"),Dn());ge(e.name),ln(e.initializer,e.name.end,e)}(t);case 220:return function(e){ye(e.expression),ge(e.literal)}(t);case 221:return void Sn();case 222:return function(e){Ie(e,!e.multiLine&&Wn(e))}(t);case 224:return function(e){on(e,e.modifiers),ge(e.declarationList),Sn()}(t);case 223:return Me(!1);case 225:return function(n){ye(n.expression),(!e.isJsonSourceFile(i)||e.nodeIsSynthesized(n.expression))&&Sn()}(t);case 226:return function(e){var n=Ne(94,e.pos,Ln,e);Dn(),Ne(20,n,Tn,e),ye(e.expression),Ne(21,e.expression.end,Tn,e),un(e,e.thenStatement),e.elseStatement&&(Pn(e),Ne(86,e.thenStatement.end,Ln,e),226===e.elseStatement.kind?(Dn(),ge(e.elseStatement)):un(e,e.elseStatement))}(t);case 227:return function(n){Ne(85,n.pos,Ln,n),un(n,n.statement),e.isBlock(n.statement)?Dn():Pn(n);Oe(n,n.statement.end),Sn()}(t);case 228:return function(e){Oe(e,e.pos),un(e,e.statement)}(t);case 229:return function(e){var n=Ne(92,e.pos,Ln,e);Dn();var t=Ne(20,n,Tn,e);ke(e.initializer),t=Ne(26,e.initializer?e.initializer.end:t,Tn,e),dn(e.condition),t=Ne(26,e.condition?e.condition.end:t,Tn,e),dn(e.incrementor),Ne(21,e.incrementor?e.incrementor.end:t,Tn,e),un(e,e.statement)}(t);case 230:return function(e){var n=Ne(92,e.pos,Ln,e);Dn(),Ne(20,n,Tn,e),ke(e.initializer),Dn(),Ne(96,e.initializer.end,Ln,e),Dn(),ye(e.expression),Ne(21,e.expression.end,Tn,e),un(e,e.statement)}(t);case 231:return function(e){var n=Ne(92,e.pos,Ln,e);Dn(),function(e){e&&(ge(e),Dn())}(e.awaitModifier),Ne(20,n,Tn,e),ke(e.initializer),Dn(),Ne(151,e.initializer.end,Ln,e),Dn(),ye(e.expression),Ne(21,e.expression.end,Tn,e),un(e,e.statement)}(t);case 232:return function(e){Ne(81,e.pos,Ln,e),cn(e.label),Sn()}(t);case 233:return function(e){Ne(76,e.pos,Ln,e),cn(e.label),Sn()}(t);case 234:return function(e){Ne(100,e.pos,Ln,e),dn(e.expression),Sn()}(t);case 235:return function(e){var n=Ne(111,e.pos,Ln,e);Dn(),Ne(20,n,Tn,e),ye(e.expression),Ne(21,e.expression.end,Tn,e),un(e,e.statement)}(t);case 236:return function(e){var n=Ne(102,e.pos,Ln,e);Dn(),Ne(20,n,Tn,e),ye(e.expression),Ne(21,e.expression.end,Tn,e),Dn(),ge(e.caseBlock)}(t);case 237:return function(e){ge(e.label),Ne(58,e.label.end,Tn,e),Dn(),ge(e.statement)}(t);case 238:return function(e){Ne(104,e.pos,Ln,e),dn(e.expression),Sn()}(t);case 239:return function(e){Ne(106,e.pos,Ln,e),Dn(),ge(e.tryBlock),e.catchClause&&(Pn(e),ge(e.catchClause));e.finallyBlock&&(Pn(e),Ne(91,(e.catchClause||e.tryBlock).end,Ln,e),Dn(),ge(e.finallyBlock))}(t);case 240:return function(e){kn(82,e.pos,Ln),Sn()}(t);case 241:return function(e){ge(e.name),sn(e.type),ln(e.initializer,e.type?e.type.end:e.name.end,e)}(t);case 242:return function(n){Ln(e.isLet(n)?"let":e.isVarConst(n)?"const":"var"),Dn(),yn(n,n.declarations,528)}(t);case 243:return function(e){we(e)}(t);case 244:return function(e){He(e)}(t);case 245:return function(e){mn(e,e.decorators),on(e,e.modifiers),Ln("interface"),Dn(),ge(e.name),fn(e,e.typeParameters),yn(e,e.heritageClauses,512),Dn(),Tn("{"),yn(e,e.members,129),Tn("}")}(t);case 246:return function(e){mn(e,e.decorators),on(e,e.modifiers),Ln("type"),Dn(),ge(e.name),fn(e,e.typeParameters),Dn(),Tn("="),Dn(),ge(e.type),Sn()}(t);case 247:return function(e){on(e,e.modifiers),Ln("enum"),Dn(),ge(e.name),Dn(),Tn("{"),yn(e,e.members,145),Tn("}")}(t);case 248:return function(e){on(e,e.modifiers),1024&~e.flags&&(Ln(16&e.flags?"namespace":"module"),Dn());ge(e.name);var n=e.body;if(!n)return Sn();for(;248===n.kind;)Tn("."),ge(n.name),n=n.body;Dn(),ge(n)}(t);case 249:return function(n){Jn(n),e.forEach(n.statements,Zn),Ie(n,Wn(n)),Yn(n)}(t);case 250:return function(e){Ne(18,e.pos,Tn,e),yn(e,e.clauses,129),Ne(19,e.clauses.end,Tn,e,!0)}(t);case 251:return function(e){var n=Ne(88,e.pos,Ln,e);Dn(),n=Ne(122,n,Ln,e),Dn(),n=Ne(135,n,Ln,e),Dn(),ge(e.name),Sn()}(t);case 252:return function(e){on(e,e.modifiers),Ne(95,e.modifiers?e.modifiers.end:e.pos,Ln,e),Dn(),ge(e.name),Dn(),Ne(62,e.name.end,Tn,e),Dn(),function(e){75===e.kind?ye(e):ge(e)}(e.moduleReference),Sn()}(t);case 253:return function(e){on(e,e.modifiers),Ne(95,e.modifiers?e.modifiers.end:e.pos,Ln,e),Dn(),e.importClause&&(ge(e.importClause),Dn(),Ne(148,e.importClause.end,Ln,e),Dn());ye(e.moduleSpecifier),Sn()}(t);case 254:return function(e){ge(e.name),e.name&&e.namedBindings&&(Ne(27,e.name.end,Tn,e),Dn());ge(e.namedBindings)}(t);case 255:return function(e){var n=Ne(41,e.pos,Tn,e);Dn(),Ne(122,n,Ln,e),Dn(),ge(e.name)}(t);case 256:return function(e){Ke(e)}(t);case 257:return function(e){je(e)}(t);case 258:return function(e){var n=Ne(88,e.pos,Ln,e);Dn(),e.isExportEquals?Ne(62,n,An,e):Ne(83,n,Ln,e);Dn(),ye(e.expression),Sn()}(t);case 259:return function(e){var n=Ne(88,e.pos,Ln,e);Dn(),e.exportClause?ge(e.exportClause):n=Ne(41,n,Tn,e);if(e.moduleSpecifier){Dn(),Ne(148,e.exportClause?e.exportClause.end:n,Ln,e),Dn(),ye(e.moduleSpecifier)}Sn()}(t);case 260:return function(e){Ke(e)}(t);case 261:return function(e){je(e)}(t);case 262:return;case 263:return function(e){Ln("require"),Tn("("),ye(e.expression),Tn(")")}(t);case 11:return function(e){p.writeLiteral(e.text)}(t);case 266:case 269:return function(n){Tn("<"),e.isJsxOpeningElement(n)&&(We(n.tagName),pn(n,n.typeArguments),n.attributes.properties&&n.attributes.properties.length>0&&Dn(),ge(n.attributes));Tn(">")}(t);case 267:case 270:return function(n){Tn("")}(t);case 271:return function(e){ge(e.name),function(e,n,t,r){t&&(n(e),r(t))}("=",Tn,e.initializer,ge)}(t);case 272:return function(e){yn(e,e.properties,262656)}(t);case 273:return function(e){Tn("{..."),ye(e.expression),Tn("}")}(t);case 274:return function(e){e.expression&&(Tn("{"),ge(e.dotDotDotToken),ye(e.expression),Tn("}"))}(t);case 275:return function(e){Ne(77,e.pos,Ln,e),Dn(),ye(e.expression),qe(e,e.statements,e.expression.end)}(t);case 276:return function(e){var n=Ne(83,e.pos,Ln,e);qe(e,e.statements,n)}(t);case 277:return function(e){Dn(),wn(e.token,Ln),Dn(),yn(e,e.types,528)}(t);case 278:return function(e){var n=Ne(78,e.pos,Ln,e);Dn(),e.variableDeclaration&&(Ne(20,n,Tn,e),ge(e.variableDeclaration),Ne(21,e.variableDeclaration.end,Tn,e),Dn());ge(e.block)}(t);case 279:return function(n){ge(n.name),Tn(":"),Dn();var t=n.initializer;if(ht&&0==(512&e.getEmitFlags(t))){ht(e.getCommentRange(t).pos)}ye(t)}(t);case 280:return function(e){ge(e.name),e.objectAssignmentInitializer&&(Dn(),Tn("="),Dn(),ye(e.objectAssignmentInitializer))}(t);case 281:return function(e){e.expression&&(Ne(25,e.pos,Tn,e),ye(e.expression))}(t);case 282:return function(e){ge(e.name),ln(e.initializer,e.name.end,e)}(t);case 310:case 316:return function(e){Je(e.tagName),Qe(e.typeExpression),Dn(),e.isBracketed&&Tn("[");ge(e.name),e.isBracketed&&Tn("]");Ye(e.comment)}(t);case 311:case 313:case 312:case 309:return Je((r=t).tagName),Qe(r.typeExpression),void Ye(r.comment);case 305:return function(e){Je(e.tagName),Dn(),Tn("{"),ge(e.class),Tn("}"),Ye(e.comment)}(t);case 314:return function(e){Je(e.tagName),Qe(e.constraint),Dn(),yn(e,e.typeParameters,528),Ye(e.comment)}(t);case 315:return function(e){Je(e.tagName),e.typeExpression&&(292===e.typeExpression.kind?Qe(e.typeExpression):(Dn(),Tn("{"),w("Object"),e.typeExpression.isArrayType&&(Tn("["),Tn("]")),Tn("}")));e.fullName&&(Dn(),ge(e.fullName));Ye(e.comment),e.typeExpression&&302===e.typeExpression.kind&&ze(e.typeExpression)}(t);case 308:return function(e){Je(e.tagName),e.name&&(Dn(),ge(e.name));Ye(e.comment),Xe(e.typeExpression)}(t);case 303:return Xe(t);case 302:return ze(t);case 307:case 304:return function(e){Je(e.tagName),Ye(e.comment)}(t);case 301:return function(e){if(w("/**"),e.comment)for(var n=e.comment.split(/\r\n?|\n/g),t=0,r=n;t=1&&!e.isJsonSourceFile(i)?64:0;yn(n,n.properties,526226|a|r),t&&On()}(t);case 193:return function(n){var t=e.cast(ye(n.expression),e.isExpression),r=e.getDotOrQuestionDotToken(n),a=jn(n,n.expression,r),i=jn(n,r,n.name);Fn(a,!1),28===r.kind||!function(n){if(n=e.skipPartiallyEmittedExpressions(n),e.isNumericLiteral(n)){var t=Xn(n,!0);return!n.numericLiteralFlags&&!e.stringContains(t,e.tokenToString(24))}if(e.isAccessExpression(n)){var r=e.getConstantValue(n);return"number"==typeof r&&isFinite(r)&&Math.floor(r)===r}}(t)||p.hasTrailingComment()||p.hasTrailingWhitespace()||Tn(".");Ne(r.kind,n.expression.end,Tn,n),Fn(i,!1),ge(n.name),Vn(a,i)}(t);case 194:return function(e){ye(e.expression),ge(e.questionDotToken),Ne(22,e.expression.end,Tn,e),ye(e.argumentExpression),Ne(23,e.argumentExpression.end,Tn,e)}(t);case 195:return function(e){ye(e.expression),ge(e.questionDotToken),pn(e,e.typeArguments),vn(e,e.arguments,2576)}(t);case 196:return function(e){Ne(98,e.pos,Ln,e),Dn(),ye(e.expression),pn(e,e.typeArguments),vn(e,e.arguments,18960)}(t);case 197:return function(e){ye(e.tag),pn(e,e.typeArguments),Dn(),ye(e.template)}(t);case 198:return function(e){Tn("<"),ge(e.type),Tn(">"),ye(e.expression)}(t);case 199:return function(e){var n=Ne(20,e.pos,Tn,e);ye(e.expression),Ne(21,e.expression?e.expression.end:n,Tn,e)}(t);case 200:return function(e){et(e.name),we(e)}(t);case 201:return function(e){mn(e,e.decorators),on(e,e.modifiers),Ge(e,Re)}(t);case 202:return function(e){Ne(84,e.pos,Ln,e),Dn(),ye(e.expression)}(t);case 203:return function(e){Ne(107,e.pos,Ln,e),Dn(),ye(e.expression)}(t);case 204:return function(e){Ne(109,e.pos,Ln,e),Dn(),ye(e.expression)}(t);case 205:return function(e){Ne(126,e.pos,Ln,e),Dn(),ye(e.expression)}(t);case 206:return function(e){wn(e.operator,An),function(e){var n=e.operand;return 206===n.kind&&(39===e.operator&&(39===n.operator||45===n.operator)||40===e.operator&&(40===n.operator||46===n.operator))}(e)&&Dn();ye(e.operand)}(t);case 207:return function(e){ye(e.operand),wn(e.operator,An)}(t);case 208:return function(e){var n=27!==e.operatorToken.kind,t=jn(e,e.left,e.operatorToken),r=jn(e,e.operatorToken,e.right);ye(e.left),Fn(t,n),yt(e.operatorToken.pos),Nn(e.operatorToken,96===e.operatorToken.kind?Ln:An),ht(e.operatorToken.end,!0),Fn(r,!0),ye(e.right),Vn(t,r)}(t);case 209:return function(e){var n=jn(e,e.condition,e.questionToken),t=jn(e,e.questionToken,e.whenTrue),r=jn(e,e.whenTrue,e.colonToken),a=jn(e,e.colonToken,e.whenFalse);ye(e.condition),Fn(n,!0),ge(e.questionToken),Fn(t,!0),ye(e.whenTrue),Vn(n,t),Fn(r,!0),ge(e.colonToken),Fn(a,!0),ye(e.whenFalse),Vn(r,a)}(t);case 210:return function(e){ge(e.head),yn(e,e.templateSpans,262144)}(t);case 211:return function(e){Ne(120,e.pos,Ln,e),ge(e.asteriskToken),dn(e.expression)}(t);case 212:return function(e){Ne(25,e.pos,Tn,e),ye(e.expression)}(t);case 213:return function(e){et(e.name),He(e)}(t);case 214:return;case 216:return function(e){ye(e.expression),e.type&&(Dn(),Ln("as"),Dn(),ge(e.type))}(t);case 217:return function(e){ye(e.expression),An("!")}(t);case 218:return function(e){kn(e.keywordToken,e.pos,Tn),Tn("."),ge(e.name)}(t);case 264:return function(e){ge(e.openingElement),yn(e,e.children,262144),ge(e.closingElement)}(t);case 265:return function(e){Tn("<"),We(e.tagName),pn(e,e.typeArguments),Dn(),ge(e.attributes),Tn("/>")}(t);case 268:return function(e){ge(e.openingFragment),yn(e,e.children,262144),ge(e.closingFragment)}(t);case 319:return function(e){ye(e.expression)}(t);case 320:return function(e){vn(e,e.elements,528)}(t)}}function Se(n,t){e.Debug.assert(b===t||E===t),be(1,t)(n,E=x(n,t)),e.Debug.assert(b===t||E===t)}function Le(t){var r=!1,a=289===t.kind?t:void 0;if(!a||k!==e.ModuleKind.None){for(var o=a?a.prepends.length:0,s=a?a.sourceFiles.length+o:1,l=0;l'),P&&P.sections.push({pos:a,end:p.getTextPos(),kind:"no-default-lib"}),In()}if(i&&i.moduleName&&(Cn('/// '),In()),i&&i.amdDependencies)for(var o=0,s=i.amdDependencies;o'):Cn('/// '),In()}for(var c=0,d=n;c'),P&&P.sections.push({pos:a,end:p.getTextPos(),kind:"reference",data:u.fileName}),In()}for(var m=0,f=t;m'),P&&P.sections.push({pos:a,end:p.getTextPos(),kind:"type",data:u.fileName}),In()}for(var g=0,_=r;g<_.length;g++){u=_[g],a=p.getTextPos();Cn('/// '),P&&P.sections.push({pos:a,end:p.getTextPos(),kind:"lib",data:u.fileName}),In()}}function $e(n){var t=n.statements;Jn(n),e.forEach(n.statements,Zn),Le(n);var r=e.findIndex(t,(function(n){return!e.isPrologueDirective(n)}));!function(e){e.isDeclarationFile&&Ze(e.hasNoDefaultLib,e.referencedFiles,e.typeReferenceDirectives,e.libReferenceDirectives)}(n),yn(n,t,1,-1===r?t.length:r),Yn(n)}function en(n,t,r,a){for(var i=!!t,o=0;o=a.length||0===s;if(c&&32768&i)return C&&C(a),void(D&&D(a));if(15360&i&&(Tn(function(e){return r[15360&e][0]}(i)),c&&!l&&ht(a.pos,!0)),C&&C(a),c)1&i?In():256&i&&!(524288&i)&&Dn();else{var d=0==(262144&i),u=d;Bn(t,a,i)?(In(),u=!1):256&i&&Dn(),128&i&&Mn();for(var m=void 0,p=void 0,f=!1,g=0;g=0&&Ct(c,a);a=i(t,r,a),l&&(a=l.end);0==(256&s)&&a>=0&&Ct(c,a);return a}(a,n,r,t,wn)}function Nn(n,t){R&&R(n),t(e.tokenToString(n.kind)),I&&I(n)}function wn(n,t,r){var a=e.tokenToString(n);return t(a),r<0?r:r+a.length}function Pn(n){1&e.getEmitFlags(n)?Dn():In()}function Gn(n){for(var t=n.split(/\r\n?|\n/g),r=e.guessIndentation(t),a=0,i=t;a0||o>0)&&i!==o&&(l||pt(i,s),(!l||i>=0&&0!=(512&r))&&(K=i),(!c||o>=0&&0!=(1024&r))&&(j=o,242===t.kind&&(W=o))),e.forEach(e.getSyntheticLeadingComments(t),ct),Y();var p=be(2,t);2048&r?(z=!0,p(n,t),z=!1):p(n,t),J(),e.forEach(e.getSyntheticTrailingComments(t),dt),(i>0||o>0)&&i!==o&&(K=d,j=u,W=m,!c&&s&&function(e){Tt(e,vt)}(o)),Y(),e.Debug.assert(b===t||E===t)}function ct(e){2===e.kind&&p.writeLine(),ut(e),e.hasTrailingNewLine||2===e.kind?p.writeLine():p.writeSpace(" ")}function dt(e){p.isAtStartOfLine()||p.writeSpace(" "),ut(e),e.hasTrailingNewLine&&p.writeLine()}function ut(n){var t=function(e){return 3===e.kind?"/*"+e.text+"*/":"//"+e.text}(n),r=3===n.kind?e.computeLineStarts(t):void 0;e.writeCommentRange(t,r,p,0,t.length,O)}function mt(n,t,r){J();var a,o,s=t.pos,l=t.end,c=e.getEmitFlags(n),d=z||l<0||0!=(1024&c);s<0||0!=(512&c)||(a=t,(o=e.emitDetachedComments(i.text,fe(),p,St,a,O,z))&&(h?h.push(o):h=[o])),Y(),2048&c&&!z?(z=!0,r(n),z=!1):r(n),J(),d||(pt(t.end,!0),q&&!p.isAtStartOfLine()&&p.writeLine()),Y()}function pt(e,n){q=!1,n?Et(e,_t):0===e&&Et(e,ft)}function ft(n,t,r,a,o){(function(n,t){return e.isRecognizedTripleSlashComment(i.text,n,t)})(n,t)&&_t(n,t,r,a,o)}function gt(t,r){return!n.onlyPrintJsDocStyle||(e.isJSDocLikeText(t,r)||e.isPinnedComment(t,r))}function _t(n,t,r,a,o){gt(i.text,n)&&(q||(e.emitNewLineBeforeLeadingCommentOfPosition(fe(),p,o,n),q=!0),xt(n),e.writeCommentRange(i.text,fe(),p,n,t,O),xt(t),a?p.writeLine():3===r&&p.writeSpace(" "))}function yt(e){z||-1===e||pt(e,!0)}function vt(n,t,r,a){gt(i.text,n)&&(p.isAtStartOfLine()||p.writeSpace(" "),xt(n),e.writeCommentRange(i.text,fe(),p,n,t,O),xt(t),a&&p.writeLine())}function ht(e,n){z||(J(),Tt(e,n?vt:bt),Y())}function bt(n,t,r,a){xt(n),e.writeCommentRange(i.text,fe(),p,n,t,O),xt(t),a?p.writeLine():p.writeSpace(" ")}function Et(n,t){!i||-1!==K&&n===K||(function(n){return void 0!==h&&e.last(h).nodePos===n}(n)?function(n){var t=e.last(h).detachedCommentEndPos;h.length-1?h.pop():h=void 0;e.forEachLeadingCommentRange(i.text,t,n,t)}(t):e.forEachLeadingCommentRange(i.text,n,t,n))}function Tt(n,t){i&&(-1===j||n!==j&&n!==W)&&e.forEachTrailingCommentRange(i.text,n,t)}function St(n,t,r,a,o,s){gt(i.text,a)&&(xt(a),e.writeCommentRange(n,t,r,a,o,s),xt(o))}function Lt(n,t){e.Debug.assert(b===t||E===t);var r=be(3,t);if(e.isUnparsedSource(t)||e.isUnparsedPrepend(t))r(n,t);else if(e.isUnparsedNode(t)){var a=function(n){return void 0===n.parsedSourceMap&&void 0!==n.sourceMapText&&(n.parsedSourceMap=e.tryParseRawSourceMap(n.sourceMapText)||!1),n.parsedSourceMap||void 0}(t.parent);a&&_&&_.appendSourceMap(p.getLine(),p.getColumn(),a,t.parent.sourceMapPath,t.parent.getLineAndCharacterOfPosition(t.pos),t.parent.getLineAndCharacterOfPosition(t.end)),r(n,t)}else{var i=e.getSourceMapRange(t),o=i.pos,s=i.end,l=i.source,c=void 0===l?y:l,d=e.getEmitFlags(t);318!==t.kind&&0==(16&d)&&o>=0&&Ct(c,At(c,o)),64&d?(U=!0,r(n,t),U=!1):r(n,t),318!==t.kind&&0==(32&d)&&s>=0&&Ct(c,s)}e.Debug.assert(b===t||E===t)}function At(n,t){return n.skipTrivia?n.skipTrivia(t):e.skipTrivia(n.text,t)}function xt(n){if(!(U||e.positionIsSynthesized(n)||Rt(y))){var t=e.getLineAndCharacterOfPosition(y,n),r=t.line,a=t.character;_.addMapping(p.getLine(),p.getColumn(),H,r,a,void 0)}}function Ct(e,n){if(e!==y){var t=y;Dt(e),xt(n),Dt(t)}else xt(n)}function Dt(e){U||(y=e,Rt(e)||(H=_.addSource(e.fileName),n.inlineSources&&_.setSourceContent(H,e.text)))}function Rt(n){return e.fileExtensionIs(n.fileName,".json")}}e.isBuildInfoFile=function(n){return e.fileExtensionIs(n,".tsbuildinfo")},e.forEachEmittedFile=i,e.getTsBuildInfoEmitOutputFilePath=s,e.getOutputPathsForBundle=l,e.getOutputPathsFor=c,e.getOutputExtension=u,e.getOutputDeclarationFileName=p,e.getAllProjectOutputs=function(e,n){var t=g(),r=t.addOutput,a=t.getOutputs;if(e.options.outFile||e.options.out)_(e,r);else{for(var i=0,o=e.fileNames;ie.getRootLength(n)&&!function(e){return!!i.has(e)||!!r.directoryExists(e)&&(i.set(e,!0),!0)}(n)&&(s(e.getDirectoryPath(n)),u.createDirectory?u.createDirectory(n):r.createDirectory(n))}function l(){return e.getDirectoryPath(e.normalizePath(r.getExecutingFilePath()))}var c=e.getNewLineCharacter(n,(function(){return r.newLine})),d=r.realpath&&function(e){return r.realpath(e)},u={getSourceFile:function(n,r,a){var i;try{e.performance.mark("beforeIORead"),i=u.readFile(n),e.performance.mark("afterIORead"),e.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(e){a&&a(e.message),i=""}return void 0!==i?e.createSourceFile(n,i,r,t):void 0},getDefaultLibLocation:l,getDefaultLibFileName:function(n){return e.combinePaths(l(),e.getDefaultLibFileName(n))},writeFile:function(t,i,o,l){try{e.performance.mark("beforeIOWrite"),s(e.getDirectoryPath(e.normalizePath(t))),e.isWatchSet(n)&&r.createHash&&r.getModifiedTime?function(n,t,i){a||(a=e.createMap());var o=r.createHash(t),s=r.getModifiedTime(n);if(s){var l=a.get(n);if(l&&l.byteOrderMark===i&&l.hash===o&&l.mtime.getTime()===s.getTime())return}r.writeFile(n,t,i);var c=r.getModifiedTime(n)||e.missingFileModifiedTime;a.set(n,{hash:o,byteOrderMark:i,mtime:c})}(t,i,o):r.writeFile(t,i,o),e.performance.mark("afterIOWrite"),e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(e){l&&l(e.message)}},getCurrentDirectory:e.memoize((function(){return r.getCurrentDirectory()})),useCaseSensitiveFileNames:function(){return r.useCaseSensitiveFileNames},getCanonicalFileName:o,getNewLine:function(){return c},fileExists:function(e){return r.fileExists(e)},readFile:function(e){return r.readFile(e)},trace:function(e){return r.write(e+c)},directoryExists:function(e){return r.directoryExists(e)},getEnvironmentVariable:function(e){return r.getEnvironmentVariable?r.getEnvironmentVariable(e):""},getDirectories:function(e){return r.getDirectories(e)},realpath:d,readDirectory:function(e,n,t,a,i){return r.readDirectory(e,n,t,a,i)},createDirectory:function(e){return r.createDirectory(e)},createHash:e.maybeBind(r,r.createHash)};return u}function c(n,t){var r=e.diagnosticCategoryName(n)+" TS"+n.code+": "+g(n.messageText,t.getNewLine())+t.getNewLine();if(n.file){var a=e.getLineAndCharacterOfPosition(n.file,n.start),i=a.line,o=a.character,s=n.file.fileName;return e.convertToRelativePath(s,t.getCurrentDirectory(),(function(e){return t.getCanonicalFileName(e)}))+"("+(i+1)+","+(o+1)+"): "+r}return r}e.findConfigFile=function(n,t,r){return void 0===r&&(r="tsconfig.json"),e.forEachAncestorDirectory(n,(function(n){var a=e.combinePaths(n,r);return t(a)?a:void 0}))},e.resolveTripleslashReference=r,e.computeCommonSourceDirectoryOfFilenames=a,e.createCompilerHost=i,e.createCompilerHostWorker=l,e.changeCompilerHostLikeToUseCache=function(n,t,r){var a=n.readFile,i=n.fileExists,o=n.directoryExists,s=n.createDirectory,l=n.writeFile,c=e.createMap(),d=e.createMap(),u=e.createMap(),m=e.createMap(),p=function(e,t){var r=a.call(n,t);return c.set(e,void 0!==r&&r),r};n.readFile=function(r){var i=t(r),o=c.get(i);return void 0!==o?!1!==o?o:void 0:e.fileExtensionIs(r,".json")||e.isBuildInfoFile(r)?p(i,r):a.call(n,r)};var f=r?function(n,a,i,o){var s=t(n),l=m.get(s);if(l)return l;var c=r(n,a,i,o);return c&&(e.isDeclarationFileName(n)||e.fileExtensionIs(n,".json"))&&m.set(s,c),c}:void 0;return n.fileExists=function(e){var r=t(e),a=d.get(r);if(void 0!==a)return a;var o=i.call(n,e);return d.set(r,!!o),o},l&&(n.writeFile=function(e,r,a,i,o){var s=t(e);d.delete(s);var u=c.get(s);if(void 0!==u&&u!==r)c.delete(s),m.delete(s);else if(f){var p=m.get(s);p&&p.text!==r&&m.delete(s)}l.call(n,e,r,a,i,o)}),o&&s&&(n.directoryExists=function(e){var r=t(e),a=u.get(r);if(void 0!==a)return a;var i=o.call(n,e);return u.set(r,!!i),i},n.createDirectory=function(e){var r=t(e);u.delete(r),s.call(n,e)}),{originalReadFile:a,originalFileExists:i,originalDirectoryExists:o,originalCreateDirectory:s,originalWriteFile:l,getSourceFileWithCache:f,readFileWithCache:function(e){var n=t(e),r=c.get(n);return void 0!==r?!1!==r?r:void 0:p(n,e)}}},e.getPreEmitDiagnostics=function(n,t,r){var a=o(n.getConfigFileParsingDiagnostics(),n.getOptionsDiagnostics(r),n.getSyntacticDiagnostics(t,r),n.getGlobalDiagnostics(r),n.getSemanticDiagnostics(t,r));return e.getEmitDeclarations(n.getCompilerOptions())&&e.addRange(a,n.getDeclarationDiagnostics(t,r)),e.sortAndDeduplicateDiagnostics(a)},e.formatDiagnostics=function(e,n){for(var t="",r=0,a=e;r=4,y=(p+1+"").length;_&&(y=Math.max("...".length,y));for(var v="",h=l;h<=p;h++){v+=o.getNewLine(),_&&l+10||c.length>0)return{diagnostics:e.concatenate(d,c),sourceMaps:void 0,emittedFiles:void 0,emitSkipped:!0}}}var u=We().getEmitResolver(R.outFile||R.out?void 0:t,a);e.performance.mark("beforeEmit");var m=e.emitFiles(u,He(r),t,e.getTransformers(R,s,i),i,!1,l);return e.performance.mark("afterEmit"),e.performance.measure("Emit","beforeEmit","afterEmit"),m}(Ge,n,t,r,a,i,s)}))},getCurrentDirectory:function(){return Z},getNodeCount:function(){return We().getNodeCount()},getIdentifierCount:function(){return We().getIdentifierCount()},getSymbolCount:function(){return We().getSymbolCount()},getTypeCount:function(){return We().getTypeCount()},getRelationCacheSizes:function(){return We().getRelationCacheSizes()},getFileProcessingDiagnostics:function(){return G},getResolvedTypeReferenceDirectives:function(){return P},isSourceFileFromExternalLibrary:je,isSourceFileDefaultLibrary:function(n){if(n.hasNoDefaultLib)return!0;if(!R.noLib)return!1;var t=q.useCaseSensitiveFileNames()?e.equateStringsCaseSensitive:e.equateStringsCaseInsensitive;return R.lib?e.some(R.lib,(function(r){return t(n.fileName,e.combinePaths(Y,r))})):t(n.fileName,J())},dropDiagnosticsProducingTypeChecker:function(){S=void 0},getSourceFileFromReference:function(e,n){return un(r(n.fileName,e.fileName),(function(e){return fe.get(Ve(e))||void 0}))},getLibFileFromReference:function(n){var t=n.fileName.toLocaleLowerCase(),r=e.libMap.get(t);if(r)return Xe(e.combinePaths(Y,r))},sourceFileToPackageName:me,redirectTargetsMap:pe,isEmittedFile:function(n){if(R.noEmit)return!1;var t=Ve(n);if(Je(t))return!1;var r=R.outFile||R.out;if(r)return qn(t,r)||qn(t,e.removeFileExtension(r)+".d.ts");if(R.declarationDir&&e.containsPath(R.declarationDir,t,Z,!q.useCaseSensitiveFileNames()))return!0;if(R.outDir)return e.containsPath(R.outDir,t,Z,!q.useCaseSensitiveFileNames());if(e.fileExtensionIsOneOf(t,e.supportedJSExtensions)||e.fileExtensionIs(t,".d.ts")){var a=e.removeFileExtension(t);return!!Je(a+".ts")||!!Je(a+".tsx")}return!1},getConfigFileParsingDiagnostics:function(){return I||e.emptyArray},getResolvedModuleWithFailedLookupLocationsFromCache:function(n,t){return K&&e.resolveModuleNameFromCache(n,t,K)},getProjectReferences:function(){return M},getResolvedProjectReferences:function(){return oe},getProjectReferenceRedirect:yn,getResolvedProjectReferenceToRedirect:bn,getResolvedProjectReferenceByPath:An,forEachResolvedProjectReference:En,isSourceOfProjectReferenceRedirect:Sn,emitBuildInfo:function(n){e.Debug.assert(!R.out&&!R.outFile),e.performance.mark("beforeEmit");var t=e.emitFiles(e.notImplementedResolver,He(n),void 0,e.noTransformers,!1,!0);return e.performance.mark("afterEmit"),e.performance.measure("Emit","beforeEmit","afterEmit"),t},getProbableSymlinks:zn};return function(){R.strictPropertyInitialization&&!e.getStrictOptionValue(R,"strictNullChecks")&&Vn(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"strictPropertyInitialization","strictNullChecks");R.isolatedModules&&(R.out&&Vn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"out","isolatedModules"),R.outFile&&Vn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"outFile","isolatedModules"));R.inlineSourceMap&&(R.sourceMap&&Vn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"sourceMap","inlineSourceMap"),R.mapRoot&&Vn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"mapRoot","inlineSourceMap"));R.paths&&void 0===R.baseUrl&&Vn(e.Diagnostics.Option_paths_cannot_be_used_without_specifying_baseUrl_option,"paths");R.composite&&(!1===R.declaration&&Vn(e.Diagnostics.Composite_projects_may_not_disable_declaration_emit,"declaration"),!1===R.incremental&&Vn(e.Diagnostics.Composite_projects_may_not_disable_incremental_compilation,"declaration"));R.tsBuildInfoFile?e.isIncrementalCompilation(R)||Vn(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"tsBuildInfoFile","incremental","composite"):!R.incremental||R.outFile||R.out||R.configFilePath||Q.add(e.createCompilerDiagnostic(e.Diagnostics.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified));if(function(){var n=R.noEmit||R.suppressOutputPathCheck?void 0:e.getTsBuildInfoEmitOutputFilePath(R);Ln(M,oe,(function(t,r,a){var i=(a?a.commandLine.projectReferences:M)[r],o=a&&a.sourceFile;if(t){var s=t.commandLine.options;if(!s.composite)(a?a.commandLine.fileNames:D).length&&Un(o,r,e.Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true,i.path);if(i.prepend){var l=s.outFile||s.out;l?q.fileExists(l)||Un(o,r,e.Diagnostics.Output_file_0_from_project_1_does_not_exist,l,i.path):Un(o,r,e.Diagnostics.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,i.path)}!a&&n&&n===e.getTsBuildInfoEmitOutputFilePath(s)&&(Un(o,r,e.Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,n,i.path),ne.set(Ve(n),!0))}else Un(o,r,e.Diagnostics.File_0_not_found,i.path)}))}(),R.composite)for(var n=e.arrayToSet(D,Ve),t=0,r=f;t1}))&&Vn(e.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}R.useDefineForClassFields&&0===d&&Vn(e.Diagnostics.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields");R.checkJs&&!R.allowJs&&Q.add(e.createCompilerDiagnostic(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs"));R.emitDeclarationOnly&&(e.getEmitDeclarations(R)||Vn(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite"),R.noEmit&&Vn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit"));R.emitDecoratorMetadata&&!R.experimentalDecorators&&Vn(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators");R.jsxFactory?(R.reactNamespace&&Vn(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),e.parseIsolatedEntityName(R.jsxFactory,d)||Bn("jsxFactory",e.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,R.jsxFactory)):R.reactNamespace&&!e.isIdentifierText(R.reactNamespace,d)&&Bn("reactNamespace",e.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,R.reactNamespace);if(!R.noEmit&&!R.suppressOutputPathCheck){var y=He(),v=e.createMap();e.forEachEmittedFile(y,(function(e){R.emitDeclarationOnly||h(e.jsFilePath,v),h(e.declarationFilePath,v)}))}function h(n,t){if(n){var r=Ve(n);if(fe.has(r)){var a=void 0;R.configFilePath||(a=e.chainDiagnosticMessages(void 0,e.Diagnostics.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)),a=e.chainDiagnosticMessages(a,e.Diagnostics.Cannot_write_file_0_because_it_would_overwrite_input_file,n),Wn(n,e.createCompilerDiagnosticFromMessageChain(a))}var i=q.useCaseSensitiveFileNames()?r:r.toLocaleLowerCase();t.has(i)?Wn(n,e.createCompilerDiagnostic(e.Diagnostics.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,n)):t.set(i,!0)}}}(),e.performance.mark("afterProgram"),e.performance.measure("Program","beforeProgram","afterProgram"),Ge;function Fe(n){if(e.containsPath(Y,n.fileName,!1)){var t=e.getBaseFileName(n.fileName);if("lib.d.ts"===t||"lib.es6.d.ts"===t)return 0;var r=e.removeSuffix(e.removePrefix(t,"lib."),".d.ts"),a=e.libs.indexOf(r);if(-1!==a)return a+1}return e.libs.length+2}function Ve(n){return e.toPath(n,Z,Mn)}function Be(){if(void 0===T){var n=e.filter(f,(function(n){return e.sourceFileMayBeEmitted(n,Ge)}));R.rootDir&&kn(n,R.rootDir)?T=e.getNormalizedAbsolutePath(R.rootDir,Z):R.composite&&R.configFilePath?kn(n,T=e.getDirectoryPath(e.normalizeSlashes(R.configFilePath))):(t=n,T=a(e.mapDefined(t,(function(e){return e.isDeclarationFile?void 0:e.fileName})),Z,Mn)),T&&T[T.length-1]!==e.directorySeparator&&(T+=e.directorySeparator)}var t;return T}function Ue(n,t,r){if(0===de&&!r.ambientModuleNames.length)return j(n,t,void 0,bn(r.originalFileName));var a,i,o,s=O&&O.getSourceFile(t);if(s!==r&&r.resolvedModules){for(var l=[],c=0,d=n;c0;){var s=r.text.slice(i[o-1],i[o]),l=t.exec(s);if(!l)return!0;if(l[3])return!1;o--}return!0}function tn(e,n){return an(e,n,w,rn)}function rn(n,t){return Ze((function(){var r=We().getEmitResolver(n,t);return e.getDeclarationDiagnostics(He(e.noop),r,n)}))}function an(n,t,r,a){var i=n?r.perFile&&r.perFile.get(n.path):r.allDiagnostics;if(i)return i;var o=a(n,t)||e.emptyArray;return n?(r.perFile||(r.perFile=e.createMap()),r.perFile.set(n.path,o)):r.allDiagnostics=o,o}function on(e,n){return e.isDeclarationFile?[]:tn(e,n)}function sn(n,t,r){mn(e.normalizePath(n),t,r,void 0)}function ln(e,n){return e.fileName===n.fileName}function cn(e,n){return 75===e.kind?75===n.kind&&e.escapedText===n.escapedText:10===n.kind&&e.text===n.text}function dn(n){if(!n.imports){var t,r,a,i=e.isSourceFileJS(n),o=e.isExternalModule(n);if(R.importHelpers&&(R.isolatedModules||o)&&!n.isDeclarationFile){var s=e.createLiteral(e.externalHelpersModuleNameText),l=e.createImportDeclaration(void 0,void 0,void 0,s);e.addEmitFlags(l,67108864),s.parent=l,l.parent=n,t=[s]}for(var c=0,d=n.statements;c0),Object.defineProperties(o,{id:{get:function(){return this.redirectInfo.redirectTarget.id},set:function(e){this.redirectInfo.redirectTarget.id=e}},symbol:{get:function(){return this.redirectInfo.redirectTarget.symbol},set:function(e){this.redirectInfo.redirectTarget.symbol=e}}}),o}(E,h,n,t,Ve(n),u);return pe.add(E.path,n),_n(T,t,d),me.set(t,o.name),p.push(T),T}h&&(ue.set(b,h),me.set(t,o.name))}if(_n(h,t,d),h){if(U.set(t,V>0),h.path=t,h.resolvedPath=Ve(n),h.originalFileName=u,q.useCaseSensitiveFileNames()){var S=t.toLowerCase(),L=ge.get(S);L?pn(n,L.fileName,i):ge.set(S,h)}X=X||h.hasNoDefaultLib&&!a,R.noResolve||(xn(h,r),Cn(h)),R.noLib||Rn(h),On(h),r?m.push(h):p.push(h)}return gn(h,i),h}function gn(n,t){t&&n&&(x||(x=e.createMultiMap())).add(n.path,{kind:t.kind,index:t.index,file:t.file.path})}function _n(e,n,t){t?(fe.set(t,e),fe.set(n,e||!1)):fe.set(n,e)}function yn(e){var n=vn(e);return n&&hn(n,e)}function vn(n){if(oe&&oe.length&&!e.fileExtensionIs(n,".d.ts")&&!e.fileExtensionIs(n,".json"))return bn(n)}function hn(n,t){var r=n.commandLine.options.outFile||n.commandLine.options.out;return r?e.changeExtension(r,".d.ts"):e.getOutputDeclarationFileName(t,n.commandLine,!q.useCaseSensitiveFileNames())}function bn(n){void 0===le&&(le=e.createMap(),En((function(e,n){e&&Ve(R.configFilePath)!==n&&e.commandLine.fileNames.forEach((function(e){return le.set(Ve(e),n)}))})));var t=le.get(Ve(n));return t&&An(t)}function En(e){return Ln(M,oe,(function(n,t,r){var a=Ve(h((r?r.commandLine.projectReferences:M)[t]));return e(n,a)}))}function Tn(n){if(e.isDeclarationFileName(n))return void 0===ce&&(ce=e.createMap(),En((function(n){if(n){var t=n.commandLine.options.outFile||n.commandLine.options.out;if(t){var r=e.changeExtension(t,".d.ts");ce.set(Ve(r),!0)}else e.forEach(n.commandLine.fileNames,(function(t){if(!e.fileExtensionIs(t,".d.ts")&&!e.fileExtensionIs(t,".json")){var r=e.getOutputDeclarationFileName(t,n.commandLine,q.useCaseSensitiveFileNames());ce.set(Ve(r),t)}}))}}))),ce.get(Ve(n))}function Sn(e){return _e&&!!bn(e)}function Ln(n,t,r,a){var i;return function n(t,r,a,o,s){if(s){var l=s(t,a);if(l)return l}return e.forEach(r,(function(t,r){if(!e.contains(i,t)){var l=o(t,r,a);if(l)return l;if(t)return(i||(i=[])).push(t),n(t.commandLine.projectReferences,t.references,t,o,s)}}))}(n,t,void 0,r,a)}function An(e){if(se)return se.get(e)||void 0}function xn(n,t){e.forEach(n.referencedFiles,(function(a,i){mn(r(a.fileName,n.originalFileName),t,!1,void 0,{kind:e.RefFileKind.ReferenceFile,index:i,file:n,pos:a.pos,end:a.end})}))}function Cn(n){var t=e.map(n.typeReferenceDirectives,(function(e){return e.fileName.toLocaleLowerCase()}));if(t)for(var r=W(t,n.originalFileName,bn(n.originalFileName)),a=0;aF,u=c&&!b(R,i)&&!R.noResolve&&at&&(Q.add(e.createDiagnosticForNodeInSourceFile(R.configFile,p.elements[t],r,a,i,o)),s=!1)}}s&&Q.add(e.createCompilerDiagnostic(r,a,i,o))}function Gn(n,t,r,a){for(var i=!0,o=0,s=Fn();ot?Q.add(e.createDiagnosticForNodeInSourceFile(n||R.configFile,o.elements[t],r,a,i)):Q.add(e.createCompilerDiagnostic(r,a,i))}function Hn(n,t,r,a,i,o,s){var l=Kn();(!l||!jn(l,n,t,r,a,i,o,s))&&Q.add(e.createCompilerDiagnostic(a,i,o,s))}function Kn(){if(void 0===H){H=null;var n=e.getTsConfigObjectLiteralExpression(R.configFile);if(n)for(var t=0,r=e.getPropertyAssignment(n,"compilerOptions");t0)for(var s=n.getTypeChecker(),l=0,c=t.imports;l0)for(var m=0,p=t.referencedFiles;m1&&T(E)}return o;function T(n){for(var r=0,a=n.declarations;r1?p.outputFiles[1]:void 0:p.outputFiles.length>0?p.outputFiles[0]:void 0;f?(e.Debug.assert(e.fileExtensionIs(f.name,".d.ts"),"File extension for signature expected to be dts",(function(){return"Found: "+e.getAnyExtensionFromPath(f.name)+" for "+f.name+":: All output files: "+JSON.stringify(p.outputFiles.map((function(e){return e.name})))})),d=s(f.text),l&&d!==u&&function(n,r,a){if(!r)return void a.set(n.path,!1);var i;r.forEach((function(n){var r;(r=t(n))&&(i||(i=e.createMap()),i.set(r,!0))})),a.set(n.path,i||!1)}(a,p.exportedModulesFromDeclarationEmit,l)):d=u}return i.set(a.path,d),!u||d!==u}function d(n,t){if(!n.allFileNames){var r=t.getSourceFiles();n.allFileNames=r===e.emptyArray?e.emptyArray:r.map((function(e){return e.fileName}))}return n.allFileNames}function u(n,t){return e.arrayFrom(e.mapDefinedIterator(n.referencedMap.entries(),(function(e){var n=e[0];return e[1].has(t)?n:void 0})))}function m(n){return function(n){return e.some(n.moduleAugmentations,(function(n){return e.isGlobalScopeAugmentation(n.parent)}))}(n)||!e.isExternalModule(n)&&!function(n){for(var t=0,r=n.statements;t0;){var g=f.pop();if(!d.has(g)){var _=t.getSourceFileByPath(g);d.set(g,_),_&&c(n,t,_,a,i,o,s)&&f.push.apply(f,u(n,_.resolvedPath))}}return e.arrayFrom(e.mapDefinedIterator(d.values(),(function(e){return e})))}n.canReuseOldState=o,n.create=function(n,t,r){for(var a=e.createMap(),s=n.getCompilerOptions().module!==e.ModuleKind.None?e.createMap():void 0,l=s?e.createMap():void 0,c=e.createMap(),d=o(s,r),u=0,m=n.getSourceFiles();u0;){var o=i.pop();if(!a.has(o))if(a.set(o,!0),r(n,o)&&c(n,o)){var s=e.Debug.assertDefined(n.program).getSourceFileByPath(o);i.push.apply(i,e.BuilderState.getReferencedByPaths(n,s.resolvedPath))}}}e.Debug.assert(!!n.currentAffectedFilesExportedModulesMap);var l=e.createMap();if(e.forEachEntry(n.currentAffectedFilesExportedModulesMap,(function(e,a){return e&&e.has(t.path)&&d(n,a,l,r)})))return;e.forEachEntry(n.exportedModulesMap,(function(e,a){return!n.currentAffectedFilesExportedModulesMap.has(a)&&e.has(t.path)&&d(n,a,l,r)}))}(n,t,(function(n,t){return function(n,t,r,a){if(l(n,t),!n.changedFilesSet.has(t)){var i=e.Debug.assertDefined(n.program),o=i.getSourceFileByPath(t);o&&(e.BuilderState.updateShapeSignature(n,i,o,e.Debug.assertDefined(n.currentAffectedFilesSignatures),r,a,n.currentAffectedFilesExportedModulesMap),e.getEmitDeclarations(n.compilerOptions)&&h(n,t,0))}return!1}(n,t,r,a)}));else if(!n.cleanedDiagnosticsOfLibFiles){n.cleanedDiagnosticsOfLibFiles=!0;var i=e.Debug.assertDefined(n.program),o=i.getCompilerOptions();e.forEach(i.getSourceFiles(),(function(t){return i.isSourceFileDefaultLibrary(t)&&!e.skipTypeChecking(t,o,i)&&l(n,t.path)}))}}function l(e,n){return!e.semanticDiagnosticsFromOldState||(e.semanticDiagnosticsFromOldState.delete(n),e.semanticDiagnosticsPerFile.delete(n),!e.semanticDiagnosticsFromOldState.size)}function c(n,t){return e.Debug.assertDefined(n.currentAffectedFilesSignatures).get(t)!==e.Debug.assertDefined(n.fileInfos.get(t)).signature}function d(n,t,r,a){return e.forEachEntry(n.referencedMap,(function(i,o){return i.has(t)&&function n(t,r,a,i){if(!e.addToSeen(a,r))return!1;if(i(t,r))return!0;if(e.Debug.assert(!!t.currentAffectedFilesExportedModulesMap),e.forEachEntry(t.currentAffectedFilesExportedModulesMap,(function(e,o){return e&&e.has(r)&&n(t,o,a,i)})))return!0;if(e.forEachEntry(t.exportedModulesMap,(function(e,o){return!t.currentAffectedFilesExportedModulesMap.has(o)&&e.has(r)&&n(t,o,a,i)})))return!0;return!!e.forEachEntry(t.referencedMap,(function(e,n){return e.has(r)&&!a.has(n)&&i(t,n)}))}(n,o,r,a)}))}function u(n,t,r,a,i){i?n.emittedBuildInfo=!0:t===n.program?(n.changedFilesSet.clear(),n.programEmitComplete=!0):(n.seenAffectedFiles.set(t.path,!0),void 0!==r&&(n.seenEmittedFiles||(n.seenEmittedFiles=e.createMap())).set(t.path,r),a?n.affectedFilesPendingEmitIndex++:n.affectedFilesIndex++)}function m(e,n,t){return u(e,t),{result:n,affected:t}}function p(e,n,t,r,a,i){return u(e,t,r,a,i),{result:n,affected:t}}function f(n,t,r){var a=t.path;if(n.semanticDiagnosticsPerFile){var i=n.semanticDiagnosticsPerFile.get(a);if(i)return i}var o=e.Debug.assertDefined(n.program).getSemanticDiagnostics(t,r);return n.semanticDiagnosticsPerFile&&n.semanticDiagnosticsPerFile.set(a,o),o}function g(n,t){var r={},a=e.getOptionNameMap().optionNameMap;for(var i in n)e.hasProperty(n,i)&&(r[i]=_(a.get(i.toLowerCase()),n[i],t));return r.configFilePath&&(r.configFilePath=t(r.configFilePath)),r}function _(e,n,t){if(e)if("list"===e.type){var r=n;if(e.element.isFilePath&&r.length)return r.map(t)}else if(e.isFilePath)return t(n);return n}function y(n,t){return e.Debug.assert(!!n.length),n.map((function(n){var r=v(n,t);r.reportsUnnecessary=n.reportsUnnecessary,r.source=n.source;var a=n.relatedInformation;return r.relatedInformation=a?a.length?a.map((function(e){return v(e,t)})):e.emptyArray:void 0,r}))}function v(e,n){var t=e.file;return s(s({},e),{file:t?n(t.path):void 0})}function h(n,t,r){n.affectedFilesPendingEmit||(n.affectedFilesPendingEmit=[]),n.affectedFilesPendingEmitKind||(n.affectedFilesPendingEmitKind=e.createMap());var a=n.affectedFilesPendingEmitKind.get(t);n.affectedFilesPendingEmit.push(t),n.affectedFilesPendingEmitKind.set(t,a||r),void 0===n.affectedFilesPendingEmitIndex&&(n.affectedFilesPendingEmitIndex=0)}function b(n,t){if(n){var r=e.createMap();for(var a in n)e.hasProperty(n,a)&&r.set(t(a),e.arrayToSet(n[a],t));return r}}function E(n,t){return{getState:e.notImplemented,backupState:e.noop,restoreState:e.noop,getProgram:r,getProgramOrUndefined:function(){return n.program},releaseProgram:function(){return n.program=void 0},getCompilerOptions:function(){return n.compilerOptions},getSourceFile:function(e){return r().getSourceFile(e)},getSourceFiles:function(){return r().getSourceFiles()},getOptionsDiagnostics:function(e){return r().getOptionsDiagnostics(e)},getGlobalDiagnostics:function(e){return r().getGlobalDiagnostics(e)},getConfigFileParsingDiagnostics:function(){return t},getSyntacticDiagnostics:function(e,n){return r().getSyntacticDiagnostics(e,n)},getDeclarationDiagnostics:function(e,n){return r().getDeclarationDiagnostics(e,n)},getSemanticDiagnostics:function(e,n){return r().getSemanticDiagnostics(e,n)},emit:function(e,n,t,a,i){return r().emit(e,n,t,a,i)},getAllDependencies:e.notImplemented,getCurrentDirectory:function(){return r().getCurrentDirectory()}};function r(){return e.Debug.assertDefined(n.program)}}!function(e){e[e.DtsOnly=0]="DtsOnly",e[e.Full=1]="Full"}(e.BuilderFileEmit||(e.BuilderFileEmit={})),function(e){e[e.SemanticDiagnosticsBuilderProgram=0]="SemanticDiagnosticsBuilderProgram",e[e.EmitAndSemanticDiagnosticsBuilderProgram=1]="EmitAndSemanticDiagnosticsBuilderProgram"}(n=e.BuilderProgramKind||(e.BuilderProgramKind={})),e.getBuilderCreationParameters=function(n,t,r,a,i,o){var s,l,c;return void 0===n?(e.Debug.assert(void 0===t),s=r,c=a,e.Debug.assert(!!c),l=c.getProgram()):e.isArray(n)?(c=a,l=e.createProgram({rootNames:n,options:t,host:r,oldProgram:c&&c.getProgramOrUndefined(),configFileParsingDiagnostics:i,projectReferences:o}),s=r):(l=n,s=t,c=r,i=a),{host:s,newProgram:l,oldProgram:c,configFileParsingDiagnostics:i||e.emptyArray}},e.createBuilderProgram=function(r,o){var s=o.newProgram,l=o.host,c=o.oldProgram,d=o.configFileParsingDiagnostics,_=c&&c.getState();if(_&&s===_.program&&d===s.getConfigFileParsingDiagnostics())return s=void 0,_=void 0,c;var v,b=e.createGetCanonicalFileName(l.useCaseSensitiveFileNames()),T=l.createHash||e.generateDjb2Hash,S=t(s,b,_);s.getProgramBuildInfo=function(){return function(n,t){if(!n.compilerOptions.outFile&&!n.compilerOptions.out){var r=e.Debug.assertDefined(n.program).getCurrentDirectory(),a=e.getDirectoryPath(e.getNormalizedAbsolutePath(e.getTsBuildInfoEmitOutputFilePath(n.compilerOptions),r)),i={};n.fileInfos.forEach((function(e,t){var r=n.currentAffectedFilesSignatures&&n.currentAffectedFilesSignatures.get(t);i[d(t)]=void 0===r?e:{version:e.version,signature:r}}));var o={fileInfos:i,options:g(n.compilerOptions,(function(n){return d(e.getNormalizedAbsolutePath(n,r))}))};if(n.referencedMap){var s={};n.referencedMap.forEach((function(n,t){s[d(t)]=e.arrayFrom(n.keys(),d)})),o.referencedMap=s}if(n.exportedModulesMap){var l={};n.exportedModulesMap.forEach((function(t,r){var a=n.currentAffectedFilesExportedModulesMap&&n.currentAffectedFilesExportedModulesMap.get(r);void 0===a?l[d(r)]=e.arrayFrom(t.keys(),d):a&&(l[d(r)]=e.arrayFrom(a.keys(),d))})),o.exportedModulesMap=l}if(n.semanticDiagnosticsPerFile){var c=[];n.semanticDiagnosticsPerFile.forEach((function(e,t){return c.push(e.length?[d(t),n.hasReusableDiagnostic?e:y(e,d)]:d(t))})),o.semanticDiagnosticsPerFile=c}return o}function d(n){return e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(a,n,t))}}(S,b)},s=void 0,c=void 0,_=void 0;var L=E(S,d);return L.getState=function(){return S},L.backupState=function(){e.Debug.assert(void 0===v),v=function(n){var t=e.BuilderState.clone(n);return t.semanticDiagnosticsPerFile=e.cloneMapOrUndefined(n.semanticDiagnosticsPerFile),t.changedFilesSet=e.cloneMap(n.changedFilesSet),t.affectedFiles=n.affectedFiles,t.affectedFilesIndex=n.affectedFilesIndex,t.currentChangedFilePath=n.currentChangedFilePath,t.currentAffectedFilesSignatures=e.cloneMapOrUndefined(n.currentAffectedFilesSignatures),t.currentAffectedFilesExportedModulesMap=e.cloneMapOrUndefined(n.currentAffectedFilesExportedModulesMap),t.seenAffectedFiles=e.cloneMapOrUndefined(n.seenAffectedFiles),t.cleanedDiagnosticsOfLibFiles=n.cleanedDiagnosticsOfLibFiles,t.semanticDiagnosticsFromOldState=e.cloneMapOrUndefined(n.semanticDiagnosticsFromOldState),t.program=n.program,t.compilerOptions=n.compilerOptions,t.affectedFilesPendingEmit=n.affectedFilesPendingEmit&&n.affectedFilesPendingEmit.slice(),t.affectedFilesPendingEmitKind=e.cloneMapOrUndefined(n.affectedFilesPendingEmitKind),t.affectedFilesPendingEmitIndex=n.affectedFilesPendingEmitIndex,t.seenEmittedFiles=e.cloneMapOrUndefined(n.seenEmittedFiles),t.programEmitComplete=n.programEmitComplete,t}(S)},L.restoreState=function(){S=e.Debug.assertDefined(v),v=void 0},L.getAllDependencies=function(n){return e.BuilderState.getAllDependencies(S,e.Debug.assertDefined(S.program),n)},L.getSemanticDiagnostics=function(n,t){a(S,n);var r,i=e.Debug.assertDefined(S.program).getCompilerOptions();if(i.outFile||i.out)return e.Debug.assert(!S.semanticDiagnosticsPerFile),e.Debug.assertDefined(S.program).getSemanticDiagnostics(n,t);if(n)return f(S,n,t);for(;x(t););for(var o=0,s=e.Debug.assertDefined(S.program).getSourceFiles();o1||47!==n.charCodeAt(0);if(i&&0!==n.search(/[a-zA-Z]:/)&&0===a.search(/[a-zA-z]\$\//)){if(-1===(r=n.indexOf(e.directorySeparator,r+1)))return!1;a=n.substring(t+a.length,r+1)}if(i&&0!==a.search(/users\//i))return!0;for(var o=r+1,s=2;s>0;s--)if(0===(o=n.indexOf(e.directorySeparator,o)+1))return!1;return!0}e.isPathIgnored=n,e.canWatchDirectory=t,e.maxNumberOfFilesToIterateForInvalidation=256,e.createResolutionCache=function(r,a,i){var o,s,l,c=!1,d=e.createMultiMap(),u=e.memoize((function(){return r.getCurrentDirectory()})),m=r.getCachedDirectoryStructureHost(),p=e.createMap(),f=e.createCacheWithRedirects(),g=e.createCacheWithRedirects(),_=e.createModuleResolutionCacheWithMaps(f,g,u(),r.getCanonicalFileName),y=e.createMap(),v=e.createCacheWithRedirects(),h=[".ts",".tsx",".js",".jsx",".json"],b=e.createMap(),E=e.createMap(),T=a&&e.removeTrailingDirectorySeparator(e.getNormalizedAbsolutePath(a,u())),S=T&&r.toPath(T),L=e.createMap();return{startRecordingFilesWithChangedResolutions:function(){o=[]},finishRecordingFilesWithChangedResolutions:function(){var e=o;return o=void 0,e},startCachingPerDirectoryResolution:R,finishCachingPerDirectoryResolution:function(){c=!1,l=void 0,R(),E.forEach((function(e,n){0===e.refCount&&(E.delete(n),e.watcher.close())}))},resolveModuleNames:function(n,t,r,a){return M(n,t,a,p,f,I,A,(function(n){return!n.resolvedModule||!e.resolutionExtensionIsTSOrJson(n.resolvedModule.extension)}),r,i)},getResolvedModuleWithFailedLookupLocationsFromCache:function(e,n){var t=p.get(r.toPath(n));return t&&t.get(e)},resolveTypeReferenceDirectives:function(n,t,r){return M(n,t,r,y,v,e.resolveTypeReferenceDirective,x,(function(e){return void 0===e.resolvedTypeReferenceDirective}),void 0,!1)},removeResolutionsFromProjectReferenceRedirects:function(n){if(!e.fileExtensionIs(n,".json"))return;var t=r.getCurrentProgram();if(!t)return;var a=t.getResolvedProjectReferenceByPath(n);if(!a)return;a.commandLine.fileNames.forEach((function(e){return q(r.toPath(e))}))},removeResolutionsOfFile:q,invalidateResolutionOfFile:function(e){q(e),X((function(n,t){var a=t(n);return!!a&&r.toPath(a.resolvedFileName)===e}))},setFilesWithInvalidatedNonRelativeUnresolvedImports:function(n){e.Debug.assert(l===n||void 0===l),l=n},createHasInvalidatedResolution:function(n){if(c||n)return s=void 0,e.returnTrue;var t=s;return s=void 0,function(e){return!!t&&t.has(e)||D(e)}},updateTypeRootsWatch:function(){var n=r.getCompilationSettings();if(n.types)return void Y();var t=e.getEffectiveTypeRoots(n,{directoryExists:Z,getCurrentDirectory:u});t?e.mutateMap(L,e.arrayToMap(t,(function(e){return r.toPath(e)})),{createNewValue:Q,onDeleteValue:e.closeFileWatcher}):Y()},closeTypeRootsWatch:Y,clear:function(){e.clearMap(E,e.closeFileWatcherOf),b.clear(),d.clear(),Y(),p.clear(),y.clear(),c=!1,R()}};function A(e){return e.resolvedModule}function x(e){return e.resolvedTypeReferenceDirective}function C(n,t){return!(void 0===n||t.length<=n.length)&&(e.startsWith(t,n)&&t[n.length]===e.directorySeparator)}function D(e){if(!l)return!1;var n=l.get(e);return!!n&&!!n.length}function R(){f.clear(),g.clear(),v.clear(),d.forEach(B),d.clear()}function I(n,t,a,i,o){var s=e.resolveModuleName(n,t,a,i,_,o);if(!r.getGlobalCache)return s;var l=r.getGlobalCache();if(!(void 0===l||e.isExternalModuleNameRelative(n)||s.resolvedModule&&e.extensionIsTS(s.resolvedModule.extension))){var c=e.loadModuleFromGlobalCache(e.Debug.assertDefined(r.globalCacheResolutionModuleName)(n),r.projectName,a,i,l),d=c.resolvedModule,u=c.failedLookupLocations;if(d)return{resolvedModule:d,failedLookupLocations:e.addRange(s.failedLookupLocations,u)}}return s}function M(n,t,a,i,s,l,d,u,m,p){var f=r.toPath(t),g=i.get(f)||i.set(f,e.createMap()).get(f),_=e.getDirectoryPath(f),y=s.getOrCreateMapOfCacheRedirects(a),v=y.get(_);v||(v=e.createMap(),y.set(_,v));for(var h=[],b=r.getCompilationSettings(),E=p&&D(f),T=r.getCurrentProgram(),S=T&&T.getResolvedProjectReferenceToRedirect(t),L=S?!a||a.sourceFile.path!==S.sourceFile.path:!!a,A=e.createMap(),x=0,C=n;x1),b.set(s,d-1))),c===S?t=!0:K(c)}}t&&K(S)}}function K(e){E.get(e).refCount--}function j(e,n,t){return r.watchDirectoryOfFailedLookupLocation(e,(function(e){var t=r.toPath(e);m&&m.addOrDeleteFileOrDirectory(e,t),!c&&J(t,n===t)&&r.onInvalidatedResolution()}),t?0:1)}function W(e,n){var t=e.get(n);t&&(t.forEach(H),e.delete(n))}function q(e){W(p,e),W(y,e)}function z(n,t,a){var i=e.createMap();n.forEach((function(n,o){var l=e.getDirectoryPath(o),c=i.get(l);c||(c=e.createMap(),i.set(l,c)),n.forEach((function(n,i){c.has(i)||(c.set(i,!0),!n.isInvalidated&&t(n,a)&&(n.isInvalidated=!0,(s||(s=e.createMap())).set(o,!0),o.endsWith(e.inferredTypesContainingFile)&&r.onChangedAutomaticTypeDirectiveNames()))}))}))}function X(n){var t;(t=r.maxNumberOfFilesToIterateForInvalidation||e.maxNumberOfFilesToIterateForInvalidation,p.size>t||y.size>t)?c=!0:(z(p,n,A),z(y,n,x))}function J(t,a){var i;if(a)i=function(e){return C(t,r.toPath(e))};else{if(n(t))return!1;if(r.fileIsOpen(t))return!1;var o=e.getDirectoryPath(t);if(k(t)||O(t)||k(o)||O(o))i=function(n){return r.toPath(n)===t||e.startsWith(r.toPath(n),t)};else{if(!P(t)&&!b.has(t))return!1;if(e.isEmittedFileOfProgram(r.getCurrentProgram(),t))return!1;i=function(e){return r.toPath(e)===t}}}var l=s&&s.size;return X((function(n){return e.some(n.failedLookupLocations,i)})),c||s&&s.size!==l}function Y(){e.clearMap(L,e.closeFileWatcher)}function Q(e,n){return r.watchTypeRootsDirectory(n,(function(t){var a=r.toPath(t);m&&m.addOrDeleteFileOrDirectory(t,a),r.onChangedAutomaticTypeDirectiveNames();var i=function(e,n){if(!c){if(C(S,n))return S;var t=w(e,n);return t&&E.has(t.dirPath)?t.dirPath:void 0}}(n,e);i&&J(a,i===a)&&r.onInvalidatedResolution()}),1)}function Z(n){var a=e.getDirectoryPath(e.getDirectoryPath(n)),i=r.toPath(a);return i===S||t(i)}}}(u||(u={})),function(e){!function(n){var t,r;function a(n,t,r){var a=n.importModuleSpecifierPreference,i=n.importModuleSpecifierEnding;return{relativePreference:"relative"===a?0:"non-relative"===a?1:2,ending:function(){switch(i){case"minimal":return 0;case"index":return 1;case"js":return 2;default:return function(n){var t=n.imports;return e.firstDefined(t,(function(n){var t=n.text;return e.pathIsRelative(t)?e.hasJSOrJsonFileExtension(t):void 0}))||!1}(r)?2:e.getEmitModuleResolutionKind(t)!==e.ModuleResolutionKind.NodeJs?1:0}}()}}function i(n,t,r,a,i,o,c){var d=s(t,a),u=m(i,t,r,d.getCanonicalFileName,a,o);return e.firstDefined(u,(function(e){return f(e,d,a,n)}))||l(r,d,n,c)}function s(n,t){return{getCanonicalFileName:e.createGetCanonicalFileName(!t.useCaseSensitiveFileNames||t.useCaseSensitiveFileNames()),sourceDirectory:e.getDirectoryPath(n)}}function l(n,t,r,a){var i=t.getCanonicalFileName,o=t.sourceDirectory,s=a.ending,l=a.relativePreference,d=r.baseUrl,u=r.paths,m=r.rootDirs,f=m&&function(n,t,r,a,i,o){var s=g(t,n,a);if(void 0===s)return;var l=g(r,n,a),c=void 0!==l?e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(l,s,a)):s;return e.getEmitModuleResolutionKind(o)===e.ModuleResolutionKind.NodeJs?_(c,i,o):e.removeFileExtension(c)}(m,n,o,i,s,r)||_(e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(o,n,i)),s,r);if(!d||0===l)return f;var h=y(n,d,i);if(!h)return f;var b=_(h,s,r),E=u&&p(e.removeFileExtension(h),b,u),T=void 0===E?b:E;return 1===l?T:(2!==l&&e.Debug.assertNever(l),v(T)||c(f)1&&t.sort(u),v.push.apply(v,t));var a=e.getDirectoryPath(n);if(a===n)return _=n,"break";_=n=a},b=e.getDirectoryPath(e.toPath(t,d,a));0!==y.size;){var E=h(b);if(b=_,"break"===E)break}if(y.size){var T=e.arrayFrom(y.values());T.length>1&&T.sort(u),v.push.apply(v,T)}return v}function p(n,t,r){for(var a in r)for(var i=0,o=r[a];i=d.length+u.length&&e.startsWith(t,d)&&e.endsWith(t,u)||!u&&t===e.removeTrailingDirectorySeparator(d)){var m=t.substr(d.length,t.length-u.length);return a.replace("*",m)}}else if(l===t||l===n)return a}}function f(n,t,r,a,i){var o=t.getCanonicalFileName,s=t.sourceDirectory;if(r.fileExists&&r.readFile){var l=function(n){var t,r,a=0,i=0,o=0;!function(e){e[e.BeforeNodeModules=0]="BeforeNodeModules",e[e.NodeModules=1]="NodeModules",e[e.Scope=2]="Scope",e[e.PackageContent=3]="PackageContent"}(r||(r={}));var s=0,l=0,c=0;for(;l>=0;)switch(s=l,l=n.indexOf("/",s+1),c){case 0:n.indexOf(e.nodeModulesPathPart,s)===s&&(a=s,i=l,c=1);break;case 1:case 2:1===c&&"@"===n.charAt(s+1)?c=2:(o=l,c=3);break;case 3:c=n.indexOf(e.nodeModulesPathPart,s)===s?1:3}return t=s,c>1?{topLevelNodeModulesIndex:a,topLevelPackageNameIndex:i,packageRootIndex:o,fileNameIndex:t}:void 0}(n);if(l){var c,d=n.substring(0,l.packageRootIndex);if(!i){var u=e.combinePaths(d,"package.json"),m=(c=r.fileExists(u)?JSON.parse(r.readFile(u)):void 0)&&c.typesVersions?e.getPackageJsonTypesVersionsPaths(c.typesVersions):void 0;if(m){var f=n.slice(l.packageRootIndex+1),g=p(e.removeFileExtension(f),_(f,0,a),m.paths);void 0!==g&&(n=e.combinePaths(n.slice(0,l.packageRootIndex),g))}}var y=i?n:function(n){if(c){var t=c.typings||c.types||c.main;if(t){var a=e.toPath(t,d,o);if(e.removeFileExtension(a)===e.removeFileExtension(o(n)))return d}}var i=e.removeFileExtension(n);if("/index"===o(i.substring(l.fileNameIndex))&&!function(n,t){if(!n.fileExists)return;for(var r=e.getSupportedExtensions({allowJs:!0},[{extension:"node",isMixedContent:!1},{extension:"json",isMixedContent:!1,scriptKind:6}]),a=0,i=r;a0?e.ExitStatus.DiagnosticsPresent_OutputsSkipped:m.length>0?e.ExitStatus.DiagnosticsPresent_OutputsGenerated:e.ExitStatus.Success}function p(n,t){return void 0===n&&(n=e.sys),{onWatchStatusChange:t||i(n),watchFile:e.maybeBind(n,n.watchFile)||function(){return e.noopFileWatcher},watchDirectory:e.maybeBind(n,n.watchDirectory)||function(){return e.noopFileWatcher},setTimeout:e.maybeBind(n,n.setTimeout)||e.noop,clearTimeout:e.maybeBind(n,n.clearTimeout)||e.noop}}function f(n,t){var r=e.memoize((function(){return e.getDirectoryPath(e.normalizePath(n.getExecutingFilePath()))}));return{useCaseSensitiveFileNames:function(){return n.useCaseSensitiveFileNames},getNewLine:function(){return n.newLine},getCurrentDirectory:e.memoize((function(){return n.getCurrentDirectory()})),getDefaultLibLocation:r,getDefaultLibFileName:function(n){return e.combinePaths(r(),e.getDefaultLibFileName(n))},fileExists:function(e){return n.fileExists(e)},readFile:function(e,t){return n.readFile(e,t)},directoryExists:function(e){return n.directoryExists(e)},getDirectories:function(e){return n.getDirectories(e)},readDirectory:function(e,t,r,a,i){return n.readDirectory(e,t,r,a,i)},realpath:e.maybeBind(n,n.realpath),getEnvironmentVariable:e.maybeBind(n,n.getEnvironmentVariable),trace:function(e){return n.write(e+n.newLine)},createDirectory:function(e){return n.createDirectory(e)},writeFile:function(e,t,r){return n.writeFile(e,t,r)},onCachedDirectoryStructureHostCreate:function(e){return e||n},createHash:e.maybeBind(n,n.createHash),createProgram:t||e.createEmitAndSemanticDiagnosticsBuilderProgram}}function g(n,t,r,a){void 0===n&&(n=e.sys);var i=function(e){return n.write(e+n.newLine)},o=f(n,t);return e.copyProperties(o,p(n,a)),o.afterProgramCreate=function(t){var a=t.getCompilerOptions(),s=e.getNewLineCharacter(a,(function(){return n.newLine}));u(t,r,i,(function(n){return o.onWatchStatusChange(e.createCompilerDiagnostic(l(n),n),s,a,n)}))},o}function _(n,t,r){t(r),n.exit(e.ExitStatus.DiagnosticsPresent_OutputsSkipped)}e.createDiagnosticReporter=t,e.screenStartingMessageCodes=[e.Diagnostics.Starting_compilation_in_watch_mode.code,e.Diagnostics.File_change_detected_Starting_incremental_compilation.code],e.getLocaleTimeString=a,e.createWatchStatusReporter=i,e.parseConfigFileWithSystem=function(n,t,r,a){var i=r;i.onUnRecoverableConfigFileDiagnostic=function(e){return _(r,a,e)};var o=e.getParsedCommandLineOfConfigFile(n,t,i);return i.onUnRecoverableConfigFileDiagnostic=void 0,o},e.getErrorCountForSummary=s,e.getWatchErrorSummaryDiagnosticMessage=l,e.getErrorSummaryText=c,e.listFiles=d,e.emitFilesAndReportErrors=u,e.emitFilesAndReportErrorsAndGetExitStatus=m,e.noopFileWatcher={close:e.noop},e.createWatchHost=p,function(e){e.ConfigFile="Config file",e.SourceFile="Source file",e.MissingFile="Missing file",e.WildcardDirectory="Wild card directory",e.FailedLookupLocations="Failed Lookup Locations",e.TypeRoots="Type roots"}(e.WatchType||(e.WatchType={})),e.createWatchFactory=function(n,t){var r=n.trace?t.extendedDiagnostics?e.WatchLogLevel.Verbose:t.diagnostics?e.WatchLogLevel.TriggerOnly:e.WatchLogLevel.None:e.WatchLogLevel.None,a=r!==e.WatchLogLevel.None?function(e){return n.trace(e)}:e.noop,i=e.getWatchFactory(r,a);return i.writeLog=a,i},e.createCompilerHostFromProgramHost=function(n,t,r){void 0===r&&(r=n);var a=n.useCaseSensitiveFileNames(),i=e.memoize((function(){return n.getNewLine()}));return{getSourceFile:function(r,a,i){var o;try{e.performance.mark("beforeIORead"),o=n.readFile(r,t().charset),e.performance.mark("afterIORead"),e.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(e){i&&i(e.message),o=""}return void 0!==o?e.createSourceFile(r,o,a):void 0},getDefaultLibLocation:e.maybeBind(n,n.getDefaultLibLocation),getDefaultLibFileName:function(e){return n.getDefaultLibFileName(e)},writeFile:function(t,r,a,i){try{e.performance.mark("beforeIOWrite"),function t(r){if(r.length>e.getRootLength(r)&&!n.directoryExists(r)){var a=e.getDirectoryPath(r);t(a),n.createDirectory&&n.createDirectory(r)}}(e.getDirectoryPath(e.normalizePath(t))),n.writeFile(t,r,a),e.performance.mark("afterIOWrite"),e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(e){i&&i(e.message)}},getCurrentDirectory:e.memoize((function(){return n.getCurrentDirectory()})),useCaseSensitiveFileNames:function(){return a},getCanonicalFileName:e.createGetCanonicalFileName(a),getNewLine:function(){return e.getNewLineCharacter(t(),i)},fileExists:function(e){return n.fileExists(e)},readFile:function(e){return n.readFile(e)},trace:e.maybeBind(n,n.trace),directoryExists:e.maybeBind(r,r.directoryExists),getDirectories:e.maybeBind(r,r.getDirectories),realpath:e.maybeBind(n,n.realpath),getEnvironmentVariable:e.maybeBind(n,n.getEnvironmentVariable)||function(){return""},createHash:e.maybeBind(n,n.createHash),readDirectory:e.maybeBind(n,n.readDirectory)}},e.setGetSourceFileAsHashVersioned=function(n,t){var r=n.getSourceFile,a=t.createHash||e.generateDjb2Hash;n.getSourceFile=function(){for(var e=[],i=0;ie?n:e}function c(n){return e.fileExtensionIs(n,".d.ts")}function d(e){return!!e&&!!e.buildOrder}function u(e){return d(e)?e.buildOrder:e}function m(n,t){return function(r){var a=t?"["+e.formatColorAndReset(e.getLocaleTimeString(n),e.ForegroundColorEscapeSequences.Grey)+"] ":e.getLocaleTimeString(n)+" - ";a+=""+e.flattenDiagnosticMessageText(r.messageText,n.newLine)+(n.newLine+n.newLine),n.write(a)}}function p(n,t,r,a){var i=e.createProgramHost(n,t);return i.getModifiedTime=n.getModifiedTime?function(e){return n.getModifiedTime(e)}:e.returnUndefined,i.setModifiedTime=n.setModifiedTime?function(e,t){return n.setModifiedTime(e,t)}:e.noop,i.deleteFile=n.deleteFile?function(e){return n.deleteFile(e)}:e.noop,i.reportDiagnostic=r||e.createDiagnosticReporter(n),i.reportSolutionBuilderStatus=a||m(n),i}function f(n,t,r,a){var o,s,l=t,c=t,d=l.getCurrentDirectory(),u=e.createGetCanonicalFileName(l.useCaseSensitiveFileNames()),m=(o=a,s={},e.commonOptionsWithBuild.forEach((function(n){e.hasProperty(o,n.name)&&(s[n.name]=o[n.name])})),s),p=e.createCompilerHostFromProgramHost(l,(function(){return S.projectCompilerOptions}));e.setGetSourceFileAsHashVersioned(p,l),p.getParsedCommandLine=function(e){return v(S,e,_(S,e))},p.resolveModuleNames=e.maybeBind(l,l.resolveModuleNames),p.resolveTypeReferenceDirectives=e.maybeBind(l,l.resolveTypeReferenceDirectives);var f=p.resolveModuleNames?void 0:e.createModuleResolutionCache(d,u);if(!p.resolveModuleNames){var g=function(n,t,r){return e.resolveModuleName(n,t,S.projectCompilerOptions,p,f,r).resolvedModule};p.resolveModuleNames=function(n,t,r,a){return e.loadWithLocalCache(e.Debug.assertEachDefined(n),t,a,g)}}var y=e.createWatchFactory(c,a),h=y.watchFile,b=y.watchFilePath,E=y.watchDirectory,T=y.writeLog,S={host:l,hostWithWatch:c,currentDirectory:d,getCanonicalFileName:u,parseConfigFileHost:e.parseConfigHostFromCompilerHostLike(l),writeFileName:l.trace?function(e){return l.trace(e)}:void 0,options:a,baseCompilerOptions:m,rootNames:r,resolvedConfigFilePaths:e.createMap(),configFileCache:i(),projectStatus:i(),buildInfoChecked:i(),extendedConfigCache:e.createMap(),builderPrograms:i(),diagnostics:i(),projectPendingBuild:i(),projectErrorsReported:i(),compilerHost:p,moduleResolutionCache:f,buildOrder:void 0,readFileWithCache:function(e){return l.readFile(e)},projectCompilerOptions:m,cache:void 0,allProjectBuildPending:!0,needsSummary:!0,watchAllProjectsPending:n,currentInvalidatedProject:void 0,watch:n,allWatchedWildcardDirectories:i(),allWatchedInputFiles:i(),allWatchedConfigFiles:i(),timerToBuildInvalidatedProject:void 0,reportFileChangeDetected:!1,watchFile:h,watchFilePath:b,watchDirectory:E,writeLog:T};return S}function g(n,t){return e.toPath(t,n.currentDirectory,n.getCanonicalFileName)}function _(e,n){var t=e.resolvedConfigFilePaths,r=t.get(n);if(void 0!==r)return r;var a=g(e,n);return t.set(n,a),a}function y(e){return!!e.options}function v(n,t,r){var a,i=n.configFileCache,o=i.get(r);if(o)return y(o)?o:void 0;var s,l=n.parseConfigFileHost,c=n.baseCompilerOptions,d=n.extendedConfigCache,u=n.host;return u.getParsedCommandLine?(s=u.getParsedCommandLine(t))||(a=e.createCompilerDiagnostic(e.Diagnostics.File_0_not_found,t)):(l.onUnRecoverableConfigFileDiagnostic=function(e){return a=e},s=e.getParsedCommandLineOfConfigFile(t,c,l,d),l.onUnRecoverableConfigFileDiagnostic=e.noop),i.set(r,s||a),s}function h(n,t){return e.resolveConfigFileProjectName(e.resolvePath(n.currentDirectory,t))}function b(n,t){for(var r,a,i=e.createMap(),o=e.createMap(),s=[],l=0,c=t;l0);var o={sourceFile:r.options.configFile,commandLine:r};a.directoryToModuleNameMap.setOwnMap(a.directoryToModuleNameMap.getOrCreateMapOfCacheRedirects(o)),a.moduleNameToDirectoryMap.setOwnMap(a.moduleNameToDirectoryMap.getOrCreateMapOfCacheRedirects(o))}a.directoryToModuleNameMap.setOwnOptions(r.options),a.moduleNameToDirectoryMap.setOwnOptions(r.options)}(s,d,p),b=t.createProgram(p.fileNames,p.options,r,function(n,t,r){var a=n.options,i=n.builderPrograms,o=n.compilerHost;if(a.force)return;var s=i.get(t);return s||e.readBuilderProgram(r.options,o)}(s,u,p),p.errors,p.projectReferences),S++}function R(e,n,t){e.length?(E=w(s,u,b,e,n,t),S=y.QueueReferencingProjects):S++}function M(t){e.Debug.assertDefined(b),R(o(b.getConfigFileParsingDiagnostics(),b.getOptionsDiagnostics(t),b.getGlobalDiagnostics(t),b.getSyntacticDiagnostics(void 0,t)),n.SyntaxErrors,"Syntactic")}function O(t){R(e.Debug.assertDefined(b).getSemanticDiagnostics(void 0,t),n.TypeErrors,"Semantic")}function P(t,a,i){var o;e.Debug.assertDefined(b),e.Debug.assert(S===y.Emit),b.backupState();var d=[],m=e.emitFilesAndReportErrors(b,(function(e){return(o||(o=[])).push(e)}),void 0,void 0,(function(e,n,t){return d.push({name:e,text:n,writeByteOrderMark:t})}),a,!1,i).emitResult;if(o)return b.restoreState(),E=w(s,u,b,o,n.DeclarationEmitErrors,"Declaration file"),S=y.QueueReferencingProjects,{emitSkipped:!0,diagnostics:m.diagnostics};var f=s.host,_=s.compilerHost,v=n.DeclarationOutputUnchanged,h=r,T=!1,L=e.createDiagnosticCollection(),A=e.createMap();return d.forEach((function(r){var a,i=r.name,o=r.text,d=r.writeByteOrderMark;!T&&c(i)&&(f.fileExists(i)&&s.readFileWithCache(i)===o?a=f.getModifiedTime(i):(v&=~n.DeclarationOutputUnchanged,T=!0)),A.set(g(s,i),i),e.writeFile(t?{writeFile:t}:_,L,i,o,d),void 0!==a&&(h=l(a,h))})),G(L,A,h,T,d.length?d[0].name:e.getFirstProjectOutput(p,!f.useCaseSensitiveFileNames()),v),m}function G(t,r,i,o,l,c){var d=t.getDiagnostics();if(d.length)return E=w(s,u,b,d,n.EmitErrors,"Emit"),S=y.QueueReferencingProjects,d;s.writeFileName&&(r.forEach((function(e){return k(s,p,e)})),b&&e.listFiles(b,s.writeFileName));var m=F(s,p,i,e.Diagnostics.Updating_unchanged_output_timestamps_of_project_0,r);return s.diagnostics.delete(u),s.projectStatus.set(u,{type:e.UpToDateStatusType.UpToDate,newestDeclarationFileContentChangedTime:o?a:m,oldestOutputFileName:l}),b&&N(s,u,b),s.projectCompilerOptions=s.baseCompilerOptions,S=y.QueueReferencingProjects,E=c,d}function V(a,o){if(e.Debug.assert(i===t.UpdateBundle),s.options.dry)return $(s,e.Diagnostics.A_non_dry_build_would_update_output_of_project_0,d),E=n.Success,void(S=y.QueueReferencingProjects);s.options.verbose&&$(s,e.Diagnostics.Updating_output_of_project_0,d);var l=s.compilerHost;s.projectCompilerOptions=p.options;var c=e.emitUsingBuildInfo(p,l,(function(e){var n=h(s,e.path);return v(s,n,_(s,n))}),o);if(e.isString(c))return $(s,e.Diagnostics.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1,d,Z(s,c)),S=y.BuildInvalidatedProjectOfBundle,T=I(t.Build,s,d,u,m,p,f);e.Debug.assert(!!c.length);var b=e.createDiagnosticCollection(),L=e.createMap();return c.forEach((function(n){var t=n.name,r=n.text,i=n.writeByteOrderMark;L.set(g(s,t),t),e.writeFile(a?{writeFile:a}:l,b,t,r,i)})),{emitSkipped:!1,diagnostics:G(b,L,r,!1,c[0].name,n.DeclarationOutputUnchanged)}}function U(n,t,r,a){for(;S<=n&&Si)}}}function M(n,t,r){var a=n.options;return!(t.type===e.UpToDateStatusType.OutOfDateWithPrepend&&!a.force)||(0===r.fileNames.length||!!r.errors.length||!e.isIncrementalCompilation(r.options))}function O(n,r,a){if(n.projectPendingBuild.size&&!d(r)){if(n.currentInvalidatedProject)return e.arrayIsEqualTo(n.currentInvalidatedProject.buildOrder,r)?n.currentInvalidatedProject:void 0;for(var i=n.options,o=n.projectPendingBuild,s=0;ss&&(o=p,s=f)}if(!t.fileNames.length&&!e.canJsonReportNoInutFiles(t.raw))return{type:e.UpToDateStatusType.ContainerOnly};for(var g,y=e.getAllProjectOutputs(t,!d.useCaseSensitiveFileNames()),h="(none)",b=a,E="(none)",T=r,S=r,L=!1,A=0,x=y;AT&&(T=D,E=C),c(C))S=l(S,d.getModifiedTime(C)||e.missingFileModifiedTime)}var R,I=!1,M=!1;if(t.projectReferences){n.projectStatus.set(i,{type:e.UpToDateStatusType.ComputingUpstream});for(var O=0,k=t.projectReferences;O=0},n.findArgument=function(n){var t=e.sys.args.indexOf(n);return t>=0&&t214)return 2;if(46===n.charCodeAt(0))return 3;if(95===n.charCodeAt(0))return 4;if(t){var r=/^@([^/]+)\/([^/]+)$/.exec(n);if(r){var a=e(r[1],!1);if(0!==a)return{name:r[1],isScopeName:!0,result:a};var i=e(r[2],!1);return 0!==i?{name:r[2],isScopeName:!1,result:i}:0}}if(encodeURIComponent(n)!==n)return 5;return 0}(e,!0)},n.renderPackageNameValidationFailure=function(e,n){return"object"==typeof e?a(n,e.result,e.name,e.isScopeName):a(n,e,n,!1)}}(e.JsTyping||(e.JsTyping={}))}(u||(u={})),function(e){var n,t;function r(e){return{indentSize:4,tabSize:4,newLineCharacter:e||"\n",convertTabsToSpaces:!0,indentStyle:n.Smart,insertSpaceAfterConstructor:!1,insertSpaceAfterCommaDelimiter:!0,insertSpaceAfterSemicolonInForStatements:!0,insertSpaceBeforeAndAfterBinaryOperators:!0,insertSpaceAfterKeywordsInControlFlowStatements:!0,insertSpaceAfterFunctionKeywordForAnonymousFunctions:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces:!0,insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces:!1,insertSpaceBeforeFunctionParenthesis:!1,placeOpenBraceOnNewLineForFunctions:!1,placeOpenBraceOnNewLineForControlBlocks:!1,semicolons:t.Ignore}}!function(e){var n=function(){function e(e){this.text=e}return e.prototype.getText=function(e,n){return 0===e&&n===this.text.length?this.text:this.text.substring(e,n)},e.prototype.getLength=function(){return this.text.length},e.prototype.getChangeRange=function(){},e}();e.fromString=function(e){return new n(e)}}(e.ScriptSnapshot||(e.ScriptSnapshot={})),function(e){e[e.Dependencies=1]="Dependencies",e[e.DevDependencies=2]="DevDependencies",e[e.PeerDependencies=4]="PeerDependencies",e[e.OptionalDependencies=8]="OptionalDependencies",e[e.All=15]="All"}(e.PackageJsonDependencyGroup||(e.PackageJsonDependencyGroup={})),e.emptyOptions={},function(e){e.none="none",e.definition="definition",e.reference="reference",e.writtenReference="writtenReference"}(e.HighlightSpanKind||(e.HighlightSpanKind={})),function(e){e[e.None=0]="None",e[e.Block=1]="Block",e[e.Smart=2]="Smart"}(n=e.IndentStyle||(e.IndentStyle={})),function(e){e.Ignore="ignore",e.Insert="insert",e.Remove="remove"}(t=e.SemicolonPreference||(e.SemicolonPreference={})),e.getDefaultFormatCodeSettings=r,e.testFormatSettings=r("\n"),function(e){e[e.aliasName=0]="aliasName",e[e.className=1]="className",e[e.enumName=2]="enumName",e[e.fieldName=3]="fieldName",e[e.interfaceName=4]="interfaceName",e[e.keyword=5]="keyword",e[e.lineBreak=6]="lineBreak",e[e.numericLiteral=7]="numericLiteral",e[e.stringLiteral=8]="stringLiteral",e[e.localName=9]="localName",e[e.methodName=10]="methodName",e[e.moduleName=11]="moduleName",e[e.operator=12]="operator",e[e.parameterName=13]="parameterName",e[e.propertyName=14]="propertyName",e[e.punctuation=15]="punctuation",e[e.space=16]="space",e[e.text=17]="text",e[e.typeParameterName=18]="typeParameterName",e[e.enumMemberName=19]="enumMemberName",e[e.functionName=20]="functionName",e[e.regularExpressionLiteral=21]="regularExpressionLiteral"}(e.SymbolDisplayPartKind||(e.SymbolDisplayPartKind={})),function(e){e.Comment="comment",e.Region="region",e.Code="code",e.Imports="imports"}(e.OutliningSpanKind||(e.OutliningSpanKind={})),function(e){e[e.JavaScript=0]="JavaScript",e[e.SourceMap=1]="SourceMap",e[e.Declaration=2]="Declaration"}(e.OutputFileType||(e.OutputFileType={})),function(e){e[e.None=0]="None",e[e.InMultiLineCommentTrivia=1]="InMultiLineCommentTrivia",e[e.InSingleQuoteStringLiteral=2]="InSingleQuoteStringLiteral",e[e.InDoubleQuoteStringLiteral=3]="InDoubleQuoteStringLiteral",e[e.InTemplateHeadOrNoSubstitutionTemplate=4]="InTemplateHeadOrNoSubstitutionTemplate",e[e.InTemplateMiddleOrTail=5]="InTemplateMiddleOrTail",e[e.InTemplateSubstitutionPosition=6]="InTemplateSubstitutionPosition"}(e.EndOfLineState||(e.EndOfLineState={})),function(e){e[e.Punctuation=0]="Punctuation",e[e.Keyword=1]="Keyword",e[e.Operator=2]="Operator",e[e.Comment=3]="Comment",e[e.Whitespace=4]="Whitespace",e[e.Identifier=5]="Identifier",e[e.NumberLiteral=6]="NumberLiteral",e[e.BigIntLiteral=7]="BigIntLiteral",e[e.StringLiteral=8]="StringLiteral",e[e.RegExpLiteral=9]="RegExpLiteral"}(e.TokenClass||(e.TokenClass={})),function(e){e.unknown="",e.warning="warning",e.keyword="keyword",e.scriptElement="script",e.moduleElement="module",e.classElement="class",e.localClassElement="local class",e.interfaceElement="interface",e.typeElement="type",e.enumElement="enum",e.enumMemberElement="enum member",e.variableElement="var",e.localVariableElement="local var",e.functionElement="function",e.localFunctionElement="local function",e.memberFunctionElement="method",e.memberGetAccessorElement="getter",e.memberSetAccessorElement="setter",e.memberVariableElement="property",e.constructorImplementationElement="constructor",e.callSignatureElement="call",e.indexSignatureElement="index",e.constructSignatureElement="construct",e.parameterElement="parameter",e.typeParameterElement="type parameter",e.primitiveType="primitive type",e.label="label",e.alias="alias",e.constElement="const",e.letElement="let",e.directory="directory",e.externalModuleName="external module name",e.jsxAttribute="JSX attribute",e.string="string"}(e.ScriptElementKind||(e.ScriptElementKind={})),function(e){e.none="",e.publicMemberModifier="public",e.privateMemberModifier="private",e.protectedMemberModifier="protected",e.exportedModifier="export",e.ambientModifier="declare",e.staticModifier="static",e.abstractModifier="abstract",e.optionalModifier="optional",e.dtsModifier=".d.ts",e.tsModifier=".ts",e.tsxModifier=".tsx",e.jsModifier=".js",e.jsxModifier=".jsx",e.jsonModifier=".json"}(e.ScriptElementKindModifier||(e.ScriptElementKindModifier={})),function(e){e.comment="comment",e.identifier="identifier",e.keyword="keyword",e.numericLiteral="number",e.bigintLiteral="bigint",e.operator="operator",e.stringLiteral="string",e.whiteSpace="whitespace",e.text="text",e.punctuation="punctuation",e.className="class name",e.enumName="enum name",e.interfaceName="interface name",e.moduleName="module name",e.typeParameterName="type parameter name",e.typeAliasName="type alias name",e.parameterName="parameter name",e.docCommentTagName="doc comment tag name",e.jsxOpenTagName="jsx open tag name",e.jsxCloseTagName="jsx close tag name",e.jsxSelfClosingTagName="jsx self closing tag name",e.jsxAttribute="jsx attribute",e.jsxText="jsx text",e.jsxAttributeStringLiteralValue="jsx attribute string literal value"}(e.ClassificationTypeNames||(e.ClassificationTypeNames={})),function(e){e[e.comment=1]="comment",e[e.identifier=2]="identifier",e[e.keyword=3]="keyword",e[e.numericLiteral=4]="numericLiteral",e[e.operator=5]="operator",e[e.stringLiteral=6]="stringLiteral",e[e.regularExpressionLiteral=7]="regularExpressionLiteral",e[e.whiteSpace=8]="whiteSpace",e[e.text=9]="text",e[e.punctuation=10]="punctuation",e[e.className=11]="className",e[e.enumName=12]="enumName",e[e.interfaceName=13]="interfaceName",e[e.moduleName=14]="moduleName",e[e.typeParameterName=15]="typeParameterName",e[e.typeAliasName=16]="typeAliasName",e[e.parameterName=17]="parameterName",e[e.docCommentTagName=18]="docCommentTagName",e[e.jsxOpenTagName=19]="jsxOpenTagName",e[e.jsxCloseTagName=20]="jsxCloseTagName",e[e.jsxSelfClosingTagName=21]="jsxSelfClosingTagName",e[e.jsxAttribute=22]="jsxAttribute",e[e.jsxText=23]="jsxText",e[e.jsxAttributeStringLiteralValue=24]="jsxAttributeStringLiteralValue",e[e.bigintLiteral=25]="bigintLiteral"}(e.ClassificationType||(e.ClassificationType={}))}(u||(u={})),function(e){function n(n){switch(n.kind){case 241:return e.isInJSFile(n)&&e.getJSDocEnumTag(n)?7:1;case 155:case 190:case 158:case 157:case 279:case 280:case 160:case 159:case 161:case 162:case 163:case 243:case 200:case 201:case 278:case 271:return 1;case 154:case 245:case 246:case 172:return 2;case 315:return void 0===n.name?3:2;case 282:case 244:return 3;case 248:return e.isAmbientModule(n)||1===e.getModuleInstanceState(n)?5:4;case 247:case 256:case 257:case 252:case 253:case 258:case 259:return 7;case 288:return 5}return 7}function t(n){for(;152===n.parent.kind;)n=n.parent;return e.isInternalModuleImportEqualsDeclaration(n.parent)&&n.parent.moduleReference===n}function r(e,n){var t=a(e);return!!t&&!!t.parent&&n(t.parent)&&t.parent.expression===t}function a(e){return s(e)?e.parent:e}function i(n){return 75===n.kind&&e.isBreakOrContinueStatement(n.parent)&&n.parent.label===n}function o(n){return 75===n.kind&&e.isLabeledStatement(n.parent)&&n.parent.label===n}function s(e){return e&&e.parent&&193===e.parent.kind&&e.parent.name===e}e.scanner=e.createScanner(99,!0),function(e){e[e.None=0]="None",e[e.Value=1]="Value",e[e.Type=2]="Type",e[e.Namespace=4]="Namespace",e[e.All=7]="All"}(e.SemanticMeaning||(e.SemanticMeaning={})),e.getMeaningFromDeclaration=n,e.getMeaningFromLocation=function(r){return 288===r.kind?1:258===r.parent.kind||263===r.parent.kind?7:t(r)?function(n){var t=152===n.kind?n:e.isQualifiedName(n.parent)&&n.parent.right===n?n.parent:void 0;return t&&252===t.parent.kind?7:4}(r):e.isDeclarationName(r)?n(r.parent):function(n){e.isRightSideOfQualifiedNameOrPropertyAccess(n)&&(n=n.parent);switch(n.kind){case 103:return!e.isExpressionNode(n);case 182:return!0}switch(n.parent.kind){case 168:return!0;case 187:return!n.parent.isTypeOf;case 215:return!e.isExpressionWithTypeArgumentsInClassExtendsClause(n.parent)}return!1}(r)?2:function(e){return function(e){var n=e,t=!0;if(152===n.parent.kind){for(;n.parent&&152===n.parent.kind;)n=n.parent;t=n.right===e}return 168===n.parent.kind&&!t}(e)||function(e){var n=e,t=!0;if(193===n.parent.kind){for(;n.parent&&193===n.parent.kind;)n=n.parent;t=n.name===e}if(!t&&215===n.parent.kind&&277===n.parent.parent.kind){var r=n.parent.parent.parent;return 244===r.kind&&112===n.parent.parent.token||245===r.kind&&89===n.parent.parent.token}return!1}(e)}(r)?4:e.isTypeParameterDeclaration(r.parent)?(e.Debug.assert(e.isJSDocTemplateTag(r.parent.parent)),2):e.isLiteralTypeNode(r.parent)?3:1},e.isInRightSideOfInternalImportEqualsDeclaration=t,e.isCallExpressionTarget=function(n){return r(n,e.isCallExpression)},e.isNewExpressionTarget=function(n){return r(n,e.isNewExpression)},e.isCallOrNewExpressionTarget=function(n){return r(n,e.isCallOrNewExpression)},e.climbPastPropertyAccess=a,e.getTargetLabel=function(e,n){for(;e;){if(237===e.kind&&e.label.escapedText===n)return e.label;e=e.parent}},e.hasPropertyAccessExpressionWithName=function(n,t){return!!e.isPropertyAccessExpression(n.expression)&&n.expression.name.text===t},e.isJumpStatementTarget=i,e.isLabelOfLabeledStatement=o,e.isLabelName=function(e){return o(e)||i(e)},e.isTagName=function(n){return e.isJSDocTag(n.parent)&&n.parent.tagName===n},e.isRightSideOfQualifiedName=function(e){return 152===e.parent.kind&&e.parent.right===e},e.isRightSideOfPropertyAccess=s,e.isNameOfModuleDeclaration=function(e){return 248===e.parent.kind&&e.parent.name===e},e.isNameOfFunctionDeclaration=function(n){return 75===n.kind&&e.isFunctionLike(n.parent)&&n.parent.name===n},e.isLiteralNameOfPropertyDeclarationOrIndexAccess=function(n){switch(n.parent.kind){case 158:case 157:case 279:case 282:case 160:case 159:case 162:case 163:case 248:return e.getNameOfDeclaration(n.parent)===n;case 194:return n.parent.argumentExpression===n;case 153:return!0;case 186:return 184===n.parent.parent.kind;default:return!1}},e.isExpressionOfExternalModuleImportEqualsDeclaration=function(n){return e.isExternalModuleImportEqualsDeclaration(n.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(n.parent.parent)===n},e.getContainerNode=function(n){for(e.isJSDocTypeAlias(n)&&(n=n.parent.parent);;){if(!(n=n.parent))return;switch(n.kind){case 288:case 160:case 159:case 243:case 200:case 162:case 163:case 244:case 245:case 247:case 248:return n}}},e.getNodeKind=function n(t){switch(t.kind){case 288:return e.isExternalModule(t)?"module":"script";case 248:return"module";case 244:case 213:return"class";case 245:return"interface";case 246:case 308:case 315:return"type";case 247:return"enum";case 241:return s(t);case 190:return s(e.getRootDeclaration(t));case 201:case 243:case 200:return"function";case 162:return"getter";case 163:return"setter";case 160:case 159:return"method";case 279:var r=t.initializer;return e.isFunctionLike(r)?"method":"property";case 158:case 157:case 280:case 281:return"property";case 166:return"index";case 165:return"construct";case 164:return"call";case 161:return"constructor";case 154:return"type parameter";case 282:return"enum member";case 155:return e.hasModifier(t,92)?"property":"parameter";case 252:case 257:case 261:case 255:return"alias";case 208:var a=e.getAssignmentDeclarationKind(t),i=t.right;switch(a){case 7:case 8:case 9:case 0:return"";case 1:case 2:var o=n(i);return""===o?"const":o;case 3:return e.isFunctionExpression(i)?"method":"property";case 4:return"property";case 5:return e.isFunctionExpression(i)?"method":"property";case 6:return"local class";default:return e.assertType(a),""}case 75:return e.isImportClause(t.parent)?"alias":"";default:return""}function s(n){return e.isVarConst(n)?"const":e.isLet(n)?"let":"var"}},e.isThis=function(n){switch(n.kind){case 103:return!0;case 75:return e.identifierIsThisKeyword(n)&&155===n.parent.kind;default:return!1}};var l=/^\/\/\/\s*=t.end}function m(e,n,t,r){return Math.max(e,t)n)break;var c=l.getEnd();if(n=n||!I(c,t)||L(c)){var d=S(s,l,t);return d&&T(d,t)}return i(c)}}e.Debug.assert(void 0!==r||288===o.kind||1===o.kind||e.isJSDocCommentContainingNode(o));var u=S(s,s.length,t);return u&&T(u,t)}(r||t);return e.Debug.assert(!(i&&L(i))),i}function E(n){return e.isToken(n)&&!L(n)}function T(e,n){if(E(e))return e;var t=e.getChildren(n),r=S(t,t.length,n);return r&&T(r,n)}function S(n,t,r){for(var a=t-1;a>=0;a--){if(L(n[a]))e.Debug.assert(a>0,"`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(I(n[a],r))return n[a]}}function L(n){return e.isJsxText(n)&&n.containsOnlyTriviaWhiteSpaces}function A(e,n,t){for(var r=e.kind,a=0;;){var i=b(e.getFullStart(),t);if(!i)return;if((e=i).kind===n){if(0===a)return e;a--}else e.kind===r&&a++}}function x(e,n,t){return n?e.getNonNullableType():t?e.getNonOptionalType():e}function C(n,t,r){var a=r.getTypeAtLocation(n);return e.isOptionalChain(n.parent)&&(a=x(a,!!n.parent.questionDotToken,!0)),(e.isNewExpression(n.parent)?a.getConstructSignatures():a.getCallSignatures()).filter((function(e){return!!e.typeParameters&&e.typeParameters.length>=t}))}function D(n,t){for(var r=n,a=0,i=0;r;){switch(r.kind){case 29:if((r=b(r.getFullStart(),t))&&28===r.kind&&(r=b(r.getFullStart(),t)),!r||!e.isIdentifier(r))return;if(!a)return e.isDeclarationName(r)?void 0:{called:r,nTypeArguments:i};a--;break;case 49:a=3;break;case 48:a=2;break;case 31:a++;break;case 19:if(!(r=A(r,18,t)))return;break;case 21:if(!(r=A(r,20,t)))return;break;case 23:if(!(r=A(r,22,t)))return;break;case 27:i++;break;case 38:case 75:case 10:case 8:case 9:case 105:case 90:case 107:case 89:case 133:case 24:case 51:case 57:case 58:break;default:if(e.isTypeNode(r))break;return}r=b(r.getFullStart(),t)}}function R(n,t,r){return e.formatting.getRangeOfEnclosingComment(n,t,void 0,r)}function I(e,n){return 1===e.kind?!!e.jsDoc:0!==e.getWidth(n)}function M(e,n,t){var r=R(e,n,void 0);return!!r&&t===l.test(e.text.substring(r.pos,r.end))}function O(e,n){return{span:e,newText:n}}function k(e){return!!e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames()}function N(n,t,r,a){return e.createImportDeclaration(void 0,void 0,n||t?e.createImportClause(n,t&&t.length?e.createNamedImports(t):void 0):void 0,"string"==typeof r?w(r,a):r)}function w(n,t){return e.createLiteral(n,0===t)}function P(n,t){return e.isStringDoubleQuoted(n,t)?1:0}function G(n){return"default"!==n.escapedName?n.escapedName:e.firstDefined(n.declarations,(function(n){var t=e.getNameOfDeclaration(n);return t&&75===t.kind?t.escapedText:void 0}))}function F(n,t,r,a){var i=e.createMap();return function n(o){if(!(96&o.flags&&e.addToSeen(i,e.getSymbolId(o))))return;return e.firstDefined(o.declarations,(function(i){return e.firstDefined(e.getAllSuperTypeNodes(i),(function(i){var o=r.getTypeAtLocation(i),s=o&&o.symbol&&r.getPropertyOfType(o,t);return o&&s&&(e.firstDefined(r.getRootSymbols(s),a)||n(o.symbol))}))}))}(n)}function V(n,t,r){return e.textSpanContainsPosition(n,t.getStart(r))&&t.getEnd()<=e.textSpanEnd(n)}function B(e,n){return!!e&&!!n&&e.start===n.start&&e.length===n.length}e.getLineStartPositionForPosition=function(n,t){return e.getLineStarts(t)[t.getLineAndCharacterOfPosition(n).line]},e.rangeContainsRange=c,e.rangeContainsRangeExclusive=function(e,n){return d(e,n.pos)&&d(e,n.end)},e.rangeContainsPosition=function(e,n){return e.pos<=n&&n<=e.end},e.rangeContainsPositionExclusive=d,e.startEndContainsRange=u,e.rangeContainsStartEnd=function(e,n,t){return e.pos<=n&&e.end>=t},e.rangeOverlapsWithStartEnd=function(e,n,t){return m(e.pos,e.end,n,t)},e.nodeOverlapsWithStartEnd=function(e,n,t,r){return m(e.getStart(n),e.end,t,r)},e.startEndOverlapsWithStartEnd=m,e.positionBelongsToNode=function(n,t,r){return e.Debug.assert(n.pos<=t),tr.getStart(n)&&tn.end||e.pos===n.end)&&I(e,r)?t(e):void 0}))}(t)},e.findPrecedingToken=b,e.isInString=function(n,t,r){if(void 0===r&&(r=b(t,n)),r&&e.isStringTextContainingNode(r)){var a=r.getStart(n),i=r.getEnd();if(ar.getStart(n)},e.isInJSXText=function(n,t){var r=v(n,t);return!!e.isJsxText(r)||(!(18!==r.kind||!e.isJsxExpression(r.parent)||!e.isJsxElement(r.parent.parent))||!(29!==r.kind||!e.isJsxOpeningLikeElement(r.parent)||!e.isJsxElement(r.parent.parent)))},e.findPrecedingMatchingToken=A,e.removeOptionality=x,e.isPossiblyTypeArgumentPosition=function n(t,r,a){var i=D(t,r);return void 0!==i&&(e.isPartOfTypeNode(i.called)||0!==C(i.called,i.nTypeArguments,a).length||n(i.called,r,a))},e.getPossibleGenericSignatures=C,e.getPossibleTypeArgumentsInfo=D,e.isInComment=R,e.hasDocComment=function(n,t){var r=v(n,t);return!!e.findAncestor(r,e.isJSDoc)},e.getNodeModifiers=function(n){var t=e.isDeclaration(n)?e.getCombinedModifierFlags(n):0,r=[];return 8&t&&r.push("private"),16&t&&r.push("protected"),4&t&&r.push("public"),32&t&&r.push("static"),128&t&&r.push("abstract"),1&t&&r.push("export"),8388608&n.flags&&r.push("declare"),r.length>0?r.join(","):""},e.getTypeArgumentOrTypeParameterList=function(n){return 168===n.kind||195===n.kind?n.typeArguments:e.isFunctionLike(n)||244===n.kind||245===n.kind?n.typeParameters:void 0},e.isComment=function(e){return 2===e||3===e},e.isStringOrRegularExpressionOrTemplateLiteral=function(n){return!(10!==n&&13!==n&&!e.isTemplateLiteralKind(n))},e.isPunctuation=function(e){return 18<=e&&e<=74},e.isInsideTemplateLiteral=function(n,t,r){return e.isTemplateLiteralKind(n.kind)&&n.getStart(r)=2||!!e.noEmit},e.hostUsesCaseSensitiveFileNames=k,e.hostGetCanonicalFileName=function(n){return e.createGetCanonicalFileName(k(n))},e.makeImportIfNecessary=function(e,n,t,r){return e||n&&n.length?N(e,n,t,r):void 0},e.makeImport=N,e.makeStringLiteral=w,function(e){e[e.Single=0]="Single",e[e.Double=1]="Double"}(e.QuotePreference||(e.QuotePreference={})),e.quotePreferenceFromString=P,e.getQuotePreference=function(n,t){if(t.quotePreference&&"auto"!==t.quotePreference)return"single"===t.quotePreference?0:1;var r=n.imports&&e.find(n.imports,e.isStringLiteral);return r?P(r,n):1},e.getQuoteFromPreference=function(n){switch(n){case 0:return"'";case 1:return'"';default:return e.Debug.assertNever(n)}},e.symbolNameNoDefault=function(n){var t=G(n);return void 0===t?void 0:e.unescapeLeadingUnderscores(t)},e.symbolEscapedNameNoDefault=G,e.isObjectBindingElementWithoutPropertyName=function(n){return e.isBindingElement(n)&&e.isObjectBindingPattern(n.parent)&&e.isIdentifier(n.name)&&!n.propertyName},e.getPropertySymbolFromBindingElement=function(e,n){var t=e.getTypeAtLocation(n.parent);return t&&e.getPropertyOfType(t,n.name.text)},e.getPropertySymbolsFromBaseTypes=F,e.isMemberSymbolInBaseType=function(e,n){return F(e.parent,e.name,n,(function(e){return!0}))||!1},e.getParentNodeInSpan=function(n,t,r){if(n)for(;n.parent;){if(e.isSourceFile(n.parent)||!V(r,n.parent,t))return n;n=n.parent}},e.findModifier=function(n,t){return n.modifiers&&e.find(n.modifiers,(function(e){return e.kind===t}))},e.insertImport=function(n,t,r){var a=e.findLast(t.statements,e.isAnyImportSyntax);a?n.insertNodeAfter(t,a,r):n.insertNodeAtTopOfFile(t,r,!0)},e.textSpansEqual=B,e.documentSpansEqual=function(e,n){return e.fileName===n.fileName&&B(e.textSpan,n.textSpan)},e.forEachUnique=function(e,n){if(e)for(var t=0;t0&&155===e.declarations[0].kind}e.isFirstDeclarationOfSymbolParameter=n;var t=function(){var n,t,i,o,s=10*e.defaultMaximumTruncationLength;m();var c=function(n){return u(n,e.SymbolDisplayPartKind.text)};return{displayParts:function(){var t=n.length&&n[n.length-1].text;return o>s&&t&&"..."!==t&&(e.isWhiteSpaceLike(t.charCodeAt(t.length-1))||n.push(a(" ",e.SymbolDisplayPartKind.space)),n.push(a("...",e.SymbolDisplayPartKind.punctuation))),n},writeKeyword:function(n){return u(n,e.SymbolDisplayPartKind.keyword)},writeOperator:function(n){return u(n,e.SymbolDisplayPartKind.operator)},writePunctuation:function(n){return u(n,e.SymbolDisplayPartKind.punctuation)},writeTrailingSemicolon:function(n){return u(n,e.SymbolDisplayPartKind.punctuation)},writeSpace:function(n){return u(n,e.SymbolDisplayPartKind.space)},writeStringLiteral:function(n){return u(n,e.SymbolDisplayPartKind.stringLiteral)},writeParameter:function(n){return u(n,e.SymbolDisplayPartKind.parameterName)},writeProperty:function(n){return u(n,e.SymbolDisplayPartKind.propertyName)},writeLiteral:function(n){return u(n,e.SymbolDisplayPartKind.stringLiteral)},writeSymbol:function(e,t){if(o>s)return;d(),o+=e.length,n.push(r(e,t))},writeLine:function(){if(o>s)return;o+=1,n.push(l()),t=!0},write:c,writeComment:c,getText:function(){return""},getTextPos:function(){return 0},getColumn:function(){return 0},getLine:function(){return 0},isAtStartOfLine:function(){return!1},hasTrailingWhitespace:function(){return!1},hasTrailingComment:function(){return!1},rawWrite:e.notImplemented,getIndent:function(){return i},increaseIndent:function(){i++},decreaseIndent:function(){i--},clear:m,trackSymbol:e.noop,reportInaccessibleThisError:e.noop,reportInaccessibleUniqueSymbolError:e.noop,reportPrivateInBaseOfClassExpression:e.noop};function d(){if(!(o>s)&&t){var r=e.getIndentString(i);r&&(o+=r.length,n.push(a(r,e.SymbolDisplayPartKind.space))),t=!1}}function u(e,t){o>s||(d(),o+=e.length,n.push(a(e,t)))}function m(){n=[],t=!0,i=0,o=0}}();function r(t,r){return a(t,function(t){var r=t.flags;if(3&r)return n(t)?e.SymbolDisplayPartKind.parameterName:e.SymbolDisplayPartKind.localName;if(4&r)return e.SymbolDisplayPartKind.propertyName;if(32768&r)return e.SymbolDisplayPartKind.propertyName;if(65536&r)return e.SymbolDisplayPartKind.propertyName;if(8&r)return e.SymbolDisplayPartKind.enumMemberName;if(16&r)return e.SymbolDisplayPartKind.functionName;if(32&r)return e.SymbolDisplayPartKind.className;if(64&r)return e.SymbolDisplayPartKind.interfaceName;if(384&r)return e.SymbolDisplayPartKind.enumName;if(1536&r)return e.SymbolDisplayPartKind.moduleName;if(8192&r)return e.SymbolDisplayPartKind.methodName;if(262144&r)return e.SymbolDisplayPartKind.typeParameterName;if(524288&r)return e.SymbolDisplayPartKind.aliasName;if(2097152&r)return e.SymbolDisplayPartKind.aliasName;return e.SymbolDisplayPartKind.text}(r))}function a(n,t){return{text:n,kind:e.SymbolDisplayPartKind[t]}}function i(n){return a(e.tokenToString(n),e.SymbolDisplayPartKind.keyword)}function o(n){return a(n,e.SymbolDisplayPartKind.text)}e.symbolPart=r,e.displayPart=a,e.spacePart=function(){return a(" ",e.SymbolDisplayPartKind.space)},e.keywordPart=i,e.punctuationPart=function(n){return a(e.tokenToString(n),e.SymbolDisplayPartKind.punctuation)},e.operatorPart=function(n){return a(e.tokenToString(n),e.SymbolDisplayPartKind.operator)},e.textOrKeywordPart=function(n){var t=e.stringToToken(n);return void 0===t?o(n):i(t)},e.textPart=o;function l(){return a("\n",e.SymbolDisplayPartKind.lineBreak)}function c(e){try{return e(t),t.displayParts()}finally{t.clear()}}function d(n,t){return e.ensureScriptKind(n,t&&t.getScriptKind&&t.getScriptKind(n))}function u(e){return 0!=(33554432&e.flags)}function m(e){return 0!=(2097152&e.flags)}function p(e,n){void 0===n&&(n=!0);var t=e&&g(e);return t&&!n&&_(t),t}function f(n,t,r,a,i){var o;if(void 0===t&&(t=!0),r&&a&&e.isBindingElement(n)&&e.isIdentifier(n.name)&&e.isObjectBindingPattern(n.parent))(l=(s=a.getSymbolAtLocation(n.name))&&r.get(String(e.getSymbolId(s))))&&l.text!==(n.name||n.propertyName).getText()&&(o=e.createBindingElement(n.dotDotDotToken,n.propertyName||n.name,l,n.initializer));else if(r&&a&&e.isIdentifier(n)){var s,l;(l=(s=a.getSymbolAtLocation(n))&&r.get(String(e.getSymbolId(s))))&&(o=e.createIdentifier(l.text))}return o||(o=g(n,r,a,i)),o&&!t&&_(o),i&&o&&i(n,o),o}function g(n,t,r,a){var i=t||r||a?e.visitEachChild(n,(function(e){return f(e,!0,t,r,a)}),e.nullTransformationContext):e.visitEachChild(n,p,e.nullTransformationContext);if(i===n){var o=e.getSynthesizedClone(n);return e.isStringLiteral(o)?o.textSourceNode=n:e.isNumericLiteral(o)&&(o.numericLiteralFlags=n.numericLiteralFlags),e.setTextRange(o,n)}return i.parent=void 0,i}function _(e){y(e),v(e)}function y(e){h(e,512,b)}function v(n){h(n,1024,e.getLastChild)}function h(n,t,r){e.addEmitFlags(n,t);var a=r(n);a&&h(a,t,r)}function b(e){return e.forEachChild((function(e){return e}))}function E(e,n,t,r,a){return function(i,o,s,l){3===s?(i+=2,o-=2):i+=2,a(e,t||s,n.text.slice(i,o),void 0!==r?r:l)}}function T(n,t){if(e.startsWith(n,t))return 0;var r=n.indexOf(" "+t);return-1===r&&(r=n.indexOf("."+t)),-1===r&&(r=n.indexOf('"'+t)),-1===r?-1:r+1}function S(e){switch(e){case 36:case 34:case 37:case 35:return!0;default:return!1}}function L(e,n){return n.getTypeAtLocation(e.parent.parent.expression)}function A(e){return 164===e||165===e||166===e||157===e||159===e}function x(e){return 243===e||161===e||160===e||162===e||163===e}function C(e){return 248===e}function D(e){return 224===e||225===e||227===e||232===e||233===e||234===e||238===e||240===e||158===e||246===e||253===e||252===e||259===e||251===e||258===e}function R(e,n){return M(e,e.fileExists,n)}function I(e){try{return e()}catch(e){return}}function M(e,n){for(var t=[],r=2;r-1&&e.isWhiteSpaceSingleLine(n.charCodeAt(t));)t-=1;return t+1},e.getSynthesizedDeepClone=p,e.getSynthesizedDeepCloneWithRenames=f,e.getSynthesizedDeepClones=function(n,t){return void 0===t&&(t=!0),n&&e.createNodeArray(n.map((function(e){return p(e,t)})),n.hasTrailingComma)},e.suppressLeadingAndTrailingTrivia=_,e.suppressLeadingTrivia=y,e.suppressTrailingTrivia=v,e.getUniqueName=function(n,t){for(var r=n,a=1;!e.isFileLevelUniqueName(t,r);a++)r=n+"_"+a;return r},e.getRenameLocation=function(n,t,r,a){for(var i=0,o=-1,s=0,l=n;s=0),o},e.copyLeadingComments=function(n,t,r,a,i){e.forEachLeadingCommentRange(r.text,n.pos,E(t,r,a,i,e.addSyntheticLeadingComment))},e.copyTrailingComments=function(n,t,r,a,i){e.forEachTrailingCommentRange(r.text,n.end,E(t,r,a,i,e.addSyntheticTrailingComment))},e.copyTrailingAsLeadingComments=function(n,t,r,a,i){e.forEachTrailingCommentRange(r.text,n.pos,E(t,r,a,i,e.addSyntheticLeadingComment))},e.getContextualTypeFromParent=function(e,n){var t=e.parent;switch(t.kind){case 196:return n.getContextualType(t);case 208:var r=t,a=r.left,i=r.operatorToken,o=r.right;return S(i.kind)?n.getTypeAtLocation(e===o?a:o):n.getContextualType(e);case 275:return t.expression===e?L(t,n):void 0;default:return n.getContextualType(e)}},e.quote=function(n,t){if(/^\d+$/.test(n))return n;var r=t.quotePreference||"auto",a=JSON.stringify(n);switch(r){case"auto":case"double":return a;case"single":return"'"+e.stripQuotes(a).replace("'","\\'").replace('\\"','"')+"'";default:return e.Debug.assertNever(r)}},e.isEqualityOperatorKind=S,e.isStringLiteralOrTemplate=function(e){switch(e.kind){case 10:case 14:case 210:case 197:return!0;default:return!1}},e.hasIndexSignature=function(e){return!!e.getStringIndexType()||!!e.getNumberIndexType()},e.getSwitchedType=L,e.getTypeNodeIfAccessible=function(e,n,t,r){var a=t.getTypeChecker(),i=!0,o=function(){i=!1},s=a.typeToTypeNode(e,n,void 0,{trackSymbol:function(e,n,t){i=i&&0===a.isSymbolAccessible(e,n,t,!1).accessibility},reportInaccessibleThisError:o,reportPrivateInBaseOfClassExpression:o,reportInaccessibleUniqueSymbolError:o,moduleResolverHost:{readFile:r.readFile,fileExists:r.fileExists,directoryExists:r.directoryExists,getSourceFiles:t.getSourceFiles,getCurrentDirectory:t.getCurrentDirectory,getCommonSourceDirectory:t.getCommonSourceDirectory}});return i?s:void 0},e.syntaxRequiresTrailingCommaOrSemicolonOrASI=A,e.syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI=x,e.syntaxRequiresTrailingModuleBlockOrSemicolonOrASI=C,e.syntaxRequiresTrailingSemicolonOrASI=D,e.syntaxMayBeASICandidate=e.or(A,x,C,D),e.isASICandidate=function(n,t){var r=n.getLastToken(t);if(r&&26===r.kind)return!1;if(A(n.kind)){if(r&&27===r.kind)return!1}else if(C(n.kind)){if((a=e.last(n.getChildren(t)))&&e.isModuleBlock(a))return!1}else if(x(n.kind)){var a;if((a=e.last(n.getChildren(t)))&&e.isFunctionBlock(a))return!1}else if(!D(n.kind))return!1;if(227===n.kind)return!0;var i=e.findAncestor(n,(function(e){return!e.parent})),o=e.findNextToken(n,i,t);return!o||19===o.kind||t.getLineAndCharacterOfPosition(n.getEnd()).line!==t.getLineAndCharacterOfPosition(o.getStart(t)).line},e.probablyUsesSemicolons=function(n){var t=0,r=0;return e.forEachChild(n,(function a(i){if(D(i.kind)){var o=i.getLastToken(n);o&&26===o.kind?t++:r++}return t+r>=5||e.forEachChild(i,a)})),0===t&&r<=1||t/r>.2},e.tryGetDirectories=function(e,n){return M(e,e.getDirectories,n)||[]},e.tryReadDirectory=function(n,t,r,a,i){return M(n,n.readDirectory,t,r,a,i)||e.emptyArray},e.tryFileExists=R,e.tryDirectoryExists=function(n,t){return I((function(){return e.directoryProbablyExists(t,n)}))||!1},e.tryAndIgnoreErrors=I,e.tryIOAndConsumeErrors=M,e.findPackageJsons=function(n,t,r){var a=[];return e.forEachAncestorDirectory(n,(function(n){if(n===r)return!0;var i=e.combinePaths(n,"package.json");R(t,i)&&a.push(i)})),a},e.findPackageJson=function(n,t){var r;return e.forEachAncestorDirectory(n,(function(n){return"node_modules"===n||(!!(r=e.findConfigFile(n,(function(e){return R(t,e)}),"package.json"))||void 0)})),r},e.getPackageJsonsVisibleToFile=function(n,t){if(!t.fileExists)return[];var r=[];return e.forEachAncestorDirectory(e.getDirectoryPath(n),(function(n){var a=e.combinePaths(n,"package.json");if(t.fileExists(a)){var i=O(a,t);i&&r.push(i)}})),r},e.createPackageJsonInfo=O,e.consumesNodeCoreModules=function(n){return e.some(n.imports,(function(n){var t=n.text;return e.JsTyping.nodeCoreModules.has(t)}))},e.isInsideNodeModules=function(n){return e.contains(e.getPathComponents(n),"node_modules")}}(u||(u={})),function(e){e.createClassifier=function(){var o=e.createScanner(99,!1);function s(a,s,l){var c=0,d=0,u=[],m=function(n){switch(n){case 3:return{prefix:'"\\\n'};case 2:return{prefix:"'\\\n"};case 1:return{prefix:"/*\n"};case 4:return{prefix:"`\n"};case 5:return{prefix:"}\n",pushTemplate:!0};case 6:return{prefix:"",pushTemplate:!0};case 0:return{prefix:""};default:return e.Debug.assertNever(n)}}(s),p=m.prefix,f=m.pushTemplate;a=p+a;var g=p.length;f&&u.push(15),o.setText(a);var _=0,y=[],v=0;do{c=o.scan(),e.isTrivia(c)||(E(),d=c);var h=o.getTextPos();if(r(o.getTokenPos(),h,g,i(c),y),h>=a.length){var b=t(o,c,e.lastOrUndefined(u));void 0!==b&&(_=b)}}while(1!==c);function E(){switch(c){case 43:case 67:n[d]||13!==o.reScanSlashToken()||(c=13);break;case 29:75===d&&v++;break;case 31:v>0&&v--;break;case 124:case 142:case 139:case 127:case 143:v>0&&!l&&(c=75);break;case 15:u.push(c);break;case 18:u.length>0&&u.push(c);break;case 19:if(u.length>0){var t=e.lastOrUndefined(u);15===t?17===(c=o.reScanTemplateToken())?u.pop():e.Debug.assertEqual(c,16,"Should have been a template middle."):(e.Debug.assertEqual(t,18,"Should have been an open brace"),u.pop())}break;default:if(!e.isKeyword(c))break;(24===d||e.isKeyword(d)&&e.isKeyword(c)&&!function(n,t){if(!e.isAccessibilityModifier(n))return!0;switch(t){case 130:case 141:case 128:case 119:return!0;default:return!1}}(d,c))&&(c=75)}}return{endOfLineState:_,spans:y}}return{getClassificationsForLine:function(n,t,r){return function(n,t){for(var r=[],i=n.spans,o=0,s=0;s=0){var u=l-o;u>0&&r.push({length:u,classification:e.TokenClass.Whitespace})}r.push({length:c,classification:a(d)}),o=l+c}var m=t.length-o;m>0&&r.push({length:m,classification:e.TokenClass.Whitespace});return{entries:r,finalLexState:n.endOfLineState}}(s(n,t,r),n)},getEncodedLexicalClassifications:s}};var n=e.arrayToNumericMap([75,10,8,9,13,103,45,46,21,23,19,105,90],(function(e){return e}),(function(){return!0}));function t(n,t,r){switch(t){case 10:if(!n.isUnterminated())return;for(var a=n.getTokenText(),i=a.length-1,o=0;92===a.charCodeAt(i-o);)o++;if(0==(1&o))return;return 34===a.charCodeAt(0)?3:2;case 3:return n.isUnterminated()?1:void 0;default:if(e.isTemplateLiteralKind(t)){if(!n.isUnterminated())return;switch(t){case 17:return 5;case 14:return 4;default:return e.Debug.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+t)}}return 15===r?6:void 0}}function r(e,n,t,r,a){if(8!==r){0===e&&t>0&&(e+=t);var i=n-e;i>0&&a.push(e-t,i,r)}}function a(n){switch(n){case 1:return e.TokenClass.Comment;case 3:return e.TokenClass.Keyword;case 4:return e.TokenClass.NumberLiteral;case 25:return e.TokenClass.BigIntLiteral;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:return e.TokenClass.Identifier;default:return}}function i(n){if(e.isKeyword(n))return 3;if(function(e){switch(e){case 41:case 43:case 44:case 39:case 40:case 47:case 48:case 49:case 29:case 31:case 32:case 33:case 97:case 96:case 122:case 34:case 35:case 36:case 37:case 50:case 52:case 51:case 55:case 56:case 73:case 72:case 74:case 69:case 70:case 71:case 63:case 64:case 65:case 67:case 68:case 62:case 27:case 60:return!0;default:return!1}}(n)||function(e){switch(e){case 39:case 40:case 54:case 53:case 45:case 46:return!0;default:return!1}}(n))return 5;if(n>=18&&n<=74)return 10;switch(n){case 8:return 4;case 9:return 25;case 10:return 6;case 13:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 75:default:return e.isTemplateLiteralKind(n)?6:2}}function o(e,n){switch(n){case 248:case 244:case 245:case 243:e.throwIfCancellationRequested()}}function s(n,t,r,a,i){var s=[];return r.forEachChild((function l(c){if(c&&e.textSpanIntersectsWith(i,c.pos,c.getFullWidth())){if(o(t,c.kind),e.isIdentifier(c)&&!e.nodeIsMissing(c)&&a.has(c.escapedText)){var d=n.getSymbolAtLocation(c),u=d&&function n(t,r,a){var i=t.getFlags();return 0==(2885600&i)?void 0:32&i?11:384&i?12:524288&i?16:1536&i?4&r||1&r&&function(n){return e.some(n.declarations,(function(n){return e.isModuleDeclaration(n)&&1===e.getModuleInstanceState(n)}))}(t)?14:void 0:2097152&i?n(a.getAliasedSymbol(t),r,a):2&r?64&i?13:262144&i?15:void 0:void 0}(d,e.getMeaningFromLocation(c),n);u&&function(n,t,r){var a=t-n;e.Debug.assert(a>0,"Classification had non-positive length of "+a),s.push(n),s.push(a),s.push(r)}(c.getStart(r),c.getEnd(),u)}c.forEachChild(l)}})),{spans:s,endOfLineState:0}}function l(e){switch(e){case 1:return"comment";case 2:return"identifier";case 3:return"keyword";case 4:return"number";case 25:return"bigint";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";default:return}}function c(n){e.Debug.assert(n.spans.length%3==0);for(var t=n.spans,r=[],a=0;a])*)(\/>)?)?/im.exec(i);if(!o)return!1;if(!o[3]||!(o[3]in e.commentPragmas))return!1;var s=n;m(s,o[1].length),d(s+=o[1].length,o[2].length,10),d(s+=o[2].length,o[3].length,21),s+=o[3].length;var l=o[4],c=s;for(;;){var u=a.exec(l);if(!u)break;var p=s+u.index;p>c&&(m(c,p-c),c=p),d(c,u[1].length,22),c+=u[1].length,u[2].length&&(m(c,u[2].length),c+=u[2].length),d(c,u[3].length,5),c+=u[3].length,u[4].length&&(m(c,u[4].length),c+=u[4].length),d(c,u[5].length,24),c+=u[5].length}(s+=o[4].length)>c&&m(c,s-c);o[5]&&(d(s,o[5].length,10),s+=o[5].length);var f=n+r;s=0),i>0){var o=r||y(n.kind,n);o&&d(a,i,o)}return!0}function y(n,t){if(e.isKeyword(n))return 3;if((29===n||31===n)&&t&&e.getTypeArgumentOrTypeParameterList(t.parent))return 10;if(e.isPunctuation(n)){if(t){var r=t.parent;if(62===n&&(241===r.kind||158===r.kind||155===r.kind||271===r.kind))return 5;if(208===r.kind||206===r.kind||207===r.kind||209===r.kind)return 5}return 10}if(8===n)return 4;if(9===n)return 25;if(10===n)return t&&271===t.parent.kind?24:6;if(13===n)return 6;if(e.isTemplateLiteralKind(n))return 6;if(11===n)return 23;if(75===n){if(t)switch(t.parent.kind){case 244:return t.parent.name===t?11:void 0;case 154:return t.parent.name===t?15:void 0;case 245:return t.parent.name===t?13:void 0;case 247:return t.parent.name===t?12:void 0;case 248:return t.parent.name===t?14:void 0;case 155:return t.parent.name===t?e.isThisIdentifier(t)?3:17:void 0}return 2}}function v(r){if(r&&e.decodedTextSpanIntersectsWith(a,i,r.pos,r.getFullWidth())){o(n,r.kind);for(var s=0,l=r.getChildren(t);si.parameters.length)){var o=t.getParameterType(i,n.argumentIndex);return r=r||!!(4&o.flags),c(o,a)}})),isNewIdentifier:r}}(y,a):v()}case 253:case 259:case 263:return{kind:0,paths:p(n,t,i,o,a)};default:return v()}function v(){return{kind:2,types:c(e.getContextualTypeFromParent(t,a)),isNewIdentifier:!1}}}function l(n){return n&&{kind:1,symbols:n.getApparentProperties(),hasIndexSignature:e.hasIndexSignature(n)}}function c(n,t){return void 0===t&&(t=e.createMap()),n?(n=e.skipConstraint(n)).isUnion()?e.flatMap(n.types,(function(e){return c(e,t)})):!n.isStringLiteral()||1024&n.flags||!e.addToSeen(t,n.value)?e.emptyArray:[n]:e.emptyArray}function d(e,n,t){return{name:e,kind:n,extension:t}}function u(e){return d(e,"directory",void 0)}function m(n,t,r){var a=function(n,t){var r=Math.max(n.lastIndexOf(e.directorySeparator),n.lastIndexOf("\\")),a=-1!==r?r+1:0,i=n.length-a;return 0===i||e.isIdentifierText(n.substr(a,i),99)?void 0:e.createTextSpan(t+a,i)}(n,t);return r.map((function(e){return{name:e.name,kind:e.kind,extension:e.extension,span:a}}))}function p(n,t,r,a,i){return m(t.text,t.getStart(n)+1,function(n,t,r,a,i){var s=e.normalizeSlashes(t.text),l=n.path,c=e.getDirectoryPath(l);return function(e){if(e&&e.length>=2&&46===e.charCodeAt(0)){var n=e.length>=3&&46===e.charCodeAt(1)?2:1,t=e.charCodeAt(n);return 47===t||92===t}return!1}(s)||!r.baseUrl&&(e.isRootedDiskPath(s)||e.isUrl(s))?function(n,t,r,a,i){var s=f(r);return r.rootDirs?function(n,t,r,a,i,s,l){var c=i.project||s.getCurrentDirectory(),d=!(s.useCaseSensitiveFileNames&&s.useCaseSensitiveFileNames()),u=function(n,t,r,a){n=n.map((function(n){return e.normalizePath(e.isRootedDiskPath(n)?n:e.combinePaths(t,n))}));var i=e.firstDefined(n,(function(n){return e.containsPath(n,r,t,a)?r.substr(n.length):void 0}));return e.deduplicate(o(n.map((function(n){return e.combinePaths(n,i)})),[r]),e.equateStringsCaseSensitive,e.compareStringsCaseSensitive)}(n,c,r,d);return e.flatMap(u,(function(e){return _(t,e,a,s,l)}))}(r.rootDirs,n,t,s,r,a,i):_(n,t,s,a,i)}(s,c,r,a,l):function(n,t,r,a,i){var o=r.baseUrl,s=r.paths,l=[],c=f(r);if(o){var u=r.project||a.getCurrentDirectory(),m=e.normalizePath(e.combinePaths(u,o));_(n,m,c,a,void 0,l),s&&y(l,n,m,c.extensions,s,a)}for(var p=v(n),g=0,h=function(n,t,r){var a=r.getAmbientModules().map((function(n){return e.stripQuotes(n.name)})).filter((function(t){return e.startsWith(t,n)}));if(void 0!==t){var i=e.ensureTrailingDirectorySeparator(t);return a.map((function(n){return e.removePrefix(n,i)}))}return a}(n,p,i);g=e.pos&&t<=e.end}));if(!s)return;var l=n.text.slice(s.pos,t),c=E.exec(l);if(!c)return;var d=c[1],u=c[2],p=c[3],g=e.getDirectoryPath(n.path),y="path"===u?_(p,g,f(r,!0),a,n.path):"types"===u?b(a,r,g,v(p),f(r)):e.Debug.fail();return m(p,s.pos+d.length,y)}(t,a,l,c);return p&&r(p)}if(e.isInString(t,a,i))return i&&e.isStringLiteralLike(i)?function(t,a,i,o,s){if(void 0===t)return;switch(t.kind){case 0:return r(t.paths);case 1:var l=[];return n.getCompletionEntriesFromSymbols(t.symbols,l,a,a,i,99,o,4,s),{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:t.hasIndexSignature,entries:l};case 2:l=t.types.map((function(e){return{name:e.value,kindModifiers:"",kind:"string",sortText:"0"}}));return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:t.isNewIdentifier,entries:l};default:return e.Debug.assertNever(t)}}(s(t,i,a,o,l,c),t,o,d,u):void 0},t.getStringLiteralCompletionDetails=function(t,r,i,o,l,c,d,u){if(o&&e.isStringLiteralLike(o)){var m=s(r,o,i,l,c,d);return m&&function(t,r,i,o,s,l){switch(i.kind){case 0:return(c=e.find(i.paths,(function(e){return e.name===t})))&&n.createCompletionDetails(t,a(c.extension),c.kind,[e.textPart(t)]);case 1:var c;return(c=e.find(i.symbols,(function(e){return e.name===t})))&&n.createCompletionDetailsForSymbol(c,s,o,r,l);case 2:return e.find(i.types,(function(e){return e.value===t}))?n.createCompletionDetails(t,"","type",[e.textPart(t)]):void 0;default:return e.Debug.assertNever(i)}}(t,o,m,r,l,u)}},function(e){e[e.Paths=0]="Paths",e[e.Properties=1]="Properties",e[e.Types=2]="Types"}(i||(i={}));var E=/^(\/\/\/\s*"),kind:"class",kindModifiers:void 0,sortText:t.LocationPriority}]}}var R=[];if(l(n,a)){var I=y(d,R,g,n,r,a.target,i,u,s,_,T,E,b,L);!function(n,r,a,i,o){e.getNameTable(n).forEach((function(n,s){if(n!==r){var l=e.unescapeLeadingUnderscores(s);e.addToSeen(a,l)&&e.isIdentifierText(l,i)&&o.push({name:l,kind:"warning",kindModifiers:"",sortText:t.JavascriptIdentifiers})}}))}(n,g.pos,I,a.target,R)}else{if(!(f||d&&0!==d.length||0!==v))return;y(d,R,g,n,r,a.target,i,u,s,_,T,E,b,L)}if(0!==v)for(var M=e.arrayToSet(R,(function(e){return e.name})),O=0,k=function(n,t){if(!t)return D(n);var r=n+7+1;return x[r]||(x[r]=D(n).filter((function(n){return!function(e){switch(e){case 121:case 124:case 150:case 127:case 129:case 87:case 149:case 112:case 131:case 113:case 132:case 133:case 134:case 135:case 136:case 139:case 140:case 116:case 117:case 118:case 137:case 142:case 143:case 144:case 146:case 147:return!0;default:return!1}}(e.stringToToken(n.name))})))}(v,!S&&e.isSourceFileJS(n));O=n.pos;case 24:return 189===r;case 58:return 190===r;case 22:return 189===r;case 20:return 278===r||ie(r);case 18:return 247===r;case 29:return 244===r||213===r||245===r||246===r||e.isFunctionLikeKind(r);case 119:return 158===r&&!e.isClassLike(t.parent);case 25:return 155===r||!!t.parent&&189===t.parent.kind;case 118:case 116:case 117:return 155===r&&!e.isConstructorDeclaration(t.parent);case 122:return 257===r||261===r||255===r;case 130:case 141:return!w(n);case 79:case 87:case 113:case 93:case 108:case 95:case 114:case 80:case 120:case 144:return!0;case 41:return e.isFunctionLike(n.parent)&&!e.isMethodDeclaration(n.parent)}if(I(O(n))&&w(n))return!1;if(ae(n)&&(!e.isIdentifier(n)||e.isParameterPropertyModifier(O(n))||ce(n)))return!1;switch(O(n)){case 121:case 79:case 80:case 129:case 87:case 93:case 113:case 114:case 116:case 117:case 118:case 119:case 108:case 120:return!0;case 125:return e.isPropertyDeclaration(n.parent)}return e.isDeclarationName(n)&&!e.isJsxAttribute(n.parent)&&!(e.isClassLike(n.parent)&&(n!==v||o>v.end))}(n)||function(e){if(8===e.kind){var n=e.getFullText();return"."===n.charAt(n.length-1)}return!1}(n)||function(e){if(11===e.kind)return!0;if(31===e.kind&&e.parent){if(266===e.parent.kind)return!0;if(267===e.parent.kind||265===e.parent.kind)return!!e.parent.parent&&264===e.parent.parent.kind}return!1}(n);return r("getCompletionsAtPosition: isCompletionListBlocker: "+(e.timestamp()-t)),a}(b))return void r("Returning an empty list because completion was requested in an invalid position.");var F=b.parent;if(24===b.kind||28===b.kind)switch(A=24===b.kind,x=28===b.kind,F.kind){case 193:if((L=(T=F).expression).end===b.pos&&e.isCallExpression(L)&&L.getChildCount(a)&&21!==e.last(L.getChildren(a)).kind)return;break;case 152:L=F.left;break;case 248:L=F.name;break;case 187:case 218:L=F;break;default:return}else if(1===a.languageVariant){if(F&&193===F.kind&&(b=F,F=F.parent),m.parent===G)switch(m.kind){case 31:264!==m.parent.kind&&266!==m.parent.kind||(G=m);break;case 43:265===m.parent.kind&&(G=m)}switch(F.kind){case 267:43===b.kind&&(D=!0,G=b);break;case 208:if(!P(F))break;case 265:case 264:case 266:29===b.kind&&(C=!0,G=b);break;case 271:switch(v.kind){case 62:M=!0;break;case 75:F!==v.parent&&!F.initializer&&e.findChildOfKind(F,62,a)&&(M=v)}}}}var V=e.timestamp(),B=5,U=!1,H=0,K=[],j=[],W=[],q=c.getImportSuggestionsCache&&c.getImportSuggestionsCache();if(A||x)!function(){B=2;var n=e.isLiteralImportTypeNode(L),t=f||n&&!L.isTypeOf||e.isPartOfTypeNode(L.parent)||e.isPossiblyTypeArgumentPosition(b,a,d),r=e.isInRightSideOfInternalImportEqualsDeclaration(L);if(e.isEntityName(L)||n){var i=e.isModuleDeclaration(L.parent);i&&(U=!0);var o=d.getSymbolAtLocation(L);if(o&&1920&(o=e.skipAlias(o,d)).flags){for(var l=e.Debug.assertEachDefined(d.getExportsOfModule(o),"getExportsOfModule() should all be defined"),c=function(e){return d.isValidPropertyAccess(n?L:L.parent,e.name)},u=function(e){return re(e)},m=i?function(e){return!!(1920&e.flags)&&!e.declarations.every((function(e){return e.parent===L.parent}))}:r?function(e){return u(e)||c(e)}:t?u:c,p=0,g=l;p0&&(K=function(n,t){if(0===t.length)return n;for(var r=e.createMap(),a=e.createUnderscoreEscapedMap(),i=0,o=t;i=0&&!c(t,r[i],110);i--);return e.forEach(a(n.statement),(function(e){s(n,e)&&c(t,e.getFirstToken(),76,81)})),t}function u(e){var n=l(e);if(n)switch(n.kind){case 229:case 230:case 231:case 227:case 228:return d(n);case 236:return m(n)}}function m(n){var t=[];return c(t,n.getFirstToken(),102),e.forEach(n.caseBlock.clauses,(function(r){c(t,r.getFirstToken(),77,83),e.forEach(a(r),(function(e){s(n,e)&&c(t,e.getFirstToken(),76)}))})),t}function p(n,t){var r=[];(c(r,n.getFirstToken(),106),n.catchClause&&c(r,n.catchClause.getFirstToken(),78),n.finallyBlock)&&c(r,e.findChildOfKind(n,91,t),91);return r}function f(n,t){var a=function(n){for(var t=n;t.parent;){var r=t.parent;if(e.isFunctionBlock(r)||288===r.kind)return r;if(e.isTryStatement(r)&&r.tryBlock===t&&r.catchClause)return t;t=r}}(n);if(a){var i=[];return e.forEach(r(a),(function(n){i.push(e.findChildOfKind(n,104,t))})),e.isFunctionBlock(a)&&e.forEachReturnStatement(a,(function(n){i.push(e.findChildOfKind(n,100,t))})),i}}function g(n,t){var a=e.getContainingFunction(n);if(a){var i=[];return e.forEachReturnStatement(e.cast(a.body,e.isBlock),(function(n){i.push(e.findChildOfKind(n,100,t))})),e.forEach(r(a.body),(function(n){i.push(e.findChildOfKind(n,104,t))})),i}}function _(n){var t=e.getContainingFunction(n);if(t){var r=[];return t.modifiers&&t.modifiers.forEach((function(e){c(r,e,125)})),e.forEachChild(t,(function(n){y(n,(function(n){e.isAwaitExpression(n)&&c(r,n.getFirstToken(),126)}))})),r}}function y(n,t){t(n),e.isFunctionLike(n)||e.isClassLike(n)||e.isInterfaceDeclaration(n)||e.isModuleDeclaration(n)||e.isTypeAliasDeclaration(n)||e.isTypeNode(n)||e.forEachChild(n,(function(e){return y(e,t)}))}n.getDocumentHighlights=function(n,r,a,i,s){var l=e.getTouchingPropertyName(a,i);if(l.parent&&(e.isJsxOpeningElement(l.parent)&&l.parent.tagName===l||e.isJsxClosingElement(l.parent))){var v=l.parent.parent,h=[v.openingElement,v.closingElement].map((function(e){return t(e.tagName,a)}));return[{fileName:a.fileName,highlightSpans:h}]}return function(n,t,r,a,i){var o=e.arrayToSet(i,(function(e){return e.fileName})),s=e.FindAllReferences.getReferenceEntriesForNode(n,t,r,i,a,void 0,o);if(!s)return;var l=e.arrayToMultiMap(s.map(e.FindAllReferences.toHighlightSpan),(function(e){return e.fileName}),(function(e){return e.span}));return e.arrayFrom(l.entries(),(function(n){var t=n[0],a=n[1];if(!o.has(t)){e.Debug.assert(r.redirectTargetsMap.has(t));var s=r.getSourceFile(t);t=e.find(i,(function(e){return!!e.redirectInfo&&e.redirectInfo.redirectTarget===s})).fileName,e.Debug.assert(o.has(t))}return{fileName:t,highlightSpans:a}}))}(i,l,n,r,s)||function(n,r){var a=function(n,r){switch(n.kind){case 94:case 86:return e.isIfStatement(n.parent)?function(n,r){for(var a=function(n,t){var r=[];for(;e.isIfStatement(n.parent)&&n.parent.elseStatement===n;)n=n.parent;for(;;){var a=n.getChildren(t);c(r,a[0],94);for(var i=a.length-1;i>=0&&!c(r,a[i],86);i--);if(!n.elseStatement||!e.isIfStatement(n.elseStatement))break;n=n.elseStatement}return r}(n,r),i=[],o=0;o=s.end;u--)if(!e.isWhiteSpaceSingleLine(r.text.charCodeAt(u))){d=!1;break}if(d){i.push({fileName:r.fileName,textSpan:e.createTextSpanFromBounds(s.getStart(),l.end),kind:"reference"}),o++;continue}}i.push(t(a[o],r))}return i}(n.parent,r):void 0;case 100:return l(n.parent,e.isReturnStatement,g);case 104:return l(n.parent,e.isThrowStatement,f);case 106:case 78:case 91:return l(78===n.kind?n.parent.parent:n.parent,e.isTryStatement,p);case 102:return l(n.parent,e.isSwitchStatement,m);case 77:case 83:return l(n.parent.parent.parent,e.isSwitchStatement,m);case 76:case 81:return l(n.parent,e.isBreakOrContinueStatement,u);case 92:case 110:case 85:return l(n.parent,(function(n){return e.isIterationStatement(n,!0)}),d);case 128:return s(e.isConstructorDeclaration,[128]);case 130:case 141:return s(e.isAccessor,[130,141]);case 126:return l(n.parent,e.isAwaitExpression,_);case 125:return v(_(n));case 120:return v(function(n){var t=e.getContainingFunction(n);if(!t)return;var r=[];return e.forEachChild(t,(function(n){y(n,(function(n){e.isYieldExpression(n)&&c(r,n.getFirstToken(),120)}))})),r}(n));default:return e.isModifierKind(n.kind)&&(e.isDeclaration(n.parent)||e.isVariableStatement(n.parent))?v((a=n.kind,i=n.parent,e.mapDefined(function(n,t){var r=n.parent;switch(r.kind){case 249:case 288:case 222:case 275:case 276:return 128&t&&e.isClassDeclaration(n)?o(n.members,[n]):r.statements;case 161:case 160:case 243:return o(r.parameters,e.isClassLike(r.parent)?r.parent.members:[]);case 244:case 213:case 245:case 172:var a=r.members;if(92&t){var i=e.find(r.members,e.isConstructorDeclaration);if(i)return o(a,i.parameters)}else if(128&t)return o(a,[r]);return a;default:e.Debug.assertNever(r,"Invalid container kind.")}}(i,e.modifierToFlag(a)),(function(n){return e.findModifier(n,a)})))):void 0}var a,i;function s(t,a){return l(n.parent,t,(function(n){return e.mapDefined(n.symbol.declarations,(function(n){return t(n)?e.find(n.getChildren(r),(function(n){return e.contains(a,n.kind)})):void 0}))}))}function l(e,n,t){return n(e)?v(t(e,r)):void 0}function v(e){return e&&e.map((function(e){return t(e,r)}))}}(n,r);return a&&[{fileName:r.fileName,highlightSpans:a}]}(l,a)}}(e.DocumentHighlights||(e.DocumentHighlights={}))}(u||(u={})),function(e){function n(n,r,a){void 0===r&&(r="");var i=e.createMap(),o=e.createGetCanonicalFileName(!!n);function s(e,n,t,r,a,i,o){return c(e,n,t,r,a,i,!0,o)}function l(e,n,t,r,a,i,o){return c(e,n,t,r,a,i,!1,o)}function c(n,t,r,o,s,l,c,d){var u=e.getOrUpdate(i,o,e.createMap),m=u.get(t),p=6===d?100:r.target||1;!m&&a&&((f=a.getDocument(o,t))&&(e.Debug.assert(c),m={sourceFile:f,languageServiceRefCount:0},u.set(t,m)));if(m)m.sourceFile.version!==l&&(m.sourceFile=e.updateLanguageServiceSourceFile(m.sourceFile,s,l,s.getChangeRange(m.sourceFile.scriptSnapshot)),a&&a.setDocument(o,t,m.sourceFile)),c&&m.languageServiceRefCount++;else{var f=e.createLanguageServiceSourceFile(n,s,p,l,!1,d);a&&a.setDocument(o,t,f),m={sourceFile:f,languageServiceRefCount:1},u.set(t,m)}return e.Debug.assert(0!==m.languageServiceRefCount),m.sourceFile}function d(n,t){var r=e.Debug.assertDefined(i.get(t)),a=r.get(n);a.languageServiceRefCount--,e.Debug.assert(a.languageServiceRefCount>=0),0===a.languageServiceRefCount&&r.delete(n)}return{acquireDocument:function(n,a,i,l,c){return s(n,e.toPath(n,r,o),a,t(a),i,l,c)},acquireDocumentWithKey:s,updateDocument:function(n,a,i,s,c){return l(n,e.toPath(n,r,o),a,t(a),i,s,c)},updateDocumentWithKey:l,releaseDocument:function(n,a){return d(e.toPath(n,r,o),t(a))},releaseDocumentWithKey:d,getLanguageServiceRefCounts:function(n){return e.arrayFrom(i.entries(),(function(e){var t=e[0],r=e[1].get(n);return[t,r&&r.languageServiceRefCount]}))},reportStats:function(){var n=e.arrayFrom(i.keys()).filter((function(e){return e&&"_"===e.charAt(0)})).map((function(e){var n=i.get(e),t=[];return n.forEach((function(e,n){t.push({name:n,refCount:e.languageServiceRefCount})})),t.sort((function(e,n){return n.refCount-e.refCount})),{bucket:e,sourceFiles:t}}));return JSON.stringify(n,void 0,2)},getKeyForCompilationSettings:t}}function t(n){return e.sourceFileAffectingCompilerOptions.map((function(t){return e.getCompilerOptionValue(n,t)})).join("|")}e.createDocumentRegistry=function(e,t){return n(e,t)},e.createDocumentRegistryInternal=n}(u||(u={})),function(e){!function(n){function t(n,t){return e.forEach(288===n.kind?n.statements:n.body.statements,(function(n){return t(n)||l(n)&&e.forEach(n.body&&n.body.statements,t)}))}function r(n,r){if(n.externalModuleIndicator||void 0!==n.imports)for(var a=0,i=n.imports;a=0&&!(l>r.end);){var c=l+s;0!==l&&e.isIdentifierPart(i.charCodeAt(l-1),99)||c!==o&&e.isIdentifierPart(i.charCodeAt(c),99)||a.push(l),l=i.indexOf(t,l+s+1)}return a}function b(t,r){var a=t.getSourceFile(),i=r.text,o=e.mapDefined(v(a,i,t),(function(t){return t===r||e.isJumpStatementTarget(t)&&e.getTargetLabel(t,i)===r?n.nodeEntry(t):void 0}));return[{definition:{type:1,node:r},references:o}]}function E(e,n,t,r){return void 0===r&&(r=!0),t.cancellationToken.throwIfCancellationRequested(),T(e,e,n,t,r)}function T(e,n,t,r,a){if(r.markSearchedSymbols(n,t.allSearchSymbols))for(var i=0,o=h(n,t.text,e);i0;o--){E(n,a=r[o])}return[r.length-1,r[0]]}function E(e,n){var t=y(e,n);f(i,t),l.push(i),c.push(o),i=t}function T(){i.children&&(A(i.children,i),R(i.children)),i=l.pop(),o=c.pop()}function S(e,n,t){E(e,t),L(n),T()}function L(n){var t;if(r.throwIfCancellationRequested(),n&&!e.isToken(n))switch(n.kind){case 161:var a=n;S(a,a.body);for(var i=0,s=a.parameters;i0&&(E(B,w),e.forEachChild(B.right,L),T()):e.isFunctionExpression(B.right)||e.isArrowFunction(B.right)?S(n,B.right,w):(E(B,w),S(n,B.right,O.name),T()),void h(N);case 7:case 9:var P=n,F=(w=7===M?P.arguments[0]:P.arguments[0].expression,P.arguments[1]),V=b(n,w);N=V[0];return E(n,V[1]),E(n,e.setTextRange(e.createIdentifier(F.text),F)),L(n.arguments[2]),T(),T(),void h(N);case 5:var B,U=(O=(B=n).left).expression;if(e.isIdentifier(U)&&"prototype"!==e.getElementOrPropertyAccessName(O)&&o&&o.has(U.text))return void(e.isFunctionExpression(B.right)||e.isArrowFunction(B.right)?S(n,B.right,U):e.isBindableStaticAccessExpression(O)&&(E(B,U),S(B.left,B.right,e.getNameOrArgument(O)),T()));break;case 4:case 0:case 8:break;default:e.Debug.assertNever(M)}default:e.hasJSDocNodes(n)&&e.forEach(n.jsDoc,(function(n){e.forEach(n.tags,(function(n){e.isJSDocTypeAlias(n)&&_(n)}))})),e.forEachChild(n,L)}}function A(n,t){var r=e.createMap();e.filterMutate(n,(function(n,a){var i=n.name||e.getNameOfDeclaration(n.node),o=i&&m(i);if(!o)return!0;var s=r.get(o);if(!s)return r.set(o,n),!0;if(s instanceof Array){for(var l=0,c=s;l0)return U(r)}switch(n.kind){case 288:var a=n;return e.isExternalModule(a)?'"'+e.escapeString(e.getBaseFileName(e.removeFileExtension(e.normalizePath(a.fileName))))+'"':"";case 201:case 243:case 200:case 244:case 213:return 512&e.getModifierFlags(n)?"default":B(n);case 161:return"constructor";case 165:return"new()";case 164:return"()";case 166:return"[]";default:return""}}function k(n){return{text:O(n.node,n.name),kind:e.getNodeKind(n.node),kindModifiers:V(n.node),spans:w(n),nameSpan:n.name&&F(n.name),childItems:e.map(n.children,k)}}function N(n){return{text:O(n.node,n.name),kind:e.getNodeKind(n.node),kindModifiers:V(n.node),spans:w(n),childItems:e.map(n.children,(function(n){return{text:O(n.node,n.name),kind:e.getNodeKind(n.node),kindModifiers:e.getNodeModifiers(n.node),spans:w(n),childItems:d,indent:0,bolded:!1,grayed:!1}}))||d,indent:n.indent,bolded:!1,grayed:!1}}function w(e){var n=[F(e.node)];if(e.additionalNodes)for(var t=0,r=e.additionalNodes;t0)return U(e.declarationNameToString(n.name));if(e.isVariableDeclaration(t))return U(e.declarationNameToString(t.name));if(e.isBinaryExpression(t)&&62===t.operatorToken.kind)return m(t.left).replace(s,"");if(e.isPropertyAssignment(t))return m(t.name);if(512&e.getModifierFlags(n))return"default";if(e.isClassLike(n))return"";if(e.isCallExpression(t)){var r=function n(t){if(e.isIdentifier(t))return t.text;if(e.isPropertyAccessExpression(t)){var r=n(t.expression),a=t.name.text;return void 0===r?a:r+"."+a}return}(t.expression);if(void 0!==r)return(r=U(r)).length>150?r+" callback":r+"("+U(e.mapDefined(t.arguments,(function(n){return e.isStringLiteralLike(n)?n.getText(a):void 0})).join(", "))+") callback"}return""}function U(e){return(e=e.length>150?e.substring(0,150)+"...":e).replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}}(e.NavigationBar||(e.NavigationBar={}))}(u||(u={})),function(e){!function(n){function t(n,t){var r=e.isStringLiteral(t)&&t.text;return e.isString(r)&&e.some(n.moduleAugmentations,(function(n){return e.isStringLiteral(n)&&n.text===r}))}function r(n){return void 0!==n&&e.isStringLiteralLike(n)?n.text:void 0}function a(n){if(0===n.length)return n;var t=function(n){for(var t,r=[],a=[],i=[],o=0,s=n;o0?a[0]:l[0],E=0===h.length?m?void 0:e.createNamedImports(e.emptyArray):0===l.length?e.createNamedImports(h):e.updateNamedImports(l[0].importClause.namedBindings,h);return d.push(o(b,m,E)),d}function i(n){if(0===n.length)return n;var t=function(e){for(var n,t=[],r=0,a=e;r...");case 268:return function(n){var r=e.createTextSpanFromBounds(n.openingFragment.getStart(t),n.closingFragment.getEnd());return s(r,"code",r,!1,"<>...")}(n);case 265:case 266:return function(e){if(0===e.properties.length)return;return i(e.getStart(t),e.getEnd(),"code")}(n.attributes)}var a,l,c;function d(n,t){return void 0===t&&(t=18),u(n,!1,!e.isArrayLiteralExpression(n.parent)&&!e.isCallExpression(n.parent),t)}function u(r,a,i,s,l){void 0===a&&(a=!1),void 0===i&&(i=!0),void 0===s&&(s=18),void 0===l&&(l=18===s?19:23);var c=e.findChildOfKind(n,s,t),d=e.findChildOfKind(n,l,t);return c&&d&&o(c,d,r,t,a,i)}}(c,n);d&&r.push(d),l--,e.isIfStatement(c)&&c.elseStatement&&e.isIfStatement(c.elseStatement)?(f(c.expression),f(c.thenStatement),l++,f(c.elseStatement),l--):c.forEachChild(f),l++}}}(n,t,l),function(n,t){for(var a=[],i=n.getLineStarts(),o=0,l=i;o1&&o.push(i(l,c,"comment"))}}function i(n,t,r){return s(e.createTextSpanFromBounds(n,t),r)}function o(n,t,r,a,i,o){return void 0===i&&(i=!1),void 0===o&&(o=!0),s(e.createTextSpanFromBounds(o?n.getFullStart():n.getStart(a),t.getEnd()),"code",e.createTextSpanFromNode(r,a),i)}function s(e,n,t,r,a){return void 0===t&&(t=e),void 0===r&&(r=!1),void 0===a&&(a="..."),{textSpan:e,kind:n,hintSpan:t,bannerText:a,autoCollapse:r}}}(e.OutliningElementsCollector||(e.OutliningElementsCollector={}))}(u||(u={})),function(e){var n;function t(e,n){return{kind:e,isCaseSensitive:n}}function r(e,n){var t=n.get(e);return t||n.set(e,t=v(e)),t}function a(a,i,o){var s=function(e,n){for(var t=e.length-n.length,r=function(t){if(A(n,(function(n,r){return m(e.charCodeAt(r+t))===n})))return{value:t}},a=0;a<=t;a++){var i=r(a);if("object"==typeof i)return i.value}return-1}(a,i.textLowerCase);if(0===s)return t(i.text.length===a.length?n.exact:n.prefix,e.startsWith(a,i.text));if(i.isLowerCase){if(-1===s)return;for(var u=0,p=r(a,o);u0)return t(n.substring,!0);if(i.characterSpans.length>0){var g=r(a,o),_=!!c(a,g,i,!1)||!c(a,g,i,!0)&&void 0;if(void 0!==_)return t(n.camelCase,_)}}}function i(e,n,t){if(A(n.totalTextChunk.text,(function(e){return 32!==e&&42!==e}))){var r=a(e,n.totalTextChunk,t);if(r)return r}for(var i,s=0,l=n.subWordTextChunks;s=65&&n<=90)return!0;if(n<127||!e.isUnicodeIdentifierStart(n,99))return!1;var t=String.fromCharCode(n);return t===t.toUpperCase()}function u(n){if(n>=97&&n<=122)return!0;if(n<127||!e.isUnicodeIdentifierStart(n,99))return!1;var t=String.fromCharCode(n);return t===t.toLowerCase()}function m(e){return e>=65&&e<=90?e-65+97:e<127?e:String.fromCharCode(e).toLowerCase().charCodeAt(0)}function p(e){return e>=48&&e<=57}function f(e){return d(e)||u(e)||p(e)||95===e||36===e}function g(e){for(var n=[],t=0,r=0,a=0;a0&&(n.push(_(e.substr(t,r))),r=0)}return r>0&&n.push(_(e.substr(t,r))),n}function _(e){var n=e.toLowerCase();return{text:e,textLowerCase:n,isLowerCase:e===n,characterSpans:y(e)}}function y(e){return h(e,!1)}function v(e){return h(e,!0)}function h(n,t){for(var r=[],a=0,i=1;in.length)return;for(var l=r.length-2,c=n.length-1;l>=0;l-=1,c-=1)s=o(s,i(n[c],r[l],a));return s}(n,a,r,t)},getMatchForLastSegmentOfPattern:function(n){return i(n,e.last(r),t)},patternContainsDots:r.length>1}},e.breakIntoCharacterSpans=y,e.breakIntoWordSpans=v}(u||(u={})),function(e){e.preProcessFile=function(n,t,r){void 0===t&&(t=!0),void 0===r&&(r=!1);var a,i,o,s={languageVersion:1,pragmas:void 0,checkJsDirective:void 0,referencedFiles:[],typeReferenceDirectives:[],libReferenceDirectives:[],amdDependencies:[],hasNoDefaultLib:void 0,moduleName:void 0},l=[],c=0,d=!1;function u(){return i=o,18===(o=e.scanner.scan())?c++:19===o&&c--,o}function m(){var n=e.scanner.getTokenValue(),t=e.scanner.getTokenPos();return{fileName:n,pos:t,end:t+n.length}}function p(){l.push(m()),f()}function f(){0===c&&(d=!0)}function g(){var n=e.scanner.getToken();return 129===n&&(134===(n=u())&&10===(n=u())&&(a||(a=[]),a.push({ref:m(),depth:c})),!0)}function _(){if(24===i)return!1;var n=e.scanner.getToken();if(95===n){if(20===(n=u())){if(10===(n=u()))return p(),!0}else{if(10===n)return p(),!0;if(75===n||e.isKeyword(n))if(148===(n=u())){if(10===(n=u()))return p(),!0}else if(62===n){if(v(!0))return!0}else{if(27!==n)return!0;n=u()}if(18===n){for(n=u();19!==n&&1!==n;)n=u();19===n&&148===(n=u())&&10===(n=u())&&p()}else 41===n&&122===(n=u())&&(75===(n=u())||e.isKeyword(n))&&148===(n=u())&&10===(n=u())&&p()}return!0}return!1}function y(){var n=e.scanner.getToken();if(88===n){if(f(),18===(n=u())){for(n=u();19!==n&&1!==n;)n=u();19===n&&148===(n=u())&&10===(n=u())&&p()}else if(41===n)148===(n=u())&&10===(n=u())&&p();else if(95===n&&(75===(n=u())||e.isKeyword(n))&&62===(n=u())&&v(!0))return!0;return!0}return!1}function v(n){var t=n?u():e.scanner.getToken();return 138===t&&(20===(t=u())&&10===(t=u())&&p(),!0)}function h(){var n=e.scanner.getToken();if(75===n&&"define"===e.scanner.getTokenValue()){if(20!==(n=u()))return!0;if(10===(n=u())){if(27!==(n=u()))return!0;n=u()}if(22!==n)return!0;for(n=u();23!==n&&1!==n;)10===n&&p(),n=u();return!0}return!1}if(t&&function(){for(e.scanner.setText(n),u();1!==e.scanner.getToken();)g()||_()||y()||r&&(v(!1)||h())||u();e.scanner.setText(void 0)}(),e.processCommentPragmas(s,n),e.processPragmasIntoFields(s,e.noop),d){if(a)for(var b=0,E=a;bn)break e;if(t(r,n,f)){if(e.isBlock(f)||e.isTemplateSpan(f)||e.isTemplateHead(f)||e.isTemplateTail(f)||p&&e.isTemplateHead(p)||e.isVariableDeclarationList(f)&&e.isVariableStatement(d)||e.isSyntaxList(f)&&e.isVariableDeclarationList(d)||e.isVariableDeclaration(f)&&e.isSyntaxList(d)&&1===u.length){d=f;break}if(e.isTemplateSpan(d)&&g&&e.isTemplateMiddleOrTemplateTail(g))b(f.getFullStart()-"${".length,g.getStart()+"}".length);var _=e.isSyntaxList(f)&&(o=void 0,18===(o=(i=p)&&i.kind)||22===o||20===o||266===o)&&c(g)&&!e.positionsAreOnSameLine(p.getStart(),g.getStart(),r),y=e.hasJSDocNodes(f)&&f.jsDoc[0].getStart(),v=_?p.getEnd():f.getStart(),h=_?g.getStart():f.getEnd();e.isNumber(y)&&b(y,h),b(v,h),(e.isStringLiteral(f)||e.isTemplateLiteral(f))&&b(v+1,h-1),d=f;break}if(m===u.length-1)break e}}return l;function b(t,r){if(t!==r){var a=e.createTextSpanFromBounds(t,r);(!l||!e.textSpansEqual(a,l.textSpan)&&e.textSpanIntersectsWithPosition(a,n))&&(l=s({textSpan:a},l&&{parent:l}))}}};var r=e.or(e.isImportDeclaration,e.isImportEqualsDeclaration);function a(n){if(e.isSourceFile(n))return i(n.getChildAt(0).getChildren(),r);if(e.isMappedTypeNode(n)){var t=n.getChildren(),a=t[0],s=t.slice(1),c=e.Debug.assertDefined(s.pop());e.Debug.assertEqual(a.kind,18),e.Debug.assertEqual(c.kind,19);var d=i(s,(function(e){return e===n.readonlyToken||137===e.kind||e===n.questionToken||57===e.kind}));return[a,l(o(i(d,(function(e){var n=e.kind;return 22===n||154===n||23===n})),(function(e){return 58===e.kind}))),c]}if(e.isPropertySignature(n))return o(s=i(n.getChildren(),(function(t){return t===n.name||e.contains(n.modifiers,t)})),(function(e){return 58===e.kind}));if(e.isParameter(n)){var u=i(n.getChildren(),(function(e){return e===n.dotDotDotToken||e===n.name}));return o(i(u,(function(e){return e===u[0]||e===n.questionToken})),(function(e){return 62===e.kind}))}return e.isBindingElement(n)?o(n.getChildren(),(function(e){return 62===e.kind})):n.getChildren()}function i(e,n){for(var t,r=[],a=0,i=e;a0&&27===e.last(t).kind&&r++;return r}(a);return 0!==i&&e.Debug.assertLessThan(i,o),{list:a,argumentIndex:i,argumentCount:o,argumentsSpan:function(n,t){var r=n.getFullStart(),a=e.skipTrivia(t.text,n.getEnd(),!1);return e.createTextSpan(r,a-r)}(a,t)}}}function s(n,t,r){var a=n.parent;if(e.isCallOrNewExpression(a)){var o=a,s=i(n,r);if(!s)return;var l=s.list,c=s.argumentIndex,d=s.argumentCount,m=s.argumentsSpan;return{isTypeParameterList:!!a.typeArguments&&a.typeArguments.pos===l.pos,invocation:{kind:0,node:o},argumentsSpan:m,argumentIndex:c,argumentCount:d}}if(e.isNoSubstitutionTemplateLiteral(n)&&e.isTaggedTemplateExpression(a))return e.isInsideTemplateLiteral(n,t,r)?u(a,0,r):void 0;if(e.isTemplateHead(n)&&197===a.parent.kind){var p=a,f=p.parent;return e.Debug.assert(210===p.kind),u(f,c=e.isInsideTemplateLiteral(n,t,r)?0:1,r)}if(e.isTemplateSpan(a)&&e.isTaggedTemplateExpression(a.parent.parent)){var g=a;f=a.parent.parent;if(e.isTemplateTail(n)&&!e.isInsideTemplateLiteral(n,t,r))return;return u(f,c=function(n,t,r,a){if(e.Debug.assert(r>=t.getStart(),"Assumed 'position' could not occur before node."),e.isTemplateLiteralToken(t))return e.isInsideTemplateLiteral(t,r,a)?0:n+2;return n+1}(g.parent.templateSpans.indexOf(g),n,t,r),r)}if(e.isJsxOpeningLikeElement(a)){var _=a.attributes.pos,y=e.skipTrivia(r.text,a.attributes.end,!1);return{isTypeParameterList:!1,invocation:{kind:0,node:a},argumentsSpan:e.createTextSpan(_,y-_),argumentIndex:0,argumentCount:1}}var v=e.getPossibleTypeArgumentsInfo(n,r);if(v){var h=v.called,b=v.nTypeArguments;return{isTypeParameterList:!0,invocation:o={kind:1,called:h},argumentsSpan:m=e.createTextSpanFromBounds(h.getStart(r),n.end),argumentIndex:b,argumentCount:b+1}}}function l(n){return e.isBinaryExpression(n.left)?l(n.left)+1:2}function c(n){return"__type"===n.name&&e.firstDefined(n.declarations,(function(n){return e.isFunctionTypeNode(n)?n.parent.symbol:void 0}))||n}function d(e,n){for(var t=0,r=0,a=e.getChildren();r=0&&a.length>i+1),a[i+1]}function f(n){return 0===n.kind?e.getInvokedExpression(n.node):n.called}function g(e){return 0===e.kind?e.node:1===e.kind?e.called:e.node}!function(e){e[e.Call=0]="Call",e[e.TypeArgs=1]="TypeArgs",e[e.Contextual=2]="Contextual"}(t||(t={})),n.getSignatureHelpItems=function(n,t,r,o,d){var u=n.getTypeChecker(),m=e.findTokenOnLeftOfPosition(t,r);if(m){var p=!!o&&"characterTyped"===o.kind;if(!p||!e.isInString(t,r,m)&&!e.isInComment(t,r)){var v=!!o&&"invoked"===o.kind,h=function(n,t,r,a,o){for(var d=function(n){e.Debug.assert(e.rangeContainsRange(n.parent,n),"Not a subspan",(function(){return"Child: "+e.Debug.formatSyntaxKind(n.kind)+", parent: "+e.Debug.formatSyntaxKind(n.parent.kind)}));var o=function(n,t,r,a){return function(n,t,r,a){var o=function(n,t,r){if(20!==n.kind&&27!==n.kind)return;var a=n.parent;switch(a.kind){case 199:case 160:case 200:case 201:var o=i(n,t);if(!o)return;var s=o.argumentIndex,c=o.argumentCount,d=o.argumentsSpan,u=e.isMethodDeclaration(a)?r.getContextualTypeForObjectLiteralElement(a):r.getContextualType(a);return u&&{contextualType:u,argumentIndex:s,argumentCount:c,argumentsSpan:d};case 208:var m=function n(t){return e.isBinaryExpression(t.parent)?n(t.parent):t}(a),p=r.getContextualType(m),f=20===n.kind?0:l(a)-1,g=l(m);return p&&{contextualType:p,argumentIndex:f,argumentCount:g,argumentsSpan:e.createTextSpanFromNode(a)};default:return}}(n,r,a);if(!o)return;var s=o.contextualType,d=o.argumentIndex,u=o.argumentCount,m=o.argumentsSpan,p=s.getCallSignatures();return 1!==p.length?void 0:{isTypeParameterList:!1,invocation:{kind:2,signature:e.first(p),node:n,symbol:c(s.symbol)},argumentsSpan:m,argumentIndex:d,argumentCount:u}}(n,0,r,a)||s(n,t,r)}(n,t,r,a);if(o)return{value:o}},u=n;!e.isSourceFile(u)&&(o||!e.isBlock(u));u=u.parent){var m=d(u);if("object"==typeof m)return m.value}return}(m,r,t,u,v);if(h){d.throwIfCancellationRequested();var b=function(n,t,r,i,o){var s=n.invocation,l=n.argumentCount;switch(s.kind){case 0:if(o&&!function(n,t,r){if(!e.isCallOrNewExpression(t))return!1;var i=t.getChildren(r);switch(n.kind){case 20:return e.contains(i,n);case 27:var o=e.findContainingList(n);return!!o&&e.contains(i,o);case 29:return a(n,r,t.expression);default:return!1}}(i,s.node,r))return;var c=[],d=t.getResolvedSignatureForSignatureHelp(s.node,c,l);return 0===c.length?void 0:{kind:0,candidates:c,resolvedSignature:d};case 1:var u=s.called;if(o&&!a(i,r,e.isIdentifier(u)?u.parent:u))return;if(0!==(c=e.getPossibleGenericSignatures(u,l,t)).length)return{kind:0,candidates:c,resolvedSignature:e.first(c)};var m=t.getSymbolAtLocation(u);return m&&{kind:1,symbol:m};case 2:return{kind:0,candidates:[s.signature],resolvedSignature:s.signature};default:return e.Debug.assertNever(s)}}(h,u,t,m,p);return d.throwIfCancellationRequested(),b?u.runWithCancellationToken(d,(function(e){return 0===b.kind?_(b.candidates,b.resolvedSignature,h,t,e):function(e,n,t,r){var a=n.argumentCount,i=n.argumentsSpan,o=n.invocation,s=n.argumentIndex,l=r.getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(e);return l?{items:[y(e,l,r,g(o),t)],applicableSpan:i,selectedItemIndex:0,argumentIndex:s,argumentCount:a}:void 0}(b.symbol,h,t,e)})):e.isSourceFileJS(t)?function(n,t,r){if(2===n.invocation.kind)return;var a=f(n.invocation),i=e.isIdentifier(a)?a.text:e.isPropertyAccessExpression(a)?a.name.text:void 0,o=t.getTypeChecker();return void 0===i?void 0:e.firstDefined(t.getSourceFiles(),(function(t){return e.firstDefined(t.getNamedDeclarations().get(i),(function(e){var a=e.symbol&&o.getTypeOfSymbolAtLocation(e.symbol,e),i=a&&a.getCallSignatures();if(i&&i.length)return o.runWithCancellationToken(r,(function(e){return _(i,i[0],n,t,e)}))}))}))}(h,n,d):void 0}}}},function(e){e[e.Candidate=0]="Candidate",e[e.Type=1]="Type"}(r||(r={})),n.getArgumentInfoForCompletions=function(e,n,t){var r=s(e,n,t);return!r||r.isTypeParameterList||0!==r.invocation.kind?void 0:{invocation:r.invocation.node,argumentCount:r.argumentCount,argumentIndex:r.argumentIndex}};function _(n,t,r,a,i){var s=r.isTypeParameterList,l=r.argumentCount,c=r.argumentsSpan,d=r.invocation,u=r.argumentIndex,m=g(d),p=2===d.kind?d.symbol:i.getSymbolAtLocation(f(d)),_=p?e.symbolToDisplayParts(i,p,void 0,void 0):e.emptyArray,y=n.map((function(n){return function(n,t,r,a,i,s){var l=(r?h:b)(n,a,i,s),c=l.isVariadic,d=l.parameters,u=l.prefix,m=l.suffix,p=o(t,u),f=o(m,function(n,t,r){return e.mapToDisplayParts((function(e){e.writePunctuation(":"),e.writeSpace(" ");var a=r.getTypePredicateOfSignature(n);a?r.writeTypePredicate(a,t,void 0,e):r.writeType(r.getReturnTypeOfSignature(n),t,void 0,e)}))}(n,i,a)),g=n.getDocumentationComment(a),_=n.getJsDocTags();return{isVariadic:c,prefixDisplayParts:p,suffixDisplayParts:f,separatorDisplayParts:v,parameters:d,documentation:g,tags:_}}(n,_,s,i,m,a)}));0!==u&&e.Debug.assertLessThan(u,l);var E=n.indexOf(t);return e.Debug.assert(-1!==E),{items:y,applicableSpan:c,selectedItemIndex:E,argumentIndex:u,argumentCount:l}}function y(n,t,r,a,i){var s=e.symbolToDisplayParts(r,n),l=e.createPrinter({removeComments:!0}),c=t.map((function(e){return E(e,r,a,i,l)})),d=n.getDocumentationComment(r),u=n.getJsDocTags();return{isVariadic:!1,prefixDisplayParts:o(s,[e.punctuationPart(29)]),suffixDisplayParts:[e.punctuationPart(31)],separatorDisplayParts:v,parameters:c,documentation:d,tags:u}}var v=[e.punctuationPart(27),e.spacePart()];function h(n,t,r,a){var i=(n.target||n).typeParameters,s=e.createPrinter({removeComments:!0}),l=(i||e.emptyArray).map((function(e){return E(e,t,r,a,s)})),c=e.mapToDisplayParts((function(i){var l=n.thisParameter?[t.symbolToParameterDeclaration(n.thisParameter,r,70246400)]:[],c=e.createNodeArray(o(l,t.getExpandedParameters(n).map((function(e){return t.symbolToParameterDeclaration(e,r,70246400)}))));s.writeList(2576,c,a,i)}));return{isVariadic:!1,parameters:l,prefix:[e.punctuationPart(29)],suffix:o([e.punctuationPart(31)],c)}}function b(n,t,r,a){var i=t.hasEffectiveRestParameter(n),s=e.createPrinter({removeComments:!0}),l=e.mapToDisplayParts((function(i){if(n.typeParameters&&n.typeParameters.length){var o=e.createNodeArray(n.typeParameters.map((function(e){return t.typeParameterToDeclaration(e,r)})));s.writeList(53776,o,a,i)}}));return{isVariadic:i,parameters:t.getExpandedParameters(n).map((function(n){return function(n,t,r,a,i){var o=e.mapToDisplayParts((function(e){var o=t.symbolToParameterDeclaration(n,r,70246400);i.writeNode(4,o,a,e)})),s=t.isOptionalParameter(n.valueDeclaration);return{name:n.name,documentation:n.getDocumentationComment(t),displayParts:o,isOptional:s}}(n,t,r,a,s)})),prefix:o(l,[e.punctuationPart(20)]),suffix:[e.punctuationPart(21)]}}function E(n,t,r,a,i){var o=e.mapToDisplayParts((function(e){var o=t.typeParameterToDeclaration(n,r);i.writeNode(4,o,a,e)}));return{name:n.symbol.name,documentation:n.symbol.getDocumentationComment(t),displayParts:o,isOptional:!1}}}(e.SignatureHelp||(e.SignatureHelp={}))}(u||(u={})),function(e){var n=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\/=]+)$)?/;function t(n,t,r){var a=e.tryParseRawSourceMap(t);if(a&&a.sources&&a.file&&a.mappings)return e.createDocumentPositionMapper(n,a,r)}e.getSourceMapper=function(n){var t=e.createGetCanonicalFileName(n.useCaseSensitiveFileNames()),r=n.getCurrentDirectory(),a=e.createMap(),i=e.createMap();return{tryGetSourcePosition:function n(t){if(!e.isDeclarationFileName(t.fileName))return;if(!l(t.fileName))return;var r=s(t.fileName).getSourcePosition(t);return r&&r!==t?n(r)||r:void 0},tryGetGeneratedPosition:function(a){if(e.isDeclarationFileName(a.fileName))return;var i=l(a.fileName);if(!i)return;var o=n.getProgram();if(o.isSourceOfProjectReferenceRedirect(i.fileName))return;var c=o.getCompilerOptions(),d=c.outFile||c.out,u=d?e.removeFileExtension(d)+".d.ts":e.getDeclarationEmitOutputFilePathWorker(a.fileName,o.getCompilerOptions(),r,o.getCommonSourceDirectory(),t);if(void 0===u)return;var m=s(u,a.fileName).getGeneratedPosition(a);return m===a?void 0:m},toLineColumnOffset:function(e,n){return d(e).getLineAndCharacterOfPosition(n)},clearCache:function(){a.clear(),i.clear()}};function o(n){return e.toPath(n,r,t)}function s(r,a){var s,l=o(r),c=i.get(l);if(c)return c;if(n.getDocumentPositionMapper)s=n.getDocumentPositionMapper(r,a);else if(n.readFile){var u=d(r);s=u&&e.getDocumentPositionMapper({getSourceFileLike:d,getCanonicalFileName:t,log:function(e){return n.log(e)}},r,e.getLineInfo(u.text,e.getLineStarts(u)),(function(e){return!n.fileExists||n.fileExists(e)?n.readFile(e):void 0}))}return i.set(l,s||e.identitySourceMapConsumer),s||e.identitySourceMapConsumer}function l(e){var t=n.getProgram();if(t){var r=o(e),a=t.getSourceFileByPath(r);return a&&a.resolvedPath===r?a:void 0}}function c(t){var r=o(t),i=a.get(r);if(void 0!==i)return i||void 0;if(n.readFile&&(!n.fileExists||n.fileExists(r))){var s=n.readFile(r),l=!!s&&function(n,t){return{text:n,lineMap:t,getLineAndCharacterOfPosition:function(n){return e.computeLineAndCharacterOfPosition(e.getLineStarts(this),n)}}}(s);return a.set(r,l),l||void 0}a.set(r,!1)}function d(e){return n.getSourceFileLike?n.getSourceFileLike(e):l(e)||c(e)}},e.getDocumentPositionMapper=function(r,a,i,o){var s=e.tryGetSourceMappingURL(i);if(s){var l=n.exec(s);if(l){if(l[1]){var c=l[1];return t(r,e.base64decode(e.sys,c),a)}s=void 0}}var d=[];s&&d.push(s),d.push(a+".map");for(var u=s&&e.getNormalizedAbsolutePath(s,e.getDirectoryPath(a)),m=0,p=d;m0&&c.push(e.createDiagnosticForNode(e.isVariableDeclaration(i.parent)?i.parent.name:i,e.Diagnostics.This_constructor_function_may_be_converted_to_a_class_declaration))}else{if(e.isVariableStatement(i)&&i.parent===a&&2&i.declarationList.flags&&1===i.declarationList.declarations.length){var p=i.declarationList.declarations[0].initializer;p&&e.isRequireCall(p,!0)&&c.push(e.createDiagnosticForNode(p,e.Diagnostics.require_call_may_be_converted_to_an_import))}e.codefix.parameterShouldGetTypeFromJSDoc(i)&&c.push(e.createDiagnosticForNode(i.name||i,e.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types))}e.isFunctionLikeDeclaration(i)&&function(t,a,i){(function(n,t){return!e.isAsyncFunction(n)&&n.body&&e.isBlock(n.body)&&(a=n.body,!!e.forEachReturnStatement(a,r))&&function(e,n){var t=n.getTypeAtLocation(e),r=n.getSignaturesOfType(t,0),a=r.length?n.getReturnTypeOfSignature(r[0]):void 0;return!!a&&!!n.getPromisedTypeOfPromise(a)}(n,t);var a})(t,a)&&!n.has(s(t))&&i.push(e.createDiagnosticForNode(!t.name&&e.isVariableDeclaration(t.parent)&&e.isIdentifier(t.parent.name)?t.parent.name:t,e.Diagnostics.This_may_be_converted_to_an_async_function))}(i,d,c);i.forEachChild(t)}(a),e.getAllowSyntheticDefaultImports(i.getCompilerOptions()))for(var m=0,p=a.imports;m0?e.getNodeModifiers(n.declarations[0]):"",r=n&&16777216&n.flags?"optional":"";return t&&r?t+","+r:t||r},n.getSymbolDisplayPartsDocumentationAndSymbolKind=function n(a,i,o,s,l,c,d){void 0===c&&(c=e.getMeaningFromLocation(l));var u,m,p,f,g,_,y=[],v=e.getCombinedLocalAndExportSymbolFlags(i),h=1&c?r(a,i,l):"",b=!1,E=103===l.kind&&e.isInExpressionContext(l);if(103===l.kind&&!E)return{displayParts:[e.keywordPart(103)],documentation:[],symbolKind:"primitive type",tags:void 0};if(""!==h||32&v||2097152&v){"getter"!==h&&"setter"!==h||(h="property");var T=void 0;if(p=E?a.getTypeAtLocation(l):a.getTypeOfSymbolAtLocation(i.exportSymbol||i,l),l.parent&&193===l.parent.kind){var S=l.parent.name;(S===l||S&&0===S.getFullWidth())&&(l=l.parent)}var L=void 0;if(e.isCallOrNewExpression(l)?L=l:(e.isCallExpressionTarget(l)||e.isNewExpressionTarget(l)||l.parent&&e.isJsxOpeningLikeElement(l.parent)&&e.isFunctionLike(i.valueDeclaration))&&(L=l.parent),L){T=a.getResolvedSignature(L);var A=196===L.kind||e.isCallExpression(L)&&101===L.expression.kind,x=A?p.getConstructSignatures():p.getCallSignatures();if(e.contains(x,T.target)||e.contains(x,T)||(T=x.length?x[0]:void 0),T){switch(A&&32&v?(h="constructor",z(p.symbol,h)):2097152&v?(X(h="alias"),y.push(e.spacePart()),A&&(y.push(e.keywordPart(98)),y.push(e.spacePart())),q(i)):z(i,h),h){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":y.push(e.punctuationPart(58)),y.push(e.spacePart()),16&e.getObjectFlags(p)||!p.symbol||(e.addRange(y,e.symbolToDisplayParts(a,p.symbol,s,void 0,5)),y.push(e.lineBreakPart())),A&&(y.push(e.keywordPart(98)),y.push(e.spacePart())),J(T,x,262144);break;default:J(T,x)}b=!0}}else if(e.isNameOfFunctionDeclaration(l)&&!(98304&v)||128===l.kind&&161===l.parent.kind){var C=l.parent;if(i.declarations&&e.find(i.declarations,(function(e){return e===(128===l.kind?C.parent:C)}))){x=161===C.kind?p.getNonNullableType().getConstructSignatures():p.getNonNullableType().getCallSignatures();T=a.isImplementationOfOverload(C)?x[0]:a.getSignatureFromDeclaration(C),161===C.kind?(h="constructor",z(p.symbol,h)):z(164!==C.kind||2048&p.symbol.flags||4096&p.symbol.flags?i:p.symbol,h),J(T,x),b=!0}}}if(32&v&&!b&&!E&&(j(),e.getDeclarationOfKind(i,213)?X("local class"):y.push(e.keywordPart(79)),y.push(e.spacePart()),q(i),Y(i,o)),64&v&&2&c&&(K(),y.push(e.keywordPart(113)),y.push(e.spacePart()),q(i),Y(i,o)),524288&v&&2&c&&(K(),y.push(e.keywordPart(144)),y.push(e.spacePart()),q(i),Y(i,o),y.push(e.spacePart()),y.push(e.operatorPart(62)),y.push(e.spacePart()),e.addRange(y,e.typeToDisplayParts(a,a.getDeclaredTypeOfSymbol(i),s,8388608))),384&v&&(K(),e.some(i.declarations,(function(n){return e.isEnumDeclaration(n)&&e.isEnumConst(n)}))&&(y.push(e.keywordPart(80)),y.push(e.spacePart())),y.push(e.keywordPart(87)),y.push(e.spacePart()),q(i)),1536&v&&!E){K();var D=(B=e.getDeclarationOfKind(i,248))&&B.name&&75===B.name.kind;y.push(e.keywordPart(D?135:134)),y.push(e.spacePart()),q(i)}if(262144&v&&2&c)if(K(),y.push(e.punctuationPart(20)),y.push(e.textPart("type parameter")),y.push(e.punctuationPart(21)),y.push(e.spacePart()),q(i),i.parent)W(),q(i.parent,s),Y(i.parent,s);else{var R=e.getDeclarationOfKind(i,154);if(void 0===R)return e.Debug.fail();if(B=R.parent)if(e.isFunctionLikeKind(B.kind)){W();T=a.getSignatureFromDeclaration(B);165===B.kind?(y.push(e.keywordPart(98)),y.push(e.spacePart())):164!==B.kind&&B.name&&q(B.symbol),e.addRange(y,e.signatureToDisplayParts(a,T,o,32))}else 246===B.kind&&(W(),y.push(e.keywordPart(144)),y.push(e.spacePart()),q(B.symbol),Y(B.symbol,o))}if(8&v&&(h="enum member",z(i,"enum member"),282===(B=i.declarations[0]).kind)){var I=a.getConstantValue(B);void 0!==I&&(y.push(e.spacePart()),y.push(e.operatorPart(62)),y.push(e.spacePart()),y.push(e.displayPart(e.getTextOfConstantValue(I),"number"==typeof I?e.SymbolDisplayPartKind.numericLiteral:e.SymbolDisplayPartKind.stringLiteral)))}if(2097152&v){if(K(),!b){var M=a.getAliasedSymbol(i);if(M!==i&&M.declarations&&M.declarations.length>0){var O=M.declarations[0],k=e.getNameOfDeclaration(O);if(k){var N=e.isModuleWithStringLiteralName(O)&&e.hasModifier(O,2),w="default"!==i.name&&!N,P=n(a,M,e.getSourceFileOfNode(O),O,k,c,w?i:M);y.push.apply(y,P.displayParts),y.push(e.lineBreakPart()),g=P.documentation,_=P.tags}}}switch(i.declarations[0].kind){case 251:y.push(e.keywordPart(88)),y.push(e.spacePart()),y.push(e.keywordPart(135));break;case 258:y.push(e.keywordPart(88)),y.push(e.spacePart()),y.push(e.keywordPart(i.declarations[0].isExportEquals?62:83));break;case 261:y.push(e.keywordPart(88));break;default:y.push(e.keywordPart(95))}y.push(e.spacePart()),q(i),e.forEach(i.declarations,(function(n){if(252===n.kind){var t=n;if(e.isExternalModuleImportEqualsDeclaration(t))y.push(e.spacePart()),y.push(e.operatorPart(62)),y.push(e.spacePart()),y.push(e.keywordPart(138)),y.push(e.punctuationPart(20)),y.push(e.displayPart(e.getTextOfNode(e.getExternalModuleImportEqualsDeclarationExpression(t)),e.SymbolDisplayPartKind.stringLiteral)),y.push(e.punctuationPart(21));else{var r=a.getSymbolAtLocation(t.moduleReference);r&&(y.push(e.spacePart()),y.push(e.operatorPart(62)),y.push(e.spacePart()),q(r,s))}return!0}}))}if(!b)if(""!==h){if(p)if(E?(K(),y.push(e.keywordPart(103))):z(i,h),"property"===h||"JSX attribute"===h||3&v||"local var"===h||E)if(y.push(e.punctuationPart(58)),y.push(e.spacePart()),p.symbol&&262144&p.symbol.flags){var G=e.mapToDisplayParts((function(n){var t=a.typeParameterToDeclaration(p,s);H().writeNode(4,t,e.getSourceFileOfNode(e.getParseTreeNode(s)),n)}));e.addRange(y,G)}else e.addRange(y,e.typeToDisplayParts(a,p,s));else if(16&v||8192&v||16384&v||131072&v||98304&v||"method"===h){(x=p.getNonNullableType().getCallSignatures()).length&&J(x[0],x)}}else h=t(a,i,l);if(!u&&(u=i.getDocumentationComment(a),m=i.getJsDocTags(),0===u.length&&4&v&&i.parent&&e.forEach(i.parent.declarations,(function(e){return 288===e.kind}))))for(var F=0,V=i.declarations;F0))break}}return 0===u.length&&g&&(u=g),0===m.length&&_&&(m=_),{displayParts:y,documentation:u,symbolKind:h,tags:0===m.length?void 0:m};function H(){return f||(f=e.createPrinter({removeComments:!0})),f}function K(){y.length&&y.push(e.lineBreakPart()),j()}function j(){d&&(X("alias"),y.push(e.spacePart()))}function W(){y.push(e.spacePart()),y.push(e.keywordPart(96)),y.push(e.spacePart())}function q(n,t){d&&n===i&&(n=d);var r=e.symbolToDisplayParts(a,n,t||o,void 0,7);e.addRange(y,r),16777216&i.flags&&y.push(e.punctuationPart(57))}function z(n,t){K(),t&&(X(t),n&&!e.some(n.declarations,(function(n){return e.isArrowFunction(n)||(e.isFunctionExpression(n)||e.isClassExpression(n))&&!n.name}))&&(y.push(e.spacePart()),q(n)))}function X(n){switch(n){case"var":case"function":case"let":case"const":case"constructor":return void y.push(e.textOrKeywordPart(n));default:return y.push(e.punctuationPart(20)),y.push(e.textOrKeywordPart(n)),void y.push(e.punctuationPart(21))}}function J(n,t,r){void 0===r&&(r=0),e.addRange(y,e.signatureToDisplayParts(a,n,s,32|r)),t.length>1&&(y.push(e.spacePart()),y.push(e.punctuationPart(20)),y.push(e.operatorPart(39)),y.push(e.displayPart((t.length-1).toString(),e.SymbolDisplayPartKind.numericLiteral)),y.push(e.spacePart()),y.push(e.textPart(2===t.length?"overload":"overloads")),y.push(e.punctuationPart(21)));var i=n.getDocumentationComment(a);u=0===i.length?void 0:i,m=n.getJsDocTags()}function Y(n,t){var r=e.mapToDisplayParts((function(r){var i=a.symbolToTypeParameterDeclarations(n,t);H().writeList(53776,i,e.getSourceFileOfNode(e.getParseTreeNode(t)),r)}));e.addRange(y,r)}}}(e.SymbolDisplay||(e.SymbolDisplay={}))}(u||(u={})),function(e){function n(n,t){var a=[],i=t.compilerOptions?r(t.compilerOptions,a):{},o=e.getDefaultCompilerOptions();for(var s in o)e.hasProperty(o,s)&&void 0===i[s]&&(i[s]=o[s]);for(var l=0,c=e.transpileOptionValueCompilerOptions;l>=5;return t}(m,u),0,r),i[s]=(d=1+((l=m)>>(c=u)&31),e.Debug.assert((31&d)===d,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),l&~(31<=t.pos?n.pos:i.end:n.pos}(o,t,r),t.end,(function(s){return m(t,o,n.SmartIndenter.getIndentationForNode(o,t,r,a.options),function(e,t,r){for(var a,i=-1;e;){var o=r.getLineAndCharacterOfPosition(e.getStart(r)).line;if(-1!==i&&o!==i)break;if(n.SmartIndenter.shouldIndentChildNode(t,e,a,r))return t.indentSize;i=o,a=e,e=e.parent}return 0}(o,a.options,r),s,a,i,function(n,t){if(!n.length)return i;var r=n.filter((function(n){return e.rangeOverlapsWithStartEnd(t,n.start,n.start+n.length)})).sort((function(e,n){return e.start-n.start}));if(!r.length)return i;var a=0;return function(n){for(;;){if(a>=r.length)return!1;var t=r[a];if(n.end<=t.start)return!1;if(e.startEndOverlapsWithStartEnd(n.pos,n.end,t.start,t.start+t.length))return!0;a++}};function i(){return!1}}(r.parseDiagnostics,t),r)}))}function m(t,r,a,i,o,s,l,c,d){var u,m,f,g,_=s.options,y=s.getRules,v=new n.FormattingContext(d,l,_),h=-1,b=[];if(o.advance(),o.isOnToken()){var E=d.getLineAndCharacterOfPosition(r.getStart(d)).line,T=E;r.decorators&&(T=d.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(r,d)).line),function r(a,i,s,l,p,y){if(!e.rangeOverlapsWithStartEnd(t,a.getStart(d),a.getEnd()))return;var v=L(a,s,p,y),b=i;e.forEachChild(a,(function(e){S(e,-1,a,v,s,l,!1)}),(function(t){!function(t,r,i,s){e.Debug.assert(e.isNodeArray(t));var l=function(e,n){switch(e.kind){case 161:case 243:case 200:case 160:case 159:case 201:if(e.typeParameters===n)return 29;if(e.parameters===n)return 20;break;case 195:case 196:if(e.typeArguments===n)return 29;if(e.arguments===n)return 20;break;case 168:if(e.typeArguments===n)return 29;break;case 172:return 18}return 0}(r,t),c=s,u=i;if(0!==l)for(;o.isOnToken();){if((b=o.readTokenInfo(r)).token.end>t.pos)break;if(b.token.kind===l){u=d.getLineAndCharacterOfPosition(b.token.pos).line,M(b,r,s,r);var m=void 0;if(-1!==h)m=h;else{var p=e.getLineStartPositionForPosition(b.token.pos,d);m=n.SmartIndenter.findFirstNonWhitespaceColumn(p,b.token.pos,d,_)}c=L(r,i,m,_.indentSize)}else M(b,r,s,r)}for(var f=-1,g=0;ga.end)break;M(E,a,v,a)}if(!a.parent&&o.isOnEOF()){var T=o.readEOFTokenRange();T.end<=a.end&&u&&D(T,d.getLineAndCharacterOfPosition(T.pos).line,a,u,f,m,i,v)}function S(i,s,l,c,u,m,p,f){var y=i.getStart(d),v=d.getLineAndCharacterOfPosition(y).line,E=v;i.decorators&&(E=d.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(i,d)).line);var T=-1;if(p&&e.rangeContainsRange(t,l)&&-1!==(T=function(t,r,a,i,o){if(e.rangeOverlapsWithStartEnd(i,t,r)||e.rangeContainsStartEnd(i,t,r)){if(-1!==o)return o}else{var s=d.getLineAndCharacterOfPosition(t).line,l=e.getLineStartPositionForPosition(t,d),c=n.SmartIndenter.findFirstNonWhitespaceColumn(l,t,d,_);if(s!==a||t===c){var u=n.SmartIndenter.getBaseIndentation(_);return u>c?u:c}}return-1}(y,i.end,u,t,s))&&(s=T),!e.rangeOverlapsWithStartEnd(t,i.pos,i.end))return i.endy)break;M(S,a,c,a)}if(!o.isOnToken())return s;if(e.isToken(i)&&11!==i.kind){var S=o.readTokenInfo(i);return e.Debug.assert(S.token.end===i.end,"Token end is child end"),M(S,a,c,i),s}var L=156===i.kind?v:m,A=function(e,t,r,a,i,o){var s=n.SmartIndenter.shouldIndentChildNode(_,e)?_.indentSize:0;return o===t?{indentation:t===g?h:i.getIndentation(),delta:Math.min(_.indentSize,i.getDelta(e)+s)}:-1===r?20===e.kind&&t===g?{indentation:h,delta:i.getDelta(e)}:n.SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement(a,e,t,d)||n.SmartIndenter.argumentStartsOnSameLineAsPreviousArgument(a,e,t,d)?{indentation:i.getIndentation(),delta:s}:{indentation:i.getIndentation()+i.getDelta(e),delta:s}:{indentation:r,delta:s}}(i,v,T,a,c,L);(r(i,b,v,E,A.indentation,A.delta),11===i.kind)&&I({pos:i.getStart(),end:i.getEnd()},A.indentation,!0,!1);return b=a,f&&191===l.kind&&-1===s&&(s=A.indentation),s}function M(n,r,a,i,s){e.Debug.assert(e.rangeContainsRange(r,n.token));var l=o.lastTrailingTriviaWasNewLine(),m=!1;n.leadingTrivia&&x(n.leadingTrivia,r,b,a);var p=0,f=e.rangeContainsRange(t,n.token),_=d.getLineAndCharacterOfPosition(n.token.pos);if(f){var y=c(n.token),v=u;if(p=C(n.token,_,r,b,a),!y)if(0===p){var E=v&&d.getLineAndCharacterOfPosition(v.end).line;m=l&&_.line!==E}else m=1===p}if(n.trailingTrivia&&x(n.trailingTrivia,r,b,a),m){var T=f&&!c(n.token)?a.getIndentationForToken(_.line,n.token.kind,i,!!s):-1,S=!0;if(n.leadingTrivia){var L=a.getIndentationForComment(n.token.kind,T,i);S=A(n.leadingTrivia,L,S,(function(e){return R(e.pos,L,!1)}))}-1!==T&&S&&(R(n.token.pos,T,1===p),g=_.line,h=T)}o.advance(),b=r}}(r,r,E,T,a,i)}if(!o.isOnToken()){var S=o.getCurrentLeadingTrivia();S&&(A(S,a,!1,(function(e){return C(e,d.getLineAndCharacterOfPosition(e.pos),r,r,void 0)})),function(){var e=u?u.end:t.pos,n=d.getLineAndCharacterOfPosition(e).line,r=d.getLineAndCharacterOfPosition(t.end).line;M(n,r+1,u)}())}return b;function L(t,r,a,i){return{getIndentationForComment:function(e,n,t){switch(e){case 19:case 23:case 21:return a+o(t)}return-1!==n?n:a},getIndentationForToken:function(n,i,s,l){return!l&&function(n,a,i){switch(a){case 18:case 19:case 21:case 86:case 110:case 59:return!1;case 43:case 31:switch(i.kind){case 266:case 267:case 265:return!1}break;case 22:case 23:if(185!==i.kind)return!1}return r!==n&&!(t.decorators&&a===function(n){if(n.modifiers&&n.modifiers.length)return n.modifiers[0].kind;switch(n.kind){case 244:return 79;case 245:return 113;case 243:return 93;case 247:return 247;case 162:return 130;case 163:return 141;case 160:if(n.asteriskToken)return 41;case 158:case 155:var t=e.getNameOfDeclaration(n);if(t)return t.kind}}(t))}(n,i,s)?a+o(s):a},getIndentation:function(){return a},getDelta:o,recomputeIndentation:function(e){t.parent&&n.SmartIndenter.shouldIndentChildNode(_,t.parent,t,d)&&(a+=e?_.indentSize:-_.indentSize,i=n.SmartIndenter.shouldIndentChildNode(_,t)?_.indentSize:0)}};function o(e){return n.SmartIndenter.nodeWillIndentChild(_,t,e,d,!0)?i:0}}function A(n,r,a,i){for(var o=0,s=n;o0){var S=p(T,_);N(b,E.character,S)}else k(b,E.character)}}}}else a||R(t.pos,r,!1)}function M(n,t,r){for(var a=n;ao)){var s=O(i,o);-1!==s&&(e.Debug.assert(s===i||!e.isWhiteSpaceSingleLine(d.text.charCodeAt(s-1))),k(s,o+1-s))}}}function O(n,t){for(var r=t;r>=n&&e.isWhiteSpaceSingleLine(d.text.charCodeAt(r));)r--;return r!==t?r+1:-1}function k(n,t){t&&b.push(e.createTextChangeFromStartLength(n,t,""))}function N(n,t,r){(t||r)&&b.push(e.createTextChangeFromStartLength(n,t,r))}}function p(n,t){if((!a||a.tabSize!==t.tabSize||a.indentSize!==t.indentSize)&&(a={tabSize:t.tabSize,indentSize:t.indentSize},i=o=void 0),t.convertTabsToSpaces){var r=void 0,s=Math.floor(n/t.indentSize),l=n%t.indentSize;return o||(o=[]),void 0===o[s]?(r=e.repeatString(" ",t.indentSize*s),o[s]=r):r=o[s],l?r+e.repeatString(" ",l):r}var c=Math.floor(n/t.tabSize),d=n-c*t.tabSize,u=void 0;return i||(i=[]),void 0===i[c]?i[c]=u=e.repeatString("\t",c):u=i[c],d?u+e.repeatString(" ",d):u}n.createTextRangeWithKind=function(n,t,r){var a={pos:n,end:t,kind:r};return e.Debug.isDebugging&&Object.defineProperty(a,"__debugKind",{get:function(){return e.Debug.formatSyntaxKind(r)}}),a},function(e){e[e.Unknown=-1]="Unknown"}(t||(t={})),n.formatOnEnter=function(n,t,r){var a=t.getLineAndCharacterOfPosition(n).line;if(0===a)return[];for(var i=e.getEndLinePosition(a,t);e.isWhiteSpaceSingleLine(t.text.charCodeAt(i));)i--;return e.isLineBreak(t.text.charCodeAt(i))&&i--,u({pos:e.getStartPositionOfLine(a-1,t),end:i+1},t,r,2)},n.formatOnSemicolon=function(e,n,t){return d(l(s(e,26,n)),n,t,3)},n.formatOnOpeningCurly=function(n,t,r){var a=s(n,18,t);if(!a)return[];var i=l(a.parent);return u({pos:e.getLineStartPositionForPosition(i.getStart(t),t),end:n},t,r,4)},n.formatOnClosingCurly=function(e,n,t){return d(l(s(e,19,n)),n,t,5)},n.formatDocument=function(e,n){return u({pos:0,end:e.text.length},e,n,0)},n.formatSelection=function(n,t,r,a){return u({pos:e.getLineStartPositionForPosition(n,r),end:t},r,a,1)},n.formatNodeGivenIndentation=function(e,t,r,a,i,o){var s={pos:0,end:t.text.length};return n.getFormattingScanner(t.text,r,s.pos,s.end,(function(n){return m(s,e,a,i,n,o,1,(function(e){return!1}),t)}))},function(e){e[e.None=0]="None",e[e.LineAdded=1]="LineAdded",e[e.LineRemoved=2]="LineRemoved"}(r||(r={})),n.getRangeOfEnclosingComment=function(n,t,r,a){void 0===a&&(a=e.getTokenAtPosition(n,t));var i=e.findAncestor(a,e.isJSDoc);if(i&&(a=i.parent),!(a.getStart(n)<=t&&tt.end}var g=s(d,e,a),y=g.line===n.line||m(d,e,n.line,a);if(p){var v=_(e,a,c,!y);if(-1!==v)return v+r;if(-1!==(v=l(e,d,n,y,a,c)))return v+r}T(c,d,e,a,o)&&!y&&(r+=c.indentSize);var h=u(d,e,n.line,a);d=(e=d).parent,n=h?a.getLineAndCharacterOfPosition(e.getStart(a)):g}return r+i(c)}function s(e,n,t){var r=p(n,t),a=r?r.pos:e.getStart(t);return t.getLineAndCharacterOfPosition(a)}function l(n,t,r,a,i,o){return(e.isDeclaration(n)||e.isStatementButNotDeclaration(n))&&(288===t.kind||!a)?v(r,i,o):-1}function c(n,t,r,a){var i=e.findNextToken(n,t,a);return i?18===i.kind?1:19===i.kind&&r===d(i,a).line?2:0:0}function d(e,n){return n.getLineAndCharacterOfPosition(e.getStart(n))}function u(n,t,r,a){if(!e.isCallExpression(n)||!e.contains(n.arguments,t))return!1;var i=n.expression.getEnd();return e.getLineAndCharacterOfPosition(a,i).line===r}function m(n,t,r,a){if(226===n.kind&&n.elseStatement===t){var i=e.findChildOfKind(n,86,a);return e.Debug.assert(void 0!==i),d(i,a).line===r}return!1}function p(e,n){return e.parent&&f(e.getStart(n),e.getEnd(),e.parent,n)}function f(n,t,r,a){switch(r.kind){case 168:return i(r.typeArguments);case 192:return i(r.properties);case 191:return i(r.elements);case 172:return i(r.members);case 243:case 200:case 201:case 160:case 159:case 164:case 161:case 170:case 165:return i(r.typeParameters)||i(r.parameters);case 244:case 213:case 245:case 246:case 314:return i(r.typeParameters);case 196:case 195:return i(r.typeArguments)||i(r.arguments);case 242:return i(r.declarations);case 256:case 260:return i(r.elements);case 188:case 189:return i(r.elements)}function i(i){return i&&e.rangeContainsStartEnd(function(e,n,t){for(var r=e.getChildren(t),a=1;a=0&&t=0;o--)if(27!==n[o].kind){if(r.getLineAndCharacterOfPosition(n[o].end).line!==i.line)return v(i,r,a);i=d(n[o],r)}return-1}function v(e,n,t){var r=n.getPositionOfLineAndCharacter(e.line,0);return b(r,r+e.character,n,t)}function h(n,t,r,a){for(var i=0,o=0,s=n;sr.text.length)return i(a);if(a.indentStyle===e.IndentStyle.None)return 0;var l=e.findPrecedingToken(t,r,void 0,!0),u=n.getRangeOfEnclosingComment(r,t,l||null);if(u&&3===u.kind)return function(n,t,r,a){var i=e.getLineAndCharacterOfPosition(n,t).line-1,o=e.getLineAndCharacterOfPosition(n,a.pos).line;if(e.Debug.assert(o>=0),i<=o)return b(e.getStartPositionOfLine(o,n),t,n,r);var s=e.getStartPositionOfLine(i,n),l=h(s,t,n,r),c=l.column,d=l.character;if(0===c)return c;return 42===n.text.charCodeAt(s+d)?c-1:c}(r,t,a,u);if(!l)return i(a);if(e.isStringOrRegularExpressionOrTemplateLiteral(l.kind)&&l.getStart(r)<=t&&t0;){var i=n.text.charCodeAt(a);if(!e.isWhiteSpaceLike(i))break;a--}return b(e.getLineStartPositionForPosition(a,n),a,n,r)}(r,t,a);if(27===l.kind&&208!==l.parent.kind){var p=function(n,t,r){var a=e.findListItemInfo(n);return a&&a.listItemIndex>0?y(a.list.getChildren(),a.listItemIndex-1,t,r):-1}(l,r,a);if(-1!==p)return p}var v=function(e,n,t){return n&&f(e,e,n,t)}(t,l.parent,r);return v&&!e.rangeContainsRange(v,l)?g(v,r,a)+a.indentSize:function(n,t,r,a,s,l){var u,m=r;for(;m;){if(e.positionBelongsToNode(m,t,n)&&T(l,m,u,n,!0)){var p=d(m,n),f=c(r,m,a,n),g=0!==f?s&&2===f?l.indentSize:0:a!==p.line?l.indentSize:0;return o(m,p,void 0,g,n,!0,l)}var y=_(m,n,l,!0);if(-1!==y)return y;u=m,m=m.parent}return i(l)}(r,t,l,m,s,a)},t.getIndentationForNode=function(e,n,t,r){var a=t.getLineAndCharacterOfPosition(e.getStart(t));return o(e,a,n,0,t,!1,r)},t.getBaseIndentation=i,function(e){e[e.Unknown=0]="Unknown",e[e.OpenBrace=1]="OpenBrace",e[e.CloseBrace=2]="CloseBrace"}(a||(a={})),t.isArgumentAndStartLineOverlapsExpressionBeingCalled=u,t.childStartsOnTheSameLineWithElseInIfStatement=m,t.argumentStartsOnSameLineAsPreviousArgument=function(n,t,r,a){if(e.isCallOrNewExpression(n)){if(!n.arguments)return!1;var i=e.find(n.arguments,(function(e){return e.pos===t.pos}));if(!i)return!1;var o=n.arguments.indexOf(i);if(0===o)return!1;var s=n.arguments[o-1];if(r===e.getLineAndCharacterOfPosition(a,s.getEnd()).line)return!0}return!1},t.getContainingList=p,t.findFirstNonWhitespaceCharacterAndColumn=h,t.findFirstNonWhitespaceColumn=b,t.nodeWillIndentChild=E,t.shouldIndentChildNode=T}(n.SmartIndenter||(n.SmartIndenter={}))}(e.formatting||(e.formatting={}))}(u||(u={})),function(e){!function(n){function t(n){var t=n.__pos;return e.Debug.assert("number"==typeof t),t}function r(n,t){e.Debug.assert("number"==typeof t),n.__pos=t}function a(n){var t=n.__end;return e.Debug.assert("number"==typeof t),t}function i(n,t){e.Debug.assert("number"==typeof t),n.__end=t}var l,c;function d(n,t){return e.skipTrivia(n,t,!1,!0)}!function(e){e[e.Exclude=0]="Exclude",e[e.IncludeAll=1]="IncludeAll"}(l=n.LeadingTriviaOption||(n.LeadingTriviaOption={})),function(e){e[e.Exclude=0]="Exclude",e[e.Include=1]="Include"}(c=n.TrailingTriviaOption||(n.TrailingTriviaOption={}));var u,m={leadingTriviaOption:l.Exclude,trailingTriviaOption:c.Exclude};function p(e,n,t,r){return{pos:f(e,n,r),end:g(e,t,r)}}function f(n,t,r){var a=r.leadingTriviaOption;if(a===l.Exclude)return t.getStart(n);var i=t.getFullStart(),o=t.getStart(n);if(i===o)return o;var s=e.getLineStartPositionForPosition(i,n);if(e.getLineStartPositionForPosition(o,n)===s)return a===l.IncludeAll?i:o;var c=i>0?1:0,u=e.getStartPositionOfLine(e.getLineOfLocalPosition(n,s)+c,n);return u=d(n.text,u),e.getStartPositionOfLine(e.getLineOfLocalPosition(n,u),n)}function g(n,t,r){var a=t.end,i=r.trailingTriviaOption;if(i===c.Exclude||e.isExpression(t)&&i!==c.Include)return a;var o=e.skipTrivia(n.text,a,!0);return o===a||i!==c.Include&&!e.isLineBreak(n.text.charCodeAt(o-1))?a:o}function _(e,n){return!!n&&!!e.parent&&(27===n.kind||26===n.kind&&192===e.parent.kind)}!function(e){e[e.Remove=0]="Remove",e[e.ReplaceWithSingleNode=1]="ReplaceWithSingleNode",e[e.ReplaceWithMultipleNodes=2]="ReplaceWithMultipleNodes",e[e.Text=3]="Text"}(u||(u={})),n.isThisTypeAnnotatable=function(n){return e.isFunctionExpression(n)||e.isFunctionDeclaration(n)};var y,v,h=function(){function n(n,t){this.newLineCharacter=n,this.formatContext=t,this.changes=[],this.newFiles=[],this.classesWithNodesInsertedAtStart=e.createMap(),this.deletedNodes=[]}return n.fromContext=function(t){return new n(e.getNewLineOrDefaultFromHost(t.host,t.formatContext.options),t.formatContext)},n.with=function(e,t){var r=n.fromContext(e);return t(r),r.getChanges()},n.prototype.pushRaw=function(n,t){e.Debug.assertEqual(n.fileName,t.fileName);for(var r=0,a=t.textChanges;r"})},n.prototype.getOptionsForInsertNodeBefore=function(n,t){return e.isStatement(n)||e.isClassElement(n)?{suffix:t?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:e.isVariableDeclaration(n)?{suffix:", "}:e.isParameter(n)?{}:e.isStringLiteral(n)&&e.isImportDeclaration(n.parent)||e.isNamedImports(n)?{suffix:", "}:e.Debug.failBadSyntaxKind(n)},n.prototype.insertNodeAtConstructorStart=function(n,t,r){var a=e.firstOrUndefined(t.body.statements);a&&t.body.multiLine?this.insertNodeBefore(n,a,r):this.replaceConstructorBody(n,t,o([r],t.body.statements))},n.prototype.insertNodeAtConstructorEnd=function(n,t,r){var a=e.lastOrUndefined(t.body.statements);a&&t.body.multiLine?this.insertNodeAfter(n,a,r):this.replaceConstructorBody(n,t,o(t.body.statements,[r]))},n.prototype.replaceConstructorBody=function(n,t,r){this.replaceNode(n,t.body,e.createBlock(r,!0))},n.prototype.insertNodeAtEndOfScope=function(n,t,r){var a=f(n,t.getLastToken(),{});this.insertNodeAt(n,a,r,{prefix:e.isLineBreak(n.text.charCodeAt(t.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})},n.prototype.insertNodeAtClassStart=function(e,n,t){this.insertNodeAtStartWorker(e,n,t)},n.prototype.insertNodeAtObjectStart=function(e,n,t){this.insertNodeAtStartWorker(e,n,t)},n.prototype.insertNodeAtStartWorker=function(n,t,r){var a=t.getStart(n),i=e.formatting.SmartIndenter.findFirstNonWhitespaceColumn(e.getLineStartPositionForPosition(a,n),a,n,this.formatContext.options)+this.formatContext.options.indentSize;this.insertNodeAt(n,T(t).pos,r,s({indentation:i},this.getInsertNodeAtStartPrefixSuffix(n,t)))},n.prototype.getInsertNodeAtStartPrefixSuffix=function(n,t){var r=e.isObjectLiteralExpression(t)?",":"";if(0===T(t).length){if(e.addToSeen(this.classesWithNodesInsertedAtStart,e.getNodeId(t),{node:t,sourceFile:n})){var a=e.positionsAreOnSameLine.apply(void 0,o(E(t,n),[n]));return{prefix:this.newLineCharacter,suffix:r+(a?this.newLineCharacter:"")}}return{prefix:"",suffix:r+this.newLineCharacter}}return{prefix:this.newLineCharacter,suffix:r}},n.prototype.insertNodeAfterComma=function(e,n,t){var r=this.insertNodeAfterWorker(e,this.nextCommaToken(e,n)||n,t);this.insertNodeAt(e,r,t,this.getInsertNodeAfterOptions(e,n))},n.prototype.insertNodeAfter=function(e,n,t){var r=this.insertNodeAfterWorker(e,n,t);this.insertNodeAt(e,r,t,this.getInsertNodeAfterOptions(e,n))},n.prototype.insertNodeAtEndOfList=function(e,n,t){this.insertNodeAt(e,n.end,t,{prefix:", "})},n.prototype.insertNodesAfter=function(n,t,r){var a=this.insertNodeAfterWorker(n,t,e.first(r));this.insertNodesAt(n,a,r,this.getInsertNodeAfterOptions(n,t))},n.prototype.insertNodeAfterWorker=function(n,t,r){var a,i;return a=t,i=r,((e.isPropertySignature(a)||e.isPropertyDeclaration(a))&&e.isClassOrTypeElement(i)&&153===i.name.kind||e.isStatementButNotDeclaration(a)&&e.isStatementButNotDeclaration(i))&&59!==n.text.charCodeAt(t.end-1)&&this.replaceRange(n,e.createRange(t.end),e.createToken(26)),g(n,t,{})},n.prototype.getInsertNodeAfterOptions=function(n,t){var r=this.getInsertNodeAfterOptionsWorker(t);return s(s({},r),{prefix:t.end===n.end&&e.isStatement(t)?r.prefix?"\n"+r.prefix:"\n":r.prefix})},n.prototype.getInsertNodeAfterOptionsWorker=function(n){switch(n.kind){case 244:case 248:return{prefix:this.newLineCharacter,suffix:this.newLineCharacter};case 241:case 10:case 75:return{prefix:", "};case 279:return{suffix:","+this.newLineCharacter};case 88:return{prefix:" "};case 155:return{};default:return e.Debug.assert(e.isStatement(n)||e.isClassOrTypeElement(n)),{suffix:this.newLineCharacter}}},n.prototype.insertName=function(n,t,r){if(e.Debug.assert(!t.name),201===t.kind){var a=e.findChildOfKind(t,38,n),i=e.findChildOfKind(t,20,n);i?(this.insertNodesAt(n,i.getStart(n),[e.createToken(93),e.createIdentifier(r)],{joiner:" "}),C(this,n,a)):(this.insertText(n,e.first(t.parameters).getStart(n),"function "+r+"("),this.replaceRange(n,a,e.createToken(21))),222!==t.body.kind&&(this.insertNodesAt(n,t.body.getStart(n),[e.createToken(18),e.createToken(100)],{joiner:" ",suffix:" "}),this.insertNodesAt(n,t.body.end,[e.createToken(26),e.createToken(19)],{joiner:" "}))}else{var o=e.findChildOfKind(t,200===t.kind?93:79,n).end;this.insertNodeAt(n,o,e.createIdentifier(r),{prefix:" "})}},n.prototype.insertExportModifier=function(e,n){this.insertText(e,n.getStart(e),"export ")},n.prototype.insertNodeInListAfter=function(n,t,r,a){if(void 0===a&&(a=e.formatting.SmartIndenter.getContainingList(t,n)),a){var i=e.indexOfNode(a,t);if(!(i<0)){var o=t.getEnd();if(i!==a.length-1){var s=e.getTokenAtPosition(n,t.end);if(s&&_(t,s)){var l=e.getLineAndCharacterOfPosition(n,d(n.text,a[i+1].getFullStart())),c=e.getLineAndCharacterOfPosition(n,s.end),u=void 0,m=void 0;c.line===l.line?(m=s.end,u=function(e){for(var n="",t=0;t=0;r--){var a=t[r],i=a.span,o=a.newText;n=""+n.substring(0,i.start)+o+n.substring(e.textSpanEnd(i))}return n}function L(n){var r=e.visitEachChild(n,L,e.nullTransformationContext,A,L),i=e.nodeIsSynthesized(r)?r:Object.create(r);return i.pos=t(n),i.end=a(n),i}function A(n,r,i,o,s){var l=e.visitNodes(n,r,i,o,s);if(!l)return l;var c=l===n?e.createNodeArray(l.slice(0)):l;return c.pos=t(n),c.end=a(n),c}function x(n,t){return!(e.isInComment(n,t)||e.isInString(n,t)||e.isInTemplateString(n,t)||e.isInJSXText(n,t))}function C(e,n,t,r){void 0===r&&(r={leadingTriviaOption:l.IncludeAll});var a=f(n,t,r),i=g(n,t,r);e.deleteRange(n,{pos:a,end:i})}function D(n,t,r,a){var i=e.Debug.assertDefined(e.formatting.SmartIndenter.getContainingList(a,r)),o=e.indexOfNode(i,a);e.Debug.assert(-1!==o),1!==i.length?(e.Debug.assert(!t.has(a),"Deleting a node twice"),t.add(a),n.deleteRange(r,{pos:b(r,a),end:o===i.length-1?g(r,a,{}):b(r,i[o+1])})):C(n,r,a)}n.ChangeTracker=h,n.getNewFileText=function(e,n,t,r){return y.newFileChangesWorker(void 0,n,e,t,r)},function(n){function t(n,t,r,i,o){var s=r.map((function(e){return a(e,n,i).text})).join(i),l=e.createSourceFile("any file name",s,99,!0,t);return S(s,e.formatting.formatDocument(l,o))+i}function a(n,t,a){var o=function(n){var t=0,a=e.createTextWriter(n);function o(n,r){if(r||!function(n){return e.skipTrivia(n,0)===n.length}(n)){t=a.getTextPos();for(var i=0;e.isWhiteSpaceLike(n.charCodeAt(n.length-i-1));)i++;t-=i}}return{onEmitNode:function(e,n,a){n&&r(n,t),a(e,n),n&&i(n,t)},onBeforeEmitNodeArray:function(e){e&&r(e,t)},onAfterEmitNodeArray:function(e){e&&i(e,t)},onBeforeEmitToken:function(e){e&&r(e,t)},onAfterEmitToken:function(e){e&&i(e,t)},write:function(e){a.write(e),o(e,!1)},writeComment:function(e){a.writeComment(e)},writeKeyword:function(e){a.writeKeyword(e),o(e,!1)},writeOperator:function(e){a.writeOperator(e),o(e,!1)},writePunctuation:function(e){a.writePunctuation(e),o(e,!1)},writeTrailingSemicolon:function(e){a.writeTrailingSemicolon(e),o(e,!1)},writeParameter:function(e){a.writeParameter(e),o(e,!1)},writeProperty:function(e){a.writeProperty(e),o(e,!1)},writeSpace:function(e){a.writeSpace(e),o(e,!1)},writeStringLiteral:function(e){a.writeStringLiteral(e),o(e,!1)},writeSymbol:function(e,n){a.writeSymbol(e,n),o(e,!1)},writeLine:function(){a.writeLine()},increaseIndent:function(){a.increaseIndent()},decreaseIndent:function(){a.decreaseIndent()},getText:function(){return a.getText()},rawWrite:function(e){a.rawWrite(e),o(e,!1)},writeLiteral:function(e){a.writeLiteral(e),o(e,!0)},getTextPos:function(){return a.getTextPos()},getLine:function(){return a.getLine()},getColumn:function(){return a.getColumn()},getIndent:function(){return a.getIndent()},isAtStartOfLine:function(){return a.isAtStartOfLine()},hasTrailingComment:function(){return a.hasTrailingComment()},hasTrailingWhitespace:function(){return a.hasTrailingWhitespace()},clear:function(){a.clear(),t=0}}}(a),s="\n"===a?1:0;return e.createPrinter({newLine:s,neverAsciiEscape:!0},o).writeNode(4,n,t,o),{text:o.getText(),node:L(n)}}n.getTextChangesFromChanges=function(n,t,r,i){return e.group(n,(function(e){return e.sourceFile.path})).map((function(n){for(var o=n[0].sourceFile,l=e.stableSort(n,(function(e,n){return e.range.pos-n.range.pos||e.range.end-n.range.end})),c=function(n){e.Debug.assert(l[n].range.end<=l[n+1].range.pos,"Changes overlap",(function(){return JSON.stringify(l[n].range)+" and "+JSON.stringify(l[n+1].range)}))},d=0;de.textSpanEnd(r)?"quit":e.isExpression(t)&&e.textSpansEqual(r,e.createTextSpanFromNode(t,n))}));return s&&function(n,t,r,a,i){var o=i.getDiagnosticsProducingTypeChecker().getDiagnostics(n,a);return e.some(o,(function(n){var a=n.start,i=n.length,o=n.relatedInformation,s=n.code;return e.isNumber(a)&&e.isNumber(i)&&e.textSpansEqual({start:a,length:i},r)&&s===t&&!!o&&e.some(o,(function(n){return n.code===e.Diagnostics.Did_you_forget_to_use_await.code}))}))}(n,t,r,a,i)&&d(s)?s:void 0}function d(n){return 32768&n.kind||!!e.findAncestor(n,(function(n){return n.parent&&e.isArrowFunction(n.parent)&&n.parent.body===n||e.isBlock(n)&&(243===n.parent.kind||200===n.parent.kind||201===n.parent.kind||160===n.parent.kind)}))}function u(n,t,i,o,s,l){if(e.isBinaryExpression(s))for(var c=0,d=[s.left,s.right];c0)return[n.createCodeFixAction(t,i,e.Diagnostics.Add_const_to_unresolved_variable,t,e.Diagnostics.Add_const_to_all_unresolved_variables)]},fixIds:[t],getAllCodeActions:function(t){var i=new e.NodeSet;return n.codeFixAll(t,r,(function(e,n){return a(e,n.file,n.start,t.program,i)}))}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(n){var t="addMissingDeclareProperty",r=[e.Diagnostics.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration.code];function a(n,t,r,a){var i=e.getTokenAtPosition(t,r);if(e.isIdentifier(i)){var o=i.parent;158!==o.kind||a&&!a.tryAdd(o)||n.insertModifierBefore(t,129,o)}}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start)}));if(i.length>0)return[n.createCodeFixAction(t,i,e.Diagnostics.Prefix_with_declare,t,e.Diagnostics.Prefix_all_incorrect_property_declarations_with_declare)]},fixIds:[t],getAllCodeActions:function(t){var i=new e.NodeSet;return n.codeFixAll(t,r,(function(e,n){return a(e,n.file,n.start,i)}))}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(n){var t="addMissingInvocationForDecorator",r=[e.Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0.code];function a(n,t,r){var a=e.getTokenAtPosition(t,r),i=e.findAncestor(a,e.isDecorator);e.Debug.assert(!!i,"Expected position to be owned by a decorator.");var o=e.createCall(i.expression,void 0,void 0);n.replaceNode(t,i.expression,o)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start)}));return[n.createCodeFixAction(t,i,e.Diagnostics.Call_decorator_expression,t,e.Diagnostics.Add_to_all_uncalled_decorators)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n.start)}))}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(n){var t="addNameToNamelessParameter",r=[e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code];function a(n,t,r){var a=e.getTokenAtPosition(t,r);if(!e.isIdentifier(a))return e.Debug.fail("add-name-to-nameless-parameter operates on identifiers, but got a "+e.Debug.formatSyntaxKind(a.kind));var i=a.parent;if(!e.isParameter(i))return e.Debug.fail("Tried to add a parameter name to a non-parameter: "+e.Debug.formatSyntaxKind(a.kind));var o=i.parent.parameters.indexOf(i);e.Debug.assert(!i.type,"Tried to add a parameter name to a parameter that already had one."),e.Debug.assert(o>-1,"Parameter not found in parent parameter list.");var s=e.createParameter(void 0,i.modifiers,i.dotDotDotToken,"arg"+o,i.questionToken,e.createTypeReferenceNode(a,void 0),i.initializer);n.replaceNode(t,a,s)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span.start)}));return[n.createCodeFixAction(t,i,e.Diagnostics.Add_parameter_name,t,e.Diagnostics.Add_names_to_all_parameters_without_names)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n.start)}))}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(n){var t="annotateWithTypeFromJSDoc",r=[e.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types.code];function a(n,t){var r=e.getTokenAtPosition(n,t);return e.tryCast(e.isParameter(r.parent)?r.parent.parent:r.parent,i)}function i(n){return function(n){return e.isFunctionLikeDeclaration(n)||241===n.kind||157===n.kind||158===n.kind}(n)&&o(n)}function o(n){return e.isFunctionLikeDeclaration(n)?n.parameters.some(o)||!n.type&&!!e.getJSDocReturnType(n):!n.type&&!!e.getJSDocType(n)}function s(n,t,r){if(e.isFunctionLikeDeclaration(r)&&(e.getJSDocReturnType(r)||r.parameters.some((function(n){return!!e.getJSDocType(n)})))){if(!r.typeParameters){var a=e.getJSDocTypeParameterDeclarations(r);a.length&&n.insertTypeParameters(t,r,a)}var i=e.isArrowFunction(r)&&!e.findChildOfKind(r,20,t);i&&n.insertNodeBefore(t,e.first(r.parameters),e.createToken(20));for(var o=0,s=r.parameters;o0)return x;var C=g(o.checker.getTypeAtLocation(n),o.checker).getReturnType(),D=e.getSynthesizedDeepClone(v),R=o.checker.getPromisedTypeOfPromise(C)?e.createAwait(D):D;if(l)return[e.createReturn(R)];var I=p(t,R,o);return t&&t.types.push(C),I;default:i=!1}return e.emptyArray}function g(n,t){var r=t.getSignaturesOfType(n,0);return e.lastOrUndefined(r)}function _(n,t,r){for(var a=[],i=0,o=t;i0)return}else e.isFunctionLike(i)||e.forEachChild(i,t)}))}return a}function y(n,t){var r,a=[];e.isFunctionLikeDeclaration(n)?n.parameters.length>0&&(r=function n(t){if(e.isIdentifier(t))return i(t);var r=e.flatMap(t.elements,(function(t){return e.isOmittedExpression(t)?[]:[n(t.name)]}));return function(n,t,r){void 0===t&&(t=e.emptyArray);void 0===r&&(r=[]);return{kind:1,bindingPattern:n,elements:t,types:r}}(t,r)}(n.parameters[0].name)):e.isIdentifier(n)&&(r=i(n));if(r&&(!("identifier"in r)||"undefined"!==r.identifier.text))return r;function i(n){var r,i=function(e){return e.symbol?e.symbol:t.checker.getSymbolAtLocation(e)}((r=n).original?r.original:r);return i&&t.synthNamesMap.get(e.getSymbolId(i).toString())||b(n,a,0)}}function v(n){return!n||(E(n)?!n.identifier.text:e.every(n.elements,v))}function h(e){return E(e)?e.identifier:e.bindingPattern}function b(e,n,t){return void 0===n&&(n=[]),void 0===t&&(t=0),{kind:0,identifier:e,types:n,numberOfAssignmentsOriginal:t}}function E(e){return 0===e.kind}n.registerCodeFix({errorCodes:a,getCodeActions:function(t){i=!0;var a=e.textChanges.ChangeTracker.with(t,(function(e){return o(e,t.sourceFile,t.span.start,t.program.getTypeChecker(),t)}));return i?[n.createCodeFixAction(r,a,e.Diagnostics.Convert_to_async_function,r,e.Diagnostics.Convert_all_to_async_functions)]:[]},fixIds:[r],getAllCodeActions:function(e){return n.codeFixAll(e,a,(function(n,t){return o(n,t.file,t.start,e.program.getTypeChecker(),e)}))}}),function(e){e[e.Identifier=0]="Identifier",e[e.BindingPattern=1]="BindingPattern"}(t||(t={}))}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(n){function t(n,t,r,a){for(var i=0,o=n.imports;i1?[[i(r),o(r)],!0]:[[o(r)],!0]:[[i(r)],!1]}(d.arguments[0],t):void 0;return u?(a.replaceNodeWithNodes(n,r.parent,u[0]),u[1]):(a.replaceRangeWithText(n,e.createRange(l.getStart(n),d.pos),"export default"),!0)}a.delete(n,r.parent)}else e.isExportsOrModuleExportsOrAlias(n,l.expression)&&function(n,t,r,a){var i=t.left.name.text,o=a.get(i);if(void 0!==o){var s=[m(void 0,o,t.right),p([e.createExportSpecifier(o,i)])];r.replaceNodeWithNodes(n,t.parent,s)}else!function(n,t,r){var a=n.left,i=n.right,o=n.parent,s=a.name.text;if(!(e.isFunctionExpression(i)||e.isArrowFunction(i)||e.isClassExpression(i))||i.name&&i.name.text!==s)r.replaceNodeRangeWithNodes(t,a.expression,e.findChildOfKind(a,24,t),[e.createToken(88),e.createToken(80)],{joiner:" ",suffix:" "});else{r.replaceRange(t,{pos:a.getStart(t),end:i.getStart(t)},e.createToken(88),{suffix:" "}),i.name||r.insertName(t,i,s);var l=e.findChildOfKind(o,26,t);l&&r.delete(t,l)}}(t,n,r)}(n,r,a,s);var f,g;return!1}(t,a,v,l,_)}default:return!1}}function i(e){return p(void 0,e)}function o(n){return p([e.createExportSpecifier(void 0,"default")],n)}function s(e,n){for(;n.original.has(e)||n.additional.has(e);)e="_"+e;return n.additional.set(e,!0),e}function l(n){var t=e.createMultiMap();return function n(t,r){e.isIdentifier(t)&&function(e){var n=e.parent;switch(n.kind){case 193:return n.name!==e;case 190:case 257:return n.propertyName!==e;default:return!0}}(t)&&r(t);t.forEachChild((function(e){return n(e,r)}))}(n,(function(e){return t.add(e.text,e)})),t}function c(n,t,r){return e.createFunctionDeclaration(e.getSynthesizedDeepClones(r.decorators),e.concatenate(t,e.getSynthesizedDeepClones(r.modifiers)),e.getSynthesizedDeepClone(r.asteriskToken),n,e.getSynthesizedDeepClones(r.typeParameters),e.getSynthesizedDeepClones(r.parameters),e.getSynthesizedDeepClone(r.type),e.convertToFunctionBody(e.getSynthesizedDeepClone(r.body)))}function d(n,t,r,a){return"default"===t?e.makeImport(e.createIdentifier(n),void 0,r,a):e.makeImport(void 0,[u(t,n)],r,a)}function u(n,t){return e.createImportSpecifier(void 0!==n&&n!==t?e.createIdentifier(n):void 0,e.createIdentifier(t))}function m(n,t,r){return e.createVariableStatement(n,e.createVariableDeclarationList([e.createVariableDeclaration(t,void 0,r)],2))}function p(n,t){return e.createExportDeclaration(void 0,void 0,n&&e.createNamedExports(n),void 0===t?void 0:e.createLiteral(t))}n.registerCodeFix({errorCodes:[e.Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module.code],getCodeActions:function(i){var o=i.sourceFile,c=i.program,d=i.preferences,u=e.textChanges.ChangeTracker.with(i,(function(n){if(function(n,t,i,o,c){var d={original:l(n),additional:e.createMap()},u=function(n,t,a){var i=e.createMap();return r(n,(function(n){var r=n.name,o=r.text,l=r.originalKeywordKind;!i.has(o)&&(void 0!==l&&e.isNonContextualKeyword(l)||t.resolveName(n.name.text,n,111551,!0))&&i.set(o,s("_"+o,a))})),i}(n,t,d);!function(n,t,a){r(n,(function(r,i){if(!i){var o=r.name.text;a.replaceNode(n,r,e.createIdentifier(t.get(o)||o))}}))}(n,u,i);for(var m=!1,p=0,f=n.statements;p=e.ModuleKind.ES2015)return 1;if(e.isInJSFile(n))return e.isExternalModule(n)?1:4;for(var a=0,i=n.statements;a0&&(!e.isIdentifier(r.name)||e.FindAllReferences.Core.isSymbolReferencedInFile(r.name,a,t))?r.modifiers.forEach((function(e){n.deleteModifier(t,e)})):(n.delete(t,r),function(n,t,r,a,i){e.FindAllReferences.Core.eachSignatureCall(r.parent,a,i,(function(e){var a=r.parent.parameters.indexOf(r);e.arguments.length>a&&n.delete(t,e.arguments[a])}))}(n,t,r,i,a)))}n.registerCodeFix({errorCodes:o,getCodeActions:function(a){var o=a.errorCode,g=a.sourceFile,_=a.program,y=_.getTypeChecker(),v=_.getSourceFiles(),h=e.getTokenAtPosition(g,a.span.start);if(e.isJSDocTemplateTag(h))return[l(e.textChanges.ChangeTracker.with(a,(function(e){return e.delete(g,h)})),e.Diagnostics.Remove_template_tag)];if(29===h.kind)return[l(L=e.textChanges.ChangeTracker.with(a,(function(e){return c(e,g,h)})),e.Diagnostics.Remove_type_parameters)];var b=d(h);if(b)return[l(L=e.textChanges.ChangeTracker.with(a,(function(e){return e.delete(g,b)})),[e.Diagnostics.Remove_import_from_0,e.showModuleSpecifier(b)])];var E=e.textChanges.ChangeTracker.with(a,(function(e){return u(h,e,g,y,v,!1)}));if(E.length)return[l(E,e.Diagnostics.Remove_destructuring)];var T=e.textChanges.ChangeTracker.with(a,(function(e){return m(g,h,e)}));if(T.length)return[l(T,e.Diagnostics.Remove_variable_statement)];var S=[];if(131===h.kind){var L=e.textChanges.ChangeTracker.with(a,(function(e){return s(e,g,h)})),A=e.cast(h.parent,e.isInferTypeNode).typeParameter.name.text;S.push(n.createCodeFixAction(t,L,[e.Diagnostics.Replace_infer_0_with_unknown,A],i,e.Diagnostics.Replace_all_unused_infer_with_unknown))}else{var x=e.textChanges.ChangeTracker.with(a,(function(e){return f(g,h,e,y,v,!1)}));if(x.length){A=e.isComputedPropertyName(h.parent)?h.parent:h;S.push(l(x,[e.Diagnostics.Remove_declaration_for_Colon_0,A.getText(g)]))}}var C=e.textChanges.ChangeTracker.with(a,(function(e){return p(e,o,g,h)}));return C.length&&S.push(n.createCodeFixAction(t,C,[e.Diagnostics.Prefix_0_with_an_underscore,h.getText(g)],r,e.Diagnostics.Prefix_all_unused_declarations_with_where_possible)),S},fixIds:[r,a,i],getAllCodeActions:function(t){var l=t.sourceFile,g=t.program,_=g.getTypeChecker(),y=g.getSourceFiles();return n.codeFixAll(t,o,(function(n,o){var g=e.getTokenAtPosition(l,o.start);switch(t.fixId){case r:p(n,o.code,l,g);break;case a:if(131===g.kind)break;var v=d(g);v?n.delete(l,v):e.isJSDocTemplateTag(g)?n.delete(l,g):29===g.kind?c(n,l,g):u(g,n,l,_,y,!0)||m(l,g,n)||f(l,g,n,_,y,!0);break;case i:131===g.kind&&s(n,l,g);break;default:e.Debug.fail(JSON.stringify(t.fixId))}}))}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(n){var t="fixUnreachableCode",r=[e.Diagnostics.Unreachable_code_detected.code];function a(n,t,r,a){var i=e.getTokenAtPosition(t,r),o=e.findAncestor(i,e.isStatement);e.Debug.assert(o.getStart(t)===i.getStart(t),"token and statement should start at the same point");var s=(e.isBlock(o.parent)?o.parent:o).parent;if(!e.isBlock(o.parent)||o===e.first(o.parent.statements))switch(s.kind){case 226:if(s.elseStatement){if(e.isBlock(o.parent))break;return void n.replaceNode(t,o,e.createBlock(e.emptyArray))}case 228:case 229:return void n.delete(t,s)}if(e.isBlock(o.parent)){var l=r+a,c=e.Debug.assertDefined(function(e,n){for(var t,r=0,a=e;rx.length)R(d.getSignatureFromDeclaration(c[c.length-1]),f,m,o(s));else e.Debug.assert(c.length===x.length,"Declarations and signatures should match count"),l(function(n,t,r,a,s){for(var l=n[0],c=n[0].minArgumentCount,d=!1,u=0,m=n;u=l.parameters.length&&(!e.signatureHasRestParameter(p)||e.signatureHasRestParameter(l))&&(l=p)}var f=l.parameters.length-(e.signatureHasRestParameter(l)?1:0),g=l.parameters.map((function(e){return e.name})),_=i(f,g,void 0,c,!1);if(d){var y=e.createArrayTypeNode(e.createKeywordTypeNode(124)),v=e.createParameter(void 0,void 0,e.createToken(25),g[f]||"rest",f>=c?e.createToken(57):void 0,y,void 0);_.push(v)}return function(n,t,r,a,i,s,l){return e.createMethod(void 0,n,void 0,t,r?e.createToken(57):void 0,a,i,s,o(l))}(a,t,r,void 0,_,void 0,s)}(x,m,_,f,s))}}function R(n,i,o,s){var c=function(n,t,a,i,o,s,l){var c=n.program.getTypeChecker().signatureToSignatureDeclaration(t,160,a,257,r(n));if(!c)return;return c.decorators=void 0,c.modifiers=i,c.name=o,c.questionToken=s?e.createToken(57):void 0,c.body=l,c}(a,n,t,i,o,_,s);c&&l(c)}}function i(n,t,r,a,i){for(var o=[],s=0;s=a?e.createToken(57):void 0,i?void 0:r&&r[s]||e.createKeywordTypeNode(124),void 0);o.push(l)}return o}function o(n){return e.createBlock([e.createThrow(e.createNew(e.createIdentifier("Error"),void 0,[e.createLiteral("Method not implemented.","single"===n.quotePreference)]))],!0)}function s(n,t){return e.createPropertyAssignment(e.createStringLiteral(n),t)}function l(n,t){return e.find(n.properties,(function(n){return e.isPropertyAssignment(n)&&!!n.name&&e.isStringLiteral(n.name)&&n.name.text===t}))}n.createMissingMemberNodes=function(e,n,t,r,i){for(var o=e.symbol.members,s=0,l=n;s0)return[n.createCodeFixAction(t,i,e.Diagnostics.Convert_to_a_bigint_numeric_literal,t,e.Diagnostics.Convert_all_to_bigint_numeric_literals)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n)}))}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(n){var t="fixAddModuleReferTypeMissingTypeof",r=[e.Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code];function a(n,t){var r=e.getTokenAtPosition(n,t);return e.Debug.assert(95===r.kind,"This token should be an ImportKeyword"),e.Debug.assert(187===r.parent.kind,"Token parent should be an ImportType"),r.parent}function i(n,t,r){var a=e.updateImportTypeNode(r,r.argument,r.qualifier,r.typeArguments,!0);n.replaceNode(t,r,a)}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=r.span,l=a(o,s.start),c=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,o,l)}));return[n.createCodeFixAction(t,c,e.Diagnostics.Add_missing_typeof,t,e.Diagnostics.Add_missing_typeof)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(n,t){return i(n,e.sourceFile,a(t.file,t.start))}))}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(n){var t="fixConvertToMappedObjectType",r=[e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead.code];function a(n,t){var r=e.getTokenAtPosition(n,t),a=e.cast(r.parent.parent,e.isIndexSignatureDeclaration);if(!e.isClassDeclaration(a.parent))return{indexSignature:a,container:e.isInterfaceDeclaration(a.parent)?a.parent:e.cast(a.parent.parent,e.isTypeAliasDeclaration)}}function i(n,t,r){var a,i,s=r.indexSignature,l=r.container,c=(e.isInterfaceDeclaration(l)?l.members:l.type.members).filter((function(n){return!e.isIndexSignatureDeclaration(n)})),d=e.first(s.parameters),u=e.createTypeParameterDeclaration(e.cast(d.name,e.isIdentifier),d.type),m=e.createMappedTypeNode(e.hasReadonlyModifier(s)?e.createModifier(137):void 0,u,s.questionToken,s.type),p=e.createIntersectionTypeNode(o(e.getAllSuperTypeNodes(l),[m],c.length?[e.createTypeLiteralNode(c)]:e.emptyArray));n.replaceNode(t,l,(a=l,i=p,e.createTypeAliasDeclaration(a.decorators,a.modifiers,a.name,a.typeParameters,i)))}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var o=r.sourceFile,s=r.span,l=a(o,s.start);if(l){var c=e.textChanges.ChangeTracker.with(r,(function(e){return i(e,o,l)})),d=e.idText(l.container.name);return[n.createCodeFixAction(t,c,[e.Diagnostics.Convert_0_to_mapped_object_type,d],t,[e.Diagnostics.Convert_0_to_mapped_object_type,d])]}},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){var t=a(n.file,n.start);t&&i(e,n.file,t)}))}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(n){var t="removeUnnecessaryAwait",r=[e.Diagnostics.await_has_no_effect_on_the_type_of_this_expression.code];function a(n,t,r){var a=e.tryCast(e.getTokenAtPosition(t,r.start),(function(e){return 126===e.kind})),i=a&&e.tryCast(a.parent,e.isAwaitExpression);if(i){var o=i;if(e.isParenthesizedExpression(i.parent)){var s=e.getLeftmostExpression(i.expression,!1);if(e.isIdentifier(s)){var l=e.findPrecedingToken(i.parent.pos,t);l&&98!==l.kind&&(o=i.parent)}}n.replaceNode(t,o,i.expression)}}n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var i=e.textChanges.ChangeTracker.with(r,(function(e){return a(e,r.sourceFile,r.span)}));if(i.length>0)return[n.createCodeFixAction(t,i,e.Diagnostics.Remove_unnecessary_await,t,e.Diagnostics.Remove_all_unnecessary_uses_of_await)]},fixIds:[t],getAllCodeActions:function(e){return n.codeFixAll(e,r,(function(e,n){return a(e,n.file,n)}))}})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(n){var t="fixConvertConstToLet",r=[e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant.code];n.registerCodeFix({errorCodes:r,getCodeActions:function(r){var a=r.sourceFile,i=r.span,o=r.program,s=function(n,t,r){var a=e.getTokenAtPosition(n,t),i=r.getTypeChecker().getSymbolAtLocation(a);if(i)return i.valueDeclaration.parent.parent}(a,i.start,o),l=e.textChanges.ChangeTracker.with(r,(function(e){return function(e,n,t){if(!t)return;var r=t.getStart();e.replaceRangeWithText(n,{pos:r,end:r+5},"let")}(e,a,s)}));return[n.createCodeFixAction(t,l,e.Diagnostics.Convert_const_to_let,t,e.Diagnostics.Convert_const_to_let)]},fixIds:[t]})}(e.codefix||(e.codefix={}))}(u||(u={})),function(e){!function(n){function t(n){var t=n.file,r=e.getRefactorContextSpan(n),a=e.getTokenAtPosition(t,r.start),i=e.getParentNodeInSpan(a,t,r);if(i&&(e.isSourceFile(i.parent)||e.isModuleBlock(i.parent)&&e.isAmbientModule(i.parent.parent))){var o=e.isSourceFile(i.parent)?i.parent.symbol:i.parent.parent.symbol,s=e.getModifierFlags(i),l=!!(512&s);if(1&s&&(l||!o.exports.has("default")))switch(i.kind){case 243:case 244:case 245:case 247:case 246:case 248:var c=i;return c.name&&e.isIdentifier(c.name)?{exportNode:c,exportName:c.name,wasDefault:l,exportingModuleSymbol:o}:void 0;case 224:var d=i;if(!(2&d.declarationList.flags)||1!==d.declarationList.declarations.length)return;var u=e.first(d.declarationList.declarations);if(!u.initializer)return;return e.Debug.assert(!l,"Can't have a default flag here"),e.isIdentifier(u.name)?{exportNode:d,exportName:u.name,wasDefault:l,exportingModuleSymbol:o}:void 0;default:return}}}function r(n,t){return e.createImportSpecifier(n===t?void 0:e.createIdentifier(n),e.createIdentifier(t))}n.registerRefactor("Convert export",{getAvailableActions:function(n){var r=t(n);if(!r)return e.emptyArray;var a=r.wasDefault?e.Diagnostics.Convert_default_export_to_named_export.message:e.Diagnostics.Convert_named_export_to_default_export.message;return[{name:"Convert export",description:a,actions:[{name:r.wasDefault?"Convert default export to named export":"Convert named export to default export",description:a}]}]},getEditsForAction:function(n,a){return e.Debug.assert("Convert default export to named export"===a||"Convert named export to default export"===a,"Unexpected action name"),{edits:e.textChanges.ChangeTracker.with(n,(function(a){return i=n.file,o=n.program,s=e.Debug.assertDefined(t(n),"context must have info"),l=a,c=n.cancellationToken,function(n,t,r,a){var i=t.wasDefault,o=t.exportNode,s=t.exportName;if(i)r.delete(n,e.Debug.assertDefined(e.findModifier(o,83),"Should find a default keyword in modifier list"));else{var l=e.Debug.assertDefined(e.findModifier(o,88),"Should find an export keyword in modifier list");switch(o.kind){case 243:case 244:case 245:r.insertNodeAfter(n,l,e.createToken(83));break;case 224:if(!e.FindAllReferences.Core.isSymbolReferencedInFile(s,a,n)){r.replaceNode(n,o,e.createExportDefault(e.Debug.assertDefined(e.first(o.declarationList.declarations).initializer,"Initializer was previously known to be present")));break}case 247:case 246:case 248:r.deleteModifier(n,l),r.insertNodeAfter(n,o,e.createExportDefault(e.createIdentifier(s.text)));break;default:e.Debug.assertNever(o,"Unexpected exportNode kind "+o.kind)}}}(i,s,l,o.getTypeChecker()),void function(n,t,a,i){var o=t.wasDefault,s=t.exportName,l=t.exportingModuleSymbol,c=n.getTypeChecker(),d=e.Debug.assertDefined(c.getSymbolAtLocation(s),"Export name should resolve to a symbol");e.FindAllReferences.Core.eachExportReference(n.getSourceFiles(),c,i,d,l,s.text,o,(function(n){var t=n.getSourceFile();o?function(n,t,a,i){var o=t.parent;switch(o.kind){case 193:a.replaceNode(n,t,e.createIdentifier(i));break;case 257:case 261:var s=o;a.replaceNode(n,s,r(i,s.name.text));break;case 254:var l=o;e.Debug.assert(l.name===t,"Import clause name should match provided ref"),s=r(i,t.text);var c=l.namedBindings;if(c)if(255===c.kind){a.deleteRange(n,{pos:t.getStart(n),end:c.getStart(n)});var d=e.isStringLiteral(l.parent.moduleSpecifier)?e.quotePreferenceFromString(l.parent.moduleSpecifier,n):1,u=e.makeImport(void 0,[r(i,t.text)],l.parent.moduleSpecifier,d);a.insertNodeAfter(n,l.parent,u)}else a.delete(n,t),a.insertNodeAtEndOfList(n,c.elements,s);else a.replaceNode(n,t,e.createNamedImports([s]));break;default:e.Debug.failBadSyntaxKind(o)}}(t,n,a,s.text):function(n,t,r){var a,i,o=t.parent;switch(o.kind){case 193:r.replaceNode(n,t,e.createIdentifier("default"));break;case 257:var s=e.createIdentifier(o.name.text);1===o.parent.elements.length?r.replaceNode(n,o.parent,s):(r.delete(n,o),r.insertNodeBefore(n,o.parent,s));break;case 261:r.replaceNode(n,o,(a="default",i=o.name.text,e.createExportSpecifier(a===i?void 0:e.createIdentifier(a),e.createIdentifier(i))));break;default:e.Debug.assertNever(o,"Unexpected parent kind "+o.kind)}}(t,n,a)}))}(o,s,l,c);var i,o,s,l,c})),renameFilename:void 0,renameLocation:void 0}}})}(e.refactor||(e.refactor={}))}(u||(u={})),function(e){!function(n){function t(n){var t=n.file,r=e.getRefactorContextSpan(n),a=e.getTokenAtPosition(t,r.start),i=e.getParentNodeInSpan(a,t,r);if(i&&e.isImportDeclaration(i)){var o=i.importClause;return o&&o.namedBindings}}function r(n,t,r){return e.createImportDeclaration(void 0,void 0,e.createImportClause(t,r&&r.length?e.createNamedImports(r):void 0),n.moduleSpecifier)}n.registerRefactor("Convert import",{getAvailableActions:function(n){var r=t(n);if(!r)return e.emptyArray;var a=255===r.kind?e.Diagnostics.Convert_namespace_import_to_named_imports.message:e.Diagnostics.Convert_named_imports_to_namespace_import.message;return[{name:"Convert import",description:a,actions:[{name:255===r.kind?"Convert namespace import to named imports":"Convert named imports to namespace import",description:a}]}]},getEditsForAction:function(n,a){return e.Debug.assert("Convert namespace import to named imports"===a||"Convert named imports to namespace import"===a,"Unexpected action name"),{edits:e.textChanges.ChangeTracker.with(n,(function(a){return i=n.file,o=n.program,s=a,l=e.Debug.assertDefined(t(n),"Context must provide an import to convert"),c=o.getTypeChecker(),void(255===l.kind?function(n,t,a,i,o){var s=!1,l=[],c=e.createMap();e.FindAllReferences.Core.eachSymbolReferenceInFile(i.name,t,n,(function(n){if(e.isPropertyAccessExpression(n.parent)){var r=e.cast(n.parent,e.isPropertyAccessExpression),a=r.name.text;t.resolveName(a,n,67108863,!0)&&c.set(a,!0),e.Debug.assert(r.expression===n,"Parent expression should match id"),l.push(r)}else s=!0}));for(var d=e.createMap(),u=0,m=l;u0;if(e.isBlock(n)&&!s&&0===a.size)return{body:e.createBlock(n.statements,!0),returnValueProperty:void 0};var l=!1,c=e.createNodeArray(e.isBlock(n)?n.statements.slice(0):[e.isStatement(n)?n:e.createReturn(n)]);if(s||a.size){var d=e.visitNodes(c,(function n(i){if(!l&&234===i.kind&&s){var c=g(t,r);return i.expression&&(o||(o="__return"),c.unshift(e.createPropertyAssignment(o,e.visitNode(i.expression,n)))),1===c.length?e.createReturn(c[0].name):e.createReturn(e.createObjectLiteral(c))}var d=l;l=l||e.isFunctionLikeDeclaration(i)||e.isClassLike(i);var u=a.get(e.getNodeId(i).toString()),m=u?e.getSynthesizedDeepClone(u):e.visitEachChild(i,n,e.nullTransformationContext);return l=d,m})).slice();if(s&&!i&&e.isStatement(n)){var u=g(t,r);1===u.length?d.push(e.createReturn(u[0].name)):d.push(e.createReturn(e.createObjectLiteral(u)))}return{body:e.createBlock(d,!0),returnValueProperty:o}}return{body:e.createBlock(c,!0),returnValueProperty:void 0}}(n,i,c,m,!!(o.facts&a.HasReturn)),I=R.body,M=R.returnValueProperty;if(e.suppressLeadingAndTrailingTrivia(I),e.isClassLike(t)){var O=b?[]:[e.createToken(116)];o.facts&a.InStaticRegion&&O.push(e.createToken(119)),o.facts&a.IsAsyncFunction&&O.push(e.createToken(125)),D=e.createMethod(void 0,O.length?O:void 0,o.facts&a.IsGenerator?e.createToken(41):void 0,E,void 0,A,T,l,I)}else D=e.createFunctionDeclaration(void 0,o.facts&a.IsAsyncFunction?[e.createToken(125)]:void 0,o.facts&a.IsGenerator?e.createToken(41):void 0,E,A,T,l,I);var k=e.textChanges.ChangeTracker.fromContext(s),N=function(n,t){return e.find(function(n){if(e.isFunctionLikeDeclaration(n)){var t=n.body;if(e.isBlock(t))return t.statements}else{if(e.isModuleBlock(n)||e.isSourceFile(n))return n.statements;if(e.isClassLike(n))return n.members;e.assertType(n)}return e.emptyArray}(t),(function(t){return t.pos>=n&&e.isFunctionLikeDeclaration(t)&&!e.isConstructorDeclaration(t)}))}((_(o.range)?e.last(o.range):o.range).end,t);N?k.insertNodeBefore(s.file,N,D,!0):k.insertNodeAtEndOfScope(s.file,t,D);var w=[],P=function(n,t,r){var i=e.createIdentifier(r);if(e.isClassLike(n)){var o=t.facts&a.InStaticRegion?e.createIdentifier(n.name.text):e.createThis();return e.createPropertyAccess(o,i)}return i}(t,o,h),G=e.createCall(P,x,S);o.facts&a.IsGenerator&&(G=e.createYield(e.createToken(41),G));o.facts&a.IsAsyncFunction&&(G=e.createAwait(G));if(i.length&&!c)if(e.Debug.assert(!M,"Expected no returnValueProperty"),e.Debug.assert(!(o.facts&a.HasReturn),"Expected RangeFacts.HasReturn flag to be unset"),1===i.length){var F=i[0];w.push(e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.getSynthesizedDeepClone(F.name),e.getSynthesizedDeepClone(F.type),G)],F.parent.flags)))}else{for(var V=[],B=[],U=i[0].parent.flags,H=!1,K=0,j=i;K0,"Found no members");for(var i=!0,o=0,s=a;on)return r||a[0];if(i&&!e.isPropertyDeclaration(l)){if(void 0!==r)return l;i=!1}r=l}return void 0===r?e.Debug.fail():r}(n.pos,t);_.insertNodeBefore(o.file,E,h,!0),_.replaceNode(o.file,n,b)}else{var T=e.createVariableDeclaration(m,f,g),S=function(n,t){var r;for(;void 0!==n&&n!==t;){if(e.isVariableDeclaration(n)&&n.initializer===r&&e.isVariableDeclarationList(n.parent)&&n.parent.declarations.length>1)return n;r=n,n=n.parent}}(n,t);if(S){_.insertNodeBefore(o.file,S,T);b=e.createIdentifier(m);_.replaceNode(o.file,n,b)}else if(225===n.parent.kind&&t===e.findAncestor(n,u)){var L=e.createVariableStatement(void 0,e.createVariableDeclarationList([T],2));_.replaceNode(o.file,n.parent,L)}else{L=e.createVariableStatement(void 0,e.createVariableDeclarationList([T],2));if(0===(E=function(n,t){var r;e.Debug.assert(!e.isClassLike(t));for(var a=n;a!==t;a=a.parent)u(a)&&(r=a);for(a=(r||n).parent;;a=a.parent){if(y(a)){for(var i=void 0,o=0,s=a.statements;on.pos)break;i=l}return!i&&e.isCaseClause(a)?(e.Debug.assert(e.isSwitchStatement(a.parent.parent),"Grandparent isn't a switch statement"),a.parent.parent):e.Debug.assertDefined(i,"prevStatement failed to get set")}e.Debug.assert(a!==t,"Didn't encounter a block-like before encountering scope")}}(n,t)).pos?_.insertNodeAtTopOfFile(o.file,L,!1):_.insertNodeBefore(o.file,E,L,!1),225===n.parent.kind)_.delete(o.file,n.parent);else{b=e.createIdentifier(m);_.replaceNode(o.file,n,b)}}}var A=_.getChanges(),x=n.getSourceFile().fileName,C=e.getRenameLocation(A,x,m,!0);return{renameFilename:x,renameLocation:C,edits:A}}(e.isExpression(l)?l:l.statements[0].expression,o[r],c[r],n.facts,t)}(r,n,o)}e.Debug.fail("Unrecognized action name")}function c(n,t){var i=t.length;if(0===i)return{errors:[e.createFileDiagnostic(n,t.start,i,r.cannotExtractEmpty)]};var o=e.getParentNodeInSpan(e.getTokenAtPosition(n,t.start),n,t),s=e.getParentNodeInSpan(e.findTokenOnLeftOfPosition(n,e.textSpanEnd(t)),n,t),l=[],c=a.None;if(!o||!s)return{errors:[e.createFileDiagnostic(n,t.start,i,r.cannotExtractRange)]};if(o.parent!==s.parent)return{errors:[e.createFileDiagnostic(n,t.start,i,r.cannotExtractRange)]};if(o!==s){if(!y(o.parent))return{errors:[e.createFileDiagnostic(n,t.start,i,r.cannotExtractRange)]};for(var u=[],m=0,p=o.parent.statements;m=t.start+t.length)return(o||(o=[])).push(e.createDiagnosticForNode(i,r.cannotExtractSuper)),!0}else c|=a.UsesThis}if(e.isFunctionLikeDeclaration(i)||e.isClassLike(i)){switch(i.kind){case 243:case 244:e.isSourceFile(i.parent)&&void 0===i.parent.externalModuleIndicator&&(o||(o=[])).push(e.createDiagnosticForNode(i,r.functionWillNotBeVisibleInTheNewScope))}return!1}var p=u;switch(i.kind){case 226:case 239:u=0;break;case 222:i.parent&&239===i.parent.kind&&i.parent.finallyBlock===i&&(u=4);break;case 275:u|=1;break;default:e.isIterationStatement(i,!1)&&(u|=3)}switch(i.kind){case 182:case 103:c|=a.UsesThis;break;case 237:var f=i.label;(d||(d=[])).push(f.escapedText),e.forEachChild(i,n),d.pop();break;case 233:case 232:(f=i.label)?e.contains(d,f.escapedText)||(o||(o=[])).push(e.createDiagnosticForNode(i,r.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):u&(233===i.kind?1:2)||(o||(o=[])).push(e.createDiagnosticForNode(i,r.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break;case 205:c|=a.IsAsyncFunction;break;case 211:c|=a.IsGenerator;break;case 234:4&u?c|=a.HasReturn:(o||(o=[])).push(e.createDiagnosticForNode(i,r.cannotExtractRangeContainingConditionalReturnStatement));break;default:e.forEachChild(i,n)}u=p}(n),o}}function d(n){return e.isStatement(n)?[n]:e.isExpressionNode(n)?e.isExpressionStatement(n.parent)?[n.parent]:n:void 0}function u(n){return e.isFunctionLikeDeclaration(n)||e.isSourceFile(n)||e.isModuleBlock(n)||e.isClassLike(n)}function m(n,t){var i=t.file,o=function(n){var t=_(n.range)?e.first(n.range):n.range;if(n.facts&a.UsesThis){var r=e.getContainingClass(t);if(r){var i=e.findAncestor(t,e.isFunctionLikeDeclaration);return i?[i,r]:[r]}}for(var o=[];;)if(155===(t=t.parent).kind&&(t=e.findAncestor(t,(function(n){return e.isFunctionLikeDeclaration(n)})).parent),u(t)&&(o.push(t),288===t.kind))return o}(n);return{scopes:o,readsAndWrites:function(n,t,i,o,s,l){var c,d,u=e.createMap(),m=[],p=[],f=[],g=[],y=[],v=e.createMap(),h=[],b=_(n.range)?1===n.range.length&&e.isExpressionStatement(n.range[0])?n.range[0].expression:void 0:n.range;if(void 0===b){var E=n.range,T=e.first(E).getStart(),S=e.last(E).end;d=e.createFileDiagnostic(o,T,S-T,r.expressionExpected)}else 147456&s.getTypeAtLocation(b).flags&&(d=e.createDiagnosticForNode(b,r.uselessConstantType));for(var L=0,A=t;L=c)return _;if(D.set(_,c),y){for(var v=0,h=m;v0){for(var k=e.createMap(),N=0,w=I;void 0!==w&&N=0)return;var a=e.isIdentifier(r)?j(r):s.getSymbolAtLocation(r);if(a){var i=e.find(y,(function(e){return e.symbol===a}));if(i)if(e.isVariableDeclaration(i)){var o=i.symbol.id.toString();v.has(o)||(h.push(i),v.set(o,!0))}else c=c||i}e.forEachChild(r,t)}))}for(var U=function(t){var a=m[t];if(t>0&&(a.usages.size>0||a.typeParameterUsages.size>0)){var i=_(n.range)?n.range[0]:n.range;g[t].push(e.createDiagnosticForNode(i,r.cannotAccessVariablesFromNestedScopes))}var o,s=!1;if(m[t].usages.forEach((function(n){2===n.usage&&(s=!0,106500&n.symbol.flags&&n.symbol.valueDeclaration&&e.hasModifier(n.symbol.valueDeclaration,64)&&(o=n.symbol.valueDeclaration))})),e.Debug.assert(_(n.range)||0===h.length,"No variable declarations expected if something was extracted"),s&&!_(n.range)){var l=e.createDiagnosticForNode(n.range,r.cannotWriteInExpression);f[t].push(l),g[t].push(l)}else if(o&&t>0){l=e.createDiagnosticForNode(o,r.cannotExtractReadonlyPropertyInitializerOutsideConstructor);f[t].push(l),g[t].push(l)}else if(c){l=e.createDiagnosticForNode(c,r.cannotExtractExportedEntity);f[t].push(l),g[t].push(l)}},H=0;Hr.pos}));if(-1!==i){var o=a[i];if(e.isNamedDeclaration(o)&&o.name&&e.rangeContainsRange(o.name,r))return{toMove:[a[i]],afterLast:a[i+1]};if(!(r.pos>o.getStart(t))){var s=e.findIndex(a,(function(e){return e.end>r.end}),i);if(-1===s||!(0===s||a[s].getStart(t)=2&&e.every(n,(function(n){return function(n,t){if(e.isRestParameter(n)){var r=t.getTypeAtLocation(n);if(!t.isArrayType(r)&&!t.isTupleType(r))return!1}return!n.modifiers&&!n.decorators&&e.isIdentifier(n.name)}(n,t)}))}(n.parameters,t))return!1;switch(n.kind){case 243:return m(n)&&u(n,t);case 160:return u(n,t);case 161:return e.isClassDeclaration(n.parent)?m(n.parent)&&u(n,t):p(n.parent.parent)&&u(n,t);case 200:case 201:return p(n.parent)}return!1}(i,r)&&e.rangeContainsRange(i,a))||i.body&&e.rangeContainsRange(i.body,a)?void 0:i}function u(e,n){return!!e.body&&!n.isImplementationOfOverload(e)}function m(n){return!!n.name||!!e.findModifier(n,83)}function p(n){return e.isVariableDeclaration(n)&&e.isVarConst(n)&&e.isIdentifier(n.name)&&!n.type}function f(n){return n.length>0&&e.isThis(n[0].name)}function g(n){return f(n)&&(n=e.createNodeArray(n.slice(1),n.hasTrailingComma)),n}function _(n,t){var r=g(n.parameters),a=e.isRestParameter(e.last(r)),i=a?t.slice(0,r.length-1):t,o=e.map(i,(function(n,t){var a,i,o=v(r[t]),s=(a=o,i=n,e.isIdentifier(i)&&e.getTextOfIdentifierOrLiteral(i)===a?e.createShorthandPropertyAssignment(a):e.createPropertyAssignment(a,i));return e.suppressLeadingAndTrailingTrivia(s.name),e.isPropertyAssignment(s)&&e.suppressLeadingAndTrailingTrivia(s.initializer),y(n,s),s}));if(a&&t.length>=r.length){var s=t.slice(r.length-1),l=e.createPropertyAssignment(v(e.last(r)),e.createArrayLiteral(s));o.push(l)}return e.createObjectLiteral(o,!1)}function y(n,t){var r=n.getSourceFile();!function(e,n){for(var t=e.getFullStart(),r=e.getStart(),a=t;a316}));return r.kind<152?r:r.getFirstToken(n)}},t.prototype.getLastToken=function(n){this.assertHasRealPosition();var t=this.getChildren(n),r=e.lastOrUndefined(t);if(r)return r.kind<152?r:r.getLastToken(n)},t.prototype.forEachChild=function(n,t){return e.forEachChild(this,n,t)},t}();function a(t,r,a,i){for(e.scanner.setTextPos(r);r=r.length&&(n=this.getEnd()),n||(n=r[t+1]-1);var a=this.getFullText();return"\n"===a[n]&&"\r"===a[n-1]?n-1:n},t.prototype.getNamedDeclarations=function(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations},t.prototype.computeNamedDeclarations=function(){var n=e.createMultiMap();return this.forEachChild((function a(i){switch(i.kind){case 243:case 200:case 160:case 159:var o=i,s=r(o);if(s){var l=function(e){var t=n.get(e);t||n.set(e,t=[]);return t}(s),c=e.lastOrUndefined(l);c&&o.parent===c.parent&&o.symbol===c.symbol?o.body&&!c.body&&(l[l.length-1]=o):l.push(o)}e.forEachChild(i,a);break;case 244:case 213:case 245:case 246:case 247:case 248:case 252:case 261:case 257:case 254:case 255:case 162:case 163:case 172:t(i),e.forEachChild(i,a);break;case 155:if(!e.hasModifier(i,92))break;case 241:case 190:var d=i;if(e.isBindingPattern(d.name)){e.forEachChild(d.name,a);break}d.initializer&&a(d.initializer);case 282:case 158:case 157:t(i);break;case 259:i.exportClause&&e.forEach(i.exportClause.elements,a);break;case 253:var u=i.importClause;u&&(u.name&&t(u.name),u.namedBindings&&(255===u.namedBindings.kind?t(u.namedBindings):e.forEach(u.namedBindings.elements,a)));break;case 208:0!==e.getAssignmentDeclarationKind(i)&&t(i);default:e.forEachChild(i,a)}})),n;function t(e){var t=r(e);t&&n.add(t,e)}function r(n){var t=e.getNonAssignedNameOfDeclaration(n);return t&&(e.isComputedPropertyName(t)&&e.isPropertyAccessExpression(t.expression)?t.expression.name.text:e.isPropertyName(t)?e.getNameFromPropertyName(t):void 0)}},t}(t),y=function(){function n(e,n,t){this.fileName=e,this.text=n,this.skipTrivia=t}return n.prototype.getLineAndCharacterOfPosition=function(n){return e.getLineAndCharacterOfPosition(this,n)},n}();function v(n){var t=!0;for(var r in n)if(e.hasProperty(n,r)&&!h(r)){t=!1;break}if(t)return n;var a={};for(var r in n){if(e.hasProperty(n,r))a[h(r)?r:r.charAt(0).toLowerCase()+r.substr(1)]=n[r]}return a}function h(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function b(){return{target:1,jsx:1}}e.toEditorSettings=v,e.displayPartsToString=function(n){return n?e.map(n,(function(e){return e.text})).join(""):""},e.getDefaultCompilerOptions=b,e.getSupportedCodeFixes=function(){return e.codefix.getSupportedErrorCodes()};var E=function(){function n(n,t){this.host=n,this.currentDirectory=n.getCurrentDirectory(),this.fileNameToEntry=e.createMap();for(var r=0,a=n.getScriptFileNames();r=this.throttleWaitMilliseconds&&(this.lastCancellationCheckTime=n,this.hostCancellationToken.isCancellationRequested())},n.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw new e.OperationCanceledException},n}();function D(n){var t=function(n){switch(n.kind){case 10:case 14:case 8:if(153===n.parent.kind)return e.isObjectLiteralElement(n.parent.parent)?n.parent.parent:void 0;case 75:return!e.isObjectLiteralElement(n.parent)||192!==n.parent.parent.kind&&272!==n.parent.parent.kind||n.parent.name!==n?void 0:n.parent}return}(n);return t&&(e.isObjectLiteralExpression(t.parent)||e.isJsxAttributes(t.parent))?t:void 0}function R(n,t,r,a){var i=e.getNameFromPropertyName(n.name);if(!i)return e.emptyArray;if(!r.isUnion())return(o=r.getProperty(i))?[o]:e.emptyArray;var o,s=e.mapDefined(r.types,(function(r){return e.isObjectLiteralExpression(n.parent)&&t.isTypeInvalidDueToUnionDiscriminant(r,n.parent)?void 0:r.getProperty(i)}));if(a&&(0===s.length||s.length===r.types.length)&&(o=r.getProperty(i)))return[o];return 0===s.length?e.mapDefined(r.types,(function(e){return e.getProperty(i)})):s}e.ThrottledCancellationToken=C,e.createLanguageService=function(n,t,r){var a;void 0===t&&(t=e.createDocumentRegistry(n.useCaseSensitiveFileNames&&n.useCaseSensitiveFileNames(),n.getCurrentDirectory())),void 0===r&&(r=!1);var i,l,c=new T(n),d=0,u=new x(n.getCancellationToken&&n.getCancellationToken()),m=n.getCurrentDirectory();function p(e){n.log&&n.log(e)}!e.localizedDiagnosticMessages&&n.getLocalizedDiagnosticMessages&&(e.localizedDiagnosticMessages=n.getLocalizedDiagnosticMessages());var f=e.hostUsesCaseSensitiveFileNames(n),g=e.createGetCanonicalFileName(f),_=e.getSourceMapper({useCaseSensitiveFileNames:function(){return f},getCurrentDirectory:function(){return m},getProgram:b,fileExists:e.maybeBind(n,n.fileExists),readFile:e.maybeBind(n,n.readFile),getDocumentPositionMapper:e.maybeBind(n,n.getDocumentPositionMapper),getSourceFileLike:e.maybeBind(n,n.getSourceFileLike),log:p});function y(e){var n=i.getSourceFile(e);if(!n){var t=new Error("Could not find source file: '"+e+"'.");throw t.ProgramFiles=i.getSourceFiles().map((function(e){return e.fileName})),t}return n}function h(){if(e.Debug.assert(!r),n.getProjectVersion){var a=n.getProjectVersion();if(a){if(l===a&&!n.hasChangedAutomaticTypeDirectiveNames)return;l=a}}var o=n.getTypeRootsVersion?n.getTypeRootsVersion():0;d!==o&&(p("TypeRoots version has changed; provide new program"),i=void 0,d=o);var s=new E(n,g),c=s.getRootFileNames(),y=n.hasInvalidatedResolution||e.returnFalse,v=s.getProjectReferences();if(!e.isProgramUptoDate(i,c,s.compilationSettings(),(function(e){return s.getVersion(e)}),L,y,!!n.hasChangedAutomaticTypeDirectiveNames,v)){var h=s.compilationSettings(),b={getSourceFile:function(n,t,r,a){return A(n,e.toPath(n,m,g),t,r,a)},getSourceFileByPath:A,getCancellationToken:function(){return u},getCanonicalFileName:g,useCaseSensitiveFileNames:function(){return f},getNewLine:function(){return e.getNewLineCharacter(h,(function(){return e.getNewLineOrDefaultFromHost(n)}))},getDefaultLibFileName:function(e){return n.getDefaultLibFileName(e)},writeFile:e.noop,getCurrentDirectory:function(){return m},fileExists:L,readFile:function(t){var r=e.toPath(t,m,g),a=s&&s.getEntryByPath(r);if(a)return e.isString(a)?void 0:e.getSnapshotText(a.scriptSnapshot);return n.readFile&&n.readFile(t)},realpath:n.realpath&&function(e){return n.realpath(e)},directoryExists:function(t){return e.directoryProbablyExists(t,n)},getDirectories:function(e){return n.getDirectories?n.getDirectories(e):[]},readDirectory:function(t,r,a,i,o){return e.Debug.assertDefined(n.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),n.readDirectory(t,r,a,i,o)},onReleaseOldSourceFile:function(e,n){var r=t.getKeyForCompilationSettings(n);t.releaseDocumentWithKey(e.resolvedPath,r)},hasInvalidatedResolution:y,hasChangedAutomaticTypeDirectiveNames:n.hasChangedAutomaticTypeDirectiveNames};n.trace&&(b.trace=function(e){return n.trace(e)}),n.resolveModuleNames&&(b.resolveModuleNames=function(){for(var e=[],t=0;t0&&(i=r.fileName,!e.stringContains(i,"/node_modules/")))for(var l=function(){var n="("+/(?:^(?:\s|\*)*)/.source+"|"+/(?:\/\/+\s*)/.source+"|"+/(?:\/\*+\s*)/.source+")",r="(?:"+e.map(t,(function(e){return"("+(e.text.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")+")")})).join("|")+")";return new RegExp(n+"("+r+/(?:.*?)/.source+")"+/(?:$|\*\/)/.source,"gim")}(),c=void 0;c=l.exec(o);){u.throwIfCancellationRequested();e.Debug.assert(c.length===t.length+3);var d=c[1],m=c.index+d.length;if(e.isInComment(r,m)){for(var p=void 0,f=0;f=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57)){var g=c[2];s.push({descriptor:p,message:g,position:m})}}}return s},getBraceMatchingAtPosition:function(n,t){var r=c.getCurrentSourceFile(n),a=e.getTouchingToken(r,t),i=a.getStart(r)===t?C.get(a.kind.toString()):void 0,o=i&&e.findChildOfKind(a.parent,i,r);return o?[e.createTextSpanFromNode(a,r),e.createTextSpanFromNode(o,r)].sort((function(e,n){return e.start-n.start})):e.emptyArray},getIndentationAtPosition:function(n,t,r){var a=e.timestamp(),i=v(r),o=c.getCurrentSourceFile(n);p("getIndentationAtPosition: getCurrentSourceFile: "+(e.timestamp()-a)),a=e.timestamp();var s=e.formatting.SmartIndenter.getIndentation(t,o,i);return p("getIndentationAtPosition: computeIndentation : "+(e.timestamp()-a)),s},getFormattingEditsForRange:function(n,t,r,a){var i=c.getCurrentSourceFile(n);return e.formatting.formatSelection(t,r,i,e.formatting.getFormatContext(v(a)))},getFormattingEditsForDocument:function(n,t){return e.formatting.formatDocument(c.getCurrentSourceFile(n),e.formatting.getFormatContext(v(t)))},getFormattingEditsAfterKeystroke:function(n,t,r,a){var i=c.getCurrentSourceFile(n),o=e.formatting.getFormatContext(v(a));if(!e.isInComment(i,t))switch(r){case"{":return e.formatting.formatOnOpeningCurly(t,i,o);case"}":return e.formatting.formatOnClosingCurly(t,i,o);case";":return e.formatting.formatOnSemicolon(t,i,o);case"\n":return e.formatting.formatOnEnter(t,i,o)}return[]},getDocCommentTemplateAtPosition:function(t,r){return e.JsDoc.getDocCommentTemplateAtPosition(e.getNewLineOrDefaultFromHost(n),c.getCurrentSourceFile(t),r)},isValidBraceCompletionAtPosition:function(n,t,r){if(60===r)return!1;var a=c.getCurrentSourceFile(n);if(e.isInString(a,t))return!1;if(e.isInsideJsxElementOrAttribute(a,t))return 123===r;if(e.isInTemplateString(a,t))return!1;switch(r){case 39:case 34:case 96:return!e.isInComment(a,t)}return!0},getJsxClosingTagAtPosition:function(n,t){var r=c.getCurrentSourceFile(n),a=e.findPrecedingToken(t,r);if(a){var i=31===a.kind&&e.isJsxOpeningElement(a.parent)?a.parent.parent:e.isJsxText(a)?a.parent:void 0;return i&&function n(t){var r=t.openingElement,a=t.closingElement,i=t.parent;return!e.tagNamesAreEquivalent(r.tagName,a.tagName)||e.isJsxElement(i)&&e.tagNamesAreEquivalent(r.tagName,i.openingElement.tagName)&&n(i)}(i)?{newText:""}:void 0}},getSpanOfEnclosingComment:function(n,t,r){var a=c.getCurrentSourceFile(n),i=e.formatting.getRangeOfEnclosingComment(a,t);return!i||r&&3!==i.kind?void 0:e.createTextSpanFromRange(i)},getCodeFixesAtPosition:function(t,r,a,o,s,l){void 0===l&&(l=e.emptyOptions),h();var c=y(t),d=e.createTextSpanFromBounds(r,a),m=e.formatting.getFormatContext(s);return e.flatMap(e.deduplicate(o,e.equateValues,e.compareValues),(function(t){return u.throwIfCancellationRequested(),e.codefix.getFixes({errorCode:t,sourceFile:c,span:d,program:i,host:n,cancellationToken:u,formatContext:m,preferences:l})}))},getCombinedCodeFix:function(t,r,a,o){void 0===o&&(o=e.emptyOptions),h(),e.Debug.assert("file"===t.type);var s=y(t.fileName),l=e.formatting.getFormatContext(a);return e.codefix.getAllFixes({fixId:r,sourceFile:s,program:i,host:n,cancellationToken:u,formatContext:l,preferences:o})},applyCodeActionCommand:function(n,t){var r="string"==typeof n?t:n;return e.isArray(r)?Promise.all(r.map((function(e){return I(e)}))):I(r)},organizeImports:function(t,r,a){void 0===a&&(a=e.emptyOptions),h(),e.Debug.assert("file"===t.type);var o=y(t.fileName),s=e.formatting.getFormatContext(r);return e.OrganizeImports.organizeImports(o,s,n,i,a)},getEditsForFileRename:function(t,r,a,i){return void 0===i&&(i=e.emptyOptions),e.getEditsForFileRename(b(),t,r,n,e.formatting.getFormatContext(a),i,_)},getEmitOutput:function(t,r,a){h();var o=y(t),s=n.getCustomTransformers&&n.getCustomTransformers();return e.getFileEmitOutput(i,o,!!r,u,s,a)},getNonBoundSourceFile:function(e){return c.getCurrentSourceFile(e)},getProgram:b,getApplicableRefactors:function(n,t,r){void 0===r&&(r=e.emptyOptions),h();var a=y(n);return e.refactor.getApplicableRefactors(M(a,t,r))},getEditsForRefactor:function(n,t,r,a,i,o){void 0===o&&(o=e.emptyOptions),h();var s=y(n);return e.refactor.getEditsForRefactor(M(s,r,o,t),a,i)},toLineColumnOffset:_.toLineColumnOffset,getSourceMapper:function(){return _}}},e.getNameTable=function(n){return n.nameTable||function(n){var t=n.nameTable=e.createUnderscoreEscapedMap();n.forEachChild((function n(r){if(e.isIdentifier(r)&&!e.isTagName(r)&&r.escapedText||e.isStringOrNumericLiteralLike(r)&&function(n){return e.isDeclarationName(n)||263===n.parent.kind||function(e){return e&&e.parent&&194===e.parent.kind&&e.parent.argumentExpression===e}(n)||e.isLiteralComputedPropertyDeclarationName(n)}(r)){var a=e.getEscapedTextOfIdentifierOrLiteral(r);t.set(a,void 0===t.get(a)?r.pos:-1)}if(e.forEachChild(r,n),e.hasJSDocNodes(r))for(var i=0,o=r.jsDoc;ia){var i=e.findPrecedingToken(r.pos,n);if(!i||n.getLineAndCharacterOfPosition(i.getEnd()).line!==a)return;r=i}if(!(8388608&r.flags))return u(r)}function o(t,r){var a=t.decorators?e.skipTrivia(n.text,t.decorators.end):t.getStart(n);return e.createTextSpanFromBounds(a,(r||t).getEnd())}function s(t,r){return o(t,e.findNextToken(r,r.parent,n))}function l(e,t){return e&&a===n.getLineAndCharacterOfPosition(e.getStart(n)).line?u(e):u(t)}function c(t){return u(e.findPrecedingToken(t.pos,n))}function d(t){return u(e.findNextToken(t,t.parent,n))}function u(t){if(t){var r=t.parent;switch(t.kind){case 224:return v(t.declarationList.declarations[0]);case 241:case 158:case 157:return v(t);case 155:return function n(t){if(e.isBindingPattern(t.name))return T(t.name);if(function(n){return!!n.initializer||void 0!==n.dotDotDotToken||e.hasModifier(n,12)}(t))return o(t);var r=t.parent,a=r.parameters.indexOf(t);return e.Debug.assert(-1!==a),0!==a?n(r.parameters[a-1]):u(r.body)}(t);case 243:case 160:case 159:case 162:case 163:case 161:case 200:case 201:return function(e){if(!e.body)return;if(h(e))return o(e);return u(e.body)}(t);case 222:if(e.isFunctionBlock(t))return function(e){var n=e.statements.length?e.statements[0]:e.getLastToken();if(h(e.parent))return l(e.parent,n);return u(n)}(t);case 249:return b(t);case 278:return b(t.block);case 225:return o(t.expression);case 234:return o(t.getChildAt(0),t.expression);case 228:return s(t,t.expression);case 227:return u(t.statement);case 240:return o(t.getChildAt(0));case 226:return s(t,t.expression);case 237:return u(t.statement);case 233:case 232:return o(t.getChildAt(0),t.label);case 229:return function(e){if(e.initializer)return E(e);if(e.condition)return o(e.condition);if(e.incrementor)return o(e.incrementor)}(t);case 230:return s(t,t.expression);case 231:return E(t);case 236:return s(t,t.expression);case 275:case 276:return u(t.statements[0]);case 239:return b(t.tryBlock);case 238:case 258:return o(t,t.expression);case 252:return o(t,t.moduleReference);case 253:case 259:return o(t,t.moduleSpecifier);case 248:if(1!==e.getModuleInstanceState(t))return;case 244:case 247:case 282:case 190:return o(t);case 235:return u(t.statement);case 156:return _=r.decorators,e.createTextSpanFromBounds(e.skipTrivia(n.text,_.pos),_.end);case 188:case 189:return T(t);case 245:case 246:return;case 26:case 1:return l(e.findPrecedingToken(t.pos,n));case 27:return c(t);case 18:return function(t){switch(t.parent.kind){case 247:var r=t.parent;return l(e.findPrecedingToken(t.pos,n,t.parent),r.members.length?r.members[0]:r.getLastToken(n));case 244:var a=t.parent;return l(e.findPrecedingToken(t.pos,n,t.parent),a.members.length?a.members[0]:a.getLastToken(n));case 250:return l(t.parent.parent,t.parent.clauses[0])}return u(t.parent)}(t);case 19:return function(n){switch(n.parent.kind){case 249:if(1!==e.getModuleInstanceState(n.parent.parent))return;case 247:case 244:return o(n);case 222:if(e.isFunctionBlock(n.parent))return o(n);case 278:return u(e.lastOrUndefined(n.parent.statements));case 250:var t=n.parent,r=e.lastOrUndefined(t.clauses);return r?u(e.lastOrUndefined(r.statements)):void 0;case 188:var a=n.parent;return u(e.lastOrUndefined(a.elements)||a);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent)){var i=n.parent;return o(e.lastOrUndefined(i.properties)||i)}return u(n.parent)}}(t);case 23:return function(n){switch(n.parent.kind){case 189:var t=n.parent;return o(e.lastOrUndefined(t.elements)||t);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(n.parent)){var r=n.parent;return o(e.lastOrUndefined(r.elements)||r)}return u(n.parent)}}(t);case 20:return function(e){if(227===e.parent.kind||195===e.parent.kind||196===e.parent.kind)return c(e);if(199===e.parent.kind)return d(e);return u(e.parent)}(t);case 21:return function(e){switch(e.parent.kind){case 200:case 243:case 201:case 160:case 159:case 162:case 163:case 161:case 228:case 227:case 229:case 231:case 195:case 196:case 199:return c(e);default:return u(e.parent)}}(t);case 58:return function(n){if(e.isFunctionLike(n.parent)||279===n.parent.kind||155===n.parent.kind)return c(n);return u(n.parent)}(t);case 31:case 29:return function(e){if(198===e.parent.kind)return d(e);return u(e.parent)}(t);case 110:return function(e){if(227===e.parent.kind)return s(e,e.parent.expression);return u(e.parent)}(t);case 86:case 78:case 91:return d(t);case 151:return function(e){if(231===e.parent.kind)return d(e);return u(e.parent)}(t);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(t))return S(t);if((75===t.kind||212===t.kind||279===t.kind||280===t.kind)&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(r))return o(t);if(208===t.kind){var a=t,i=a.left,m=a.operatorToken;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(i))return S(i);if(62===m.kind&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent))return o(t);if(27===m.kind)return u(i)}if(e.isExpressionNode(t))switch(r.kind){case 227:return c(t);case 156:return u(t.parent);case 229:case 231:return o(t);case 208:if(27===t.parent.operatorToken.kind)return o(t);break;case 201:if(t.parent.body===t)return o(t)}switch(t.parent.kind){case 279:if(t.parent.name===t&&!e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent.parent))return u(t.parent.initializer);break;case 198:if(t.parent.type===t)return d(t.parent.type);break;case 241:case 155:var p=t.parent,f=p.initializer,g=p.type;if(f===t||g===t||e.isAssignmentOperator(t.kind))return c(t);break;case 208:i=t.parent.left;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(i)&&t!==i)return c(t);break;default:if(e.isFunctionLike(t.parent)&&t.parent.type===t)return c(t)}return u(t.parent)}}var _;function y(t){return e.isVariableDeclarationList(t.parent)&&t.parent.declarations[0]===t?o(e.findPrecedingToken(t.pos,n,t.parent),t):o(t)}function v(t){if(230===t.parent.parent.kind)return u(t.parent.parent);var r=t.parent;return e.isBindingPattern(t.name)?T(t.name):t.initializer||e.hasModifier(t,1)||231===r.parent.kind?y(t):e.isVariableDeclarationList(t.parent)&&t.parent.declarations[0]!==t?u(e.findPrecedingToken(t.pos,n,t.parent)):void 0}function h(n){return e.hasModifier(n,1)||244===n.parent.kind&&161!==n.kind}function b(t){switch(t.parent.kind){case 248:if(1!==e.getModuleInstanceState(t.parent))return;case 228:case 226:case 230:return l(t.parent,t.statements[0]);case 229:case 231:return l(e.findPrecedingToken(t.pos,n,t.parent),t.statements[0])}return u(t.statements[0])}function E(e){if(242!==e.initializer.kind)return u(e.initializer);var n=e.initializer;return n.declarations.length>0?u(n.declarations[0]):void 0}function T(n){var t=e.forEach(n.elements,(function(e){return 214!==e.kind?e:void 0}));return t?u(t):190===n.parent.kind?o(n.parent):y(n.parent)}function S(n){e.Debug.assert(189!==n.kind&&188!==n.kind);var t=191===n.kind?n.elements:n.properties,r=e.forEach(t,(function(e){return 214!==e.kind?e:void 0}));return r?u(r):o(208===n.parent.kind?n.parent:n)}}}}(e.BreakpointResolver||(e.BreakpointResolver={}))}(u||(u={})),function(e){e.transform=function(n,t,r){var a=[];r=e.fixupCompilerOptions(r,a);var i=e.isArray(n)?n:[n],o=e.transformNodes(void 0,void 0,r,i,t,!0);return o.diagnostics=e.concatenate(o.diagnostics,a),o}}(u||(u={}));var u,m,p=function(){return this}();!function(e){function n(e,n){e&&e.log("*INTERNAL ERROR* - Exception in typescript services: "+n.message)}var t=function(){function n(e){this.scriptSnapshotShim=e}return n.prototype.getText=function(e,n){return this.scriptSnapshotShim.getText(e,n)},n.prototype.getLength=function(){return this.scriptSnapshotShim.getLength()},n.prototype.getChangeRange=function(n){var t=n,r=this.scriptSnapshotShim.getChangeRange(t.scriptSnapshotShim);if(null===r)return null;var a=JSON.parse(r);return e.createTextChangeRange(e.createTextSpan(a.span.start,a.span.length),a.newLength)},n.prototype.dispose=function(){"dispose"in this.scriptSnapshotShim&&this.scriptSnapshotShim.dispose()},n}(),r=function(){function n(n){var t=this;this.shimHost=n,this.loggingEnabled=!1,this.tracingEnabled=!1,"getModuleResolutionsForFile"in this.shimHost&&(this.resolveModuleNames=function(n,r){var a=JSON.parse(t.shimHost.getModuleResolutionsForFile(r));return e.map(n,(function(n){var t=e.getProperty(a,n);return t?{resolvedFileName:t,extension:e.extensionFromPath(t),isExternalLibraryImport:!1}:void 0}))}),"directoryExists"in this.shimHost&&(this.directoryExists=function(e){return t.shimHost.directoryExists(e)}),"getTypeReferenceDirectiveResolutionsForFile"in this.shimHost&&(this.resolveTypeReferenceDirectives=function(n,r){var a=JSON.parse(t.shimHost.getTypeReferenceDirectiveResolutionsForFile(r));return e.map(n,(function(n){return e.getProperty(a,n)}))})}return n.prototype.log=function(e){this.loggingEnabled&&this.shimHost.log(e)},n.prototype.trace=function(e){this.tracingEnabled&&this.shimHost.trace(e)},n.prototype.error=function(e){this.shimHost.error(e)},n.prototype.getProjectVersion=function(){if(this.shimHost.getProjectVersion)return this.shimHost.getProjectVersion()},n.prototype.getTypeRootsVersion=function(){return this.shimHost.getTypeRootsVersion?this.shimHost.getTypeRootsVersion():0},n.prototype.useCaseSensitiveFileNames=function(){return!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames()},n.prototype.getCompilationSettings=function(){var e=this.shimHost.getCompilationSettings();if(null===e||""===e)throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings");var n=JSON.parse(e);return n.allowNonTsExtensions=!0,n},n.prototype.getScriptFileNames=function(){var e=this.shimHost.getScriptFileNames();return JSON.parse(e)},n.prototype.getScriptSnapshot=function(e){var n=this.shimHost.getScriptSnapshot(e);return n&&new t(n)},n.prototype.getScriptKind=function(e){return"getScriptKind"in this.shimHost?this.shimHost.getScriptKind(e):0},n.prototype.getScriptVersion=function(e){return this.shimHost.getScriptVersion(e)},n.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}},n.prototype.getCancellationToken=function(){var n=this.shimHost.getCancellationToken();return new e.ThrottledCancellationToken(n)},n.prototype.getCurrentDirectory=function(){return this.shimHost.getCurrentDirectory()},n.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))},n.prototype.getDefaultLibFileName=function(e){return this.shimHost.getDefaultLibFileName(JSON.stringify(e))},n.prototype.readDirectory=function(n,t,r,a,i){var o=e.getFileMatcherPatterns(n,r,a,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(n,JSON.stringify(t),JSON.stringify(o.basePaths),o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern,i))},n.prototype.readFile=function(e,n){return this.shimHost.readFile(e,n)},n.prototype.fileExists=function(e){return this.shimHost.fileExists(e)},n}();e.LanguageServiceShimHostAdapter=r;var i=function(){function n(e){var n=this;this.shimHost=e,this.useCaseSensitiveFileNames=!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames(),"directoryExists"in this.shimHost?this.directoryExists=function(e){return n.shimHost.directoryExists(e)}:this.directoryExists=void 0,"realpath"in this.shimHost?this.realpath=function(e){return n.shimHost.realpath(e)}:this.realpath=void 0}return n.prototype.readDirectory=function(n,t,r,a,i){var o=e.getFileMatcherPatterns(n,r,a,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(n,JSON.stringify(t),JSON.stringify(o.basePaths),o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern,i))},n.prototype.fileExists=function(e){return this.shimHost.fileExists(e)},n.prototype.readFile=function(e){return this.shimHost.readFile(e)},n.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))},n}();function s(e,n,t,r){return l(e,n,!0,t,r)}function l(t,r,a,i,o){try{var s=function(n,t,r,a){var i;a&&(n.log(t),i=e.timestamp());var o=r();if(a){var s=e.timestamp();if(n.log(t+" completed in "+(s-i)+" msec"),e.isString(o)){var l=o;l.length>128&&(l=l.substring(0,128)+"..."),n.log(" result.length="+l.length+", result='"+JSON.stringify(l)+"'")}}return o}(t,r,i,o);return a?JSON.stringify({result:s}):s}catch(a){return a instanceof e.OperationCanceledException?JSON.stringify({canceled:!0}):(n(t,a),a.description=r,JSON.stringify({error:a}))}}e.CoreServicesShimHostAdapter=i;var c=function(){function e(e){this.factory=e,e.registerShim(this)}return e.prototype.dispose=function(e){this.factory.unregisterShim(this)},e}();function u(n,t){return n.map((function(n){return function(n,t){return{message:e.flattenDiagnosticMessageText(n.messageText,t),start:n.start,length:n.length,category:e.diagnosticCategoryName(n),code:n.code,reportsUnnecessary:n.reportsUnnecessary}}(n,t)}))}e.realizeDiagnostics=u;var m=function(n){function t(e,t,r){var a=n.call(this,e)||this;return a.host=t,a.languageService=r,a.logPerformance=!1,a.logger=a.host,a}return d(t,n),t.prototype.forwardJSONCall=function(e,n){return s(this.logger,e,n,this.logPerformance)},t.prototype.dispose=function(e){this.logger.log("dispose()"),this.languageService.dispose(),this.languageService=null,p&&p.CollectGarbage&&(p.CollectGarbage(),this.logger.log("CollectGarbage()")),this.logger=null,n.prototype.dispose.call(this,e)},t.prototype.refresh=function(e){this.forwardJSONCall("refresh("+e+")",(function(){return null}))},t.prototype.cleanupSemanticCache=function(){var e=this;this.forwardJSONCall("cleanupSemanticCache()",(function(){return e.languageService.cleanupSemanticCache(),null}))},t.prototype.realizeDiagnostics=function(n){return u(n,e.getNewLineOrDefaultFromHost(this.host))},t.prototype.getSyntacticClassifications=function(n,t,r){var a=this;return this.forwardJSONCall("getSyntacticClassifications('"+n+"', "+t+", "+r+")",(function(){return a.languageService.getSyntacticClassifications(n,e.createTextSpan(t,r))}))},t.prototype.getSemanticClassifications=function(n,t,r){var a=this;return this.forwardJSONCall("getSemanticClassifications('"+n+"', "+t+", "+r+")",(function(){return a.languageService.getSemanticClassifications(n,e.createTextSpan(t,r))}))},t.prototype.getEncodedSyntacticClassifications=function(n,t,r){var a=this;return this.forwardJSONCall("getEncodedSyntacticClassifications('"+n+"', "+t+", "+r+")",(function(){return f(a.languageService.getEncodedSyntacticClassifications(n,e.createTextSpan(t,r)))}))},t.prototype.getEncodedSemanticClassifications=function(n,t,r){var a=this;return this.forwardJSONCall("getEncodedSemanticClassifications('"+n+"', "+t+", "+r+")",(function(){return f(a.languageService.getEncodedSemanticClassifications(n,e.createTextSpan(t,r)))}))},t.prototype.getSyntacticDiagnostics=function(e){var n=this;return this.forwardJSONCall("getSyntacticDiagnostics('"+e+"')",(function(){var t=n.languageService.getSyntacticDiagnostics(e);return n.realizeDiagnostics(t)}))},t.prototype.getSemanticDiagnostics=function(e){var n=this;return this.forwardJSONCall("getSemanticDiagnostics('"+e+"')",(function(){var t=n.languageService.getSemanticDiagnostics(e);return n.realizeDiagnostics(t)}))},t.prototype.getSuggestionDiagnostics=function(e){var n=this;return this.forwardJSONCall("getSuggestionDiagnostics('"+e+"')",(function(){return n.realizeDiagnostics(n.languageService.getSuggestionDiagnostics(e))}))},t.prototype.getCompilerOptionsDiagnostics=function(){var e=this;return this.forwardJSONCall("getCompilerOptionsDiagnostics()",(function(){var n=e.languageService.getCompilerOptionsDiagnostics();return e.realizeDiagnostics(n)}))},t.prototype.getQuickInfoAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getQuickInfoAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getQuickInfoAtPosition(e,n)}))},t.prototype.getNameOrDottedNameSpan=function(e,n,t){var r=this;return this.forwardJSONCall("getNameOrDottedNameSpan('"+e+"', "+n+", "+t+")",(function(){return r.languageService.getNameOrDottedNameSpan(e,n,t)}))},t.prototype.getBreakpointStatementAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getBreakpointStatementAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getBreakpointStatementAtPosition(e,n)}))},t.prototype.getSignatureHelpItems=function(e,n,t){var r=this;return this.forwardJSONCall("getSignatureHelpItems('"+e+"', "+n+")",(function(){return r.languageService.getSignatureHelpItems(e,n,t)}))},t.prototype.getDefinitionAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getDefinitionAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getDefinitionAtPosition(e,n)}))},t.prototype.getDefinitionAndBoundSpan=function(e,n){var t=this;return this.forwardJSONCall("getDefinitionAndBoundSpan('"+e+"', "+n+")",(function(){return t.languageService.getDefinitionAndBoundSpan(e,n)}))},t.prototype.getTypeDefinitionAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getTypeDefinitionAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getTypeDefinitionAtPosition(e,n)}))},t.prototype.getImplementationAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getImplementationAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getImplementationAtPosition(e,n)}))},t.prototype.getRenameInfo=function(e,n,t){var r=this;return this.forwardJSONCall("getRenameInfo('"+e+"', "+n+")",(function(){return r.languageService.getRenameInfo(e,n,t)}))},t.prototype.getSmartSelectionRange=function(e,n){var t=this;return this.forwardJSONCall("getSmartSelectionRange('"+e+"', "+n+")",(function(){return t.languageService.getSmartSelectionRange(e,n)}))},t.prototype.findRenameLocations=function(e,n,t,r,a){var i=this;return this.forwardJSONCall("findRenameLocations('"+e+"', "+n+", "+t+", "+r+", "+a+")",(function(){return i.languageService.findRenameLocations(e,n,t,r,a)}))},t.prototype.getBraceMatchingAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getBraceMatchingAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getBraceMatchingAtPosition(e,n)}))},t.prototype.isValidBraceCompletionAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("isValidBraceCompletionAtPosition('"+e+"', "+n+", "+t+")",(function(){return r.languageService.isValidBraceCompletionAtPosition(e,n,t)}))},t.prototype.getSpanOfEnclosingComment=function(e,n,t){var r=this;return this.forwardJSONCall("getSpanOfEnclosingComment('"+e+"', "+n+")",(function(){return r.languageService.getSpanOfEnclosingComment(e,n,t)}))},t.prototype.getIndentationAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("getIndentationAtPosition('"+e+"', "+n+")",(function(){var a=JSON.parse(t);return r.languageService.getIndentationAtPosition(e,n,a)}))},t.prototype.getReferencesAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getReferencesAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getReferencesAtPosition(e,n)}))},t.prototype.findReferences=function(e,n){var t=this;return this.forwardJSONCall("findReferences('"+e+"', "+n+")",(function(){return t.languageService.findReferences(e,n)}))},t.prototype.getOccurrencesAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getOccurrencesAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getOccurrencesAtPosition(e,n)}))},t.prototype.getDocumentHighlights=function(n,t,r){var a=this;return this.forwardJSONCall("getDocumentHighlights('"+n+"', "+t+")",(function(){var i=a.languageService.getDocumentHighlights(n,t,JSON.parse(r)),o=e.normalizeSlashes(n).toLowerCase();return e.filter(i,(function(n){return e.normalizeSlashes(n.fileName).toLowerCase()===o}))}))},t.prototype.getCompletionsAtPosition=function(e,n,t){var r=this;return this.forwardJSONCall("getCompletionsAtPosition('"+e+"', "+n+", "+t+")",(function(){return r.languageService.getCompletionsAtPosition(e,n,t)}))},t.prototype.getCompletionEntryDetails=function(e,n,t,r,a,i){var o=this;return this.forwardJSONCall("getCompletionEntryDetails('"+e+"', "+n+", '"+t+"')",(function(){var s=void 0===r?void 0:JSON.parse(r);return o.languageService.getCompletionEntryDetails(e,n,t,s,a,i)}))},t.prototype.getFormattingEditsForRange=function(e,n,t,r){var a=this;return this.forwardJSONCall("getFormattingEditsForRange('"+e+"', "+n+", "+t+")",(function(){var i=JSON.parse(r);return a.languageService.getFormattingEditsForRange(e,n,t,i)}))},t.prototype.getFormattingEditsForDocument=function(e,n){var t=this;return this.forwardJSONCall("getFormattingEditsForDocument('"+e+"')",(function(){var r=JSON.parse(n);return t.languageService.getFormattingEditsForDocument(e,r)}))},t.prototype.getFormattingEditsAfterKeystroke=function(e,n,t,r){var a=this;return this.forwardJSONCall("getFormattingEditsAfterKeystroke('"+e+"', "+n+", '"+t+"')",(function(){var i=JSON.parse(r);return a.languageService.getFormattingEditsAfterKeystroke(e,n,t,i)}))},t.prototype.getDocCommentTemplateAtPosition=function(e,n){var t=this;return this.forwardJSONCall("getDocCommentTemplateAtPosition('"+e+"', "+n+")",(function(){return t.languageService.getDocCommentTemplateAtPosition(e,n)}))},t.prototype.getNavigateToItems=function(e,n,t){var r=this;return this.forwardJSONCall("getNavigateToItems('"+e+"', "+n+", "+t+")",(function(){return r.languageService.getNavigateToItems(e,n,t)}))},t.prototype.getNavigationBarItems=function(e){var n=this;return this.forwardJSONCall("getNavigationBarItems('"+e+"')",(function(){return n.languageService.getNavigationBarItems(e)}))},t.prototype.getNavigationTree=function(e){var n=this;return this.forwardJSONCall("getNavigationTree('"+e+"')",(function(){return n.languageService.getNavigationTree(e)}))},t.prototype.getOutliningSpans=function(e){var n=this;return this.forwardJSONCall("getOutliningSpans('"+e+"')",(function(){return n.languageService.getOutliningSpans(e)}))},t.prototype.getTodoComments=function(e,n){var t=this;return this.forwardJSONCall("getTodoComments('"+e+"')",(function(){return t.languageService.getTodoComments(e,JSON.parse(n))}))},t.prototype.getEmitOutput=function(e){var n=this;return this.forwardJSONCall("getEmitOutput('"+e+"')",(function(){return n.languageService.getEmitOutput(e)}))},t.prototype.getEmitOutputObject=function(e){var n=this;return l(this.logger,"getEmitOutput('"+e+"')",!1,(function(){return n.languageService.getEmitOutput(e)}),this.logPerformance)},t}(c);function f(e){return{spans:e.spans.join(","),endOfLineState:e.endOfLineState}}var g=function(n){function t(t,r){var a=n.call(this,t)||this;return a.logger=r,a.logPerformance=!1,a.classifier=e.createClassifier(),a}return d(t,n),t.prototype.getEncodedLexicalClassifications=function(e,n,t){var r=this;return void 0===t&&(t=!1),s(this.logger,"getEncodedLexicalClassifications",(function(){return f(r.classifier.getEncodedLexicalClassifications(e,n,t))}),this.logPerformance)},t.prototype.getClassificationsForLine=function(e,n,t){void 0===t&&(t=!1);for(var r=this.classifier.getClassificationsForLine(e,n,t),a="",i=0,o=r.entries;i=0,i=l.indexOf("Macintosh")>=0,l.indexOf("Macintosh")>=0&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,o=l.indexOf("Linux")>=0,s=!0,navigator.language;var p=a,f=s,g="object"==typeof self?self:"object"==typeof r?r:{};!function(){if(g.setImmediate)return g.setImmediate.bind(g);if("function"==typeof g.postMessage&&!g.importScripts){var n=[];g.addEventListener("message",(function(e){if(e.data&&e.data.vscodeSetImmediateId)for(var t=0,r=n.length;t1)for(var t=1;t=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),n))},t(6),n.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,n.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,t(2))},function(e,n,t){(function(e,n){!function(e,t){"use strict";if(!e.setImmediate){var r,a,i,o,s,l=1,c={},d=!1,u=e.document,m=Object.getPrototypeOf&&Object.getPrototypeOf(e);m=m&&m.setTimeout?m:e,"[object process]"==={}.toString.call(e.process)?r=function(e){n.nextTick((function(){f(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var n=!0,t=e.onmessage;return e.onmessage=function(){n=!1},e.postMessage("","*"),e.onmessage=t,n}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){f(e.data)},r=function(e){i.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(a=u.documentElement,r=function(e){var n=u.createElement("script");n.onreadystatechange=function(){f(e),n.onreadystatechange=null,a.removeChild(n),n=null},a.appendChild(n)}):r=function(e){setTimeout(f,0,e)}:(o="setImmediate$"+Math.random()+"$",s=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(o)&&f(+n.data.slice(o.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),r=function(n){e.postMessage(o+n,"*")}),m.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var n=new Array(arguments.length-1),t=0;tr?e[l]=i[s++]:s>a?e[l]=i[o++]:n(i[s],i[o])<0?e[l]=i[s++]:e[l]=i[o++]}(n,t,r,o,a,i)}(e,n,0,e.length-1,[]),e}var b=function(){function e(e,n,t,r){this.originalStart=e,this.originalLength=n,this.modifiedStart=t,this.modifiedLength=r}return e.prototype.getOriginalEnd=function(){return this.originalStart+this.originalLength},e.prototype.getModifiedEnd=function(){return this.modifiedStart+this.modifiedLength},e}();function E(e,n){return(n<<5)-n+e|0}function T(e,n){n=E(149417,n);for(var t=0,r=e.length;t0||this.m_modifiedCount>0)&&this.m_changes.push(new b(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824},e.prototype.AddOriginalElement=function(e,n){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_originalCount++},e.prototype.AddModifiedElement=function(e,n){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_modifiedCount++},e.prototype.getChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes},e.prototype.getReverseChanges=function(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes},e}(),R=function(){function e(n,t,r){void 0===r&&(r=null),this.ContinueProcessingPredicate=r;var a=e._getElements(n),i=a[0],o=a[1],s=a[2],l=e._getElements(t),c=l[0],d=l[1],u=l[2];this._hasStrings=s&&u,this._originalStringElements=i,this._originalElementsOrHash=o,this._modifiedStringElements=c,this._modifiedElementsOrHash=d,this.m_forwardHistory=[],this.m_reverseHistory=[]}return e._isStringArray=function(e){return e.length>0&&"string"==typeof e[0]},e._getElements=function(n){var t=n.getElements();if(e._isStringArray(t)){for(var r=new Int32Array(t.length),a=0,i=t.length;a=e&&r>=t&&this.ElementsAreEqual(n,r);)n--,r--;if(e>n||t>r){var i=void 0;return t<=r?(x.Assert(e===n+1,"originalStart should only be one more than originalEnd"),i=[new b(e,0,t,r-t+1)]):e<=n?(x.Assert(t===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[new b(e,n-e+1,t,0)]):(x.Assert(e===n+1,"originalStart should only be one more than originalEnd"),x.Assert(t===r+1,"modifiedStart should only be one more than modifiedEnd"),i=[]),i}var o=[0],s=[0],l=this.ComputeRecursionPoint(e,n,t,r,o,s,a),c=o[0],d=s[0];if(null!==l)return l;if(!a[0]){var u=this.ComputeDiffRecursive(e,c,t,d,a),m=[];return m=a[0]?[new b(c+1,n-(c+1)+1,d+1,r-(d+1)+1)]:this.ComputeDiffRecursive(c+1,n,d+1,r,a),this.ConcatenateChanges(u,m)}return[new b(e,n-e+1,t,r-t+1)]},e.prototype.WALKTRACE=function(e,n,t,r,a,i,o,s,l,c,d,u,m,p,f,g,_,y){var v,h=null,E=new D,T=n,S=t,L=m[0]-g[0]-r,A=-1073741824,x=this.m_forwardHistory.length-1;do{(M=L+e)===T||M=0&&(e=(l=this.m_forwardHistory[x])[0],T=1,S=l.length-1)}while(--x>=-1);if(v=E.getReverseChanges(),y[0]){var C=m[0]+1,R=g[0]+1;if(null!==v&&v.length>0){var I=v[v.length-1];C=Math.max(C,I.getOriginalEnd()),R=Math.max(R,I.getModifiedEnd())}h=[new b(C,u-C+1,R,f-R+1)]}else{E=new D,T=i,S=o,L=m[0]-g[0]-s,A=1073741824,x=_?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{var M;(M=L+a)===T||M=c[M+1]?(p=(d=c[M+1]-1)-L-s,d>A&&E.MarkNextChange(),A=d+1,E.AddOriginalElement(d+1,p+1),L=M+1-a):(p=(d=c[M-1])-L-s,d>A&&E.MarkNextChange(),A=d,E.AddModifiedElement(d+1,p+1),L=M-1-a),x>=0&&(a=(c=this.m_reverseHistory[x])[0],T=1,S=c.length-1)}while(--x>=-1);h=E.getChanges()}return this.ConcatenateChanges(v,h)},e.prototype.ComputeRecursionPoint=function(e,n,t,r,a,i,o){var s=0,l=0,c=0,d=0,u=0,m=0;e--,t--,a[0]=0,i[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var p=n-e+(r-t),f=p+1,g=new Int32Array(f),_=new Int32Array(f),y=r-t,v=n-e,h=e-t,E=n-r,T=(v-y)%2==0;g[y]=e,_[v]=n,o[0]=!1;for(var S=1;S<=p/2+1;S++){var L=0,A=0;c=this.ClipDiagonalBound(y-S,S,y,f),d=this.ClipDiagonalBound(y+S,S,y,f);for(var x=c;x<=d;x+=2){l=(s=x===c||xL+A&&(L=s,A=l),!T&&Math.abs(x-v)<=S-1&&s>=_[x])return a[0]=s,i[0]=l,D<=_[x]&&S<=1448?this.WALKTRACE(y,c,d,h,v,u,m,E,g,_,s,n,a,l,r,i,T,o):null}var R=(L-e+(A-t)-S)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(L,R))return o[0]=!0,a[0]=L,i[0]=A,R>0&&S<=1448?this.WALKTRACE(y,c,d,h,v,u,m,E,g,_,s,n,a,l,r,i,T,o):(e++,t++,[new b(e,n-e+1,t,r-t+1)]);u=this.ClipDiagonalBound(v-S,S,v,f),m=this.ClipDiagonalBound(v+S,S,v,f);for(x=u;x<=m;x+=2){l=(s=x===u||x=_[x+1]?_[x+1]-1:_[x-1])-(x-v)-E;for(D=s;s>e&&l>t&&this.ElementsAreEqual(s,l);)s--,l--;if(_[x]=s,T&&Math.abs(x-y)<=S&&s<=g[x])return a[0]=s,i[0]=l,D>=g[x]&&S<=1448?this.WALKTRACE(y,c,d,h,v,u,m,E,g,_,s,n,a,l,r,i,T,o):null}if(S<=1447){var I=new Int32Array(d-c+2);I[0]=y-c+1,C.Copy2(g,c,I,1,d-c+1),this.m_forwardHistory.push(I),(I=new Int32Array(m-u+2))[0]=v-u+1,C.Copy2(_,u,I,1,m-u+1),this.m_reverseHistory.push(I)}}return this.WALKTRACE(y,c,d,h,v,u,m,E,g,_,s,n,a,l,r,i,T,o)},e.prototype.PrettifyChanges=function(e){for(var n=0;n0,o=t.modifiedLength>0;t.originalStart+t.originalLength=0;n--){t=e[n],r=0,a=0;if(n>0){var l=e[n-1];l.originalLength>0&&(r=l.originalStart+l.originalLength),l.modifiedLength>0&&(a=l.modifiedStart+l.modifiedLength)}i=t.originalLength>0,o=t.modifiedLength>0;for(var c=0,d=this._boundaryScore(t.originalStart,t.originalLength,t.modifiedStart,t.modifiedLength),u=1;;u++){var m=t.originalStart-u,p=t.modifiedStart-u;if(md&&(d=f,c=u)}t.originalStart-=c,t.modifiedStart-=c}return e},e.prototype._OriginalIsBoundary=function(e){return e<=0||e>=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])},e.prototype._OriginalRegionIsBoundary=function(e,n){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(n>0){var t=e+n;if(this._OriginalIsBoundary(t-1)||this._OriginalIsBoundary(t))return!0}return!1},e.prototype._ModifiedIsBoundary=function(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])},e.prototype._ModifiedRegionIsBoundary=function(e,n){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(n>0){var t=e+n;if(this._ModifiedIsBoundary(t-1)||this._ModifiedIsBoundary(t))return!0}return!1},e.prototype._boundaryScore=function(e,n,t,r){return(this._OriginalRegionIsBoundary(e,n)?1:0)+(this._ModifiedRegionIsBoundary(t,r)?1:0)},e.prototype.ConcatenateChanges=function(e,n){var t=[];if(0===e.length||0===n.length)return n.length>0?n:e;if(this.ChangesOverlap(e[e.length-1],n[0],t)){var r=new Array(e.length+n.length-1);return C.Copy(e,0,r,0,e.length-1),r[e.length-1]=t[0],C.Copy(n,1,r,e.length,n.length-1),r}r=new Array(e.length+n.length);return C.Copy(e,0,r,0,e.length),C.Copy(n,0,r,e.length,n.length),r},e.prototype.ChangesOverlap=function(e,n,t){if(x.Assert(e.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),x.Assert(e.modifiedStart<=n.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=n.originalStart||e.modifiedStart+e.modifiedLength>=n.modifiedStart){var r=e.originalStart,a=e.originalLength,i=e.modifiedStart,o=e.modifiedLength;return e.originalStart+e.originalLength>=n.originalStart&&(a=n.originalStart+n.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=n.modifiedStart&&(o=n.modifiedStart+n.modifiedLength-e.modifiedStart),t[0]=new b(r,a,i,o),!0}return t[0]=null,!1},e.prototype.ClipDiagonalBound=function(e,n,t,r){if(e>=0&&e=t?M:{done:!1,value:e[n++]}}}},e.fromNativeIterator=function(e){return{next:function(){var n=e.next();return n.done?M:{done:!1,value:n.value}}}},e.from=function(n){return n?Array.isArray(n)?e.fromArray(n):n:e.empty()},e.map=function(e,n){return{next:function(){var t=e.next();return t.done?M:{done:!1,value:n(t.value)}}}},e.filter=function(e,n){return{next:function(){for(;;){var t=e.next();if(t.done)return M;if(n(t.value))return{done:!1,value:t.value}}}}},e.forEach=function(e,n){for(var t=e.next();!t.done;t=e.next())n(t.value)},e.collect=function(e,n){void 0===n&&(n=Number.POSITIVE_INFINITY);var t=[];if(0===n)return t;for(var r=0,a=e.next();!a.done&&(t.push(a.value),!(++r>=n));a=e.next());return t},e.concat=function(){for(var e=[],n=0;n=e.length)return M;var n=e[t].next();return n.done?(t++,this.next()):n}}},e.chain=function(e){return new O(e)}}(A||(A={}));var O=function(){function e(e){this.it=e}return e.prototype.next=function(){return this.it.next()},e}();(function(e){function n(n,t,r,a){return void 0===t&&(t=0),void 0===r&&(r=n.length),void 0===a&&(a=t-1),e.call(this,n,t,r,a)||this}I(n,e),n.prototype.current=function(){return e.prototype.current.call(this)},n.prototype.previous=function(){return this.index=Math.max(this.index-1,this.start-1),this.current()},n.prototype.first=function(){return this.index=this.start,this.current()},n.prototype.last=function(){return this.index=this.end-1,this.current()},n.prototype.parent=function(){return null}})(function(){function e(e,n,t,r){void 0===n&&(n=0),void 0===t&&(t=e.length),void 0===r&&(r=n-1),this.items=e,this.start=n,this.end=t,this.index=r}return e.prototype.first=function(){return this.index=this.start,this.current()},e.prototype.next=function(){return this.index=Math.min(this.index+1,this.end),this.current()},e.prototype.current=function(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]},e}()),function(){function e(e,n){this.iterator=e,this.fn=n}e.prototype.next=function(){return this.fn(this.iterator.next())}}();var k,N=function(){var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(n,t)};return function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),w=/^\w[\w\d+.-]*$/,P=/^\//,G=/^\/\//;var F="/",V=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,B=function(){function e(e,n,t,r,a,i){void 0===i&&(i=!1),"object"==typeof e?(this.scheme=e.scheme||"",this.authority=e.authority||"",this.path=e.path||"",this.query=e.query||"",this.fragment=e.fragment||""):(this.scheme=function(e,n){return e||n?e:"file"}(e,i),this.authority=n||"",this.path=function(e,n){switch(e){case"https":case"http":case"file":n?n[0]!==F&&(n=F+n):n=F}return n}(this.scheme,t||""),this.query=r||"",this.fragment=a||"",function(e,n){if(!e.scheme&&n)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'+e.authority+'", path: "'+e.path+'", query: "'+e.query+'", fragment: "'+e.fragment+'"}');if(e.scheme&&!w.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!P.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(G.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,i))}return e.isUri=function(n){return n instanceof e||!!n&&("string"==typeof n.authority&&"string"==typeof n.fragment&&"string"==typeof n.path&&"string"==typeof n.query&&"string"==typeof n.scheme&&"function"==typeof n.fsPath&&"function"==typeof n.with&&"function"==typeof n.toString)},Object.defineProperty(e.prototype,"fsPath",{get:function(){return q(this)},enumerable:!0,configurable:!0}),e.prototype.with=function(e){if(!e)return this;var n=e.scheme,t=e.authority,r=e.path,a=e.query,i=e.fragment;return void 0===n?n=this.scheme:null===n&&(n=""),void 0===t?t=this.authority:null===t&&(t=""),void 0===r?r=this.path:null===r&&(r=""),void 0===a?a=this.query:null===a&&(a=""),void 0===i?i=this.fragment:null===i&&(i=""),n===this.scheme&&t===this.authority&&r===this.path&&a===this.query&&i===this.fragment?this:new H(n,t,r,a,i)},e.parse=function(e,n){void 0===n&&(n=!1);var t=V.exec(e);return t?new H(t[2]||"",J(t[4]||""),J(t[5]||""),J(t[7]||""),J(t[9]||""),n):new H("","","","","")},e.file=function(e){var n="";if(m.c&&(e=e.replace(/\\/g,F)),e[0]===F&&e[1]===F){var t=e.indexOf(F,2);-1===t?(n=e.substring(2),e=F):(n=e.substring(2,t),e=e.substring(t)||F)}return new H("file",n,e,"","")},e.from=function(e){return new H(e.scheme,e.authority,e.path,e.query,e.fragment)},e.prototype.toString=function(e){return void 0===e&&(e=!1),z(this,e)},e.prototype.toJSON=function(){return this},e.revive=function(n){if(n){if(n instanceof e)return n;var t=new H(n);return t._formatted=n.external,t._fsPath=n._sep===U?n.fsPath:null,t}return n},e}(),U=m.c?1:void 0,H=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n._formatted=null,n._fsPath=null,n}return N(n,e),Object.defineProperty(n.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=q(this)),this._fsPath},enumerable:!0,configurable:!0}),n.prototype.toString=function(e){return void 0===e&&(e=!1),e?z(this,!0):(this._formatted||(this._formatted=z(this,!1)),this._formatted)},n.prototype.toJSON=function(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=U),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e},n}(B),K=((k={})[58]="%3A",k[47]="%2F",k[63]="%3F",k[35]="%23",k[91]="%5B",k[93]="%5D",k[64]="%40",k[33]="%21",k[36]="%24",k[38]="%26",k[39]="%27",k[40]="%28",k[41]="%29",k[42]="%2A",k[43]="%2B",k[44]="%2C",k[59]="%3B",k[61]="%3D",k[32]="%20",k);function j(e,n){for(var t=void 0,r=-1,a=0;a=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||45===i||46===i||95===i||126===i||n&&47===i)-1!==r&&(t+=encodeURIComponent(e.substring(r,a)),r=-1),void 0!==t&&(t+=e.charAt(a));else{void 0===t&&(t=e.substr(0,a));var o=K[i];void 0!==o?(-1!==r&&(t+=encodeURIComponent(e.substring(r,a)),r=-1),t+=o):-1===r&&(r=a)}}return-1!==r&&(t+=encodeURIComponent(e.substring(r))),void 0!==t?t:e}function W(e){for(var n=void 0,t=0;t1&&"file"===e.scheme?"//"+e.authority+e.path:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?e.path[1].toLowerCase()+e.path.substr(2):e.path,m.c&&(n=n.replace(/\//g,"\\")),n}function z(e,n){var t=n?W:j,r="",a=e.scheme,i=e.authority,o=e.path,s=e.query,l=e.fragment;if(a&&(r+=a,r+=":"),(i||"file"===a)&&(r+=F,r+=F),i){var c=i.indexOf("@");if(-1!==c){var d=i.substr(0,c);i=i.substr(c+1),-1===(c=d.indexOf(":"))?r+=t(d,!1):(r+=t(d.substr(0,c),!1),r+=":",r+=t(d.substr(c+1),!1)),r+="@"}-1===(c=(i=i.toLowerCase()).indexOf(":"))?r+=t(i,!1):(r+=t(i.substr(0,c),!1),r+=i.substr(c))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2))(u=o.charCodeAt(1))>=65&&u<=90&&(o="/"+String.fromCharCode(u+32)+":"+o.substr(3));else if(o.length>=2&&58===o.charCodeAt(1)){var u;(u=o.charCodeAt(0))>=65&&u<=90&&(o=String.fromCharCode(u+32)+":"+o.substr(2))}r+=t(o,!0)}return s&&(r+="?",r+=t(s,!1)),l&&(r+="#",r+=n?l:j(l,!1)),r}var X=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function J(e){return e.match(X)?e.replace(X,(function(e){return function e(n){try{return decodeURIComponent(n)}catch(t){return n.length>3?n.substr(0,3)+e(n.substr(3)):n}}(e)})):e}var Y=function(){function e(e,n){this.lineNumber=e,this.column=n}return e.prototype.with=function(n,t){return void 0===n&&(n=this.lineNumber),void 0===t&&(t=this.column),n===this.lineNumber&&t===this.column?this:new e(n,t)},e.prototype.delta=function(e,n){return void 0===e&&(e=0),void 0===n&&(n=0),this.with(this.lineNumber+e,this.column+n)},e.prototype.equals=function(n){return e.equals(this,n)},e.equals=function(e,n){return!e&&!n||!!e&&!!n&&e.lineNumber===n.lineNumber&&e.column===n.column},e.prototype.isBefore=function(n){return e.isBefore(this,n)},e.isBefore=function(e,n){return e.lineNumbert||e===t&&n>r?(this.startLineNumber=t,this.startColumn=r,this.endLineNumber=e,this.endColumn=n):(this.startLineNumber=e,this.startColumn=n,this.endLineNumber=t,this.endColumn=r)}return e.prototype.isEmpty=function(){return e.isEmpty(this)},e.isEmpty=function(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn},e.prototype.containsPosition=function(n){return e.containsPosition(this,n)},e.containsPosition=function(e,n){return!(n.lineNumbere.endLineNumber)&&(!(n.lineNumber===e.startLineNumber&&n.columne.endColumn))},e.prototype.containsRange=function(n){return e.containsRange(this,n)},e.containsRange=function(e,n){return!(n.startLineNumbere.endLineNumber||n.endLineNumber>e.endLineNumber)&&(!(n.startLineNumber===e.startLineNumber&&n.startColumne.endColumn)))},e.prototype.strictContainsRange=function(n){return e.strictContainsRange(this,n)},e.strictContainsRange=function(e,n){return!(n.startLineNumbere.endLineNumber||n.endLineNumber>e.endLineNumber)&&(!(n.startLineNumber===e.startLineNumber&&n.startColumn<=e.startColumn)&&!(n.endLineNumber===e.endLineNumber&&n.endColumn>=e.endColumn)))},e.prototype.plusRange=function(n){return e.plusRange(this,n)},e.plusRange=function(n,t){var r,a,i,o;return t.startLineNumbern.endLineNumber?(i=t.endLineNumber,o=t.endColumn):t.endLineNumber===n.endLineNumber?(i=t.endLineNumber,o=Math.max(t.endColumn,n.endColumn)):(i=n.endLineNumber,o=n.endColumn),new e(r,a,i,o)},e.prototype.intersectRanges=function(n){return e.intersectRanges(this,n)},e.intersectRanges=function(n,t){var r=n.startLineNumber,a=n.startColumn,i=n.endLineNumber,o=n.endColumn,s=t.startLineNumber,l=t.startColumn,c=t.endLineNumber,d=t.endColumn;return rc?(i=c,o=d):i===c&&(o=Math.min(o,d)),r>i||r===i&&a>o?null:new e(r,a,i,o)},e.prototype.equalsRange=function(n){return e.equalsRange(this,n)},e.equalsRange=function(e,n){return!!e&&!!n&&e.startLineNumber===n.startLineNumber&&e.startColumn===n.startColumn&&e.endLineNumber===n.endLineNumber&&e.endColumn===n.endColumn},e.prototype.getEndPosition=function(){return new Y(this.endLineNumber,this.endColumn)},e.prototype.getStartPosition=function(){return new Y(this.startLineNumber,this.startColumn)},e.prototype.toString=function(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"},e.prototype.setEndPosition=function(n,t){return new e(this.startLineNumber,this.startColumn,n,t)},e.prototype.setStartPosition=function(n,t){return new e(n,t,this.endLineNumber,this.endColumn)},e.prototype.collapseToStart=function(){return e.collapseToStart(this)},e.collapseToStart=function(n){return new e(n.startLineNumber,n.startColumn,n.startLineNumber,n.startColumn)},e.fromPositions=function(n,t){return void 0===t&&(t=n),new e(n.lineNumber,n.column,t.lineNumber,t.column)},e.lift=function(n){return n?new e(n.startLineNumber,n.startColumn,n.endLineNumber,n.endColumn):null},e.isIRange=function(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn},e.areIntersectingOrTouching=function(e,n){return!(e.endLineNumbere.startLineNumber},e}();String.fromCharCode(65279);!function(){function e(){this._data=JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}e.getInstance=function(){return e._INSTANCE||(e._INSTANCE=new e),e._INSTANCE},e.prototype.getGraphemeBreakType=function(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;for(var n=this._data,t=n.length/3,r=1;r<=t;)if(en[3*r+1]))return n[3*r+2];r=2*r+1}return 0},e._INSTANCE=null}();function Z(e,n,t,r){return new R(e,n,t).ComputeDiff(r)}var $=function(){function e(e){for(var n=[],t=[],r=0,a=e.length;r0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&i()){var p=r.createCharSequence(n,t.originalStart,t.originalStart+t.originalLength-1),f=a.createCharSequence(n,t.modifiedStart,t.modifiedStart+t.modifiedLength-1),g=Z(p,f,i,!0).changes;s&&(g=function(e){if(e.length<=1)return e;for(var n=[e[0]],t=n[0],r=1,a=e.length;r1&&_>1;){if(p.charCodeAt(g-2)!==f.charCodeAt(_-2))break;g--,_--}(g>1||_>1)&&this._pushTrimWhitespaceCharChange(o,s+1,1,g,l+1,1,_);for(var y=ie(p,1),v=ie(f,1),h=p.length+1,b=f.length+1;y=0;t--){var r=e.charCodeAt(t);if(32!==r&&9!==r)return t}return-1}(e);return-1===t?n:t+2}function oe(e){if(0===e)return function(){return!0};var n=Date.now();return function(){return Date.now()-n255?255:0|e}function le(e){return e<0?0:e>4294967295?4294967295:0|e}var ce=function(e,n){this.index=e,this.remainder=n},de=function(){function e(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}return e.prototype.insertValues=function(e,n){e=le(e);var t=this.values,r=this.prefixSum,a=n.length;return 0!==a&&(this.values=new Uint32Array(t.length+a),this.values.set(t.subarray(0,e),0),this.values.set(t.subarray(e),e+a),this.values.set(n,e),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.changeValue=function(e,n){return e=le(e),n=le(n),this.values[e]!==n&&(this.values[e]=n,e-1=t.length)return!1;var a=t.length-e;return n>=a&&(n=a),0!==n&&(this.values=new Uint32Array(t.length-n),this.values.set(t.subarray(0,e),0),this.values.set(t.subarray(e+n),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(r.subarray(0,this.prefixSumValidIndex[0]+1)),!0)},e.prototype.getTotalValue=function(){return 0===this.values.length?0:this._getAccumulatedValue(this.values.length-1)},e.prototype.getAccumulatedValue=function(e){return e<0?0:(e=le(e),this._getAccumulatedValue(e))},e.prototype._getAccumulatedValue=function(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];var n=this.prefixSumValidIndex[0]+1;0===n&&(this.prefixSum[0]=this.values[0],n++),e>=this.values.length&&(e=this.values.length-1);for(var t=n;t<=e;t++)this.prefixSum[t]=this.prefixSum[t-1]+this.values[t];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]},e.prototype.getIndexOf=function(e){e=Math.floor(e),this.getTotalValue();for(var n=0,t=this.values.length-1,r=0,a=0,i=0;n<=t;)if(r=n+(t-n)/2|0,e<(i=(a=this.prefixSum[r])-this.values[r]))t=r-1;else{if(!(e>=a))break;n=r+1}return new ce(r,e-i)},e}(),ue=function(){function e(e,n,t,r){this._uri=e,this._lines=n,this._eol=t,this._versionId=r,this._lineStarts=null}return e.prototype.dispose=function(){this._lines.length=0},e.prototype.getText=function(){return this._lines.join(this._eol)},e.prototype.onEvents=function(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);for(var n=0,t=e.changes;n/?".length;t++){var r="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?"[t];e.indexOf(r)>=0||(n+="\\"+r)}return n+="\\s]+)",new RegExp(n,"g")}();var pe=function(){function e(n){var t=se(n);this._defaultValue=t,this._asciiMap=e._createAsciiMap(t),this._map=new Map}return e._createAsciiMap=function(e){for(var n=new Uint8Array(256),t=0;t<256;t++)n[t]=e;return n},e.prototype.set=function(e,n){var t=se(n);e>=0&&e<256?this._asciiMap[e]=t:this._map.set(e,t)},e.prototype.get=function(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue},e}(),fe=(function(){function e(){this._actual=new pe(0)}e.prototype.add=function(e){this._actual.set(e,1)},e.prototype.has=function(e){return 1===this._actual.get(e)}}(),function(){function e(e,n,t){for(var r=new Uint8Array(e*n),a=0,i=e*n;an&&(n=c),o>t&&(t=o),(d=i[2])>t&&(t=d)}n++,t++;var s=new fe(t,n,0);for(r=0,a=e.length;r=this._maxCharCode?0:this._states.get(e,n)},e}(),_e=null;var ye=null;var ve=function(){function e(){}return e._createLink=function(e,n,t,r,a){var i=a-1;do{var o=n.charCodeAt(i);if(2!==e.get(o))break;i--}while(i>r);if(r>0){var s=n.charCodeAt(r-1),l=n.charCodeAt(i);(40===s&&41===l||91===s&&93===l||123===s&&125===l)&&i--}return{range:{startLineNumber:t,startColumn:r+1,endLineNumber:t,endColumn:i+2},url:n.substring(r,i+1)}},e.computeLinks=function(n,t){void 0===t&&(null===_e&&(_e=new ge([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),t=_e);for(var r=function(){if(null===ye){ye=new pe(0);for(var e=0;e<" \t<>'\"、。。、,.:;?!@#$%&*‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…".length;e++)ye.set(" \t<>'\"、。。、,.:;?!@#$%&*‘“〈《「『【〔([{「」}])〕】』」》〉”’`~…".charCodeAt(e),1);for(e=0;e<".,;".length;e++)ye.set(".,;".charCodeAt(e),2)}return ye}(),a=[],i=1,o=n.getLineCount();i<=o;i++){for(var s=n.getLineContent(i),l=s.length,c=0,d=0,u=0,m=1,p=!1,f=!1,g=!1;c=0?((r+=t?1:-1)<0?r=e.length-1:r%=e.length,e[r]):null},e.INSTANCE=new e,e}();t(4);var Ee,Te=function(){function e(n){this.element=n,this.next=e.Undefined,this.prev=e.Undefined}return e.Undefined=new e(void 0),e}(),Se=function(){function e(){this._first=Te.Undefined,this._last=Te.Undefined,this._size=0}return Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){return this._first===Te.Undefined},e.prototype.clear=function(){this._first=Te.Undefined,this._last=Te.Undefined,this._size=0},e.prototype.unshift=function(e){return this._insert(e,!1)},e.prototype.push=function(e){return this._insert(e,!0)},e.prototype._insert=function(e,n){var t=this,r=new Te(e);if(this._first===Te.Undefined)this._first=r,this._last=r;else if(n){var a=this._last;this._last=r,r.prev=a,a.next=r}else{var i=this._first;this._first=r,r.next=i,i.prev=r}this._size+=1;var o=!1;return function(){o||(o=!0,t._remove(r))}},e.prototype.shift=function(){if(this._first!==Te.Undefined){var e=this._first.element;return this._remove(this._first),e}},e.prototype.pop=function(){if(this._last!==Te.Undefined){var e=this._last.element;return this._remove(this._last),e}},e.prototype._remove=function(e){if(e.prev!==Te.Undefined&&e.next!==Te.Undefined){var n=e.prev;n.next=e.next,e.next.prev=n}else e.prev===Te.Undefined&&e.next===Te.Undefined?(this._first=Te.Undefined,this._last=Te.Undefined):e.next===Te.Undefined?(this._last=this._last.prev,this._last.next=Te.Undefined):e.prev===Te.Undefined&&(this._first=this._first.next,this._first.prev=Te.Undefined);this._size-=1},e.prototype.iterator=function(){var e,n=this._first;return{next:function(){return n===Te.Undefined?M:(e?e.value=n.element:e={done:!1,value:n.element},n=n.next,e)}}},e.prototype.toArray=function(){for(var e=[],n=this._first;n!==Te.Undefined;n=n.next)e.push(n.element);return e},e}(),Le=function(){var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(n,t)};return function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}();!function(e){function n(e){return function(n,t,r){void 0===t&&(t=null);var a,i=!1;return a=e((function(e){if(!i)return a?a.dispose():i=!0,n.call(t,e)}),null,r),i&&a.dispose(),a}}function t(e,n){return o((function(t,r,a){return void 0===r&&(r=null),e((function(e){return t.call(r,n(e))}),null,a)}))}function r(e,n){return o((function(t,r,a){return void 0===r&&(r=null),e((function(e){n(e),t.call(r,e)}),null,a)}))}function a(e,n){return o((function(t,r,a){return void 0===r&&(r=null),e((function(e){return n(e)&&t.call(r,e)}),null,a)}))}function i(e,n,r){var a=r;return t(e,(function(e){return a=n(a,e)}))}function o(e){var n,t=new Ce({onFirstListenerAdd:function(){n=e(t.fire,t)},onLastListenerRemove:function(){n.dispose()}});return t.event}function s(e,n,t,r,a){var i;void 0===t&&(t=100),void 0===r&&(r=!1);var o=void 0,s=void 0,l=0,c=new Ce({leakWarningThreshold:a,onFirstListenerAdd:function(){i=e((function(e){l++,o=n(o,e),r&&!s&&(c.fire(o),o=void 0),clearTimeout(s),s=setTimeout((function(){var e=o;o=void 0,s=void 0,(!r||l>1)&&c.fire(e),l=0}),t)}))},onLastListenerRemove:function(){i.dispose()}});return c.event}function l(e){var n,t=!0;return a(e,(function(e){var r=t||e!==n;return t=!1,n=e,r}))}e.None=function(){return u.None},e.once=n,e.map=t,e.forEach=r,e.filter=a,e.signal=function(e){return e},e.any=function(){for(var e=[],n=0;n0;){var r=this._deliveryQueue.shift(),i=r[0],o=r[1];try{"function"==typeof i?i.call(void 0,o):i[0].call(i[1],o)}catch(t){a(t)}}}},e.prototype.dispose=function(){this._listeners&&this._listeners.clear(),this._deliveryQueue&&this._deliveryQueue.clear(),this._leakageMon&&this._leakageMon.dispose(),this._disposed=!0},e._noop=function(){},e}(),De=(function(e){function n(n){var t=e.call(this,n)||this;return t._isPaused=0,t._eventQueue=new Se,t._mergeFn=n&&n.merge,t}Le(n,e),n.prototype.pause=function(){this._isPaused++},n.prototype.resume=function(){if(0!==this._isPaused&&0==--this._isPaused)if(this._mergeFn){var n=this._eventQueue.toArray();this._eventQueue.clear(),e.prototype.fire.call(this,this._mergeFn(n))}else for(;!this._isPaused&&0!==this._eventQueue.size;)e.prototype.fire.call(this,this._eventQueue.shift())},n.prototype.fire=function(n){this._listeners&&(0!==this._isPaused?this._eventQueue.push(n):e.prototype.fire.call(this,n))}}(Ce),function(){function e(){var e=this;this.hasListeners=!1,this.events=[],this.emitter=new Ce({onFirstListenerAdd:function(){return e.onFirstListenerAdd()},onLastListenerRemove:function(){return e.onLastListenerRemove()}})}Object.defineProperty(e.prototype,"event",{get:function(){return this.emitter.event},enumerable:!0,configurable:!0}),e.prototype.add=function(e){var n=this,t={event:e,listener:null};this.events.push(t),this.hasListeners&&this.hook(t);return function(e){var n={dispose:function(){e()}};return n}(function(e){var n,t=this,r=!1;return function(){return r?n:(r=!0,n=e.apply(t,arguments))}}((function(){n.hasListeners&&n.unhook(t);var e=n.events.indexOf(t);n.events.splice(e,1)})))},e.prototype.onFirstListenerAdd=function(){var e=this;this.hasListeners=!0,this.events.forEach((function(n){return e.hook(n)}))},e.prototype.onLastListenerRemove=function(){var e=this;this.hasListeners=!1,this.events.forEach((function(n){return e.unhook(n)}))},e.prototype.hook=function(e){var n=this;e.listener=e.event((function(e){return n.emitter.fire(e)}))},e.prototype.unhook=function(e){e.listener&&e.listener.dispose(),e.listener=null},e.prototype.dispose=function(){this.emitter.dispose()}}(),function(){function e(){this.buffers=[]}e.prototype.wrapEvent=function(e){var n=this;return function(t,r,a){return e((function(e){var a=n.buffers[n.buffers.length-1];a?a.push((function(){return t.call(r,e)})):t.call(r,e)}),void 0,a)}},e.prototype.bufferEvents=function(e){var n=[];this.buffers.push(n);var t=e();return this.buffers.pop(),n.forEach((function(e){return e()})),t}}(),function(){function e(){var e=this;this.listening=!1,this.inputEvent=Ee.None,this.inputEventListener=u.None,this.emitter=new Ce({onFirstListenerDidAdd:function(){e.listening=!0,e.inputEventListener=e.inputEvent(e.emitter.fire,e.emitter)},onLastListenerRemove:function(){e.listening=!1,e.inputEventListener.dispose()}}),this.event=this.emitter.event}Object.defineProperty(e.prototype,"input",{set:function(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this.inputEventListener.dispose(),this.emitter.dispose()}}(),Object.freeze((function(e,n){var t=setTimeout(e.bind(n),0);return{dispose:function(){clearTimeout(t)}}})));(xe=Ae||(Ae={})).isCancellationToken=function(e){return e===xe.None||e===xe.Cancelled||e instanceof Ie||!(!e||"object"!=typeof e)&&"boolean"==typeof e.isCancellationRequested&&"function"==typeof e.onCancellationRequested},xe.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:Ee.None}),xe.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:De});var Re,Ie=function(){function e(){this._isCancelled=!1,this._emitter=null}return e.prototype.cancel=function(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))},Object.defineProperty(e.prototype,"isCancellationRequested",{get:function(){return this._isCancelled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onCancellationRequested",{get:function(){return this._isCancelled?De:(this._emitter||(this._emitter=new Ce),this._emitter.event)},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._emitter&&(this._emitter.dispose(),this._emitter=null)},e}(),Me=function(){function e(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}return Object.defineProperty(e.prototype,"token",{get:function(){return this._token||(this._token=new Ie),this._token},enumerable:!0,configurable:!0}),e.prototype.cancel=function(){this._token?this._token instanceof Ie&&this._token.cancel():this._token=Ae.Cancelled},e.prototype.dispose=function(e){void 0===e&&(e=!1),e&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof Ie&&this._token.dispose():this._token=Ae.None},e}(),Oe=function(){function e(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}return e.prototype.define=function(e,n){this._keyCodeToStr[e]=n,this._strToKeyCode[n.toLowerCase()]=e},e.prototype.keyCodeToStr=function(e){return this._keyCodeToStr[e]},e.prototype.strToKeyCode=function(e){return this._strToKeyCode[e.toLowerCase()]||0},e}(),ke=new Oe,Ne=new Oe,we=new Oe;!function(){function e(e,n,t,r){void 0===t&&(t=n),void 0===r&&(r=t),ke.define(e,n),Ne.define(e,t),we.define(e,r)}e(0,"unknown"),e(1,"Backspace"),e(2,"Tab"),e(3,"Enter"),e(4,"Shift"),e(5,"Ctrl"),e(6,"Alt"),e(7,"PauseBreak"),e(8,"CapsLock"),e(9,"Escape"),e(10,"Space"),e(11,"PageUp"),e(12,"PageDown"),e(13,"End"),e(14,"Home"),e(15,"LeftArrow","Left"),e(16,"UpArrow","Up"),e(17,"RightArrow","Right"),e(18,"DownArrow","Down"),e(19,"Insert"),e(20,"Delete"),e(21,"0"),e(22,"1"),e(23,"2"),e(24,"3"),e(25,"4"),e(26,"5"),e(27,"6"),e(28,"7"),e(29,"8"),e(30,"9"),e(31,"A"),e(32,"B"),e(33,"C"),e(34,"D"),e(35,"E"),e(36,"F"),e(37,"G"),e(38,"H"),e(39,"I"),e(40,"J"),e(41,"K"),e(42,"L"),e(43,"M"),e(44,"N"),e(45,"O"),e(46,"P"),e(47,"Q"),e(48,"R"),e(49,"S"),e(50,"T"),e(51,"U"),e(52,"V"),e(53,"W"),e(54,"X"),e(55,"Y"),e(56,"Z"),e(57,"Meta"),e(58,"ContextMenu"),e(59,"F1"),e(60,"F2"),e(61,"F3"),e(62,"F4"),e(63,"F5"),e(64,"F6"),e(65,"F7"),e(66,"F8"),e(67,"F9"),e(68,"F10"),e(69,"F11"),e(70,"F12"),e(71,"F13"),e(72,"F14"),e(73,"F15"),e(74,"F16"),e(75,"F17"),e(76,"F18"),e(77,"F19"),e(78,"NumLock"),e(79,"ScrollLock"),e(80,";",";","OEM_1"),e(81,"=","=","OEM_PLUS"),e(82,",",",","OEM_COMMA"),e(83,"-","-","OEM_MINUS"),e(84,".",".","OEM_PERIOD"),e(85,"/","/","OEM_2"),e(86,"`","`","OEM_3"),e(110,"ABNT_C1"),e(111,"ABNT_C2"),e(87,"[","[","OEM_4"),e(88,"\\","\\","OEM_5"),e(89,"]","]","OEM_6"),e(90,"'","'","OEM_7"),e(91,"OEM_8"),e(92,"OEM_102"),e(93,"NumPad0"),e(94,"NumPad1"),e(95,"NumPad2"),e(96,"NumPad3"),e(97,"NumPad4"),e(98,"NumPad5"),e(99,"NumPad6"),e(100,"NumPad7"),e(101,"NumPad8"),e(102,"NumPad9"),e(103,"NumPad_Multiply"),e(104,"NumPad_Add"),e(105,"NumPad_Separator"),e(106,"NumPad_Subtract"),e(107,"NumPad_Decimal"),e(108,"NumPad_Divide")}(),function(e){e.toString=function(e){return ke.keyCodeToStr(e)},e.fromString=function(e){return ke.strToKeyCode(e)},e.toUserSettingsUS=function(e){return Ne.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return we.keyCodeToStr(e)},e.fromUserSettings=function(e){return Ne.strToKeyCode(e)||we.strToKeyCode(e)}}(Re||(Re={}));!function(){function e(e,n,t,r,a){this.ctrlKey=e,this.shiftKey=n,this.altKey=t,this.metaKey=r,this.keyCode=a}e.prototype.equals=function(e){return this.ctrlKey===e.ctrlKey&&this.shiftKey===e.shiftKey&&this.altKey===e.altKey&&this.metaKey===e.metaKey&&this.keyCode===e.keyCode},e.prototype.isModifierKey=function(){return 0===this.keyCode||5===this.keyCode||57===this.keyCode||6===this.keyCode||4===this.keyCode},e.prototype.toChord=function(){return new _n([this])},e.prototype.isDuplicateModifierCase=function(){return this.ctrlKey&&5===this.keyCode||this.shiftKey&&4===this.keyCode||this.altKey&&6===this.keyCode||this.metaKey&&57===this.keyCode}}();var Pe,Ge,Fe,Ve,Be,Ue,He,Ke,je,We,qe,ze,Xe,Je,Ye,Qe,Ze,$e,en,nn,tn,rn,an,on,sn,ln,cn,dn,un,mn,pn,fn,gn,_n=function(){function e(e){if(0===e.length)throw(n="parts")?new Error("Illegal argument: "+n):new Error("Illegal argument");var n;this.parts=e}return e.prototype.equals=function(e){if(null===e)return!1;if(this.parts.length!==e.parts.length)return!1;for(var n=0;n "+this.positionLineNumber+","+this.positionColumn+"]"},n.prototype.equalsSelection=function(e){return n.selectionsEqual(this,e)},n.selectionsEqual=function(e,n){return e.selectionStartLineNumber===n.selectionStartLineNumber&&e.selectionStartColumn===n.selectionStartColumn&&e.positionLineNumber===n.positionLineNumber&&e.positionColumn===n.positionColumn},n.prototype.getDirection=function(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1},n.prototype.setEndPosition=function(e,t){return 0===this.getDirection()?new n(this.startLineNumber,this.startColumn,e,t):new n(e,t,this.startLineNumber,this.startColumn)},n.prototype.getPosition=function(){return new Y(this.positionLineNumber,this.positionColumn)},n.prototype.setStartPosition=function(e,t){return 0===this.getDirection()?new n(e,t,this.endLineNumber,this.endColumn):new n(this.endLineNumber,this.endColumn,e,t)},n.fromPositions=function(e,t){return void 0===t&&(t=e),new n(e.lineNumber,e.column,t.lineNumber,t.column)},n.liftSelection=function(e){return new n(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)},n.selectionsArrEqual=function(e,n){if(e&&!n||!e&&n)return!1;if(!e&&!n)return!0;if(e.length!==n.length)return!1;for(var t=0,r=e.length;t>>0)>>>0}(e,n)},e.CtrlCmd=2048,e.Shift=1024,e.Alt=512,e.WinCtrl=256,e}();var En=function(){var e=function(n,t){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(n,t)};return function(n,t){function r(){this.constructor=n}e(n,t),n.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}}(),Tn=function(e,n,t,r){return new(t||(t=Promise))((function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var n;e.done?a(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(o,s)}l((r=r.apply(e,n||[])).next())}))},Sn=function(e,n){var t,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(t)throw new TypeError("Generator is already executing.");for(;o;)try{if(t=1,r&&(a=2&i[0]?r.return:i[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,i[1])).done)return a;switch(r=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,r=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]=0?function(e,n,t,r){var a,i=e-1-r;for(n.lastIndex=0;a=n.exec(t);){var o=a.index||0;if(o>i)return null;if(n.lastIndex>=i)return{word:a[0],startColumn:r+1+o,endColumn:r+1+n.lastIndex}}return null}(e,n,t,r):function(e,n,t,r){var a,i=e-1-r,o=t.lastIndexOf(" ",i-1)+1;for(n.lastIndex=o;a=n.exec(t);){var s=a.index||0;if(s<=i&&n.lastIndex>=i)return{word:a[0],startColumn:r+1+s,endColumn:r+1+n.lastIndex}}return null}(e,n,t,r);return n.lastIndex=0,i}(e.column,function(e){var n=me;if(e&&e instanceof RegExp)if(e.global)n=e;else{var t="g";e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),n=new RegExp(e.source,t)}return n.lastIndex=0,n}(n),this._lines[e.lineNumber-1],0);return t?new Q(e.lineNumber,t.startColumn,e.lineNumber,t.endColumn):null},n.prototype.createWordIterator=function(e){var n,t,r=this,a=0,i=0,o=[],s=function(){if(i=r._lines.length?M:(t=r._lines[a],o=r._wordenize(t,e),i=0,a+=1,s())};return{next:s}},n.prototype.getLineWords=function(e,n){for(var t=this._lines[e-1],r=[],a=0,i=this._wordenize(t,n);athis._lines.length)n=this._lines.length,t=this._lines[n-1].length+1,r=!0;else{var a=this._lines[n-1].length+1;t<1?(t=1,r=!0):t>a&&(t=a,r=!0)}return r?{lineNumber:n,column:t}:e},n}(ue),An=function(){function e(e,n){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=n,this._foreignModule=null}return e.prototype.dispose=function(){this._models=Object.create(null)},e.prototype._getModel=function(e){return this._models[e]},e.prototype._getModels=function(){var e=this,n=[];return Object.keys(this._models).forEach((function(t){return n.push(e._models[t])})),n},e.prototype.acceptNewModel=function(e){this._models[e.url]=new Ln(B.parse(e.url),e.lines,e.EOL,e.versionId)},e.prototype.acceptModelChanged=function(e,n){this._models[e]&&this._models[e].onEvents(n)},e.prototype.acceptRemovedModel=function(e){this._models[e]&&delete this._models[e]},e.prototype.computeDiff=function(e,n,t,r){return Tn(this,void 0,void 0,(function(){var a,i,o,s,l,c,d;return Sn(this,(function(u){return a=this._getModel(e),i=this._getModel(n),a&&i?(o=a.getLinesContent(),s=i.getLinesContent(),l=new re(o,s,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:t,shouldMakePrettyDiff:!0,maxComputationTime:r}),c=l.computeDiff(),d=!(c.changes.length>0)&&this._modelsAreIdentical(a,i),[2,{quitEarly:c.quitEarly,identical:d,changes:c.changes}]):[2,null]}))}))},e.prototype._modelsAreIdentical=function(e,n){var t=e.getLineCount();if(t!==n.getLineCount())return!1;for(var r=1;r<=t;r++){if(e.getLineContent(r)!==n.getLineContent(r))return!1}return!0},e.prototype.computeMoreMinimalEdits=function(n,t){return Tn(this,void 0,void 0,(function(){var r,a,i,o,s,l,c,d,u,m,p,f,g,_,y,v,b,E;return Sn(this,(function(T){if(!(r=this._getModel(n)))return[2,t];for(a=[],i=void 0,t=h(t,(function(e,n){return e.range&&n.range?Q.compareRangesUsingStarts(e.range,n.range):(e.range?0:1)-(n.range?0:1)})),o=0,s=t;oe._diffLimit)a.push({range:c,text:d});else for(p=L(m,d,!1),f=r.offsetAt(Q.lift(c).getStartPosition()),g=0,_=p;g<_.length;g++)y=_[g],v=r.positionAt(f+y.originalStart),b=r.positionAt(f+y.originalStart+y.originalLength),E={text:d.substr(y.modifiedStart,y.modifiedLength),range:{startLineNumber:v.lineNumber,startColumn:v.column,endLineNumber:b.lineNumber,endColumn:b.column}},r.getValueInRange(E.range)!==E.text&&a.push(E);return"number"==typeof i&&a.push({eol:i,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),[2,a]}))}))},e.prototype.computeLinks=function(e){return Tn(this,void 0,void 0,(function(){var n;return Sn(this,(function(t){return(n=this._getModel(e))?[2,he(n)]:[2,null]}))}))},e.prototype.textualSuggest=function(n,t,r,a){return Tn(this,void 0,void 0,(function(){var i,o,s,l,c,d,u,m;return Sn(this,(function(p){if(!(i=this._getModel(n)))return[2,null];for(o=[],s=new Set,l=new RegExp(r,a),(c=i.getWordAtPosition(t,l))&&s.add(i.getValueInRange(c)),d=i.createWordIterator(l),u=d.next();!u.done&&s.size<=e._suggestionsLimit;u=d.next())m=u.value,s.has(m)||(s.add(m),isNaN(Number(m))&&o.push(m));return[2,o]}))}))},e.prototype.computeWordRanges=function(e,n,t,r){return Tn(this,void 0,void 0,(function(){var a,i,o,s,l,c,d,u,m;return Sn(this,(function(p){if(!(a=this._getModel(e)))return[2,Object.create(null)];for(i=new RegExp(t,r),o=Object.create(null),s=n.startLineNumber;s\n\n/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved. \nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0 \n \nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, \nMERCHANTABLITY OR NON-INFRINGEMENT. \n \nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// \n\n\n/////////////////////////////\n/// ECMAScript APIs\n/////////////////////////////\n\ndeclare var NaN: number;\ndeclare var Infinity: number;\n\n/**\n * Evaluates JavaScript code and executes it.\n * @param x A String value that contains valid JavaScript code.\n */\ndeclare function eval(x: string): any;\n\n/**\n * Converts a string to an integer.\n * @param s A string to convert into a number.\n * @param radix A value between 2 and 36 that specifies the base of the number in numString.\n * If this argument is not supplied, strings with a prefix of \'0x\' are considered hexadecimal.\n * All other strings are considered decimal.\n */\ndeclare function parseInt(s: string, radix?: number): number;\n\n/**\n * Converts a string to a floating-point number.\n * @param string A string that contains a floating-point number.\n */\ndeclare function parseFloat(string: string): number;\n\n/**\n * Returns a Boolean value that indicates whether a value is the reserved value NaN (not a number).\n * @param number A numeric value.\n */\ndeclare function isNaN(number: number): boolean;\n\n/**\n * Determines whether a supplied number is finite.\n * @param number Any numeric value.\n */\ndeclare function isFinite(number: number): boolean;\n\n/**\n * Gets the unencoded version of an encoded Uniform Resource Identifier (URI).\n * @param encodedURI A value representing an encoded URI.\n */\ndeclare function decodeURI(encodedURI: string): string;\n\n/**\n * Gets the unencoded version of an encoded component of a Uniform Resource Identifier (URI).\n * @param encodedURIComponent A value representing an encoded URI component.\n */\ndeclare function decodeURIComponent(encodedURIComponent: string): string;\n\n/**\n * Encodes a text string as a valid Uniform Resource Identifier (URI)\n * @param uri A value representing an encoded URI.\n */\ndeclare function encodeURI(uri: string): string;\n\n/**\n * Encodes a text string as a valid component of a Uniform Resource Identifier (URI).\n * @param uriComponent A value representing an encoded URI component.\n */\ndeclare function encodeURIComponent(uriComponent: string | number | boolean): string;\n\n/**\n * Computes a new string in which certain characters have been replaced by a hexadecimal escape sequence.\n * @param string A string value\n */\ndeclare function escape(string: string): string;\n\n/**\n * Computes a new string in which hexadecimal escape sequences are replaced with the character that it represents.\n * @param string A string value\n */\ndeclare function unescape(string: string): string;\n\ninterface Symbol {\n /** Returns a string representation of an object. */\n toString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): symbol;\n}\n\ndeclare type PropertyKey = string | number | symbol;\n\ninterface PropertyDescriptor {\n configurable?: boolean;\n enumerable?: boolean;\n value?: any;\n writable?: boolean;\n get?(): any;\n set?(v: any): void;\n}\n\ninterface PropertyDescriptorMap {\n [s: string]: PropertyDescriptor;\n}\n\ninterface Object {\n /** The initial value of Object.prototype.constructor is the standard built-in Object constructor. */\n constructor: Function;\n\n /** Returns a string representation of an object. */\n toString(): string;\n\n /** Returns a date converted to a string using the current locale. */\n toLocaleString(): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): Object;\n\n /**\n * Determines whether an object has a property with the specified name.\n * @param v A property name.\n */\n hasOwnProperty(v: PropertyKey): boolean;\n\n /**\n * Determines whether an object exists in another object\'s prototype chain.\n * @param v Another object whose prototype chain is to be checked.\n */\n isPrototypeOf(v: Object): boolean;\n\n /**\n * Determines whether a specified property is enumerable.\n * @param v A property name.\n */\n propertyIsEnumerable(v: PropertyKey): boolean;\n}\n\ninterface ObjectConstructor {\n new(value?: any): Object;\n (): any;\n (value: any): any;\n\n /** A reference to the prototype for a class of objects. */\n readonly prototype: Object;\n\n /**\n * Returns the prototype of an object.\n * @param o The object that references the prototype.\n */\n getPrototypeOf(o: any): any;\n\n /**\n * Gets the own property descriptor of the specified object.\n * An own property descriptor is one that is defined directly on the object and is not inherited from the object\'s prototype.\n * @param o Object that contains the property.\n * @param p Name of the property.\n */\n getOwnPropertyDescriptor(o: any, p: PropertyKey): PropertyDescriptor | undefined;\n\n /**\n * Returns the names of the own properties of an object. The own properties of an object are those that are defined directly\n * on that object, and are not inherited from the object\'s prototype. The properties of an object include both fields (objects) and functions.\n * @param o Object that contains the own properties.\n */\n getOwnPropertyNames(o: any): string[];\n\n /**\n * Creates an object that has the specified prototype or that has null prototype.\n * @param o Object to use as a prototype. May be null.\n */\n create(o: object | null): any;\n\n /**\n * Creates an object that has the specified prototype, and that optionally contains specified properties.\n * @param o Object to use as a prototype. May be null\n * @param properties JavaScript object that contains one or more property descriptors.\n */\n create(o: object | null, properties: PropertyDescriptorMap & ThisType): any;\n\n /**\n * Adds a property to an object, or modifies attributes of an existing property.\n * @param o Object on which to add or modify the property. This can be a native JavaScript object (that is, a user-defined object or a built in object) or a DOM object.\n * @param p The property name.\n * @param attributes Descriptor for the property. It can be for a data property or an accessor property.\n */\n defineProperty(o: any, p: PropertyKey, attributes: PropertyDescriptor & ThisType): any;\n\n /**\n * Adds one or more properties to an object, and/or modifies attributes of existing properties.\n * @param o Object on which to add or modify the properties. This can be a native JavaScript object or a DOM object.\n * @param properties JavaScript object that contains one or more descriptor objects. Each descriptor object describes a data property or an accessor property.\n */\n defineProperties(o: any, properties: PropertyDescriptorMap & ThisType): any;\n\n /**\n * Prevents the modification of attributes of existing properties, and prevents the addition of new properties.\n * @param o Object on which to lock the attributes.\n */\n seal(o: T): T;\n\n /**\n * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.\n * @param o Object on which to lock the attributes.\n */\n freeze(a: T[]): readonly T[];\n\n /**\n * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.\n * @param o Object on which to lock the attributes.\n */\n freeze(f: T): T;\n\n /**\n * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.\n * @param o Object on which to lock the attributes.\n */\n freeze(o: T): Readonly;\n\n /**\n * Prevents the addition of new properties to an object.\n * @param o Object to make non-extensible.\n */\n preventExtensions(o: T): T;\n\n /**\n * Returns true if existing property attributes cannot be modified in an object and new properties cannot be added to the object.\n * @param o Object to test.\n */\n isSealed(o: any): boolean;\n\n /**\n * Returns true if existing property attributes and values cannot be modified in an object, and new properties cannot be added to the object.\n * @param o Object to test.\n */\n isFrozen(o: any): boolean;\n\n /**\n * Returns a value that indicates whether new properties can be added to an object.\n * @param o Object to test.\n */\n isExtensible(o: any): boolean;\n\n /**\n * Returns the names of the enumerable string properties and methods of an object.\n * @param o Object that contains the properties and methods. This can be an object that you created or an existing Document Object Model (DOM) object.\n */\n keys(o: object): string[];\n}\n\n/**\n * Provides functionality common to all JavaScript objects.\n */\ndeclare var Object: ObjectConstructor;\n\n/**\n * Creates a new function.\n */\ninterface Function {\n /**\n * Calls the function, substituting the specified object for the this value of the function, and the specified array for the arguments of the function.\n * @param thisArg The object to be used as the this object.\n * @param argArray A set of arguments to be passed to the function.\n */\n apply(this: Function, thisArg: any, argArray?: any): any;\n\n /**\n * Calls a method of an object, substituting another object for the current object.\n * @param thisArg The object to be used as the current object.\n * @param argArray A list of arguments to be passed to the method.\n */\n call(this: Function, thisArg: any, ...argArray: any[]): any;\n\n /**\n * For a given function, creates a bound function that has the same body as the original function.\n * The this object of the bound function is associated with the specified object, and has the specified initial parameters.\n * @param thisArg An object to which the this keyword can refer inside the new function.\n * @param argArray A list of arguments to be passed to the new function.\n */\n bind(this: Function, thisArg: any, ...argArray: any[]): any;\n\n /** Returns a string representation of a function. */\n toString(): string;\n\n prototype: any;\n readonly length: number;\n\n // Non-standard extensions\n arguments: any;\n caller: Function;\n}\n\ninterface FunctionConstructor {\n /**\n * Creates a new function.\n * @param args A list of arguments the function accepts.\n */\n new(...args: string[]): Function;\n (...args: string[]): Function;\n readonly prototype: Function;\n}\n\ndeclare var Function: FunctionConstructor;\n\n/**\n * Extracts the type of the \'this\' parameter of a function type, or \'unknown\' if the function type has no \'this\' parameter.\n */\ntype ThisParameterType = T extends (this: unknown, ...args: any[]) => any ? unknown : T extends (this: infer U, ...args: any[]) => any ? U : unknown;\n\n/**\n * Removes the \'this\' parameter from a function type.\n */\ntype OmitThisParameter = unknown extends ThisParameterType ? T : T extends (...args: infer A) => infer R ? (...args: A) => R : T;\n\ninterface CallableFunction extends Function {\n /**\n * Calls the function with the specified object as the this value and the elements of specified array as the arguments.\n * @param thisArg The object to be used as the this object.\n * @param args An array of argument values to be passed to the function.\n */\n apply(this: (this: T) => R, thisArg: T): R;\n apply(this: (this: T, ...args: A) => R, thisArg: T, args: A): R;\n\n /**\n * Calls the function with the specified object as the this value and the specified rest arguments as the arguments.\n * @param thisArg The object to be used as the this object.\n * @param args Argument values to be passed to the function.\n */\n call(this: (this: T, ...args: A) => R, thisArg: T, ...args: A): R;\n\n /**\n * For a given function, creates a bound function that has the same body as the original function.\n * The this object of the bound function is associated with the specified object, and has the specified initial parameters.\n * @param thisArg The object to be used as the this object.\n * @param args Arguments to bind to the parameters of the function.\n */\n bind(this: T, thisArg: ThisParameterType): OmitThisParameter;\n bind(this: (this: T, arg0: A0, ...args: A) => R, thisArg: T, arg0: A0): (...args: A) => R;\n bind(this: (this: T, arg0: A0, arg1: A1, ...args: A) => R, thisArg: T, arg0: A0, arg1: A1): (...args: A) => R;\n bind(this: (this: T, arg0: A0, arg1: A1, arg2: A2, ...args: A) => R, thisArg: T, arg0: A0, arg1: A1, arg2: A2): (...args: A) => R;\n bind(this: (this: T, arg0: A0, arg1: A1, arg2: A2, arg3: A3, ...args: A) => R, thisArg: T, arg0: A0, arg1: A1, arg2: A2, arg3: A3): (...args: A) => R;\n bind(this: (this: T, ...args: AX[]) => R, thisArg: T, ...args: AX[]): (...args: AX[]) => R;\n}\n\ninterface NewableFunction extends Function {\n /**\n * Calls the function with the specified object as the this value and the elements of specified array as the arguments.\n * @param thisArg The object to be used as the this object.\n * @param args An array of argument values to be passed to the function.\n */\n apply(this: new () => T, thisArg: T): void;\n apply(this: new (...args: A) => T, thisArg: T, args: A): void;\n\n /**\n * Calls the function with the specified object as the this value and the specified rest arguments as the arguments.\n * @param thisArg The object to be used as the this object.\n * @param args Argument values to be passed to the function.\n */\n call(this: new (...args: A) => T, thisArg: T, ...args: A): void;\n\n /**\n * For a given function, creates a bound function that has the same body as the original function.\n * The this object of the bound function is associated with the specified object, and has the specified initial parameters.\n * @param thisArg The object to be used as the this object.\n * @param args Arguments to bind to the parameters of the function.\n */\n bind(this: T, thisArg: any): T;\n bind(this: new (arg0: A0, ...args: A) => R, thisArg: any, arg0: A0): new (...args: A) => R;\n bind(this: new (arg0: A0, arg1: A1, ...args: A) => R, thisArg: any, arg0: A0, arg1: A1): new (...args: A) => R;\n bind(this: new (arg0: A0, arg1: A1, arg2: A2, ...args: A) => R, thisArg: any, arg0: A0, arg1: A1, arg2: A2): new (...args: A) => R;\n bind(this: new (arg0: A0, arg1: A1, arg2: A2, arg3: A3, ...args: A) => R, thisArg: any, arg0: A0, arg1: A1, arg2: A2, arg3: A3): new (...args: A) => R;\n bind(this: new (...args: AX[]) => R, thisArg: any, ...args: AX[]): new (...args: AX[]) => R;\n}\n\ninterface IArguments {\n [index: number]: any;\n length: number;\n callee: Function;\n}\n\ninterface String {\n /** Returns a string representation of a string. */\n toString(): string;\n\n /**\n * Returns the character at the specified index.\n * @param pos The zero-based index of the desired character.\n */\n charAt(pos: number): string;\n\n /**\n * Returns the Unicode value of the character at the specified location.\n * @param index The zero-based index of the desired character. If there is no character at the specified index, NaN is returned.\n */\n charCodeAt(index: number): number;\n\n /**\n * Returns a string that contains the concatenation of two or more strings.\n * @param strings The strings to append to the end of the string.\n */\n concat(...strings: string[]): string;\n\n /**\n * Returns the position of the first occurrence of a substring.\n * @param searchString The substring to search for in the string\n * @param position The index at which to begin searching the String object. If omitted, search starts at the beginning of the string.\n */\n indexOf(searchString: string, position?: number): number;\n\n /**\n * Returns the last occurrence of a substring in the string.\n * @param searchString The substring to search for.\n * @param position The index at which to begin searching. If omitted, the search begins at the end of the string.\n */\n lastIndexOf(searchString: string, position?: number): number;\n\n /**\n * Determines whether two strings are equivalent in the current locale.\n * @param that String to compare to target string\n */\n localeCompare(that: string): number;\n\n /**\n * Matches a string with a regular expression, and returns an array containing the results of that search.\n * @param regexp A variable name or string literal containing the regular expression pattern and flags.\n */\n match(regexp: string | RegExp): RegExpMatchArray | null;\n\n /**\n * Replaces text in a string, using a regular expression or search string.\n * @param searchValue A string to search for.\n * @param replaceValue A string containing the text to replace for every successful match of searchValue in this string.\n */\n replace(searchValue: string | RegExp, replaceValue: string): string;\n\n /**\n * Replaces text in a string, using a regular expression or search string.\n * @param searchValue A string to search for.\n * @param replacer A function that returns the replacement text.\n */\n replace(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;\n\n /**\n * Finds the first substring match in a regular expression search.\n * @param regexp The regular expression pattern and applicable flags.\n */\n search(regexp: string | RegExp): number;\n\n /**\n * Returns a section of a string.\n * @param start The index to the beginning of the specified portion of stringObj.\n * @param end The index to the end of the specified portion of stringObj. The substring includes the characters up to, but not including, the character indicated by end.\n * If this value is not specified, the substring continues to the end of stringObj.\n */\n slice(start?: number, end?: number): string;\n\n /**\n * Split a string into substrings using the specified separator and return them as an array.\n * @param separator A string that identifies character or characters to use in separating the string. If omitted, a single-element array containing the entire string is returned.\n * @param limit A value used to limit the number of elements returned in the array.\n */\n split(separator: string | RegExp, limit?: number): string[];\n\n /**\n * Returns the substring at the specified location within a String object.\n * @param start The zero-based index number indicating the beginning of the substring.\n * @param end Zero-based index number indicating the end of the substring. The substring includes the characters up to, but not including, the character indicated by end.\n * If end is omitted, the characters from start through the end of the original string are returned.\n */\n substring(start: number, end?: number): string;\n\n /** Converts all the alphabetic characters in a string to lowercase. */\n toLowerCase(): string;\n\n /** Converts all alphabetic characters to lowercase, taking into account the host environment\'s current locale. */\n toLocaleLowerCase(locales?: string | string[]): string;\n\n /** Converts all the alphabetic characters in a string to uppercase. */\n toUpperCase(): string;\n\n /** Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment\'s current locale. */\n toLocaleUpperCase(locales?: string | string[]): string;\n\n /** Removes the leading and trailing white space and line terminator characters from a string. */\n trim(): string;\n\n /** Returns the length of a String object. */\n readonly length: number;\n\n // IE extensions\n /**\n * Gets a substring beginning at the specified location and having the specified length.\n * @param from The starting position of the desired substring. The index of the first character in the string is zero.\n * @param length The number of characters to include in the returned substring.\n */\n substr(from: number, length?: number): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): string;\n\n readonly [index: number]: string;\n}\n\ninterface StringConstructor {\n new(value?: any): String;\n (value?: any): string;\n readonly prototype: String;\n fromCharCode(...codes: number[]): string;\n}\n\n/**\n * Allows manipulation and formatting of text strings and determination and location of substrings within strings.\n */\ndeclare var String: StringConstructor;\n\ninterface Boolean {\n /** Returns the primitive value of the specified object. */\n valueOf(): boolean;\n}\n\ninterface BooleanConstructor {\n new(value?: any): Boolean;\n (value?: T): boolean;\n readonly prototype: Boolean;\n}\n\ndeclare var Boolean: BooleanConstructor;\n\ninterface Number {\n /**\n * Returns a string representation of an object.\n * @param radix Specifies a radix for converting numeric values to strings. This value is only used for numbers.\n */\n toString(radix?: number): string;\n\n /**\n * Returns a string representing a number in fixed-point notation.\n * @param fractionDigits Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.\n */\n toFixed(fractionDigits?: number): string;\n\n /**\n * Returns a string containing a number represented in exponential notation.\n * @param fractionDigits Number of digits after the decimal point. Must be in the range 0 - 20, inclusive.\n */\n toExponential(fractionDigits?: number): string;\n\n /**\n * Returns a string containing a number represented either in exponential or fixed-point notation with a specified number of digits.\n * @param precision Number of significant digits. Must be in the range 1 - 21, inclusive.\n */\n toPrecision(precision?: number): string;\n\n /** Returns the primitive value of the specified object. */\n valueOf(): number;\n}\n\ninterface NumberConstructor {\n new(value?: any): Number;\n (value?: any): number;\n readonly prototype: Number;\n\n /** The largest number that can be represented in JavaScript. Equal to approximately 1.79E+308. */\n readonly MAX_VALUE: number;\n\n /** The closest number to zero that can be represented in JavaScript. Equal to approximately 5.00E-324. */\n readonly MIN_VALUE: number;\n\n /**\n * A value that is not a number.\n * In equality comparisons, NaN does not equal any value, including itself. To test whether a value is equivalent to NaN, use the isNaN function.\n */\n readonly NaN: number;\n\n /**\n * A value that is less than the largest negative number that can be represented in JavaScript.\n * JavaScript displays NEGATIVE_INFINITY values as -infinity.\n */\n readonly NEGATIVE_INFINITY: number;\n\n /**\n * A value greater than the largest number that can be represented in JavaScript.\n * JavaScript displays POSITIVE_INFINITY values as infinity.\n */\n readonly POSITIVE_INFINITY: number;\n}\n\n/** An object that represents a number of any kind. All JavaScript numbers are 64-bit floating-point numbers. */\ndeclare var Number: NumberConstructor;\n\ninterface TemplateStringsArray extends ReadonlyArray {\n readonly raw: readonly string[];\n}\n\n/**\n * The type of `import.meta`.\n *\n * If you need to declare that a given property exists on `import.meta`,\n * this type may be augmented via interface merging.\n */\ninterface ImportMeta {\n}\n\ninterface Math {\n /** The mathematical constant e. This is Euler\'s number, the base of natural logarithms. */\n readonly E: number;\n /** The natural logarithm of 10. */\n readonly LN10: number;\n /** The natural logarithm of 2. */\n readonly LN2: number;\n /** The base-2 logarithm of e. */\n readonly LOG2E: number;\n /** The base-10 logarithm of e. */\n readonly LOG10E: number;\n /** Pi. This is the ratio of the circumference of a circle to its diameter. */\n readonly PI: number;\n /** The square root of 0.5, or, equivalently, one divided by the square root of 2. */\n readonly SQRT1_2: number;\n /** The square root of 2. */\n readonly SQRT2: number;\n /**\n * Returns the absolute value of a number (the value without regard to whether it is positive or negative).\n * For example, the absolute value of -5 is the same as the absolute value of 5.\n * @param x A numeric expression for which the absolute value is needed.\n */\n abs(x: number): number;\n /**\n * Returns the arc cosine (or inverse cosine) of a number.\n * @param x A numeric expression.\n */\n acos(x: number): number;\n /**\n * Returns the arcsine of a number.\n * @param x A numeric expression.\n */\n asin(x: number): number;\n /**\n * Returns the arctangent of a number.\n * @param x A numeric expression for which the arctangent is needed.\n */\n atan(x: number): number;\n /**\n * Returns the angle (in radians) from the X axis to a point.\n * @param y A numeric expression representing the cartesian y-coordinate.\n * @param x A numeric expression representing the cartesian x-coordinate.\n */\n atan2(y: number, x: number): number;\n /**\n * Returns the smallest integer greater than or equal to its numeric argument.\n * @param x A numeric expression.\n */\n ceil(x: number): number;\n /**\n * Returns the cosine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n cos(x: number): number;\n /**\n * Returns e (the base of natural logarithms) raised to a power.\n * @param x A numeric expression representing the power of e.\n */\n exp(x: number): number;\n /**\n * Returns the greatest integer less than or equal to its numeric argument.\n * @param x A numeric expression.\n */\n floor(x: number): number;\n /**\n * Returns the natural logarithm (base e) of a number.\n * @param x A numeric expression.\n */\n log(x: number): number;\n /**\n * Returns the larger of a set of supplied numeric expressions.\n * @param values Numeric expressions to be evaluated.\n */\n max(...values: number[]): number;\n /**\n * Returns the smaller of a set of supplied numeric expressions.\n * @param values Numeric expressions to be evaluated.\n */\n min(...values: number[]): number;\n /**\n * Returns the value of a base expression taken to a specified power.\n * @param x The base value of the expression.\n * @param y The exponent value of the expression.\n */\n pow(x: number, y: number): number;\n /** Returns a pseudorandom number between 0 and 1. */\n random(): number;\n /**\n * Returns a supplied numeric expression rounded to the nearest integer.\n * @param x The value to be rounded to the nearest integer.\n */\n round(x: number): number;\n /**\n * Returns the sine of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n sin(x: number): number;\n /**\n * Returns the square root of a number.\n * @param x A numeric expression.\n */\n sqrt(x: number): number;\n /**\n * Returns the tangent of a number.\n * @param x A numeric expression that contains an angle measured in radians.\n */\n tan(x: number): number;\n}\n/** An intrinsic object that provides basic mathematics functionality and constants. */\ndeclare var Math: Math;\n\n/** Enables basic storage and retrieval of dates and times. */\ninterface Date {\n /** Returns a string representation of a date. The format of the string depends on the locale. */\n toString(): string;\n /** Returns a date as a string value. */\n toDateString(): string;\n /** Returns a time as a string value. */\n toTimeString(): string;\n /** Returns a value as a string value appropriate to the host environment\'s current locale. */\n toLocaleString(): string;\n /** Returns a date as a string value appropriate to the host environment\'s current locale. */\n toLocaleDateString(): string;\n /** Returns a time as a string value appropriate to the host environment\'s current locale. */\n toLocaleTimeString(): string;\n /** Returns the stored time value in milliseconds since midnight, January 1, 1970 UTC. */\n valueOf(): number;\n /** Gets the time value in milliseconds. */\n getTime(): number;\n /** Gets the year, using local time. */\n getFullYear(): number;\n /** Gets the year using Universal Coordinated Time (UTC). */\n getUTCFullYear(): number;\n /** Gets the month, using local time. */\n getMonth(): number;\n /** Gets the month of a Date object using Universal Coordinated Time (UTC). */\n getUTCMonth(): number;\n /** Gets the day-of-the-month, using local time. */\n getDate(): number;\n /** Gets the day-of-the-month, using Universal Coordinated Time (UTC). */\n getUTCDate(): number;\n /** Gets the day of the week, using local time. */\n getDay(): number;\n /** Gets the day of the week using Universal Coordinated Time (UTC). */\n getUTCDay(): number;\n /** Gets the hours in a date, using local time. */\n getHours(): number;\n /** Gets the hours value in a Date object using Universal Coordinated Time (UTC). */\n getUTCHours(): number;\n /** Gets the minutes of a Date object, using local time. */\n getMinutes(): number;\n /** Gets the minutes of a Date object using Universal Coordinated Time (UTC). */\n getUTCMinutes(): number;\n /** Gets the seconds of a Date object, using local time. */\n getSeconds(): number;\n /** Gets the seconds of a Date object using Universal Coordinated Time (UTC). */\n getUTCSeconds(): number;\n /** Gets the milliseconds of a Date, using local time. */\n getMilliseconds(): number;\n /** Gets the milliseconds of a Date object using Universal Coordinated Time (UTC). */\n getUTCMilliseconds(): number;\n /** Gets the difference in minutes between the time on the local computer and Universal Coordinated Time (UTC). */\n getTimezoneOffset(): number;\n /**\n * Sets the date and time value in the Date object.\n * @param time A numeric value representing the number of elapsed milliseconds since midnight, January 1, 1970 GMT.\n */\n setTime(time: number): number;\n /**\n * Sets the milliseconds value in the Date object using local time.\n * @param ms A numeric value equal to the millisecond value.\n */\n setMilliseconds(ms: number): number;\n /**\n * Sets the milliseconds value in the Date object using Universal Coordinated Time (UTC).\n * @param ms A numeric value equal to the millisecond value.\n */\n setUTCMilliseconds(ms: number): number;\n\n /**\n * Sets the seconds value in the Date object using local time.\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setSeconds(sec: number, ms?: number): number;\n /**\n * Sets the seconds value in the Date object using Universal Coordinated Time (UTC).\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setUTCSeconds(sec: number, ms?: number): number;\n /**\n * Sets the minutes value in the Date object using local time.\n * @param min A numeric value equal to the minutes value.\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setMinutes(min: number, sec?: number, ms?: number): number;\n /**\n * Sets the minutes value in the Date object using Universal Coordinated Time (UTC).\n * @param min A numeric value equal to the minutes value.\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setUTCMinutes(min: number, sec?: number, ms?: number): number;\n /**\n * Sets the hour value in the Date object using local time.\n * @param hours A numeric value equal to the hours value.\n * @param min A numeric value equal to the minutes value.\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setHours(hours: number, min?: number, sec?: number, ms?: number): number;\n /**\n * Sets the hours value in the Date object using Universal Coordinated Time (UTC).\n * @param hours A numeric value equal to the hours value.\n * @param min A numeric value equal to the minutes value.\n * @param sec A numeric value equal to the seconds value.\n * @param ms A numeric value equal to the milliseconds value.\n */\n setUTCHours(hours: number, min?: number, sec?: number, ms?: number): number;\n /**\n * Sets the numeric day-of-the-month value of the Date object using local time.\n * @param date A numeric value equal to the day of the month.\n */\n setDate(date: number): number;\n /**\n * Sets the numeric day of the month in the Date object using Universal Coordinated Time (UTC).\n * @param date A numeric value equal to the day of the month.\n */\n setUTCDate(date: number): number;\n /**\n * Sets the month value in the Date object using local time.\n * @param month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively.\n * @param date A numeric value representing the day of the month. If this value is not supplied, the value from a call to the getDate method is used.\n */\n setMonth(month: number, date?: number): number;\n /**\n * Sets the month value in the Date object using Universal Coordinated Time (UTC).\n * @param month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively.\n * @param date A numeric value representing the day of the month. If it is not supplied, the value from a call to the getUTCDate method is used.\n */\n setUTCMonth(month: number, date?: number): number;\n /**\n * Sets the year of the Date object using local time.\n * @param year A numeric value for the year.\n * @param month A zero-based numeric value for the month (0 for January, 11 for December). Must be specified if numDate is specified.\n * @param date A numeric value equal for the day of the month.\n */\n setFullYear(year: number, month?: number, date?: number): number;\n /**\n * Sets the year value in the Date object using Universal Coordinated Time (UTC).\n * @param year A numeric value equal to the year.\n * @param month A numeric value equal to the month. The value for January is 0, and other month values follow consecutively. Must be supplied if numDate is supplied.\n * @param date A numeric value equal to the day of the month.\n */\n setUTCFullYear(year: number, month?: number, date?: number): number;\n /** Returns a date converted to a string using Universal Coordinated Time (UTC). */\n toUTCString(): string;\n /** Returns a date as a string value in ISO format. */\n toISOString(): string;\n /** Used by the JSON.stringify method to enable the transformation of an object\'s data for JavaScript Object Notation (JSON) serialization. */\n toJSON(key?: any): string;\n}\n\ninterface DateConstructor {\n new(): Date;\n new(value: number | string): Date;\n new(year: number, month: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): Date;\n (): string;\n readonly prototype: Date;\n /**\n * Parses a string containing a date, and returns the number of milliseconds between that date and midnight, January 1, 1970.\n * @param s A date string\n */\n parse(s: string): number;\n /**\n * Returns the number of milliseconds between midnight, January 1, 1970 Universal Coordinated Time (UTC) (or GMT) and the specified date.\n * @param year The full year designation is required for cross-century date accuracy. If year is between 0 and 99 is used, then year is assumed to be 1900 + year.\n * @param month The month as a number between 0 and 11 (January to December).\n * @param date The date as a number between 1 and 31.\n * @param hours Must be supplied if minutes is supplied. A number from 0 to 23 (midnight to 11pm) that specifies the hour.\n * @param minutes Must be supplied if seconds is supplied. A number from 0 to 59 that specifies the minutes.\n * @param seconds Must be supplied if milliseconds is supplied. A number from 0 to 59 that specifies the seconds.\n * @param ms A number from 0 to 999 that specifies the milliseconds.\n */\n UTC(year: number, month: number, date?: number, hours?: number, minutes?: number, seconds?: number, ms?: number): number;\n now(): number;\n}\n\ndeclare var Date: DateConstructor;\n\ninterface RegExpMatchArray extends Array {\n index?: number;\n input?: string;\n}\n\ninterface RegExpExecArray extends Array {\n index: number;\n input: string;\n}\n\ninterface RegExp {\n /**\n * Executes a search on a string using a regular expression pattern, and returns an array containing the results of that search.\n * @param string The String object or string literal on which to perform the search.\n */\n exec(string: string): RegExpExecArray | null;\n\n /**\n * Returns a Boolean value that indicates whether or not a pattern exists in a searched string.\n * @param string String on which to perform the search.\n */\n test(string: string): boolean;\n\n /** Returns a copy of the text of the regular expression pattern. Read-only. The regExp argument is a Regular expression object. It can be a variable name or a literal. */\n readonly source: string;\n\n /** Returns a Boolean value indicating the state of the global flag (g) used with a regular expression. Default is false. Read-only. */\n readonly global: boolean;\n\n /** Returns a Boolean value indicating the state of the ignoreCase flag (i) used with a regular expression. Default is false. Read-only. */\n readonly ignoreCase: boolean;\n\n /** Returns a Boolean value indicating the state of the multiline flag (m) used with a regular expression. Default is false. Read-only. */\n readonly multiline: boolean;\n\n lastIndex: number;\n\n // Non-standard extensions\n compile(): this;\n}\n\ninterface RegExpConstructor {\n new(pattern: RegExp | string): RegExp;\n new(pattern: string, flags?: string): RegExp;\n (pattern: RegExp | string): RegExp;\n (pattern: string, flags?: string): RegExp;\n readonly prototype: RegExp;\n\n // Non-standard extensions\n $1: string;\n $2: string;\n $3: string;\n $4: string;\n $5: string;\n $6: string;\n $7: string;\n $8: string;\n $9: string;\n lastMatch: string;\n}\n\ndeclare var RegExp: RegExpConstructor;\n\ninterface Error {\n name: string;\n message: string;\n stack?: string;\n}\n\ninterface ErrorConstructor {\n new(message?: string): Error;\n (message?: string): Error;\n readonly prototype: Error;\n}\n\ndeclare var Error: ErrorConstructor;\n\ninterface EvalError extends Error {\n}\n\ninterface EvalErrorConstructor {\n new(message?: string): EvalError;\n (message?: string): EvalError;\n readonly prototype: EvalError;\n}\n\ndeclare var EvalError: EvalErrorConstructor;\n\ninterface RangeError extends Error {\n}\n\ninterface RangeErrorConstructor {\n new(message?: string): RangeError;\n (message?: string): RangeError;\n readonly prototype: RangeError;\n}\n\ndeclare var RangeError: RangeErrorConstructor;\n\ninterface ReferenceError extends Error {\n}\n\ninterface ReferenceErrorConstructor {\n new(message?: string): ReferenceError;\n (message?: string): ReferenceError;\n readonly prototype: ReferenceError;\n}\n\ndeclare var ReferenceError: ReferenceErrorConstructor;\n\ninterface SyntaxError extends Error {\n}\n\ninterface SyntaxErrorConstructor {\n new(message?: string): SyntaxError;\n (message?: string): SyntaxError;\n readonly prototype: SyntaxError;\n}\n\ndeclare var SyntaxError: SyntaxErrorConstructor;\n\ninterface TypeError extends Error {\n}\n\ninterface TypeErrorConstructor {\n new(message?: string): TypeError;\n (message?: string): TypeError;\n readonly prototype: TypeError;\n}\n\ndeclare var TypeError: TypeErrorConstructor;\n\ninterface URIError extends Error {\n}\n\ninterface URIErrorConstructor {\n new(message?: string): URIError;\n (message?: string): URIError;\n readonly prototype: URIError;\n}\n\ndeclare var URIError: URIErrorConstructor;\n\ninterface JSON {\n /**\n * Converts a JavaScript Object Notation (JSON) string into an object.\n * @param text A valid JSON string.\n * @param reviver A function that transforms the results. This function is called for each member of the object.\n * If a member contains nested objects, the nested objects are transformed before the parent object is.\n */\n parse(text: string, reviver?: (this: any, key: string, value: any) => any): any;\n /**\n * Converts a JavaScript value to a JavaScript Object Notation (JSON) string.\n * @param value A JavaScript value, usually an object or array, to be converted.\n * @param replacer A function that transforms the results.\n * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.\n */\n stringify(value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;\n /**\n * Converts a JavaScript value to a JavaScript Object Notation (JSON) string.\n * @param value A JavaScript value, usually an object or array, to be converted.\n * @param replacer An array of strings and numbers that acts as a approved list for selecting the object properties that will be stringified.\n * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.\n */\n stringify(value: any, replacer?: (number | string)[] | null, space?: string | number): string;\n}\n\n/**\n * An intrinsic object that provides functions to convert JavaScript values to and from the JavaScript Object Notation (JSON) format.\n */\ndeclare var JSON: JSON;\n\n\n/////////////////////////////\n/// ECMAScript Array API (specially handled by compiler)\n/////////////////////////////\n\ninterface ReadonlyArray {\n /**\n * Gets the length of the array. This is a number one higher than the highest element defined in an array.\n */\n readonly length: number;\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n /**\n * Returns a string representation of an array. The elements are converted to string using their toLocalString methods.\n */\n toLocaleString(): string;\n /**\n * Combines two or more arrays.\n * @param items Additional items to add to the end of array1.\n */\n concat(...items: ConcatArray[]): T[];\n /**\n * Combines two or more arrays.\n * @param items Additional items to add to the end of array1.\n */\n concat(...items: (T | ConcatArray)[]): T[];\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index \'end\'.\n */\n slice(start?: number, end?: number): T[];\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.\n */\n indexOf(searchElement: T, fromIndex?: number): number;\n /**\n * Returns the index of the last occurrence of a specified value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at the last index in the array.\n */\n lastIndexOf(searchElement: T, fromIndex?: number): number;\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param callbackfn A function that accepts up to three arguments. The every method calls\n * the callbackfn function for each element in the array until the callbackfn returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(callbackfn: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): boolean;\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param callbackfn A function that accepts up to three arguments. The some method calls\n * the callbackfn function for each element in the array until the callbackfn returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(callbackfn: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): boolean;\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: T, index: number, array: readonly T[]) => void, thisArg?: any): void;\n /**\n * Calls a defined callback function on each element of an array, and returns an array that contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: T, index: number, array: readonly T[]) => U, thisArg?: any): U[];\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: T, index: number, array: readonly T[]) => value is S, thisArg?: any): S[];\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): T[];\n /**\n * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T): T;\n reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T, initialValue: T): T;\n /**\n * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduce(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: readonly T[]) => U, initialValue: U): U;\n /**\n * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T): T;\n reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: readonly T[]) => T, initialValue: T): T;\n /**\n * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: readonly T[]) => U, initialValue: U): U;\n\n readonly [n: number]: T;\n}\n\ninterface ConcatArray {\n readonly length: number;\n readonly [n: number]: T;\n join(separator?: string): string;\n slice(start?: number, end?: number): T[];\n}\n\ninterface Array {\n /**\n * Gets or sets the length of the array. This is a number one higher than the highest element defined in an array.\n */\n length: number;\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n /**\n * Returns a string representation of an array. The elements are converted to string using their toLocalString methods.\n */\n toLocaleString(): string;\n /**\n * Removes the last element from an array and returns it.\n */\n pop(): T | undefined;\n /**\n * Appends new elements to an array, and returns the new length of the array.\n * @param items New elements of the Array.\n */\n push(...items: T[]): number;\n /**\n * Combines two or more arrays.\n * @param items Additional items to add to the end of array1.\n */\n concat(...items: ConcatArray[]): T[];\n /**\n * Combines two or more arrays.\n * @param items Additional items to add to the end of array1.\n */\n concat(...items: (T | ConcatArray)[]): T[];\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n /**\n * Reverses the elements in an Array.\n */\n reverse(): T[];\n /**\n * Removes the first element from an array and returns it.\n */\n shift(): T | undefined;\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index \'end\'.\n */\n slice(start?: number, end?: number): T[];\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they\'re equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: T, b: T) => number): this;\n /**\n * Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.\n * @param start The zero-based location in the array from which to start removing elements.\n * @param deleteCount The number of elements to remove.\n */\n splice(start: number, deleteCount?: number): T[];\n /**\n * Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.\n * @param start The zero-based location in the array from which to start removing elements.\n * @param deleteCount The number of elements to remove.\n * @param items Elements to insert into the array in place of the deleted elements.\n */\n splice(start: number, deleteCount: number, ...items: T[]): T[];\n /**\n * Inserts new elements at the start of an array.\n * @param items Elements to insert at the start of the Array.\n */\n unshift(...items: T[]): number;\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.\n */\n indexOf(searchElement: T, fromIndex?: number): number;\n /**\n * Returns the index of the last occurrence of a specified value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at the last index in the array.\n */\n lastIndexOf(searchElement: T, fromIndex?: number): number;\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param callbackfn A function that accepts up to three arguments. The every method calls\n * the callbackfn function for each element in the array until the callbackfn returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(callbackfn: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean;\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param callbackfn A function that accepts up to three arguments. The some method calls\n * the callbackfn function for each element in the array until the callbackfn returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(callbackfn: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean;\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: T, index: number, array: T[]) => void, thisArg?: any): void;\n /**\n * Calls a defined callback function on each element of an array, and returns an array that contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[];\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: T, index: number, array: T[]) => value is S, thisArg?: any): S[];\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: T, index: number, array: T[]) => unknown, thisArg?: any): T[];\n /**\n * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T): T;\n reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue: T): T;\n /**\n * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduce(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U;\n /**\n * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T): T;\n reduceRight(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T, initialValue: T): T;\n /**\n * Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U, initialValue: U): U;\n\n [n: number]: T;\n}\n\ninterface ArrayConstructor {\n new(arrayLength?: number): any[];\n new (arrayLength: number): T[];\n new (...items: T[]): T[];\n (arrayLength?: number): any[];\n (arrayLength: number): T[];\n (...items: T[]): T[];\n isArray(arg: any): arg is any[];\n readonly prototype: any[];\n}\n\ndeclare var Array: ArrayConstructor;\n\ninterface TypedPropertyDescriptor {\n enumerable?: boolean;\n configurable?: boolean;\n writable?: boolean;\n value?: T;\n get?: () => T;\n set?: (value: T) => void;\n}\n\ndeclare type ClassDecorator = (target: TFunction) => TFunction | void;\ndeclare type PropertyDecorator = (target: Object, propertyKey: string | symbol) => void;\ndeclare type MethodDecorator = (target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor | void;\ndeclare type ParameterDecorator = (target: Object, propertyKey: string | symbol, parameterIndex: number) => void;\n\ndeclare type PromiseConstructorLike = new (executor: (resolve: (value?: T | PromiseLike) => void, reject: (reason?: any) => void) => void) => PromiseLike;\n\ninterface PromiseLike {\n /**\n * Attaches callbacks for the resolution and/or rejection of the Promise.\n * @param onfulfilled The callback to execute when the Promise is resolved.\n * @param onrejected The callback to execute when the Promise is rejected.\n * @returns A Promise for the completion of which ever callback is executed.\n */\n then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): PromiseLike;\n}\n\n/**\n * Represents the completion of an asynchronous operation\n */\ninterface Promise {\n /**\n * Attaches callbacks for the resolution and/or rejection of the Promise.\n * @param onfulfilled The callback to execute when the Promise is resolved.\n * @param onrejected The callback to execute when the Promise is rejected.\n * @returns A Promise for the completion of which ever callback is executed.\n */\n then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): Promise;\n\n /**\n * Attaches a callback for only the rejection of the Promise.\n * @param onrejected The callback to execute when the Promise is rejected.\n * @returns A Promise for the completion of the callback.\n */\n catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): Promise;\n}\n\ninterface ArrayLike {\n readonly length: number;\n readonly [n: number]: T;\n}\n\n/**\n * Make all properties in T optional\n */\ntype Partial = {\n [P in keyof T]?: T[P];\n};\n\n/**\n * Make all properties in T required\n */\ntype Required = {\n [P in keyof T]-?: T[P];\n};\n\n/**\n * Make all properties in T readonly\n */\ntype Readonly = {\n readonly [P in keyof T]: T[P];\n};\n\n/**\n * From T, pick a set of properties whose keys are in the union K\n */\ntype Pick = {\n [P in K]: T[P];\n};\n\n/**\n * Construct a type with a set of properties K of type T\n */\ntype Record = {\n [P in K]: T;\n};\n\n/**\n * Exclude from T those types that are assignable to U\n */\ntype Exclude = T extends U ? never : T;\n\n/**\n * Extract from T those types that are assignable to U\n */\ntype Extract = T extends U ? T : never;\n\n/**\n * Construct a type with the properties of T except for those in type K.\n */\ntype Omit = Pick>;\n\n/**\n * Exclude null and undefined from T\n */\ntype NonNullable = T extends null | undefined ? never : T;\n\n/**\n * Obtain the parameters of a function type in a tuple\n */\ntype Parameters any> = T extends (...args: infer P) => any ? P : never;\n\n/**\n * Obtain the parameters of a constructor function type in a tuple\n */\ntype ConstructorParameters any> = T extends new (...args: infer P) => any ? P : never;\n\n/**\n * Obtain the return type of a function type\n */\ntype ReturnType any> = T extends (...args: any) => infer R ? R : any;\n\n/**\n * Obtain the return type of a constructor function type\n */\ntype InstanceType any> = T extends new (...args: any) => infer R ? R : any;\n\n/**\n * Marker for contextual \'this\' type\n */\ninterface ThisType { }\n\n/**\n * Represents a raw buffer of binary data, which is used to store data for the\n * different typed arrays. ArrayBuffers cannot be read from or written to directly,\n * but can be passed to a typed array or DataView Object to interpret the raw\n * buffer as needed.\n */\ninterface ArrayBuffer {\n /**\n * Read-only. The length of the ArrayBuffer (in bytes).\n */\n readonly byteLength: number;\n\n /**\n * Returns a section of an ArrayBuffer.\n */\n slice(begin: number, end?: number): ArrayBuffer;\n}\n\n/**\n * Allowed ArrayBuffer types for the buffer of an ArrayBufferView and related Typed Arrays.\n */\ninterface ArrayBufferTypes {\n ArrayBuffer: ArrayBuffer;\n}\ntype ArrayBufferLike = ArrayBufferTypes[keyof ArrayBufferTypes];\n\ninterface ArrayBufferConstructor {\n readonly prototype: ArrayBuffer;\n new(byteLength: number): ArrayBuffer;\n isView(arg: any): arg is ArrayBufferView;\n}\ndeclare var ArrayBuffer: ArrayBufferConstructor;\n\ninterface ArrayBufferView {\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n byteOffset: number;\n}\n\ninterface DataView {\n readonly buffer: ArrayBuffer;\n readonly byteLength: number;\n readonly byteOffset: number;\n /**\n * Gets the Float32 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getFloat32(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Gets the Float64 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getFloat64(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Gets the Int8 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getInt8(byteOffset: number): number;\n\n /**\n * Gets the Int16 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getInt16(byteOffset: number, littleEndian?: boolean): number;\n /**\n * Gets the Int32 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getInt32(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Gets the Uint8 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getUint8(byteOffset: number): number;\n\n /**\n * Gets the Uint16 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getUint16(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Gets the Uint32 value at the specified byte offset from the start of the view. There is\n * no alignment constraint; multi-byte values may be fetched from any offset.\n * @param byteOffset The place in the buffer at which the value should be retrieved.\n */\n getUint32(byteOffset: number, littleEndian?: boolean): number;\n\n /**\n * Stores an Float32 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setFloat32(byteOffset: number, value: number, littleEndian?: boolean): void;\n\n /**\n * Stores an Float64 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setFloat64(byteOffset: number, value: number, littleEndian?: boolean): void;\n\n /**\n * Stores an Int8 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n */\n setInt8(byteOffset: number, value: number): void;\n\n /**\n * Stores an Int16 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setInt16(byteOffset: number, value: number, littleEndian?: boolean): void;\n\n /**\n * Stores an Int32 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setInt32(byteOffset: number, value: number, littleEndian?: boolean): void;\n\n /**\n * Stores an Uint8 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n */\n setUint8(byteOffset: number, value: number): void;\n\n /**\n * Stores an Uint16 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setUint16(byteOffset: number, value: number, littleEndian?: boolean): void;\n\n /**\n * Stores an Uint32 value at the specified byte offset from the start of the view.\n * @param byteOffset The place in the buffer at which the value should be set.\n * @param value The value to set.\n * @param littleEndian If false or undefined, a big-endian value should be written,\n * otherwise a little-endian value should be written.\n */\n setUint32(byteOffset: number, value: number, littleEndian?: boolean): void;\n}\n\ninterface DataViewConstructor {\n new(buffer: ArrayBufferLike, byteOffset?: number, byteLength?: number): DataView;\n}\ndeclare var DataView: DataViewConstructor;\n\n/**\n * A typed array of 8-bit integer values. The contents are initialized to 0. If the requested\n * number of bytes could not be allocated an exception is raised.\n */\ninterface Int8Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param callbackfn A function that accepts up to three arguments. The every method calls\n * the callbackfn function for each element in the array until the callbackfn returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(callbackfn: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls\n * the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: number, index: number, array: Int8Array) => any, thisArg?: any): Int8Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Int8Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Int8Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Int8Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Int8Array) => number, thisArg?: any): Int8Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int8Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int8Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int8Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Int8Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index \'end\'.\n */\n slice(start?: number, end?: number): Int8Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param callbackfn A function that accepts up to three arguments. The some method calls\n * the callbackfn function for each element in the array until the callbackfn returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(callbackfn: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they\'re equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Int8Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Int8Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n [index: number]: number;\n}\ninterface Int8ArrayConstructor {\n readonly prototype: Int8Array;\n new(length: number): Int8Array;\n new(arrayOrArrayBuffer: ArrayLike | ArrayBufferLike): Int8Array;\n new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Int8Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Int8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike): Int8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int8Array;\n\n\n}\ndeclare var Int8Array: Int8ArrayConstructor;\n\n/**\n * A typed array of 8-bit unsigned integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated an exception is raised.\n */\ninterface Uint8Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param callbackfn A function that accepts up to three arguments. The every method calls\n * the callbackfn function for each element in the array until the callbackfn returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(callbackfn: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls\n * the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: number, index: number, array: Uint8Array) => any, thisArg?: any): Uint8Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Uint8Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Uint8Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Uint8Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Uint8Array) => number, thisArg?: any): Uint8Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Uint8Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index \'end\'.\n */\n slice(start?: number, end?: number): Uint8Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param callbackfn A function that accepts up to three arguments. The some method calls\n * the callbackfn function for each element in the array until the callbackfn returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(callbackfn: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they\'re equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Uint8Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Uint8Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n [index: number]: number;\n}\n\ninterface Uint8ArrayConstructor {\n readonly prototype: Uint8Array;\n new(length: number): Uint8Array;\n new(arrayOrArrayBuffer: ArrayLike | ArrayBufferLike): Uint8Array;\n new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Uint8Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Uint8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike): Uint8Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array;\n\n}\ndeclare var Uint8Array: Uint8ArrayConstructor;\n\n/**\n * A typed array of 8-bit unsigned integer (clamped) values. The contents are initialized to 0.\n * If the requested number of bytes could not be allocated an exception is raised.\n */\ninterface Uint8ClampedArray {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param callbackfn A function that accepts up to three arguments. The every method calls\n * the callbackfn function for each element in the array until the callbackfn returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls\n * the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => any, thisArg?: any): Uint8ClampedArray;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Uint8ClampedArray) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Uint8ClampedArray) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => number, thisArg?: any): Uint8ClampedArray;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint8ClampedArray) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Uint8ClampedArray;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index \'end\'.\n */\n slice(start?: number, end?: number): Uint8ClampedArray;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param callbackfn A function that accepts up to three arguments. The some method calls\n * the callbackfn function for each element in the array until the callbackfn returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they\'re equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Uint8ClampedArray view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Uint8ClampedArray;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n [index: number]: number;\n}\n\ninterface Uint8ClampedArrayConstructor {\n readonly prototype: Uint8ClampedArray;\n new(length: number): Uint8ClampedArray;\n new(arrayOrArrayBuffer: ArrayLike | ArrayBufferLike): Uint8ClampedArray;\n new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Uint8ClampedArray;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Uint8ClampedArray;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike): Uint8ClampedArray;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8ClampedArray;\n}\ndeclare var Uint8ClampedArray: Uint8ClampedArrayConstructor;\n\n/**\n * A typed array of 16-bit signed integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated an exception is raised.\n */\ninterface Int16Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param callbackfn A function that accepts up to three arguments. The every method calls\n * the callbackfn function for each element in the array until the callbackfn returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(callbackfn: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls\n * the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: number, index: number, array: Int16Array) => any, thisArg?: any): Int16Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Int16Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Int16Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Int16Array) => void, thisArg?: any): void;\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Int16Array) => number, thisArg?: any): Int16Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int16Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int16Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int16Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Int16Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index \'end\'.\n */\n slice(start?: number, end?: number): Int16Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param callbackfn A function that accepts up to three arguments. The some method calls\n * the callbackfn function for each element in the array until the callbackfn returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(callbackfn: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they\'re equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Int16Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Int16Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n [index: number]: number;\n}\n\ninterface Int16ArrayConstructor {\n readonly prototype: Int16Array;\n new(length: number): Int16Array;\n new(arrayOrArrayBuffer: ArrayLike | ArrayBufferLike): Int16Array;\n new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Int16Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Int16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike): Int16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int16Array;\n\n\n}\ndeclare var Int16Array: Int16ArrayConstructor;\n\n/**\n * A typed array of 16-bit unsigned integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated an exception is raised.\n */\ninterface Uint16Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param callbackfn A function that accepts up to three arguments. The every method calls\n * the callbackfn function for each element in the array until the callbackfn returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(callbackfn: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls\n * the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: number, index: number, array: Uint16Array) => any, thisArg?: any): Uint16Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Uint16Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Uint16Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Uint16Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Uint16Array) => number, thisArg?: any): Uint16Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint16Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint16Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint16Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Uint16Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index \'end\'.\n */\n slice(start?: number, end?: number): Uint16Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param callbackfn A function that accepts up to three arguments. The some method calls\n * the callbackfn function for each element in the array until the callbackfn returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(callbackfn: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they\'re equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Uint16Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Uint16Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n [index: number]: number;\n}\n\ninterface Uint16ArrayConstructor {\n readonly prototype: Uint16Array;\n new(length: number): Uint16Array;\n new(arrayOrArrayBuffer: ArrayLike | ArrayBufferLike): Uint16Array;\n new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Uint16Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Uint16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike): Uint16Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint16Array;\n\n\n}\ndeclare var Uint16Array: Uint16ArrayConstructor;\n/**\n * A typed array of 32-bit signed integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated an exception is raised.\n */\ninterface Int32Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param callbackfn A function that accepts up to three arguments. The every method calls\n * the callbackfn function for each element in the array until the callbackfn returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(callbackfn: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls\n * the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: number, index: number, array: Int32Array) => any, thisArg?: any): Int32Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Int32Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Int32Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Int32Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Int32Array) => number, thisArg?: any): Int32Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int32Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Int32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Int32Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Int32Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index \'end\'.\n */\n slice(start?: number, end?: number): Int32Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param callbackfn A function that accepts up to three arguments. The some method calls\n * the callbackfn function for each element in the array until the callbackfn returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(callbackfn: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they\'re equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Int32Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Int32Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n [index: number]: number;\n}\n\ninterface Int32ArrayConstructor {\n readonly prototype: Int32Array;\n new(length: number): Int32Array;\n new(arrayOrArrayBuffer: ArrayLike | ArrayBufferLike): Int32Array;\n new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Int32Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Int32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike): Int32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Int32Array;\n\n}\ndeclare var Int32Array: Int32ArrayConstructor;\n\n/**\n * A typed array of 32-bit unsigned integer values. The contents are initialized to 0. If the\n * requested number of bytes could not be allocated an exception is raised.\n */\ninterface Uint32Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param callbackfn A function that accepts up to three arguments. The every method calls\n * the callbackfn function for each element in the array until the callbackfn returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(callbackfn: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls\n * the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: number, index: number, array: Uint32Array) => any, thisArg?: any): Uint32Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Uint32Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Uint32Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Uint32Array) => void, thisArg?: any): void;\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Uint32Array) => number, thisArg?: any): Uint32Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint32Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Uint32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Uint32Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Uint32Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index \'end\'.\n */\n slice(start?: number, end?: number): Uint32Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param callbackfn A function that accepts up to three arguments. The some method calls\n * the callbackfn function for each element in the array until the callbackfn returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(callbackfn: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they\'re equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Uint32Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Uint32Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n [index: number]: number;\n}\n\ninterface Uint32ArrayConstructor {\n readonly prototype: Uint32Array;\n new(length: number): Uint32Array;\n new(arrayOrArrayBuffer: ArrayLike | ArrayBufferLike): Uint32Array;\n new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Uint32Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Uint32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike): Uint32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Uint32Array;\n\n}\ndeclare var Uint32Array: Uint32ArrayConstructor;\n\n/**\n * A typed array of 32-bit float values. The contents are initialized to 0. If the requested number\n * of bytes could not be allocated an exception is raised.\n */\ninterface Float32Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param callbackfn A function that accepts up to three arguments. The every method calls\n * the callbackfn function for each element in the array until the callbackfn returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(callbackfn: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls\n * the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: number, index: number, array: Float32Array) => any, thisArg?: any): Float32Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Float32Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Float32Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Float32Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Float32Array) => number, thisArg?: any): Float32Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float32Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float32Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float32Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Float32Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index \'end\'.\n */\n slice(start?: number, end?: number): Float32Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param callbackfn A function that accepts up to three arguments. The some method calls\n * the callbackfn function for each element in the array until the callbackfn returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(callbackfn: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they\'re equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * Gets a new Float32Array view of the ArrayBuffer store for this array, referencing the elements\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Float32Array;\n\n /**\n * Converts a number to a string by using the current locale.\n */\n toLocaleString(): string;\n\n /**\n * Returns a string representation of an array.\n */\n toString(): string;\n\n [index: number]: number;\n}\n\ninterface Float32ArrayConstructor {\n readonly prototype: Float32Array;\n new(length: number): Float32Array;\n new(arrayOrArrayBuffer: ArrayLike | ArrayBufferLike): Float32Array;\n new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Float32Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Float32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike): Float32Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float32Array;\n\n\n}\ndeclare var Float32Array: Float32ArrayConstructor;\n\n/**\n * A typed array of 64-bit float values. The contents are initialized to 0. If the requested\n * number of bytes could not be allocated an exception is raised.\n */\ninterface Float64Array {\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * The ArrayBuffer instance referenced by the array.\n */\n readonly buffer: ArrayBufferLike;\n\n /**\n * The length in bytes of the array.\n */\n readonly byteLength: number;\n\n /**\n * The offset in bytes of the array.\n */\n readonly byteOffset: number;\n\n /**\n * Returns the this object after copying a section of the array identified by start and end\n * to the same array starting at position target\n * @param target If target is negative, it is treated as length+target where length is the\n * length of the array.\n * @param start If start is negative, it is treated as length+start. If end is negative, it\n * is treated as length+end.\n * @param end If not specified, length of the this object is used as its default value.\n */\n copyWithin(target: number, start: number, end?: number): this;\n\n /**\n * Determines whether all the members of an array satisfy the specified test.\n * @param callbackfn A function that accepts up to three arguments. The every method calls\n * the callbackfn function for each element in the array until the callbackfn returns a value\n * which is coercible to the Boolean value false, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n every(callbackfn: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Returns the this object after filling the section identified by start and end with value\n * @param value value to fill array section with\n * @param start index to start filling the array at. If start is negative, it is treated as\n * length+start where length is the length of the array.\n * @param end index to stop filling the array at. If end is negative, it is treated as\n * length+end.\n */\n fill(value: number, start?: number, end?: number): this;\n\n /**\n * Returns the elements of an array that meet the condition specified in a callback function.\n * @param callbackfn A function that accepts up to three arguments. The filter method calls\n * the callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n filter(callbackfn: (value: number, index: number, array: Float64Array) => any, thisArg?: any): Float64Array;\n\n /**\n * Returns the value of the first element in the array where predicate is true, and undefined\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found, find\n * immediately returns that element value. Otherwise, find returns undefined.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n find(predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any): number | undefined;\n\n /**\n * Returns the index of the first element in the array where predicate is true, and -1\n * otherwise.\n * @param predicate find calls predicate once for each element of the array, in ascending\n * order, until it finds one where predicate returns true. If such an element is found,\n * findIndex immediately returns that element index. Otherwise, findIndex returns -1.\n * @param thisArg If provided, it will be used as the this value for each invocation of\n * predicate. If it is not provided, undefined is used instead.\n */\n findIndex(predicate: (value: number, index: number, obj: Float64Array) => boolean, thisArg?: any): number;\n\n /**\n * Performs the specified action for each element in an array.\n * @param callbackfn A function that accepts up to three arguments. forEach calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n forEach(callbackfn: (value: number, index: number, array: Float64Array) => void, thisArg?: any): void;\n\n /**\n * Returns the index of the first occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n indexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * Adds all the elements of an array separated by the specified separator string.\n * @param separator A string used to separate one element of an array from the next in the\n * resulting String. If omitted, the array elements are separated with a comma.\n */\n join(separator?: string): string;\n\n /**\n * Returns the index of the last occurrence of a value in an array.\n * @param searchElement The value to locate in the array.\n * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the\n * search starts at index 0.\n */\n lastIndexOf(searchElement: number, fromIndex?: number): number;\n\n /**\n * The length of the array.\n */\n readonly length: number;\n\n /**\n * Calls a defined callback function on each element of an array, and returns an array that\n * contains the results.\n * @param callbackfn A function that accepts up to three arguments. The map method calls the\n * callbackfn function one time for each element in the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n map(callbackfn: (value: number, index: number, array: Float64Array) => number, thisArg?: any): Float64Array;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number;\n reduce(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array. The return value of\n * the callback function is the accumulated result, and is provided as an argument in the next\n * call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduce method calls the\n * callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduce(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float64Array) => U, initialValue: U): U;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an\n * argument instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number): number;\n reduceRight(callbackfn: (previousValue: number, currentValue: number, currentIndex: number, array: Float64Array) => number, initialValue: number): number;\n\n /**\n * Calls the specified callback function for all the elements in an array, in descending order.\n * The return value of the callback function is the accumulated result, and is provided as an\n * argument in the next call to the callback function.\n * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls\n * the callbackfn function one time for each element in the array.\n * @param initialValue If initialValue is specified, it is used as the initial value to start\n * the accumulation. The first call to the callbackfn function provides this value as an argument\n * instead of an array value.\n */\n reduceRight(callbackfn: (previousValue: U, currentValue: number, currentIndex: number, array: Float64Array) => U, initialValue: U): U;\n\n /**\n * Reverses the elements in an Array.\n */\n reverse(): Float64Array;\n\n /**\n * Sets a value or an array of values.\n * @param array A typed or untyped array of values to set.\n * @param offset The index in the current array at which the values are to be written.\n */\n set(array: ArrayLike, offset?: number): void;\n\n /**\n * Returns a section of an array.\n * @param start The beginning of the specified portion of the array.\n * @param end The end of the specified portion of the array. This is exclusive of the element at the index \'end\'.\n */\n slice(start?: number, end?: number): Float64Array;\n\n /**\n * Determines whether the specified callback function returns true for any element of an array.\n * @param callbackfn A function that accepts up to three arguments. The some method calls\n * the callbackfn function for each element in the array until the callbackfn returns a value\n * which is coercible to the Boolean value true, or until the end of the array.\n * @param thisArg An object to which the this keyword can refer in the callbackfn function.\n * If thisArg is omitted, undefined is used as the this value.\n */\n some(callbackfn: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): boolean;\n\n /**\n * Sorts an array.\n * @param compareFn Function used to determine the order of the elements. It is expected to return\n * a negative value if first argument is less than second argument, zero if they\'re equal and a positive\n * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n * ```ts\n * [11,2,22,1].sort((a, b) => a - b)\n * ```\n */\n sort(compareFn?: (a: number, b: number) => number): this;\n\n /**\n * at begin, inclusive, up to end, exclusive.\n * @param begin The index of the beginning of the array.\n * @param end The index of the end of the array.\n */\n subarray(begin?: number, end?: number): Float64Array;\n\n toString(): string;\n\n [index: number]: number;\n}\n\ninterface Float64ArrayConstructor {\n readonly prototype: Float64Array;\n new(length: number): Float64Array;\n new(arrayOrArrayBuffer: ArrayLike | ArrayBufferLike): Float64Array;\n new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Float64Array;\n\n /**\n * The size in bytes of each element in the array.\n */\n readonly BYTES_PER_ELEMENT: number;\n\n /**\n * Returns a new array from a set of elements.\n * @param items A set of elements to include in the new array object.\n */\n of(...items: number[]): Float64Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n */\n from(arrayLike: ArrayLike): Float64Array;\n\n /**\n * Creates an array from an array-like or iterable object.\n * @param arrayLike An array-like or iterable object to convert to an array.\n * @param mapfn A mapping function to call on every element of the array.\n * @param thisArg Value of \'this\' used to invoke the mapfn.\n */\n from(arrayLike: ArrayLike, mapfn: (v: T, k: number) => number, thisArg?: any): Float64Array;\n\n}\ndeclare var Float64Array: Float64ArrayConstructor;\n\n/////////////////////////////\n/// ECMAScript Internationalization API\n/////////////////////////////\n\ndeclare namespace Intl {\n interface CollatorOptions {\n usage?: string;\n localeMatcher?: string;\n numeric?: boolean;\n caseFirst?: string;\n sensitivity?: string;\n ignorePunctuation?: boolean;\n }\n\n interface ResolvedCollatorOptions {\n locale: string;\n usage: string;\n sensitivity: string;\n ignorePunctuation: boolean;\n collation: string;\n caseFirst: string;\n numeric: boolean;\n }\n\n interface Collator {\n compare(x: string, y: string): number;\n resolvedOptions(): ResolvedCollatorOptions;\n }\n var Collator: {\n new(locales?: string | string[], options?: CollatorOptions): Collator;\n (locales?: string | string[], options?: CollatorOptions): Collator;\n supportedLocalesOf(locales: string | string[], options?: CollatorOptions): string[];\n };\n\n interface NumberFormatOptions {\n localeMatcher?: string;\n style?: string;\n currency?: string;\n currencyDisplay?: string;\n useGrouping?: boolean;\n minimumIntegerDigits?: number;\n minimumFractionDigits?: number;\n maximumFractionDigits?: number;\n minimumSignificantDigits?: number;\n maximumSignificantDigits?: number;\n }\n\n interface ResolvedNumberFormatOptions {\n locale: string;\n numberingSystem: string;\n style: string;\n currency?: string;\n currencyDisplay?: string;\n minimumIntegerDigits: number;\n minimumFractionDigits: number;\n maximumFractionDigits: number;\n minimumSignificantDigits?: number;\n maximumSignificantDigits?: number;\n useGrouping: boolean;\n }\n\n interface NumberFormat {\n format(value: number): string;\n resolvedOptions(): ResolvedNumberFormatOptions;\n }\n var NumberFormat: {\n new(locales?: string | string[], options?: NumberFormatOptions): NumberFormat;\n (locales?: string | string[], options?: NumberFormatOptions): NumberFormat;\n supportedLocalesOf(locales: string | string[], options?: NumberFormatOptions): string[];\n };\n\n interface DateTimeFormatOptions {\n localeMatcher?: string;\n weekday?: string;\n era?: string;\n year?: string;\n month?: string;\n day?: string;\n hour?: string;\n minute?: string;\n second?: string;\n timeZoneName?: string;\n formatMatcher?: string;\n hour12?: boolean;\n timeZone?: string;\n }\n\n interface ResolvedDateTimeFormatOptions {\n locale: string;\n calendar: string;\n numberingSystem: string;\n timeZone: string;\n hour12?: boolean;\n weekday?: string;\n era?: string;\n year?: string;\n month?: string;\n day?: string;\n hour?: string;\n minute?: string;\n second?: string;\n timeZoneName?: string;\n }\n\n interface DateTimeFormat {\n format(date?: Date | number): string;\n resolvedOptions(): ResolvedDateTimeFormatOptions;\n }\n var DateTimeFormat: {\n new(locales?: string | string[], options?: DateTimeFormatOptions): DateTimeFormat;\n (locales?: string | string[], options?: DateTimeFormatOptions): DateTimeFormat;\n supportedLocalesOf(locales: string | string[], options?: DateTimeFormatOptions): string[];\n };\n}\n\ninterface String {\n /**\n * Determines whether two strings are equivalent in the current or specified locale.\n * @param that String to compare to target string\n * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used. This parameter must conform to BCP 47 standards; see the Intl.Collator object for details.\n * @param options An object that contains one or more properties that specify comparison options. see the Intl.Collator object for details.\n */\n localeCompare(that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;\n}\n\ninterface Number {\n /**\n * Converts a number to a string by using the current or specified locale.\n * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\n * @param options An object that contains one or more properties that specify comparison options.\n */\n toLocaleString(locales?: string | string[], options?: Intl.NumberFormatOptions): string;\n}\n\ninterface Date {\n /**\n * Converts a date and time to a string by using the current or specified locale.\n * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\n * @param options An object that contains one or more properties that specify comparison options.\n */\n toLocaleString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;\n /**\n * Converts a date to a string by using the current or specified locale.\n * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\n * @param options An object that contains one or more properties that specify comparison options.\n */\n toLocaleDateString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;\n\n /**\n * Converts a time to a string by using the current or specified locale.\n * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.\n * @param options An object that contains one or more properties that specify comparison options.\n */\n toLocaleTimeString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string;\n}\n/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved. \nLicensed under the Apache License, Version 2.0 (the "License"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0 \n \nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, \nMERCHANTABLITY OR NON-INFRINGEMENT. \n \nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\n\n\n/// \n\n\n/////////////////////////////\n/// DOM APIs\n/////////////////////////////\n\ninterface Account {\n displayName: string;\n id: string;\n imageURL?: string;\n name?: string;\n rpDisplayName: string;\n}\n\ninterface AddEventListenerOptions extends EventListenerOptions {\n once?: boolean;\n passive?: boolean;\n}\n\ninterface AesCbcParams extends Algorithm {\n iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface AesCtrParams extends Algorithm {\n counter: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n length: number;\n}\n\ninterface AesDerivedKeyParams extends Algorithm {\n length: number;\n}\n\ninterface AesGcmParams extends Algorithm {\n additionalData?: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n tagLength?: number;\n}\n\ninterface AesKeyAlgorithm extends KeyAlgorithm {\n length: number;\n}\n\ninterface AesKeyGenParams extends Algorithm {\n length: number;\n}\n\ninterface Algorithm {\n name: string;\n}\n\ninterface AnalyserOptions extends AudioNodeOptions {\n fftSize?: number;\n maxDecibels?: number;\n minDecibels?: number;\n smoothingTimeConstant?: number;\n}\n\ninterface AnimationEventInit extends EventInit {\n animationName?: string;\n elapsedTime?: number;\n pseudoElement?: string;\n}\n\ninterface AnimationPlaybackEventInit extends EventInit {\n currentTime?: number | null;\n timelineTime?: number | null;\n}\n\ninterface AssertionOptions {\n allowList?: ScopedCredentialDescriptor[];\n extensions?: WebAuthnExtensions;\n rpId?: string;\n timeoutSeconds?: number;\n}\n\ninterface AssignedNodesOptions {\n flatten?: boolean;\n}\n\ninterface AudioBufferOptions {\n length: number;\n numberOfChannels?: number;\n sampleRate: number;\n}\n\ninterface AudioBufferSourceOptions {\n buffer?: AudioBuffer | null;\n detune?: number;\n loop?: boolean;\n loopEnd?: number;\n loopStart?: number;\n playbackRate?: number;\n}\n\ninterface AudioContextInfo {\n currentTime?: number;\n sampleRate?: number;\n}\n\ninterface AudioContextOptions {\n latencyHint?: AudioContextLatencyCategory | number;\n sampleRate?: number;\n}\n\ninterface AudioNodeOptions {\n channelCount?: number;\n channelCountMode?: ChannelCountMode;\n channelInterpretation?: ChannelInterpretation;\n}\n\ninterface AudioParamDescriptor {\n automationRate?: AutomationRate;\n defaultValue?: number;\n maxValue?: number;\n minValue?: number;\n name: string;\n}\n\ninterface AudioProcessingEventInit extends EventInit {\n inputBuffer: AudioBuffer;\n outputBuffer: AudioBuffer;\n playbackTime: number;\n}\n\ninterface AudioTimestamp {\n contextTime?: number;\n performanceTime?: number;\n}\n\ninterface AudioWorkletNodeOptions extends AudioNodeOptions {\n numberOfInputs?: number;\n numberOfOutputs?: number;\n outputChannelCount?: number[];\n parameterData?: Record;\n processorOptions?: any;\n}\n\ninterface AuthenticationExtensionsClientInputs {\n appid?: string;\n authnSel?: AuthenticatorSelectionList;\n exts?: boolean;\n loc?: boolean;\n txAuthGeneric?: txAuthGenericArg;\n txAuthSimple?: string;\n uvi?: boolean;\n uvm?: boolean;\n}\n\ninterface AuthenticationExtensionsClientOutputs {\n appid?: boolean;\n authnSel?: boolean;\n exts?: AuthenticationExtensionsSupported;\n loc?: Coordinates;\n txAuthGeneric?: ArrayBuffer;\n txAuthSimple?: string;\n uvi?: ArrayBuffer;\n uvm?: UvmEntries;\n}\n\ninterface AuthenticatorSelectionCriteria {\n authenticatorAttachment?: AuthenticatorAttachment;\n requireResidentKey?: boolean;\n userVerification?: UserVerificationRequirement;\n}\n\ninterface BiquadFilterOptions extends AudioNodeOptions {\n Q?: number;\n detune?: number;\n frequency?: number;\n gain?: number;\n type?: BiquadFilterType;\n}\n\ninterface BlobPropertyBag {\n endings?: EndingType;\n type?: string;\n}\n\ninterface ByteLengthChunk {\n byteLength?: number;\n}\n\ninterface CacheQueryOptions {\n ignoreMethod?: boolean;\n ignoreSearch?: boolean;\n ignoreVary?: boolean;\n}\n\ninterface CanvasRenderingContext2DSettings {\n alpha?: boolean;\n desynchronized?: boolean;\n}\n\ninterface ChannelMergerOptions extends AudioNodeOptions {\n numberOfInputs?: number;\n}\n\ninterface ChannelSplitterOptions extends AudioNodeOptions {\n numberOfOutputs?: number;\n}\n\ninterface ClientData {\n challenge: string;\n extensions?: WebAuthnExtensions;\n hashAlg: string | Algorithm;\n origin: string;\n rpId: string;\n tokenBinding?: string;\n}\n\ninterface ClientQueryOptions {\n includeUncontrolled?: boolean;\n type?: ClientTypes;\n}\n\ninterface ClipboardEventInit extends EventInit {\n clipboardData?: DataTransfer | null;\n}\n\ninterface CloseEventInit extends EventInit {\n code?: number;\n reason?: string;\n wasClean?: boolean;\n}\n\ninterface CompositionEventInit extends UIEventInit {\n data?: string;\n}\n\ninterface ComputedEffectTiming extends EffectTiming {\n activeDuration?: number;\n currentIteration?: number | null;\n endTime?: number;\n localTime?: number | null;\n progress?: number | null;\n}\n\ninterface ComputedKeyframe {\n composite: CompositeOperationOrAuto;\n computedOffset: number;\n easing: string;\n offset: number | null;\n [property: string]: string | number | null | undefined;\n}\n\ninterface ConfirmSiteSpecificExceptionsInformation extends ExceptionInformation {\n arrayOfDomainStrings?: string[];\n}\n\ninterface ConstantSourceOptions {\n offset?: number;\n}\n\ninterface ConstrainBooleanParameters {\n exact?: boolean;\n ideal?: boolean;\n}\n\ninterface ConstrainDOMStringParameters {\n exact?: string | string[];\n ideal?: string | string[];\n}\n\ninterface ConstrainDoubleRange extends DoubleRange {\n exact?: number;\n ideal?: number;\n}\n\ninterface ConstrainULongRange extends ULongRange {\n exact?: number;\n ideal?: number;\n}\n\ninterface ConstrainVideoFacingModeParameters {\n exact?: VideoFacingModeEnum | VideoFacingModeEnum[];\n ideal?: VideoFacingModeEnum | VideoFacingModeEnum[];\n}\n\ninterface ConvolverOptions extends AudioNodeOptions {\n buffer?: AudioBuffer | null;\n disableNormalization?: boolean;\n}\n\ninterface CredentialCreationOptions {\n publicKey?: PublicKeyCredentialCreationOptions;\n signal?: AbortSignal;\n}\n\ninterface CredentialRequestOptions {\n mediation?: CredentialMediationRequirement;\n publicKey?: PublicKeyCredentialRequestOptions;\n signal?: AbortSignal;\n}\n\ninterface CustomEventInit extends EventInit {\n detail?: T;\n}\n\ninterface DOMMatrix2DInit {\n a?: number;\n b?: number;\n c?: number;\n d?: number;\n e?: number;\n f?: number;\n m11?: number;\n m12?: number;\n m21?: number;\n m22?: number;\n m41?: number;\n m42?: number;\n}\n\ninterface DOMMatrixInit extends DOMMatrix2DInit {\n is2D?: boolean;\n m13?: number;\n m14?: number;\n m23?: number;\n m24?: number;\n m31?: number;\n m32?: number;\n m33?: number;\n m34?: number;\n m43?: number;\n m44?: number;\n}\n\ninterface DOMPointInit {\n w?: number;\n x?: number;\n y?: number;\n z?: number;\n}\n\ninterface DOMQuadInit {\n p1?: DOMPointInit;\n p2?: DOMPointInit;\n p3?: DOMPointInit;\n p4?: DOMPointInit;\n}\n\ninterface DOMRectInit {\n height?: number;\n width?: number;\n x?: number;\n y?: number;\n}\n\ninterface DelayOptions extends AudioNodeOptions {\n delayTime?: number;\n maxDelayTime?: number;\n}\n\ninterface DeviceLightEventInit extends EventInit {\n value?: number;\n}\n\ninterface DeviceMotionEventAccelerationInit {\n x?: number | null;\n y?: number | null;\n z?: number | null;\n}\n\ninterface DeviceMotionEventInit extends EventInit {\n acceleration?: DeviceMotionEventAccelerationInit;\n accelerationIncludingGravity?: DeviceMotionEventAccelerationInit;\n interval?: number;\n rotationRate?: DeviceMotionEventRotationRateInit;\n}\n\ninterface DeviceMotionEventRotationRateInit {\n alpha?: number | null;\n beta?: number | null;\n gamma?: number | null;\n}\n\ninterface DeviceOrientationEventInit extends EventInit {\n absolute?: boolean;\n alpha?: number | null;\n beta?: number | null;\n gamma?: number | null;\n}\n\ninterface DevicePermissionDescriptor extends PermissionDescriptor {\n deviceId?: string;\n name: "camera" | "microphone" | "speaker";\n}\n\ninterface DocumentTimelineOptions {\n originTime?: number;\n}\n\ninterface DoubleRange {\n max?: number;\n min?: number;\n}\n\ninterface DragEventInit extends MouseEventInit {\n dataTransfer?: DataTransfer | null;\n}\n\ninterface DynamicsCompressorOptions extends AudioNodeOptions {\n attack?: number;\n knee?: number;\n ratio?: number;\n release?: number;\n threshold?: number;\n}\n\ninterface EcKeyAlgorithm extends KeyAlgorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcKeyGenParams extends Algorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcKeyImportParams extends Algorithm {\n namedCurve: NamedCurve;\n}\n\ninterface EcdhKeyDeriveParams extends Algorithm {\n public: CryptoKey;\n}\n\ninterface EcdsaParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface EffectTiming {\n delay?: number;\n direction?: PlaybackDirection;\n duration?: number | string;\n easing?: string;\n endDelay?: number;\n fill?: FillMode;\n iterationStart?: number;\n iterations?: number;\n}\n\ninterface ElementCreationOptions {\n is?: string;\n}\n\ninterface ElementDefinitionOptions {\n extends?: string;\n}\n\ninterface ErrorEventInit extends EventInit {\n colno?: number;\n error?: any;\n filename?: string;\n lineno?: number;\n message?: string;\n}\n\ninterface EventInit {\n bubbles?: boolean;\n cancelable?: boolean;\n composed?: boolean;\n}\n\ninterface EventListenerOptions {\n capture?: boolean;\n}\n\ninterface EventModifierInit extends UIEventInit {\n altKey?: boolean;\n ctrlKey?: boolean;\n metaKey?: boolean;\n modifierAltGraph?: boolean;\n modifierCapsLock?: boolean;\n modifierFn?: boolean;\n modifierFnLock?: boolean;\n modifierHyper?: boolean;\n modifierNumLock?: boolean;\n modifierScrollLock?: boolean;\n modifierSuper?: boolean;\n modifierSymbol?: boolean;\n modifierSymbolLock?: boolean;\n shiftKey?: boolean;\n}\n\ninterface EventSourceInit {\n withCredentials?: boolean;\n}\n\ninterface ExceptionInformation {\n domain?: string | null;\n}\n\ninterface FilePropertyBag extends BlobPropertyBag {\n lastModified?: number;\n}\n\ninterface FocusEventInit extends UIEventInit {\n relatedTarget?: EventTarget | null;\n}\n\ninterface FocusNavigationEventInit extends EventInit {\n navigationReason?: string | null;\n originHeight?: number;\n originLeft?: number;\n originTop?: number;\n originWidth?: number;\n}\n\ninterface FocusNavigationOrigin {\n originHeight?: number;\n originLeft?: number;\n originTop?: number;\n originWidth?: number;\n}\n\ninterface FocusOptions {\n preventScroll?: boolean;\n}\n\ninterface FullscreenOptions {\n navigationUI?: FullscreenNavigationUI;\n}\n\ninterface GainOptions extends AudioNodeOptions {\n gain?: number;\n}\n\ninterface GamepadEventInit extends EventInit {\n gamepad: Gamepad;\n}\n\ninterface GetNotificationOptions {\n tag?: string;\n}\n\ninterface GetRootNodeOptions {\n composed?: boolean;\n}\n\ninterface HashChangeEventInit extends EventInit {\n newURL?: string;\n oldURL?: string;\n}\n\ninterface HkdfParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n info: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n salt: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface HmacImportParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n length?: number;\n}\n\ninterface HmacKeyAlgorithm extends KeyAlgorithm {\n hash: KeyAlgorithm;\n length: number;\n}\n\ninterface HmacKeyGenParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n length?: number;\n}\n\ninterface IDBIndexParameters {\n multiEntry?: boolean;\n unique?: boolean;\n}\n\ninterface IDBObjectStoreParameters {\n autoIncrement?: boolean;\n keyPath?: string | string[] | null;\n}\n\ninterface IDBVersionChangeEventInit extends EventInit {\n newVersion?: number | null;\n oldVersion?: number;\n}\n\ninterface IIRFilterOptions extends AudioNodeOptions {\n feedback: number[];\n feedforward: number[];\n}\n\ninterface ImageBitmapRenderingContextSettings {\n alpha?: boolean;\n}\n\ninterface ImageEncodeOptions {\n quality?: number;\n type?: string;\n}\n\ninterface InputEventInit extends UIEventInit {\n data?: string | null;\n inputType?: string;\n isComposing?: boolean;\n}\n\ninterface IntersectionObserverEntryInit {\n boundingClientRect: DOMRectInit;\n intersectionRatio: number;\n intersectionRect: DOMRectInit;\n isIntersecting: boolean;\n rootBounds: DOMRectInit | null;\n target: Element;\n time: number;\n}\n\ninterface IntersectionObserverInit {\n root?: Element | null;\n rootMargin?: string;\n threshold?: number | number[];\n}\n\ninterface JsonWebKey {\n alg?: string;\n crv?: string;\n d?: string;\n dp?: string;\n dq?: string;\n e?: string;\n ext?: boolean;\n k?: string;\n key_ops?: string[];\n kty?: string;\n n?: string;\n oth?: RsaOtherPrimesInfo[];\n p?: string;\n q?: string;\n qi?: string;\n use?: string;\n x?: string;\n y?: string;\n}\n\ninterface KeyAlgorithm {\n name: string;\n}\n\ninterface KeyboardEventInit extends EventModifierInit {\n code?: string;\n isComposing?: boolean;\n key?: string;\n location?: number;\n repeat?: boolean;\n}\n\ninterface Keyframe {\n composite?: CompositeOperationOrAuto;\n easing?: string;\n offset?: number | null;\n [property: string]: string | number | null | undefined;\n}\n\ninterface KeyframeAnimationOptions extends KeyframeEffectOptions {\n id?: string;\n}\n\ninterface KeyframeEffectOptions extends EffectTiming {\n composite?: CompositeOperation;\n iterationComposite?: IterationCompositeOperation;\n}\n\ninterface MediaElementAudioSourceOptions {\n mediaElement: HTMLMediaElement;\n}\n\ninterface MediaEncryptedEventInit extends EventInit {\n initData?: ArrayBuffer | null;\n initDataType?: string;\n}\n\ninterface MediaKeyMessageEventInit extends EventInit {\n message: ArrayBuffer;\n messageType: MediaKeyMessageType;\n}\n\ninterface MediaKeySystemConfiguration {\n audioCapabilities?: MediaKeySystemMediaCapability[];\n distinctiveIdentifier?: MediaKeysRequirement;\n initDataTypes?: string[];\n label?: string;\n persistentState?: MediaKeysRequirement;\n sessionTypes?: string[];\n videoCapabilities?: MediaKeySystemMediaCapability[];\n}\n\ninterface MediaKeySystemMediaCapability {\n contentType?: string;\n robustness?: string;\n}\n\ninterface MediaQueryListEventInit extends EventInit {\n matches?: boolean;\n media?: string;\n}\n\ninterface MediaStreamAudioSourceOptions {\n mediaStream: MediaStream;\n}\n\ninterface MediaStreamConstraints {\n audio?: boolean | MediaTrackConstraints;\n peerIdentity?: string;\n video?: boolean | MediaTrackConstraints;\n}\n\ninterface MediaStreamErrorEventInit extends EventInit {\n error?: MediaStreamError | null;\n}\n\ninterface MediaStreamEventInit extends EventInit {\n stream?: MediaStream;\n}\n\ninterface MediaStreamTrackAudioSourceOptions {\n mediaStreamTrack: MediaStreamTrack;\n}\n\ninterface MediaStreamTrackEventInit extends EventInit {\n track: MediaStreamTrack;\n}\n\ninterface MediaTrackCapabilities {\n aspectRatio?: DoubleRange;\n autoGainControl?: boolean[];\n channelCount?: ULongRange;\n deviceId?: string;\n echoCancellation?: boolean[];\n facingMode?: string[];\n frameRate?: DoubleRange;\n groupId?: string;\n height?: ULongRange;\n latency?: DoubleRange;\n noiseSuppression?: boolean[];\n resizeMode?: string[];\n sampleRate?: ULongRange;\n sampleSize?: ULongRange;\n width?: ULongRange;\n}\n\ninterface MediaTrackConstraintSet {\n aspectRatio?: ConstrainDouble;\n autoGainControl?: ConstrainBoolean;\n channelCount?: ConstrainULong;\n deviceId?: ConstrainDOMString;\n echoCancellation?: ConstrainBoolean;\n facingMode?: ConstrainDOMString;\n frameRate?: ConstrainDouble;\n groupId?: ConstrainDOMString;\n height?: ConstrainULong;\n latency?: ConstrainDouble;\n noiseSuppression?: ConstrainBoolean;\n resizeMode?: ConstrainDOMString;\n sampleRate?: ConstrainULong;\n sampleSize?: ConstrainULong;\n width?: ConstrainULong;\n}\n\ninterface MediaTrackConstraints extends MediaTrackConstraintSet {\n advanced?: MediaTrackConstraintSet[];\n}\n\ninterface MediaTrackSettings {\n aspectRatio?: number;\n autoGainControl?: boolean;\n channelCount?: number;\n deviceId?: string;\n echoCancellation?: boolean;\n facingMode?: string;\n frameRate?: number;\n groupId?: string;\n height?: number;\n latency?: number;\n noiseSuppression?: boolean;\n resizeMode?: string;\n sampleRate?: number;\n sampleSize?: number;\n width?: number;\n}\n\ninterface MediaTrackSupportedConstraints {\n aspectRatio?: boolean;\n autoGainControl?: boolean;\n channelCount?: boolean;\n deviceId?: boolean;\n echoCancellation?: boolean;\n facingMode?: boolean;\n frameRate?: boolean;\n groupId?: boolean;\n height?: boolean;\n latency?: boolean;\n noiseSuppression?: boolean;\n resizeMode?: boolean;\n sampleRate?: boolean;\n sampleSize?: boolean;\n width?: boolean;\n}\n\ninterface MessageEventInit extends EventInit {\n data?: any;\n lastEventId?: string;\n origin?: string;\n ports?: MessagePort[];\n source?: MessageEventSource | null;\n}\n\ninterface MidiPermissionDescriptor extends PermissionDescriptor {\n name: "midi";\n sysex?: boolean;\n}\n\ninterface MouseEventInit extends EventModifierInit {\n button?: number;\n buttons?: number;\n clientX?: number;\n clientY?: number;\n movementX?: number;\n movementY?: number;\n relatedTarget?: EventTarget | null;\n screenX?: number;\n screenY?: number;\n}\n\ninterface MultiCacheQueryOptions extends CacheQueryOptions {\n cacheName?: string;\n}\n\ninterface MutationObserverInit {\n /**\n * Set to a list of attribute local names (without namespace) if not all attribute mutations need to be observed and attributes is true or omitted.\n */\n attributeFilter?: string[];\n /**\n * Set to true if attributes is true or omitted and target\'s attribute value before the mutation needs to be recorded.\n */\n attributeOldValue?: boolean;\n /**\n * Set to true if mutations to target\'s attributes are to be observed. Can be omitted if attributeOldValue or attributeFilter is specified.\n */\n attributes?: boolean;\n /**\n * Set to true if mutations to target\'s data are to be observed. Can be omitted if characterDataOldValue is specified.\n */\n characterData?: boolean;\n /**\n * Set to true if characterData is set to true or omitted and target\'s data before the mutation needs to be recorded.\n */\n characterDataOldValue?: boolean;\n /**\n * Set to true if mutations to target\'s children are to be observed.\n */\n childList?: boolean;\n /**\n * Set to true if mutations to not just target, but also target\'s descendants are to be observed.\n */\n subtree?: boolean;\n}\n\ninterface NavigationPreloadState {\n enabled?: boolean;\n headerValue?: string;\n}\n\ninterface NotificationAction {\n action: string;\n icon?: string;\n title: string;\n}\n\ninterface NotificationOptions {\n actions?: NotificationAction[];\n badge?: string;\n body?: string;\n data?: any;\n dir?: NotificationDirection;\n icon?: string;\n image?: string;\n lang?: string;\n renotify?: boolean;\n requireInteraction?: boolean;\n silent?: boolean;\n tag?: string;\n timestamp?: number;\n vibrate?: VibratePattern;\n}\n\ninterface OfflineAudioCompletionEventInit extends EventInit {\n renderedBuffer: AudioBuffer;\n}\n\ninterface OfflineAudioContextOptions {\n length: number;\n numberOfChannels?: number;\n sampleRate: number;\n}\n\ninterface OptionalEffectTiming {\n delay?: number;\n direction?: PlaybackDirection;\n duration?: number | string;\n easing?: string;\n endDelay?: number;\n fill?: FillMode;\n iterationStart?: number;\n iterations?: number;\n}\n\ninterface OscillatorOptions extends AudioNodeOptions {\n detune?: number;\n frequency?: number;\n periodicWave?: PeriodicWave;\n type?: OscillatorType;\n}\n\ninterface PannerOptions extends AudioNodeOptions {\n coneInnerAngle?: number;\n coneOuterAngle?: number;\n coneOuterGain?: number;\n distanceModel?: DistanceModelType;\n maxDistance?: number;\n orientationX?: number;\n orientationY?: number;\n orientationZ?: number;\n panningModel?: PanningModelType;\n positionX?: number;\n positionY?: number;\n positionZ?: number;\n refDistance?: number;\n rolloffFactor?: number;\n}\n\ninterface PaymentCurrencyAmount {\n currency: string;\n currencySystem?: string;\n value: string;\n}\n\ninterface PaymentDetailsBase {\n displayItems?: PaymentItem[];\n modifiers?: PaymentDetailsModifier[];\n shippingOptions?: PaymentShippingOption[];\n}\n\ninterface PaymentDetailsInit extends PaymentDetailsBase {\n id?: string;\n total: PaymentItem;\n}\n\ninterface PaymentDetailsModifier {\n additionalDisplayItems?: PaymentItem[];\n data?: any;\n supportedMethods: string | string[];\n total?: PaymentItem;\n}\n\ninterface PaymentDetailsUpdate extends PaymentDetailsBase {\n error?: string;\n total?: PaymentItem;\n}\n\ninterface PaymentItem {\n amount: PaymentCurrencyAmount;\n label: string;\n pending?: boolean;\n}\n\ninterface PaymentMethodData {\n data?: any;\n supportedMethods: string | string[];\n}\n\ninterface PaymentOptions {\n requestPayerEmail?: boolean;\n requestPayerName?: boolean;\n requestPayerPhone?: boolean;\n requestShipping?: boolean;\n shippingType?: string;\n}\n\ninterface PaymentRequestUpdateEventInit extends EventInit {\n}\n\ninterface PaymentShippingOption {\n amount: PaymentCurrencyAmount;\n id: string;\n label: string;\n selected?: boolean;\n}\n\ninterface Pbkdf2Params extends Algorithm {\n hash: HashAlgorithmIdentifier;\n iterations: number;\n salt: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface PerformanceObserverInit {\n buffered?: boolean;\n entryTypes?: string[];\n type?: string;\n}\n\ninterface PeriodicWaveConstraints {\n disableNormalization?: boolean;\n}\n\ninterface PeriodicWaveOptions extends PeriodicWaveConstraints {\n imag?: number[] | Float32Array;\n real?: number[] | Float32Array;\n}\n\ninterface PermissionDescriptor {\n name: PermissionName;\n}\n\ninterface PipeOptions {\n preventAbort?: boolean;\n preventCancel?: boolean;\n preventClose?: boolean;\n signal?: AbortSignal;\n}\n\ninterface PointerEventInit extends MouseEventInit {\n height?: number;\n isPrimary?: boolean;\n pointerId?: number;\n pointerType?: string;\n pressure?: number;\n tangentialPressure?: number;\n tiltX?: number;\n tiltY?: number;\n twist?: number;\n width?: number;\n}\n\ninterface PopStateEventInit extends EventInit {\n state?: any;\n}\n\ninterface PositionOptions {\n enableHighAccuracy?: boolean;\n maximumAge?: number;\n timeout?: number;\n}\n\ninterface PostMessageOptions {\n transfer?: any[];\n}\n\ninterface ProgressEventInit extends EventInit {\n lengthComputable?: boolean;\n loaded?: number;\n total?: number;\n}\n\ninterface PromiseRejectionEventInit extends EventInit {\n promise: Promise;\n reason?: any;\n}\n\ninterface PropertyIndexedKeyframes {\n composite?: CompositeOperationOrAuto | CompositeOperationOrAuto[];\n easing?: string | string[];\n offset?: number | (number | null)[];\n [property: string]: string | string[] | number | null | (number | null)[] | undefined;\n}\n\ninterface PublicKeyCredentialCreationOptions {\n attestation?: AttestationConveyancePreference;\n authenticatorSelection?: AuthenticatorSelectionCriteria;\n challenge: BufferSource;\n excludeCredentials?: PublicKeyCredentialDescriptor[];\n extensions?: AuthenticationExtensionsClientInputs;\n pubKeyCredParams: PublicKeyCredentialParameters[];\n rp: PublicKeyCredentialRpEntity;\n timeout?: number;\n user: PublicKeyCredentialUserEntity;\n}\n\ninterface PublicKeyCredentialDescriptor {\n id: BufferSource;\n transports?: AuthenticatorTransport[];\n type: PublicKeyCredentialType;\n}\n\ninterface PublicKeyCredentialEntity {\n icon?: string;\n name: string;\n}\n\ninterface PublicKeyCredentialParameters {\n alg: COSEAlgorithmIdentifier;\n type: PublicKeyCredentialType;\n}\n\ninterface PublicKeyCredentialRequestOptions {\n allowCredentials?: PublicKeyCredentialDescriptor[];\n challenge: BufferSource;\n extensions?: AuthenticationExtensionsClientInputs;\n rpId?: string;\n timeout?: number;\n userVerification?: UserVerificationRequirement;\n}\n\ninterface PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity {\n id?: string;\n}\n\ninterface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity {\n displayName: string;\n id: BufferSource;\n}\n\ninterface PushPermissionDescriptor extends PermissionDescriptor {\n name: "push";\n userVisibleOnly?: boolean;\n}\n\ninterface PushSubscriptionJSON {\n endpoint?: string;\n expirationTime?: number | null;\n keys?: Record;\n}\n\ninterface PushSubscriptionOptionsInit {\n applicationServerKey?: BufferSource | string | null;\n userVisibleOnly?: boolean;\n}\n\ninterface QueuingStrategy {\n highWaterMark?: number;\n size?: QueuingStrategySizeCallback;\n}\n\ninterface RTCAnswerOptions extends RTCOfferAnswerOptions {\n}\n\ninterface RTCCertificateExpiration {\n expires?: number;\n}\n\ninterface RTCConfiguration {\n bundlePolicy?: RTCBundlePolicy;\n certificates?: RTCCertificate[];\n iceCandidatePoolSize?: number;\n iceServers?: RTCIceServer[];\n iceTransportPolicy?: RTCIceTransportPolicy;\n peerIdentity?: string;\n rtcpMuxPolicy?: RTCRtcpMuxPolicy;\n}\n\ninterface RTCDTMFToneChangeEventInit extends EventInit {\n tone: string;\n}\n\ninterface RTCDataChannelEventInit extends EventInit {\n channel: RTCDataChannel;\n}\n\ninterface RTCDataChannelInit {\n id?: number;\n maxPacketLifeTime?: number;\n maxRetransmits?: number;\n negotiated?: boolean;\n ordered?: boolean;\n priority?: RTCPriorityType;\n protocol?: string;\n}\n\ninterface RTCDtlsFingerprint {\n algorithm?: string;\n value?: string;\n}\n\ninterface RTCDtlsParameters {\n fingerprints?: RTCDtlsFingerprint[];\n role?: RTCDtlsRole;\n}\n\ninterface RTCErrorEventInit extends EventInit {\n error?: RTCError | null;\n}\n\ninterface RTCIceCandidateAttributes extends RTCStats {\n addressSourceUrl?: string;\n candidateType?: RTCStatsIceCandidateType;\n ipAddress?: string;\n portNumber?: number;\n priority?: number;\n transport?: string;\n}\n\ninterface RTCIceCandidateComplete {\n}\n\ninterface RTCIceCandidateDictionary {\n foundation?: string;\n ip?: string;\n msMTurnSessionId?: string;\n port?: number;\n priority?: number;\n protocol?: RTCIceProtocol;\n relatedAddress?: string;\n relatedPort?: number;\n tcpType?: RTCIceTcpCandidateType;\n type?: RTCIceCandidateType;\n}\n\ninterface RTCIceCandidateInit {\n candidate?: string;\n sdpMLineIndex?: number | null;\n sdpMid?: string | null;\n usernameFragment?: string;\n}\n\ninterface RTCIceCandidatePair {\n local?: RTCIceCandidate;\n remote?: RTCIceCandidate;\n}\n\ninterface RTCIceCandidatePairStats extends RTCStats {\n availableIncomingBitrate?: number;\n availableOutgoingBitrate?: number;\n bytesReceived?: number;\n bytesSent?: number;\n localCandidateId?: string;\n nominated?: boolean;\n priority?: number;\n readable?: boolean;\n remoteCandidateId?: string;\n roundTripTime?: number;\n state?: RTCStatsIceCandidatePairState;\n transportId?: string;\n writable?: boolean;\n}\n\ninterface RTCIceGatherOptions {\n gatherPolicy?: RTCIceGatherPolicy;\n iceservers?: RTCIceServer[];\n}\n\ninterface RTCIceParameters {\n password?: string;\n usernameFragment?: string;\n}\n\ninterface RTCIceServer {\n credential?: string | RTCOAuthCredential;\n credentialType?: RTCIceCredentialType;\n urls: string | string[];\n username?: string;\n}\n\ninterface RTCIdentityProviderOptions {\n peerIdentity?: string;\n protocol?: string;\n usernameHint?: string;\n}\n\ninterface RTCInboundRTPStreamStats extends RTCRTPStreamStats {\n bytesReceived?: number;\n fractionLost?: number;\n jitter?: number;\n packetsLost?: number;\n packetsReceived?: number;\n}\n\ninterface RTCMediaStreamTrackStats extends RTCStats {\n audioLevel?: number;\n echoReturnLoss?: number;\n echoReturnLossEnhancement?: number;\n frameHeight?: number;\n frameWidth?: number;\n framesCorrupted?: number;\n framesDecoded?: number;\n framesDropped?: number;\n framesPerSecond?: number;\n framesReceived?: number;\n framesSent?: number;\n remoteSource?: boolean;\n ssrcIds?: string[];\n trackIdentifier?: string;\n}\n\ninterface RTCOAuthCredential {\n accessToken: string;\n macKey: string;\n}\n\ninterface RTCOfferAnswerOptions {\n voiceActivityDetection?: boolean;\n}\n\ninterface RTCOfferOptions extends RTCOfferAnswerOptions {\n iceRestart?: boolean;\n offerToReceiveAudio?: boolean;\n offerToReceiveVideo?: boolean;\n}\n\ninterface RTCOutboundRTPStreamStats extends RTCRTPStreamStats {\n bytesSent?: number;\n packetsSent?: number;\n roundTripTime?: number;\n targetBitrate?: number;\n}\n\ninterface RTCPeerConnectionIceErrorEventInit extends EventInit {\n errorCode: number;\n hostCandidate?: string;\n statusText?: string;\n url?: string;\n}\n\ninterface RTCPeerConnectionIceEventInit extends EventInit {\n candidate?: RTCIceCandidate | null;\n url?: string | null;\n}\n\ninterface RTCRTPStreamStats extends RTCStats {\n associateStatsId?: string;\n codecId?: string;\n firCount?: number;\n isRemote?: boolean;\n mediaTrackId?: string;\n mediaType?: string;\n nackCount?: number;\n pliCount?: number;\n sliCount?: number;\n ssrc?: string;\n transportId?: string;\n}\n\ninterface RTCRtcpFeedback {\n parameter?: string;\n type?: string;\n}\n\ninterface RTCRtcpParameters {\n cname?: string;\n reducedSize?: boolean;\n}\n\ninterface RTCRtpCapabilities {\n codecs: RTCRtpCodecCapability[];\n headerExtensions: RTCRtpHeaderExtensionCapability[];\n}\n\ninterface RTCRtpCodecCapability {\n channels?: number;\n clockRate: number;\n mimeType: string;\n sdpFmtpLine?: string;\n}\n\ninterface RTCRtpCodecParameters {\n channels?: number;\n clockRate: number;\n mimeType: string;\n payloadType: number;\n sdpFmtpLine?: string;\n}\n\ninterface RTCRtpCodingParameters {\n rid?: string;\n}\n\ninterface RTCRtpContributingSource {\n audioLevel?: number;\n source: number;\n timestamp: number;\n}\n\ninterface RTCRtpDecodingParameters extends RTCRtpCodingParameters {\n}\n\ninterface RTCRtpEncodingParameters extends RTCRtpCodingParameters {\n active?: boolean;\n codecPayloadType?: number;\n dtx?: RTCDtxStatus;\n maxBitrate?: number;\n maxFramerate?: number;\n priority?: RTCPriorityType;\n ptime?: number;\n scaleResolutionDownBy?: number;\n}\n\ninterface RTCRtpFecParameters {\n mechanism?: string;\n ssrc?: number;\n}\n\ninterface RTCRtpHeaderExtension {\n kind?: string;\n preferredEncrypt?: boolean;\n preferredId?: number;\n uri?: string;\n}\n\ninterface RTCRtpHeaderExtensionCapability {\n uri?: string;\n}\n\ninterface RTCRtpHeaderExtensionParameters {\n encrypted?: boolean;\n id: number;\n uri: string;\n}\n\ninterface RTCRtpParameters {\n codecs: RTCRtpCodecParameters[];\n headerExtensions: RTCRtpHeaderExtensionParameters[];\n rtcp: RTCRtcpParameters;\n}\n\ninterface RTCRtpReceiveParameters extends RTCRtpParameters {\n encodings: RTCRtpDecodingParameters[];\n}\n\ninterface RTCRtpRtxParameters {\n ssrc?: number;\n}\n\ninterface RTCRtpSendParameters extends RTCRtpParameters {\n degradationPreference?: RTCDegradationPreference;\n encodings: RTCRtpEncodingParameters[];\n transactionId: string;\n}\n\ninterface RTCRtpSynchronizationSource extends RTCRtpContributingSource {\n voiceActivityFlag?: boolean;\n}\n\ninterface RTCRtpTransceiverInit {\n direction?: RTCRtpTransceiverDirection;\n sendEncodings?: RTCRtpEncodingParameters[];\n streams?: MediaStream[];\n}\n\ninterface RTCRtpUnhandled {\n muxId?: string;\n payloadType?: number;\n ssrc?: number;\n}\n\ninterface RTCSessionDescriptionInit {\n sdp?: string;\n type: RTCSdpType;\n}\n\ninterface RTCSrtpKeyParam {\n keyMethod?: string;\n keySalt?: string;\n lifetime?: string;\n mkiLength?: number;\n mkiValue?: number;\n}\n\ninterface RTCSrtpSdesParameters {\n cryptoSuite?: string;\n keyParams?: RTCSrtpKeyParam[];\n sessionParams?: string[];\n tag?: number;\n}\n\ninterface RTCSsrcRange {\n max?: number;\n min?: number;\n}\n\ninterface RTCStats {\n id: string;\n timestamp: number;\n type: RTCStatsType;\n}\n\ninterface RTCStatsEventInit extends EventInit {\n report: RTCStatsReport;\n}\n\ninterface RTCStatsReport {\n}\n\ninterface RTCTrackEventInit extends EventInit {\n receiver: RTCRtpReceiver;\n streams?: MediaStream[];\n track: MediaStreamTrack;\n transceiver: RTCRtpTransceiver;\n}\n\ninterface RTCTransportStats extends RTCStats {\n activeConnection?: boolean;\n bytesReceived?: number;\n bytesSent?: number;\n localCertificateId?: string;\n remoteCertificateId?: string;\n rtcpTransportStatsId?: string;\n selectedCandidatePairId?: string;\n}\n\ninterface RegistrationOptions {\n scope?: string;\n type?: WorkerType;\n updateViaCache?: ServiceWorkerUpdateViaCache;\n}\n\ninterface RequestInit {\n /**\n * A BodyInit object or null to set request\'s body.\n */\n body?: BodyInit | null;\n /**\n * A string indicating how the request will interact with the browser\'s cache to set request\'s cache.\n */\n cache?: RequestCache;\n /**\n * A string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. Sets request\'s credentials.\n */\n credentials?: RequestCredentials;\n /**\n * A Headers object, an object literal, or an array of two-item arrays to set request\'s headers.\n */\n headers?: HeadersInit;\n /**\n * A cryptographic hash of the resource to be fetched by request. Sets request\'s integrity.\n */\n integrity?: string;\n /**\n * A boolean to set request\'s keepalive.\n */\n keepalive?: boolean;\n /**\n * A string to set request\'s method.\n */\n method?: string;\n /**\n * A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request\'s mode.\n */\n mode?: RequestMode;\n /**\n * A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request\'s redirect.\n */\n redirect?: RequestRedirect;\n /**\n * A string whose value is a same-origin URL, "about:client", or the empty string, to set request\'s referrer.\n */\n referrer?: string;\n /**\n * A referrer policy to set request\'s referrerPolicy.\n */\n referrerPolicy?: ReferrerPolicy;\n /**\n * An AbortSignal to set request\'s signal.\n */\n signal?: AbortSignal | null;\n /**\n * Can only be null. Used to disassociate request from any Window.\n */\n window?: any;\n}\n\ninterface ResponseInit {\n headers?: HeadersInit;\n status?: number;\n statusText?: string;\n}\n\ninterface RsaHashedImportParams extends Algorithm {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface RsaHashedKeyAlgorithm extends RsaKeyAlgorithm {\n hash: KeyAlgorithm;\n}\n\ninterface RsaHashedKeyGenParams extends RsaKeyGenParams {\n hash: HashAlgorithmIdentifier;\n}\n\ninterface RsaKeyAlgorithm extends KeyAlgorithm {\n modulusLength: number;\n publicExponent: BigInteger;\n}\n\ninterface RsaKeyGenParams extends Algorithm {\n modulusLength: number;\n publicExponent: BigInteger;\n}\n\ninterface RsaOaepParams extends Algorithm {\n label?: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface RsaOtherPrimesInfo {\n d?: string;\n r?: string;\n t?: string;\n}\n\ninterface RsaPssParams extends Algorithm {\n saltLength: number;\n}\n\ninterface SVGBoundingBoxOptions {\n clipped?: boolean;\n fill?: boolean;\n markers?: boolean;\n stroke?: boolean;\n}\n\ninterface ScopedCredentialDescriptor {\n id: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer | null;\n transports?: Transport[];\n type: ScopedCredentialType;\n}\n\ninterface ScopedCredentialOptions {\n excludeList?: ScopedCredentialDescriptor[];\n extensions?: WebAuthnExtensions;\n rpId?: string;\n timeoutSeconds?: number;\n}\n\ninterface ScopedCredentialParameters {\n algorithm: string | Algorithm;\n type: ScopedCredentialType;\n}\n\ninterface ScrollIntoViewOptions extends ScrollOptions {\n block?: ScrollLogicalPosition;\n inline?: ScrollLogicalPosition;\n}\n\ninterface ScrollOptions {\n behavior?: ScrollBehavior;\n}\n\ninterface ScrollToOptions extends ScrollOptions {\n left?: number;\n top?: number;\n}\n\ninterface SecurityPolicyViolationEventInit extends EventInit {\n blockedURI?: string;\n columnNumber?: number;\n documentURI?: string;\n effectiveDirective?: string;\n lineNumber?: number;\n originalPolicy?: string;\n referrer?: string;\n sourceFile?: string;\n statusCode?: number;\n violatedDirective?: string;\n}\n\ninterface ServiceWorkerMessageEventInit extends EventInit {\n data?: any;\n lastEventId?: string;\n origin?: string;\n ports?: MessagePort[] | null;\n source?: ServiceWorker | MessagePort | null;\n}\n\ninterface ShadowRootInit {\n delegatesFocus?: boolean;\n mode: ShadowRootMode;\n}\n\ninterface StereoPannerOptions extends AudioNodeOptions {\n pan?: number;\n}\n\ninterface StorageEstimate {\n quota?: number;\n usage?: number;\n}\n\ninterface StorageEventInit extends EventInit {\n key?: string | null;\n newValue?: string | null;\n oldValue?: string | null;\n storageArea?: Storage | null;\n url?: string;\n}\n\ninterface StoreExceptionsInformation extends ExceptionInformation {\n detailURI?: string | null;\n explanationString?: string | null;\n siteName?: string | null;\n}\n\ninterface StoreSiteSpecificExceptionsInformation extends StoreExceptionsInformation {\n arrayOfDomainStrings?: string[];\n}\n\ninterface TextDecodeOptions {\n stream?: boolean;\n}\n\ninterface TextDecoderOptions {\n fatal?: boolean;\n ignoreBOM?: boolean;\n}\n\ninterface TextEncoderEncodeIntoResult {\n read?: number;\n written?: number;\n}\n\ninterface TouchEventInit extends EventModifierInit {\n changedTouches?: Touch[];\n targetTouches?: Touch[];\n touches?: Touch[];\n}\n\ninterface TouchInit {\n altitudeAngle?: number;\n azimuthAngle?: number;\n clientX?: number;\n clientY?: number;\n force?: number;\n identifier: number;\n pageX?: number;\n pageY?: number;\n radiusX?: number;\n radiusY?: number;\n rotationAngle?: number;\n screenX?: number;\n screenY?: number;\n target: EventTarget;\n touchType?: TouchType;\n}\n\ninterface TrackEventInit extends EventInit {\n track?: VideoTrack | AudioTrack | TextTrack | null;\n}\n\ninterface Transformer {\n flush?: TransformStreamDefaultControllerCallback;\n readableType?: undefined;\n start?: TransformStreamDefaultControllerCallback;\n transform?: TransformStreamDefaultControllerTransformCallback;\n writableType?: undefined;\n}\n\ninterface TransitionEventInit extends EventInit {\n elapsedTime?: number;\n propertyName?: string;\n pseudoElement?: string;\n}\n\ninterface UIEventInit extends EventInit {\n detail?: number;\n view?: Window | null;\n}\n\ninterface ULongRange {\n max?: number;\n min?: number;\n}\n\ninterface UnderlyingByteSource {\n autoAllocateChunkSize?: number;\n cancel?: ReadableStreamErrorCallback;\n pull?: ReadableByteStreamControllerCallback;\n start?: ReadableByteStreamControllerCallback;\n type: "bytes";\n}\n\ninterface UnderlyingSink {\n abort?: WritableStreamErrorCallback;\n close?: WritableStreamDefaultControllerCloseCallback;\n start?: WritableStreamDefaultControllerStartCallback;\n type?: undefined;\n write?: WritableStreamDefaultControllerWriteCallback;\n}\n\ninterface UnderlyingSource {\n cancel?: ReadableStreamErrorCallback;\n pull?: ReadableStreamDefaultControllerCallback;\n start?: ReadableStreamDefaultControllerCallback;\n type?: undefined;\n}\n\ninterface VRDisplayEventInit extends EventInit {\n display: VRDisplay;\n reason?: VRDisplayEventReason;\n}\n\ninterface VRLayer {\n leftBounds?: number[] | Float32Array | null;\n rightBounds?: number[] | Float32Array | null;\n source?: HTMLCanvasElement | null;\n}\n\ninterface VRStageParameters {\n sittingToStandingTransform?: Float32Array;\n sizeX?: number;\n sizeY?: number;\n}\n\ninterface WaveShaperOptions extends AudioNodeOptions {\n curve?: number[] | Float32Array;\n oversample?: OverSampleType;\n}\n\ninterface WebAuthnExtensions {\n}\n\ninterface WebGLContextAttributes {\n alpha?: boolean;\n antialias?: boolean;\n depth?: boolean;\n desynchronized?: boolean;\n failIfMajorPerformanceCaveat?: boolean;\n powerPreference?: WebGLPowerPreference;\n premultipliedAlpha?: boolean;\n preserveDrawingBuffer?: boolean;\n stencil?: boolean;\n}\n\ninterface WebGLContextEventInit extends EventInit {\n statusMessage?: string;\n}\n\ninterface WheelEventInit extends MouseEventInit {\n deltaMode?: number;\n deltaX?: number;\n deltaY?: number;\n deltaZ?: number;\n}\n\ninterface WorkerOptions {\n credentials?: RequestCredentials;\n name?: string;\n type?: WorkerType;\n}\n\ninterface WorkletOptions {\n credentials?: RequestCredentials;\n}\n\ninterface txAuthGenericArg {\n content: ArrayBuffer;\n contentType: string;\n}\n\ninterface EventListener {\n (evt: Event): void;\n}\n\ntype XPathNSResolver = ((prefix: string | null) => string | null) | { lookupNamespaceURI(prefix: string | null): string | null; };\n\n/** The ANGLE_instanced_arrays extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type. */\ninterface ANGLE_instanced_arrays {\n drawArraysInstancedANGLE(mode: GLenum, first: GLint, count: GLsizei, primcount: GLsizei): void;\n drawElementsInstancedANGLE(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, primcount: GLsizei): void;\n vertexAttribDivisorANGLE(index: GLuint, divisor: GLuint): void;\n readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: GLenum;\n}\n\n/** A controller object that allows you to abort one or more DOM requests as and when desired. */\ninterface AbortController {\n /**\n * Returns the AbortSignal object associated with this object.\n */\n readonly signal: AbortSignal;\n /**\n * Invoking this method will set this object\'s AbortSignal\'s aborted flag and signal to any observers that the associated activity is to be aborted.\n */\n abort(): void;\n}\n\ndeclare var AbortController: {\n prototype: AbortController;\n new(): AbortController;\n};\n\ninterface AbortSignalEventMap {\n "abort": Event;\n}\n\n/** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */\ninterface AbortSignal extends EventTarget {\n /**\n * Returns true if this AbortSignal\'s AbortController has signaled to abort, and false otherwise.\n */\n readonly aborted: boolean;\n onabort: ((this: AbortSignal, ev: Event) => any) | null;\n addEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AbortSignal: {\n prototype: AbortSignal;\n new(): AbortSignal;\n};\n\ninterface AbstractRange {\n /**\n * Returns true if range is collapsed, and false otherwise.\n */\n readonly collapsed: boolean;\n /**\n * Returns range\'s end node.\n */\n readonly endContainer: Node;\n /**\n * Returns range\'s end offset.\n */\n readonly endOffset: number;\n /**\n * Returns range\'s start node.\n */\n readonly startContainer: Node;\n /**\n * Returns range\'s start offset.\n */\n readonly startOffset: number;\n}\n\ndeclare var AbstractRange: {\n prototype: AbstractRange;\n new(): AbstractRange;\n};\n\ninterface AbstractWorkerEventMap {\n "error": ErrorEvent;\n}\n\ninterface AbstractWorker {\n onerror: ((this: AbstractWorker, ev: ErrorEvent) => any) | null;\n addEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ninterface AesCfbParams extends Algorithm {\n iv: Int8Array | Int16Array | Int32Array | Uint8Array | Uint16Array | Uint32Array | Uint8ClampedArray | Float32Array | Float64Array | DataView | ArrayBuffer;\n}\n\ninterface AesCmacParams extends Algorithm {\n length: number;\n}\n\n/** A node able to provide real-time frequency and time-domain analysis information. It is an AudioNode that passes the audio stream unchanged from the input to the output, but allows you to take the generated data, process it, and create audio visualizations. */\ninterface AnalyserNode extends AudioNode {\n fftSize: number;\n readonly frequencyBinCount: number;\n maxDecibels: number;\n minDecibels: number;\n smoothingTimeConstant: number;\n getByteFrequencyData(array: Uint8Array): void;\n getByteTimeDomainData(array: Uint8Array): void;\n getFloatFrequencyData(array: Float32Array): void;\n getFloatTimeDomainData(array: Float32Array): void;\n}\n\ndeclare var AnalyserNode: {\n prototype: AnalyserNode;\n new(context: BaseAudioContext, options?: AnalyserOptions): AnalyserNode;\n};\n\ninterface Animatable {\n animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;\n getAnimations(): Animation[];\n}\n\ninterface AnimationEventMap {\n "cancel": AnimationPlaybackEvent;\n "finish": AnimationPlaybackEvent;\n}\n\ninterface Animation extends EventTarget {\n currentTime: number | null;\n effect: AnimationEffect | null;\n readonly finished: Promise;\n id: string;\n oncancel: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null;\n onfinish: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null;\n readonly pending: boolean;\n readonly playState: AnimationPlayState;\n playbackRate: number;\n readonly ready: Promise;\n startTime: number | null;\n timeline: AnimationTimeline | null;\n cancel(): void;\n finish(): void;\n pause(): void;\n play(): void;\n reverse(): void;\n updatePlaybackRate(playbackRate: number): void;\n addEventListener(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var Animation: {\n prototype: Animation;\n new(effect?: AnimationEffect | null, timeline?: AnimationTimeline | null): Animation;\n};\n\ninterface AnimationEffect {\n getComputedTiming(): ComputedEffectTiming;\n getTiming(): EffectTiming;\n updateTiming(timing?: OptionalEffectTiming): void;\n}\n\ndeclare var AnimationEffect: {\n prototype: AnimationEffect;\n new(): AnimationEffect;\n};\n\n/** Events providing information related to animations. */\ninterface AnimationEvent extends Event {\n readonly animationName: string;\n readonly elapsedTime: number;\n readonly pseudoElement: string;\n}\n\ndeclare var AnimationEvent: {\n prototype: AnimationEvent;\n new(type: string, animationEventInitDict?: AnimationEventInit): AnimationEvent;\n};\n\ninterface AnimationFrameProvider {\n cancelAnimationFrame(handle: number): void;\n requestAnimationFrame(callback: FrameRequestCallback): number;\n}\n\ninterface AnimationPlaybackEvent extends Event {\n readonly currentTime: number | null;\n readonly timelineTime: number | null;\n}\n\ndeclare var AnimationPlaybackEvent: {\n prototype: AnimationPlaybackEvent;\n new(type: string, eventInitDict?: AnimationPlaybackEventInit): AnimationPlaybackEvent;\n};\n\ninterface AnimationTimeline {\n readonly currentTime: number | null;\n}\n\ndeclare var AnimationTimeline: {\n prototype: AnimationTimeline;\n new(): AnimationTimeline;\n};\n\ninterface ApplicationCacheEventMap {\n "cached": Event;\n "checking": Event;\n "downloading": Event;\n "error": Event;\n "noupdate": Event;\n "obsolete": Event;\n "progress": ProgressEvent;\n "updateready": Event;\n}\n\ninterface ApplicationCache extends EventTarget {\n /** @deprecated */\n oncached: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n onchecking: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n ondownloading: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n onerror: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n onnoupdate: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n onobsolete: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n onprogress: ((this: ApplicationCache, ev: ProgressEvent) => any) | null;\n /** @deprecated */\n onupdateready: ((this: ApplicationCache, ev: Event) => any) | null;\n /** @deprecated */\n readonly status: number;\n /** @deprecated */\n abort(): void;\n /** @deprecated */\n swapCache(): void;\n /** @deprecated */\n update(): void;\n readonly CHECKING: number;\n readonly DOWNLOADING: number;\n readonly IDLE: number;\n readonly OBSOLETE: number;\n readonly UNCACHED: number;\n readonly UPDATEREADY: number;\n addEventListener(type: K, listener: (this: ApplicationCache, ev: ApplicationCacheEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: ApplicationCache, ev: ApplicationCacheEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var ApplicationCache: {\n prototype: ApplicationCache;\n new(): ApplicationCache;\n readonly CHECKING: number;\n readonly DOWNLOADING: number;\n readonly IDLE: number;\n readonly OBSOLETE: number;\n readonly UNCACHED: number;\n readonly UPDATEREADY: number;\n};\n\n/** A DOM element\'s attribute as an object. In most DOM methods, you will probably directly retrieve the attribute as a string (e.g., Element.getAttribute(), but certain functions (e.g., Element.getAttributeNode()) or means of iterating give Attr types. */\ninterface Attr extends Node {\n readonly localName: string;\n readonly name: string;\n readonly namespaceURI: string | null;\n readonly ownerElement: Element | null;\n readonly prefix: string | null;\n readonly specified: boolean;\n value: string;\n}\n\ndeclare var Attr: {\n prototype: Attr;\n new(): Attr;\n};\n\n/** A short audio asset residing in memory, created from an audio file using the AudioContext.decodeAudioData() method, or from raw data using AudioContext.createBuffer(). Once put into an AudioBuffer, the audio can then be played by being passed into an AudioBufferSourceNode. */\ninterface AudioBuffer {\n readonly duration: number;\n readonly length: number;\n readonly numberOfChannels: number;\n readonly sampleRate: number;\n copyFromChannel(destination: Float32Array, channelNumber: number, startInChannel?: number): void;\n copyToChannel(source: Float32Array, channelNumber: number, startInChannel?: number): void;\n getChannelData(channel: number): Float32Array;\n}\n\ndeclare var AudioBuffer: {\n prototype: AudioBuffer;\n new(options: AudioBufferOptions): AudioBuffer;\n};\n\n/** An AudioScheduledSourceNode which represents an audio source consisting of in-memory audio data, stored in an AudioBuffer. It\'s especially useful for playing back audio which has particularly stringent timing accuracy requirements, such as for sounds that must match a specific rhythm and can be kept in memory rather than being played from disk or the network. */\ninterface AudioBufferSourceNode extends AudioScheduledSourceNode {\n buffer: AudioBuffer | null;\n readonly detune: AudioParam;\n loop: boolean;\n loopEnd: number;\n loopStart: number;\n readonly playbackRate: AudioParam;\n start(when?: number, offset?: number, duration?: number): void;\n addEventListener(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioBufferSourceNode: {\n prototype: AudioBufferSourceNode;\n new(context: BaseAudioContext, options?: AudioBufferSourceOptions): AudioBufferSourceNode;\n};\n\n/** An audio-processing graph built from audio modules linked together, each represented by an AudioNode. */\ninterface AudioContext extends BaseAudioContext {\n readonly baseLatency: number;\n readonly outputLatency: number;\n close(): Promise;\n createMediaElementSource(mediaElement: HTMLMediaElement): MediaElementAudioSourceNode;\n createMediaStreamDestination(): MediaStreamAudioDestinationNode;\n createMediaStreamSource(mediaStream: MediaStream): MediaStreamAudioSourceNode;\n createMediaStreamTrackSource(mediaStreamTrack: MediaStreamTrack): MediaStreamTrackAudioSourceNode;\n getOutputTimestamp(): AudioTimestamp;\n resume(): Promise;\n suspend(): Promise;\n addEventListener(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioContext: {\n prototype: AudioContext;\n new(contextOptions?: AudioContextOptions): AudioContext;\n};\n\n/** AudioDestinationNode has no output (as it is the output, no more AudioNode can be linked after it in the audio graph) and one input. The number of channels in the input must be between 0 and the maxChannelCount value or an exception is raised. */\ninterface AudioDestinationNode extends AudioNode {\n readonly maxChannelCount: number;\n}\n\ndeclare var AudioDestinationNode: {\n prototype: AudioDestinationNode;\n new(): AudioDestinationNode;\n};\n\n/** The position and orientation of the unique person listening to the audio scene, and is used in audio spatialization. All PannerNodes spatialize in relation to the AudioListener stored in the BaseAudioContext.listener attribute. */\ninterface AudioListener {\n readonly forwardX: AudioParam;\n readonly forwardY: AudioParam;\n readonly forwardZ: AudioParam;\n readonly positionX: AudioParam;\n readonly positionY: AudioParam;\n readonly positionZ: AudioParam;\n readonly upX: AudioParam;\n readonly upY: AudioParam;\n readonly upZ: AudioParam;\n /** @deprecated */\n setOrientation(x: number, y: number, z: number, xUp: number, yUp: number, zUp: number): void;\n /** @deprecated */\n setPosition(x: number, y: number, z: number): void;\n}\n\ndeclare var AudioListener: {\n prototype: AudioListener;\n new(): AudioListener;\n};\n\n/** A generic interface for representing an audio processing module. Examples include: */\ninterface AudioNode extends EventTarget {\n channelCount: number;\n channelCountMode: ChannelCountMode;\n channelInterpretation: ChannelInterpretation;\n readonly context: BaseAudioContext;\n readonly numberOfInputs: number;\n readonly numberOfOutputs: number;\n connect(destinationNode: AudioNode, output?: number, input?: number): AudioNode;\n connect(destinationParam: AudioParam, output?: number): void;\n disconnect(): void;\n disconnect(output: number): void;\n disconnect(destinationNode: AudioNode): void;\n disconnect(destinationNode: AudioNode, output: number): void;\n disconnect(destinationNode: AudioNode, output: number, input: number): void;\n disconnect(destinationParam: AudioParam): void;\n disconnect(destinationParam: AudioParam, output: number): void;\n}\n\ndeclare var AudioNode: {\n prototype: AudioNode;\n new(): AudioNode;\n};\n\n/** The Web Audio API\'s AudioParam interface represents an audio-related parameter, usually a parameter of an AudioNode (such as GainNode.gain). */\ninterface AudioParam {\n automationRate: AutomationRate;\n readonly defaultValue: number;\n readonly maxValue: number;\n readonly minValue: number;\n value: number;\n cancelAndHoldAtTime(cancelTime: number): AudioParam;\n cancelScheduledValues(cancelTime: number): AudioParam;\n exponentialRampToValueAtTime(value: number, endTime: number): AudioParam;\n linearRampToValueAtTime(value: number, endTime: number): AudioParam;\n setTargetAtTime(target: number, startTime: number, timeConstant: number): AudioParam;\n setValueAtTime(value: number, startTime: number): AudioParam;\n setValueCurveAtTime(values: number[] | Float32Array, startTime: number, duration: number): AudioParam;\n}\n\ndeclare var AudioParam: {\n prototype: AudioParam;\n new(): AudioParam;\n};\n\ninterface AudioParamMap {\n forEach(callbackfn: (value: AudioParam, key: string, parent: AudioParamMap) => void, thisArg?: any): void;\n}\n\ndeclare var AudioParamMap: {\n prototype: AudioParamMap;\n new(): AudioParamMap;\n};\n\n/** The Web Audio API events that occur when a ScriptProcessorNode input buffer is ready to be processed. */\ninterface AudioProcessingEvent extends Event {\n readonly inputBuffer: AudioBuffer;\n readonly outputBuffer: AudioBuffer;\n readonly playbackTime: number;\n}\n\ndeclare var AudioProcessingEvent: {\n prototype: AudioProcessingEvent;\n new(type: string, eventInitDict: AudioProcessingEventInit): AudioProcessingEvent;\n};\n\ninterface AudioScheduledSourceNodeEventMap {\n "ended": Event;\n}\n\ninterface AudioScheduledSourceNode extends AudioNode {\n onended: ((this: AudioScheduledSourceNode, ev: Event) => any) | null;\n start(when?: number): void;\n stop(when?: number): void;\n addEventListener(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;\n addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;\n removeEventListener(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;\n removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;\n}\n\ndeclare var AudioScheduledSourceNode: {\n prototype: AudioScheduledSourceNode;\n new(): AudioScheduledSourceNode;\n};\n\n/** A single audio track from one of the HTML media elements,