targeted-mutation 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/LICENSE +201 -0
  2. package/NOTICE +21 -0
  3. package/README.md +111 -2
  4. package/bin/tmt-compile.mjs +46 -0
  5. package/bin/tmt.mjs +117 -0
  6. package/build/typescript-syntax/LICENSE.txt +55 -0
  7. package/build/typescript-syntax/ThirdPartyNoticeText.txt +193 -0
  8. package/build/typescript-syntax/typescript-syntax.cjs +43 -0
  9. package/docs/analysis.md +218 -0
  10. package/docs/compiler.md +462 -0
  11. package/docs/development.md +61 -0
  12. package/docs/how-it-works.svg +188 -0
  13. package/docs/l1.md +94 -0
  14. package/docs/performance.md +647 -0
  15. package/docs/releasing.md +48 -0
  16. package/package.json +49 -4
  17. package/src/analysis.mjs +689 -0
  18. package/src/assertion-session.mjs +93 -0
  19. package/src/assertion-strength.mjs +795 -0
  20. package/src/builtin-mutations.mjs +755 -0
  21. package/src/builtin-switches.mjs +642 -0
  22. package/src/change-undone.mjs +524 -0
  23. package/src/cli-output.mjs +166 -0
  24. package/src/compiler-compat.cjs +108 -0
  25. package/src/compiler-maps.cjs +60 -0
  26. package/src/compiler-routes.cjs +391 -0
  27. package/src/compiler.cjs +98 -0
  28. package/src/compiler.mjs +1 -0
  29. package/src/conventional.mjs +172 -0
  30. package/src/displacement.mjs +19 -0
  31. package/src/extract.mjs +135 -0
  32. package/src/fallback-process.mjs +14 -0
  33. package/src/in-parallel.mjs +20 -0
  34. package/src/lean-replay.mjs +39 -0
  35. package/src/operator-analysis.mjs +123 -0
  36. package/src/playwright.mjs +139 -0
  37. package/src/probe-runtime.mjs +50 -0
  38. package/src/probe.mjs +170 -0
  39. package/src/prototype.mjs +230 -0
  40. package/src/regex-mutations.mjs +102 -0
  41. package/src/runner-process.mjs +59 -0
  42. package/src/runtime-binaries.mjs +50 -0
  43. package/src/scope.mjs +202 -0
  44. package/src/source-text.mjs +49 -0
  45. package/src/standard-plan.mjs +308 -0
  46. package/src/standard-runner.mjs +185 -0
  47. package/src/standard-session.mjs +362 -0
  48. package/src/standard-setup.mjs +20 -0
  49. package/src/targeted-gaps.mjs +85 -0
  50. package/src/threshold.mjs +185 -0
  51. package/src/trace-buffer.mjs +126 -0
  52. package/src/typescript-bindings.mjs +243 -0
  53. package/src/typescript-compiler.mjs +59 -0
  54. package/src/typescript-extraction.mjs +354 -0
  55. package/src/typescript-grammar.mjs +923 -0
  56. package/src/vitest-reporter.mjs +64 -0
  57. package/src/vitest.mjs +262 -0
  58. package/src/witness-analysis.mjs +234 -0
  59. package/src/witness-contracts.mjs +110 -0
  60. package/src/witness-discovery.mjs +239 -0
  61. package/src/witness-fixtures.mjs +148 -0
  62. package/src/witness-order.mjs +83 -0
  63. package/src/witness-rules.mjs +254 -0
@@ -0,0 +1,43 @@
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABILITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+ /* Modified by Targeted Mutation TS to retain the TypeScript syntax parser. */
16
+ "use strict";var Id=Object.defineProperty;var B3=Object.getOwnPropertyDescriptor;var R3=Object.getOwnPropertyNames;var U3=Object.prototype.hasOwnProperty;var F3=(e,t)=>{for(var r in t)Id(e,r,{get:t[r],enumerable:!0})},V3=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let c of R3(t))!U3.call(e,c)&&c!==r&&Id(e,c,{get:()=>t[c],enumerable:!(i=B3(t,c))||i.enumerable});return e};var W3=e=>V3(Id({},"__esModule",{value:!0}),e);var TC={};F3(TC,{LanguageVariant:()=>Im,ModifierFlags:()=>Pf,NodeFlags:()=>xf,ScriptKind:()=>If,ScriptTarget:()=>Pm,SyntaxKind:()=>Sf,TokenFlags:()=>xm,canHaveModifiers:()=>Zf,createScanner:()=>Ko,createSourceFile:()=>m3,flattenDiagnosticMessageText:()=>c0,forEachChild:()=>kn,getCombinedModifierFlags:()=>k4,getModifiers:()=>Om,isAccessor:()=>b4,isArrayBindingPattern:()=>Qm,isArrayLiteralExpression:()=>ea,isArrowFunction:()=>Rf,isAsExpression:()=>j4,isAwaitExpression:()=>L4,isBigIntLiteral:()=>Bm,isBinaryExpression:()=>ci,isBindingElement:()=>ts,isBlock:()=>Uf,isBreakStatement:()=>z4,isCallExpression:()=>Mc,isCaseBlock:()=>Y4,isCaseOrDefaultClause:()=>E4,isCatchClause:()=>_3,isClassDeclaration:()=>Wf,isClassLike:()=>Jm,isClassStaticBlockDeclaration:()=>S4,isComputedPropertyName:()=>Af,isConstructorDeclaration:()=>Nf,isContinueStatement:()=>W4,isDefaultClause:()=>s0,isDeleteExpression:()=>O4,isElementAccessExpression:()=>rs,isEmptyStatement:()=>B4,isEnumDeclaration:()=>i0,isEnumMember:()=>d3,isExportAssignment:()=>$f,isExportDeclaration:()=>Qf,isExpressionStatement:()=>t0,isForInOrOfStatement:()=>C4,isForInStatement:()=>F4,isForOfStatement:()=>V4,isForStatement:()=>U4,isFunctionDeclaration:()=>Vf,isFunctionExpression:()=>Bf,isFunctionLike:()=>Nm,isFunctionTypeNode:()=>jc,isGetAccessorDeclaration:()=>Jc,isIdentifier:()=>vt,isIfStatement:()=>R4,isImportAttribute:()=>K4,isImportClause:()=>Z4,isImportDeclaration:()=>Gf,isImportEqualsDeclaration:()=>Hf,isImportSpecifier:()=>r3,isImportTypeNode:()=>Gm,isIndexSignatureDeclaration:()=>Jf,isInterfaceDeclaration:()=>zf,isIterationStatement:()=>jm,isJsxAttribute:()=>c3,isJsxAttributes:()=>u3,isJsxClosingElement:()=>s3,isJsxElement:()=>i3,isJsxExpression:()=>l3,isJsxFragment:()=>a3,isJsxOpeningElement:()=>Xf,isJsxSelfClosingElement:()=>o3,isLabeledStatement:()=>n0,isLiteralTypeNode:()=>Hm,isMappedTypeNode:()=>qm,isMetaProperty:()=>e0,isMethodDeclaration:()=>Lf,isMethodSignature:()=>Um,isModuleBlock:()=>X4,isModuleDeclaration:()=>qf,isNamedExports:()=>o0,isNamedImports:()=>n3,isNamedTupleMember:()=>jf,isNamespaceExport:()=>t3,isNamespaceImport:()=>e3,isNewExpression:()=>I4,isNonNullExpression:()=>ta,isNumericLiteral:()=>oo,isObjectBindingPattern:()=>$m,isObjectLiteralExpression:()=>ns,isOmittedExpression:()=>Km,isOptionalChain:()=>Lm,isOptionalTypeNode:()=>Wm,isParameter:()=>Zs,isParenthesizedExpression:()=>Bc,isPostfixUnaryExpression:()=>N4,isPrefixUnaryExpression:()=>Ym,isPrivateIdentifier:()=>si,isPropertyAccessExpression:()=>ai,isPropertyAssignment:()=>Yf,isPropertyDeclaration:()=>Nc,isPropertySignature:()=>Rm,isQualifiedName:()=>D4,isRegularExpressionLiteral:()=>w4,isRestTypeNode:()=>zm,isReturnStatement:()=>q4,isSatisfiesExpression:()=>M4,isSetAccessorDeclaration:()=>Ks,isShorthandPropertyAssignment:()=>f3,isSourceFile:()=>a0,isSpreadAssignment:()=>p3,isSpreadElement:()=>Zm,isStatement:()=>Mm,isStringLiteral:()=>es,isSwitchStatement:()=>G4,isTaggedTemplateExpression:()=>Xm,isTemplateLiteralTypeNode:()=>P4,isTemplateLiteralTypeSpan:()=>x4,isThrowStatement:()=>$4,isTupleTypeNode:()=>Vm,isTypeAliasDeclaration:()=>r0,isTypeAssertionExpression:()=>A4,isTypeLiteralNode:()=>Fm,isTypeNode:()=>T4,isTypeOperatorNode:()=>Mf,isTypeParameterDeclaration:()=>Of,isVariableDeclaration:()=>Ff,isVariableDeclarationList:()=>Q4,isVariableStatement:()=>Rc,isWithStatement:()=>H4,isYieldExpression:()=>J4,stringToToken:()=>Am,version:()=>wi});module.exports=W3(TC);var z3=Object.defineProperty,q3=(e,t)=>{for(var r in t)z3(e,r,{get:t[r],enumerable:!0})},H3="6.0",wi="6.0.3",tt=[],G3=new Map;function ki(e){return e!==void 0?e.length:0}function qt(e,t){if(e!==void 0)for(let r=0;r<e.length;r++){const i=t(e[r],r);if(i)return i}}function $3(e,t){if(e!==void 0)for(let r=0;r<e.length;r++){const i=t(e[r],r);if(i!==void 0)return i}}function d0(e,t,r){const i=[];N.assertEqual(e.length,t.length);for(let c=0;c<e.length;c++)i.push(r(e[c],t[c],c));return i}function bi(e,t){if(e!==void 0){for(let r=0;r<e.length;r++)if(!t(e[r],r))return!1}return!0}function Ti(e,t,r){if(e!==void 0)for(let i=r??0;i<e.length;i++){const c=e[i];if(t(c,i))return c}}function Ri(e,t,r){if(e===void 0)return-1;for(let i=r??0;i<e.length;i++)if(t(e[i],i))return i;return-1}function Ka(e,t,r=Md){if(e!==void 0){for(let i=0;i<e.length;i++)if(r(e[i],t))return!0}return!1}function Q3(e,t,r){for(let i=r??0;i<e.length;i++)if(Ka(t,e.charCodeAt(i)))return i;return-1}function X3(e,t){let r=0;if(e!==void 0)for(let i=0;i<e.length;i++){const c=e[i];t(c,i)&&r++}return r}function Un(e,t){if(e!==void 0){const r=e.length;let i=0;for(;i<r&&t(e[i]);)i++;if(i<r){const c=e.slice(0,i);for(i++;i<r;){const l=e[i];t(l)&&c.push(l),i++}return c}}return e}function Y3(e,t){let r=0;for(let i=0;i<e.length;i++)t(e[i],i,e)&&(e[r]=e[i],r++);e.length=r}function Ir(e,t){let r;if(e!==void 0){r=[];for(let i=0;i<e.length;i++)r.push(t(e[i],i))}return r}function ec(e,t){if(e!==void 0)for(let r=0;r<e.length;r++){const i=e[r],c=t(i,r);if(i!==c){const l=e.slice(0,r);for(l.push(c),r++;r<e.length;r++)l.push(t(e[r],r));return l}}return e}function tc(e){const t=[];for(let r=0;r<e.length;r++){const i=e[r];i&&(Vt(i)?fn(t,i):t.push(i))}return t}function Ad(e,t){let r;if(e!==void 0)for(let i=0;i<e.length;i++){const c=t(e[i],i);c&&(Vt(c)?r=fn(r,c):r=Fn(r,c))}return r??tt}function Z3(e,t){let r;if(e!==void 0)for(let i=0;i<e.length;i++){const c=e[i],l=t(c,i);(r||c!==l||Vt(l))&&(r||(r=e.slice(0,i)),Vt(l)?fn(r,l):r.push(l))}return r??e}function Od(e,t){const r=[];if(e!==void 0)for(let i=0;i<e.length;i++){const c=t(e[i],i);c!==void 0&&r.push(c)}return r}function*K3(e,t){for(const r of e){const i=t(r);i!==void 0&&(yield i)}}function Pt(e,t){if(e!==void 0)if(t!==void 0){for(let r=0;r<e.length;r++)if(t(e[r]))return!0}else return e.length>0;return!1}function d_(e,t){return t===void 0||t.length===0?e:e===void 0||e.length===0?t:[...e,...t]}function e8(e,t){if(e.length===0)return tt;let r=e[0];const i=[r];for(let c=1;c<e.length;c++){const l=e[c];switch(t(l,r)){case!0:case 0:continue;case-1:return N.fail("Array is unsorted.")}i.push(r=l)}return i}function t8(e,t,r){return e8(nc(e,t),r??t??ei)}function n8(e,t,r=Md){if(e===void 0||t===void 0)return e===t;if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++)if(!r(e[i],t[i],i))return!1;return!0}function Fn(e,t){return t===void 0?e:e===void 0?[t]:(e.push(t),e)}function m0(e,t){return t<0?e.length+t:t}function fn(e,t,r,i){if(t===void 0||t.length===0)return e;if(e===void 0)return t.slice(r,i);r=r===void 0?0:m0(t,r),i=i===void 0?t.length:m0(t,i);for(let c=r;c<i&&c<t.length;c++)t[c]!==void 0&&e.push(t[c]);return e}function r8(e,t,r){return Ka(e,t,r)?!1:(e.push(t),!0)}function i8(e,t,r){return e!==void 0?(r8(e,t,r),e):[t]}function nc(e,t){return e.length===0?tt:e.slice().sort(t)}function Ld(e){return e===void 0||e.length===0?void 0:e[0]}function o8(e){if(e!==void 0)for(const t of e)return t}function Ui(e){return e===void 0||e.length===0?void 0:e[e.length-1]}function xs(e){return N.assert(e.length!==0),e[e.length-1]}function h0(e){return e!==void 0&&e.length===1?e[0]:void 0}function s8(e,t,r,i,c){return a8(e,r(t),r,i,c)}function a8(e,t,r,i,c){if(!Pt(e))return-1;let l=c??0,p=e.length-1;for(;l<=p;){const g=l+(p-l>>1),a=r(e[g],g);switch(Math.sign(i(a,t))){case-1:l=g+1;break;case 0:return g;case 1:p=g-1;break}}return~l}function c8(e,t,r,i,c){if(e&&e.length>0){const l=e.length;if(l>0){let p=i===void 0||i<0?0:i;const g=c===void 0||p+c>l-1?l-1:p+c;let a;for(arguments.length<=2?(a=e[p],p++):a=r;p<=g;)a=t(a,e[p],p),p++;return a}}return r}var m_=Object.prototype.hasOwnProperty;function Rt(e,t){return m_.call(e,t)}function Po(e){const t=[];for(const r in e)m_.call(e,r)&&t.push(r);return t}function Ps(e,t){const r=[];for(const i of e)r.push(t?t(i):i);return r}function Is(e,...t){for(const r of t)if(r!==void 0)for(const i in r)Rt(r,i)&&(e[i]=r[i]);return e}function h_(e,t,r=Ot){const i=new Map;for(let c=0;c<e.length;c++){const l=e[c],p=t(l);p!==void 0&&i.set(p,r(l))}return i}function g0(e,t){const r={};for(const i in t)m_.call(t,i)&&(r[i]=t[i]);for(const i in e)m_.call(e,i)&&(r[i]=e[i]);return r}function Nd(){const e=new Map;return e.add=u8,e.remove=l8,e}function u8(e,t){let r=this.get(e);return r!==void 0?r.push(t):this.set(e,r=[t]),r}function l8(e,t){const r=this.get(e);r!==void 0&&(y_(r,t),r.length||this.delete(e))}function Vt(e){return Array.isArray(e)}function Jd(e){return Vt(e)?e:[e]}function Ht(e){return typeof e=="string"}function As(e){return typeof e=="number"}function _8(e,t){return e!==void 0&&t(e)?e:void 0}function Qn(e,t){return e!==void 0&&t(e)?e:N.fail(`Invalid cast. The supplied value ${e} did not pass the test '${N.getFunctionName(t)}'.`)}function nr(e){}function f8(){return!1}function p8(){return!0}function d8(){}function Ot(e){return e}function m8(e){return e.toLowerCase()}var y0=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_. ]+/g;function jd(e){return y0.test(e)?e.replace(y0,m8):e}function Yt(){throw new Error("Not implemented")}function rc(e){let t;return()=>(e&&(t=e(),e=void 0),t)}function Ar(e){const t=new Map;return r=>{const i=`${typeof r}:${r}`;let c=t.get(i);return c===void 0&&!t.has(i)&&(c=e(r),t.set(i,c)),c}}function Md(e,t){return e===t}function Io(e,t){return e===t||e!==void 0&&t!==void 0&&e.toUpperCase()===t.toUpperCase()}function g_(e,t){return Md(e,t)}function v0(e,t){return e===t?0:e===void 0?-1:t===void 0?1:e<t?-1:1}function Dn(e,t){return v0(e,t)}function h8(e,t,r){for(let i=0;i<e.length;i++)t=Math.max(t,r(e[i]));return t}function k0(e,t){return e===t?0:e===void 0?-1:t===void 0?1:(e=e.toUpperCase(),t=t.toUpperCase(),e<t?-1:e>t?1:0)}function ei(e,t){return v0(e,t)}function Bd(e){return e?k0:ei}function Os(e,t,r){const i=Math.max(2,Math.floor(e.length*.34));let c=Math.floor(e.length*.4)+1,l;for(const p of t){const g=r(p);if(g!==void 0&&Math.abs(g.length-e.length)<=i){if(g===e||g.length<3&&g.toLowerCase()!==e.toLowerCase())continue;const a=g8(e,g,c-.1);if(a===void 0)continue;N.assert(a<c),c=a,l=p}}return l}function g8(e,t,r){let i=new Array(t.length+1),c=new Array(t.length+1);const l=r+.01;for(let g=0;g<=t.length;g++)i[g]=g;for(let g=1;g<=e.length;g++){const a=e.charCodeAt(g-1),b=Math.ceil(g>r?g-r:1),d=Math.floor(t.length>r+g?r+g:t.length);c[0]=g;let E=g;for(let C=1;C<b;C++)c[C]=l;for(let C=b;C<=d;C++){const S=e[g-1].toLowerCase()===t[C-1].toLowerCase()?i[C-1]+.1:i[C-1]+2,j=a===t.charCodeAt(C-1)?i[C-1]:Math.min(i[C]+1,c[C-1]+1,S);c[C]=j,E=Math.min(E,j)}for(let C=d+1;C<=t.length;C++)c[C]=l;if(E>r)return;const T=i;i=c,c=T}const p=i[t.length];return p>r?void 0:p}function pn(e,t,r){const i=e.length-t.length;return i>=0&&(r?Io(e.slice(i),t):e.indexOf(t,i)===i)}function y8(e,t){return pn(e,t)?e.slice(0,e.length-t.length):e}function v8(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return k8(e,r),!0;return!1}function k8(e,t){for(let r=t;r<e.length-1;r++)e[r]=e[r+1];e.pop()}function b8(e,t){e[t]=e[e.length-1],e.pop()}function y_(e,t){return T8(e,r=>r===t)}function T8(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return b8(e,r),!0;return!1}function rr(e){return e?Ot:jd}function C8({prefix:e,suffix:t}){return`${e}*${t}`}function E8(e,t){return N.assert(b0(e,t)),t.substring(e.prefix.length,t.length-e.suffix.length)}function w8(e,t,r){let i,c=-1;for(let l=0;l<e.length;l++){const p=e[l],g=t(p);g.prefix.length>c&&b0(g,r)&&(c=g.prefix.length,i=p)}return i}function Zt(e,t,r){return r?Io(e.slice(0,t.length),t):e.lastIndexOf(t,0)===0}function b0({prefix:e,suffix:t},r){return r.length>=e.length+t.length&&Zt(r,e)&&pn(r,t)}function EC(e){}function Rd(e){return e===void 0?void 0:[e]}function D8(e,t,r,i,c,l){l??(l=nr);let p=0,g=0;const a=e.length,b=t.length;let d=!1;for(;p<a&&g<b;){const E=e[p],T=t[g],C=r(E,T);C===-1?(i(E),p++,d=!0):C===1?(c(T),g++,d=!0):(l(T,E),p++,g++)}for(;p<a;)i(e[p++]),d=!0;for(;g<b;)c(t[g++]),d=!0;return d}function T0(){return typeof process<"u"&&!!process.nextTick&&!process.browser&&typeof require<"u"}var N;(e=>{let t=0;e.currentLogLevel=2,e.isDebugging=!1;function r(q){return e.currentLogLevel<=q}e.shouldLog=r;function i(q,de){e.loggingHost&&r(q)&&e.loggingHost.log(q,de)}function c(q){i(3,q)}e.log=c,(q=>{function de(bt){i(1,bt)}q.error=de;function we(bt){i(2,bt)}q.warn=we;function je(bt){i(3,bt)}q.log=je;function mt(bt){i(4,bt)}q.trace=mt})(c=e.log||(e.log={}));const l={};function p(){return t}e.getAssertionLevel=p;function g(q){const de=t;if(t=q,q>de)for(const we of Po(l)){const je=l[we];je!==void 0&&e[we]!==je.assertion&&q>=je.level&&(e[we]=je,l[we]=void 0)}}e.setAssertionLevel=g;function a(q){return t>=q}e.shouldAssert=a;function b(q,de){return a(q)?!0:(l[de]={level:q,assertion:e[de]},e[de]=nr,!1)}function d(q,de){debugger;const we=new Error(q?`Debug Failure. ${q}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(we,de||d),we}e.fail=d;function E(q,de,we){return d(`${de||"Unexpected node."}\r
17
+ Node ${Pe(q.kind)} was unexpected.`,we||E)}e.failBadSyntaxKind=E;function T(q,de,we,je){q||(de=de?`False expression: ${de}`:"False expression.",we&&(de+=`\r
18
+ Verbose Debug Information: `+(typeof we=="string"?we:we())),d(de,je||T))}e.assert=T;function C(q,de,we,je,mt){if(q!==de){const bt=we?je?`${we} ${je}`:we:"";d(`Expected ${q} === ${de}. ${bt}`,mt||C)}}e.assertEqual=C;function S(q,de,we,je){q>=de&&d(`Expected ${q} < ${de}. ${we||""}`,je||S)}e.assertLessThan=S;function j(q,de,we){q>de&&d(`Expected ${q} <= ${de}`,we||j)}e.assertLessThanOrEqual=j;function L(q,de,we){q<de&&d(`Expected ${q} >= ${de}`,we||L)}e.assertGreaterThanOrEqual=L;function A(q,de,we){q==null&&d(de,we||A)}e.assertIsDefined=A;function U(q,de,we){return A(q,de,we||U),q}e.checkDefined=U;function x(q,de,we){for(const je of q)A(je,de,we||x)}e.assertEachIsDefined=x;function F(q,de,we){return x(q,de,we||F),q}e.checkEachDefined=F;function te(q,de="Illegal value:",we){const je=typeof q=="object"&&Rt(q,"kind")&&Rt(q,"pos")?"SyntaxKind: "+Pe(q.kind):JSON.stringify(q);return d(`${de} ${je}`,we||te)}e.assertNever=te;function J(q,de,we,je){b(1,"assertEachNode")&&T(de===void 0||bi(q,de),we||"Unexpected node.",()=>`Node array did not pass test '${De(de)}'.`,je||J)}e.assertEachNode=J;function V(q,de,we,je){b(1,"assertNode")&&T(q!==void 0&&(de===void 0||de(q)),we||"Unexpected node.",()=>`Node ${Pe(q?.kind)} did not pass test '${De(de)}'.`,je||V)}e.assertNode=V;function D(q,de,we,je){b(1,"assertNotNode")&&T(q===void 0||de===void 0||!de(q),we||"Unexpected node.",()=>`Node ${Pe(q.kind)} should not have passed test '${De(de)}'.`,je||D)}e.assertNotNode=D;function Z(q,de,we,je){b(1,"assertOptionalNode")&&T(de===void 0||q===void 0||de(q),we||"Unexpected node.",()=>`Node ${Pe(q?.kind)} did not pass test '${De(de)}'.`,je||Z)}e.assertOptionalNode=Z;function he(q,de,we,je){b(1,"assertOptionalToken")&&T(de===void 0||q===void 0||q.kind===de,we||"Unexpected node.",()=>`Node ${Pe(q?.kind)} was not a '${Pe(de)}' token.`,je||he)}e.assertOptionalToken=he;function pe(q,de,we){b(1,"assertMissingNode")&&T(q===void 0,de||"Unexpected node.",()=>`Node ${Pe(q.kind)} was unexpected'.`,we||pe)}e.assertMissingNode=pe;function be(q){}e.type=be;function De(q){if(typeof q!="function")return"";if(Rt(q,"name"))return q.name;{const de=Function.prototype.toString.call(q),we=/^function\s+([\w$]+)\s*\(/.exec(de);return we?we[1]:""}}e.getFunctionName=De;function ye(q){return`{ name: ${Fo(q.escapedName)}; flags: ${Le(q.flags)}; declarations: ${Ir(q.declarations,de=>Pe(de.kind))} }`}e.formatSymbol=ye;function se(q=0,de,we){const je=Ue(de);if(q===0)return je.length>0&&je[0][0]===0?je[0][1]:"0";if(we){const mt=[];let bt=q;for(const[It,nn]of je){if(It>q)break;It!==0&&It&q&&(mt.push(nn),bt&=~It)}if(bt===0)return mt.join("|")}else for(const[mt,bt]of je)if(mt===q)return bt;return q.toString()}e.formatEnum=se;const Ae=new Map;function Ue(q){const de=Ae.get(q);if(de)return de;const we=[];for(const mt in q){const bt=q[mt];typeof bt=="number"&&we.push([bt,mt])}const je=nc(we,(mt,bt)=>Dn(mt[0],bt[0]));return Ae.set(q,je),je}function Pe(q){return se(q,Sf,!1)}e.formatSyntaxKind=Pe;function kt(q){return se(q,B0,!1)}e.formatSnippetKind=kt;function _t(q){return se(q,If,!1)}e.formatScriptKind=_t;function ve(q){return se(q,xf,!0)}e.formatNodeFlags=ve;function Je(q){return se(q,L0,!0)}e.formatNodeCheckFlags=Je;function Ie(q){return se(q,Pf,!0)}e.formatModifierFlags=Ie;function M(q){return se(q,M0,!0)}e.formatTransformFlags=M;function ge(q){return se(q,R0,!0)}e.formatEmitFlags=ge;function Le(q){return se(q,O0,!0)}e.formatSymbolFlags=Le;function qe(q){return se(q,N0,!0)}e.formatTypeFlags=qe;function ue(q){return se(q,j0,!0)}e.formatSignatureFlags=ue;function Se(q){return se(q,J0,!0)}e.formatObjectFlags=Se;function Te(q){return se(q,zd,!0)}e.formatFlowFlags=Te;function Xe(q){return se(q,A0,!0)}e.formatRelationComparisonResult=Xe;function xe(q){return se(q,L6,!0)}e.formatCheckMode=xe;function pt(q){return se(q,N6,!0)}e.formatSignatureCheckMode=pt;function Ke(q){return se(q,O6,!0)}e.formatTypeFacts=Ke;let gt=!1,it;function wt(q){"__debugFlowFlags"in q||Object.defineProperties(q,{__tsDebuggerDisplay:{value(){const de=this.flags&2?"FlowStart":this.flags&4?"FlowBranchLabel":this.flags&8?"FlowLoopLabel":this.flags&16?"FlowAssignment":this.flags&32?"FlowTrueCondition":this.flags&64?"FlowFalseCondition":this.flags&128?"FlowSwitchClause":this.flags&256?"FlowArrayMutation":this.flags&512?"FlowCall":this.flags&1024?"FlowReduceLabel":this.flags&1?"FlowUnreachable":"UnknownFlow",we=this.flags&-2048;return`${de}${we?` (${Te(we)})`:""}`}},__debugFlowFlags:{get(){return se(this.flags,zd,!0)}},__debugToString:{value(){return Hr(this)}}})}function $t(q){return gt&&(typeof Object.setPrototypeOf=="function"?(it||(it=Object.create(Object.prototype),wt(it)),Object.setPrototypeOf(q,it)):wt(q)),q}e.attachFlowNodeDebugInfo=$t;let Xn;function lr(q){"__tsDebuggerDisplay"in q||Object.defineProperties(q,{__tsDebuggerDisplay:{value(de){return de=String(de).replace(/(?:,[\s\w]+:[^,]+)+\]$/,"]"),`NodeArray ${de}`}}})}function _r(q){gt&&(typeof Object.setPrototypeOf=="function"?(Xn||(Xn=Object.create(Array.prototype),lr(Xn)),Object.setPrototypeOf(q,Xn)):lr(q))}e.attachNodeArrayDebugInfo=_r;function bn(){if(gt)return;const q=new WeakMap,de=new WeakMap;Object.defineProperties(ar.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value(){const je=this.flags&33554432?"TransientSymbol":"Symbol",mt=this.flags&-33554433;return`${je} '${n1(this)}'${mt?` (${Le(mt)})`:""}`}},__debugFlags:{get(){return Le(this.flags)}}}),Object.defineProperties(ar.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value(){const je=this.flags&402431?`IntrinsicType ${this.intrinsicName}${this.debugIntrinsicName?` (${this.debugIntrinsicName})`:""}`:this.flags&12?"NullableType":this.flags&3072?`LiteralType ${JSON.stringify(this.value)}`:this.flags&4096?`LiteralType ${this.value.negative?"-":""}${this.value.base10Value}n`:this.flags&16384?"UniqueESSymbolType":this.flags&65536?"EnumType":this.flags&134217728?"UnionType":this.flags&268435456?"IntersectionType":this.flags&2097152?"IndexType":this.flags&33554432?"IndexedAccessType":this.flags&67108864?"ConditionalType":this.flags&16777216?"SubstitutionType":this.flags&524288?"TypeParameter":this.flags&1048576?this.objectFlags&3?"InterfaceType":this.objectFlags&4?"TypeReference":this.objectFlags&8?"TupleType":this.objectFlags&16?"AnonymousType":this.objectFlags&32?"MappedType":this.objectFlags&1024?"ReverseMappedType":this.objectFlags&256?"EvolvingArrayType":"ObjectType":"Type",mt=this.flags&1048576?this.objectFlags&-142607680:0;return`${je}${this.symbol?` '${n1(this.symbol)}'`:""}${mt?` (${Se(mt)})`:""}`}},__debugFlags:{get(){return qe(this.flags)}},__debugObjectFlags:{get(){return this.flags&1048576?Se(this.objectFlags):""}},__debugTypeToString:{value(){let je=q.get(this);return je===void 0&&(je=this.checker.typeToString(this),q.set(this,je)),je}}}),Object.defineProperties(ar.getSignatureConstructor().prototype,{__debugFlags:{get(){return ue(this.flags)}},__debugSignatureToString:{value(){var je;return(je=this.checker)==null?void 0:je.signatureToString(this)}}});const we=[ar.getNodeConstructor(),ar.getIdentifierConstructor(),ar.getTokenConstructor(),ar.getSourceFileConstructor()];for(const je of we)Rt(je.prototype,"__debugKind")||Object.defineProperties(je.prototype,{__tsDebuggerDisplay:{value(){return`${Rs(this)?"GeneratedIdentifier":vt(this)?`Identifier '${Vn(this)}'`:si(this)?`PrivateIdentifier '${Vn(this)}'`:es(this)?`StringLiteral ${JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")}`:oo(this)?`NumericLiteral ${this.text}`:Bm(this)?`BigIntLiteral ${this.text}n`:Of(this)?"TypeParameterDeclaration":Zs(this)?"ParameterDeclaration":Nf(this)?"ConstructorDeclaration":Jc(this)?"GetAccessorDeclaration":Ks(this)?"SetAccessorDeclaration":kk(this)?"CallSignatureDeclaration":bk(this)?"ConstructSignatureDeclaration":Jf(this)?"IndexSignatureDeclaration":Tk(this)?"TypePredicateNode":M2(this)?"TypeReferenceNode":jc(this)?"FunctionTypeNode":B1(this)?"ConstructorTypeNode":Ck(this)?"TypeQueryNode":Fm(this)?"TypeLiteralNode":Ek(this)?"ArrayTypeNode":Vm(this)?"TupleTypeNode":Wm(this)?"OptionalTypeNode":zm(this)?"RestTypeNode":B2(this)?"UnionTypeNode":R2(this)?"IntersectionTypeNode":U2(this)?"ConditionalTypeNode":F2(this)?"InferTypeNode":wk(this)?"ParenthesizedTypeNode":Dk(this)?"ThisTypeNode":Mf(this)?"TypeOperatorNode":Sk(this)?"IndexedAccessTypeNode":qm(this)?"MappedTypeNode":Hm(this)?"LiteralTypeNode":jf(this)?"NamedTupleMember":Gm(this)?"ImportTypeNode":Pe(this.kind)}${this.flags?` (${ve(this.flags)})`:""}`}},__debugKind:{get(){return Pe(this.kind)}},__debugNodeFlags:{get(){return ve(this.flags)}},__debugModifierFlags:{get(){return Ie(Hv(this))}},__debugTransformFlags:{get(){return M(this.transformFlags)}},__debugIsParseTreeNode:{get(){return uc(this)}},__debugEmitFlags:{get(){return ge(Us(this))}},__debugGetText:{value(mt){if(Fs(this))return"";let bt=de.get(this);if(bt===void 0){const It=hh(this),nn=It&&zr(It);bt=nn?l1(nn,It,mt):"",de.set(this,bt)}return bt}}});gt=!0}e.enableDebugInfo=bn;function jn(q){const de=q&7;let we=de===0?"in out":de===3?"[bivariant]":de===2?"in":de===1?"out":de===4?"[independent]":"";return q&8?we+=" (unmeasurable)":q&16&&(we+=" (unreliable)"),we}e.formatVariance=jn;class Lr{__debugToString(){var de;switch(this.kind){case 3:return((de=this.debugInfo)==null?void 0:de.call(this))||"(function mapper)";case 0:return`${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`;case 1:return d0(this.sources,this.targets||Ir(this.sources,()=>"any"),(we,je)=>`${we.__debugTypeToString()} -> ${typeof je=="string"?je:je.__debugTypeToString()}`).join(", ");case 2:return d0(this.sources,this.targets,(we,je)=>`${we.__debugTypeToString()} -> ${je().__debugTypeToString()}`).join(", ");case 5:case 4:return`m1: ${this.mapper1.__debugToString().split(`
19
+ `).join(`
20
+ `)}
21
+ m2: ${this.mapper2.__debugToString().split(`
22
+ `).join(`
23
+ `)}`;default:return te(this)}}}e.DebugTypeMapper=Lr;function ht(q){return e.isDebugging?Object.setPrototypeOf(q,Lr.prototype):q}e.attachDebugPrototypeIfDebug=ht;function We(q){return console.log(Hr(q))}e.printControlFlowGraph=We;function Hr(q){let de=-1;function we(m){return m.id||(m.id=de,de--),m.id}let je;(m=>{m.lr="\u2500",m.ud="\u2502",m.dr="\u256D",m.dl="\u256E",m.ul="\u256F",m.ur="\u2570",m.udr="\u251C",m.udl="\u2524",m.dlr="\u252C",m.ulr="\u2534",m.udlr="\u256B"})(je||(je={}));let mt;(m=>{m[m.None=0]="None",m[m.Up=1]="Up",m[m.Down=2]="Down",m[m.Left=4]="Left",m[m.Right=8]="Right",m[m.UpDown=3]="UpDown",m[m.LeftRight=12]="LeftRight",m[m.UpLeft=5]="UpLeft",m[m.UpRight=9]="UpRight",m[m.DownLeft=6]="DownLeft",m[m.DownRight=10]="DownRight",m[m.UpDownLeft=7]="UpDownLeft",m[m.UpDownRight=11]="UpDownRight",m[m.UpLeftRight=13]="UpLeftRight",m[m.DownLeftRight=14]="DownLeftRight",m[m.UpDownLeftRight=15]="UpDownLeftRight",m[m.NoChildren=16]="NoChildren"})(mt||(mt={}));const bt=2032,It=882,nn=Object.create(null),Wt=[],Lt=[],ui=Be(q,new Set);for(const m of Wt)m.text=St(m.flowNode,m.circular),Oe(m);const Gr=ft(ui),fr=Tt(Gr);return dt(ui,0),Wn();function Cr(m){return!!(m.flags&128)}function so(m){return!!(m.flags&12)&&!!m.antecedent}function $(m){return!!(m.flags&bt)}function ie(m){return!!(m.flags&It)}function oe(m){const Qe=[];for(const Ye of m.edges)Ye.source===m&&Qe.push(Ye.target);return Qe}function Me(m){const Qe=[];for(const Ye of m.edges)Ye.target===m&&Qe.push(Ye.source);return Qe}function Be(m,Qe){const Ye=we(m);let Q=nn[Ye];if(Q&&Qe.has(m))return Q.circular=!0,Q={id:-1,flowNode:m,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:"circularity"},Wt.push(Q),Q;if(Qe.add(m),!Q)if(nn[Ye]=Q={id:Ye,flowNode:m,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:!1},Wt.push(Q),so(m))for(const st of m.antecedent)Re(Q,st,Qe);else $(m)&&Re(Q,m.antecedent,Qe);return Qe.delete(m),Q}function Re(m,Qe,Ye){const Q=Be(Qe,Ye),st={source:m,target:Q};Lt.push(st),m.edges.push(st),Q.edges.push(st)}function Oe(m){if(m.level!==-1)return m.level;let Qe=0;for(const Ye of Me(m))Qe=Math.max(Qe,Oe(Ye)+1);return m.level=Qe}function ft(m){let Qe=0;for(const Ye of oe(m))Qe=Math.max(Qe,ft(Ye));return Qe+1}function Tt(m){const Qe=z(Array(m),0);for(const Ye of Wt)Qe[Ye.level]=Math.max(Qe[Ye.level],Ye.text.length);return Qe}function dt(m,Qe){if(m.lane===-1){m.lane=Qe,m.endLane=Qe;const Ye=oe(m);for(let Q=0;Q<Ye.length;Q++){Q>0&&Qe++;const st=Ye[Q];dt(st,Qe),st.endLane>m.endLane&&(Qe=st.endLane)}m.endLane=Qe}}function Ve(m){if(m&2)return"Start";if(m&4)return"Branch";if(m&8)return"Loop";if(m&16)return"Assignment";if(m&32)return"True";if(m&64)return"False";if(m&128)return"SwitchClause";if(m&256)return"ArrayMutation";if(m&512)return"Call";if(m&1024)return"ReduceLabel";if(m&1)return"Unreachable";throw new Error}function Yn(m){const Qe=zr(m);return l1(Qe,m,!1)}function St(m,Qe){let Ye=Ve(m.flags);if(Qe&&(Ye=`${Ye}#${we(m)}`),Cr(m)){const Q=[],{switchStatement:st,clauseStart:Mn,clauseEnd:lt}=m.node;for(let yt=Mn;yt<lt;yt++){const rn=st.caseBlock.clauses[yt];s0(rn)?Q.push("default"):Q.push(Yn(rn.expression))}Ye+=` (${Q.join(", ")})`}else ie(m)&&m.node&&(Ye+=` (${Yn(m.node)})`);return Qe==="circularity"?`Circular(${Ye})`:Ye}function Wn(){const m=fr.length,Qe=h8(Wt,0,lt=>lt.lane)+1,Ye=z(Array(Qe),""),Q=fr.map(()=>Array(Qe)),st=fr.map(()=>z(Array(Qe),0));for(const lt of Wt){Q[lt.level][lt.lane]=lt;const yt=oe(lt);for(let Qt=0;Qt<yt.length;Qt++){const on=yt[Qt];let hn=8;on.lane===lt.lane&&(hn|=4),Qt>0&&(hn|=1),Qt<yt.length-1&&(hn|=2),st[lt.level][on.lane]|=hn}yt.length===0&&(st[lt.level][lt.lane]|=16);const rn=Me(lt);for(let Qt=0;Qt<rn.length;Qt++){const on=rn[Qt];let hn=4;Qt>0&&(hn|=1),Qt<rn.length-1&&(hn|=2),st[lt.level-1][on.lane]|=hn}}for(let lt=0;lt<m;lt++)for(let yt=0;yt<Qe;yt++){const rn=lt>0?st[lt-1][yt]:0,Qt=yt>0?st[lt][yt-1]:0;let on=st[lt][yt];on||(rn&8&&(on|=12),Qt&2&&(on|=3),st[lt][yt]=on)}for(let lt=0;lt<m;lt++)for(let yt=0;yt<Ye.length;yt++){const rn=st[lt][yt],Qt=rn&4?"\u2500":" ",on=Q[lt][yt];on?(Mn(yt,on.text),lt<m-1&&(Mn(yt," "),Mn(yt,ot(Qt,fr[lt]-on.text.length)))):lt<m-1&&Mn(yt,ot(Qt,fr[lt]+1)),Mn(yt,Di(rn)),Mn(yt,rn&8&&lt<m-1&&!Q[lt+1][yt]?"\u2500":" ")}return`
24
+ ${Ye.join(`
25
+ `)}
26
+ `;function Mn(lt,yt){Ye[lt]+=yt}}function Di(m){switch(m){case 3:return"\u2502";case 12:return"\u2500";case 5:return"\u256F";case 9:return"\u2570";case 6:return"\u256E";case 10:return"\u256D";case 7:return"\u2524";case 11:return"\u251C";case 13:return"\u2534";case 14:return"\u252C";case 15:return"\u256B"}return" "}function z(m,Qe){if(m.fill)m.fill(Qe);else for(let Ye=0;Ye<m.length;Ye++)m[Ye]=Qe;return m}function ot(m,Qe){if(m.repeat)return Qe>0?m.repeat(Qe):"";let Ye="";for(;Ye.length<Qe;)Ye+=m;return Ye}}e.formatControlFlowGraph=Hr})(N||(N={}));var S8=/^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,x8=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i,P8=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)$/i,I8=/^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i,A8=/^[a-z0-9-]+$/i,C0=/^(?:0|[1-9]\d*)$/,Ud=class Ys{constructor(t,r=0,i=0,c="",l=""){typeof t=="string"&&({major:t,minor:r,patch:i,prerelease:c,build:l}=N.checkDefined(E0(t),"Invalid version")),N.assert(t>=0,"Invalid argument: major"),N.assert(r>=0,"Invalid argument: minor"),N.assert(i>=0,"Invalid argument: patch");const p=c?Vt(c)?c:c.split("."):tt,g=l?Vt(l)?l:l.split("."):tt;N.assert(bi(p,a=>P8.test(a)),"Invalid argument: prerelease"),N.assert(bi(g,a=>A8.test(a)),"Invalid argument: build"),this.major=t,this.minor=r,this.patch=i,this.prerelease=p,this.build=g}static tryParse(t){const r=E0(t);if(!r)return;const{major:i,minor:c,patch:l,prerelease:p,build:g}=r;return new Ys(i,c,l,p,g)}compareTo(t){return this===t?0:t===void 0?1:Dn(this.major,t.major)||Dn(this.minor,t.minor)||Dn(this.patch,t.patch)||O8(this.prerelease,t.prerelease)}increment(t){switch(t){case"major":return new Ys(this.major+1,0,0);case"minor":return new Ys(this.major,this.minor+1,0);case"patch":return new Ys(this.major,this.minor,this.patch+1);default:return N.assertNever(t)}}with(t){const{major:r=this.major,minor:i=this.minor,patch:c=this.patch,prerelease:l=this.prerelease,build:p=this.build}=t;return new Ys(r,i,c,l,p)}toString(){let t=`${this.major}.${this.minor}.${this.patch}`;return Pt(this.prerelease)&&(t+=`-${this.prerelease.join(".")}`),Pt(this.build)&&(t+=`+${this.build.join(".")}`),t}};Ud.zero=new Ud(0,0,0,["0"]);var v_=Ud;function E0(e){const t=S8.exec(e);if(!t)return;const[,r,i="0",c="0",l="",p=""]=t;if(!(l&&!x8.test(l))&&!(p&&!I8.test(p)))return{major:parseInt(r,10),minor:parseInt(i,10),patch:parseInt(c,10),prerelease:l,build:p}}function O8(e,t){if(e===t)return 0;if(e.length===0)return t.length===0?0:1;if(t.length===0)return-1;const r=Math.min(e.length,t.length);for(let i=0;i<r;i++){const c=e[i],l=t[i];if(c===l)continue;const p=C0.test(c),g=C0.test(l);if(p||g){if(p!==g)return p?-1:1;const a=Dn(+c,+l);if(a)return a}else{const a=ei(c,l);if(a)return a}}return Dn(e.length,t.length)}var Fd=class v4{constructor(t){this._alternatives=t?N.checkDefined(w0(t),"Invalid range spec."):tt}static tryParse(t){const r=w0(t);if(r){const i=new v4("");return i._alternatives=r,i}}test(t){return typeof t=="string"&&(t=new v_(t)),U8(t,this._alternatives)}toString(){return W8(this._alternatives)}},L8=/\|\|/,N8=/\s+/,J8=/^([x*0]|[1-9]\d*)(?:\.([x*0]|[1-9]\d*)(?:\.([x*0]|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,j8=/^\s*([a-z0-9-+.*]+)\s+-\s+([a-z0-9-+.*]+)\s*$/i,M8=/^([~^<>=]|<=|>=)?\s*([a-z0-9-+.*]+)$/i;function w0(e){const t=[];for(let r of e.trim().split(L8)){if(!r)continue;const i=[];r=r.trim();const c=j8.exec(r);if(c){if(!B8(c[1],c[2],i))return}else for(const l of r.split(N8)){const p=M8.exec(l.trim());if(!p||!R8(p[1],p[2],i))return}t.push(i)}return t}function Vd(e){const t=J8.exec(e);if(!t)return;const[,r,i="*",c="*",l,p]=t;return{version:new v_(cn(r)?0:parseInt(r,10),cn(r)||cn(i)?0:parseInt(i,10),cn(r)||cn(i)||cn(c)?0:parseInt(c,10),l,p),major:r,minor:i,patch:c}}function B8(e,t,r){const i=Vd(e);if(!i)return!1;const c=Vd(t);return c?(cn(i.major)||r.push(Ln(">=",i.version)),cn(c.major)||r.push(cn(c.minor)?Ln("<",c.version.increment("major")):cn(c.patch)?Ln("<",c.version.increment("minor")):Ln("<=",c.version)),!0):!1}function R8(e,t,r){const i=Vd(t);if(!i)return!1;const{version:c,major:l,minor:p,patch:g}=i;if(cn(l))(e==="<"||e===">")&&r.push(Ln("<",v_.zero));else switch(e){case"~":r.push(Ln(">=",c)),r.push(Ln("<",c.increment(cn(p)?"major":"minor")));break;case"^":r.push(Ln(">=",c)),r.push(Ln("<",c.increment(c.major>0||cn(p)?"major":c.minor>0||cn(g)?"minor":"patch")));break;case"<":case">=":r.push(cn(p)||cn(g)?Ln(e,c.with({prerelease:"0"})):Ln(e,c));break;case"<=":case">":r.push(cn(p)?Ln(e==="<="?"<":">=",c.increment("major").with({prerelease:"0"})):cn(g)?Ln(e==="<="?"<":">=",c.increment("minor").with({prerelease:"0"})):Ln(e,c));break;case"=":case void 0:cn(p)||cn(g)?(r.push(Ln(">=",c.with({prerelease:"0"}))),r.push(Ln("<",c.increment(cn(p)?"major":"minor").with({prerelease:"0"})))):r.push(Ln("=",c));break;default:return!1}return!0}function cn(e){return e==="*"||e==="x"||e==="X"}function Ln(e,t){return{operator:e,operand:t}}function U8(e,t){if(t.length===0)return!0;for(const r of t)if(F8(e,r))return!0;return!1}function F8(e,t){for(const r of t)if(!V8(e,r.operator,r.operand))return!1;return!0}function V8(e,t,r){const i=e.compareTo(r);switch(t){case"<":return i<0;case"<=":return i<=0;case">":return i>0;case">=":return i>=0;case"=":return i===0;default:return N.assertNever(t)}}function W8(e){return Ir(e,z8).join(" || ")||"*"}function z8(e){return Ir(e,q8).join(" ")}function q8(e){return`${e.operator}${e.operand}`}function H8(){if(T0())try{const{performance:e}=require("perf_hooks");if(e)return{shouldWriteNativeEvents:!1,performance:e}}catch{}if(typeof performance=="object")return{shouldWriteNativeEvents:!0,performance}}function G8(){const e=H8();if(!e)return;const{shouldWriteNativeEvents:t,performance:r}=e,i={shouldWriteNativeEvents:t,performance:void 0,performanceTime:void 0};return typeof r.timeOrigin=="number"&&typeof r.now=="function"&&(i.performanceTime=r),i.performanceTime&&typeof r.mark=="function"&&typeof r.measure=="function"&&typeof r.clearMarks=="function"&&typeof r.clearMeasures=="function"&&(i.performance=r),i}var Wd=G8(),D0=Wd?.performanceTime;function $8(){return Wd}var Fr=D0?()=>D0.now():Date.now,Q8={};q3(Q8,{clearMarks:()=>ny,clearMeasures:()=>ty,createTimer:()=>S0,createTimerIf:()=>X8,disable:()=>oy,enable:()=>iy,forEachMark:()=>ey,forEachMeasure:()=>K8,getCount:()=>Y8,getDuration:()=>Z8,isEnabled:()=>ry,mark:()=>un,measure:()=>ni,nullTimer:()=>x0});var Ao,ti;function X8(e,t,r,i){return e?S0(t,r,i):x0}function S0(e,t,r){let i=0;return{enter:c,exit:l};function c(){++i===1&&un(t)}function l(){--i===0?(un(r),ni(e,t,r)):i<0&&N.fail("enter/exit count does not match.")}}var x0={enter:nr,exit:nr},Oo=!1,P0=Fr(),Lo=new Map,Ls=new Map,No=new Map;function un(e){if(Oo){const t=Ls.get(e)??0;Ls.set(e,t+1),Lo.set(e,Fr()),ti?.mark(e),typeof onProfilerEvent=="function"&&onProfilerEvent(e)}}function ni(e,t,r){if(Oo){const i=(r!==void 0?Lo.get(r):void 0)??Fr(),c=(t!==void 0?Lo.get(t):void 0)??P0,l=No.get(e)||0;No.set(e,l+(i-c)),ti?.measure(e,t,r)}}function Y8(e){return Ls.get(e)||0}function Z8(e){return No.get(e)||0}function K8(e){No.forEach((t,r)=>e(r,t))}function ey(e){Lo.forEach((t,r)=>e(r))}function ty(e){e!==void 0?No.delete(e):No.clear(),ti?.clearMeasures(e)}function ny(e){e!==void 0?(Ls.delete(e),Lo.delete(e)):(Ls.clear(),Lo.clear()),ti?.clearMarks(e)}function ry(){return Oo}function iy(e=jo){var t;return Oo||(Oo=!0,Ao||(Ao=$8()),Ao?.performance&&(P0=Ao.performance.timeOrigin,(Ao.shouldWriteNativeEvents||(t=e?.cpuProfilingEnabled)!=null&&t.call(e)||e?.debugMode)&&(ti=Ao.performance))),!0}function oy(){Oo&&(Lo.clear(),Ls.clear(),No.clear(),ti=void 0,Oo=!1)}var Vr,I0;(e=>{let t,r=0,i=0,c;const l=[];let p;const g=[];function a(V,D,Z){if(N.assert(!Vr,"Tracing already started"),t===void 0)try{t=require("fs")}catch(ye){throw new Error(`tracing requires having fs
27
+ (original error: ${ye.message||ye})`)}c=V,l.length=0,p===void 0&&(p=ut(D,"legend.json")),t.existsSync(D)||t.mkdirSync(D,{recursive:!0});const he=c==="build"?`.${process.pid}-${++r}`:c==="server"?`.${process.pid}`:"",pe=ut(D,`trace${he}.json`),be=ut(D,`types${he}.json`);g.push({configFilePath:Z,tracePath:pe,typesPath:be}),i=t.openSync(pe,"w"),Vr=e;const De={cat:"__metadata",ph:"M",ts:1e3*Fr(),pid:1,tid:1};t.writeSync(i,`[
28
+ `+[{name:"process_name",args:{name:"tsc"},...De},{name:"thread_name",args:{name:"Main"},...De},{name:"TracingStartedInBrowser",...De,cat:"disabled-by-default-devtools.timeline"}].map(ye=>JSON.stringify(ye)).join(`,
29
+ `))}e.startTracing=a;function b(){N.assert(Vr,"Tracing is not in progress"),N.assert(!!l.length==(c!=="server")),t.writeSync(i,`
30
+ ]
31
+ `),t.closeSync(i),Vr=void 0,l.length?te(l):g[g.length-1].typesPath=void 0}e.stopTracing=b;function d(V){c!=="server"&&l.push(V)}e.recordType=d;let E;(V=>{V.Parse="parse",V.Program="program",V.Bind="bind",V.Check="check",V.CheckTypes="checkTypes",V.Emit="emit",V.Session="session"})(E=e.Phase||(e.Phase={}));function T(V,D,Z){x("I",V,D,Z,'"s":"g"')}e.instant=T;const C=[];function S(V,D,Z,he=!1){he&&x("B",V,D,Z),C.push({phase:V,name:D,args:Z,time:1e3*Fr(),separateBeginAndEnd:he})}e.push=S;function j(V){N.assert(C.length>0),U(C.length-1,1e3*Fr(),V),C.length--}e.pop=j;function L(){const V=1e3*Fr();for(let D=C.length-1;D>=0;D--)U(D,V);C.length=0}e.popAll=L;const A=1e3*10;function U(V,D,Z){const{phase:he,name:pe,args:be,time:De,separateBeginAndEnd:ye}=C[V];ye?(N.assert(!Z,"`results` are not supported for events with `separateBeginAndEnd`"),x("E",he,pe,be,void 0,D)):A-De%A<=D-De&&x("X",he,pe,{...be,results:Z},`"dur":${D-De}`,De)}function x(V,D,Z,he,pe,be=1e3*Fr()){c==="server"&&D==="checkTypes"||(un("beginTracing"),t.writeSync(i,`,
32
+ {"pid":1,"tid":1,"ph":"${V}","cat":"${D}","ts":${be},"name":"${Z}"`),pe&&t.writeSync(i,`,${pe}`),he&&t.writeSync(i,`,"args":${JSON.stringify(he)}`),t.writeSync(i,"}"),un("endTracing"),ni("Tracing","beginTracing","endTracing"))}function F(V){const D=zr(V);return D?{path:D.path,start:Z(Bo(D,V.pos)),end:Z(Bo(D,V.end))}:void 0;function Z(he){return{line:he.line+1,character:he.character+1}}}function te(V){var D,Z,he,pe,be,De,ye,se,Ae,Ue,Pe,kt,_t,ve,Je,Ie,M,ge,Le;un("beginDumpTypes");const qe=g[g.length-1].typesPath,ue=t.openSync(qe,"w"),Se=new Map;t.writeSync(ue,"[");const Te=V.length;for(let Xe=0;Xe<Te;Xe++){const xe=V[Xe],pt=xe.objectFlags,Ke=xe.aliasSymbol??xe.symbol;let gt;if(pt&16|xe.flags&15360)try{gt=(D=xe.checker)==null?void 0:D.typeToString(xe)}catch{gt=void 0}let it={};if(xe.flags&33554432){const ht=xe;it={indexedAccessObjectType:(Z=ht.objectType)==null?void 0:Z.id,indexedAccessIndexType:(he=ht.indexType)==null?void 0:he.id}}let wt={};if(pt&4){const ht=xe;wt={instantiatedType:(pe=ht.target)==null?void 0:pe.id,typeArguments:(be=ht.resolvedTypeArguments)==null?void 0:be.map(We=>We.id),referenceLocation:F(ht.node)}}let $t={};if(xe.flags&67108864){const ht=xe;$t={conditionalCheckType:(De=ht.checkType)==null?void 0:De.id,conditionalExtendsType:(ye=ht.extendsType)==null?void 0:ye.id,conditionalTrueType:((se=ht.resolvedTrueType)==null?void 0:se.id)??-1,conditionalFalseType:((Ae=ht.resolvedFalseType)==null?void 0:Ae.id)??-1}}let Xn={};if(xe.flags&16777216){const ht=xe;Xn={substitutionBaseType:(Ue=ht.baseType)==null?void 0:Ue.id,constraintType:(Pe=ht.constraint)==null?void 0:Pe.id}}let lr={};if(pt&1024){const ht=xe;lr={reverseMappedSourceType:(kt=ht.source)==null?void 0:kt.id,reverseMappedMappedType:(_t=ht.mappedType)==null?void 0:_t.id,reverseMappedConstraintType:(ve=ht.constraintType)==null?void 0:ve.id}}let _r={};if(pt&256){const ht=xe;_r={evolvingArrayElementType:ht.elementType.id,evolvingArrayFinalType:(Je=ht.finalArrayType)==null?void 0:Je.id}}let bn;const jn=xe.checker.getRecursionIdentity(xe);jn&&(bn=Se.get(jn),bn||(bn=Se.size,Se.set(jn,bn)));const Lr={id:xe.id,intrinsicName:xe.intrinsicName,symbolName:Ke?.escapedName&&Fo(Ke.escapedName),recursionId:bn,isTuple:pt&8?!0:void 0,unionTypes:xe.flags&134217728?(Ie=xe.types)==null?void 0:Ie.map(ht=>ht.id):void 0,intersectionTypes:xe.flags&268435456?xe.types.map(ht=>ht.id):void 0,aliasTypeArguments:(M=xe.aliasTypeArguments)==null?void 0:M.map(ht=>ht.id),keyofType:xe.flags&2097152?(ge=xe.type)==null?void 0:ge.id:void 0,...it,...wt,...$t,...Xn,...lr,..._r,destructuringPattern:F(xe.pattern),firstDeclaration:F((Le=Ke?.declarations)==null?void 0:Le[0]),flags:N.formatTypeFlags(xe.flags).split("|"),display:gt};t.writeSync(ue,JSON.stringify(Lr)),Xe<Te-1&&t.writeSync(ue,`,
33
+ `)}t.writeSync(ue,`]
34
+ `),t.closeSync(ue),un("endDumpTypes"),ni("Dump types","beginDumpTypes","endDumpTypes")}function J(){p&&t.writeFileSync(p,JSON.stringify(g))}e.dumpLegend=J})(I0||(I0={}));var Sf=(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.NonTextFileMarkerTrivia=8]="NonTextFileMarkerTrivia",e[e.NumericLiteral=9]="NumericLiteral",e[e.BigIntLiteral=10]="BigIntLiteral",e[e.StringLiteral=11]="StringLiteral",e[e.JsxText=12]="JsxText",e[e.JsxTextAllWhiteSpaces=13]="JsxTextAllWhiteSpaces",e[e.RegularExpressionLiteral=14]="RegularExpressionLiteral",e[e.NoSubstitutionTemplateLiteral=15]="NoSubstitutionTemplateLiteral",e[e.TemplateHead=16]="TemplateHead",e[e.TemplateMiddle=17]="TemplateMiddle",e[e.TemplateTail=18]="TemplateTail",e[e.OpenBraceToken=19]="OpenBraceToken",e[e.CloseBraceToken=20]="CloseBraceToken",e[e.OpenParenToken=21]="OpenParenToken",e[e.CloseParenToken=22]="CloseParenToken",e[e.OpenBracketToken=23]="OpenBracketToken",e[e.CloseBracketToken=24]="CloseBracketToken",e[e.DotToken=25]="DotToken",e[e.DotDotDotToken=26]="DotDotDotToken",e[e.SemicolonToken=27]="SemicolonToken",e[e.CommaToken=28]="CommaToken",e[e.QuestionDotToken=29]="QuestionDotToken",e[e.LessThanToken=30]="LessThanToken",e[e.LessThanSlashToken=31]="LessThanSlashToken",e[e.GreaterThanToken=32]="GreaterThanToken",e[e.LessThanEqualsToken=33]="LessThanEqualsToken",e[e.GreaterThanEqualsToken=34]="GreaterThanEqualsToken",e[e.EqualsEqualsToken=35]="EqualsEqualsToken",e[e.ExclamationEqualsToken=36]="ExclamationEqualsToken",e[e.EqualsEqualsEqualsToken=37]="EqualsEqualsEqualsToken",e[e.ExclamationEqualsEqualsToken=38]="ExclamationEqualsEqualsToken",e[e.EqualsGreaterThanToken=39]="EqualsGreaterThanToken",e[e.PlusToken=40]="PlusToken",e[e.MinusToken=41]="MinusToken",e[e.AsteriskToken=42]="AsteriskToken",e[e.AsteriskAsteriskToken=43]="AsteriskAsteriskToken",e[e.SlashToken=44]="SlashToken",e[e.PercentToken=45]="PercentToken",e[e.PlusPlusToken=46]="PlusPlusToken",e[e.MinusMinusToken=47]="MinusMinusToken",e[e.LessThanLessThanToken=48]="LessThanLessThanToken",e[e.GreaterThanGreaterThanToken=49]="GreaterThanGreaterThanToken",e[e.GreaterThanGreaterThanGreaterThanToken=50]="GreaterThanGreaterThanGreaterThanToken",e[e.AmpersandToken=51]="AmpersandToken",e[e.BarToken=52]="BarToken",e[e.CaretToken=53]="CaretToken",e[e.ExclamationToken=54]="ExclamationToken",e[e.TildeToken=55]="TildeToken",e[e.AmpersandAmpersandToken=56]="AmpersandAmpersandToken",e[e.BarBarToken=57]="BarBarToken",e[e.QuestionToken=58]="QuestionToken",e[e.ColonToken=59]="ColonToken",e[e.AtToken=60]="AtToken",e[e.QuestionQuestionToken=61]="QuestionQuestionToken",e[e.BacktickToken=62]="BacktickToken",e[e.HashToken=63]="HashToken",e[e.EqualsToken=64]="EqualsToken",e[e.PlusEqualsToken=65]="PlusEqualsToken",e[e.MinusEqualsToken=66]="MinusEqualsToken",e[e.AsteriskEqualsToken=67]="AsteriskEqualsToken",e[e.AsteriskAsteriskEqualsToken=68]="AsteriskAsteriskEqualsToken",e[e.SlashEqualsToken=69]="SlashEqualsToken",e[e.PercentEqualsToken=70]="PercentEqualsToken",e[e.LessThanLessThanEqualsToken=71]="LessThanLessThanEqualsToken",e[e.GreaterThanGreaterThanEqualsToken=72]="GreaterThanGreaterThanEqualsToken",e[e.GreaterThanGreaterThanGreaterThanEqualsToken=73]="GreaterThanGreaterThanGreaterThanEqualsToken",e[e.AmpersandEqualsToken=74]="AmpersandEqualsToken",e[e.BarEqualsToken=75]="BarEqualsToken",e[e.BarBarEqualsToken=76]="BarBarEqualsToken",e[e.AmpersandAmpersandEqualsToken=77]="AmpersandAmpersandEqualsToken",e[e.QuestionQuestionEqualsToken=78]="QuestionQuestionEqualsToken",e[e.CaretEqualsToken=79]="CaretEqualsToken",e[e.Identifier=80]="Identifier",e[e.PrivateIdentifier=81]="PrivateIdentifier",e[e.JSDocCommentTextToken=82]="JSDocCommentTextToken",e[e.BreakKeyword=83]="BreakKeyword",e[e.CaseKeyword=84]="CaseKeyword",e[e.CatchKeyword=85]="CatchKeyword",e[e.ClassKeyword=86]="ClassKeyword",e[e.ConstKeyword=87]="ConstKeyword",e[e.ContinueKeyword=88]="ContinueKeyword",e[e.DebuggerKeyword=89]="DebuggerKeyword",e[e.DefaultKeyword=90]="DefaultKeyword",e[e.DeleteKeyword=91]="DeleteKeyword",e[e.DoKeyword=92]="DoKeyword",e[e.ElseKeyword=93]="ElseKeyword",e[e.EnumKeyword=94]="EnumKeyword",e[e.ExportKeyword=95]="ExportKeyword",e[e.ExtendsKeyword=96]="ExtendsKeyword",e[e.FalseKeyword=97]="FalseKeyword",e[e.FinallyKeyword=98]="FinallyKeyword",e[e.ForKeyword=99]="ForKeyword",e[e.FunctionKeyword=100]="FunctionKeyword",e[e.IfKeyword=101]="IfKeyword",e[e.ImportKeyword=102]="ImportKeyword",e[e.InKeyword=103]="InKeyword",e[e.InstanceOfKeyword=104]="InstanceOfKeyword",e[e.NewKeyword=105]="NewKeyword",e[e.NullKeyword=106]="NullKeyword",e[e.ReturnKeyword=107]="ReturnKeyword",e[e.SuperKeyword=108]="SuperKeyword",e[e.SwitchKeyword=109]="SwitchKeyword",e[e.ThisKeyword=110]="ThisKeyword",e[e.ThrowKeyword=111]="ThrowKeyword",e[e.TrueKeyword=112]="TrueKeyword",e[e.TryKeyword=113]="TryKeyword",e[e.TypeOfKeyword=114]="TypeOfKeyword",e[e.VarKeyword=115]="VarKeyword",e[e.VoidKeyword=116]="VoidKeyword",e[e.WhileKeyword=117]="WhileKeyword",e[e.WithKeyword=118]="WithKeyword",e[e.ImplementsKeyword=119]="ImplementsKeyword",e[e.InterfaceKeyword=120]="InterfaceKeyword",e[e.LetKeyword=121]="LetKeyword",e[e.PackageKeyword=122]="PackageKeyword",e[e.PrivateKeyword=123]="PrivateKeyword",e[e.ProtectedKeyword=124]="ProtectedKeyword",e[e.PublicKeyword=125]="PublicKeyword",e[e.StaticKeyword=126]="StaticKeyword",e[e.YieldKeyword=127]="YieldKeyword",e[e.AbstractKeyword=128]="AbstractKeyword",e[e.AccessorKeyword=129]="AccessorKeyword",e[e.AsKeyword=130]="AsKeyword",e[e.AssertsKeyword=131]="AssertsKeyword",e[e.AssertKeyword=132]="AssertKeyword",e[e.AnyKeyword=133]="AnyKeyword",e[e.AsyncKeyword=134]="AsyncKeyword",e[e.AwaitKeyword=135]="AwaitKeyword",e[e.BooleanKeyword=136]="BooleanKeyword",e[e.ConstructorKeyword=137]="ConstructorKeyword",e[e.DeclareKeyword=138]="DeclareKeyword",e[e.GetKeyword=139]="GetKeyword",e[e.InferKeyword=140]="InferKeyword",e[e.IntrinsicKeyword=141]="IntrinsicKeyword",e[e.IsKeyword=142]="IsKeyword",e[e.KeyOfKeyword=143]="KeyOfKeyword",e[e.ModuleKeyword=144]="ModuleKeyword",e[e.NamespaceKeyword=145]="NamespaceKeyword",e[e.NeverKeyword=146]="NeverKeyword",e[e.OutKeyword=147]="OutKeyword",e[e.ReadonlyKeyword=148]="ReadonlyKeyword",e[e.RequireKeyword=149]="RequireKeyword",e[e.NumberKeyword=150]="NumberKeyword",e[e.ObjectKeyword=151]="ObjectKeyword",e[e.SatisfiesKeyword=152]="SatisfiesKeyword",e[e.SetKeyword=153]="SetKeyword",e[e.StringKeyword=154]="StringKeyword",e[e.SymbolKeyword=155]="SymbolKeyword",e[e.TypeKeyword=156]="TypeKeyword",e[e.UndefinedKeyword=157]="UndefinedKeyword",e[e.UniqueKeyword=158]="UniqueKeyword",e[e.UnknownKeyword=159]="UnknownKeyword",e[e.UsingKeyword=160]="UsingKeyword",e[e.FromKeyword=161]="FromKeyword",e[e.GlobalKeyword=162]="GlobalKeyword",e[e.BigIntKeyword=163]="BigIntKeyword",e[e.OverrideKeyword=164]="OverrideKeyword",e[e.OfKeyword=165]="OfKeyword",e[e.DeferKeyword=166]="DeferKeyword",e[e.QualifiedName=167]="QualifiedName",e[e.ComputedPropertyName=168]="ComputedPropertyName",e[e.TypeParameter=169]="TypeParameter",e[e.Parameter=170]="Parameter",e[e.Decorator=171]="Decorator",e[e.PropertySignature=172]="PropertySignature",e[e.PropertyDeclaration=173]="PropertyDeclaration",e[e.MethodSignature=174]="MethodSignature",e[e.MethodDeclaration=175]="MethodDeclaration",e[e.ClassStaticBlockDeclaration=176]="ClassStaticBlockDeclaration",e[e.Constructor=177]="Constructor",e[e.GetAccessor=178]="GetAccessor",e[e.SetAccessor=179]="SetAccessor",e[e.CallSignature=180]="CallSignature",e[e.ConstructSignature=181]="ConstructSignature",e[e.IndexSignature=182]="IndexSignature",e[e.TypePredicate=183]="TypePredicate",e[e.TypeReference=184]="TypeReference",e[e.FunctionType=185]="FunctionType",e[e.ConstructorType=186]="ConstructorType",e[e.TypeQuery=187]="TypeQuery",e[e.TypeLiteral=188]="TypeLiteral",e[e.ArrayType=189]="ArrayType",e[e.TupleType=190]="TupleType",e[e.OptionalType=191]="OptionalType",e[e.RestType=192]="RestType",e[e.UnionType=193]="UnionType",e[e.IntersectionType=194]="IntersectionType",e[e.ConditionalType=195]="ConditionalType",e[e.InferType=196]="InferType",e[e.ParenthesizedType=197]="ParenthesizedType",e[e.ThisType=198]="ThisType",e[e.TypeOperator=199]="TypeOperator",e[e.IndexedAccessType=200]="IndexedAccessType",e[e.MappedType=201]="MappedType",e[e.LiteralType=202]="LiteralType",e[e.NamedTupleMember=203]="NamedTupleMember",e[e.TemplateLiteralType=204]="TemplateLiteralType",e[e.TemplateLiteralTypeSpan=205]="TemplateLiteralTypeSpan",e[e.ImportType=206]="ImportType",e[e.ObjectBindingPattern=207]="ObjectBindingPattern",e[e.ArrayBindingPattern=208]="ArrayBindingPattern",e[e.BindingElement=209]="BindingElement",e[e.ArrayLiteralExpression=210]="ArrayLiteralExpression",e[e.ObjectLiteralExpression=211]="ObjectLiteralExpression",e[e.PropertyAccessExpression=212]="PropertyAccessExpression",e[e.ElementAccessExpression=213]="ElementAccessExpression",e[e.CallExpression=214]="CallExpression",e[e.NewExpression=215]="NewExpression",e[e.TaggedTemplateExpression=216]="TaggedTemplateExpression",e[e.TypeAssertionExpression=217]="TypeAssertionExpression",e[e.ParenthesizedExpression=218]="ParenthesizedExpression",e[e.FunctionExpression=219]="FunctionExpression",e[e.ArrowFunction=220]="ArrowFunction",e[e.DeleteExpression=221]="DeleteExpression",e[e.TypeOfExpression=222]="TypeOfExpression",e[e.VoidExpression=223]="VoidExpression",e[e.AwaitExpression=224]="AwaitExpression",e[e.PrefixUnaryExpression=225]="PrefixUnaryExpression",e[e.PostfixUnaryExpression=226]="PostfixUnaryExpression",e[e.BinaryExpression=227]="BinaryExpression",e[e.ConditionalExpression=228]="ConditionalExpression",e[e.TemplateExpression=229]="TemplateExpression",e[e.YieldExpression=230]="YieldExpression",e[e.SpreadElement=231]="SpreadElement",e[e.ClassExpression=232]="ClassExpression",e[e.OmittedExpression=233]="OmittedExpression",e[e.ExpressionWithTypeArguments=234]="ExpressionWithTypeArguments",e[e.AsExpression=235]="AsExpression",e[e.NonNullExpression=236]="NonNullExpression",e[e.MetaProperty=237]="MetaProperty",e[e.SyntheticExpression=238]="SyntheticExpression",e[e.SatisfiesExpression=239]="SatisfiesExpression",e[e.TemplateSpan=240]="TemplateSpan",e[e.SemicolonClassElement=241]="SemicolonClassElement",e[e.Block=242]="Block",e[e.EmptyStatement=243]="EmptyStatement",e[e.VariableStatement=244]="VariableStatement",e[e.ExpressionStatement=245]="ExpressionStatement",e[e.IfStatement=246]="IfStatement",e[e.DoStatement=247]="DoStatement",e[e.WhileStatement=248]="WhileStatement",e[e.ForStatement=249]="ForStatement",e[e.ForInStatement=250]="ForInStatement",e[e.ForOfStatement=251]="ForOfStatement",e[e.ContinueStatement=252]="ContinueStatement",e[e.BreakStatement=253]="BreakStatement",e[e.ReturnStatement=254]="ReturnStatement",e[e.WithStatement=255]="WithStatement",e[e.SwitchStatement=256]="SwitchStatement",e[e.LabeledStatement=257]="LabeledStatement",e[e.ThrowStatement=258]="ThrowStatement",e[e.TryStatement=259]="TryStatement",e[e.DebuggerStatement=260]="DebuggerStatement",e[e.VariableDeclaration=261]="VariableDeclaration",e[e.VariableDeclarationList=262]="VariableDeclarationList",e[e.FunctionDeclaration=263]="FunctionDeclaration",e[e.ClassDeclaration=264]="ClassDeclaration",e[e.InterfaceDeclaration=265]="InterfaceDeclaration",e[e.TypeAliasDeclaration=266]="TypeAliasDeclaration",e[e.EnumDeclaration=267]="EnumDeclaration",e[e.ModuleDeclaration=268]="ModuleDeclaration",e[e.ModuleBlock=269]="ModuleBlock",e[e.CaseBlock=270]="CaseBlock",e[e.NamespaceExportDeclaration=271]="NamespaceExportDeclaration",e[e.ImportEqualsDeclaration=272]="ImportEqualsDeclaration",e[e.ImportDeclaration=273]="ImportDeclaration",e[e.ImportClause=274]="ImportClause",e[e.NamespaceImport=275]="NamespaceImport",e[e.NamedImports=276]="NamedImports",e[e.ImportSpecifier=277]="ImportSpecifier",e[e.ExportAssignment=278]="ExportAssignment",e[e.ExportDeclaration=279]="ExportDeclaration",e[e.NamedExports=280]="NamedExports",e[e.NamespaceExport=281]="NamespaceExport",e[e.ExportSpecifier=282]="ExportSpecifier",e[e.MissingDeclaration=283]="MissingDeclaration",e[e.ExternalModuleReference=284]="ExternalModuleReference",e[e.JsxElement=285]="JsxElement",e[e.JsxSelfClosingElement=286]="JsxSelfClosingElement",e[e.JsxOpeningElement=287]="JsxOpeningElement",e[e.JsxClosingElement=288]="JsxClosingElement",e[e.JsxFragment=289]="JsxFragment",e[e.JsxOpeningFragment=290]="JsxOpeningFragment",e[e.JsxClosingFragment=291]="JsxClosingFragment",e[e.JsxAttribute=292]="JsxAttribute",e[e.JsxAttributes=293]="JsxAttributes",e[e.JsxSpreadAttribute=294]="JsxSpreadAttribute",e[e.JsxExpression=295]="JsxExpression",e[e.JsxNamespacedName=296]="JsxNamespacedName",e[e.CaseClause=297]="CaseClause",e[e.DefaultClause=298]="DefaultClause",e[e.HeritageClause=299]="HeritageClause",e[e.CatchClause=300]="CatchClause",e[e.ImportAttributes=301]="ImportAttributes",e[e.ImportAttribute=302]="ImportAttribute",e[e.AssertClause=301]="AssertClause",e[e.AssertEntry=302]="AssertEntry",e[e.ImportTypeAssertionContainer=303]="ImportTypeAssertionContainer",e[e.PropertyAssignment=304]="PropertyAssignment",e[e.ShorthandPropertyAssignment=305]="ShorthandPropertyAssignment",e[e.SpreadAssignment=306]="SpreadAssignment",e[e.EnumMember=307]="EnumMember",e[e.SourceFile=308]="SourceFile",e[e.Bundle=309]="Bundle",e[e.JSDocTypeExpression=310]="JSDocTypeExpression",e[e.JSDocNameReference=311]="JSDocNameReference",e[e.JSDocMemberName=312]="JSDocMemberName",e[e.JSDocAllType=313]="JSDocAllType",e[e.JSDocUnknownType=314]="JSDocUnknownType",e[e.JSDocNullableType=315]="JSDocNullableType",e[e.JSDocNonNullableType=316]="JSDocNonNullableType",e[e.JSDocOptionalType=317]="JSDocOptionalType",e[e.JSDocFunctionType=318]="JSDocFunctionType",e[e.JSDocVariadicType=319]="JSDocVariadicType",e[e.JSDocNamepathType=320]="JSDocNamepathType",e[e.JSDoc=321]="JSDoc",e[e.JSDocComment=321]="JSDocComment",e[e.JSDocText=322]="JSDocText",e[e.JSDocTypeLiteral=323]="JSDocTypeLiteral",e[e.JSDocSignature=324]="JSDocSignature",e[e.JSDocLink=325]="JSDocLink",e[e.JSDocLinkCode=326]="JSDocLinkCode",e[e.JSDocLinkPlain=327]="JSDocLinkPlain",e[e.JSDocTag=328]="JSDocTag",e[e.JSDocAugmentsTag=329]="JSDocAugmentsTag",e[e.JSDocImplementsTag=330]="JSDocImplementsTag",e[e.JSDocAuthorTag=331]="JSDocAuthorTag",e[e.JSDocDeprecatedTag=332]="JSDocDeprecatedTag",e[e.JSDocClassTag=333]="JSDocClassTag",e[e.JSDocPublicTag=334]="JSDocPublicTag",e[e.JSDocPrivateTag=335]="JSDocPrivateTag",e[e.JSDocProtectedTag=336]="JSDocProtectedTag",e[e.JSDocReadonlyTag=337]="JSDocReadonlyTag",e[e.JSDocOverrideTag=338]="JSDocOverrideTag",e[e.JSDocCallbackTag=339]="JSDocCallbackTag",e[e.JSDocOverloadTag=340]="JSDocOverloadTag",e[e.JSDocEnumTag=341]="JSDocEnumTag",e[e.JSDocParameterTag=342]="JSDocParameterTag",e[e.JSDocReturnTag=343]="JSDocReturnTag",e[e.JSDocThisTag=344]="JSDocThisTag",e[e.JSDocTypeTag=345]="JSDocTypeTag",e[e.JSDocTemplateTag=346]="JSDocTemplateTag",e[e.JSDocTypedefTag=347]="JSDocTypedefTag",e[e.JSDocSeeTag=348]="JSDocSeeTag",e[e.JSDocPropertyTag=349]="JSDocPropertyTag",e[e.JSDocThrowsTag=350]="JSDocThrowsTag",e[e.JSDocSatisfiesTag=351]="JSDocSatisfiesTag",e[e.JSDocImportTag=352]="JSDocImportTag",e[e.SyntaxList=353]="SyntaxList",e[e.NotEmittedStatement=354]="NotEmittedStatement",e[e.NotEmittedTypeElement=355]="NotEmittedTypeElement",e[e.PartiallyEmittedExpression=356]="PartiallyEmittedExpression",e[e.CommaListExpression=357]="CommaListExpression",e[e.SyntheticReferenceExpression=358]="SyntheticReferenceExpression",e[e.Count=359]="Count",e[e.FirstAssignment=64]="FirstAssignment",e[e.LastAssignment=79]="LastAssignment",e[e.FirstCompoundAssignment=65]="FirstCompoundAssignment",e[e.LastCompoundAssignment=79]="LastCompoundAssignment",e[e.FirstReservedWord=83]="FirstReservedWord",e[e.LastReservedWord=118]="LastReservedWord",e[e.FirstKeyword=83]="FirstKeyword",e[e.LastKeyword=166]="LastKeyword",e[e.FirstFutureReservedWord=119]="FirstFutureReservedWord",e[e.LastFutureReservedWord=127]="LastFutureReservedWord",e[e.FirstTypeNode=183]="FirstTypeNode",e[e.LastTypeNode=206]="LastTypeNode",e[e.FirstPunctuation=19]="FirstPunctuation",e[e.LastPunctuation=79]="LastPunctuation",e[e.FirstToken=0]="FirstToken",e[e.LastToken=166]="LastToken",e[e.FirstTriviaToken=2]="FirstTriviaToken",e[e.LastTriviaToken=7]="LastTriviaToken",e[e.FirstLiteralToken=9]="FirstLiteralToken",e[e.LastLiteralToken=15]="LastLiteralToken",e[e.FirstTemplateToken=15]="FirstTemplateToken",e[e.LastTemplateToken=18]="LastTemplateToken",e[e.FirstBinaryOperator=30]="FirstBinaryOperator",e[e.LastBinaryOperator=79]="LastBinaryOperator",e[e.FirstStatement=244]="FirstStatement",e[e.LastStatement=260]="LastStatement",e[e.FirstNode=167]="FirstNode",e[e.FirstJSDocNode=310]="FirstJSDocNode",e[e.LastJSDocNode=352]="LastJSDocNode",e[e.FirstJSDocTagNode=328]="FirstJSDocTagNode",e[e.LastJSDocTagNode=352]="LastJSDocTagNode",e[e.FirstContextualKeyword=128]="FirstContextualKeyword",e[e.LastContextualKeyword=166]="LastContextualKeyword",e))(Sf||{}),xf=(e=>(e[e.None=0]="None",e[e.Let=1]="Let",e[e.Const=2]="Const",e[e.Using=4]="Using",e[e.AwaitUsing=6]="AwaitUsing",e[e.NestedNamespace=8]="NestedNamespace",e[e.Synthesized=16]="Synthesized",e[e.Namespace=32]="Namespace",e[e.OptionalChain=64]="OptionalChain",e[e.ExportContext=128]="ExportContext",e[e.ContainsThis=256]="ContainsThis",e[e.HasImplicitReturn=512]="HasImplicitReturn",e[e.HasExplicitReturn=1024]="HasExplicitReturn",e[e.GlobalAugmentation=2048]="GlobalAugmentation",e[e.HasAsyncFunctions=4096]="HasAsyncFunctions",e[e.DisallowInContext=8192]="DisallowInContext",e[e.YieldContext=16384]="YieldContext",e[e.DecoratorContext=32768]="DecoratorContext",e[e.AwaitContext=65536]="AwaitContext",e[e.DisallowConditionalTypesContext=131072]="DisallowConditionalTypesContext",e[e.ThisNodeHasError=262144]="ThisNodeHasError",e[e.JavaScriptFile=524288]="JavaScriptFile",e[e.ThisNodeOrAnySubNodesHasError=1048576]="ThisNodeOrAnySubNodesHasError",e[e.HasAggregatedChildData=2097152]="HasAggregatedChildData",e[e.PossiblyContainsDynamicImport=4194304]="PossiblyContainsDynamicImport",e[e.PossiblyContainsImportMeta=8388608]="PossiblyContainsImportMeta",e[e.JSDoc=16777216]="JSDoc",e[e.Ambient=33554432]="Ambient",e[e.InWithStatement=67108864]="InWithStatement",e[e.JsonFile=134217728]="JsonFile",e[e.TypeCached=268435456]="TypeCached",e[e.Deprecated=536870912]="Deprecated",e[e.Unreachable=1073741824]="Unreachable",e[e.BlockScoped=7]="BlockScoped",e[e.Constant=6]="Constant",e[e.ReachabilityCheckFlags=1536]="ReachabilityCheckFlags",e[e.ReachabilityAndEmitFlags=5632]="ReachabilityAndEmitFlags",e[e.ContextFlags=101441536]="ContextFlags",e[e.TypeExcludesFlags=81920]="TypeExcludesFlags",e[e.PermanentlySetIncrementalFlags=12582912]="PermanentlySetIncrementalFlags",e[e.IdentifierHasExtendedUnicodeEscape=256]="IdentifierHasExtendedUnicodeEscape",e[e.IdentifierIsInJSDocNamespace=4096]="IdentifierIsInJSDocNamespace",e))(xf||{}),Pf=(e=>(e[e.None=0]="None",e[e.Public=1]="Public",e[e.Private=2]="Private",e[e.Protected=4]="Protected",e[e.Readonly=8]="Readonly",e[e.Override=16]="Override",e[e.Export=32]="Export",e[e.Abstract=64]="Abstract",e[e.Ambient=128]="Ambient",e[e.Static=256]="Static",e[e.Accessor=512]="Accessor",e[e.Async=1024]="Async",e[e.Default=2048]="Default",e[e.Const=4096]="Const",e[e.In=8192]="In",e[e.Out=16384]="Out",e[e.Decorator=32768]="Decorator",e[e.Deprecated=65536]="Deprecated",e[e.JSDocPublic=8388608]="JSDocPublic",e[e.JSDocPrivate=16777216]="JSDocPrivate",e[e.JSDocProtected=33554432]="JSDocProtected",e[e.JSDocReadonly=67108864]="JSDocReadonly",e[e.JSDocOverride=134217728]="JSDocOverride",e[e.SyntacticOrJSDocModifiers=31]="SyntacticOrJSDocModifiers",e[e.SyntacticOnlyModifiers=65504]="SyntacticOnlyModifiers",e[e.SyntacticModifiers=65535]="SyntacticModifiers",e[e.JSDocCacheOnlyModifiers=260046848]="JSDocCacheOnlyModifiers",e[e.JSDocOnlyModifiers=65536]="JSDocOnlyModifiers",e[e.NonCacheOnlyModifiers=131071]="NonCacheOnlyModifiers",e[e.HasComputedJSDocModifiers=268435456]="HasComputedJSDocModifiers",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AccessibilityModifier=7]="AccessibilityModifier",e[e.ParameterPropertyModifier=31]="ParameterPropertyModifier",e[e.NonPublicAccessibilityModifier=6]="NonPublicAccessibilityModifier",e[e.TypeScriptModifier=28895]="TypeScriptModifier",e[e.ExportDefault=2080]="ExportDefault",e[e.All=131071]="All",e[e.Modifier=98303]="Modifier",e))(Pf||{}),A0=(e=>(e[e.None=0]="None",e[e.Succeeded=1]="Succeeded",e[e.Failed=2]="Failed",e[e.ReportsUnmeasurable=8]="ReportsUnmeasurable",e[e.ReportsUnreliable=16]="ReportsUnreliable",e[e.ReportsMask=24]="ReportsMask",e[e.ComplexityOverflow=32]="ComplexityOverflow",e[e.StackDepthOverflow=64]="StackDepthOverflow",e[e.Overflow=96]="Overflow",e))(A0||{}),xm=(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.ContainsInvalidEscape=2048]="ContainsInvalidEscape",e[e.HexEscape=4096]="HexEscape",e[e.ContainsLeadingZero=8192]="ContainsLeadingZero",e[e.ContainsInvalidSeparator=16384]="ContainsInvalidSeparator",e[e.PrecedingJSDocLeadingAsterisks=32768]="PrecedingJSDocLeadingAsterisks",e[e.BinaryOrOctalSpecifier=384]="BinaryOrOctalSpecifier",e[e.WithSpecifier=448]="WithSpecifier",e[e.StringLiteralFlags=7176]="StringLiteralFlags",e[e.NumericLiteralFlags=25584]="NumericLiteralFlags",e[e.TemplateLiteralLikeFlags=7176]="TemplateLiteralLikeFlags",e[e.IsInvalid=26656]="IsInvalid",e))(xm||{}),zd=(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.ReduceLabel=1024]="ReduceLabel",e[e.Referenced=2048]="Referenced",e[e.Shared=4096]="Shared",e[e.Label=12]="Label",e[e.Condition=96]="Condition",e))(zd||{}),O0=(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=-1]="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.AccessorExcludes=13247]="AccessorExcludes",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))(O0||{}),L0=(e=>(e[e.None=0]="None",e[e.TypeChecked=1]="TypeChecked",e[e.LexicalThis=2]="LexicalThis",e[e.CaptureThis=4]="CaptureThis",e[e.CaptureNewTarget=8]="CaptureNewTarget",e[e.SuperInstance=16]="SuperInstance",e[e.SuperStatic=32]="SuperStatic",e[e.ContextChecked=64]="ContextChecked",e[e.MethodWithSuperPropertyAccessInAsync=128]="MethodWithSuperPropertyAccessInAsync",e[e.MethodWithSuperPropertyAssignmentInAsync=256]="MethodWithSuperPropertyAssignmentInAsync",e[e.CaptureArguments=512]="CaptureArguments",e[e.EnumValuesComputed=1024]="EnumValuesComputed",e[e.LexicalModuleMergesWithClass=2048]="LexicalModuleMergesWithClass",e[e.LoopWithCapturedBlockScopedBinding=4096]="LoopWithCapturedBlockScopedBinding",e[e.ContainsCapturedBlockScopeBinding=8192]="ContainsCapturedBlockScopeBinding",e[e.CapturedBlockScopedBinding=16384]="CapturedBlockScopedBinding",e[e.BlockScopedBindingInLoop=32768]="BlockScopedBindingInLoop",e[e.NeedsLoopOutParameter=65536]="NeedsLoopOutParameter",e[e.AssignmentsMarked=131072]="AssignmentsMarked",e[e.ContainsConstructorReference=262144]="ContainsConstructorReference",e[e.ConstructorReference=536870912]="ConstructorReference",e[e.ContainsClassWithPrivateIdentifiers=1048576]="ContainsClassWithPrivateIdentifiers",e[e.ContainsSuperPropertyInStaticInitializer=2097152]="ContainsSuperPropertyInStaticInitializer",e[e.InCheckIdentifier=4194304]="InCheckIdentifier",e[e.PartiallyTypeChecked=8388608]="PartiallyTypeChecked",e[e.LazyFlags=539358128]="LazyFlags",e))(L0||{}),N0=(e=>(e[e.Any=1]="Any",e[e.Unknown=2]="Unknown",e[e.Undefined=4]="Undefined",e[e.Null=8]="Null",e[e.Void=16]="Void",e[e.String=32]="String",e[e.Number=64]="Number",e[e.BigInt=128]="BigInt",e[e.Boolean=256]="Boolean",e[e.ESSymbol=512]="ESSymbol",e[e.StringLiteral=1024]="StringLiteral",e[e.NumberLiteral=2048]="NumberLiteral",e[e.BigIntLiteral=4096]="BigIntLiteral",e[e.BooleanLiteral=8192]="BooleanLiteral",e[e.UniqueESSymbol=16384]="UniqueESSymbol",e[e.EnumLiteral=32768]="EnumLiteral",e[e.Enum=65536]="Enum",e[e.NonPrimitive=131072]="NonPrimitive",e[e.Never=262144]="Never",e[e.TypeParameter=524288]="TypeParameter",e[e.Object=1048576]="Object",e[e.Index=2097152]="Index",e[e.TemplateLiteral=4194304]="TemplateLiteral",e[e.StringMapping=8388608]="StringMapping",e[e.Substitution=16777216]="Substitution",e[e.IndexedAccess=33554432]="IndexedAccess",e[e.Conditional=67108864]="Conditional",e[e.Union=134217728]="Union",e[e.Intersection=268435456]="Intersection",e[e.Reserved1=536870912]="Reserved1",e[e.Reserved2=1073741824]="Reserved2",e[e.Reserved3=-2147483648]="Reserved3",e[e.AnyOrUnknown=3]="AnyOrUnknown",e[e.Nullable=12]="Nullable",e[e.Literal=15360]="Literal",e[e.Unit=97292]="Unit",e[e.Freshable=80896]="Freshable",e[e.StringOrNumberLiteral=3072]="StringOrNumberLiteral",e[e.StringOrNumberLiteralOrUnique=19456]="StringOrNumberLiteralOrUnique",e[e.DefinitelyFalsy=15388]="DefinitelyFalsy",e[e.PossiblyFalsy=15868]="PossiblyFalsy",e[e.Intrinsic=402431]="Intrinsic",e[e.StringLike=12583968]="StringLike",e[e.NumberLike=67648]="NumberLike",e[e.BigIntLike=4224]="BigIntLike",e[e.BooleanLike=8448]="BooleanLike",e[e.EnumLike=98304]="EnumLike",e[e.ESSymbolLike=16896]="ESSymbolLike",e[e.VoidLike=20]="VoidLike",e[e.Primitive=12713980]="Primitive",e[e.DefinitelyNonNullable=13893600]="DefinitelyNonNullable",e[e.DisjointDomains=12812284]="DisjointDomains",e[e.UnionOrIntersection=402653184]="UnionOrIntersection",e[e.StructuredType=403701760]="StructuredType",e[e.TypeVariable=34078720]="TypeVariable",e[e.InstantiableNonPrimitive=117964800]="InstantiableNonPrimitive",e[e.InstantiablePrimitive=14680064]="InstantiablePrimitive",e[e.Instantiable=132644864]="Instantiable",e[e.StructuredOrInstantiable=536346624]="StructuredOrInstantiable",e[e.ObjectFlagsType=403963917]="ObjectFlagsType",e[e.Simplifiable=102760448]="Simplifiable",e[e.Singleton=394239]="Singleton",e[e.Narrowable=536575971]="Narrowable",e[e.IncludesMask=416808959]="IncludesMask",e[e.IncludesMissingType=524288]="IncludesMissingType",e[e.IncludesNonWideningType=2097152]="IncludesNonWideningType",e[e.IncludesWildcard=33554432]="IncludesWildcard",e[e.IncludesEmptyObject=67108864]="IncludesEmptyObject",e[e.IncludesInstantiable=16777216]="IncludesInstantiable",e[e.IncludesConstrainedTypeVariable=536870912]="IncludesConstrainedTypeVariable",e[e.IncludesError=1073741824]="IncludesError",e[e.NotPrimitiveUnion=286523411]="NotPrimitiveUnion",e))(N0||{}),J0=(e=>(e[e.None=0]="None",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.ReverseMapped=1024]="ReverseMapped",e[e.JsxAttributes=2048]="JsxAttributes",e[e.JSLiteral=4096]="JSLiteral",e[e.FreshLiteral=8192]="FreshLiteral",e[e.ArrayLiteral=16384]="ArrayLiteral",e[e.PrimitiveUnion=32768]="PrimitiveUnion",e[e.ContainsWideningType=65536]="ContainsWideningType",e[e.ContainsObjectOrArrayLiteral=131072]="ContainsObjectOrArrayLiteral",e[e.NonInferrableType=262144]="NonInferrableType",e[e.CouldContainTypeVariablesComputed=524288]="CouldContainTypeVariablesComputed",e[e.CouldContainTypeVariables=1048576]="CouldContainTypeVariables",e[e.SingleSignatureType=134217728]="SingleSignatureType",e[e.ClassOrInterface=3]="ClassOrInterface",e[e.RequiresWidening=196608]="RequiresWidening",e[e.PropagatingFlags=458752]="PropagatingFlags",e[e.InstantiatedMapped=96]="InstantiatedMapped",e[e.ContainsSpread=2097152]="ContainsSpread",e[e.ObjectRestType=4194304]="ObjectRestType",e[e.InstantiationExpressionType=8388608]="InstantiationExpressionType",e[e.ObjectTypeKindMask=142607679]="ObjectTypeKindMask",e[e.IsClassInstanceClone=16777216]="IsClassInstanceClone",e[e.IdenticalBaseTypeCalculated=33554432]="IdenticalBaseTypeCalculated",e[e.IdenticalBaseTypeExists=67108864]="IdenticalBaseTypeExists",e[e.IsGenericTypeComputed=2097152]="IsGenericTypeComputed",e[e.IsGenericObjectType=4194304]="IsGenericObjectType",e[e.IsGenericIndexType=8388608]="IsGenericIndexType",e[e.IsGenericType=12582912]="IsGenericType",e[e.ContainsIntersections=16777216]="ContainsIntersections",e[e.IsUnknownLikeUnionComputed=33554432]="IsUnknownLikeUnionComputed",e[e.IsUnknownLikeUnion=67108864]="IsUnknownLikeUnion",e[e.IsNeverIntersectionComputed=16777216]="IsNeverIntersectionComputed",e[e.IsNeverIntersection=33554432]="IsNeverIntersection",e[e.IsConstrainedTypeVariable=67108864]="IsConstrainedTypeVariable",e))(J0||{}),j0=(e=>(e[e.None=0]="None",e[e.HasRestParameter=1]="HasRestParameter",e[e.HasLiteralTypes=2]="HasLiteralTypes",e[e.Abstract=4]="Abstract",e[e.IsInnerCallChain=8]="IsInnerCallChain",e[e.IsOuterCallChain=16]="IsOuterCallChain",e[e.IsUntypedSignatureInJSFile=32]="IsUntypedSignatureInJSFile",e[e.IsNonInferrable=64]="IsNonInferrable",e[e.IsSignatureCandidateForOverloadFailure=128]="IsSignatureCandidateForOverloadFailure",e[e.PropagatingFlags=167]="PropagatingFlags",e[e.CallChainFlags=24]="CallChainFlags",e))(j0||{}),If=(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))(If||{}),Pm=(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.ES2021=8]="ES2021",e[e.ES2022=9]="ES2022",e[e.ES2023=10]="ES2023",e[e.ES2024=11]="ES2024",e[e.ES2025=12]="ES2025",e[e.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest",e[e.LatestStandard=12]="LatestStandard",e))(Pm||{}),Im=(e=>(e[e.Standard=0]="Standard",e[e.JSX=1]="JSX",e))(Im||{}),M0=(e=>(e[e.None=0]="None",e[e.ContainsTypeScript=1]="ContainsTypeScript",e[e.ContainsJsx=2]="ContainsJsx",e[e.ContainsESNext=4]="ContainsESNext",e[e.ContainsES2022=8]="ContainsES2022",e[e.ContainsES2021=16]="ContainsES2021",e[e.ContainsES2020=32]="ContainsES2020",e[e.ContainsES2019=64]="ContainsES2019",e[e.ContainsES2018=128]="ContainsES2018",e[e.ContainsES2017=256]="ContainsES2017",e[e.ContainsES2016=512]="ContainsES2016",e[e.ContainsES2015=1024]="ContainsES2015",e[e.ContainsGenerator=2048]="ContainsGenerator",e[e.ContainsDestructuringAssignment=4096]="ContainsDestructuringAssignment",e[e.ContainsTypeScriptClassSyntax=8192]="ContainsTypeScriptClassSyntax",e[e.ContainsLexicalThis=16384]="ContainsLexicalThis",e[e.ContainsRestOrSpread=32768]="ContainsRestOrSpread",e[e.ContainsObjectRestOrSpread=65536]="ContainsObjectRestOrSpread",e[e.ContainsComputedPropertyName=131072]="ContainsComputedPropertyName",e[e.ContainsBlockScopedBinding=262144]="ContainsBlockScopedBinding",e[e.ContainsBindingPattern=524288]="ContainsBindingPattern",e[e.ContainsYield=1048576]="ContainsYield",e[e.ContainsAwait=2097152]="ContainsAwait",e[e.ContainsHoistedDeclarationOrCompletion=4194304]="ContainsHoistedDeclarationOrCompletion",e[e.ContainsDynamicImport=8388608]="ContainsDynamicImport",e[e.ContainsClassFields=16777216]="ContainsClassFields",e[e.ContainsDecorators=33554432]="ContainsDecorators",e[e.ContainsPossibleTopLevelAwait=67108864]="ContainsPossibleTopLevelAwait",e[e.ContainsLexicalSuper=134217728]="ContainsLexicalSuper",e[e.ContainsUpdateExpressionForIdentifier=268435456]="ContainsUpdateExpressionForIdentifier",e[e.ContainsPrivateIdentifierInExpression=536870912]="ContainsPrivateIdentifierInExpression",e[e.HasComputedFlags=-2147483648]="HasComputedFlags",e[e.AssertTypeScript=1]="AssertTypeScript",e[e.AssertJsx=2]="AssertJsx",e[e.AssertESNext=4]="AssertESNext",e[e.AssertES2022=8]="AssertES2022",e[e.AssertES2021=16]="AssertES2021",e[e.AssertES2020=32]="AssertES2020",e[e.AssertES2019=64]="AssertES2019",e[e.AssertES2018=128]="AssertES2018",e[e.AssertES2017=256]="AssertES2017",e[e.AssertES2016=512]="AssertES2016",e[e.AssertES2015=1024]="AssertES2015",e[e.AssertGenerator=2048]="AssertGenerator",e[e.AssertDestructuringAssignment=4096]="AssertDestructuringAssignment",e[e.OuterExpressionExcludes=-2147483648]="OuterExpressionExcludes",e[e.PropertyAccessExcludes=-2147483648]="PropertyAccessExcludes",e[e.NodeExcludes=-2147483648]="NodeExcludes",e[e.ArrowFunctionExcludes=-2072174592]="ArrowFunctionExcludes",e[e.FunctionExcludes=-1937940480]="FunctionExcludes",e[e.ConstructorExcludes=-1937948672]="ConstructorExcludes",e[e.MethodOrAccessorExcludes=-2005057536]="MethodOrAccessorExcludes",e[e.PropertyExcludes=-2013249536]="PropertyExcludes",e[e.ClassExcludes=-2147344384]="ClassExcludes",e[e.ModuleExcludes=-1941676032]="ModuleExcludes",e[e.TypeExcludes=-2]="TypeExcludes",e[e.ObjectLiteralExcludes=-2147278848]="ObjectLiteralExcludes",e[e.ArrayLiteralOrCallOrNewExcludes=-2147450880]="ArrayLiteralOrCallOrNewExcludes",e[e.VariableDeclarationListExcludes=-2146893824]="VariableDeclarationListExcludes",e[e.ParameterExcludes=-2147483648]="ParameterExcludes",e[e.CatchClauseExcludes=-2147418112]="CatchClauseExcludes",e[e.BindingPatternExcludes=-2147450880]="BindingPatternExcludes",e[e.ContainsLexicalThisOrSuper=134234112]="ContainsLexicalThisOrSuper",e[e.PropertyNamePropagatingFlags=134234112]="PropertyNamePropagatingFlags",e))(M0||{}),B0=(e=>(e[e.TabStop=0]="TabStop",e[e.Placeholder=1]="Placeholder",e[e.Choice=2]="Choice",e[e.Variable=3]="Variable",e))(B0||{}),R0=(e=>(e[e.None=0]="None",e[e.SingleLine=1]="SingleLine",e[e.MultiLine=2]="MultiLine",e[e.AdviseOnEmitNode=4]="AdviseOnEmitNode",e[e.NoSubstitution=8]="NoSubstitution",e[e.CapturesThis=16]="CapturesThis",e[e.NoLeadingSourceMap=32]="NoLeadingSourceMap",e[e.NoTrailingSourceMap=64]="NoTrailingSourceMap",e[e.NoSourceMap=96]="NoSourceMap",e[e.NoNestedSourceMaps=128]="NoNestedSourceMaps",e[e.NoTokenLeadingSourceMaps=256]="NoTokenLeadingSourceMaps",e[e.NoTokenTrailingSourceMaps=512]="NoTokenTrailingSourceMaps",e[e.NoTokenSourceMaps=768]="NoTokenSourceMaps",e[e.NoLeadingComments=1024]="NoLeadingComments",e[e.NoTrailingComments=2048]="NoTrailingComments",e[e.NoComments=3072]="NoComments",e[e.NoNestedComments=4096]="NoNestedComments",e[e.HelperName=8192]="HelperName",e[e.ExportName=16384]="ExportName",e[e.LocalName=32768]="LocalName",e[e.InternalName=65536]="InternalName",e[e.Indented=131072]="Indented",e[e.NoIndentation=262144]="NoIndentation",e[e.AsyncFunctionBody=524288]="AsyncFunctionBody",e[e.ReuseTempVariableScope=1048576]="ReuseTempVariableScope",e[e.CustomPrologue=2097152]="CustomPrologue",e[e.NoHoisting=4194304]="NoHoisting",e[e.Iterator=8388608]="Iterator",e[e.NoAsciiEscaping=16777216]="NoAsciiEscaping",e))(R0||{}),ic={Classes:2,ForOf:2,Generators:2,Iteration:2,SpreadElements:2,RestElements:2,TaggedTemplates:2,DestructuringAssignment:2,BindingPatterns:2,ArrowFunctions:2,BlockScopedVariables:2,ObjectAssign:2,RegularExpressionFlagsUnicode:2,RegularExpressionFlagsSticky:2,Exponentiation:3,AsyncFunctions:4,ForAwaitOf:5,AsyncGenerators:5,AsyncIteration:5,ObjectSpreadRest:5,RegularExpressionFlagsDotAll:5,BindinglessCatch:6,BigInt:7,NullishCoalesce:7,OptionalChaining:7,LogicalAssignment:8,TopLevelAwait:9,ClassFields:9,PrivateNamesAndClassStaticBlocks:9,RegularExpressionFlagsHasIndices:9,ShebangComments:10,RegularExpressionFlagsUnicodeSets:11,UsingAndAwaitUsing:99,ClassAndClassElementDecorators:99},U0={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},{name:"resolution-mode",optional:!0},{name:"preserve",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},jsxfrag:{args:[{name:"factory"}],kind:4},jsximportsource:{args:[{name:"factory"}],kind:4},jsxruntime:{args:[{name:"factory"}],kind:4}};function F0(e){let t=5381;for(let r=0;r<e.length;r++)t=(t<<5)+t+e.charCodeAt(r);return t.toString()}var V0=(e=>(e[e.High=2e3]="High",e[e.Medium=500]="Medium",e[e.Low=250]="Low",e))(V0||{}),dn=new Date(0);function Jo(e,t){return e.getModifiedTime(t)||dn}function qd(e){return{250:e.Low,500:e.Medium,2e3:e.High}}var k_={Low:32,Medium:64,High:256},b_=qd(k_),Hd=qd(k_);function sy(e){if(!e.getEnvironmentVariable)return;const t=c("TSC_WATCH_POLLINGINTERVAL",V0);b_=l("TSC_WATCH_POLLINGCHUNKSIZE",k_)||b_,Hd=l("TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS",k_)||Hd;function r(p,g){return e.getEnvironmentVariable(`${p}_${g.toUpperCase()}`)}function i(p){let g;return a("Low"),a("Medium"),a("High"),g;function a(b){const d=r(p,b);d&&((g||(g={}))[b]=Number(d))}}function c(p,g){const a=i(p);if(a)return b("Low"),b("Medium"),b("High"),!0;return!1;function b(d){g[d]=a[d]||g[d]}}function l(p,g){const a=i(p);return(t||a)&&qd(a?{...g,...a}:g)}}function W0(e,t,r,i,c){let l=r;for(let g=t.length;i&&g;p(),g--){const a=t[r];if(a){if(a.isClosed){t[r]=void 0;continue}}else continue;i--;const b=ly(a,Jo(e,a.fileName));if(a.isClosed){t[r]=void 0;continue}c?.(a,r,b),t[r]&&(l<r&&(t[l]=a,t[r]=void 0),l++)}return r;function p(){r++,r===t.length&&(l<r&&(t.length=l),r=0,l=0)}}function ay(e){const t=[],r=[],i=g(250),c=g(500),l=g(2e3);return p;function p(L,A,U){const x={fileName:L,callback:A,unchangedPolls:0,mtime:Jo(e,L)};return t.push(x),T(x,U),{close:()=>{x.isClosed=!0,y_(t,x)}}}function g(L){const A=[];return A.pollingInterval=L,A.pollIndex=0,A.pollScheduled=!1,A}function a(L,A){A.pollIndex=d(A,A.pollingInterval,A.pollIndex,b_[A.pollingInterval]),A.length?j(A.pollingInterval):(N.assert(A.pollIndex===0),A.pollScheduled=!1)}function b(L,A){d(r,250,0,r.length),a(L,A),!A.pollScheduled&&r.length&&j(250)}function d(L,A,U,x){return W0(e,L,U,x,F);function F(te,J,V){V?(te.unchangedPolls=0,L!==r&&(L[J]=void 0,C(te))):te.unchangedPolls!==Hd[A]?te.unchangedPolls++:L===r?(te.unchangedPolls=1,L[J]=void 0,T(te,250)):A!==2e3&&(te.unchangedPolls++,L[J]=void 0,T(te,A===250?500:2e3))}}function E(L){switch(L){case 250:return i;case 500:return c;case 2e3:return l}}function T(L,A){E(A).push(L),S(A)}function C(L){r.push(L),S(250)}function S(L){E(L).pollScheduled||j(L)}function j(L){E(L).pollScheduled=e.setTimeout(L===250?b:a,L,L===250?"pollLowPollingIntervalQueue":"pollPollingIntervalQueue",E(L))}}function cy(e,t,r,i){const c=Nd(),l=i?new Map:void 0,p=new Map,g=rr(t);return a;function a(d,E,T,C){const S=g(d);c.add(S,E).length===1&&l&&l.set(S,r(d)||dn);const j=Ut(S)||".",L=p.get(j)||b(Ut(d)||".",j,C);return L.referenceCount++,{close:()=>{L.referenceCount===1?(L.close(),p.delete(j)):L.referenceCount--,c.remove(S,E)}}}function b(d,E,T){const C=e(d,1,(S,j)=>{if(!Ht(j))return;const L=Jt(j,d),A=g(L),U=L&&c.get(A);if(U){let x,F=1;if(l){const te=l.get(A);if(S==="change"&&(x=r(L)||dn,x.getTime()===te.getTime()))return;x||(x=r(L)||dn),l.set(A,x),te===dn?F=0:x===dn&&(F=2)}for(const te of U)te(L,F,x)}},!1,500,T);return C.referenceCount=0,p.set(E,C),C}}function uy(e){const t=[];let r=0,i;return c;function c(g,a){const b={fileName:g,callback:a,mtime:Jo(e,g)};return t.push(b),p(),{close:()=>{b.isClosed=!0,y_(t,b)}}}function l(){i=void 0,r=W0(e,t,r,b_[250]),p()}function p(){!t.length||i||(i=e.setTimeout(l,2e3,"pollQueue"))}}function z0(e,t,r,i,c){const p=rr(t)(r),g=e.get(p);return g?g.callbacks.push(i):e.set(p,{watcher:c(((a,b,d)=>{var E;return(E=e.get(p))==null?void 0:E.callbacks.slice().forEach(T=>T(a,b,d))})),callbacks:[i]}),{close:()=>{const a=e.get(p);a&&(!v8(a.callbacks,i)||a.callbacks.length||(e.delete(p),Gs(a)))}}}function ly(e,t){const r=e.mtime.getTime(),i=t.getTime();return r!==i?(e.mtime=t,e.callback(e.fileName,_y(r,i),t),!0):!1}function _y(e,t){return e===0?0:t===0?2:1}var q0=["/node_modules/.","/.git","/.#"],fy=nr;function T_(e){return fy(e)}function py({watchDirectory:e,useCaseSensitiveFileNames:t,getCurrentDirectory:r,getAccessibleSortedChildDirectories:i,fileSystemEntryExists:c,realpath:l,setTimeout:p,clearTimeout:g}){const a=new Map,b=Nd(),d=new Map;let E;const T=Bd(!t),C=rr(t);return(D,Z,he,pe)=>he?S(D,pe,Z):e(D,Z,he,pe);function S(D,Z,he,pe){const be=C(D);let De=a.get(be);De?De.refCount++:(De={watcher:e(D,se=>{var Ae;J(se,Z)||(Z?.synchronousWatchDirectory?((Ae=a.get(be))!=null&&Ae.targetWatcher||j(D,be,se),te(D,be,Z)):L(D,be,se,Z))},!1,Z),refCount:1,childWatches:tt,targetWatcher:void 0,links:void 0},a.set(be,De),te(D,be,Z)),pe&&(De.links??(De.links=new Set)).add(pe);const ye=he&&{dirName:D,callback:he};return ye&&b.add(be,ye),{dirName:D,close:()=>{var se;const Ae=N.checkDefined(a.get(be));ye&&b.remove(be,ye),pe&&((se=Ae.links)==null||se.delete(pe)),Ae.refCount--,!Ae.refCount&&(a.delete(be),Ae.links=void 0,Gs(Ae),F(Ae),Ae.childWatches.forEach(Xi))}}}function j(D,Z,he,pe){var be,De;let ye,se;Ht(he)?ye=he:se=he,b.forEach((Ae,Ue)=>{if(!(se&&se.get(Ue)===!0)&&(Ue===Z||Zt(Z,Ue)&&Z[Ue.length]===Dt))if(se)if(pe){const Pe=se.get(Ue);Pe?Pe.push(...pe):se.set(Ue,pe.slice())}else se.set(Ue,!0);else Ae.forEach(({callback:Pe})=>Pe(ye))}),(De=(be=a.get(Z))==null?void 0:be.links)==null||De.forEach(Ae=>{const Ue=Pe=>ut(Ae,S_(D,Pe,C));se?j(Ae,C(Ae),se,pe?.map(Ue)):j(Ae,C(Ae),Ue(ye))})}function L(D,Z,he,pe){const be=a.get(Z);if(be&&c(D,1)){A(D,Z,he,pe);return}j(D,Z,he),F(be),x(be)}function A(D,Z,he,pe){const be=d.get(Z);be?be.fileNames.push(he):d.set(Z,{dirName:D,options:pe,fileNames:[he]}),E&&(g(E),E=void 0),E=p(U,1e3,"timerToUpdateChildWatches")}function U(){var D;E=void 0,T_(`sysLog:: onTimerToUpdateChildWatches:: ${d.size}`);const Z=Fr(),he=new Map;for(;!E&&d.size;){const be=d.entries().next();N.assert(!be.done);const{value:[De,{dirName:ye,options:se,fileNames:Ae}]}=be;d.delete(De);const Ue=te(ye,De,se);(D=a.get(De))!=null&&D.targetWatcher||j(ye,De,he,Ue?void 0:Ae)}T_(`sysLog:: invokingWatchers:: Elapsed:: ${Fr()-Z}ms:: ${d.size}`),b.forEach((be,De)=>{const ye=he.get(De);ye&&be.forEach(({callback:se,dirName:Ae})=>{Vt(ye)?ye.forEach(se):se(Ae)})});const pe=Fr()-Z;T_(`sysLog:: Elapsed:: ${pe}ms:: onTimerToUpdateChildWatches:: ${d.size} ${E}`)}function x(D){if(!D)return;const Z=D.childWatches;D.childWatches=tt;for(const he of Z)he.close(),x(a.get(C(he.dirName)))}function F(D){D?.targetWatcher&&(D.targetWatcher.close(),D.targetWatcher=void 0)}function te(D,Z,he){const pe=a.get(Z);if(!pe)return!1;const be=Mt(l(D));let De,ye;return T(be,D)===0?De=D8(c(D,1)?Od(i(D),Ue=>{const Pe=Jt(Ue,D);return!J(Pe,he)&&T(Pe,Mt(l(Pe)))===0?Pe:void 0}):tt,pe.childWatches,(Ue,Pe)=>T(Ue,Pe.dirName),se,Xi,Ae):pe.targetWatcher&&T(be,pe.targetWatcher.dirName)===0?(De=!1,N.assert(pe.childWatches===tt)):(F(pe),pe.targetWatcher=S(be,he,void 0,D),pe.childWatches.forEach(Xi),De=!0),pe.childWatches=ye||tt,De;function se(Ue){const Pe=S(Ue,he);Ae(Pe)}function Ae(Ue){(ye||(ye=[])).push(Ue)}}function J(D,Z){return Pt(q0,he=>V(D,he))||H0(D,Z,t,r)}function V(D,Z){return D.includes(Z)?!0:t?!1:C(D).includes(Z)}}function dy(e){return(t,r,i)=>e(r===1?"change":"rename","",i)}function my(e,t,r){return(i,c,l)=>{i==="rename"?(l||(l=r(e)||dn),t(e,l!==dn?0:2,l)):t(e,1,l)}}function H0(e,t,r,i){return(t?.excludeDirectories||t?.excludeFiles)&&(c6(e,t?.excludeFiles,r,i())||c6(e,t?.excludeDirectories,r,i()))}function G0(e,t,r,i,c){return(l,p)=>{if(l==="rename"){const g=p?Mt(ut(e,p)):e;(!p||!H0(g,r,i,c))&&t(g)}}}function hy({pollingWatchFileWorker:e,getModifiedTime:t,setTimeout:r,clearTimeout:i,fsWatchWorker:c,fileSystemEntryExists:l,useCaseSensitiveFileNames:p,getCurrentDirectory:g,fsSupportsRecursiveFsWatch:a,getAccessibleSortedChildDirectories:b,realpath:d,tscWatchFile:E,useNonPollingWatchers:T,tscWatchDirectory:C,inodeWatching:S,fsWatchWithTimestamp:j,sysLog:L}){const A=new Map,U=new Map,x=new Map;let F,te,J,V,D=!1;return{watchFile:Z,watchDirectory:ye};function Z(ve,Je,Ie,M){M=be(M,T);const ge=N.checkDefined(M.watchFile);switch(ge){case 0:return Ue(ve,Je,250,void 0);case 1:return Ue(ve,Je,Ie,void 0);case 2:return he()(ve,Je,Ie,void 0);case 3:return pe()(ve,Je,void 0,void 0);case 4:return Pe(ve,0,my(ve,Je,t),!1,Ie,yf(M));case 5:return J||(J=cy(Pe,p,t,j)),J(ve,Je,Ie,yf(M));default:N.assertNever(ge)}}function he(){return F||(F=ay({getModifiedTime:t,setTimeout:r}))}function pe(){return te||(te=uy({getModifiedTime:t,setTimeout:r}))}function be(ve,Je){if(ve&&ve.watchFile!==void 0)return ve;switch(E){case"PriorityPollingInterval":return{watchFile:1};case"DynamicPriorityPolling":return{watchFile:2};case"UseFsEvents":return De(4,1,ve);case"UseFsEventsWithFallbackDynamicPolling":return De(4,2,ve);case"UseFsEventsOnParentDirectory":Je=!0;default:return Je?De(5,1,ve):{watchFile:4}}}function De(ve,Je,Ie){const M=Ie?.fallbackPolling;return{watchFile:ve,fallbackPolling:M===void 0?Je:M}}function ye(ve,Je,Ie,M){return a?Pe(ve,1,G0(ve,Je,M,p,g),Ie,500,yf(M)):(V||(V=py({useCaseSensitiveFileNames:p,getCurrentDirectory:g,fileSystemEntryExists:l,getAccessibleSortedChildDirectories:b,watchDirectory:se,realpath:d,setTimeout:r,clearTimeout:i})),V(ve,Je,Ie,M))}function se(ve,Je,Ie,M){N.assert(!Ie);const ge=Ae(M),Le=N.checkDefined(ge.watchDirectory);switch(Le){case 1:return Ue(ve,()=>Je(ve),500,void 0);case 2:return he()(ve,()=>Je(ve),500,void 0);case 3:return pe()(ve,()=>Je(ve),void 0,void 0);case 0:return Pe(ve,1,G0(ve,Je,M,p,g),Ie,500,yf(ge));default:N.assertNever(Le)}}function Ae(ve){if(ve&&ve.watchDirectory!==void 0)return ve;switch(C){case"RecursiveDirectoryUsingFsWatchFile":return{watchDirectory:1};case"RecursiveDirectoryUsingDynamicPriorityPolling":return{watchDirectory:2};default:const Je=ve?.fallbackPolling;return{watchDirectory:0,fallbackPolling:Je!==void 0?Je:void 0}}}function Ue(ve,Je,Ie,M){return z0(A,p,ve,Je,ge=>e(ve,ge,Ie,M))}function Pe(ve,Je,Ie,M,ge,Le){return z0(M?x:U,p,ve,Ie,qe=>kt(ve,Je,qe,M,ge,Le))}function kt(ve,Je,Ie,M,ge,Le){let qe,ue;S&&(qe=ve.substring(ve.lastIndexOf(Dt)),ue=qe.slice(Dt.length));let Se=l(ve,Je)?Xe():Ke();return{close:()=>{Se&&(Se.close(),Se=void 0)}};function Te(gt){Se&&(L(`sysLog:: ${ve}:: Changing watcher to ${gt===Xe?"Present":"Missing"}FileSystemEntryWatcher`),Se.close(),Se=gt())}function Xe(){if(D)return L(`sysLog:: ${ve}:: Defaulting to watchFile`),pt();try{const gt=(Je===1||!j?c:_t)(ve,M,S?xe:Ie);return gt.on("error",()=>{Ie("rename",""),Te(Ke)}),gt}catch(gt){return D||(D=gt.code==="ENOSPC"),L(`sysLog:: ${ve}:: Changing to watchFile`),pt()}}function xe(gt,it){let wt;if(it&&pn(it,"~")&&(wt=it,it=it.slice(0,it.length-1)),gt==="rename"&&(!it||it===ue||pn(it,qe))){const $t=t(ve)||dn;wt&&Ie(gt,wt,$t),Ie(gt,it,$t),S?Te($t===dn?Ke:Xe):$t===dn&&Te(Ke)}else wt&&Ie(gt,wt),Ie(gt,it)}function pt(){return Z(ve,dy(Ie),ge,Le)}function Ke(){return Z(ve,(gt,it,wt)=>{it===0&&(wt||(wt=t(ve)||dn),wt!==dn&&(Ie("rename","",wt),Te(Xe)))},ge,Le)}}function _t(ve,Je,Ie){let M=t(ve)||dn;return c(ve,Je,(ge,Le,qe)=>{ge==="change"&&(qe||(qe=t(ve)||dn),qe.getTime()===M.getTime())||(M=qe||t(ve)||dn,Ie(ge,Le,M))})}}function gy(e){const t=e.writeFile;e.writeFile=(r,i,c)=>Mv(r,i,!!c,(l,p,g)=>t.call(e,l,p,g),l=>e.createDirectory(l),l=>e.directoryExists(l))}var jo=(()=>{function t(){const i=/^native |^\([^)]+\)$|^(?:internal[\\/]|[\w\s]+(?:\.js)?$)/,c=require("fs"),l=require("path"),p=require("os");let g;try{g=require("crypto")}catch{g=void 0}let a,b="./profile.cpuprofile";const d=process.platform==="darwin",E=process.platform==="linux"||d,T={throwIfNoEntry:!1},C=p.platform(),S=he(),j=c.realpathSync.native?process.platform==="win32"?Je:c.realpathSync.native:c.realpathSync,L=__filename.endsWith("sys.js")?l.join(l.dirname(__dirname),"__fake__.js"):__filename,A=process.platform==="win32"||d,U=rc(()=>process.cwd()),{watchFile:x,watchDirectory:F}=hy({pollingWatchFileWorker:be,getModifiedTime:M,setTimeout,clearTimeout,fsWatchWorker:De,useCaseSensitiveFileNames:S,getCurrentDirectory:U,fileSystemEntryExists:Pe,fsSupportsRecursiveFsWatch:A,getAccessibleSortedChildDirectories:ue=>Ae(ue).directories,realpath:Ie,tscWatchFile:process.env.TSC_WATCHFILE,useNonPollingWatchers:!!process.env.TSC_NONPOLLING_WATCHER,tscWatchDirectory:process.env.TSC_WATCHDIRECTORY,inodeWatching:E,fsWatchWithTimestamp:d,sysLog:T_}),te={args:process.argv.slice(2),newLine:p.EOL,useCaseSensitiveFileNames:S,write(ue){process.stdout.write(ue)},getWidthOfTerminal(){return process.stdout.columns},writeOutputIsTTY(){return process.stdout.isTTY},readFile:ye,writeFile:se,watchFile:x,watchDirectory:F,preferNonRecursiveWatch:!A,resolvePath:ue=>l.resolve(ue),fileExists:kt,directoryExists:_t,getAccessibleFileSystemEntries:Ae,createDirectory(ue){if(!te.directoryExists(ue))try{c.mkdirSync(ue)}catch(Se){if(Se.code!=="EEXIST")throw Se}},getExecutingFilePath(){return L},getCurrentDirectory:U,getDirectories:ve,getEnvironmentVariable(ue){return process.env[ue]||""},readDirectory:Ue,getModifiedTime:M,setModifiedTime:ge,deleteFile:Le,createHash:g?qe:F0,createSHA256Hash:g?qe:void 0,getMemoryUsage(){return global.gc&&global.gc(),process.memoryUsage().heapUsed},getFileSize(ue){const Se=J(ue);return Se?.isFile()?Se.size:0},exit(ue){Z(()=>process.exit(ue))},enableCPUProfiler:V,disableCPUProfiler:Z,cpuProfilingEnabled:()=>!!a||Ka(process.execArgv,"--cpu-prof")||Ka(process.execArgv,"--prof"),realpath:Ie,debugMode:!!process.env.NODE_INSPECTOR_IPC||!!process.env.VSCODE_INSPECTOR_OPTIONS||Pt(process.execArgv,ue=>/^--(?:inspect|debug)(?:-brk)?(?:=\d+)?$/i.test(ue))||!!process.recordreplay,tryEnableSourceMapsForHost(){try{require("source-map-support").install()}catch{}},setTimeout,clearTimeout,clearScreen:()=>{process.stdout.write("\x1B[2J\x1B[3J\x1B[H")},setBlocking:()=>{var ue;const Se=(ue=process.stdout)==null?void 0:ue._handle;Se&&Se.setBlocking&&Se.setBlocking(!0)},base64decode:ue=>Buffer.from(ue,"base64").toString("utf8"),base64encode:ue=>Buffer.from(ue).toString("base64"),require:(ue,Se)=>{try{const Te=A5(Se,ue,te);return{module:require(Te),modulePath:Te,error:void 0}}catch(Te){return{module:void 0,modulePath:void 0,error:Te}}}};return te;function J(ue){try{return c.statSync(ue,T)}catch{return}}function V(ue,Se){if(a)return Se(),!1;const Te=require("inspector");if(!Te||!Te.Session)return Se(),!1;const Xe=new Te.Session;return Xe.connect(),Xe.post("Profiler.enable",()=>{Xe.post("Profiler.start",()=>{a=Xe,b=ue,Se()})}),!0}function D(ue){let Se=0;const Te=new Map,Xe=Nn(l.dirname(L)),xe=`file://${hr(Xe)===1?"":"/"}${Xe}`;for(const pt of ue.nodes)if(pt.callFrame.url){const Ke=Nn(pt.callFrame.url);Js(xe,Ke,S)?pt.callFrame.url=rh(xe,Ke,xe,rr(S),!0):i.test(Ke)||(pt.callFrame.url=(Te.has(Ke)?Te:Te.set(Ke,`external${Se}.js`)).get(Ke),Se++)}return ue}function Z(ue){if(a&&a!=="stopping"){const Se=a;return a.post("Profiler.stop",(Te,{profile:Xe})=>{var xe;if(!Te){(xe=J(b))!=null&&xe.isDirectory()&&(b=l.join(b,`${new Date().toISOString().replace(/:/g,"-")}+P${process.pid}.cpuprofile`));try{c.mkdirSync(l.dirname(b),{recursive:!0})}catch{}c.writeFileSync(b,JSON.stringify(D(Xe)))}a=void 0,Se.disconnect(),ue()}),a="stopping",!0}else return ue(),!1}function he(){return C==="win32"||C==="win64"?!1:!kt(pe(__filename))}function pe(ue){return ue.replace(/\w/g,Se=>{const Te=Se.toUpperCase();return Se===Te?Se.toLowerCase():Te})}function be(ue,Se,Te){c.watchFile(ue,{persistent:!0,interval:Te},xe);let Xe;return{close:()=>c.unwatchFile(ue,xe)};function xe(pt,Ke){const gt=+Ke.mtime==0||Xe===2;if(+pt.mtime==0){if(gt)return;Xe=2}else if(gt)Xe=0;else{if(+pt.mtime==+Ke.mtime)return;Xe=1}Se(ue,Xe,pt.mtime)}}function De(ue,Se,Te){return c.watch(ue,A?{persistent:!0,recursive:!!Se}:{persistent:!0},Te)}function ye(ue,Se){let Te;try{Te=c.readFileSync(ue)}catch{return}let Xe=Te.length;if(Xe>=2&&Te[0]===254&&Te[1]===255){Xe&=-2;for(let xe=0;xe<Xe;xe+=2){const pt=Te[xe];Te[xe]=Te[xe+1],Te[xe+1]=pt}return Te.toString("utf16le",2)}return Xe>=2&&Te[0]===255&&Te[1]===254?Te.toString("utf16le",2):Xe>=3&&Te[0]===239&&Te[1]===187&&Te[2]===191?Te.toString("utf8",3):Te.toString("utf8")}function se(ue,Se,Te){Te&&(Se="\uFEFF"+Se);let Xe;try{Xe=c.openSync(ue,"w"),c.writeSync(Xe,Se,void 0,"utf8")}finally{Xe!==void 0&&c.closeSync(Xe)}}function Ae(ue){try{const Se=c.readdirSync(ue||".",{withFileTypes:!0}),Te=[],Xe=[];for(const xe of Se){const pt=typeof xe=="string"?xe:xe.name;if(pt==="."||pt==="..")continue;let Ke;if(typeof xe=="string"||xe.isSymbolicLink()){const gt=ut(ue,pt);if(Ke=J(gt),!Ke)continue}else Ke=xe;Ke.isFile()?Te.push(pt):Ke.isDirectory()&&Xe.push(pt)}return Te.sort(),Xe.sort(),{files:Te,directories:Xe}}catch{return U9}}function Ue(ue,Se,Te,Xe,xe){return S9(ue,Se,Te,Xe,S,process.cwd(),xe,Ae,Ie)}function Pe(ue,Se){const Te=J(ue);if(!Te)return!1;switch(Se){case 0:return Te.isFile();case 1:return Te.isDirectory();default:return!1}}function kt(ue){return Pe(ue,0)}function _t(ue){return Pe(ue,1)}function ve(ue){return Ae(ue).directories.slice()}function Je(ue){return ue.length<260?c.realpathSync.native(ue):c.realpathSync(ue)}function Ie(ue){try{return j(ue)}catch{return ue}}function M(ue){var Se;return(Se=J(ue))==null?void 0:Se.mtime}function ge(ue,Se){try{c.utimesSync(ue,Se,Se)}catch{return}}function Le(ue){try{return c.unlinkSync(ue)}catch{return}}function qe(ue){const Se=g.createHash("sha256");return Se.update(ue),Se.digest("hex")}}let r;return T0()&&(r=t()),r&&gy(r),r})();jo&&jo.getEnvironmentVariable&&(sy(jo),N.setAssertionLevel(/^development$/i.test(jo.getEnvironmentVariable("NODE_ENV"))?1:0)),jo&&jo.debugMode&&(N.isDebugging=!0);var Dt="/",yy="\\",$0="://",vy=/\\/g;function ky(e){return e===47||e===92}function Fi(e){return X0(e)>0}function Gd(e){return/^\.\.?(?:$|[\\/])/.test(e)}function $d(e){return ri(e).includes(".")}function tn(e,t){return e.length>t.length&&pn(e,t)}function Sn(e,t){for(const r of t)if(tn(e,r))return!0;return!1}function C_(e){return e.length>0&&ky(e.charCodeAt(e.length-1))}function Q0(e){return e>=97&&e<=122||e>=65&&e<=90}function by(e,t){const r=e.charCodeAt(t);if(r===58)return t+1;if(r===37&&e.charCodeAt(t+1)===51){const i=e.charCodeAt(t+2);if(i===97||i===65)return t+3}return-1}function X0(e){if(!e)return 0;const t=e.charCodeAt(0);if(t===47||t===92){if(e.charCodeAt(1)!==t)return 1;const i=e.indexOf(t===47?Dt:yy,2);return i<0?e.length:i+1}if(Q0(t)&&e.charCodeAt(1)===58){const i=e.charCodeAt(2);if(i===47||i===92)return 3;if(e.length===2)return 2}const r=e.indexOf($0);if(r!==-1){const i=r+$0.length,c=e.indexOf(Dt,i);if(c!==-1){const l=e.slice(0,r),p=e.slice(i,c);if(l==="file"&&(p===""||p==="localhost")&&Q0(e.charCodeAt(c+1))){const g=by(e,c+2);if(g!==-1){if(e.charCodeAt(g)===47)return~(g+1);if(g===e.length)return~g}}return~(c+1)}return~e.length}return 0}function hr(e){const t=X0(e);return t<0?~t:t}function Ut(e){e=Nn(e);const t=hr(e);return t===e.length?e:(e=Vi(e),e.slice(0,Math.max(t,e.lastIndexOf(Dt))))}function ri(e,t,r){if(e=Nn(e),hr(e)===e.length)return"";e=Vi(e);const c=e.slice(Math.max(hr(e),e.lastIndexOf(Dt)+1)),l=t!==void 0&&r!==void 0?E_(c,t,r):void 0;return l?c.slice(0,c.length-l.length):c}function Y0(e,t,r){if(Zt(t,".")||(t="."+t),e.length>=t.length&&e.charCodeAt(e.length-t.length)===46){const i=e.slice(e.length-t.length);if(r(i,t))return i}}function Ty(e,t,r){if(typeof t=="string")return Y0(e,t,r)||"";for(const i of t){const c=Y0(e,i,r);if(c)return c}return""}function E_(e,t,r){if(t)return Ty(Vi(e),t,r?Io:g_);const i=ri(e),c=i.lastIndexOf(".");return c>=0?i.substring(c):""}function Cy(e,t){const r=e.substring(0,t),i=e.substring(t).split(Dt);return i.length&&!Ui(i)&&i.pop(),[r,...i]}function ir(e,t=""){return e=ut(t,e),Cy(e,hr(e))}function w_(e,t){return e.length===0?"":(e[0]&&Wi(e[0]))+e.slice(1,t).join(Dt)}function Nn(e){return e.includes("\\")?e.replace(vy,Dt):e}function Mo(e){if(!Pt(e))return[];const t=[e[0]];for(let r=1;r<e.length;r++){const i=e[r];if(i&&i!=="."){if(i===".."){if(t.length>1){if(t[t.length-1]!==".."){t.pop();continue}}else if(t[0])continue}t.push(i)}}return t}function ut(e,...t){e&&(e=Nn(e));for(let r of t)r&&(r=Nn(r),!e||hr(r)!==0?e=r:e=Wi(e)+r);return e}function oc(e,...t){return Mt(Pt(t)?ut(e,...t):Nn(e))}function Z0(e,t){return Mo(ir(e,t))}function Jt(e,t){let r=hr(e);r===0&&t?(e=ut(t,e),r=hr(e)):e=Nn(e);const i=K0(e);if(i!==void 0)return i.length>r?Vi(i):i;const c=e.length,l=e.substring(0,r);let p,g=r,a=g,b=g,d=r!==0;for(;g<c;){a=g;let E=e.charCodeAt(g);for(;E===47&&g+1<c;)g++,E=e.charCodeAt(g);g>a&&(p??(p=e.substring(0,a-1)),a=g);let T=e.indexOf(Dt,g+1);T===-1&&(T=c);const C=T-a;if(C===1&&e.charCodeAt(g)===46)p??(p=e.substring(0,b));else if(C===2&&e.charCodeAt(g)===46&&e.charCodeAt(g+1)===46)if(!d)p!==void 0?p+=p.length===r?"..":"/..":b=g+2;else if(p===void 0)b-2>=0?p=e.substring(0,Math.max(r,e.lastIndexOf(Dt,b-2))):p=e.substring(0,b);else{const S=p.lastIndexOf(Dt);S!==-1?p=p.substring(0,Math.max(r,S)):p=l,p.length===r&&(d=r!==0)}else p!==void 0?(p.length!==r&&(p+=Dt),d=!0,p+=e.substring(a,T)):(d=!0,b=T);g=T+1}return p??(c>r?Vi(e):e)}function Mt(e){e=Nn(e);let t=K0(e);return t!==void 0?t:(t=Jt(e,""),t&&C_(e)?Wi(t):t)}function K0(e){if(!D_.test(e))return e;let t=e.replace(/\/\.\//g,"/");if(t.startsWith("./")&&(t=t.slice(2)),t!==e&&(e=t,!D_.test(e)))return e}function Ns(e,t,r){const i=Fi(e)?Mt(e):Jt(e,t);return r(i)}function Vi(e){return C_(e)?e.substr(0,e.length-1):e}function Wi(e){return C_(e)?e:e+Dt}function eh(e,t,r,i){const c=r!==void 0&&i!==void 0?E_(e,r,i):E_(e);return c?e.slice(0,e.length-c.length)+(Zt(t,".")?t:"."+t):e}var D_=/\/\/|(?:^|\/)\.\.?(?:$|\/)/;function Ey(e,t,r){if(e===t)return 0;if(e===void 0)return-1;if(t===void 0)return 1;const i=e.substring(0,hr(e)),c=t.substring(0,hr(t)),l=k0(i,c);if(l!==0)return l;const p=e.substring(i.length),g=t.substring(c.length);if(!D_.test(p)&&!D_.test(g))return r(p,g);const a=Mo(ir(e)),b=Mo(ir(t)),d=Math.min(a.length,b.length);for(let E=1;E<d;E++){const T=r(a[E],b[E]);if(T!==0)return T}return Dn(a.length,b.length)}function th(e,t,r,i){return typeof r=="string"?(e=ut(r,e),t=ut(r,t)):typeof r=="boolean"&&(i=r),Ey(e,t,Bd(i))}function Js(e,t,r,i){if(typeof r=="string"?(e=ut(r,e),t=ut(r,t)):typeof r=="boolean"&&(i=r),e===void 0||t===void 0)return!1;if(e===t)return!0;const c=Mo(ir(e)),l=Mo(ir(t));if(l.length<c.length)return!1;const p=i?Io:g_;for(let g=0;g<c.length;g++)if(!(g===0?Io:p)(c[g],l[g]))return!1;return!0}function nh(e,t,r,i){const c=Mo(ir(e)),l=Mo(ir(t));let p;for(p=0;p<c.length&&p<l.length;p++){const b=i(c[p]),d=i(l[p]);if(!(p===0?Io:r)(b,d))break}if(p===0)return l;const g=l.slice(p),a=[];for(;p<c.length;p++)a.push("..");return["",...a,...g]}function S_(e,t,r){N.assert(hr(e)>0==hr(t)>0,"Paths must either both be absolute or both be relative");const l=nh(e,t,(typeof r=="boolean"?r:!1)?Io:g_,typeof r=="function"?r:Ot);return w_(l)}function Qd(e,t,r){return Fi(e)?rh(t,e,t,r,!1):e}function rh(e,t,r,i,c){const l=nh(oc(r,e),oc(r,t),g_,i),p=l[0];if(c&&Fi(p)){const g=p.charAt(0)===Dt?"file://":"file:///";l[0]=g+p}return w_(l)}function wy(e,t){for(;;){const r=t(e);if(r!==void 0)return r;const i=Ut(e);if(i===e)return;e=i}}function y(e,t,r,i,c,l,p){return{code:e,category:t,key:r,message:i,reportsUnnecessary:c,elidedInCompatabilityPyramid:l,reportsDeprecated:p}}var f={Unterminated_string_literal:y(1002,1,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:y(1003,1,"Identifier_expected_1003","Identifier expected."),_0_expected:y(1005,1,"_0_expected_1005","'{0}' expected."),The_parser_expected_to_find_a_1_to_match_the_0_token_here:y(1007,1,"The_parser_expected_to_find_a_1_to_match_the_0_token_here_1007","The parser expected to find a '{1}' to match the '{0}' token here."),Asterisk_Slash_expected:y(1010,1,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:y(1011,1,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:y(1012,1,"Unexpected_token_1012","Unexpected token."),super_must_be_followed_by_an_argument_list_or_member_access:y(1034,1,"super_must_be_followed_by_an_argument_list_or_member_access_1034","'super' must be followed by an argument list or member access."),Unexpected_token_A_constructor_method_accessor_or_property_was_expected:y(1068,1,"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:y(1069,1,"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069","Unexpected token. A type parameter name was expected without curly braces."),Invalid_reference_directive_syntax:y(1084,1,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),Expression_expected:y(1109,1,"Expression_expected_1109","Expression expected."),Type_expected:y(1110,1,"Type_expected_1110","Type expected."),Octal_literals_are_not_allowed_Use_the_syntax_0:y(1121,1,"Octal_literals_are_not_allowed_Use_the_syntax_0_1121","Octal literals are not allowed. Use the syntax '{0}'."),Digit_expected:y(1124,1,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:y(1125,1,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:y(1126,1,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:y(1127,1,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:y(1128,1,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:y(1129,1,"Statement_expected_1129","Statement expected."),case_or_default_expected:y(1130,1,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:y(1131,1,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:y(1132,1,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:y(1134,1,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:y(1135,1,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:y(1136,1,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:y(1137,1,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:y(1138,1,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:y(1139,1,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:y(1140,1,"Type_argument_expected_1140","Type argument expected."),Line_break_not_permitted_here:y(1142,1,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:y(1144,1,"or_expected_1144","'{' or ';' expected."),or_JSX_element_expected:y(1145,1,"or_JSX_element_expected_1145","'{' or JSX element expected."),Declaration_expected:y(1146,1,"Declaration_expected_1146","Declaration expected."),Unterminated_template_literal:y(1160,1,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:y(1161,1,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),Binary_digit_expected:y(1177,1,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:y(1178,1,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:y(1179,1,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:y(1180,1,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:y(1181,1,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),Merge_conflict_marker_encountered:y(1185,1,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:y(1198,1,"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:y(1199,1,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0:y(1209,1,"Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0_1209","Invalid optional chain from new expression. Did you mean to call '{0}()'?"),_0_tag_already_specified:y(1223,1,"_0_tag_already_specified_1223","'{0}' tag already specified."),A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods:y(1228,1,"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."),Keywords_cannot_contain_escape_characters:y(1260,1,"Keywords_cannot_contain_escape_characters_1260","Keywords cannot contain escape characters."),String_literal_with_double_quotes_expected:y(1327,1,"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:y(1328,1,"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."),Print_the_final_configuration_instead_of_building:y(1350,3,"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:y(1351,1,"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:y(1352,1,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:y(1353,1,"A_bigint_literal_must_be_an_integer_1353","A bigint literal must be an integer."),An_enum_member_name_must_be_followed_by_a_or:y(1357,1,"An_enum_member_name_must_be_followed_by_a_or_1357","An enum member name must be followed by a ',', '=', or '}'."),Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:y(1359,1,"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."),Did_you_mean_0:y(1369,3,"Did_you_mean_0_1369","Did you mean '{0}'?"),Unexpected_token_Did_you_mean_or_rbrace:y(1381,1,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `&rbrace;`?"),Unexpected_token_Did_you_mean_or_gt:y(1382,1,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `&gt;`?"),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:y(1385,1,"Function_type_notation_must_be_parenthesized_when_used_in_a_union_type_1385","Function type notation must be parenthesized when used in a union type."),Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:y(1386,1,"Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type_1386","Constructor type notation must be parenthesized when used in a union type."),Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:y(1387,1,"Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1387","Function type notation must be parenthesized when used in an intersection type."),Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:y(1388,1,"Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1388","Constructor type notation must be parenthesized when used in an intersection type."),_0_is_not_allowed_as_a_variable_declaration_name:y(1389,1,"_0_is_not_allowed_as_a_variable_declaration_name_1389","'{0}' is not allowed as a variable declaration name."),_0_is_not_allowed_as_a_parameter_name:y(1390,1,"_0_is_not_allowed_as_a_parameter_name_1390","'{0}' is not allowed as a parameter name."),Imported_via_0_from_file_1:y(1393,3,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:y(1394,3,"Imported_via_0_from_file_1_with_packageId_2_1394","Imported via {0} from file '{1}' with packageId '{2}'"),Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:y(1395,3,"Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions_1395","Imported via {0} from file '{1}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:y(1396,3,"Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396","Imported via {0} from file '{1}' with packageId '{2}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions:y(1397,3,"Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions_1397","Imported via {0} from file '{1}' to import 'jsx' and 'jsxs' factory functions"),Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:y(1398,3,"Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398","Imported via {0} from file '{1}' with packageId '{2}' to import 'jsx' and 'jsxs' factory functions"),Referenced_via_0_from_file_1:y(1400,3,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),Type_library_referenced_via_0_from_file_1:y(1402,3,"Type_library_referenced_via_0_from_file_1_1402","Type library referenced via '{0}' from file '{1}'"),Type_library_referenced_via_0_from_file_1_with_packageId_2:y(1403,3,"Type_library_referenced_via_0_from_file_1_with_packageId_2_1403","Type library referenced via '{0}' from file '{1}' with packageId '{2}'"),Library_referenced_via_0_from_file_1:y(1405,3,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),Matched_by_include_pattern_0_in_1:y(1407,3,"Matched_by_include_pattern_0_in_1_1407","Matched by include pattern '{0}' in '{1}'"),Part_of_files_list_in_tsconfig_json:y(1409,3,"Part_of_files_list_in_tsconfig_json_1409","Part of 'files' list in tsconfig.json"),Output_from_referenced_project_0_included_because_1_specified:y(1411,3,"Output_from_referenced_project_0_included_because_1_specified_1411","Output from referenced project '{0}' included because '{1}' specified"),Output_from_referenced_project_0_included_because_module_is_specified_as_none:y(1412,3,"Output_from_referenced_project_0_included_because_module_is_specified_as_none_1412","Output from referenced project '{0}' included because '--module' is specified as 'none'"),Source_from_referenced_project_0_included_because_1_specified:y(1414,3,"Source_from_referenced_project_0_included_because_1_specified_1414","Source from referenced project '{0}' included because '{1}' specified"),Source_from_referenced_project_0_included_because_module_is_specified_as_none:y(1415,3,"Source_from_referenced_project_0_included_because_module_is_specified_as_none_1415","Source from referenced project '{0}' included because '--module' is specified as 'none'"),Entry_point_of_type_library_0_specified_in_compilerOptions:y(1417,3,"Entry_point_of_type_library_0_specified_in_compilerOptions_1417","Entry point of type library '{0}' specified in compilerOptions"),Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1:y(1418,3,"Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1_1418","Entry point of type library '{0}' specified in compilerOptions with packageId '{1}'"),Entry_point_for_implicit_type_library_0:y(1420,3,"Entry_point_for_implicit_type_library_0_1420","Entry point for implicit type library '{0}'"),Entry_point_for_implicit_type_library_0_with_packageId_1:y(1421,3,"Entry_point_for_implicit_type_library_0_with_packageId_1_1421","Entry point for implicit type library '{0}' with packageId '{1}'"),Library_0_specified_in_compilerOptions:y(1422,3,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),Default_library:y(1424,3,"Default_library_1424","Default library"),Default_library_for_target_0:y(1425,3,"Default_library_for_target_0_1425","Default library for target '{0}'"),Root_file_specified_for_compilation:y(1427,3,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:y(1428,3,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:y(1429,3,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters:y(1433,1,"Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters_1433","Neither decorators nor modifiers may be applied to 'this' parameters."),Unexpected_keyword_or_identifier:y(1434,1,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:y(1435,1,"Unknown_keyword_or_identifier_Did_you_mean_0_1435","Unknown keyword or identifier. Did you mean '{0}'?"),Decorators_must_precede_the_name_and_all_keywords_of_property_declarations:y(1436,1,"Decorators_must_precede_the_name_and_all_keywords_of_property_declarations_1436","Decorators must precede the name and all keywords of property declarations."),Namespace_must_be_given_a_name:y(1437,1,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:y(1438,1,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:y(1439,1,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:y(1440,1,"Variable_declaration_not_allowed_at_this_location_1440","Variable declaration not allowed at this location."),Cannot_start_a_function_call_in_a_type_annotation:y(1441,1,"Cannot_start_a_function_call_in_a_type_annotation_1441","Cannot start a function call in a type annotation."),Expected_for_property_initializer:y(1442,1,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:y(1443,1,"Module_declaration_names_may_only_use_or_quoted_strings_1443",`Module declaration names may only use ' or " quoted strings.`),Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed:y(1449,3,"Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed_1449","Preserve unused imported values in the JavaScript output that would otherwise be removed."),resolution_mode_should_be_either_require_or_import:y(1453,1,"resolution_mode_should_be_either_require_or_import_1453","`resolution-mode` should be either `require` or `import`."),Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk:y(1457,3,"Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457","Matched by default include pattern '**/*'"),File_is_ECMAScript_module_because_0_has_field_type_with_value_module:y(1458,3,"File_is_ECMAScript_module_because_0_has_field_type_with_value_module_1458",`File is ECMAScript module because '{0}' has field "type" with value "module"`),File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module:y(1459,3,"File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module_1459",`File is CommonJS module because '{0}' has field "type" whose value is not "module"`),File_is_CommonJS_module_because_0_does_not_have_field_type:y(1460,3,"File_is_CommonJS_module_because_0_does_not_have_field_type_1460",`File is CommonJS module because '{0}' does not have field "type"`),File_is_CommonJS_module_because_package_json_was_not_found:y(1461,3,"File_is_CommonJS_module_because_package_json_was_not_found_1461","File is CommonJS module because 'package.json' was not found"),catch_or_finally_expected:y(1472,1,"catch_or_finally_expected_1472","'catch' or 'finally' expected."),Control_what_method_is_used_to_detect_module_format_JS_files:y(1475,3,"Control_what_method_is_used_to_detect_module_format_JS_files_1475","Control what method is used to detect module-format JS files."),auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules:y(1476,3,"auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_w_1476",'"auto": Treat files with imports, exports, import.meta, jsx (with jsx: react-jsx), or esm format (with module: node16+) as modules.'),An_instantiation_expression_cannot_be_followed_by_a_property_access:y(1477,1,"An_instantiation_expression_cannot_be_followed_by_a_property_access_1477","An instantiation expression cannot be followed by a property access."),Identifier_or_string_literal_expected:y(1478,1,"Identifier_or_string_literal_expected_1478","Identifier or string literal expected."),Octal_escape_sequences_are_not_allowed_Use_the_syntax_0:y(1487,1,"Octal_escape_sequences_are_not_allowed_Use_the_syntax_0_1487","Octal escape sequences are not allowed. Use the syntax '{0}'."),Escape_sequence_0_is_not_allowed:y(1488,1,"Escape_sequence_0_is_not_allowed_1488","Escape sequence '{0}' is not allowed."),Decimals_with_leading_zeros_are_not_allowed:y(1489,1,"Decimals_with_leading_zeros_are_not_allowed_1489","Decimals with leading zeros are not allowed."),File_appears_to_be_binary:y(1490,1,"File_appears_to_be_binary_1490","File appears to be binary."),Unknown_regular_expression_flag:y(1499,1,"Unknown_regular_expression_flag_1499","Unknown regular expression flag."),Duplicate_regular_expression_flag:y(1500,1,"Duplicate_regular_expression_flag_1500","Duplicate regular expression flag."),This_regular_expression_flag_is_only_available_when_targeting_0_or_later:y(1501,1,"This_regular_expression_flag_is_only_available_when_targeting_0_or_later_1501","This regular expression flag is only available when targeting '{0}' or later."),The_Unicode_u_flag_and_the_Unicode_Sets_v_flag_cannot_be_set_simultaneously:y(1502,1,"The_Unicode_u_flag_and_the_Unicode_Sets_v_flag_cannot_be_set_simultaneously_1502","The Unicode (u) flag and the Unicode Sets (v) flag cannot be set simultaneously."),Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later:y(1503,1,"Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later_1503","Named capturing groups are only available when targeting 'ES2018' or later."),Subpattern_flags_must_be_present_when_there_is_a_minus_sign:y(1504,1,"Subpattern_flags_must_be_present_when_there_is_a_minus_sign_1504","Subpattern flags must be present when there is a minus sign."),Incomplete_quantifier_Digit_expected:y(1505,1,"Incomplete_quantifier_Digit_expected_1505","Incomplete quantifier. Digit expected."),Numbers_out_of_order_in_quantifier:y(1506,1,"Numbers_out_of_order_in_quantifier_1506","Numbers out of order in quantifier."),There_is_nothing_available_for_repetition:y(1507,1,"There_is_nothing_available_for_repetition_1507","There is nothing available for repetition."),Unexpected_0_Did_you_mean_to_escape_it_with_backslash:y(1508,1,"Unexpected_0_Did_you_mean_to_escape_it_with_backslash_1508","Unexpected '{0}'. Did you mean to escape it with backslash?"),This_regular_expression_flag_cannot_be_toggled_within_a_subpattern:y(1509,1,"This_regular_expression_flag_cannot_be_toggled_within_a_subpattern_1509","This regular expression flag cannot be toggled within a subpattern."),k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets:y(1510,1,"k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets_1510","'\\k' must be followed by a capturing group name enclosed in angle brackets."),q_is_only_available_inside_character_class:y(1511,1,"q_is_only_available_inside_character_class_1511","'\\q' is only available inside character class."),c_must_be_followed_by_an_ASCII_letter:y(1512,1,"c_must_be_followed_by_an_ASCII_letter_1512","'\\c' must be followed by an ASCII letter."),Undetermined_character_escape:y(1513,1,"Undetermined_character_escape_1513","Undetermined character escape."),Expected_a_capturing_group_name:y(1514,1,"Expected_a_capturing_group_name_1514","Expected a capturing group name."),Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other:y(1515,1,"Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other_1515","Named capturing groups with the same name must be mutually exclusive to each other."),A_character_class_range_must_not_be_bounded_by_another_character_class:y(1516,1,"A_character_class_range_must_not_be_bounded_by_another_character_class_1516","A character class range must not be bounded by another character class."),Range_out_of_order_in_character_class:y(1517,1,"Range_out_of_order_in_character_class_1517","Range out of order in character class."),Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class:y(1518,1,"Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_characte_1518","Anything that would possibly match more than a single character is invalid inside a negated character class."),Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead:y(1519,1,"Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead_1519","Operators must not be mixed within a character class. Wrap it in a nested class instead."),Expected_a_class_set_operand:y(1520,1,"Expected_a_class_set_operand_1520","Expected a class set operand."),q_must_be_followed_by_string_alternatives_enclosed_in_braces:y(1521,1,"q_must_be_followed_by_string_alternatives_enclosed_in_braces_1521","'\\q' must be followed by string alternatives enclosed in braces."),A_character_class_must_not_contain_a_reserved_double_punctuator_Did_you_mean_to_escape_it_with_backslash:y(1522,1,"A_character_class_must_not_contain_a_reserved_double_punctuator_Did_you_mean_to_escape_it_with_backs_1522","A character class must not contain a reserved double punctuator. Did you mean to escape it with backslash?"),Expected_a_Unicode_property_name:y(1523,1,"Expected_a_Unicode_property_name_1523","Expected a Unicode property name."),Unknown_Unicode_property_name:y(1524,1,"Unknown_Unicode_property_name_1524","Unknown Unicode property name."),Expected_a_Unicode_property_value:y(1525,1,"Expected_a_Unicode_property_value_1525","Expected a Unicode property value."),Unknown_Unicode_property_value:y(1526,1,"Unknown_Unicode_property_value_1526","Unknown Unicode property value."),Expected_a_Unicode_property_name_or_value:y(1527,1,"Expected_a_Unicode_property_name_or_value_1527","Expected a Unicode property name or value."),Any_Unicode_property_that_would_possibly_match_more_than_a_single_character_is_only_available_when_the_Unicode_Sets_v_flag_is_set:y(1528,1,"Any_Unicode_property_that_would_possibly_match_more_than_a_single_character_is_only_available_when_t_1528","Any Unicode property that would possibly match more than a single character is only available when the Unicode Sets (v) flag is set."),Unknown_Unicode_property_name_or_value:y(1529,1,"Unknown_Unicode_property_name_or_value_1529","Unknown Unicode property name or value."),Unicode_property_value_expressions_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_set:y(1530,1,"Unicode_property_value_expressions_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v__1530","Unicode property value expressions are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set."),_0_must_be_followed_by_a_Unicode_property_value_expression_enclosed_in_braces:y(1531,1,"_0_must_be_followed_by_a_Unicode_property_value_expression_enclosed_in_braces_1531","'\\{0}' must be followed by a Unicode property value expression enclosed in braces."),There_is_no_capturing_group_named_0_in_this_regular_expression:y(1532,1,"There_is_no_capturing_group_named_0_in_this_regular_expression_1532","There is no capturing group named '{0}' in this regular expression."),This_backreference_refers_to_a_group_that_does_not_exist_There_are_only_0_capturing_groups_in_this_regular_expression:y(1533,1,"This_backreference_refers_to_a_group_that_does_not_exist_There_are_only_0_capturing_groups_in_this_r_1533","This backreference refers to a group that does not exist. There are only {0} capturing groups in this regular expression."),This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regular_expression:y(1534,1,"This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regul_1534","This backreference refers to a group that does not exist. There are no capturing groups in this regular expression."),This_character_cannot_be_escaped_in_a_regular_expression:y(1535,1,"This_character_cannot_be_escaped_in_a_regular_expression_1535","This character cannot be escaped in a regular expression."),Octal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_If_this_was_intended_as_an_escape_sequence_use_the_syntax_0_instead:y(1536,1,"Octal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_If_this_was_intended__1536","Octal escape sequences and backreferences are not allowed in a character class. If this was intended as an escape sequence, use the syntax '{0}' instead."),Decimal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class:y(1537,1,"Decimal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_1537","Decimal escape sequences and backreferences are not allowed in a character class."),Unicode_escape_sequences_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_set:y(1538,1,"Unicode_escape_sequences_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_se_1538","Unicode escape sequences are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set."),Ignore_the_tsconfig_found_and_build_with_commandline_options_and_files:y(1549,3,"Ignore_the_tsconfig_found_and_build_with_commandline_options_and_files_1549","Ignore the tsconfig found and build with commandline options and files."),The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:y(2209,1,"The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_roo_2209","The project root is ambiguous, but is required to resolve export map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate."),The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:y(2210,1,"The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_roo_2210","The project root is ambiguous, but is required to resolve import map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate."),Interface_name_cannot_be_0:y(2427,1,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),Type_alias_name_cannot_be_0:y(2457,1,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:y(2458,1,"An_AMD_module_cannot_have_multiple_name_assignments_2458","An AMD module cannot have multiple name assignments."),JSX_expressions_must_have_one_parent_element:y(2657,1,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),super_may_not_use_type_arguments:y(2754,1,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_whole_assignment_in_parentheses:y(2809,1,"Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_d_2809","Declaration or statement expected. This '=' follows a block of statements, so if you intended to write a destructuring assignment, you might need to wrap the whole assignment in parentheses."),Namespace_name_cannot_be_0:y(2819,1,"Namespace_name_cannot_be_0_2819","Namespace name cannot be '{0}'."),File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:y(5010,1,"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:y(5012,1,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Unknown_compiler_option_0:y(5023,1,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:y(5024,1,"Compiler_option_0_requires_a_value_of_type_1_5024","Compiler option '{0}' requires a value of type {1}."),Unknown_compiler_option_0_Did_you_mean_1:y(5025,1,"Unknown_compiler_option_0_Did_you_mean_1_5025","Unknown compiler option '{0}'. Did you mean '{1}'?"),File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:y(5065,1,"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}'."),Unknown_watch_option_0:y(5078,1,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:y(5079,1,"Unknown_watch_option_0_Did_you_mean_1_5079","Unknown watch option '{0}'. Did you mean '{1}'?"),Watch_option_0_requires_a_value_of_type_1:y(5080,1,"Watch_option_0_requires_a_value_of_type_1_5080","Watch option '{0}' requires a value of type {1}."),Cannot_read_file_0:y(5083,1,"Cannot_read_file_0_5083","Cannot read file '{0}'."),The_root_value_of_a_0_file_must_be_an_object:y(5092,1,"The_root_value_of_a_0_file_must_be_an_object_5092","The root value of a '{0}' file must be an object."),Compiler_option_0_may_only_be_used_with_build:y(5093,1,"Compiler_option_0_may_only_be_used_with_build_5093","Compiler option '--{0}' may only be used with '--build'."),Watch_input_files:y(6005,3,"Watch_input_files_6005","Watch input files."),Print_this_message:y(6017,3,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:y(6019,3,"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:y(6020,3,"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'."),Starting_compilation_in_watch_mode:y(6031,3,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:y(6032,3,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:y(6034,3,"KIND_6034","KIND"),FILE:y(6035,3,"FILE_6035","FILE"),VERSION:y(6036,3,"VERSION_6036","VERSION"),LOCATION:y(6037,3,"LOCATION_6037","LOCATION"),DIRECTORY:y(6038,3,"DIRECTORY_6038","DIRECTORY"),STRATEGY:y(6039,3,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:y(6040,3,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Compiler_option_0_expects_an_argument:y(6044,1,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Argument_for_0_option_must_be_Colon_1:y(6046,1,"Argument_for_0_option_must_be_Colon_1_6046","Argument for '{0}' option must be: {1}."),File_0_not_found:y(6053,1,"File_0_not_found_6053","File '{0}' not found."),NEWLINE:y(6061,3,"NEWLINE_6061","NEWLINE"),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:y(6070,3,"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070","Initializes a TypeScript project and creates a tsconfig.json file."),Resolving_module_0_from_1:y(6086,3,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:y(6091,3,"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:y(6092,3,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:y(6093,3,"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:y(6094,3,"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_types_Colon_1:y(6095,3,"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1_6095","Loading module as file / folder, candidate module location '{0}', target file types: {1}."),File_0_does_not_exist:y(6096,3,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exists_use_it_as_a_name_resolution_result:y(6097,3,"File_0_exists_use_it_as_a_name_resolution_result_6097","File '{0}' exists - use it as a name resolution result."),Loading_module_0_from_node_modules_folder_target_file_types_Colon_1:y(6098,3,"Loading_module_0_from_node_modules_folder_target_file_types_Colon_1_6098","Loading module '{0}' from 'node_modules' folder, target file types: {1}."),Found_package_json_at_0:y(6099,3,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:y(6100,3,"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:y(6101,3,"package_json_has_0_field_1_that_references_2_6101","'package.json' has '{0}' field '{1}' that references '{2}'."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:y(6104,3,"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:y(6105,3,"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:y(6106,3,"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:y(6107,3,"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:y(6108,3,"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:y(6109,3,"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:y(6110,3,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:y(6111,3,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Unknown_option_excludes_Did_you_mean_exclude:y(6114,1,"Unknown_option_excludes_Did_you_mean_exclude_6114","Unknown option 'excludes'. Did you mean 'exclude'?"),Resolving_real_path_for_0_result_1:y(6130,3,"Resolving_real_path_for_0_result_1_6130","Resolving real path for '{0}', result '{1}'."),File_name_0_has_a_1_extension_stripping_it:y(6132,3,"File_name_0_has_a_1_extension_stripping_it_6132","File name '{0}' has a '{1}' extension - stripping it."),Resolution_for_module_0_was_found_in_cache_from_location_1:y(6147,3,"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:y(6148,3,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1:y(6164,3,"Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1_6164","Skipping module '{0}' that looks like an absolute URI, target file types: {1}."),Show_all_compiler_options:y(6169,3,"Show_all_compiler_options_6169","Show all compiler options."),Command_line_Options:y(6171,3,"Command_line_Options_6171","Command-line Options"),Enable_all_strict_type_checking_options:y(6180,3,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),Scoped_package_detected_looking_in_0:y(6182,3,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Numeric_separators_are_not_allowed_here:y(6188,1,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:y(6189,1,"Multiple_consecutive_numeric_separators_are_not_permitted_6189","Multiple consecutive numeric separators are not permitted."),Found_1_error_Watching_for_file_changes:y(6193,3,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:y(6194,3,"Found_0_errors_Watching_for_file_changes_6194","Found {0} errors. Watching for file changes."),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:y(6202,1,"Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202","Project references may not form a circular graph. Cycle detected: {0}"),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:y(6206,3,"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:y(6207,3,"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:y(6208,3,"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:y(6209,3,"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."),package_json_had_a_falsy_0_field:y(6220,3,"package_json_had_a_falsy_0_field_6220","'package.json' had a falsy '{0}' field."),Generates_an_event_trace_and_a_list_of_types:y(6237,3,"Generates_an_event_trace_and_a_list_of_types_6237","Generates an event trace and a list of types."),File_0_exists_according_to_earlier_cached_lookups:y(6239,3,"File_0_exists_according_to_earlier_cached_lookups_6239","File '{0}' exists according to earlier cached lookups."),File_0_does_not_exist_according_to_earlier_cached_lookups:y(6240,3,"File_0_does_not_exist_according_to_earlier_cached_lookups_6240","File '{0}' does not exist according to earlier cached lookups."),Interpret_optional_property_types_as_written_rather_than_adding_undefined:y(6243,3,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:y(6244,3,"Modules_6244","Modules"),File_Management:y(6245,3,"File_Management_6245","File Management"),Emit:y(6246,3,"Emit_6246","Emit"),JavaScript_Support:y(6247,3,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:y(6248,3,"Type_Checking_6248","Type Checking"),Editor_Support:y(6249,3,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:y(6250,3,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:y(6251,3,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:y(6252,3,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:y(6253,3,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:y(6254,3,"Language_and_Environment_6254","Language and Environment"),Projects:y(6255,3,"Projects_6255","Projects"),Output_Formatting:y(6256,3,"Output_Formatting_6256","Output Formatting"),Completeness:y(6257,3,"Completeness_6257","Completeness"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:y(6258,1,"_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file_6258","'{0}' should be set inside the 'compilerOptions' object of the config json file"),Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present:y(6264,3,"Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present_6264","Enable importing files with any extension, provided a declaration file is present."),Option_0_can_only_be_specified_on_command_line:y(6266,1,"Option_0_can_only_be_specified_on_command_line_6266","Option '{0}' can only be specified on command line."),Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve:y(6270,3,"Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve_6270","Directory '{0}' has no containing package.json scope. Imports will not resolve."),Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1:y(6271,3,"Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6271","Import specifier '{0}' does not exist in package.json scope at path '{1}'."),Invalid_import_specifier_0_has_no_possible_resolutions:y(6272,3,"Invalid_import_specifier_0_has_no_possible_resolutions_6272","Invalid import specifier '{0}' has no possible resolutions."),package_json_scope_0_has_no_imports_defined:y(6273,3,"package_json_scope_0_has_no_imports_defined_6273","package.json scope '{0}' has no imports defined."),package_json_scope_0_explicitly_maps_specifier_1_to_null:y(6274,3,"package_json_scope_0_explicitly_maps_specifier_1_to_null_6274","package.json scope '{0}' explicitly maps specifier '{1}' to null."),package_json_scope_0_has_invalid_type_for_target_of_specifier_1:y(6275,3,"package_json_scope_0_has_invalid_type_for_target_of_specifier_1_6275","package.json scope '{0}' has invalid type for target of specifier '{1}'"),Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1:y(6276,3,"Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6276","Export specifier '{0}' does not exist in package.json scope at path '{1}'."),Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update:y(6277,3,"Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_i_6277","Resolution of non-relative name failed; trying with modern Node resolution features disabled to see if npm library needs configuration update."),Resolution_of_non_relative_name_failed_trying_with_moduleResolution_bundler_to_see_if_project_may_need_configuration_update:y(6279,3,"Resolution_of_non_relative_name_failed_trying_with_moduleResolution_bundler_to_see_if_project_may_ne_6279","Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update."),package_json_has_a_peerDependencies_field:y(6281,3,"package_json_has_a_peerDependencies_field_6281","'package.json' has a 'peerDependencies' field."),Found_peerDependency_0_with_1_version:y(6282,3,"Found_peerDependency_0_with_1_version_6282","Found peerDependency '{0}' with '{1}' version."),Failed_to_find_peerDependency_0:y(6283,3,"Failed_to_find_peerDependency_0_6283","Failed to find peerDependency '{0}'."),Project_0_is_out_of_date_because_output_1_is_older_than_input_2:y(6350,3,"Project_0_is_out_of_date_because_output_1_is_older_than_input_2_6350","Project '{0}' is out of date because output '{1}' is older than input '{2}'"),Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2:y(6351,3,"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351","Project '{0}' is up to date because newest input '{1}' is older than output '{2}'"),Project_0_is_out_of_date_because_output_file_1_does_not_exist:y(6352,3,"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:y(6353,3,"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:y(6354,3,"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:y(6355,3,"Projects_in_this_build_Colon_0_6355","Projects in this build: {0}"),A_non_dry_build_would_build_project_0:y(6357,3,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:y(6358,3,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:y(6359,3,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),Project_0_is_up_to_date:y(6361,3,"Project_0_is_up_to_date_6361","Project '{0}' is up to date"),Skipping_build_of_project_0_because_its_dependency_1_has_errors:y(6362,3,"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:y(6363,3,"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:y(6364,3,"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:y(6365,3,"Delete_the_outputs_of_all_projects_6365","Delete the outputs of all projects."),Show_what_would_be_built_or_deleted_if_specified_with_clean:y(6367,3,"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367","Show what would be built (or deleted, if specified with '--clean')"),Option_build_must_be_the_first_command_line_argument:y(6369,1,"Option_build_must_be_the_first_command_line_argument_6369","Option '--build' must be the first command line argument."),Updating_unchanged_output_timestamps_of_project_0:y(6371,3,"Updating_unchanged_output_timestamps_of_project_0_6371","Updating unchanged output timestamps of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:y(6374,3,"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}'"),Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2:y(6381,3,"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:y(6382,3,"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:y(6383,3,"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"),Project_0_is_being_forcibly_rebuilt:y(6388,3,"Project_0_is_being_forcibly_rebuilt_6388","Project '{0}' is being forcibly rebuilt"),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted:y(6399,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitte_6399","Project '{0}' is out of date because buildinfo file '{1}' indicates that some of the changes were not emitted"),Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files:y(6400,3,"Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400","Project '{0}' is up to date but needs to update timestamps of output files that are older than input files"),Project_0_is_out_of_date_because_there_was_error_reading_file_1:y(6401,3,"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401","Project '{0}' is out of date because there was error reading file '{1}'"),Resolving_in_0_mode_with_conditions_1:y(6402,3,"Resolving_in_0_mode_with_conditions_1_6402","Resolving in {0} mode with conditions {1}."),Matched_0_condition_1:y(6403,3,"Matched_0_condition_1_6403","Matched '{0}' condition '{1}'."),Using_0_subpath_1_with_target_2:y(6404,3,"Using_0_subpath_1_with_target_2_6404","Using '{0}' subpath '{1}' with target '{2}'."),Saw_non_matching_condition_0:y(6405,3,"Saw_non_matching_condition_0_6405","Saw non-matching condition '{0}'."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions:y(6406,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions_6406","Project '{0}' is out of date because buildinfo file '{1}' indicates there is change in compilerOptions"),Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set:y(6407,3,"Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noE_6407","Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set."),Use_the_package_json_exports_field_when_resolving_package_imports:y(6408,3,"Use_the_package_json_exports_field_when_resolving_package_imports_6408","Use the package.json 'exports' field when resolving package imports."),Use_the_package_json_imports_field_when_resolving_imports:y(6409,3,"Use_the_package_json_imports_field_when_resolving_imports_6409","Use the package.json 'imports' field when resolving imports."),Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports:y(6410,3,"Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports_6410","Conditions to set in addition to the resolver-specific defaults when resolving imports."),true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false:y(6411,3,"true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false_6411","`true` when 'moduleResolution' is 'node16', 'nodenext', or 'bundler'; otherwise `false`."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more:y(6412,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_6412","Project '{0}' is out of date because buildinfo file '{1}' indicates that file '{2}' was root file of compilation but not any more."),Entering_conditional_exports:y(6413,3,"Entering_conditional_exports_6413","Entering conditional exports."),Resolved_under_condition_0:y(6414,3,"Resolved_under_condition_0_6414","Resolved under condition '{0}'."),Failed_to_resolve_under_condition_0:y(6415,3,"Failed_to_resolve_under_condition_0_6415","Failed to resolve under condition '{0}'."),Exiting_conditional_exports:y(6416,3,"Exiting_conditional_exports_6416","Exiting conditional exports."),Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0:y(6417,3,"Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0_6417","Searching all ancestor node_modules directories for preferred extensions: {0}."),Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0:y(6418,3,"Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0_6418","Searching all ancestor node_modules directories for fallback extensions: {0}."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_program_needs_to_report_errors:y(6419,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_program_needs_to_report_errors_6419","Project '{0}' is out of date because buildinfo file '{1}' indicates that program needs to report errors."),Project_0_is_out_of_date_because_1:y(6420,3,"Project_0_is_out_of_date_because_1_6420","Project '{0}' is out of date because {1}."),Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_in_output_files:y(6421,3,"Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_i_6421","Rewrite '.ts', '.tsx', '.mts', and '.cts' file extensions in relative import paths to their JavaScript equivalent in output files."),Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing:y(6503,3,"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."),Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJs_option_to_get_errors_from_these_files:y(6600,3,"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJs_option_to_get_errors_from_these__6600","Allow JavaScript files to be a part of your program. Use the 'checkJs' option to get errors from these files."),Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export:y(6601,3,"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601","Allow 'import x from y' when a module doesn't have a default export."),Allow_accessing_UMD_globals_from_modules:y(6602,3,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:y(6603,3,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:y(6604,3,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:y(6605,3,"Ensure_use_strict_is_always_emitted_6605","Ensure 'use strict' is always emitted."),Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:y(6606,3,"Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_wi_6606","Have recompiles in projects that use 'incremental' and 'watch' mode assume that changes within a file will only affect files directly depending on it."),Specify_the_base_directory_to_resolve_non_relative_module_names:y(6607,3,"Specify_the_base_directory_to_resolve_non_relative_module_names_6607","Specify the base directory to resolve non-relative module names."),No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files:y(6608,3,"No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files_6608","No longer supported. In early versions, manually set the text encoding for reading files."),Enable_error_reporting_in_type_checked_JavaScript_files:y(6609,3,"Enable_error_reporting_in_type_checked_JavaScript_files_6609","Enable error reporting in type-checked JavaScript files."),Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references:y(6611,3,"Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references_6611","Enable constraints that allow a TypeScript project to be used with project references."),Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project:y(6612,3,"Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project_6612","Generate .d.ts files from TypeScript and JavaScript files in your project."),Specify_the_output_directory_for_generated_declaration_files:y(6613,3,"Specify_the_output_directory_for_generated_declaration_files_6613","Specify the output directory for generated declaration files."),Create_sourcemaps_for_d_ts_files:y(6614,3,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:y(6615,3,"Output_compiler_performance_information_after_building_6615","Output compiler performance information after building."),Reduce_the_number_of_projects_loaded_automatically_by_TypeScript:y(6617,3,"Reduce_the_number_of_projects_loaded_automatically_by_TypeScript_6617","Reduce the number of projects loaded automatically by TypeScript."),Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server:y(6618,3,"Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server_6618","Remove the 20mb cap on total source code size for JavaScript files in the TypeScript language server."),Opt_a_project_out_of_multi_project_reference_checking_when_editing:y(6619,3,"Opt_a_project_out_of_multi_project_reference_checking_when_editing_6619","Opt a project out of multi-project reference checking when editing."),Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects:y(6620,3,"Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects_6620","Disable preferring source files instead of declaration files when referencing composite projects."),Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration:y(6621,3,"Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration_6621","Emit more compliant, but verbose and less performant JavaScript for iteration."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:y(6622,3,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6622","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Only_output_d_ts_files_and_not_JavaScript_files:y(6623,3,"Only_output_d_ts_files_and_not_JavaScript_files_6623","Only output d.ts files and not JavaScript files."),Emit_design_type_metadata_for_decorated_declarations_in_source_files:y(6624,3,"Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624","Emit design-type metadata for decorated declarations in source files."),Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility:y(6626,3,"Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheti_6626","Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility."),Remove_a_list_of_directories_from_the_watch_process:y(6628,3,"Remove_a_list_of_directories_from_the_watch_process_6628","Remove a list of directories from the watch process."),Remove_a_list_of_files_from_the_watch_mode_s_processing:y(6629,3,"Remove_a_list_of_files_from_the_watch_mode_s_processing_6629","Remove a list of files from the watch mode's processing."),Enable_experimental_support_for_legacy_experimental_decorators:y(6630,3,"Enable_experimental_support_for_legacy_experimental_decorators_6630","Enable experimental support for legacy experimental decorators."),Print_files_read_during_the_compilation_including_why_it_was_included:y(6631,3,"Print_files_read_during_the_compilation_including_why_it_was_included_6631","Print files read during the compilation including why it was included."),Output_more_detailed_compiler_performance_information_after_building:y(6632,3,"Output_more_detailed_compiler_performance_information_after_building_6632","Output more detailed compiler performance information after building."),Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers:y(6634,3,"Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers_6634","Specify what approach the watcher should use if the system runs out of native file watchers."),Build_all_projects_including_those_that_appear_to_be_up_to_date:y(6636,3,"Build_all_projects_including_those_that_appear_to_be_up_to_date_6636","Build all projects, including those that appear to be up to date."),Ensure_that_casing_is_correct_in_imports:y(6637,3,"Ensure_that_casing_is_correct_in_imports_6637","Ensure that casing is correct in imports."),Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging:y(6638,3,"Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging_6638","Emit a v8 CPU profile of the compiler run for debugging."),Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file:y(6639,3,"Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file_6639","Allow importing helper functions from tslib once per project, instead of including them per-file."),Skip_building_downstream_projects_on_error_in_upstream_project:y(6640,3,"Skip_building_downstream_projects_on_error_in_upstream_project_6640","Skip building downstream projects on error in upstream project."),Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects:y(6642,3,"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642","Save .tsbuildinfo files to allow for incremental compilation of projects."),Include_sourcemap_files_inside_the_emitted_JavaScript:y(6643,3,"Include_sourcemap_files_inside_the_emitted_JavaScript_6643","Include sourcemap files inside the emitted JavaScript."),Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript:y(6644,3,"Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644","Include source code in the sourcemaps inside the emitted JavaScript."),Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports:y(6645,3,"Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports_6645","Ensure that each file can be safely transpiled without relying on other imports."),Specify_what_JSX_code_is_generated:y(6646,3,"Specify_what_JSX_code_is_generated_6646","Specify what JSX code is generated."),Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h:y(6647,3,"Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h_6647","Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'."),Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment:y(6648,3,"Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragme_6648","Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'."),Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk:y(6649,3,"Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Ast_6649","Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'."),Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option:y(6650,3,"Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650","Make keyof only return strings instead of string, numbers or symbols. Legacy option."),Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment:y(6651,3,"Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment_6651","Specify a set of bundled library declaration files that describe the target runtime environment."),Print_the_names_of_emitted_files_after_a_compilation:y(6652,3,"Print_the_names_of_emitted_files_after_a_compilation_6652","Print the names of emitted files after a compilation."),Print_all_of_the_files_read_during_the_compilation:y(6653,3,"Print_all_of_the_files_read_during_the_compilation_6653","Print all of the files read during the compilation."),Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit:y(6654,3,"Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit_6654","Set the language of the messaging from TypeScript. This does not affect emit."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:y(6655,3,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6655","Specify the location where debugger should locate map files instead of generated locations."),Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs:y(6656,3,"Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicabl_6656","Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'."),Specify_what_module_code_is_generated:y(6657,3,"Specify_what_module_code_is_generated_6657","Specify what module code is generated."),Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier:y(6658,3,"Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier_6658","Specify how TypeScript looks up a file from a given module specifier."),Set_the_newline_character_for_emitting_files:y(6659,3,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:y(6660,3,"Disable_emitting_files_from_a_compilation_6660","Disable emitting files from a compilation."),Disable_generating_custom_helper_functions_like_extends_in_compiled_output:y(6661,3,"Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661","Disable generating custom helper functions like '__extends' in compiled output."),Disable_emitting_files_if_any_type_checking_errors_are_reported:y(6662,3,"Disable_emitting_files_if_any_type_checking_errors_are_reported_6662","Disable emitting files if any type checking errors are reported."),Disable_truncating_types_in_error_messages:y(6663,3,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:y(6664,3,"Enable_error_reporting_for_fallthrough_cases_in_switch_statements_6664","Enable error reporting for fallthrough cases in switch statements."),Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type:y(6665,3,"Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type_6665","Enable error reporting for expressions and declarations with an implied 'any' type."),Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier:y(6666,3,"Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier_6666","Ensure overriding members in derived classes are marked with an override modifier."),Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function:y(6667,3,"Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function_6667","Enable error reporting for codepaths that do not explicitly return in a function."),Enable_error_reporting_when_this_is_given_the_type_any:y(6668,3,"Enable_error_reporting_when_this_is_given_the_type_any_6668","Enable error reporting when 'this' is given the type 'any'."),Disable_adding_use_strict_directives_in_emitted_JavaScript_files:y(6669,3,"Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669","Disable adding 'use strict' directives in emitted JavaScript files."),Disable_including_any_library_files_including_the_default_lib_d_ts:y(6670,3,"Disable_including_any_library_files_including_the_default_lib_d_ts_6670","Disable including any library files, including the default lib.d.ts."),Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type:y(6671,3,"Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type_6671","Enforces using indexed accessors for keys declared using an indexed type."),Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project:y(6672,3,"Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add__6672","Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project."),Disable_strict_checking_of_generic_signatures_in_function_types:y(6673,3,"Disable_strict_checking_of_generic_signatures_in_function_types_6673","Disable strict checking of generic signatures in function types."),Add_undefined_to_a_type_when_accessed_using_an_index:y(6674,3,"Add_undefined_to_a_type_when_accessed_using_an_index_6674","Add 'undefined' to a type when accessed using an index."),Enable_error_reporting_when_local_variables_aren_t_read:y(6675,3,"Enable_error_reporting_when_local_variables_aren_t_read_6675","Enable error reporting when local variables aren't read."),Raise_an_error_when_a_function_parameter_isn_t_read:y(6676,3,"Raise_an_error_when_a_function_parameter_isn_t_read_6676","Raise an error when a function parameter isn't read."),Deprecated_setting_Use_outFile_instead:y(6677,3,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use 'outFile' instead."),Specify_an_output_folder_for_all_emitted_files:y(6678,3,"Specify_an_output_folder_for_all_emitted_files_6678","Specify an output folder for all emitted files."),Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output:y(6679,3,"Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designa_6679","Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output."),Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations:y(6680,3,"Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations_6680","Specify a set of entries that re-map imports to additional lookup locations."),Specify_a_list_of_language_service_plugins_to_include:y(6681,3,"Specify_a_list_of_language_service_plugins_to_include_6681","Specify a list of language service plugins to include."),Disable_erasing_const_enum_declarations_in_generated_code:y(6682,3,"Disable_erasing_const_enum_declarations_in_generated_code_6682","Disable erasing 'const enum' declarations in generated code."),Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node:y(6683,3,"Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node_6683","Disable resolving symlinks to their realpath. This correlates to the same flag in node."),Disable_wiping_the_console_in_watch_mode:y(6684,3,"Disable_wiping_the_console_in_watch_mode_6684","Disable wiping the console in watch mode."),Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read:y(6685,3,"Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read_6685","Enable color and formatting in TypeScript's output to make compiler errors easier to read."),Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit:y(6686,3,"Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit_6686","Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit."),Disable_emitting_comments:y(6688,3,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:y(6689,3,"Enable_importing_json_files_6689","Enable importing .json files."),Specify_the_root_folder_within_your_source_files:y(6690,3,"Specify_the_root_folder_within_your_source_files_6690","Specify the root folder within your source files."),Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules:y(6691,3,"Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules_6691","Allow multiple folders to be treated as one when resolving modules."),Skip_type_checking_d_ts_files_that_are_included_with_TypeScript:y(6692,3,"Skip_type_checking_d_ts_files_that_are_included_with_TypeScript_6692","Skip type checking .d.ts files that are included with TypeScript."),Skip_type_checking_all_d_ts_files:y(6693,3,"Skip_type_checking_all_d_ts_files_6693","Skip type checking all .d.ts files."),Create_source_map_files_for_emitted_JavaScript_files:y(6694,3,"Create_source_map_files_for_emitted_JavaScript_files_6694","Create source map files for emitted JavaScript files."),Specify_the_root_path_for_debuggers_to_find_the_reference_source_code:y(6695,3,"Specify_the_root_path_for_debuggers_to_find_the_reference_source_code_6695","Specify the root path for debuggers to find the reference source code."),Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function:y(6697,3,"Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function_6697","Check that the arguments for 'bind', 'call', and 'apply' methods match the original function."),When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible:y(6698,3,"When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible_6698","When assigning functions, check to ensure parameters and the return values are subtype-compatible."),When_type_checking_take_into_account_null_and_undefined:y(6699,3,"When_type_checking_take_into_account_null_and_undefined_6699","When type checking, take into account 'null' and 'undefined'."),Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor:y(6700,3,"Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor_6700","Check for class properties that are declared but not set in the constructor."),Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments:y(6701,3,"Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701","Disable emitting declarations that have '@internal' in their JSDoc comments."),Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals:y(6702,3,"Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals_6702","Disable reporting of excess property errors during the creation of object literals."),Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures:y(6703,3,"Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703","Suppress 'noImplicitAny' errors when indexing objects that lack index signatures."),Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively:y(6704,3,"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6704","Synchronously call callbacks and update the state of directory watchers on platforms that don`t support recursive watching natively."),Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations:y(6705,3,"Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declaratio_6705","Set the JavaScript language version for emitted JavaScript and include compatible library declarations."),Log_paths_used_during_the_moduleResolution_process:y(6706,3,"Log_paths_used_during_the_moduleResolution_process_6706","Log paths used during the 'moduleResolution' process."),Specify_the_path_to_tsbuildinfo_incremental_compilation_file:y(6707,3,"Specify_the_path_to_tsbuildinfo_incremental_compilation_file_6707","Specify the path to .tsbuildinfo incremental compilation file."),Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types:y(6710,3,"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710","Specify multiple folders that act like './node_modules/@types'."),Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file:y(6711,3,"Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file_6711","Specify type package names to be included without being referenced in a source file."),Emit_ECMAScript_standard_compliant_class_fields:y(6712,3,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:y(6713,3,"Enable_verbose_logging_6713","Enable verbose logging."),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:y(6714,3,"Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality_6714","Specify how directories are watched on systems that lack recursive file-watching functionality."),Specify_how_the_TypeScript_watch_mode_works:y(6715,3,"Specify_how_the_TypeScript_watch_mode_works_6715","Specify how the TypeScript watch mode works."),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:y(6718,3,"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718","Specify emit/checking behavior for imports that are only used for types."),Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files:y(6719,3,"Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files_6719","Require sufficient annotation on exports so other tools can trivially generate declaration files."),Built_in_iterators_are_instantiated_with_a_TReturn_type_of_undefined_instead_of_any:y(6720,3,"Built_in_iterators_are_instantiated_with_a_TReturn_type_of_undefined_instead_of_any_6720","Built-in iterators are instantiated with a 'TReturn' type of 'undefined' instead of 'any'."),Do_not_allow_runtime_constructs_that_are_not_part_of_ECMAScript:y(6721,3,"Do_not_allow_runtime_constructs_that_are_not_part_of_ECMAScript_6721","Do not allow runtime constructs that are not part of ECMAScript."),Default_catch_clause_variables_as_unknown_instead_of_any:y(6803,3,"Default_catch_clause_variables_as_unknown_instead_of_any_6803","Default catch clause variables as 'unknown' instead of 'any'."),Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting:y(6804,3,"Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_i_6804","Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting."),Disable_full_type_checking_only_critical_parse_and_emit_errors_will_be_reported:y(6805,3,"Disable_full_type_checking_only_critical_parse_and_emit_errors_will_be_reported_6805","Disable full type checking (only critical parse and emit errors will be reported)."),Check_side_effect_imports:y(6806,3,"Check_side_effect_imports_6806","Check side effect imports."),Enable_lib_replacement:y(6808,3,"Enable_lib_replacement_6808","Enable lib replacement."),Ensure_types_are_ordered_stably_and_deterministically_across_compilations:y(6809,3,"Ensure_types_are_ordered_stably_and_deterministically_across_compilations_6809","Ensure types are ordered stably and deterministically across compilations."),true_unless_strict_is_false:y(6905,3,"true_unless_strict_is_false_6905","`true`, unless `strict` is `false`"),false_unless_composite_is_set:y(6906,3,"false_unless_composite_is_set_6906","`false`, unless `composite` is set"),node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified:y(6907,3,"node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907",'`["node_modules", "bower_components", "jspm_packages"]`, plus the value of `outDir` if one is specified.'),if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk:y(6908,3,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),nodenext_if_module_is_nodenext_node16_if_module_is_node16_or_node18_otherwise_bundler:y(69010,3,"nodenext_if_module_is_nodenext_node16_if_module_is_node16_or_node18_otherwise_bundler_69010","`nodenext` if `module` is `nodenext`; `node16` if `module` is `node16` or `node18`; otherwise, `bundler`."),Computed_from_the_list_of_input_files:y(6911,3,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:y(6912,3,"Platform_specific_6912","Platform specific"),true_for_ES2022_and_above_including_ESNext:y(6930,3,"true_for_ES2022_and_above_including_ESNext_6930","`true` for ES2022 and above, including ESNext."),List_of_file_name_suffixes_to_search_when_resolving_a_module:y(6931,1,"List_of_file_name_suffixes_to_search_when_resolving_a_module_6931","List of file name suffixes to search when resolving a module."),false_unless_checkJs_is_set:y(6932,3,"false_unless_checkJs_is_set_6932","`false`, unless `checkJs` is set"),The_0_modifier_can_only_be_used_in_TypeScript_files:y(8009,1,"The_0_modifier_can_only_be_used_in_TypeScript_files_8009","The '{0}' modifier can only be used in TypeScript files."),A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags:y(8033,1,"A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033","A JSDoc '@typedef' comment may not contain multiple '@type' tags."),The_tag_was_first_specified_here:y(8034,1,"The_tag_was_first_specified_here_8034","The tag was first specified here."),A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag:y(8039,1,"A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag_8039","A JSDoc '@template' tag may not follow a '@typedef', '@callback', or '@overload' tag"),Expected_corresponding_JSX_closing_tag_for_0:y(17002,1,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),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:y(17006,1,"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:y(17007,1,"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:y(17008,1,"JSX_element_0_has_no_corresponding_closing_tag_17008","JSX element '{0}' has no corresponding closing tag."),Unknown_type_acquisition_option_0:y(17010,1,"Unknown_type_acquisition_option_0_17010","Unknown type acquisition option '{0}'."),JSX_fragment_has_no_corresponding_closing_tag:y(17014,1,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:y(17015,1,"Expected_corresponding_closing_tag_for_JSX_fragment_17015","Expected corresponding closing tag for JSX fragment."),Unknown_type_acquisition_option_0_Did_you_mean_1:y(17018,1,"Unknown_type_acquisition_option_0_Did_you_mean_1_17018","Unknown type acquisition option '{0}'. Did you mean '{1}'?"),Unicode_escape_sequence_cannot_appear_here:y(17021,1,"Unicode_escape_sequence_cannot_appear_here_17021","Unicode escape sequence cannot appear here."),Circularity_detected_while_resolving_configuration_Colon_0:y(18e3,1,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),The_files_list_in_config_file_0_is_empty:y(18002,1,"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:y(18003,1,"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}'."),Private_identifiers_cannot_be_used_as_parameters:y(18009,1,"Private_identifiers_cannot_be_used_as_parameters_18009","Private identifiers cannot be used as parameters."),Private_identifiers_are_not_allowed_outside_class_bodies:y(18016,1,"Private_identifiers_are_not_allowed_outside_class_bodies_18016","Private identifiers are not allowed outside class bodies."),can_only_be_used_at_the_start_of_a_file:y(18026,1,"can_only_be_used_at_the_start_of_a_file_18026","'#!' can only be used at the start of a file."),Private_identifiers_are_not_allowed_in_variable_declarations:y(18029,1,"Private_identifiers_are_not_allowed_in_variable_declarations_18029","Private identifiers are not allowed in variable declarations."),An_optional_chain_cannot_contain_private_identifiers:y(18030,1,"An_optional_chain_cannot_contain_private_identifiers_18030","An optional chain cannot contain private identifiers."),Compiler_option_0_cannot_be_given_an_empty_string:y(18051,1,"Compiler_option_0_cannot_be_given_an_empty_string_18051","Compiler option '{0}' cannot be given an empty string.")};function Gt(e){return e>=80}function Dy(e){return e===32||Gt(e)}var Xd={abstract:128,accessor:129,any:133,as:130,asserts:131,assert:132,bigint:163,boolean:136,break:83,case:84,catch:85,class:86,continue:88,const:87,constructor:137,debugger:89,declare:138,default:90,defer:166,delete:91,do:92,else:93,enum:94,export:95,extends:96,false:97,finally:98,for:99,from:161,function:100,get:139,if:101,implements:119,import:102,in:103,infer:140,instanceof:104,interface:120,intrinsic:141,is:142,keyof:143,let:121,module:144,namespace:145,never:146,new:105,null:106,number:150,object:151,package:122,private:123,protected:124,public:125,override:164,out:147,readonly:148,require:149,global:162,return:107,satisfies:152,set:153,static:126,string:154,super:108,switch:109,symbol:155,this:110,throw:111,true:112,try:113,type:156,typeof:114,undefined:157,unique:158,unknown:159,using:160,var:115,void:116,while:117,with:118,yield:127,async:134,await:135,of:165},Sy=new Map(Object.entries(Xd)),ih=new Map(Object.entries({...Xd,"{":19,"}":20,"(":21,")":22,"[":23,"]":24,".":25,"...":26,";":27,",":28,"<":30,">":32,"<=":33,">=":34,"==":35,"!=":36,"===":37,"!==":38,"=>":39,"+":40,"-":41,"**":43,"*":42,"/":44,"%":45,"++":46,"--":47,"<<":48,"</":31,">>":49,">>>":50,"&":51,"|":52,"^":53,"!":54,"~":55,"&&":56,"||":57,"?":58,"??":61,"?.":29,":":59,"=":64,"+=":65,"-=":66,"*=":67,"**=":68,"/=":69,"%=":70,"<<=":71,">>=":72,">>>=":73,"&=":74,"|=":75,"^=":79,"||=":76,"&&=":77,"??=":78,"@":60,"#":63,"`":62})),xy=new Map([[100,1],[103,2],[105,4],[109,8],[115,16],[117,32],[118,64],[121,128]]),Py=new Map([[1,ic.RegularExpressionFlagsHasIndices],[16,ic.RegularExpressionFlagsDotAll],[32,ic.RegularExpressionFlagsUnicode],[64,ic.RegularExpressionFlagsUnicodeSets],[128,ic.RegularExpressionFlagsSticky]]),Iy=[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],Ay=[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],Oy=[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,2160,2183,2185,2190,2208,2249,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,3165,3165,3168,3169,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3293,3294,3296,3297,3313,3314,3332,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,5905,5919,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,6988,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,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,12735,12784,12799,13312,19903,19968,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42653,42656,42735,42775,42783,42786,42888,42891,42954,42960,42961,42963,42963,42965,42969,42994,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,43881,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,66928,66938,66940,66954,66956,66962,66964,66965,66967,66977,66979,66993,66995,67001,67003,67004,67072,67382,67392,67413,67424,67431,67456,67461,67463,67504,67506,67514,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,69248,69289,69296,69297,69376,69404,69415,69415,69424,69445,69488,69505,69552,69572,69600,69622,69635,69687,69745,69746,69749,69749,69763,69807,69840,69864,69891,69926,69956,69956,69959,69959,69968,70002,70006,70006,70019,70066,70081,70084,70106,70106,70108,70108,70144,70161,70163,70187,70207,70208,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,70753,70784,70831,70852,70853,70855,70855,71040,71086,71128,71131,71168,71215,71236,71236,71296,71338,71352,71352,71424,71450,71488,71494,71680,71723,71840,71903,71935,71942,71945,71945,71948,71955,71957,71958,71960,71983,71999,71999,72001,72001,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72368,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,73474,73474,73476,73488,73490,73523,73648,73648,73728,74649,74752,74862,74880,75075,77712,77808,77824,78895,78913,78918,82944,83526,92160,92728,92736,92766,92784,92862,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,101589,101632,101640,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,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,122624,122654,122661,122666,122928,122989,123136,123180,123191,123197,123214,123214,123536,123565,123584,123627,124112,124139,124896,124902,124904,124907,124909,124910,124912,124926,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,173791,173824,177977,177984,178205,178208,183969,183984,191456,191472,192093,194560,195101,196608,201546,201552,205743],Ly=[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,2160,2183,2185,2190,2200,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,2901,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,3132,3140,3142,3144,3146,3149,3157,3158,3160,3162,3165,3165,3168,3171,3174,3183,3200,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3293,3294,3296,3299,3302,3311,3313,3315,3328,3340,3342,3344,3346,3396,3398,3400,3402,3406,3412,3415,3423,3427,3430,3439,3450,3455,3457,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,3790,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,5909,5919,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6159,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,6847,6862,6912,6988,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7296,7304,7312,7354,7357,7359,7376,7378,7380,7418,7424,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,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,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,12543,12549,12591,12593,12686,12704,12735,12784,12799,13312,19903,19968,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42737,42775,42783,42786,42888,42891,42954,42960,42961,42963,42963,42965,42969,42994,43047,43052,43052,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,43881,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,65381,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,66928,66938,66940,66954,66956,66962,66964,66965,66967,66977,66979,66993,66995,67001,67003,67004,67072,67382,67392,67413,67424,67431,67456,67461,67463,67504,67506,67514,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,69248,69289,69291,69292,69296,69297,69373,69404,69415,69415,69424,69456,69488,69509,69552,69572,69600,69622,69632,69702,69734,69749,69759,69818,69826,69826,69840,69864,69872,69881,69888,69940,69942,69951,69956,69959,69968,70003,70006,70006,70016,70084,70089,70092,70094,70106,70108,70108,70144,70161,70163,70199,70206,70209,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,70753,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,71488,71494,71680,71738,71840,71913,71935,71942,71945,71945,71948,71955,71957,71958,71960,71989,71991,71992,71995,72003,72016,72025,72096,72103,72106,72151,72154,72161,72163,72164,72192,72254,72263,72263,72272,72345,72349,72349,72368,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,73472,73488,73490,73530,73534,73538,73552,73561,73648,73648,73728,74649,74752,74862,74880,75075,77712,77808,77824,78895,78912,78933,82944,83526,92160,92728,92736,92766,92768,92777,92784,92862,92864,92873,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,94180,94192,94193,94208,100343,100352,101589,101632,101640,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,113821,113822,118528,118573,118576,118598,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,122624,122654,122661,122666,122880,122886,122888,122904,122907,122913,122915,122916,122918,122922,122928,122989,123023,123023,123136,123180,123184,123197,123200,123209,123214,123214,123536,123566,123584,123641,124112,124153,124896,124902,124904,124907,124909,124910,124912,124926,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,130032,130041,131072,173791,173824,177977,177984,178205,178208,183969,183984,191456,191472,192093,194560,195101,196608,201546,201552,205743,917760,917999],Ny=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,Jy=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/,jy=/@(?:see|link)/i;function x_(e,t){if(e<t[0])return!1;let r=0,i=t.length,c;for(;r+1<i;){if(c=r+(i-r)/2,c-=c%2,t[c]<=e&&e<=t[c+1])return!0;e<t[c]?i=c:r=c+2}return!1}function My(e,t){return t>=2?x_(e,Oy):x_(e,Iy)}function By(e,t){return t>=2?x_(e,Ly):x_(e,Ay)}function Ry(e){const t=[];return e.forEach((r,i)=>{t[r]=i}),t}var Uy=Ry(ih);function xn(e){return Uy[e]}function Am(e){return ih.get(e)}function oh(e){return xy.get(e)}function sh(e){const t=[];let r=0,i=0;for(;r<e.length;){const c=e.charCodeAt(r);switch(r++,c){case 13:e.charCodeAt(r)===10&&r++;case 10:t.push(i),i=r;break;default:c>127&&Jn(c)&&(t.push(i),i=r);break}}return t.push(i),t}function Fy(e,t,r,i,c){(t<0||t>=e.length)&&(c?t=t<0?0:t>=e.length?e.length-1:t:N.fail(`Bad line number. Line: ${t}, lineStarts.length: ${e.length} , line map is correct? ${i!==void 0?n8(e,sh(i)):"unknown"}`));const l=e[t]+r;return c?l>e[t+1]?e[t+1]:typeof i=="string"&&l>i.length?i.length:l:(t<e.length-1?N.assert(l<e[t+1]):i!==void 0&&N.assert(l<=i.length),l)}function P_(e){return e.lineMap||(e.lineMap=sh(e.text))}function Vy(e,t){const r=Wy(e,t);return{line:r,character:t-e[r]}}function Wy(e,t,r){let i=s8(e,t,Ot,Dn,r);return i<0&&(i=~i-1,N.assert(i!==-1,"position cannot precede the beginning of the file")),i}function Bo(e,t){return Vy(P_(e),t)}function sc(e){return ac(e)||Jn(e)}function ac(e){return e===32||e===9||e===11||e===12||e===160||e===133||e===5760||e>=8192&&e<=8203||e===8239||e===8287||e===12288||e===65279}function Jn(e){return e===10||e===13||e===8232||e===8233}function zi(e){return e>=48&&e<=57}function Yd(e){return zi(e)||e>=65&&e<=70||e>=97&&e<=102}function Zd(e){return e>=65&&e<=90||e>=97&&e<=122}function ah(e){return Zd(e)||zi(e)||e===95}function Kd(e){return e>=48&&e<=55}function yn(e,t,r,i,c){if(kc(t))return t;let l=!1;for(;;){const p=e.charCodeAt(t);switch(p){case 13:e.charCodeAt(t+1)===10&&t++;case 10:if(t++,r)return t;l=!!c;continue;case 9:case 11:case 12:case 32:t++;continue;case 47:if(i)break;if(e.charCodeAt(t+1)===47){for(t+=2;t<e.length&&!Jn(e.charCodeAt(t));)t++;l=!1;continue}if(e.charCodeAt(t+1)===42){for(t+=2;t<e.length;){if(e.charCodeAt(t)===42&&e.charCodeAt(t+1)===47){t+=2;break}t++}l=!1;continue}break;case 60:case 124:case 61:case 62:if(Ro(e,t)){t=js(e,t),l=!1;continue}break;case 35:if(t===0&&ch(e,t)){t=uh(e,t),l=!1;continue}break;case 42:if(l){t++,l=!1;continue}break;default:if(p>127&&sc(p)){t++;continue}break}return t}}var I_=7;function Ro(e,t){if(N.assert(t>=0),t===0||Jn(e.charCodeAt(t-1))){const r=e.charCodeAt(t);if(t+I_<e.length){for(let i=0;i<I_;i++)if(e.charCodeAt(t+i)!==r)return!1;return r===61||e.charCodeAt(t+I_)===32}}return!1}function js(e,t,r){r&&r(f.Merge_conflict_marker_encountered,t,I_);const i=e.charCodeAt(t),c=e.length;if(i===60||i===62)for(;t<c&&!Jn(e.charCodeAt(t));)t++;else for(N.assert(i===124||i===61);t<c;){const l=e.charCodeAt(t);if((l===61||l===62)&&l!==i&&Ro(e,t))break;t++}return t}var e1=/^#!.*/;function ch(e,t){return N.assert(t===0),e1.test(e)}function uh(e,t){const r=e1.exec(e)[0];return t=t+r.length,t}function lh(e,t,r,i,c,l,p){let g,a,b,d,E=!1,T=i,C=p;if(r===0){T=!0;const S=Gy(t);S&&(r=S.length)}e:for(;r>=0&&r<t.length;){const S=t.charCodeAt(r);switch(S){case 13:t.charCodeAt(r+1)===10&&r++;case 10:if(r++,i)break e;T=!0,E&&(d=!0);continue;case 9:case 11:case 12:case 32:r++;continue;case 47:const j=t.charCodeAt(r+1);let L=!1;if(j===47||j===42){const A=j===47?2:3,U=r;if(r+=2,j===47)for(;r<t.length;){if(Jn(t.charCodeAt(r))){L=!0;break}r++}else for(;r<t.length;){if(t.charCodeAt(r)===42&&t.charCodeAt(r+1)===47){r+=2;break}r++}if(T){if(E&&(C=c(g,a,b,d,l,C),!e&&C))return C;g=U,a=r,b=A,d=L,E=!0}continue}break e;default:if(S>127&&sc(S)){E&&Jn(S)&&(d=!0),r++;continue}break e}}return E&&(C=c(g,a,b,d,l,C)),C}function zy(e,t,r,i,c){return lh(!0,e,t,!1,r,i,c)}function qy(e,t,r,i,c){return lh(!0,e,t,!0,r,i,c)}function _h(e,t,r,i,c,l=[]){return l.push({kind:r,pos:e,end:t,hasTrailingNewLine:i}),l}function t1(e,t){return zy(e,t,_h,void 0,void 0)}function Hy(e,t){return qy(e,t,_h,void 0,void 0)}function Gy(e){const t=e1.exec(e);if(t)return t[0]}function Wr(e,t){return Zd(e)||e===36||e===95||e>127&&My(e,t)}function Ci(e,t,r){return ah(e)||e===36||(r===1?e===45||e===58:!1)||e>127&&By(e,t)}function $y(e,t,r){let i=Uo(e,0);if(!Wr(i,t))return!1;for(let c=vn(i);c<e.length;c+=vn(i))if(!Ci(i=Uo(e,c),t,r))return!1;return!0}function Ko(e,t,r=0,i,c,l,p){var g=i,a,b,d,E,T,C,S,j,L=0,A=0,U=0;nn(g,l,p);var x={getTokenFullStart:()=>d,getStartPos:()=>d,getTokenEnd:()=>a,getTextPos:()=>a,getToken:()=>T,getTokenStart:()=>E,getTokenPos:()=>E,getTokenText:()=>g.substring(E,a),getTokenValue:()=>C,hasUnicodeEscape:()=>(S&1024)!==0,hasExtendedUnicodeEscape:()=>(S&8)!==0,hasPrecedingLineBreak:()=>(S&1)!==0,hasPrecedingJSDocComment:()=>(S&2)!==0,hasPrecedingJSDocLeadingAsterisks:()=>(S&32768)!==0,isIdentifier:()=>T===80||T>118,isReservedWord:()=>T>=83&&T<=118,isUnterminated:()=>(S&4)!==0,getCommentDirectives:()=>j,getNumericLiteralFlags:()=>S&25584,getTokenFlags:()=>S,reScanGreaterToken:Te,reScanAsteriskEqualsToken:Xe,reScanSlashToken:xe,reScanTemplateToken:wt,reScanTemplateHeadOrNoSubstitutionTemplate:$t,scanJsxIdentifier:Lr,scanJsxAttributeValue:ht,reScanJsxAttributeValue:We,reScanJsxToken:Xn,reScanLessThanToken:lr,reScanHashToken:_r,reScanQuestionToken:bn,reScanInvalidIdentifier:ue,scanJsxToken:jn,scanJsDocToken:q,scanJSDocCommentTextToken:Hr,scan:Le,getText:bt,clearCommentDirectives:It,setText:nn,setScriptTarget:Lt,setLanguageVariant:ui,setScriptKind:Gr,setJSDocParsingMode:fr,setOnError:Wt,resetTokenState:Cr,setTextPos:Cr,setSkipJsDocLeadingAsterisks:so,tryScan:mt,lookAhead:je,scanRange:we};return N.isDebugging&&Object.defineProperty(x,"__debugShowCurrentPositionInText",{get:()=>{const $=x.getText();return $.slice(0,x.getTokenFullStart())+"\u2551"+$.slice(x.getTokenFullStart())}}),x;function F($){return Uo(g,$)}function te($){return $>=0&&$<b?F($):-1}function J($){return g.charCodeAt($)}function V($){return $>=0&&$<b?J($):-1}function D($,ie=a,oe,Me){if(c){const Be=a;a=ie,c($,oe||0,Me),a=Be}}function Z(){let $=a,ie=!1,oe=!1,Me="";for(;;){const Be=J(a);if(Be===95){S|=512,ie?(ie=!1,oe=!0,Me+=g.substring($,a)):(S|=16384,D(oe?f.Multiple_consecutive_numeric_separators_are_not_permitted:f.Numeric_separators_are_not_allowed_here,a,1)),a++,$=a;continue}if(zi(Be)){ie=!0,oe=!1,a++;continue}break}return J(a-1)===95&&(S|=16384,D(f.Numeric_separators_are_not_allowed_here,a-1,1)),Me+g.substring($,a)}function he(){let $=a,ie;if(J(a)===48)if(a++,J(a)===95)S|=16896,D(f.Numeric_separators_are_not_allowed_here,a,1),a--,ie=Z();else if(!be())S|=8192,ie=""+ +C;else if(!C)ie="0";else{C=""+parseInt(C,8),S|=32;const Oe=T===41,ft=(Oe?"-":"")+"0o"+(+C).toString(8);return Oe&&$--,D(f.Octal_literals_are_not_allowed_Use_the_syntax_0,$,a-$,ft),9}else ie=Z();let oe,Me;J(a)===46&&(a++,oe=Z());let Be=a;if(J(a)===69||J(a)===101){a++,S|=16,(J(a)===43||J(a)===45)&&a++;const Oe=a,ft=Z();ft?(Me=g.substring(Be,Oe)+ft,Be=a):D(f.Digit_expected)}let Re;if(S&512?(Re=ie,oe&&(Re+="."+oe),Me&&(Re+=Me)):Re=g.substring($,Be),S&8192)return D(f.Decimals_with_leading_zeros_are_not_allowed,$,Be-$),C=""+ +Re,9;if(oe!==void 0||S&16)return pe($,oe===void 0&&!!(S&16)),C=""+ +Re,9;{C=Re;const Oe=ge();return pe($),Oe}}function pe($,ie){if(!Wr(F(a),e))return;const oe=a,{length:Me}=Je();Me===1&&g[oe]==="n"?D(ie?f.A_bigint_literal_cannot_use_exponential_notation:f.A_bigint_literal_must_be_an_integer,$,oe-$+1):(D(f.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,oe,Me),a=oe)}function be(){const $=a;let ie=!0;for(;zi(V(a));)Kd(J(a))||(ie=!1),a++;return C=g.substring($,a),ie}function De($,ie){const oe=se($,!1,ie);return oe?parseInt(oe,16):-1}function ye($,ie){return se($,!0,ie)}function se($,ie,oe){let Me=[],Be=!1,Re=!1;for(;Me.length<$||ie;){let Oe=J(a);if(oe&&Oe===95){S|=512,Be?(Be=!1,Re=!0):D(Re?f.Multiple_consecutive_numeric_separators_are_not_permitted:f.Numeric_separators_are_not_allowed_here,a,1),a++;continue}if(Be=oe,Oe>=65&&Oe<=70)Oe+=32;else if(!(Oe>=48&&Oe<=57||Oe>=97&&Oe<=102))break;Me.push(Oe),a++,Re=!1}return Me.length<$&&(Me=[]),J(a-1)===95&&D(f.Numeric_separators_are_not_allowed_here,a-1,1),String.fromCharCode(...Me)}function Ae($=!1){const ie=J(a);a++;let oe="",Me=a;for(;;){if(a>=b){oe+=g.substring(Me,a),S|=4,D(f.Unterminated_string_literal);break}const Be=J(a);if(Be===ie){oe+=g.substring(Me,a),a++;break}if(Be===92&&!$){oe+=g.substring(Me,a),oe+=Pe(3),Me=a;continue}if((Be===10||Be===13)&&!$){oe+=g.substring(Me,a),S|=4,D(f.Unterminated_string_literal);break}a++}return oe}function Ue($){const ie=J(a)===96;a++;let oe=a,Me="",Be;for(;;){if(a>=b){Me+=g.substring(oe,a),S|=4,D(f.Unterminated_template_literal),Be=ie?15:18;break}const Re=J(a);if(Re===96){Me+=g.substring(oe,a),a++,Be=ie?15:18;break}if(Re===36&&a+1<b&&J(a+1)===123){Me+=g.substring(oe,a),a+=2,Be=ie?16:17;break}if(Re===92){Me+=g.substring(oe,a),Me+=Pe(1|($?2:0)),oe=a;continue}if(Re===13){Me+=g.substring(oe,a),a++,a<b&&J(a)===10&&a++,Me+=`
35
+ `,oe=a;continue}a++}return N.assert(Be!==void 0),C=Me,Be}function Pe($){const ie=a;if(a++,a>=b)return D(f.Unexpected_end_of_text),"";const oe=J(a);switch(a++,oe){case 48:if(a>=b||!zi(J(a)))return"\0";case 49:case 50:case 51:a<b&&Kd(J(a))&&a++;case 52:case 53:case 54:case 55:if(a<b&&Kd(J(a))&&a++,S|=2048,$&6){const Re=parseInt(g.substring(ie+1,a),8);return $&4&&!($&32)&&oe!==48?D(f.Octal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_If_this_was_intended_as_an_escape_sequence_use_the_syntax_0_instead,ie,a-ie,"\\x"+Re.toString(16).padStart(2,"0")):D(f.Octal_escape_sequences_are_not_allowed_Use_the_syntax_0,ie,a-ie,"\\x"+Re.toString(16).padStart(2,"0")),String.fromCharCode(Re)}return g.substring(ie,a);case 56:case 57:return S|=2048,$&6?($&4&&!($&32)?D(f.Decimal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class,ie,a-ie):D(f.Escape_sequence_0_is_not_allowed,ie,a-ie,g.substring(ie,a)),String.fromCharCode(oe)):g.substring(ie,a);case 98:return"\b";case 116:return" ";case 110:return`
36
+ `;case 118:return"\v";case 102:return"\f";case 114:return"\r";case 39:return"'";case 34:return'"';case 117:if(a<b&&J(a)===123){a-=2;const Re=kt(!!($&6));return $&17||(S|=2048,$&6&&D(f.Unicode_escape_sequences_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_set,ie,a-ie)),Re}for(;a<ie+6;a++)if(!(a<b&&Yd(J(a))))return S|=2048,$&6&&D(f.Hexadecimal_digit_expected),g.substring(ie,a);S|=1024;const Me=parseInt(g.substring(ie+2,a),16),Be=String.fromCharCode(Me);if($&16&&Me>=55296&&Me<=56319&&a+6<b&&g.substring(a,a+2)==="\\u"&&J(a+2)!==123){const Re=a;let Oe=a+2;for(;Oe<Re+6;Oe++)if(!Yd(J(Oe)))return Be;const ft=parseInt(g.substring(Re+2,Oe),16);if(ft>=56320&&ft<=57343)return a=Oe,Be+String.fromCharCode(ft)}return Be;case 120:for(;a<ie+4;a++)if(!(a<b&&Yd(J(a))))return S|=2048,$&6&&D(f.Hexadecimal_digit_expected),g.substring(ie,a);return S|=4096,String.fromCharCode(parseInt(g.substring(ie+2,a),16));case 13:a<b&&J(a)===10&&a++;case 10:case 8232:case 8233:return"";default:return($&16||$&4&&!($&8)&&Ci(oe,e))&&D(f.This_character_cannot_be_escaped_in_a_regular_expression,a-2,2),String.fromCharCode(oe)}}function kt($){const ie=a;a+=3;const oe=a,Me=ye(1,!1),Be=Me?parseInt(Me,16):-1;let Re=!1;return Be<0?($&&D(f.Hexadecimal_digit_expected),Re=!0):Be>1114111&&($&&D(f.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive,oe,a-oe),Re=!0),a>=b?($&&D(f.Unexpected_end_of_text),Re=!0):J(a)===125?a++:($&&D(f.Unterminated_Unicode_escape_sequence),Re=!0),Re?(S|=2048,g.substring(ie,a)):(S|=8,fh(Be))}function _t(){if(a+5<b&&J(a+1)===117){const $=a;a+=2;const ie=De(4,!1);return a=$,ie}return-1}function ve(){if(F(a+1)===117&&F(a+2)===123){const $=a;a+=3;const ie=ye(1,!1),oe=ie?parseInt(ie,16):-1;return a=$,oe}return-1}function Je(){let $="",ie=a;for(;a<b;){let oe=F(a);if(Ci(oe,e))a+=vn(oe);else if(oe===92){if(oe=ve(),oe>=0&&Ci(oe,e)){$+=kt(!0),ie=a;continue}if(oe=_t(),!(oe>=0&&Ci(oe,e)))break;S|=1024,$+=g.substring(ie,a),$+=fh(oe),a+=6,ie=a}else break}return $+=g.substring(ie,a),$}function Ie(){const $=C.length;if($>=2&&$<=12){const ie=C.charCodeAt(0);if(ie>=97&&ie<=122){const oe=Sy.get(C);if(oe!==void 0)return T=oe}}return T=80}function M($){let ie="",oe=!1,Me=!1;for(;;){const Be=J(a);if(Be===95){S|=512,oe?(oe=!1,Me=!0):D(Me?f.Multiple_consecutive_numeric_separators_are_not_permitted:f.Numeric_separators_are_not_allowed_here,a,1),a++;continue}if(oe=!0,!zi(Be)||Be-48>=$)break;ie+=g[a],a++,Me=!1}return J(a-1)===95&&D(f.Numeric_separators_are_not_allowed_here,a-1,1),ie}function ge(){return J(a)===110?(C+="n",S&384&&(C=V9(C)+"n"),a++,10):(C=""+(S&128?parseInt(C.slice(2),2):S&256?parseInt(C.slice(2),8):+C),9)}function Le(){for(d=a,S=0;;){if(E=a,a>=b)return T=1;const $=F(a);if(a===0&&$===35&&ch(g,a)){if(a=uh(g,a),t)continue;return T=6}switch($){case 10:case 13:if(S|=1,t){a++;continue}else return $===13&&a+1<b&&J(a+1)===10?a+=2:a++,T=4;case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8203:case 8239:case 8287:case 12288:case 65279:if(t){a++;continue}else{for(;a<b&&ac(J(a));)a++;return T=5}case 33:return J(a+1)===61?J(a+2)===61?(a+=3,T=38):(a+=2,T=36):(a++,T=54);case 34:case 39:return C=Ae(),T=11;case 96:return T=Ue(!1);case 37:return J(a+1)===61?(a+=2,T=70):(a++,T=45);case 38:return J(a+1)===38?J(a+2)===61?(a+=3,T=77):(a+=2,T=56):J(a+1)===61?(a+=2,T=74):(a++,T=51);case 40:return a++,T=21;case 41:return a++,T=22;case 42:if(J(a+1)===61)return a+=2,T=67;if(J(a+1)===42)return J(a+2)===61?(a+=3,T=68):(a+=2,T=43);if(a++,L&&(S&32768)===0&&S&1){S|=32768;continue}return T=42;case 43:return J(a+1)===43?(a+=2,T=46):J(a+1)===61?(a+=2,T=65):(a++,T=40);case 44:return a++,T=28;case 45:return J(a+1)===45?(a+=2,T=47):J(a+1)===61?(a+=2,T=66):(a++,T=41);case 46:return zi(J(a+1))?(he(),T=9):J(a+1)===46&&J(a+2)===46?(a+=3,T=26):(a++,T=25);case 47:if(J(a+1)===47){for(a+=2;a<b&&!Jn(J(a));)a++;if(j=gt(j,g.slice(E,a),Ny,E),t)continue;return T=2}if(J(a+1)===42){a+=2;const Oe=J(a)===42&&J(a+1)!==47;let ft=!1,Tt=E;for(;a<b;){const dt=J(a);if(dt===42&&J(a+1)===47){a+=2,ft=!0;break}a++,Jn(dt)&&(Tt=a,S|=1)}if(Oe&&qe()&&(S|=2),j=gt(j,g.slice(Tt,a),Jy,Tt),ft||D(f.Asterisk_Slash_expected),t)continue;return ft||(S|=4),T=3}return J(a+1)===61?(a+=2,T=69):(a++,T=44);case 48:if(a+2<b&&(J(a+1)===88||J(a+1)===120))return a+=2,C=ye(1,!0),C||(D(f.Hexadecimal_digit_expected),C="0"),C="0x"+C,S|=64,T=ge();if(a+2<b&&(J(a+1)===66||J(a+1)===98))return a+=2,C=M(2),C||(D(f.Binary_digit_expected),C="0"),C="0b"+C,S|=128,T=ge();if(a+2<b&&(J(a+1)===79||J(a+1)===111))return a+=2,C=M(8),C||(D(f.Octal_digit_expected),C="0"),C="0o"+C,S|=256,T=ge();case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return T=he();case 58:return a++,T=59;case 59:return a++,T=27;case 60:if(Ro(g,a)){if(a=js(g,a,D),t)continue;return T=7}return J(a+1)===60?J(a+2)===61?(a+=3,T=71):(a+=2,T=48):J(a+1)===61?(a+=2,T=33):r===1&&J(a+1)===47&&J(a+2)!==42?(a+=2,T=31):(a++,T=30);case 61:if(Ro(g,a)){if(a=js(g,a,D),t)continue;return T=7}return J(a+1)===61?J(a+2)===61?(a+=3,T=37):(a+=2,T=35):J(a+1)===62?(a+=2,T=39):(a++,T=64);case 62:if(Ro(g,a)){if(a=js(g,a,D),t)continue;return T=7}return a++,T=32;case 63:return J(a+1)===46&&!zi(J(a+2))?(a+=2,T=29):J(a+1)===63?J(a+2)===61?(a+=3,T=78):(a+=2,T=61):(a++,T=58);case 91:return a++,T=23;case 93:return a++,T=24;case 94:return J(a+1)===61?(a+=2,T=79):(a++,T=53);case 123:return a++,T=19;case 124:if(Ro(g,a)){if(a=js(g,a,D),t)continue;return T=7}return J(a+1)===124?J(a+2)===61?(a+=3,T=76):(a+=2,T=57):J(a+1)===61?(a+=2,T=75):(a++,T=52);case 125:return a++,T=20;case 126:return a++,T=55;case 64:return a++,T=60;case 92:const ie=ve();if(ie>=0&&Wr(ie,e))return C=kt(!0)+Je(),T=Ie();const oe=_t();return oe>=0&&Wr(oe,e)?(a+=6,S|=1024,C=String.fromCharCode(oe)+Je(),T=Ie()):(D(f.Invalid_character),a++,T=0);case 35:if(a!==0&&g[a+1]==="!")return D(f.can_only_be_used_at_the_start_of_a_file,a,2),a++,T=0;const Me=F(a+1);if(Me===92){a++;const Oe=ve();if(Oe>=0&&Wr(Oe,e))return C="#"+kt(!0)+Je(),T=81;const ft=_t();if(ft>=0&&Wr(ft,e))return a+=6,S|=1024,C="#"+String.fromCharCode(ft)+Je(),T=81;a--}return Wr(Me,e)?(a++,Se(Me,e)):(C="#",D(f.Invalid_character,a++,vn($))),T=81;case 65533:return D(f.File_appears_to_be_binary,0,0),a=b,T=8;default:const Be=Se($,e);if(Be)return T=Be;if(ac($)){a+=vn($);continue}else if(Jn($)){S|=1,a+=vn($);continue}const Re=vn($);return D(f.Invalid_character,a,Re),a+=Re,T=0}}}function qe(){switch(U){case 0:return!0;case 1:return!1}return A!==3&&A!==4?!0:U===3?!1:jy.test(g.slice(d,a))}function ue(){N.assert(T===0,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),a=E=d,S=0;const $=F(a),ie=Se($,99);return ie?T=ie:(a+=vn($),T)}function Se($,ie){let oe=$;if(Wr(oe,ie)){for(a+=vn(oe);a<b&&Ci(oe=F(a),ie);)a+=vn(oe);return C=g.substring(E,a),oe===92&&(C+=Je()),Ie()}}function Te(){if(T===32){if(J(a)===62)return J(a+1)===62?J(a+2)===61?(a+=3,T=73):(a+=2,T=50):J(a+1)===61?(a+=2,T=72):(a++,T=49);if(J(a)===61)return a++,T=34}return T}function Xe(){return N.assert(T===67,"'reScanAsteriskEqualsToken' should only be called on a '*='"),a=E+1,T=64}function xe($){if(T===44||T===69){const ie=E+1;a=ie;let oe=!1,Me=!1,Be=!1;for(;;){const Oe=V(a);if(Oe===-1||Jn(Oe)){S|=4;break}if(oe)oe=!1;else{if(Oe===47&&!Be)break;Oe===91?Be=!0:Oe===92?oe=!0:Oe===93?Be=!1:!Be&&Oe===40&&V(a+1)===63&&V(a+2)===60&&V(a+3)!==61&&V(a+3)!==33&&(Me=!0)}a++}const Re=a;if(S&4){a=ie,oe=!1;let Oe=0,ft=!1,Tt=0;for(;a<Re;){const dt=J(a);if(oe)oe=!1;else if(dt===92)oe=!0;else if(dt===91)Oe++;else if(dt===93&&Oe)Oe--;else if(!Oe){if(dt===123)ft=!0;else if(dt===125&&ft)ft=!1;else if(!ft){if(dt===40)Tt++;else if(dt===41&&Tt)Tt--;else if(dt===41||dt===93||dt===125)break}}a++}for(;sc(V(a-1))||V(a-1)===59;)a--;D(f.Unterminated_regular_expression_literal,E,a-E)}else{a++;let Oe=0;for(;;){const ft=te(a);if(ft===-1||!Ci(ft,e))break;const Tt=vn(ft);if($){const dt=oh(ft);dt===void 0?D(f.Unknown_regular_expression_flag,a,Tt):Oe&dt?D(f.Duplicate_regular_expression_flag,a,Tt):((Oe|dt)&96)===96?D(f.The_Unicode_u_flag_and_the_Unicode_Sets_v_flag_cannot_be_set_simultaneously,a,Tt):(Oe|=dt,Ke(dt,Tt))}a+=Tt}$&&we(ie,Re-ie,()=>{pt(Oe,!0,Me)})}C=g.substring(E,a),T=14}return T}function pt($,ie,oe){var Me=!!($&64),Be=!!($&96),Re=Be||!ie,Oe=!1,ft=0,Tt,dt,Ve,Yn=[],St;function Wn(K){for(;;){if(Yn.push(St),St=void 0,Di(K),St=Yn.pop(),V(a)!==124)return;a++}}function Di(K){let Ce=!1;for(;;){const at=a,Ne=V(a);switch(Ne){case-1:return;case 94:case 36:a++,Ce=!1;break;case 92:switch(a++,V(a)){case 98:case 66:a++,Ce=!1;break;default:ot(),Ce=!0;break}break;case 40:if(a++,V(a)===63)switch(a++,V(a)){case 61:case 33:a++,Ce=!Re;break;case 60:const zt=a;switch(a++,V(a)){case 61:case 33:a++,Ce=!1;break;default:Ye(!1),zn(62),e<5&&D(f.Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later,zt,a-zt),ft++,Ce=!0;break}break;default:const ln=a,qn=z(0);V(a)===45&&(a++,z(qn),a===ln+1&&D(f.Subpattern_flags_must_be_present_when_there_is_a_minus_sign,ln,a-ln)),zn(58),Ce=!0;break}else ft++,Ce=!0;Wn(!0),zn(41);break;case 123:a++;const H=a;be();const Bt=C;if(!Re&&!Bt){Ce=!0;break}if(V(a)===44){a++,be();const zt=C;if(Bt)zt&&Number.parseInt(Bt)>Number.parseInt(zt)&&(Re||V(a)===125)&&D(f.Numbers_out_of_order_in_quantifier,H,a-H);else if(zt||V(a)===125)D(f.Incomplete_quantifier_Digit_expected,H,0);else{D(f.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,at,1,String.fromCharCode(Ne)),Ce=!0;break}}else if(!Bt){Re&&D(f.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,at,1,String.fromCharCode(Ne)),Ce=!0;break}if(V(a)!==125)if(Re)D(f._0_expected,a,0,"}"),a--;else{Ce=!0;break}case 42:case 43:case 63:a++,V(a)===63&&a++,Ce||D(f.There_is_nothing_available_for_repetition,at,a-at),Ce=!1;break;case 46:a++,Ce=!0;break;case 91:a++,Me?Mn():st(),zn(93),Ce=!0;break;case 41:if(K)return;case 93:case 125:(Re||Ne===41)&&D(f.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,a,1,String.fromCharCode(Ne)),a++,Ce=!0;break;case 47:case 124:return;default:ao(),Ce=!0;break}}}function z(K){for(;;){const Ce=te(a);if(Ce===-1||!Ci(Ce,e))break;const at=vn(Ce),Ne=oh(Ce);Ne===void 0?D(f.Unknown_regular_expression_flag,a,at):K&Ne?D(f.Duplicate_regular_expression_flag,a,at):Ne&28?(K|=Ne,Ke(Ne,at)):D(f.This_regular_expression_flag_cannot_be_toggled_within_a_subpattern,a,at),a+=at}return K}function ot(){switch(N.assertEqual(J(a-1),92),V(a)){case 107:a++,V(a)===60?(a++,Ye(!0),zn(62)):(Re||oe)&&D(f.k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets,a-2,2);break;case 113:if(Me){a++,D(f.q_is_only_available_inside_character_class,a-2,2);break}default:N.assert(hn()||m()||Qe(!0));break}}function m(){N.assertEqual(J(a-1),92);const K=V(a);if(K>=49&&K<=57){const Ce=a;return be(),Ve=Fn(Ve,{pos:Ce,end:a,value:+C}),!0}return!1}function Qe(K){N.assertEqual(J(a-1),92);let Ce=V(a);switch(Ce){case-1:return D(f.Undetermined_character_escape,a-1,1),"\\";case 99:if(a++,Ce=V(a),Zd(Ce))return a++,String.fromCharCode(Ce&31);if(Re)D(f.c_must_be_followed_by_an_ASCII_letter,a-2,2);else if(K)return a--,"\\";return String.fromCharCode(Ce);case 94:case 36:case 47:case 92:case 46:case 42:case 43:case 63:case 40:case 41:case 91:case 93:case 123:case 125:case 124:return a++,String.fromCharCode(Ce);default:return a--,Pe(4|(ie?8:0)|(Be?16:0)|(K?32:0))}}function Ye(K){N.assertEqual(J(a-1),60),E=a,Se(te(a),e),a===E?D(f.Expected_a_capturing_group_name):K?dt=Fn(dt,{pos:E,end:a,name:C}):St?.has(C)||Yn.some(Ce=>Ce?.has(C))?D(f.Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other,E,a-E):(St??(St=new Set),St.add(C),Tt??(Tt=new Set),Tt.add(C))}function Q(K){return K===93||K===-1||a>=b}function st(){for(N.assertEqual(J(a-1),91),V(a)===94&&a++;;){const K=V(a);if(Q(K))return;const Ce=a,at=on();if(V(a)===45){a++;const Ne=V(a);if(Q(Ne))return;!at&&Re&&D(f.A_character_class_range_must_not_be_bounded_by_another_character_class,Ce,a-1-Ce);const H=a,Bt=on();if(!Bt&&Re){D(f.A_character_class_range_must_not_be_bounded_by_another_character_class,H,a-H);continue}if(!at)continue;const zt=Uo(at,0),ln=Uo(Bt,0);at.length===vn(zt)&&Bt.length===vn(ln)&&zt>ln&&D(f.Range_out_of_order_in_character_class,Ce,a-Ce)}}}function Mn(){N.assertEqual(J(a-1),91);let K=!1;V(a)===94&&(a++,K=!0);let Ce=!1,at=V(a);if(Q(at))return;let Ne=a,H;switch(g.slice(a,a+2)){case"--":case"&&":D(f.Expected_a_class_set_operand),Oe=!1;break;default:H=yt();break}switch(V(a)){case 45:if(V(a+1)===45){K&&Oe&&D(f.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class,Ne,a-Ne),Ce=Oe,lt(3),Oe=!K&&Ce;return}break;case 38:if(V(a+1)===38){lt(2),K&&Oe&&D(f.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class,Ne,a-Ne),Ce=Oe,Oe=!K&&Ce;return}else D(f.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,a,1,String.fromCharCode(at));break;default:K&&Oe&&D(f.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class,Ne,a-Ne),Ce=Oe;break}for(;at=V(a),at!==-1;){switch(at){case 45:if(a++,at=V(a),Q(at)){Oe=!K&&Ce;return}if(at===45){a++,D(f.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead,a-2,2),Ne=a-2,H=g.slice(Ne,a);continue}else{H||D(f.A_character_class_range_must_not_be_bounded_by_another_character_class,Ne,a-1-Ne);const Bt=a,zt=yt();if(K&&Oe&&D(f.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class,Bt,a-Bt),Ce||(Ce=Oe),!zt){D(f.A_character_class_range_must_not_be_bounded_by_another_character_class,Bt,a-Bt);break}if(!H)break;const ln=Uo(H,0),qn=Uo(zt,0);H.length===vn(ln)&&zt.length===vn(qn)&&ln>qn&&D(f.Range_out_of_order_in_character_class,Ne,a-Ne)}break;case 38:Ne=a,a++,V(a)===38?(a++,D(f.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead,a-2,2),V(a)===38&&(D(f.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,a,1,String.fromCharCode(at)),a++)):D(f.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,a-1,1,String.fromCharCode(at)),H=g.slice(Ne,a);continue}if(Q(V(a)))break;switch(Ne=a,g.slice(a,a+2)){case"--":case"&&":D(f.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead,a,2),a+=2,H=g.slice(Ne,a);break;default:H=yt();break}}Oe=!K&&Ce}function lt(K){let Ce=Oe;for(;;){let at=V(a);if(Q(at))break;switch(at){case 45:a++,V(a)===45?(a++,K!==3&&D(f.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead,a-2,2)):D(f.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead,a-1,1);break;case 38:a++,V(a)===38?(a++,K!==2&&D(f.Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead,a-2,2),V(a)===38&&(D(f.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,a,1,String.fromCharCode(at)),a++)):D(f.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,a-1,1,String.fromCharCode(at));break;default:switch(K){case 3:D(f._0_expected,a,0,"--");break;case 2:D(f._0_expected,a,0,"&&");break;default:break}break}if(at=V(a),Q(at)){D(f.Expected_a_class_set_operand);break}yt(),Ce&&(Ce=Oe)}Oe=Ce}function yt(){switch(Oe=!1,V(a)){case-1:return"";case 91:return a++,Mn(),zn(93),"";case 92:if(a++,hn())return"";if(V(a)===113)return a++,V(a)===123?(a++,rn(),zn(125),""):(D(f.q_must_be_followed_by_string_alternatives_enclosed_in_braces,a-2,2),"q");a--;default:return Qt()}}function rn(){N.assertEqual(J(a-1),123);let K=0;for(;;)switch(V(a)){case-1:return;case 125:K!==1&&(Oe=!0);return;case 124:K!==1&&(Oe=!0),a++,l=a,K=0;break;default:Qt(),K++;break}}function Qt(){const K=V(a);if(K===-1)return"";if(K===92){a++;const Ce=V(a);switch(Ce){case 98:return a++,"\b";case 38:case 45:case 33:case 35:case 37:case 44:case 58:case 59:case 60:case 61:case 62:case 64:case 96:case 126:return a++,String.fromCharCode(Ce);default:return Qe(!1)}}else if(K===V(a+1))switch(K){case 38:case 33:case 35:case 37:case 42:case 43:case 44:case 46:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 96:case 126:return D(f.A_character_class_must_not_contain_a_reserved_double_punctuator_Did_you_mean_to_escape_it_with_backslash,a,2),a+=2,g.substring(a-2,a)}switch(K){case 47:case 40:case 41:case 91:case 93:case 123:case 125:case 45:case 124:return D(f.Unexpected_0_Did_you_mean_to_escape_it_with_backslash,a,1,String.fromCharCode(K)),a++,String.fromCharCode(K)}return ao()}function on(){if(V(a)===92){a++;const K=V(a);switch(K){case 98:return a++,"\b";case 45:return a++,String.fromCharCode(K);default:return hn()?"":Qe(!1)}}else return ao()}function hn(){N.assertEqual(J(a-1),92);let K=!1;const Ce=a-1,at=V(a);switch(at){case 100:case 68:case 115:case 83:case 119:case 87:return a++,!0;case 80:K=!0;case 112:if(a++,V(a)===123){a++;const Ne=a,H=Er();if(V(a)===61){const Bt=ph.get(H);if(a===Ne)D(f.Expected_a_Unicode_property_name);else if(Bt===void 0){D(f.Unknown_Unicode_property_name,Ne,a-Ne);const qn=Os(H,ph.keys(),Ot);qn&&D(f.Did_you_mean_0,Ne,a-Ne,qn)}a++;const zt=a,ln=Er();if(a===zt)D(f.Expected_a_Unicode_property_value);else if(Bt!==void 0&&!Ms[Bt].has(ln)){D(f.Unknown_Unicode_property_value,zt,a-zt);const qn=Os(ln,Ms[Bt],Ot);qn&&D(f.Did_you_mean_0,zt,a-zt,qn)}}else if(a===Ne)D(f.Expected_a_Unicode_property_name_or_value);else if(mh.has(H))Me?K?D(f.Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_character_class,Ne,a-Ne):Oe=!0:D(f.Any_Unicode_property_that_would_possibly_match_more_than_a_single_character_is_only_available_when_the_Unicode_Sets_v_flag_is_set,Ne,a-Ne);else if(!Ms.General_Category.has(H)&&!dh.has(H)){D(f.Unknown_Unicode_property_name_or_value,Ne,a-Ne);const Bt=Os(H,[...Ms.General_Category,...dh,...mh],Ot);Bt&&D(f.Did_you_mean_0,Ne,a-Ne,Bt)}zn(125),Be||D(f.Unicode_property_value_expressions_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_set,Ce,a-Ce)}else if(Re)D(f._0_must_be_followed_by_a_Unicode_property_value_expression_enclosed_in_braces,a-2,2,String.fromCharCode(at));else return a--,!1;return!0}return!1}function Er(){let K="";for(;;){const Ce=V(a);if(Ce===-1||!ah(Ce))break;K+=String.fromCharCode(Ce),a++}return K}function ao(){const K=Be?vn(te(a)):1;return a+=K,K>0?g.substring(a-K,a):""}function zn(K){V(a)===K?a++:D(f._0_expected,a,0,String.fromCharCode(K))}Wn(!1),qt(dt,K=>{if(!Tt?.has(K.name)&&(D(f.There_is_no_capturing_group_named_0_in_this_regular_expression,K.pos,K.end-K.pos,K.name),Tt)){const Ce=Os(K.name,Tt,Ot);Ce&&D(f.Did_you_mean_0,K.pos,K.end-K.pos,Ce)}}),qt(Ve,K=>{K.value>ft&&(ft?D(f.This_backreference_refers_to_a_group_that_does_not_exist_There_are_only_0_capturing_groups_in_this_regular_expression,K.pos,K.end-K.pos,ft):D(f.This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regular_expression,K.pos,K.end-K.pos))})}function Ke($,ie){const oe=Py.get($);oe&&e<oe&&D(f.This_regular_expression_flag_is_only_available_when_targeting_0_or_later,a,ie,m2(oe))}function gt($,ie,oe,Me){const Be=it(ie.trimStart(),oe);return Be===void 0?$:Fn($,{range:{pos:Me,end:a},type:Be})}function it($,ie){const oe=ie.exec($);if(oe)switch(oe[1]){case"ts-expect-error":return 0;case"ts-ignore":return 1}}function wt($){return a=E,T=Ue(!$)}function $t(){return a=E,T=Ue(!0)}function Xn($=!0){return a=E=d,T=jn($)}function lr(){return T===48?(a=E+1,T=30):T}function _r(){return T===81?(a=E+1,T=63):T}function bn(){return N.assert(T===61,"'reScanQuestionToken' should only be called on a '??'"),a=E+1,T=58}function jn($=!0){if(d=E=a,a>=b)return T=1;let ie=J(a);if(ie===60)return J(a+1)===47?(a+=2,T=31):(a++,T=30);if(ie===123)return a++,T=19;let oe=0;for(;a<b&&(ie=J(a),ie!==123);){if(ie===60){if(Ro(g,a))return a=js(g,a,D),T=7;break}if(ie===62&&D(f.Unexpected_token_Did_you_mean_or_gt,a,1),ie===125&&D(f.Unexpected_token_Did_you_mean_or_rbrace,a,1),Jn(ie)&&oe===0)oe=-1;else{if(!$&&Jn(ie)&&oe>0)break;sc(ie)||(oe=a)}a++}return C=g.substring(d,a),oe===-1?13:12}function Lr(){if(Gt(T)){for(;a<b;){if(J(a)===45){C+="-",a++;continue}const ie=a;if(C+=Je(),a===ie)break}return Ie()}return T}function ht(){switch(d=a,J(a)){case 34:case 39:return C=Ae(!0),T=11;default:return Le()}}function We(){return a=E=d,ht()}function Hr($){if(d=E=a,S=0,a>=b)return T=1;for(let ie=J(a);a<b&&!Jn(ie)&&ie!==96;ie=F(++a))if(!$){if(ie===123)break;if(ie===64&&a-1>=0&&ac(J(a-1))&&!(a+1<b&&sc(J(a+1))))break}return a===E?q():(C=g.substring(E,a),T=82)}function q(){if(d=E=a,S=0,a>=b)return T=1;const $=F(a);switch(a+=vn($),$){case 9:case 11:case 12:case 32:for(;a<b&&ac(J(a));)a++;return T=5;case 64:return T=60;case 13:J(a)===10&&a++;case 10:return S|=1,T=4;case 42:return T=42;case 123:return T=19;case 125:return T=20;case 91:return T=23;case 93:return T=24;case 40:return T=21;case 41:return T=22;case 60:return T=30;case 62:return T=32;case 61:return T=64;case 44:return T=28;case 46:return T=25;case 96:return T=62;case 35:return T=63;case 92:a--;const ie=ve();if(ie>=0&&Wr(ie,e))return C=kt(!0)+Je(),T=Ie();const oe=_t();return oe>=0&&Wr(oe,e)?(a+=6,S|=1024,C=String.fromCharCode(oe)+Je(),T=Ie()):(a++,T=0)}if(Wr($,e)){let ie=$;for(;a<b&&Ci(ie=F(a),e)||ie===45;)a+=vn(ie);return C=g.substring(E,a),ie===92&&(C+=Je()),T=Ie()}else return T=0}function de($,ie){const oe=a,Me=d,Be=E,Re=T,Oe=C,ft=S,Tt=$();return(!Tt||ie)&&(a=oe,d=Me,E=Be,T=Re,C=Oe,S=ft),Tt}function we($,ie,oe){const Me=b,Be=a,Re=d,Oe=E,ft=T,Tt=C,dt=S,Ve=j;nn(g,$,ie);const Yn=oe();return b=Me,a=Be,d=Re,E=Oe,T=ft,C=Tt,S=dt,j=Ve,Yn}function je($){return de($,!0)}function mt($){return de($,!1)}function bt(){return g}function It(){j=void 0}function nn($,ie,oe){g=$||"",b=oe===void 0?g.length:ie+oe,Cr(ie||0)}function Wt($){c=$}function Lt($){e=$}function ui($){r=$}function Gr($){A=$}function fr($){U=$}function Cr($){N.assert($>=0),a=$,d=$,E=$,T=0,C=void 0,S=0}function so($){L+=$?1:-1}}function Uo(e,t){return e.codePointAt(t)}function vn(e){return e>=65536?2:e===-1?0:1}function Qy(e){if(N.assert(0<=e&&e<=1114111),e<=65535)return String.fromCharCode(e);const t=Math.floor((e-65536)/1024)+55296,r=(e-65536)%1024+56320;return String.fromCharCode(t,r)}var Xy=String.fromCodePoint?e=>String.fromCodePoint(e):Qy;function fh(e){return Xy(e)}var ph=new Map(Object.entries({General_Category:"General_Category",gc:"General_Category",Script:"Script",sc:"Script",Script_Extensions:"Script_Extensions",scx:"Script_Extensions"})),dh=new Set(["ASCII","ASCII_Hex_Digit","AHex","Alphabetic","Alpha","Any","Assigned","Bidi_Control","Bidi_C","Bidi_Mirrored","Bidi_M","Case_Ignorable","CI","Cased","Changes_When_Casefolded","CWCF","Changes_When_Casemapped","CWCM","Changes_When_Lowercased","CWL","Changes_When_NFKC_Casefolded","CWKCF","Changes_When_Titlecased","CWT","Changes_When_Uppercased","CWU","Dash","Default_Ignorable_Code_Point","DI","Deprecated","Dep","Diacritic","Dia","Emoji","Emoji_Component","EComp","Emoji_Modifier","EMod","Emoji_Modifier_Base","EBase","Emoji_Presentation","EPres","Extended_Pictographic","ExtPict","Extender","Ext","Grapheme_Base","Gr_Base","Grapheme_Extend","Gr_Ext","Hex_Digit","Hex","IDS_Binary_Operator","IDSB","IDS_Trinary_Operator","IDST","ID_Continue","IDC","ID_Start","IDS","Ideographic","Ideo","Join_Control","Join_C","Logical_Order_Exception","LOE","Lowercase","Lower","Math","Noncharacter_Code_Point","NChar","Pattern_Syntax","Pat_Syn","Pattern_White_Space","Pat_WS","Quotation_Mark","QMark","Radical","Regional_Indicator","RI","Sentence_Terminal","STerm","Soft_Dotted","SD","Terminal_Punctuation","Term","Unified_Ideograph","UIdeo","Uppercase","Upper","Variation_Selector","VS","White_Space","space","XID_Continue","XIDC","XID_Start","XIDS"]),mh=new Set(["Basic_Emoji","Emoji_Keycap_Sequence","RGI_Emoji_Modifier_Sequence","RGI_Emoji_Flag_Sequence","RGI_Emoji_Tag_Sequence","RGI_Emoji_ZWJ_Sequence","RGI_Emoji"]),Ms={General_Category:new Set(["C","Other","Cc","Control","cntrl","Cf","Format","Cn","Unassigned","Co","Private_Use","Cs","Surrogate","L","Letter","LC","Cased_Letter","Ll","Lowercase_Letter","Lm","Modifier_Letter","Lo","Other_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter","M","Mark","Combining_Mark","Mc","Spacing_Mark","Me","Enclosing_Mark","Mn","Nonspacing_Mark","N","Number","Nd","Decimal_Number","digit","Nl","Letter_Number","No","Other_Number","P","Punctuation","punct","Pc","Connector_Punctuation","Pd","Dash_Punctuation","Pe","Close_Punctuation","Pf","Final_Punctuation","Pi","Initial_Punctuation","Po","Other_Punctuation","Ps","Open_Punctuation","S","Symbol","Sc","Currency_Symbol","Sk","Modifier_Symbol","Sm","Math_Symbol","So","Other_Symbol","Z","Separator","Zl","Line_Separator","Zp","Paragraph_Separator","Zs","Space_Separator"]),Script:new Set(["Adlm","Adlam","Aghb","Caucasian_Albanian","Ahom","Arab","Arabic","Armi","Imperial_Aramaic","Armn","Armenian","Avst","Avestan","Bali","Balinese","Bamu","Bamum","Bass","Bassa_Vah","Batk","Batak","Beng","Bengali","Bhks","Bhaiksuki","Bopo","Bopomofo","Brah","Brahmi","Brai","Braille","Bugi","Buginese","Buhd","Buhid","Cakm","Chakma","Cans","Canadian_Aboriginal","Cari","Carian","Cham","Cher","Cherokee","Chrs","Chorasmian","Copt","Coptic","Qaac","Cpmn","Cypro_Minoan","Cprt","Cypriot","Cyrl","Cyrillic","Deva","Devanagari","Diak","Dives_Akuru","Dogr","Dogra","Dsrt","Deseret","Dupl","Duployan","Egyp","Egyptian_Hieroglyphs","Elba","Elbasan","Elym","Elymaic","Ethi","Ethiopic","Geor","Georgian","Glag","Glagolitic","Gong","Gunjala_Gondi","Gonm","Masaram_Gondi","Goth","Gothic","Gran","Grantha","Grek","Greek","Gujr","Gujarati","Guru","Gurmukhi","Hang","Hangul","Hani","Han","Hano","Hanunoo","Hatr","Hatran","Hebr","Hebrew","Hira","Hiragana","Hluw","Anatolian_Hieroglyphs","Hmng","Pahawh_Hmong","Hmnp","Nyiakeng_Puachue_Hmong","Hrkt","Katakana_Or_Hiragana","Hung","Old_Hungarian","Ital","Old_Italic","Java","Javanese","Kali","Kayah_Li","Kana","Katakana","Kawi","Khar","Kharoshthi","Khmr","Khmer","Khoj","Khojki","Kits","Khitan_Small_Script","Knda","Kannada","Kthi","Kaithi","Lana","Tai_Tham","Laoo","Lao","Latn","Latin","Lepc","Lepcha","Limb","Limbu","Lina","Linear_A","Linb","Linear_B","Lisu","Lyci","Lycian","Lydi","Lydian","Mahj","Mahajani","Maka","Makasar","Mand","Mandaic","Mani","Manichaean","Marc","Marchen","Medf","Medefaidrin","Mend","Mende_Kikakui","Merc","Meroitic_Cursive","Mero","Meroitic_Hieroglyphs","Mlym","Malayalam","Modi","Mong","Mongolian","Mroo","Mro","Mtei","Meetei_Mayek","Mult","Multani","Mymr","Myanmar","Nagm","Nag_Mundari","Nand","Nandinagari","Narb","Old_North_Arabian","Nbat","Nabataean","Newa","Nkoo","Nko","Nshu","Nushu","Ogam","Ogham","Olck","Ol_Chiki","Orkh","Old_Turkic","Orya","Oriya","Osge","Osage","Osma","Osmanya","Ougr","Old_Uyghur","Palm","Palmyrene","Pauc","Pau_Cin_Hau","Perm","Old_Permic","Phag","Phags_Pa","Phli","Inscriptional_Pahlavi","Phlp","Psalter_Pahlavi","Phnx","Phoenician","Plrd","Miao","Prti","Inscriptional_Parthian","Rjng","Rejang","Rohg","Hanifi_Rohingya","Runr","Runic","Samr","Samaritan","Sarb","Old_South_Arabian","Saur","Saurashtra","Sgnw","SignWriting","Shaw","Shavian","Shrd","Sharada","Sidd","Siddham","Sind","Khudawadi","Sinh","Sinhala","Sogd","Sogdian","Sogo","Old_Sogdian","Sora","Sora_Sompeng","Soyo","Soyombo","Sund","Sundanese","Sylo","Syloti_Nagri","Syrc","Syriac","Tagb","Tagbanwa","Takr","Takri","Tale","Tai_Le","Talu","New_Tai_Lue","Taml","Tamil","Tang","Tangut","Tavt","Tai_Viet","Telu","Telugu","Tfng","Tifinagh","Tglg","Tagalog","Thaa","Thaana","Thai","Tibt","Tibetan","Tirh","Tirhuta","Tnsa","Tangsa","Toto","Ugar","Ugaritic","Vaii","Vai","Vith","Vithkuqi","Wara","Warang_Citi","Wcho","Wancho","Xpeo","Old_Persian","Xsux","Cuneiform","Yezi","Yezidi","Yiii","Yi","Zanb","Zanabazar_Square","Zinh","Inherited","Qaai","Zyyy","Common","Zzzz","Unknown"]),Script_Extensions:void 0};Ms.Script_Extensions=Ms.Script;function A_(e){return Gd(e)||Fi(e)}function Yy(e){return t8(e,u2,g9)}function ii(e){return e.start+e.length}function Zy(e){return e.length===0}function O_(e,t){if(e<0)throw new Error("start < 0");if(t<0)throw new Error("length < 0");return{start:e,length:t}}function Bs(e,t){return O_(e,t-e)}function cc(e){return O_(e.span.start,e.newLength)}function Ky(e){return Zy(e.span)&&e.newLength===0}function e7(e,t){if(t<0)throw new Error("newLength < 0");return{span:e,newLength:t}}function t7(e){let t=e.parent;for(;ts(t.parent);)t=t.parent.parent;return t.parent}function n7(e,t){ts(e)&&(e=t7(e));let r=t(e);return e.kind===261&&(e=e.parent),e&&e.kind===262&&(r|=t(e),e=e.parent),e&&e.kind===244&&(r|=t(e)),r}function k4(e){return n7(e,Vv)}function r7(e,t){for(;e;){const r=t(e);if(r==="quit")return;if(r)return e;e=e.parent}}function uc(e){return(e.flags&16)===0}function hh(e,t){if(e===void 0||uc(e))return e;for(e=e.original;e;){if(uc(e))return!t||t(e)?e:void 0;e=e.original}}function qi(e){return e.length>=2&&e.charCodeAt(0)===95&&e.charCodeAt(1)===95?"_"+e:e}function Fo(e){const t=e;return t.length>=3&&t.charCodeAt(0)===95&&t.charCodeAt(1)===95&&t.charCodeAt(2)===95?t.substr(1):t}function Vn(e){return Fo(e.escapedText)}function n1(e){return e.valueDeclaration&&E7(e.valueDeclaration)?Vn(e.valueDeclaration.name):Fo(e.escapedName)}function gh(e){const t=e.parent.parent;if(t){if(Lh(t))return L_(t);switch(t.kind){case 244:if(t.declarationList&&t.declarationList.declarations[0])return L_(t.declarationList.declarations[0]);break;case 245:let r=t.expression;switch(r.kind===227&&r.operatorToken.kind===64&&(r=r.left),r.kind){case 212:return r.name;case 213:const i=r.argumentExpression;if(vt(i))return i}break;case 218:return L_(t.expression);case 257:{if(Lh(t.statement)||s1(t.statement))return L_(t.statement);break}}}}function L_(e){const t=yh(e);return t&&vt(t)?t:void 0}function i7(e){return e.name||gh(e)}function o7(e){return!!e.name}function r1(e){switch(e.kind){case 80:return e;case 349:case 342:{const{name:r}=e;if(r.kind===167)return r.right;break}case 214:case 227:{const r=e;switch(f1(r)){case 1:case 4:case 5:case 3:return p1(r.left);case 7:case 8:case 9:return r.arguments[1];default:return}}case 347:return i7(e);case 341:return gh(e);case 278:{const{expression:r}=e;return vt(r)?r:void 0}case 213:const t=e;if(Gh(t))return t.argumentExpression}return e.name}function yh(e){if(e!==void 0)return r1(e)||(Bf(e)||Rf(e)||R1(e)?s7(e):void 0)}function s7(e){if(e.parent){if(Yf(e.parent)||ts(e.parent))return e.parent.name;if(ci(e.parent)&&e===e.parent.right){if(vt(e.parent.left))return e.parent.left;if(s2(e.parent.left))return p1(e.parent.left)}else if(Ff(e.parent)&&vt(e.parent.name))return e.parent.name}else return}function Om(e){if(F_(e,98303))return Un(e.modifiers,S7)}function vh(e,t){if(e.name)if(vt(e.name)){const r=e.name.escapedText;return lc(e.parent,t).filter(i=>H2(i)&&vt(i.name)&&i.name.escapedText===r)}else{const r=e.parent.parameters.indexOf(e);N.assert(r>-1,"Parameters should always be in their parents' parameter list");const i=lc(e.parent,t).filter(H2);if(r<i.length)return[i[r]]}return tt}function a7(e){return vh(e,!1)}function c7(e){return vh(e,!0)}function kh(e,t){const r=e.name.escapedText;return lc(e.parent,t).filter(i=>qk(i)&&i.typeParameters.some(c=>c.name.escapedText===r))}function u7(e){return kh(e,!1)}function l7(e){return kh(e,!0)}function _7(e){return Hi(e,jk)}function f7(e){return k7(e,Hk)}function p7(e){return Hi(e,Mk,!0)}function d7(e){return Hi(e,Bk,!0)}function m7(e){return Hi(e,Rk,!0)}function h7(e){return Hi(e,Uk,!0)}function g7(e){return Hi(e,Fk,!0)}function y7(e){return Hi(e,Wk,!0)}function v7(e){const t=Hi(e,F1);if(t&&t.typeExpression&&t.typeExpression.type)return t}function lc(e,t){var r;if(!m1(e))return tt;let i=(r=e.jsDoc)==null?void 0:r.jsDocCache;if(i===void 0||t){const c=vv(e,t);N.assert(c.length<2||c[0]!==c[1]),i=Ad(c,l=>U1(l)?l.tags:l),t||(e.jsDoc??(e.jsDoc=[]),e.jsDoc.jsDocCache=i)}return i}function bh(e){return lc(e,!1)}function Hi(e,t,r){return Ti(lc(e,r),t)}function k7(e,t){return bh(e).filter(t)}function i1(e){return e.kind===80||e.kind===81}function b7(e){return ai(e)&&!!(e.flags&64)}function T7(e){return rs(e)&&!!(e.flags&64)}function Th(e){return Mc(e)&&!!(e.flags&64)}function Lm(e){const t=e.kind;return!!(e.flags&64)&&(t===212||t===213||t===214||t===236)}function gr(e){return V1(e,8)}function C7(e){return ta(e)&&!!(e.flags&64)}function o1(e){return e>=167}function Gi(e){return Rt(e,"pos")&&Rt(e,"end")}function N_(e){return 9<=e&&e<=15}function Ch(e){return 15<=e&&e<=18}function Rs(e){var t;return vt(e)&&((t=e.emitNode)==null?void 0:t.autoGenerate)!==void 0}function Eh(e){var t;return si(e)&&((t=e.emitNode)==null?void 0:t.autoGenerate)!==void 0}function E7(e){return(Nc(e)||I7(e))&&si(e.name)}function Ei(e){switch(e){case 128:case 129:case 134:case 87:case 138:case 90:case 95:case 103:case 125:case 123:case 124:case 148:case 126:case 147:case 164:return!0}return!1}function w7(e){return!!(r2(e)&31)}function D7(e){return w7(e)||e===126||e===164||e===129}function S7(e){return Ei(e.kind)}function wh(e){const t=e.kind;return t===80||t===81||t===11||t===9||t===168}function Nm(e){return!!e&&P7(e.kind)}function x7(e){switch(e){case 263:case 175:case 177:case 178:case 179:case 219:case 220:return!0;default:return!1}}function P7(e){switch(e){case 174:case 180:case 324:case 181:case 182:case 185:case 318:case 186:return!0;default:return x7(e)}}function Jm(e){return e&&(e.kind===264||e.kind===232)}function b4(e){return e&&(e.kind===178||e.kind===179)}function I7(e){switch(e.kind){case 175:case 178:case 179:return!0;default:return!1}}function Dh(e){const t=e.kind;return t===304||t===305||t===306||t===175||t===178||t===179}function T4(e){return t9(e.kind)}function A7(e){switch(e.kind){case 185:case 186:return!0}return!1}function Sh(e){if(e){const t=e.kind;return t===208||t===207}return!1}function O7(e){const t=e.kind;return t===210||t===211}function L7(e){switch(e.kind){case 261:case 170:case 209:return!0}return!1}function $i(e){return xh(gr(e).kind)}function xh(e){switch(e){case 212:case 213:case 215:case 214:case 285:case 286:case 289:case 216:case 210:case 218:case 211:case 232:case 219:case 80:case 81:case 14:case 9:case 10:case 11:case 15:case 229:case 97:case 106:case 110:case 112:case 108:case 236:case 234:case 237:case 102:case 283:return!0;default:return!1}}function Ph(e){return Ih(gr(e).kind)}function Ih(e){switch(e){case 225:case 226:case 221:case 222:case 223:case 224:case 217:return!0;default:return xh(e)}}function s1(e){return N7(gr(e).kind)}function N7(e){switch(e){case 228:case 230:case 220:case 227:case 231:case 235:case 233:case 357:case 356:case 239:return!0;default:return Ih(e)}}function jm(e,t){switch(e.kind){case 249:case 250:case 251:case 247:case 248:return!0;case 257:return t&&jm(e.statement,t)}return!1}function C4(e){return e.kind===250||e.kind===251}function J7(e){return e===220||e===209||e===264||e===232||e===176||e===177||e===267||e===307||e===282||e===263||e===219||e===178||e===274||e===272||e===277||e===265||e===292||e===175||e===174||e===268||e===271||e===275||e===281||e===170||e===304||e===173||e===172||e===179||e===305||e===266||e===169||e===261||e===347||e===339||e===349||e===203}function Ah(e){return e===263||e===283||e===264||e===265||e===266||e===267||e===268||e===273||e===272||e===279||e===278||e===271}function Oh(e){return e===253||e===252||e===260||e===247||e===245||e===243||e===250||e===251||e===249||e===246||e===257||e===254||e===256||e===258||e===259||e===244||e===248||e===255||e===354}function Lh(e){return e.kind===169?e.parent&&e.parent.kind!==346||Wo(e):J7(e.kind)}function Mm(e){const t=e.kind;return Oh(t)||Ah(t)||j7(e)}function j7(e){return e.kind!==242||e.parent!==void 0&&(e.parent.kind===259||e.parent.kind===300)?!1:!nv(e)}function M7(e){const t=e.kind;return Oh(t)||Ah(t)||t===242}function E4(e){const t=e.kind;return t===297||t===298}function Nh(e){return e.kind>=310&&e.kind<=352}function B7(e){return e.kind===321||e.kind===320||e.kind===322||F7(e)||R7(e)||Nk(e)||Jk(e)}function R7(e){return e.kind>=328&&e.kind<=352}function J_(e){return e.kind===179}function j_(e){return e.kind===178}function Vo(e){if(!m1(e))return!1;const{jsDoc:t}=e;return!!t&&t.length>0}function U7(e){return!!e.initializer}function a1(e){return e.kind===11||e.kind===15}function F7(e){return e.kind===325||e.kind===326||e.kind===327}var V7="tslib";function Jh(e){return(e.flags&33554432)!==0}function jh(e,t){const r=e.entries();for(const[i,c]of r){const l=t(c,i);if(l)return l}}function W7(e,t){const r=e.keys();for(const i of r){const c=t(i);if(c)return c}}function z7(e){return e.end-e.pos}function q7({name:e,subModuleName:t}){return t?`${e}/${t}`:e}function c1(e){return`${q7(e)}@${e.version}${e.peerDependencies??""}`}function Mh(e){return H7(e),(e.flags&1048576)!==0}function H7(e){e.flags&2097152||(((e.flags&262144)!==0||kn(e,Mh))&&(e.flags|=1048576),e.flags|=2097152)}function zr(e){for(;e&&e.kind!==308;)e=e.parent;return e}function G7(e,t){N.assert(e>=0);const r=P_(t),i=e,c=t.text;if(i+1===r.length)return c.length-1;{const l=r[i];let p=r[i+1]-1;for(N.assert(Jn(c.charCodeAt(p)));l<=p&&Jn(c.charCodeAt(p));)p--;return p}}function Qi(e){return e===void 0?!0:e.pos===e.end&&e.pos>=0&&e.kind!==1}function u1(e){return!Qi(e)}function M_(e,t,r){if(Qi(e))return e.pos;if(Nh(e)||e.kind===12)return yn((t??zr(e)).text,e.pos,!1,!0);if(r&&Vo(e))return M_(e.jsDoc[0],t);if(e.kind===353){t??(t=zr(e));const i=Ld(G2(e,t));if(i)return M_(i,t,r)}return yn((t??zr(e)).text,e.pos,!1,!1,sv(e))}function l1(e,t,r=!1){return _c(e.text,t,r)}function $7(e){return!!r7(e,Ok)}function _c(e,t,r=!1){if(Qi(t))return"";let i=e.substring(r?t.pos:yn(e,t.pos),t.end);return $7(t)&&(i=i.split(/\r\n|\n|\r/).map(c=>c.replace(/^\s*\*/,"").trimStart()).join(`
37
+ `)),i}function Us(e){const t=e.emitNode;return t&&t.flags||0}function Q7(e){return e.kind===168&&!qo(e.expression)}function Bh(e){var t;switch(e.kind){case 80:case 81:return(t=e.emitNode)!=null&&t.autoGenerate?void 0:e.escapedText;case 11:case 9:case 10:case 15:return qi(e.text);case 168:return qo(e.expression)?qi(e.expression.text):void 0;case 296:return $9(e);default:return N.assertNever(e)}}function Rh(e){return N.checkDefined(Bh(e))}function qr(e,t,r,...i){const c=Y7(e,t);return _9(e,c.start,c.length,r,...i)}function Uh(e,t,r){N.assertGreaterThanOrEqual(t,0),N.assertGreaterThanOrEqual(r,0),N.assertLessThanOrEqual(t,e.length),N.assertLessThanOrEqual(t+r,e.length)}function fc(e,t){const r=Ko(e.languageVersion,!0,e.languageVariant,e.text,void 0,t);r.scan();const i=r.getTokenStart();return Bs(i,r.getTokenEnd())}function X7(e,t){const r=yn(e.text,t.pos);if(t.body&&t.body.kind===242){const{line:i}=Bo(e,t.body.pos),{line:c}=Bo(e,t.body.end);if(i<c)return O_(r,G7(i,e)-r+1)}return Bs(r,t.end)}function Y7(e,t){let r=t;switch(t.kind){case 308:{const l=yn(e.text,0,!1);return l===e.text.length?O_(0,0):fc(e,l)}case 261:case 209:case 264:case 232:case 265:case 268:case 267:case 307:case 263:case 219:case 175:case 178:case 179:case 266:case 173:case 172:case 275:r=t.name;break;case 220:return X7(e,t);case 297:case 298:{const l=yn(e.text,t.pos),p=t.statements.length>0?t.statements[0].pos:t.end;return Bs(l,p)}case 254:case 230:{const l=yn(e.text,t.pos);return fc(e,l)}case 239:{const l=yn(e.text,t.expression.end);return fc(e,l)}case 351:{const l=yn(e.text,t.tagName.pos);return fc(e,l)}case 177:{const l=t,p=yn(e.text,l.pos),g=Ko(e.languageVersion,!0,e.languageVariant,e.text,void 0,p);let a=g.scan();for(;a!==137&&a!==1;)a=g.scan();const b=g.getTokenEnd();return Bs(p,b)}}if(r===void 0)return fc(e,t.pos);N.assert(!U1(r));const i=Qi(r),c=i||hk(t)?r.pos:yn(e.text,r.pos);return i?(N.assert(c===r.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),N.assert(c===r.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(N.assert(c>=r.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),N.assert(c<=r.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),Bs(c,r.end)}function Z7(e){return(e.externalModuleIndicator||e.commonJsModuleIndicator)!==void 0}function B_(e){return e.kind===245&&e.expression.kind===11}function _1(e){return!!(Us(e)&2097152)}function Fh(e){return _1(e)&&Vf(e)}function K7(e){return vt(e.name)&&!e.initializer}function Vh(e){return _1(e)&&Rc(e)&&bi(e.declarationList.declarations,K7)}function ev(e,t){const r=e.kind===170||e.kind===169||e.kind===219||e.kind===220||e.kind===218||e.kind===261||e.kind===282?d_(Hy(t,e.pos),t1(t,e.pos)):t1(t,e.pos);return Un(r,i=>i.end<=e.end&&t.charCodeAt(i.pos+1)===42&&t.charCodeAt(i.pos+2)===42&&t.charCodeAt(i.pos+3)!==47)}function tv(e){if(e)switch(e.kind){case 209:case 307:case 170:case 304:case 173:case 172:case 305:case 261:return!0}return!1}function nv(e){return e&&e.kind===242&&Nm(e.parent)}function rv(e,t,r,i){return qt(e?.properties,c=>{if(!Yf(c))return;const l=Bh(c.name);return t===l||i&&i===l?r(c):void 0})}function iv(e){if(e&&e.statements.length){const t=e.statements[0].expression;return _8(t,ns)}}function ov(e,t,r){return Wh(e,t,i=>ea(i.initializer)?Ti(i.initializer.elements,c=>es(c)&&c.text===r):void 0)}function Wh(e,t,r){return rv(iv(e),t,r)}function zh(e){const t=e.kind;return(t===212||t===213)&&e.expression.kind===108}function Wo(e){return!!e&&!!(e.flags&524288)}function sv(e){return!!e&&!!(e.flags&16777216)}function av(e,t){return l1(t,e).charCodeAt(0)===34}function cv(e){for(;V_(e,!0);)e=e.right;return e}function uv(e){return vt(e)&&e.escapedText==="exports"}function lv(e){return vt(e)&&e.escapedText==="module"}function qh(e){return(ai(e)||Hh(e))&&lv(e.expression)&&mc(e)==="exports"}function f1(e){const t=fv(e);return t===5||Wo(e)?t:0}function _v(e){return ki(e.arguments)===3&&ai(e.expression)&&vt(e.expression.expression)&&Vn(e.expression.expression)==="Object"&&Vn(e.expression.name)==="defineProperty"&&qo(e.arguments[1])&&dc(e.arguments[0],!0)}function Hh(e){return rs(e)&&qo(e.argumentExpression)}function pc(e,t){return ai(e)&&(!t&&e.expression.kind===110||vt(e.name)&&dc(e.expression,!0))||Gh(e,t)}function Gh(e,t){return Hh(e)&&(!t&&e.expression.kind===110||b1(e.expression)||pc(e.expression,!0))}function dc(e,t){return b1(e)||pc(e,t)}function fv(e){if(Mc(e)){if(!_v(e))return 0;const t=e.arguments[0];return uv(t)||qh(t)?8:pc(t)&&mc(t)==="prototype"?9:7}return e.operatorToken.kind!==64||!s2(e.left)||pv(cv(e))?0:dc(e.left.expression,!0)&&mc(e.left)==="prototype"&&ns(mv(e))?6:dv(e.left)}function pv(e){return xk(e)&&oo(e.expression)&&e.expression.text==="0"}function p1(e){if(ai(e))return e.name;const t=h1(e.argumentExpression);return oo(t)||a1(t)?t:e}function mc(e){const t=p1(e);if(t){if(vt(t))return t.escapedText;if(a1(t)||oo(t))return qi(t.text)}}function dv(e){if(e.expression.kind===110)return 4;if(qh(e))return 2;if(dc(e.expression,!0)){if(Qv(e.expression))return 3;let t=e;for(;!vt(t.expression);)t=t.expression;const r=t.expression;if((r.escapedText==="exports"||r.escapedText==="module"&&mc(t)==="exports")&&pc(e))return 1;if(dc(e,!0)||rs(e)&&Pv(e))return 5}return 0}function mv(e){for(;ci(e.right);)e=e.right;return e.right}function hv(e){return t0(e)&&ci(e.expression)&&f1(e.expression)!==0&&ci(e.expression.right)&&(e.expression.right.operatorToken.kind===57||e.expression.right.operatorToken.kind===61)?e.expression.right.right:void 0}function gv(e){switch(e.kind){case 244:const t=d1(e);return t&&t.initializer;case 173:return e.initializer;case 304:return e.initializer}}function d1(e){return Rc(e)?Ld(e.declarationList.declarations):void 0}function yv(e){return qf(e)&&e.body&&e.body.kind===268?e.body:void 0}function m1(e){switch(e.kind){case 220:case 227:case 242:case 253:case 180:case 297:case 264:case 232:case 176:case 177:case 186:case 181:case 252:case 260:case 247:case 213:case 243:case 1:case 267:case 307:case 278:case 279:case 282:case 245:case 250:case 251:case 249:case 263:case 219:case 185:case 178:case 80:case 246:case 273:case 272:case 182:case 265:case 318:case 324:case 257:case 175:case 174:case 268:case 203:case 271:case 211:case 170:case 218:case 212:case 304:case 173:case 172:case 254:case 241:case 179:case 305:case 306:case 256:case 258:case 259:case 266:case 169:case 261:case 244:case 248:case 255:return!0;default:return!1}}function vv(e,t){let r;tv(e)&&U7(e)&&Vo(e.initializer)&&(r=fn(r,$h(e,e.initializer.jsDoc)));let i=e;for(;i&&i.parent;){if(Vo(i)&&(r=fn(r,$h(e,i.jsDoc))),i.kind===170){r=fn(r,(t?c7:a7)(i));break}if(i.kind===169){r=fn(r,(t?l7:u7)(i));break}i=bv(i)}return r||tt}function $h(e,t){const r=xs(t);return Ad(t,i=>{if(i===r){const c=Un(i.tags,l=>kv(e,l));return i.tags===c?[i]:c}else return Un(i.tags,Vk)})}function kv(e,t){return!(F1(t)||Gk(t))||!t.parent||!U1(t.parent)||!Bc(t.parent.parent)||t.parent.parent===e}function bv(e){const t=e.parent;if(t.kind===304||t.kind===278||t.kind===173||t.kind===245&&e.kind===212||t.kind===254||yv(t)||V_(e))return t;if(t.parent&&(d1(t.parent)===e||V_(t)))return t.parent;if(t.parent&&t.parent.parent&&(d1(t.parent.parent)||gv(t.parent.parent)===e||hv(t.parent.parent)))return t.parent.parent}function h1(e,t){return V1(e,t?-2147483647:1)}function Tv(e){const t=Cv(e);if(t&&Wo(e)){const r=_7(e);if(r)return r.class}return t}function Cv(e){const t=g1(e.heritageClauses,96);return t&&t.types.length>0?t.types[0]:void 0}function Ev(e){if(Wo(e))return f7(e).map(t=>t.class);{const t=g1(e.heritageClauses,119);return t?.types}}function wv(e){return zf(e)?Dv(e)||tt:Jm(e)&&d_(Rd(Tv(e)),Ev(e))||tt}function Dv(e){const t=g1(e.heritageClauses,96);return t?t.types:void 0}function g1(e,t){if(e){for(const r of e)if(r.token===t)return r}}function zo(e){return 83<=e&&e<=166}function Sv(e){return 19<=e&&e<=79}function y1(e){return zo(e)||Sv(e)}function qo(e){return a1(e)||oo(e)}function xv(e){return Ym(e)&&(e.operator===40||e.operator===41)&&oo(e.operand)}function Pv(e){if(!(e.kind===168||e.kind===213))return!1;const t=rs(e)?h1(e.argumentExpression):e.expression;return!qo(t)&&!xv(t)}function Qh(e){return i1(e)?Vn(e):z2(e)?Q9(e):e.text}function Fs(e){return kc(e.pos)||kc(e.end)}function Iv(e){const t=Yh(e),r=e.kind===215&&e.arguments!==void 0;return Xh(e.kind,t,r)}function Xh(e,t,r){switch(e){case 215:return r?0:1;case 225:case 222:case 223:case 221:case 224:case 228:case 230:return 1;case 227:switch(t){case 43:case 64:case 65:case 66:case 68:case 67:case 69:case 70:case 71:case 72:case 73:case 74:case 79:case 75:case 76:case 77:case 78:return 1}}return 0}function v1(e){const t=Yh(e),r=e.kind===215&&e.arguments!==void 0;return R_(e.kind,t,r)}function Yh(e){return e.kind===227?e.operatorToken.kind:e.kind===225||e.kind===226?e.operator:e.kind}function R_(e,t,r){switch(e){case 357:return 0;case 231:return 1;case 230:return 2;case 228:return 4;case 227:switch(t){case 28:return 0;case 64:case 65:case 66:case 68:case 67:case 69:case 70:case 71:case 72:case 73:case 74:case 79:case 75:case 76:case 77:case 78:return 3;default:return U_(t)}case 217:case 236:case 225:case 222:case 223:case 221:case 224:return 16;case 226:return 17;case 214:return 18;case 215:return r?19:18;case 216:case 212:case 213:case 237:return 19;case 235:case 239:return 11;case 110:case 108:case 80:case 81:case 106:case 112:case 97:case 9:case 10:case 11:case 210:case 211:case 219:case 220:case 232:case 14:case 15:case 229:case 218:case 233:case 285:case 286:case 289:return 20;default:return-1}}function U_(e){switch(e){case 61:return 5;case 57:return 5;case 56:return 6;case 52:return 7;case 53:return 8;case 51:return 9;case 35:case 36:case 37:case 38:return 10;case 30:case 32:case 33:case 34:case 104:case 103:case 130:case 152:return 11;case 48:case 49:case 50:return 12;case 40:case 41:return 13;case 42:case 44:case 45:return 14;case 43:return 15}return-1}function k1(e){return!!((e.templateFlags||0)&2048)}function Av(e){return e&&!!(gk(e)?k1(e):k1(e.head)||Pt(e.templateSpans,t=>k1(t.literal)))}function Ov(e){return e.useCaseSensitiveFileNames?e.useCaseSensitiveFileNames():!1}function Lv(e){return rr(Ov(e))}function Nv(e){return Sn(e,[".mjs",".mts"])?".d.mts":Sn(e,[".cjs",".cts"])?".d.cts":Sn(e,[".json"])?".d.json.ts":".d.ts"}function Jv(e){return Sn(e,[".d.mts",".mjs",".mts"])?[".mts",".mjs"]:Sn(e,[".d.cts",".cjs",".cts"])?[".cts",".cjs"]:Sn(e,[".d.json.ts"])?[".json"]:[".tsx",".ts",".jsx",".js"]}function jv(e,t){var r;if(e.paths)return e.baseUrl??N.checkDefined(e.pathsBasePath||((r=t.getCurrentDirectory)==null?void 0:r.call(t)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")}function Zh(e,t,r){if(e.length>hr(e)&&!r(e)){const i=Ut(e);Zh(i,t,r),t(e)}}function Mv(e,t,r,i,c,l){try{i(e,t,r)}catch{Zh(Ut(Mt(e)),c,l),i(e,t,r)}}function Bv(e){return!!e&&e.kind===80&&Rv(e)}function Rv(e){return e.escapedText==="this"}function F_(e,t){return!!Fv(e,t)}function Uv(e){return F_(e,256)}function Fv(e,t){return Wv(e)&t}function Kh(e,t,r){return e.kind>=0&&e.kind<=166?0:(e.modifierFlagsCache&536870912||(e.modifierFlagsCache=n2(e)|536870912),r||t&&Wo(e)?(!(e.modifierFlagsCache&268435456)&&e.parent&&(e.modifierFlagsCache|=e2(e)|268435456),t2(e.modifierFlagsCache)):zv(e.modifierFlagsCache))}function Vv(e){return Kh(e,!0)}function Wv(e){return Kh(e,!1)}function e2(e){let t=0;return e.parent&&!Zs(e)&&(Wo(e)&&(p7(e)&&(t|=8388608),d7(e)&&(t|=16777216),m7(e)&&(t|=33554432),h7(e)&&(t|=67108864),g7(e)&&(t|=134217728)),y7(e)&&(t|=65536)),t}function zv(e){return e&65535}function t2(e){return e&131071|(e&260046848)>>>23}function qv(e){return t2(e2(e))}function Hv(e){return n2(e)|qv(e)}function n2(e){let t=Zf(e)?yr(e.modifiers):0;return(e.flags&8||e.kind===80&&e.flags&4096)&&(t|=32),t}function yr(e){let t=0;if(e)for(const r of e)t|=r2(r.kind);return t}function r2(e){switch(e){case 126:return 256;case 125:return 1;case 124:return 4;case 123:return 2;case 128:return 64;case 129:return 512;case 95:return 32;case 138:return 128;case 87:return 4096;case 90:return 2048;case 134:return 1024;case 148:return 8;case 164:return 16;case 103:return 8192;case 147:return 16384;case 171:return 32768}return 0}function Gv(e){return e===76||e===77||e===78}function i2(e){return e>=64&&e<=79}function V_(e,t){return ci(e)&&(t?e.operatorToken.kind===64:i2(e.operatorToken.kind))&&$i(e.left)}function b1(e){return e.kind===80||$v(e)}function $v(e){return ai(e)&&vt(e.name)&&b1(e.expression)}function Qv(e){return pc(e)&&mc(e)==="prototype"}function Xv(e){return Ti(O9,t=>tn(e,t))}function o2(e,t){const r=Ht(t)?t:t.readFile(e);if(!r)return;let i=Zv(r);if(i===void 0){const c=Bb(e,r);c.error||(i=c.config)}return i}function Yv(e,t){return o2(e,t)||{}}function Zv(e){try{return JSON.parse(e)}catch{return}}function or(e,t){return!t.directoryExists||t.directoryExists(e)}function Xi(e){e.close()}function Kv(e,t){e.forEach(t),e.clear()}function sr(e,t,r){const{onDeleteValue:i,onExistingValue:c}=r;e.forEach((l,p)=>{var g;t?.has(p)?c&&c(l,(g=t.get)==null?void 0:g.call(t,p),p):(e.delete(p),i(l,p))})}function T1(e,t,r){sr(e,t,r);const{createNewValue:i}=r;t?.forEach((c,l)=>{e.has(l)||e.set(l,i(l,c))})}function C1(e){return e.flags&403963917?e.objectFlags:0}function e9(e){let t;return kn(e,r=>{u1(r)&&(t=r)},r=>{for(let i=r.length-1;i>=0;i--)if(u1(r[i])){t=r[i];break}}),t}function t9(e){return e>=183&&e<=206||e===133||e===159||e===150||e===163||e===151||e===136||e===154||e===155||e===116||e===157||e===146||e===141||e===234||e===313||e===314||e===315||e===316||e===317||e===318||e===319}function s2(e){return e.kind===212||e.kind===213}function W_(e,t){for(;;){switch(e.kind){case 226:e=e.operand;continue;case 227:e=e.left;continue;case 228:e=e.condition;continue;case 216:e=e.tag;continue;case 214:if(t)return e;case 235:case 213:case 212:case 236:case 356:case 239:e=e.expression;continue}return e}}function n9(e,t){this.flags=e,this.escapedName=t,this.declarations=void 0,this.valueDeclaration=void 0,this.id=0,this.mergeId=0,this.parent=void 0,this.members=void 0,this.exports=void 0,this.exportSymbol=void 0,this.constEnumOnlyModule=void 0,this.isReferenced=void 0,this.lastAssignmentPos=void 0,this.links=void 0}function r9(e,t){this.flags=t,(N.isDebugging||Vr)&&(this.checker=e)}function i9(e,t){this.flags=t,N.isDebugging&&(this.checker=e)}function E1(e,t,r){this.pos=t,this.end=r,this.kind=e,this.id=0,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.emitNode=void 0}function o9(e,t,r){this.pos=t,this.end=r,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.emitNode=void 0}function s9(e,t,r){this.pos=t,this.end=r,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.emitNode=void 0}function a9(e,t,r){this.fileName=e,this.text=t,this.skipTrivia=r||(i=>i)}var ar={getNodeConstructor:()=>E1,getTokenConstructor:()=>o9,getIdentifierConstructor:()=>s9,getPrivateIdentifierConstructor:()=>E1,getSourceFileConstructor:()=>E1,getSymbolConstructor:()=>n9,getTypeConstructor:()=>r9,getSignatureConstructor:()=>i9,getSourceMapSourceConstructor:()=>a9},c9=[];function u9(e){Object.assign(ar,e),qt(c9,t=>t(ar))}function hc(e,t){return e.replace(/\{(\d+)\}/g,(r,i)=>""+N.checkDefined(t[+i]))}var a2;function gc(e){return a2&&a2[e.key]||e.message}function Vs(e,t,r,i,c,...l){r+i>t.length&&(i=t.length-r),Uh(t,r,i);let p=gc(c);return Pt(l)&&(p=hc(p,l)),{file:void 0,start:r,length:i,messageText:p,category:c.category,code:c.code,reportsUnnecessary:c.reportsUnnecessary,fileName:e}}function l9(e){return e.file===void 0&&e.start!==void 0&&e.length!==void 0&&typeof e.fileName=="string"}function c2(e,t){const r=t.fileName||"",i=t.text.length;N.assertEqual(e.fileName,r),N.assertLessThanOrEqual(e.start,i),N.assertLessThanOrEqual(e.start+e.length,i);const c={file:t,start:e.start,length:e.length,messageText:e.messageText,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary};if(e.relatedInformation){c.relatedInformation=[];for(const l of e.relatedInformation)l9(l)&&l.fileName===r?(N.assertLessThanOrEqual(l.start,i),N.assertLessThanOrEqual(l.start+l.length,i),c.relatedInformation.push(c2(l,t))):c.relatedInformation.push(l)}return c}function Ho(e,t){const r=[];for(const i of e)r.push(c2(i,t));return r}function _9(e,t,r,i,...c){Uh(e.text,t,r);let l=gc(i);return Pt(c)&&(l=hc(l,c)),{file:e,start:t,length:r,messageText:l,category:i.category,code:i.code,reportsUnnecessary:i.reportsUnnecessary,reportsDeprecated:i.reportsDeprecated}}function f9(e,...t){let r=gc(e);return Pt(t)&&(r=hc(r,t)),r}function vr(e,...t){let r=gc(e);return Pt(t)&&(r=hc(r,t)),{file:void 0,start:void 0,length:void 0,messageText:r,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated}}function cr(e,t,...r){let i=gc(t);return Pt(r)&&(i=hc(i,r)),{messageText:i,category:t.category,code:t.code,next:e===void 0||Array.isArray(e)?e:[e]}}function z_(e){return e.file?e.file.path:void 0}function u2(e,t){return p9(e,t)||d9(e,t)||0}function p9(e,t){const r=q_(e),i=q_(t);return ei(z_(e),z_(t))||Dn(e.start,t.start)||Dn(e.length,t.length)||Dn(r,i)||m9(e,t)||0}function d9(e,t){return!e.relatedInformation&&!t.relatedInformation?0:e.relatedInformation&&t.relatedInformation?Dn(t.relatedInformation.length,e.relatedInformation.length)||qt(e.relatedInformation,(r,i)=>{const c=t.relatedInformation[i];return u2(r,c)})||0:e.relatedInformation?-1:1}function m9(e,t){let r=H_(e),i=H_(t);typeof r!="string"&&(r=r.messageText),typeof i!="string"&&(i=i.messageText);const c=typeof e.messageText!="string"?e.messageText.next:void 0,l=typeof t.messageText!="string"?t.messageText.next:void 0;let p=ei(r,i);return p||(p=h9(c,l),p)?p:e.canonicalHead&&!t.canonicalHead?-1:t.canonicalHead&&!e.canonicalHead?1:0}function h9(e,t){return e===void 0&&t===void 0?0:e===void 0?1:t===void 0?-1:l2(e,t)||_2(e,t)}function l2(e,t){if(e===void 0&&t===void 0)return 0;if(e===void 0)return 1;if(t===void 0)return-1;let r=Dn(t.length,e.length);if(r)return r;for(let i=0;i<t.length;i++)if(r=l2(e[i].next,t[i].next),r)return r;return 0}function _2(e,t){let r;for(let i=0;i<t.length;i++){if(r=ei(e[i].messageText,t[i].messageText),r)return r;if(e[i].next!==void 0&&(r=_2(e[i].next,t[i].next),r))return r}return 0}function g9(e,t){const r=q_(e),i=q_(t),c=H_(e),l=H_(t);return ei(z_(e),z_(t))===0&&Dn(e.start,t.start)===0&&Dn(e.length,t.length)===0&&Dn(r,i)===0&&y9(c,l)}function q_(e){var t;return((t=e.canonicalHead)==null?void 0:t.code)||e.code}function H_(e){var t;return((t=e.canonicalHead)==null?void 0:t.messageText)||e.messageText}function y9(e,t){const r=typeof e=="string"?e:e.messageText,i=typeof t=="string"?t:t.messageText;return ei(r,i)===0}function f2(e){return e===4||e===2||e===1||e===6?1:0}function v9(e){return Pt(e.types,t=>t==="*")}function wC(e){return e}var Pn={allowImportingTsExtensions:{dependencies:["rewriteRelativeImportExtensions"],computeValue:e=>!!(e.allowImportingTsExtensions||e.rewriteRelativeImportExtensions)},target:{dependencies:[],computeValue:e=>(e.target===0?void 0:e.target)??12},module:{dependencies:["target"],computeValue:e=>{if(typeof e.module=="number")return e.module;const t=Pn.target.computeValue(e);return t===99?99:t>=9?7:t>=7?6:t>=2?5:1}},moduleResolution:{dependencies:["module","target"],computeValue:e=>{if(e.moduleResolution!==void 0)return e.moduleResolution;const t=Pn.module.computeValue(e);switch(t){case 0:case 2:case 3:case 4:return 1;case 199:return 99}return 100<=t&&t<199?3:100}},moduleDetection:{dependencies:["module","target"],computeValue:e=>{if(e.moduleDetection!==void 0)return e.moduleDetection;const t=Pn.module.computeValue(e);return 100<=t&&t<=199?3:2}},isolatedModules:{dependencies:["verbatimModuleSyntax"],computeValue:e=>!!(e.isolatedModules||e.verbatimModuleSyntax)},esModuleInterop:{dependencies:[],computeValue:e=>e.esModuleInterop!==void 0?e.esModuleInterop:!0},allowSyntheticDefaultImports:{dependencies:[],computeValue:e=>e.allowSyntheticDefaultImports!==void 0?e.allowSyntheticDefaultImports:!0},resolvePackageJsonExports:{dependencies:["moduleResolution","module","target"],computeValue:e=>{const t=Pn.moduleResolution.computeValue(e);if(!D1(t))return!1;if(e.resolvePackageJsonExports!==void 0)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}},resolvePackageJsonImports:{dependencies:["moduleResolution","resolvePackageJsonExports","module","target"],computeValue:e=>{const t=Pn.moduleResolution.computeValue(e);if(!D1(t))return!1;if(e.resolvePackageJsonImports!==void 0)return e.resolvePackageJsonImports;switch(t){case 3:case 99:case 100:return!0}return!1}},resolveJsonModule:{dependencies:["moduleResolution","module","target"],computeValue:e=>{if(e.resolveJsonModule!==void 0)return e.resolveJsonModule;switch(Pn.module.computeValue(e)){case 102:case 199:return!0}return Pn.moduleResolution.computeValue(e)===100}},declaration:{dependencies:["composite"],computeValue:e=>!!(e.declaration||e.composite)},preserveConstEnums:{dependencies:["isolatedModules","verbatimModuleSyntax"],computeValue:e=>!!(e.preserveConstEnums||Pn.isolatedModules.computeValue(e))},incremental:{dependencies:["composite"],computeValue:e=>!!(e.incremental||e.composite)},declarationMap:{dependencies:["declaration","composite"],computeValue:e=>!!(e.declarationMap&&Pn.declaration.computeValue(e))},allowJs:{dependencies:["checkJs"],computeValue:e=>e.allowJs===void 0?!!e.checkJs:e.allowJs},useDefineForClassFields:{dependencies:["target","module"],computeValue:e=>e.useDefineForClassFields===void 0?Pn.target.computeValue(e)>=9:e.useDefineForClassFields},noImplicitAny:{dependencies:["strict"],computeValue:e=>Yi(e,"noImplicitAny")},noImplicitThis:{dependencies:["strict"],computeValue:e=>Yi(e,"noImplicitThis")},strictNullChecks:{dependencies:["strict"],computeValue:e=>Yi(e,"strictNullChecks")},strictFunctionTypes:{dependencies:["strict"],computeValue:e=>Yi(e,"strictFunctionTypes")},strictBindCallApply:{dependencies:["strict"],computeValue:e=>Yi(e,"strictBindCallApply")},strictPropertyInitialization:{dependencies:["strict"],computeValue:e=>Yi(e,"strictPropertyInitialization")},strictBuiltinIteratorReturn:{dependencies:["strict"],computeValue:e=>Yi(e,"strictBuiltinIteratorReturn")},alwaysStrict:{dependencies:[],computeValue:e=>e.alwaysStrict!==!1},useUnknownInCatchVariables:{dependencies:["strict"],computeValue:e=>Yi(e,"useUnknownInCatchVariables")}},k9=Pn.target.computeValue,b9=Pn.module.computeValue,p2=Pn.moduleResolution.computeValue,d2=Pn.resolveJsonModule.computeValue,Go=Pn.declaration.computeValue,G_=Pn.incremental.computeValue,T9=Pn.declarationMap.computeValue,w1=Pn.allowJs.computeValue;function D1(e){return e>=3&&e<=99||e===100}function Yi(e,t){return e[t]===void 0?e.strict!==!1:!!e[t]}function m2(e){return jh(bg.type,(t,r)=>t===e?r:void 0)}var h2=/[^\w\s/]/g,C9=[42,63],E9=["node_modules","bower_components","jspm_packages"],S1=`(?!(?:${E9.join("|")})(?:/|$))`,g2={singleAsteriskRegexFragment:"(?:[^./]|(?:\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:`(?:/${S1}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>I1(e,g2.singleAsteriskRegexFragment)},y2={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:`(?:/${S1}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>I1(e,y2.singleAsteriskRegexFragment)},v2={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(?:/.+?)?",replaceWildcardCharacter:e=>I1(e,v2.singleAsteriskRegexFragment)},x1={files:g2,directories:y2,exclude:v2};function yc(e,t,r){const i=P1(e,t,r);return!i||!i.length?void 0:`^(?:${i.map(p=>`(?:${p})`).join("|")})${r==="exclude"?"(?:$|/)":"$"}`}function P1(e,t,r){if(!(e===void 0||e.length===0))return Ad(e,i=>i&&b2(i,t,r,x1[r]))}function k2(e){return!/[.*?]/.test(e)}function w9(e,t,r){const i=e&&b2(e,t,r,x1[r]);return i&&`^(?:${i})${r==="exclude"?"(?:$|/)":"$"}`}function b2(e,t,r,{singleAsteriskRegexFragment:i,doubleAsteriskRegexFragment:c,replaceWildcardCharacter:l}=x1[r]){let p="",g=!1;const a=Z0(e,t),b=xs(a);if(r!=="exclude"&&b==="**")return;a[0]=Vi(a[0]),k2(b)&&a.push("**","*");let d=0;for(let E of a){if(E==="**")p+=c;else if(r==="directories"&&(p+="(?:",d++),g&&(p+=Dt),r!=="exclude"){let T="";E.charCodeAt(0)===42?(T+="(?:[^./]"+i+")?",E=E.substr(1)):E.charCodeAt(0)===63&&(T+="[^./]",E=E.substr(1)),T+=E.replace(h2,l),T!==E&&(p+=S1),p+=T}else p+=E.replace(h2,l);g=!0}for(;d>0;)p+=")?",d--;return p}function I1(e,t){return e==="*"?t:e==="?"?"[^/]":"\\"+e}function D9(e,t,r,i,c){e=Mt(e),c=Mt(c);const l=ut(c,e);return{includeFilePatterns:Ir(P1(r,l,"files"),p=>`^${p}$`),includeFilePattern:yc(r,l,"files"),includeDirectoryPattern:yc(r,l,"directories"),excludePattern:yc(t,l,"exclude"),basePaths:x9(e,r,i)}}function Ws(e,t){return new RegExp(e,t?"":"i")}function S9(e,t,r,i,c,l,p,g,a){e=Mt(e),l=Mt(l);const b=D9(e,r,i,c,l),d=b.includeFilePatterns&&b.includeFilePatterns.map(A=>Ws(A,c)),E=b.includeDirectoryPattern&&Ws(b.includeDirectoryPattern,c),T=b.excludePattern&&Ws(b.excludePattern,c),C=d?d.map(()=>[]):[[]],S=new Map,j=rr(c);for(const A of b.basePaths)L(A,ut(l,A),p);return tc(C);function L(A,U,x){const F=j(a(U));if(S.has(F))return;S.set(F,!0);const{files:te,directories:J}=g(A);for(const V of nc(te,ei)){const D=ut(A,V),Z=ut(U,V);if(!(t&&!Sn(D,t))&&!(T&&T.test(Z)))if(!d)C[0].push(D);else{const he=Ri(d,pe=>pe.test(Z));he!==-1&&C[he].push(D)}}if(!(x!==void 0&&(x--,x===0)))for(const V of nc(J,ei)){const D=ut(A,V),Z=ut(U,V);(!E||E.test(Z))&&(!T||!T.test(Z))&&L(D,Z,x)}}}function x9(e,t,r){const i=[e];if(t){const c=[];for(const l of t){const p=Fi(l)?l:Mt(ut(e,l));c.push(P9(p))}c.sort(Bd(!r));for(const l of c)bi(i,p=>!Js(p,l,e,!r))&&i.push(l)}return i}function P9(e){const t=Q3(e,C9);return t<0?$d(e)?Vi(Ut(e)):e:e.substring(0,e.lastIndexOf(Dt,t))}function T2(e,t){return t||I9(e)||3}function I9(e){switch(e.substr(e.lastIndexOf(".")).toLowerCase()){case".js":case".cjs":case".mjs":return 1;case".jsx":return 2;case".ts":case".cts":case".mts":return 3;case".tsx":return 4;case".json":return 6;default:return 0}}var $_=[[".ts",".tsx",".d.ts"],[".cts",".d.cts"],[".mts",".d.mts"]],A9=[...$_,[".json"]],O9=[".d.ts",".d.cts",".d.mts",".cts",".mts",".ts",".tsx"],L9=[[".js",".jsx"],[".mjs"],[".cjs"]],C2=tc(L9),Q_=[[".ts",".tsx",".d.ts",".js",".jsx"],[".cts",".d.cts",".cjs"],[".mts",".d.mts",".mjs"]],N9=[...Q_,[".json"]],E2=[".d.ts",".d.cts",".d.mts"],J9=[".ts",".cts",".mts",".tsx"];function w2(e,t){const r=e&&w1(e);if(!t||t.length===0)return r?Q_:$_;const i=r?Q_:$_,c=tc(i);return[...i,...Od(t,p=>p.scriptKind===7||r&&j9(p.scriptKind)&&!c.includes(p.extension)?[p.extension]:void 0)]}function D2(e,t){return!e||!d2(e)?t:t===Q_?N9:t===$_?A9:[...t,[".json"]]}function j9(e){return e===1||e===2}function M9(e,t,r){if(!e)return!1;const i=w2(t,r);for(const c of tc(D2(t,i)))if(tn(e,c))return!0;return!1}var A1=[".d.ts",".d.mts",".d.cts",".mjs",".mts",".cjs",".cts",".ts",".js",".tsx",".jsx",".json"];function vc(e){for(const t of A1){const r=B9(e,t);if(r!==void 0)return r}return e}function B9(e,t){return tn(e,t)?S2(e,t):void 0}function S2(e,t){return e.substring(0,e.length-t.length)}function X_(e,t){return eh(e,t,A1,!1)}function R9(e){const t=e.indexOf("*");return t===-1?e:e.indexOf("*",t+1)!==-1?void 0:{prefix:e.substr(0,t),suffix:e.substr(t+1)}}var x2=new WeakMap;function O1(e){let t=x2.get(e);if(t!==void 0)return t;let r,i;const c=Po(e);for(const l of c){const p=R9(l);p!==void 0&&(typeof p=="string"?(r??(r=new Set)).add(p):(i??(i=[])).push(p))}return x2.set(e,t={matchableStringSet:r,patterns:i}),t}function kc(e){return!(e>=0)}function P2(e){return Ti(A1,t=>tn(e,t))}var U9={files:tt,directories:tt};function F9(e,t){const{matchableStringSet:r,patterns:i}=e;if(r?.has(t))return t;if(!(i===void 0||i.length===0))return w8(i,c=>c,t)}function Y_(e,...t){return t.length&&(e.relatedInformation||(e.relatedInformation=[]),N.assert(e.relatedInformation!==tt,"Diagnostic had empty array singleton for related info, but is still being constructed!"),e.relatedInformation.push(...t)),e}function V9(e){let t;switch(e.charCodeAt(1)){case 98:case 66:t=1;break;case 111:case 79:t=3;break;case 120:case 88:t=4;break;default:const b=e.length-1;let d=0;for(;e.charCodeAt(d)===48;)d++;return e.slice(d,b)||"0"}const r=2,i=e.length-1,c=(i-r)*t,l=new Uint16Array((c>>>4)+(c&15?1:0));for(let b=i-1,d=0;b>=r;b--,d+=t){const E=d>>>4,T=e.charCodeAt(b),S=(T<=57?T-48:10+T-(T<=70?65:97))<<(d&15);l[E]|=S;const j=S>>>16;j&&(l[E+1]|=j)}let p="",g=l.length-1,a=!0;for(;a;){let b=0;a=!1;for(let d=g;d>=0;d--){const E=b<<16|l[d],T=E/10|0;l[d]=T,b=E-T*10,T&&!a&&(g=d,a=!0)}p=b+p}return p}function W9({negative:e,base10Value:t}){return(e&&t!=="0"?"-":"")+t}function L1(e,t){return e.pos=t,e}function z9(e,t){return e.end=t,e}function Zi(e,t,r){return z9(L1(e,t),r)}function I2(e,t,r){return Zi(e,t,t+r)}function N1(e,t){return e&&t&&(e.parent=t),e}function q9(e,t){if(!e)return e;return dg(e,Nh(e)?r:c),e;function r(l,p){if(t&&l.parent===p)return"skip";N1(l,p)}function i(l){if(Vo(l))for(const p of l.jsDoc)r(p,l),dg(p,r)}function c(l,p){return r(l,p)||i(l)}}function H9(e){return!!(e.flags&524288&&e.isThisType)}function G9(e){var t;return((t=pk(e))==null?void 0:t.kind)===0}function $9(e){return`${e.namespace.escapedText}:${Vn(e.name)}`}function Q9(e){return`${Vn(e.namespace)}:${Vn(e.name)}`}var X9=String.prototype.replace;function Y9(e,t){return X9.call(e,"*",t)}function Z9(e){let t,r;return{getParenthesizeLeftSideOfBinaryForOperator:i,getParenthesizeRightSideOfBinaryForOperator:c,parenthesizeLeftSideOfBinary:d,parenthesizeRightSideOfBinary:E,parenthesizeExpressionOfComputedPropertyName:T,parenthesizeConditionOfConditionalExpression:C,parenthesizeBranchOfConditionalExpression:S,parenthesizeExpressionOfExportDefault:j,parenthesizeExpressionOfNew:L,parenthesizeLeftSideOfAccess:A,parenthesizeOperandOfPostfixUnary:U,parenthesizeOperandOfPrefixUnary:x,parenthesizeExpressionsOfCommaDelimitedList:F,parenthesizeExpressionForDisallowedComma:te,parenthesizeExpressionOfExpressionStatement:J,parenthesizeConciseBodyOfArrowFunction:V,parenthesizeCheckTypeOfConditionalType:D,parenthesizeExtendsTypeOfConditionalType:Z,parenthesizeConstituentTypesOfUnionType:pe,parenthesizeConstituentTypeOfUnionType:he,parenthesizeConstituentTypesOfIntersectionType:De,parenthesizeConstituentTypeOfIntersectionType:be,parenthesizeOperandOfTypeOperator:ye,parenthesizeOperandOfReadonlyTypeOperator:se,parenthesizeNonArrayTypeOfPostfixType:Ae,parenthesizeElementTypesOfTupleType:Ue,parenthesizeElementTypeOfTupleType:Pe,parenthesizeTypeOfOptionalType:_t,parenthesizeTypeArguments:Ie,parenthesizeLeadingTypeArgument:ve};function i(M){t||(t=new Map);let ge=t.get(M);return ge||(ge=Le=>d(M,Le),t.set(M,ge)),ge}function c(M){r||(r=new Map);let ge=r.get(M);return ge||(ge=Le=>E(M,void 0,Le),r.set(M,ge)),ge}function l(M,ge){return M===61?ge===56||ge===57:ge===61?M===56||M===57:!1}function p(M,ge,Le,qe){const ue=gr(ge);if(ci(ue)&&l(M,ue.operatorToken.kind))return!0;const Se=R_(227,M),Te=Xh(227,M);if(!Le&&ge.kind===220&&Se>3)return!0;const Xe=v1(ue);switch(Dn(Xe,Se)){case-1:return!(!Le&&Te===1&&ge.kind===230);case 1:return!1;case 0:if(Le)return Te===1;if(ci(ue)&&ue.operatorToken.kind===M){if(g(M))return!1;if(M===40){const pt=qe?a(qe):0;if(N_(pt)&&pt===a(ue))return!1}}return Iv(ue)===0}}function g(M){return M===42||M===52||M===51||M===53||M===28}function a(M){if(M=gr(M),N_(M.kind))return M.kind;if(M.kind===227&&M.operatorToken.kind===40){if(M.cachedLiteralKind!==void 0)return M.cachedLiteralKind;const ge=a(M.left),Le=N_(ge)&&ge===a(M.right)?ge:0;return M.cachedLiteralKind=Le,Le}return 0}function b(M,ge,Le,qe){return gr(ge).kind===218?ge:p(M,ge,Le,qe)?e.createParenthesizedExpression(ge):ge}function d(M,ge){return b(M,ge,!0)}function E(M,ge,Le){return b(M,Le,!1,ge)}function T(M){return rf(M)?e.createParenthesizedExpression(M):M}function C(M){const ge=R_(228,58),Le=gr(M),qe=v1(Le);return Dn(qe,ge)!==1?e.createParenthesizedExpression(M):M}function S(M){const ge=gr(M);return rf(ge)?e.createParenthesizedExpression(M):M}function j(M){const ge=gr(M);let Le=rf(ge);if(!Le)switch(W_(ge,!1).kind){case 232:case 219:Le=!0}return Le?e.createParenthesizedExpression(M):M}function L(M){const ge=W_(M,!0);switch(ge.kind){case 214:return e.createParenthesizedExpression(M);case 215:return ge.arguments?M:e.createParenthesizedExpression(M)}return A(M)}function A(M,ge){const Le=gr(M);return $i(Le)&&(Le.kind!==215||Le.arguments)&&(ge||!Lm(Le))?M:Et(e.createParenthesizedExpression(M),M)}function U(M){return $i(M)?M:Et(e.createParenthesizedExpression(M),M)}function x(M){return Ph(M)?M:Et(e.createParenthesizedExpression(M),M)}function F(M){const ge=ec(M,te);return Et(e.createNodeArray(ge,M.hasTrailingComma),M)}function te(M){const ge=gr(M),Le=v1(ge),qe=R_(227,28);return Le>qe?M:Et(e.createParenthesizedExpression(M),M)}function J(M){const ge=gr(M);if(Mc(ge)){const qe=ge.expression,ue=gr(qe).kind;if(ue===219||ue===220){const Se=e.updateCallExpression(ge,Et(e.createParenthesizedExpression(qe),qe),ge.typeArguments,ge.arguments);return e.restoreOuterExpressions(M,Se,8)}}const Le=W_(ge,!1).kind;return Le===211||Le===219?Et(e.createParenthesizedExpression(M),M):M}function V(M){return!Uf(M)&&(rf(M)||W_(M,!1).kind===211)?Et(e.createParenthesizedExpression(M),M):M}function D(M){switch(M.kind){case 185:case 186:case 195:return e.createParenthesizedType(M)}return M}function Z(M){return M.kind===195?e.createParenthesizedType(M):M}function he(M){switch(M.kind){case 193:case 194:return e.createParenthesizedType(M)}return D(M)}function pe(M){return e.createNodeArray(ec(M,he))}function be(M){switch(M.kind){case 193:case 194:return e.createParenthesizedType(M)}return he(M)}function De(M){return e.createNodeArray(ec(M,be))}function ye(M){return M.kind===194?e.createParenthesizedType(M):be(M)}function se(M){return M.kind===199?e.createParenthesizedType(M):ye(M)}function Ae(M){switch(M.kind){case 196:case 199:case 187:return e.createParenthesizedType(M)}return ye(M)}function Ue(M){return e.createNodeArray(ec(M,Pe))}function Pe(M){return kt(M)?e.createParenthesizedType(M):M}function kt(M){return q2(M)?M.postfix:jf(M)||jc(M)||B1(M)||Mf(M)?kt(M.type):U2(M)?kt(M.falseType):B2(M)||R2(M)?kt(xs(M.types)):F2(M)?!!M.typeParameter.constraint&&kt(M.typeParameter.constraint):!1}function _t(M){return kt(M)?e.createParenthesizedType(M):Ae(M)}function ve(M){return A7(M)&&M.typeParameters?e.createParenthesizedType(M):M}function Je(M,ge){return ge===0?ve(M):M}function Ie(M){if(Pt(M))return e.createNodeArray(ec(M,Je))}}var K9={getParenthesizeLeftSideOfBinaryForOperator:e=>Ot,getParenthesizeRightSideOfBinaryForOperator:e=>Ot,parenthesizeLeftSideOfBinary:(e,t)=>t,parenthesizeRightSideOfBinary:(e,t,r)=>r,parenthesizeExpressionOfComputedPropertyName:Ot,parenthesizeConditionOfConditionalExpression:Ot,parenthesizeBranchOfConditionalExpression:Ot,parenthesizeExpressionOfExportDefault:Ot,parenthesizeExpressionOfNew:e=>Qn(e,$i),parenthesizeLeftSideOfAccess:e=>Qn(e,$i),parenthesizeOperandOfPostfixUnary:e=>Qn(e,$i),parenthesizeOperandOfPrefixUnary:e=>Qn(e,Ph),parenthesizeExpressionsOfCommaDelimitedList:e=>Qn(e,Gi),parenthesizeExpressionForDisallowedComma:Ot,parenthesizeExpressionOfExpressionStatement:Ot,parenthesizeConciseBodyOfArrowFunction:Ot,parenthesizeCheckTypeOfConditionalType:Ot,parenthesizeExtendsTypeOfConditionalType:Ot,parenthesizeConstituentTypesOfUnionType:e=>Qn(e,Gi),parenthesizeConstituentTypeOfUnionType:Ot,parenthesizeConstituentTypesOfIntersectionType:e=>Qn(e,Gi),parenthesizeConstituentTypeOfIntersectionType:Ot,parenthesizeOperandOfTypeOperator:Ot,parenthesizeOperandOfReadonlyTypeOperator:Ot,parenthesizeNonArrayTypeOfPostfixType:Ot,parenthesizeElementTypesOfTupleType:e=>Qn(e,Gi),parenthesizeElementTypeOfTupleType:Ot,parenthesizeTypeOfOptionalType:Ot,parenthesizeTypeArguments:e=>e&&Qn(e,Gi),parenthesizeLeadingTypeArgument:Ot};function ek(e){return{convertToFunctionBlock:t,convertToFunctionExpression:r,convertToClassExpression:i,convertToArrayAssignmentElement:c,convertToObjectAssignmentElement:l,convertToAssignmentPattern:p,convertToObjectAssignmentPattern:g,convertToArrayAssignmentPattern:a,convertToAssignmentElementTarget:b};function t(d,E){if(Uf(d))return d;const T=e.createReturnStatement(d);Et(T,d);const C=e.createBlock([T],E);return Et(C,d),C}function r(d){var E;if(!d.body)return N.fail("Cannot convert a FunctionDeclaration without a body");const T=e.createFunctionExpression((E=Om(d))==null?void 0:E.filter(C=>!j1(C)&&!j2(C)),d.asteriskToken,d.name,d.typeParameters,d.parameters,d.type,d.body);return oi(T,d),Et(T,d),L2(d)&&J1(T,!0),T}function i(d){var E;const T=e.createClassExpression((E=d.modifiers)==null?void 0:E.filter(C=>!j1(C)&&!j2(C)),d.name,d.typeParameters,d.heritageClauses,d.members);return oi(T,d),Et(T,d),L2(d)&&J1(T,!0),T}function c(d){if(ts(d)){if(d.dotDotDotToken)return N.assertNode(d.name,vt),oi(Et(e.createSpreadElement(d.name),d),d);const E=b(d.name);return d.initializer?oi(Et(e.createAssignment(E,d.initializer),d),d):E}return Qn(d,s1)}function l(d){if(ts(d)){if(d.dotDotDotToken)return N.assertNode(d.name,vt),oi(Et(e.createSpreadAssignment(d.name),d),d);if(d.propertyName){const E=b(d.name);return oi(Et(e.createPropertyAssignment(d.propertyName,d.initializer?e.createAssignment(E,d.initializer):E),d),d)}return N.assertNode(d.name,vt),oi(Et(e.createShorthandPropertyAssignment(d.name,d.initializer),d),d)}return Qn(d,Dh)}function p(d){switch(d.kind){case 208:case 210:return a(d);case 207:case 211:return g(d)}}function g(d){return $m(d)?oi(Et(e.createObjectLiteralExpression(Ir(d.elements,l)),d),d):Qn(d,ns)}function a(d){return Qm(d)?oi(Et(e.createArrayLiteralExpression(Ir(d.elements,c)),d),d):Qn(d,ea)}function b(d){return Sh(d)?p(d):Qn(d,s1)}}var tk={convertToFunctionBlock:Yt,convertToFunctionExpression:Yt,convertToClassExpression:Yt,convertToArrayAssignmentElement:Yt,convertToObjectAssignmentElement:Yt,convertToAssignmentPattern:Yt,convertToObjectAssignmentPattern:Yt,convertToArrayAssignmentPattern:Yt,convertToAssignmentElementTarget:Yt},Z_=0,nk=[];function rk(e,t){const r=e&8?Ot:oi,i=rc(()=>e&1?K9:Z9(A)),c=rc(()=>e&2?tk:ek(A)),l=Ar(n=>(o,s)=>ls(o,n,s)),p=Ar(n=>o=>di(n,o)),g=Ar(n=>o=>Pi(o,n)),a=Ar(n=>()=>cl(n)),b=Ar(n=>o=>Oa(n,o)),d=Ar(n=>(o,s)=>jp(n,o,s)),E=Ar(n=>(o,s)=>ul(n,o,s)),T=Ar(n=>(o,s)=>Jp(n,o,s)),C=Ar(n=>(o,s)=>Sl(n,o,s)),S=Ar(n=>(o,s,_)=>Gp(n,o,s,_)),j=Ar(n=>(o,s,_)=>xl(n,o,s,_)),L=Ar(n=>(o,s,_,v)=>$p(n,o,s,_,v)),A={get parenthesizer(){return i()},get converters(){return c()},baseFactory:t,flags:e,createNodeArray:U,createNumericLiteral:J,createBigIntLiteral:V,createStringLiteral:Z,createStringLiteralFromNode:he,createRegularExpressionLiteral:pe,createLiteralLikeNode:be,createIdentifier:se,createTempVariable:Ae,createLoopVariable:Ue,createUniqueName:Pe,getGeneratedNameForNode:kt,createPrivateIdentifier:ve,createUniquePrivateName:Ie,getGeneratedPrivateNameForNode:M,createToken:Le,createSuper:qe,createThis:ue,createNull:Se,createTrue:Te,createFalse:Xe,createModifier:xe,createModifiersFromModifierFlags:pt,createQualifiedName:Ke,updateQualifiedName:gt,createComputedPropertyName:it,updateComputedPropertyName:wt,createTypeParameterDeclaration:$t,updateTypeParameterDeclaration:Xn,createParameterDeclaration:lr,updateParameterDeclaration:_r,createDecorator:bn,updateDecorator:jn,createPropertySignature:Lr,updatePropertySignature:ht,createPropertyDeclaration:Hr,updatePropertyDeclaration:q,createMethodSignature:de,updateMethodSignature:we,createMethodDeclaration:je,updateMethodDeclaration:mt,createConstructorDeclaration:Lt,updateConstructorDeclaration:ui,createGetAccessorDeclaration:fr,updateGetAccessorDeclaration:Cr,createSetAccessorDeclaration:$,updateSetAccessorDeclaration:ie,createCallSignature:Me,updateCallSignature:Be,createConstructSignature:Re,updateConstructSignature:Oe,createIndexSignature:ft,updateIndexSignature:Tt,createClassStaticBlockDeclaration:It,updateClassStaticBlockDeclaration:nn,createTemplateLiteralTypeSpan:dt,updateTemplateLiteralTypeSpan:Ve,createKeywordTypeNode:Yn,createTypePredicateNode:St,updateTypePredicateNode:Wn,createTypeReferenceNode:Di,updateTypeReferenceNode:z,createFunctionTypeNode:ot,updateFunctionTypeNode:m,createConstructorTypeNode:Ye,updateConstructorTypeNode:Mn,createTypeQueryNode:rn,updateTypeQueryNode:Qt,createTypeLiteralNode:on,updateTypeLiteralNode:hn,createArrayTypeNode:Er,updateArrayTypeNode:ao,createTupleTypeNode:zn,updateTupleTypeNode:K,createNamedTupleMember:Ce,updateNamedTupleMember:at,createOptionalTypeNode:Ne,updateOptionalTypeNode:H,createRestTypeNode:Bt,updateRestTypeNode:zt,createUnionTypeNode:Kf,updateUnionTypeNode:Uc,createIntersectionTypeNode:li,updateIntersectionTypeNode:Ze,createConditionalTypeNode:jt,updateConditionalTypeNode:ep,createInferTypeNode:wr,updateInferTypeNode:tp,createImportTypeNode:Nr,updateImportTypeNode:is,createParenthesizedType:An,updateParenthesizedType:en,createThisTypeNode:B,createTypeOperatorNode:Cn,updateTypeOperatorNode:_i,createIndexedAccessTypeNode:Jr,updateIndexedAccessTypeNode:na,createMappedTypeNode:Ft,updateMappedTypeNode:_n,createLiteralTypeNode:Si,updateLiteralTypeNode:$r,createTemplateLiteralType:Tn,updateTemplateLiteralType:np,createObjectBindingPattern:Fc,updateObjectBindingPattern:rp,createArrayBindingPattern:fi,updateArrayBindingPattern:ip,createBindingElement:os,updateBindingElement:xi,createArrayLiteralExpression:ra,updateArrayLiteralExpression:Vc,createObjectLiteralExpression:co,updateObjectLiteralExpression:op,createPropertyAccessExpression:e&4?(n,o)=>ef(jr(n,o),262144):jr,updatePropertyAccessExpression:sp,createPropertyAccessChain:e&4?(n,o,s)=>ef(uo(n,o,s),262144):uo,updatePropertyAccessChain:ss,createElementAccessExpression:lo,updateElementAccessExpression:ap,createElementAccessChain:qc,updateElementAccessChain:ia,createCallExpression:_o,updateCallExpression:as,createCallChain:oa,updateCallChain:Gc,createNewExpression:Zn,updateNewExpression:sa,createTaggedTemplateExpression:cs,updateTaggedTemplateExpression:$c,createTypeAssertion:Qc,updateTypeAssertion:Xc,createParenthesizedExpression:aa,updateParenthesizedExpression:Yc,createFunctionExpression:ca,updateFunctionExpression:Zc,createArrowFunction:ua,updateArrowFunction:Kc,createDeleteExpression:eu,updateDeleteExpression:tu,createTypeOfExpression:us,updateTypeOfExpression:Hn,createVoidExpression:la,updateVoidExpression:Mr,createAwaitExpression:nu,updateAwaitExpression:pi,createPrefixUnaryExpression:di,updatePrefixUnaryExpression:cp,createPostfixUnaryExpression:Pi,updatePostfixUnaryExpression:up,createBinaryExpression:ls,updateBinaryExpression:lp,createConditionalExpression:iu,updateConditionalExpression:ou,createTemplateExpression:su,updateTemplateExpression:Dr,createTemplateHead:cu,createTemplateMiddle:_s,createTemplateTail:_a,createNoSubstitutionTemplateLiteral:fp,createTemplateLiteralLikeNode:Ai,createYieldExpression:fa,updateYieldExpression:pp,createSpreadElement:uu,updateSpreadElement:dp,createClassExpression:lu,updateClassExpression:pa,createOmittedExpression:da,createExpressionWithTypeArguments:_u,updateExpressionWithTypeArguments:fu,createAsExpression:Gn,updateAsExpression:fs,createNonNullExpression:pu,updateNonNullExpression:du,createSatisfiesExpression:ma,updateSatisfiesExpression:mu,createNonNullChain:ha,updateNonNullChain:pr,createMetaProperty:hu,updateMetaProperty:ga,createTemplateSpan:Sr,updateTemplateSpan:ps,createSemicolonClassElement:gu,createBlock:mi,updateBlock:mp,createVariableStatement:ya,updateVariableStatement:yu,createEmptyStatement:vu,createExpressionStatement:po,updateExpressionStatement:ku,createIfStatement:bu,updateIfStatement:Tu,createDoStatement:Cu,updateDoStatement:Eu,createWhileStatement:wu,updateWhileStatement:hp,createForStatement:Du,updateForStatement:Su,createForInStatement:va,updateForInStatement:gp,createForOfStatement:xu,updateForOfStatement:yp,createContinueStatement:Pu,updateContinueStatement:vp,createBreakStatement:ka,updateBreakStatement:Iu,createReturnStatement:ba,updateReturnStatement:kp,createWithStatement:Ta,updateWithStatement:Au,createSwitchStatement:Ca,updateSwitchStatement:Oi,createLabeledStatement:Ou,updateLabeledStatement:Lu,createThrowStatement:Nu,updateThrowStatement:bp,createTryStatement:Ju,updateTryStatement:Tp,createDebuggerStatement:ju,createVariableDeclaration:ds,updateVariableDeclaration:Mu,createVariableDeclarationList:Ea,updateVariableDeclarationList:Cp,createFunctionDeclaration:Bu,updateFunctionDeclaration:wa,createClassDeclaration:Ru,updateClassDeclaration:ms,createInterfaceDeclaration:Uu,updateInterfaceDeclaration:Fu,createTypeAliasDeclaration:At,updateTypeAliasDeclaration:Qr,createEnumDeclaration:Da,updateEnumDeclaration:Xr,createModuleDeclaration:Vu,updateModuleDeclaration:Xt,createModuleBlock:Yr,updateModuleBlock:gn,createCaseBlock:Wu,updateCaseBlock:wp,createNamespaceExportDeclaration:zu,updateNamespaceExportDeclaration:qu,createImportEqualsDeclaration:Hu,updateImportEqualsDeclaration:Gu,createImportDeclaration:$u,updateImportDeclaration:Qu,createImportClause:Xu,updateImportClause:Yu,createAssertClause:Sa,updateAssertClause:Sp,createAssertEntry:mo,updateAssertEntry:Zu,createImportTypeAssertionContainer:xa,updateImportTypeAssertionContainer:Ku,createImportAttributes:el,updateImportAttributes:Pa,createImportAttribute:tl,updateImportAttribute:nl,createNamespaceImport:rl,updateNamespaceImport:xp,createNamespaceExport:il,updateNamespaceExport:Pp,createNamedImports:ol,updateNamedImports:sl,createImportSpecifier:Zr,updateImportSpecifier:Ip,createExportAssignment:hs,updateExportAssignment:ho,createExportDeclaration:gs,updateExportDeclaration:al,createNamedExports:Ia,updateNamedExports:Ap,createExportSpecifier:ys,updateExportSpecifier:Op,createMissingDeclaration:Lp,createExternalModuleReference:Aa,updateExternalModuleReference:Np,get createJSDocAllType(){return a(313)},get createJSDocUnknownType(){return a(314)},get createJSDocNonNullableType(){return E(316)},get updateJSDocNonNullableType(){return T(316)},get createJSDocNullableType(){return E(315)},get updateJSDocNullableType(){return T(315)},get createJSDocOptionalType(){return b(317)},get updateJSDocOptionalType(){return d(317)},get createJSDocVariadicType(){return b(319)},get updateJSDocVariadicType(){return d(319)},get createJSDocNamepathType(){return b(320)},get updateJSDocNamepathType(){return d(320)},createJSDocFunctionType:ll,updateJSDocFunctionType:Mp,createJSDocTypeLiteral:_l,updateJSDocTypeLiteral:Bp,createJSDocTypeExpression:fl,updateJSDocTypeExpression:La,createJSDocSignature:pl,updateJSDocSignature:Rp,createJSDocTemplateTag:Na,updateJSDocTemplateTag:dl,createJSDocTypedefTag:vs,updateJSDocTypedefTag:Up,createJSDocParameterTag:Ja,updateJSDocParameterTag:Fp,createJSDocPropertyTag:ml,updateJSDocPropertyTag:hl,createJSDocCallbackTag:gl,updateJSDocCallbackTag:yl,createJSDocOverloadTag:vl,updateJSDocOverloadTag:ja,createJSDocAugmentsTag:Ma,updateJSDocAugmentsTag:yo,createJSDocImplementsTag:kl,updateJSDocImplementsTag:Hp,createJSDocSeeTag:gi,updateJSDocSeeTag:ks,createJSDocImportTag:Al,updateJSDocImportTag:Ol,createJSDocNameReference:bl,updateJSDocNameReference:Vp,createJSDocMemberName:Tl,updateJSDocMemberName:Wp,createJSDocLink:Cl,updateJSDocLink:El,createJSDocLinkCode:wl,updateJSDocLinkCode:zp,createJSDocLinkPlain:Dl,updateJSDocLinkPlain:qp,get createJSDocTypeTag(){return j(345)},get updateJSDocTypeTag(){return L(345)},get createJSDocReturnTag(){return j(343)},get updateJSDocReturnTag(){return L(343)},get createJSDocThisTag(){return j(344)},get updateJSDocThisTag(){return L(344)},get createJSDocAuthorTag(){return C(331)},get updateJSDocAuthorTag(){return S(331)},get createJSDocClassTag(){return C(333)},get updateJSDocClassTag(){return S(333)},get createJSDocPublicTag(){return C(334)},get updateJSDocPublicTag(){return S(334)},get createJSDocPrivateTag(){return C(335)},get updateJSDocPrivateTag(){return S(335)},get createJSDocProtectedTag(){return C(336)},get updateJSDocProtectedTag(){return S(336)},get createJSDocReadonlyTag(){return C(337)},get updateJSDocReadonlyTag(){return S(337)},get createJSDocOverrideTag(){return C(338)},get updateJSDocOverrideTag(){return S(338)},get createJSDocDeprecatedTag(){return C(332)},get updateJSDocDeprecatedTag(){return S(332)},get createJSDocThrowsTag(){return j(350)},get updateJSDocThrowsTag(){return L(350)},get createJSDocSatisfiesTag(){return j(351)},get updateJSDocSatisfiesTag(){return L(351)},createJSDocEnumTag:Il,updateJSDocEnumTag:Ba,createJSDocUnknownTag:Pl,updateJSDocUnknownTag:Qp,createJSDocText:Ra,updateJSDocText:Xp,createJSDocComment:vo,updateJSDocComment:Ll,createJsxElement:Nl,updateJsxElement:Yp,createJsxSelfClosingElement:Jl,updateJsxSelfClosingElement:Zp,createJsxOpeningElement:bs,updateJsxOpeningElement:jl,createJsxClosingElement:Ua,updateJsxClosingElement:Ts,createJsxFragment:En,createJsxText:ko,updateJsxText:Kp,createJsxOpeningFragment:Bl,createJsxJsxClosingFragment:Rl,updateJsxFragment:Ml,createJsxAttribute:Ul,updateJsxAttribute:ed,createJsxAttributes:bo,updateJsxAttributes:td,createJsxSpreadAttribute:Fl,updateJsxSpreadAttribute:nd,createJsxExpression:Vl,updateJsxExpression:Fa,createJsxNamespacedName:Li,updateJsxNamespacedName:rd,createCaseClause:Cs,updateCaseClause:Wl,createDefaultClause:zl,updateDefaultClause:Ni,createHeritageClause:Va,updateHeritageClause:id,createCatchClause:ql,updateCatchClause:Hl,createPropertyAssignment:Es,updatePropertyAssignment:Wa,createShorthandPropertyAssignment:Gl,updateShorthandPropertyAssignment:od,createSpreadAssignment:$l,updateSpreadAssignment:Ql,createEnumMember:za,updateEnumMember:dr,createSourceFile:Xl,updateSourceFile:ud,createRedirectedSourceFile:Yl,createBundle:Zl,updateBundle:Kl,createSyntheticExpression:ld,createSyntaxList:_d,createNotEmittedStatement:ws,createNotEmittedTypeElement:fd,createPartiallyEmittedExpression:Ga,updatePartiallyEmittedExpression:e_,createCommaListExpression:$a,updateCommaListExpression:dd,createSyntheticReferenceExpression:Qa,updateSyntheticReferenceExpression:t_,cloneNode:Ds,get createComma(){return l(28)},get createAssignment(){return l(64)},get createLogicalOr(){return l(57)},get createLogicalAnd(){return l(56)},get createBitwiseOr(){return l(52)},get createBitwiseXor(){return l(53)},get createBitwiseAnd(){return l(51)},get createStrictEquality(){return l(37)},get createStrictInequality(){return l(38)},get createEquality(){return l(35)},get createInequality(){return l(36)},get createLessThan(){return l(30)},get createLessThanEquals(){return l(33)},get createGreaterThan(){return l(32)},get createGreaterThanEquals(){return l(34)},get createLeftShift(){return l(48)},get createRightShift(){return l(49)},get createUnsignedRightShift(){return l(50)},get createAdd(){return l(40)},get createSubtract(){return l(41)},get createMultiply(){return l(42)},get createDivide(){return l(44)},get createModulo(){return l(45)},get createExponent(){return l(43)},get createPrefixPlus(){return p(40)},get createPrefixMinus(){return p(41)},get createPrefixIncrement(){return p(46)},get createPrefixDecrement(){return p(47)},get createBitwiseNot(){return p(55)},get createLogicalNot(){return p(54)},get createPostfixIncrement(){return g(46)},get createPostfixDecrement(){return g(47)},createImmediatelyInvokedFunctionExpression:gd,createImmediatelyInvokedArrowFunction:yd,createVoidZero:To,createExportDefault:i_,createExternalModuleExport:o_,createTypeCheck:vd,createIsNotTypeCheck:Xa,createMethodCall:yi,createGlobalMethodCall:Co,createFunctionBindCall:kd,createFunctionCallCall:bd,createFunctionApplyCall:Td,createArraySliceCall:Cd,createArrayConcatCall:Eo,createObjectDefinePropertyCall:Ed,createObjectGetOwnPropertyDescriptorCall:Ya,createReflectGetCall:ji,createReflectSetCall:s_,createPropertyDescriptor:wd,createCallBinding:l_,createAssignmentTargetWrapper:__,inlineExpressions:u,getInternalName:k,getLocalName:w,getExportName:P,getDeclarationName:R,getNamespaceMemberName:re,getExternalModuleOrNamespaceExportName:me,restoreOuterExpressions:c_,restoreEnclosingLabel:u_,createUseStrictPrologue:ke,copyPrologue:ae,copyStandardPrologue:nt,copyCustomPrologue:et,ensureUseStrict:He,liftToBlock:wn,mergeLexicalEnvironment:Br,replaceModifiers:Rr,replaceDecoratorsAndModifiers:mr,replacePropertyName:vi};return qt(nk,n=>n(A)),A;function U(n,o){if(n===void 0||n===tt)n=[];else if(Gi(n)){if(o===void 0||n.hasTrailingComma===o)return n.transformFlags===void 0&&O2(n),N.attachNodeArrayDebugInfo(n),n;const v=n.slice();return v.pos=n.pos,v.end=n.end,v.hasTrailingComma=o,v.transformFlags=n.transformFlags,N.attachNodeArrayDebugInfo(v),v}const s=n.length,_=s>=1&&s<=4?n.slice():n;return _.pos=-1,_.end=-1,_.hasTrailingComma=!!o,_.transformFlags=0,O2(_),N.attachNodeArrayDebugInfo(_),_}function x(n){return t.createBaseNode(n)}function F(n){const o=x(n);return o.symbol=void 0,o.localSymbol=void 0,o}function te(n,o){return n!==o&&(n.typeArguments=o.typeArguments),G(n,o)}function J(n,o=0){const s=typeof n=="number"?n+"":n;N.assert(s.charCodeAt(0)!==45,"Negative numbers should be created in combination with createPrefixUnaryExpression");const _=F(9);return _.text=s,_.numericLiteralFlags=o,o&384&&(_.transformFlags|=1024),_}function V(n){const o=ge(10);return o.text=typeof n=="string"?n:W9(n)+"n",o.transformFlags|=32,o}function D(n,o){const s=F(11);return s.text=n,s.singleQuote=o,s}function Z(n,o,s){const _=D(n,o);return _.hasExtendedUnicodeEscape=s,s&&(_.transformFlags|=1024),_}function he(n){const o=D(Qh(n),void 0);return o.textSourceNode=n,o}function pe(n){const o=ge(14);return o.text=n,o}function be(n,o){switch(n){case 9:return J(o,0);case 10:return V(o);case 11:return Z(o,void 0);case 12:return ko(o,!1);case 13:return ko(o,!0);case 14:return pe(o);case 15:return Ai(n,o,void 0,0)}}function De(n){const o=t.createBaseIdentifierNode(80);return o.escapedText=n,o.jsDoc=void 0,o.flowNode=void 0,o.symbol=void 0,o}function ye(n,o,s,_){const v=De(qi(n));return tf(v,{flags:o,id:Z_,prefix:s,suffix:_}),Z_++,v}function se(n,o,s){o===void 0&&n&&(o=Am(n)),o===80&&(o=void 0);const _=De(qi(n));return s&&(_.flags|=256),_.escapedText==="await"&&(_.transformFlags|=67108864),_.flags&256&&(_.transformFlags|=1024),_}function Ae(n,o,s,_){let v=1;o&&(v|=8);const I=ye("",v,s,_);return n&&n(I),I}function Ue(n){let o=2;return n&&(o|=8),ye("",o,void 0,void 0)}function Pe(n,o=0,s,_){return N.assert(!(o&7),"Argument out of range: flags"),N.assert((o&48)!==32,"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),ye(n,3|o,s,_)}function kt(n,o=0,s,_){N.assert(!(o&7),"Argument out of range: flags");const v=n?i1(n)?W1(!1,s,n,_,Vn):`generated@${J6(n)}`:"";(s||_)&&(o|=16);const I=ye(v,4|o,s,_);return I.original=n,I}function _t(n){const o=t.createBasePrivateIdentifierNode(81);return o.escapedText=n,o.transformFlags|=16777216,o}function ve(n){return Zt(n,"#")||N.fail("First character of private identifier must be #: "+n),_t(qi(n))}function Je(n,o,s,_){const v=_t(qi(n));return tf(v,{flags:o,id:Z_,prefix:s,suffix:_}),Z_++,v}function Ie(n,o,s){n&&!Zt(n,"#")&&N.fail("First character of private identifier must be #: "+n);const _=8|(n?3:1);return Je(n??"",_,o,s)}function M(n,o,s){const _=i1(n)?W1(!0,o,n,s,Vn):`#generated@${J6(n)}`,I=Je(_,4|(o||s?16:0),o,s);return I.original=n,I}function ge(n){return t.createBaseTokenNode(n)}function Le(n){N.assert(n>=0&&n<=166,"Invalid token"),N.assert(n<=15||n>=18,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),N.assert(n<=9||n>=15,"Invalid token. Use 'createLiteralLikeNode' to create literals."),N.assert(n!==80,"Invalid token. Use 'createIdentifier' to create identifiers");const o=ge(n);let s=0;switch(n){case 134:s=384;break;case 160:s=4;break;case 125:case 123:case 124:case 148:case 128:case 138:case 87:case 133:case 150:case 163:case 146:case 151:case 103:case 147:case 164:case 154:case 136:case 155:case 116:case 159:case 157:s=1;break;case 108:s=134218752,o.flowNode=void 0;break;case 126:s=1024;break;case 129:s=16777216;break;case 110:s=16384,o.flowNode=void 0;break}return s&&(o.transformFlags|=s),o}function qe(){return Le(108)}function ue(){return Le(110)}function Se(){return Le(106)}function Te(){return Le(112)}function Xe(){return Le(97)}function xe(n){return Le(n)}function pt(n){const o=[];return n&32&&o.push(xe(95)),n&128&&o.push(xe(138)),n&2048&&o.push(xe(90)),n&4096&&o.push(xe(87)),n&1&&o.push(xe(125)),n&2&&o.push(xe(123)),n&4&&o.push(xe(124)),n&64&&o.push(xe(128)),n&256&&o.push(xe(126)),n&16&&o.push(xe(164)),n&8&&o.push(xe(148)),n&512&&o.push(xe(129)),n&1024&&o.push(xe(134)),n&8192&&o.push(xe(103)),n&16384&&o.push(xe(147)),o.length?o:void 0}function Ke(n,o){const s=x(167);return s.left=n,s.right=Ct(o),s.transformFlags|=Y(s.left)|zs(s.right),s.flowNode=void 0,s}function gt(n,o,s){return n.left!==o||n.right!==s?G(Ke(o,s),n):n}function it(n){const o=x(168);return o.expression=i().parenthesizeExpressionOfComputedPropertyName(n),o.transformFlags|=Y(o.expression)|1024|131072,o}function wt(n,o){return n.expression!==o?G(it(o),n):n}function $t(n,o,s,_){const v=F(169);return v.modifiers=Ge(n),v.name=Ct(o),v.constraint=s,v.default=_,v.transformFlags=1,v.expression=void 0,v.jsDoc=void 0,v}function Xn(n,o,s,_,v){return n.modifiers!==o||n.name!==s||n.constraint!==_||n.default!==v?G($t(o,s,_,v),n):n}function lr(n,o,s,_,v,I){const X=F(170);return X.modifiers=Ge(n),X.dotDotDotToken=o,X.name=Ct(s),X.questionToken=_,X.type=v,X.initializer=wo(I),Bv(X.name)?X.transformFlags=1:X.transformFlags=Fe(X.modifiers)|Y(X.dotDotDotToken)|kr(X.name)|Y(X.questionToken)|Y(X.initializer)|(X.questionToken??X.type?1:0)|(X.dotDotDotToken??X.initializer?1024:0)|(yr(X.modifiers)&31?8192:0),X.jsDoc=void 0,X}function _r(n,o,s,_,v,I,X){return n.modifiers!==o||n.dotDotDotToken!==s||n.name!==_||n.questionToken!==v||n.type!==I||n.initializer!==X?G(lr(o,s,_,v,I,X),n):n}function bn(n){const o=x(171);return o.expression=i().parenthesizeLeftSideOfAccess(n,!1),o.transformFlags|=Y(o.expression)|1|8192|33554432,o}function jn(n,o){return n.expression!==o?G(bn(o),n):n}function Lr(n,o,s,_){const v=F(172);return v.modifiers=Ge(n),v.name=Ct(o),v.type=_,v.questionToken=s,v.transformFlags=1,v.initializer=void 0,v.jsDoc=void 0,v}function ht(n,o,s,_,v){return n.modifiers!==o||n.name!==s||n.questionToken!==_||n.type!==v?We(Lr(o,s,_,v),n):n}function We(n,o){return n!==o&&(n.initializer=o.initializer),G(n,o)}function Hr(n,o,s,_,v){const I=F(173);I.modifiers=Ge(n),I.name=Ct(o),I.questionToken=s&&J2(s)?s:void 0,I.exclamationToken=s&&N2(s)?s:void 0,I.type=_,I.initializer=wo(v);const X=I.flags&33554432||yr(I.modifiers)&128;return I.transformFlags=Fe(I.modifiers)|kr(I.name)|Y(I.initializer)|(X||I.questionToken||I.exclamationToken||I.type?1:0)|(Af(I.name)||yr(I.modifiers)&256&&I.initializer?8192:0)|16777216,I.jsDoc=void 0,I}function q(n,o,s,_,v,I){return n.modifiers!==o||n.name!==s||n.questionToken!==(_!==void 0&&J2(_)?_:void 0)||n.exclamationToken!==(_!==void 0&&N2(_)?_:void 0)||n.type!==v||n.initializer!==I?G(Hr(o,s,_,v,I),n):n}function de(n,o,s,_,v,I){const X=F(174);return X.modifiers=Ge(n),X.name=Ct(o),X.questionToken=s,X.typeParameters=Ge(_),X.parameters=Ge(v),X.type=I,X.transformFlags=1,X.jsDoc=void 0,X.locals=void 0,X.nextContainer=void 0,X.typeArguments=void 0,X}function we(n,o,s,_,v,I,X){return n.modifiers!==o||n.name!==s||n.questionToken!==_||n.typeParameters!==v||n.parameters!==I||n.type!==X?te(de(o,s,_,v,I,X),n):n}function je(n,o,s,_,v,I,X,Ee){const ct=F(175);if(ct.modifiers=Ge(n),ct.asteriskToken=o,ct.name=Ct(s),ct.questionToken=_,ct.exclamationToken=void 0,ct.typeParameters=Ge(v),ct.parameters=U(I),ct.type=X,ct.body=Ee,!ct.body)ct.transformFlags=1;else{const an=yr(ct.modifiers)&1024,Ur=!!ct.asteriskToken,tr=an&&Ur;ct.transformFlags=Fe(ct.modifiers)|Y(ct.asteriskToken)|kr(ct.name)|Y(ct.questionToken)|Fe(ct.typeParameters)|Fe(ct.parameters)|Y(ct.type)|Y(ct.body)&-67108865|(tr?128:an?256:Ur?2048:0)|(ct.questionToken||ct.typeParameters||ct.type?1:0)|1024}return ct.typeArguments=void 0,ct.jsDoc=void 0,ct.locals=void 0,ct.nextContainer=void 0,ct.flowNode=void 0,ct.endFlowNode=void 0,ct.returnFlowNode=void 0,ct}function mt(n,o,s,_,v,I,X,Ee,ct){return n.modifiers!==o||n.asteriskToken!==s||n.name!==_||n.questionToken!==v||n.typeParameters!==I||n.parameters!==X||n.type!==Ee||n.body!==ct?bt(je(o,s,_,v,I,X,Ee,ct),n):n}function bt(n,o){return n!==o&&(n.exclamationToken=o.exclamationToken),G(n,o)}function It(n){const o=F(176);return o.body=n,o.transformFlags=Y(n)|16777216,o.modifiers=void 0,o.jsDoc=void 0,o.locals=void 0,o.nextContainer=void 0,o.endFlowNode=void 0,o.returnFlowNode=void 0,o}function nn(n,o){return n.body!==o?Wt(It(o),n):n}function Wt(n,o){return n!==o&&(n.modifiers=o.modifiers),G(n,o)}function Lt(n,o,s){const _=F(177);return _.modifiers=Ge(n),_.parameters=U(o),_.body=s,_.body?_.transformFlags=Fe(_.modifiers)|Fe(_.parameters)|Y(_.body)&-67108865|1024:_.transformFlags=1,_.typeParameters=void 0,_.type=void 0,_.typeArguments=void 0,_.jsDoc=void 0,_.locals=void 0,_.nextContainer=void 0,_.endFlowNode=void 0,_.returnFlowNode=void 0,_}function ui(n,o,s,_){return n.modifiers!==o||n.parameters!==s||n.body!==_?Gr(Lt(o,s,_),n):n}function Gr(n,o){return n!==o&&(n.typeParameters=o.typeParameters,n.type=o.type),te(n,o)}function fr(n,o,s,_,v){const I=F(178);return I.modifiers=Ge(n),I.name=Ct(o),I.parameters=U(s),I.type=_,I.body=v,I.body?I.transformFlags=Fe(I.modifiers)|kr(I.name)|Fe(I.parameters)|Y(I.type)|Y(I.body)&-67108865|(I.type?1:0):I.transformFlags=1,I.typeArguments=void 0,I.typeParameters=void 0,I.jsDoc=void 0,I.locals=void 0,I.nextContainer=void 0,I.flowNode=void 0,I.endFlowNode=void 0,I.returnFlowNode=void 0,I}function Cr(n,o,s,_,v,I){return n.modifiers!==o||n.name!==s||n.parameters!==_||n.type!==v||n.body!==I?so(fr(o,s,_,v,I),n):n}function so(n,o){return n!==o&&(n.typeParameters=o.typeParameters),te(n,o)}function $(n,o,s,_){const v=F(179);return v.modifiers=Ge(n),v.name=Ct(o),v.parameters=U(s),v.body=_,v.body?v.transformFlags=Fe(v.modifiers)|kr(v.name)|Fe(v.parameters)|Y(v.body)&-67108865|(v.type?1:0):v.transformFlags=1,v.typeArguments=void 0,v.typeParameters=void 0,v.type=void 0,v.jsDoc=void 0,v.locals=void 0,v.nextContainer=void 0,v.flowNode=void 0,v.endFlowNode=void 0,v.returnFlowNode=void 0,v}function ie(n,o,s,_,v){return n.modifiers!==o||n.name!==s||n.parameters!==_||n.body!==v?oe($(o,s,_,v),n):n}function oe(n,o){return n!==o&&(n.typeParameters=o.typeParameters,n.type=o.type),te(n,o)}function Me(n,o,s){const _=F(180);return _.typeParameters=Ge(n),_.parameters=Ge(o),_.type=s,_.transformFlags=1,_.jsDoc=void 0,_.locals=void 0,_.nextContainer=void 0,_.typeArguments=void 0,_}function Be(n,o,s,_){return n.typeParameters!==o||n.parameters!==s||n.type!==_?te(Me(o,s,_),n):n}function Re(n,o,s){const _=F(181);return _.typeParameters=Ge(n),_.parameters=Ge(o),_.type=s,_.transformFlags=1,_.jsDoc=void 0,_.locals=void 0,_.nextContainer=void 0,_.typeArguments=void 0,_}function Oe(n,o,s,_){return n.typeParameters!==o||n.parameters!==s||n.type!==_?te(Re(o,s,_),n):n}function ft(n,o,s){const _=F(182);return _.modifiers=Ge(n),_.parameters=Ge(o),_.type=s,_.transformFlags=1,_.jsDoc=void 0,_.locals=void 0,_.nextContainer=void 0,_.typeArguments=void 0,_}function Tt(n,o,s,_){return n.parameters!==s||n.type!==_||n.modifiers!==o?te(ft(o,s,_),n):n}function dt(n,o){const s=x(205);return s.type=n,s.literal=o,s.transformFlags=1,s}function Ve(n,o,s){return n.type!==o||n.literal!==s?G(dt(o,s),n):n}function Yn(n){return Le(n)}function St(n,o,s){const _=x(183);return _.assertsModifier=n,_.parameterName=Ct(o),_.type=s,_.transformFlags=1,_}function Wn(n,o,s,_){return n.assertsModifier!==o||n.parameterName!==s||n.type!==_?G(St(o,s,_),n):n}function Di(n,o){const s=x(184);return s.typeName=Ct(n),s.typeArguments=o&&i().parenthesizeTypeArguments(U(o)),s.transformFlags=1,s}function z(n,o,s){return n.typeName!==o||n.typeArguments!==s?G(Di(o,s),n):n}function ot(n,o,s){const _=F(185);return _.typeParameters=Ge(n),_.parameters=Ge(o),_.type=s,_.transformFlags=1,_.modifiers=void 0,_.jsDoc=void 0,_.locals=void 0,_.nextContainer=void 0,_.typeArguments=void 0,_}function m(n,o,s,_){return n.typeParameters!==o||n.parameters!==s||n.type!==_?Qe(ot(o,s,_),n):n}function Qe(n,o){return n!==o&&(n.modifiers=o.modifiers),te(n,o)}function Ye(...n){return n.length===4?Q(...n):n.length===3?st(...n):N.fail("Incorrect number of arguments specified.")}function Q(n,o,s,_){const v=F(186);return v.modifiers=Ge(n),v.typeParameters=Ge(o),v.parameters=Ge(s),v.type=_,v.transformFlags=1,v.jsDoc=void 0,v.locals=void 0,v.nextContainer=void 0,v.typeArguments=void 0,v}function st(n,o,s){return Q(void 0,n,o,s)}function Mn(...n){return n.length===5?lt(...n):n.length===4?yt(...n):N.fail("Incorrect number of arguments specified.")}function lt(n,o,s,_,v){return n.modifiers!==o||n.typeParameters!==s||n.parameters!==_||n.type!==v?te(Ye(o,s,_,v),n):n}function yt(n,o,s,_){return lt(n,n.modifiers,o,s,_)}function rn(n,o){const s=x(187);return s.exprName=n,s.typeArguments=o&&i().parenthesizeTypeArguments(o),s.transformFlags=1,s}function Qt(n,o,s){return n.exprName!==o||n.typeArguments!==s?G(rn(o,s),n):n}function on(n){const o=F(188);return o.members=U(n),o.transformFlags=1,o}function hn(n,o){return n.members!==o?G(on(o),n):n}function Er(n){const o=x(189);return o.elementType=i().parenthesizeNonArrayTypeOfPostfixType(n),o.transformFlags=1,o}function ao(n,o){return n.elementType!==o?G(Er(o),n):n}function zn(n){const o=x(190);return o.elements=U(i().parenthesizeElementTypesOfTupleType(n)),o.transformFlags=1,o}function K(n,o){return n.elements!==o?G(zn(o),n):n}function Ce(n,o,s,_){const v=F(203);return v.dotDotDotToken=n,v.name=o,v.questionToken=s,v.type=_,v.transformFlags=1,v.jsDoc=void 0,v}function at(n,o,s,_,v){return n.dotDotDotToken!==o||n.name!==s||n.questionToken!==_||n.type!==v?G(Ce(o,s,_,v),n):n}function Ne(n){const o=x(191);return o.type=i().parenthesizeTypeOfOptionalType(n),o.transformFlags=1,o}function H(n,o){return n.type!==o?G(Ne(o),n):n}function Bt(n){const o=x(192);return o.type=n,o.transformFlags=1,o}function zt(n,o){return n.type!==o?G(Bt(o),n):n}function ln(n,o,s){const _=x(n);return _.types=A.createNodeArray(s(o)),_.transformFlags=1,_}function qn(n,o,s){return n.types!==o?G(ln(n.kind,o,s),n):n}function Kf(n){return ln(193,n,i().parenthesizeConstituentTypesOfUnionType)}function Uc(n,o){return qn(n,o,i().parenthesizeConstituentTypesOfUnionType)}function li(n){return ln(194,n,i().parenthesizeConstituentTypesOfIntersectionType)}function Ze(n,o){return qn(n,o,i().parenthesizeConstituentTypesOfIntersectionType)}function jt(n,o,s,_){const v=x(195);return v.checkType=i().parenthesizeCheckTypeOfConditionalType(n),v.extendsType=i().parenthesizeExtendsTypeOfConditionalType(o),v.trueType=s,v.falseType=_,v.transformFlags=1,v.locals=void 0,v.nextContainer=void 0,v}function ep(n,o,s,_,v){return n.checkType!==o||n.extendsType!==s||n.trueType!==_||n.falseType!==v?G(jt(o,s,_,v),n):n}function wr(n){const o=x(196);return o.typeParameter=n,o.transformFlags=1,o}function tp(n,o){return n.typeParameter!==o?G(wr(o),n):n}function Tn(n,o){const s=x(204);return s.head=n,s.templateSpans=U(o),s.transformFlags=1,s}function np(n,o,s){return n.head!==o||n.templateSpans!==s?G(Tn(o,s),n):n}function Nr(n,o,s,_,v=!1){const I=x(206);return I.argument=n,I.attributes=o,I.assertions&&I.assertions.assertClause&&I.attributes&&(I.assertions.assertClause=I.attributes),I.qualifier=s,I.typeArguments=_&&i().parenthesizeTypeArguments(_),I.isTypeOf=v,I.transformFlags=1,I}function is(n,o,s,_,v,I=n.isTypeOf){return n.argument!==o||n.attributes!==s||n.qualifier!==_||n.typeArguments!==v||n.isTypeOf!==I?G(Nr(o,s,_,v,I),n):n}function An(n){const o=x(197);return o.type=n,o.transformFlags=1,o}function en(n,o){return n.type!==o?G(An(o),n):n}function B(){const n=x(198);return n.transformFlags=1,n}function Cn(n,o){const s=x(199);return s.operator=n,s.type=n===148?i().parenthesizeOperandOfReadonlyTypeOperator(o):i().parenthesizeOperandOfTypeOperator(o),s.transformFlags=1,s}function _i(n,o){return n.type!==o?G(Cn(n.operator,o),n):n}function Jr(n,o){const s=x(200);return s.objectType=i().parenthesizeNonArrayTypeOfPostfixType(n),s.indexType=o,s.transformFlags=1,s}function na(n,o,s){return n.objectType!==o||n.indexType!==s?G(Jr(o,s),n):n}function Ft(n,o,s,_,v,I){const X=F(201);return X.readonlyToken=n,X.typeParameter=o,X.nameType=s,X.questionToken=_,X.type=v,X.members=I&&U(I),X.transformFlags=1,X.locals=void 0,X.nextContainer=void 0,X}function _n(n,o,s,_,v,I,X){return n.readonlyToken!==o||n.typeParameter!==s||n.nameType!==_||n.questionToken!==v||n.type!==I||n.members!==X?G(Ft(o,s,_,v,I,X),n):n}function Si(n){const o=x(202);return o.literal=n,o.transformFlags=1,o}function $r(n,o){return n.literal!==o?G(Si(o),n):n}function Fc(n){const o=x(207);return o.elements=U(n),o.transformFlags|=Fe(o.elements)|1024|524288,o.transformFlags&32768&&(o.transformFlags|=65664),o}function rp(n,o){return n.elements!==o?G(Fc(o),n):n}function fi(n){const o=x(208);return o.elements=U(n),o.transformFlags|=Fe(o.elements)|1024|524288,o}function ip(n,o){return n.elements!==o?G(fi(o),n):n}function os(n,o,s,_){const v=F(209);return v.dotDotDotToken=n,v.propertyName=Ct(o),v.name=Ct(s),v.initializer=wo(_),v.transformFlags|=Y(v.dotDotDotToken)|kr(v.propertyName)|kr(v.name)|Y(v.initializer)|(v.dotDotDotToken?32768:0)|1024,v.flowNode=void 0,v}function xi(n,o,s,_,v){return n.propertyName!==s||n.dotDotDotToken!==o||n.name!==_||n.initializer!==v?G(os(o,s,_,v),n):n}function ra(n,o){const s=x(210),_=n&&Ui(n),v=U(n,_&&Km(_)?!0:void 0);return s.elements=i().parenthesizeExpressionsOfCommaDelimitedList(v),s.multiLine=o,s.transformFlags|=Fe(s.elements),s}function Vc(n,o){return n.elements!==o?G(ra(o,n.multiLine),n):n}function co(n,o){const s=F(211);return s.properties=U(n),s.multiLine=o,s.transformFlags|=Fe(s.properties),s.jsDoc=void 0,s}function op(n,o){return n.properties!==o?G(co(o,n.multiLine),n):n}function Wc(n,o,s){const _=F(212);return _.expression=n,_.questionDotToken=o,_.name=s,_.transformFlags=Y(_.expression)|Y(_.questionDotToken)|(vt(_.name)?zs(_.name):Y(_.name)|536870912),_.jsDoc=void 0,_.flowNode=void 0,_}function jr(n,o){const s=Wc(i().parenthesizeLeftSideOfAccess(n,!1),void 0,Ct(o));return M1(n)&&(s.transformFlags|=384),s}function sp(n,o,s){return b7(n)?ss(n,o,n.questionDotToken,Qn(s,vt)):n.expression!==o||n.name!==s?G(jr(o,s),n):n}function uo(n,o,s){const _=Wc(i().parenthesizeLeftSideOfAccess(n,!0),o,Ct(s));return _.flags|=64,_.transformFlags|=32,_}function ss(n,o,s,_){return N.assert(!!(n.flags&64),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),n.expression!==o||n.questionDotToken!==s||n.name!==_?G(uo(o,s,_),n):n}function zc(n,o,s){const _=F(213);return _.expression=n,_.questionDotToken=o,_.argumentExpression=s,_.transformFlags|=Y(_.expression)|Y(_.questionDotToken)|Y(_.argumentExpression),_.jsDoc=void 0,_.flowNode=void 0,_}function lo(n,o){const s=zc(i().parenthesizeLeftSideOfAccess(n,!1),void 0,Kr(o));return M1(n)&&(s.transformFlags|=384),s}function ap(n,o,s){return T7(n)?ia(n,o,n.questionDotToken,s):n.expression!==o||n.argumentExpression!==s?G(lo(o,s),n):n}function qc(n,o,s){const _=zc(i().parenthesizeLeftSideOfAccess(n,!0),o,Kr(s));return _.flags|=64,_.transformFlags|=32,_}function ia(n,o,s,_){return N.assert(!!(n.flags&64),"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),n.expression!==o||n.questionDotToken!==s||n.argumentExpression!==_?G(qc(o,s,_),n):n}function Hc(n,o,s,_){const v=F(214);return v.expression=n,v.questionDotToken=o,v.typeArguments=s,v.arguments=_,v.transformFlags|=Y(v.expression)|Y(v.questionDotToken)|Fe(v.typeArguments)|Fe(v.arguments),v.typeArguments&&(v.transformFlags|=1),zh(v.expression)&&(v.transformFlags|=16384),v}function _o(n,o,s){const _=Hc(i().parenthesizeLeftSideOfAccess(n,!1),void 0,Ge(o),i().parenthesizeExpressionsOfCommaDelimitedList(U(s)));return vk(_.expression)&&(_.transformFlags|=8388608),_}function as(n,o,s,_){return Th(n)?Gc(n,o,n.questionDotToken,s,_):n.expression!==o||n.typeArguments!==s||n.arguments!==_?G(_o(o,s,_),n):n}function oa(n,o,s,_){const v=Hc(i().parenthesizeLeftSideOfAccess(n,!0),o,Ge(s),i().parenthesizeExpressionsOfCommaDelimitedList(U(_)));return v.flags|=64,v.transformFlags|=32,v}function Gc(n,o,s,_,v){return N.assert(!!(n.flags&64),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),n.expression!==o||n.questionDotToken!==s||n.typeArguments!==_||n.arguments!==v?G(oa(o,s,_,v),n):n}function Zn(n,o,s){const _=F(215);return _.expression=i().parenthesizeExpressionOfNew(n),_.typeArguments=Ge(o),_.arguments=s?i().parenthesizeExpressionsOfCommaDelimitedList(s):void 0,_.transformFlags|=Y(_.expression)|Fe(_.typeArguments)|Fe(_.arguments)|32,_.typeArguments&&(_.transformFlags|=1),_}function sa(n,o,s,_){return n.expression!==o||n.typeArguments!==s||n.arguments!==_?G(Zn(o,s,_),n):n}function cs(n,o,s){const _=x(216);return _.tag=i().parenthesizeLeftSideOfAccess(n,!1),_.typeArguments=Ge(o),_.template=s,_.transformFlags|=Y(_.tag)|Fe(_.typeArguments)|Y(_.template)|1024,_.typeArguments&&(_.transformFlags|=1),Av(_.template)&&(_.transformFlags|=128),_}function $c(n,o,s,_){return n.tag!==o||n.typeArguments!==s||n.template!==_?G(cs(o,s,_),n):n}function Qc(n,o){const s=x(217);return s.expression=i().parenthesizeOperandOfPrefixUnary(o),s.type=n,s.transformFlags|=Y(s.expression)|Y(s.type)|1,s}function Xc(n,o,s){return n.type!==o||n.expression!==s?G(Qc(o,s),n):n}function aa(n){const o=x(218);return o.expression=n,o.transformFlags=Y(o.expression),o.jsDoc=void 0,o}function Yc(n,o){return n.expression!==o?G(aa(o),n):n}function ca(n,o,s,_,v,I,X){const Ee=F(219);Ee.modifiers=Ge(n),Ee.asteriskToken=o,Ee.name=Ct(s),Ee.typeParameters=Ge(_),Ee.parameters=U(v),Ee.type=I,Ee.body=X;const ct=yr(Ee.modifiers)&1024,an=!!Ee.asteriskToken,Ur=ct&&an;return Ee.transformFlags=Fe(Ee.modifiers)|Y(Ee.asteriskToken)|kr(Ee.name)|Fe(Ee.typeParameters)|Fe(Ee.parameters)|Y(Ee.type)|Y(Ee.body)&-67108865|(Ur?128:ct?256:an?2048:0)|(Ee.typeParameters||Ee.type?1:0)|4194304,Ee.typeArguments=void 0,Ee.jsDoc=void 0,Ee.locals=void 0,Ee.nextContainer=void 0,Ee.flowNode=void 0,Ee.endFlowNode=void 0,Ee.returnFlowNode=void 0,Ee}function Zc(n,o,s,_,v,I,X,Ee){return n.name!==_||n.modifiers!==o||n.asteriskToken!==s||n.typeParameters!==v||n.parameters!==I||n.type!==X||n.body!==Ee?te(ca(o,s,_,v,I,X,Ee),n):n}function ua(n,o,s,_,v,I){const X=F(220);X.modifiers=Ge(n),X.typeParameters=Ge(o),X.parameters=U(s),X.type=_,X.equalsGreaterThanToken=v??Le(39),X.body=i().parenthesizeConciseBodyOfArrowFunction(I);const Ee=yr(X.modifiers)&1024;return X.transformFlags=Fe(X.modifiers)|Fe(X.typeParameters)|Fe(X.parameters)|Y(X.type)|Y(X.equalsGreaterThanToken)|Y(X.body)&-67108865|(X.typeParameters||X.type?1:0)|(Ee?16640:0)|1024,X.typeArguments=void 0,X.jsDoc=void 0,X.locals=void 0,X.nextContainer=void 0,X.flowNode=void 0,X.endFlowNode=void 0,X.returnFlowNode=void 0,X}function Kc(n,o,s,_,v,I,X){return n.modifiers!==o||n.typeParameters!==s||n.parameters!==_||n.type!==v||n.equalsGreaterThanToken!==I||n.body!==X?te(ua(o,s,_,v,I,X),n):n}function eu(n){const o=x(221);return o.expression=i().parenthesizeOperandOfPrefixUnary(n),o.transformFlags|=Y(o.expression),o}function tu(n,o){return n.expression!==o?G(eu(o),n):n}function us(n){const o=x(222);return o.expression=i().parenthesizeOperandOfPrefixUnary(n),o.transformFlags|=Y(o.expression),o}function Hn(n,o){return n.expression!==o?G(us(o),n):n}function la(n){const o=x(223);return o.expression=i().parenthesizeOperandOfPrefixUnary(n),o.transformFlags|=Y(o.expression),o}function Mr(n,o){return n.expression!==o?G(la(o),n):n}function nu(n){const o=x(224);return o.expression=i().parenthesizeOperandOfPrefixUnary(n),o.transformFlags|=Y(o.expression)|256|128|2097152,o}function pi(n,o){return n.expression!==o?G(nu(o),n):n}function di(n,o){const s=x(225);return s.operator=n,s.operand=i().parenthesizeOperandOfPrefixUnary(o),s.transformFlags|=Y(s.operand),(n===46||n===47)&&vt(s.operand)&&!Rs(s.operand)&&!Q2(s.operand)&&(s.transformFlags|=268435456),s}function cp(n,o){return n.operand!==o?G(di(n.operator,o),n):n}function Pi(n,o){const s=x(226);return s.operator=o,s.operand=i().parenthesizeOperandOfPostfixUnary(n),s.transformFlags|=Y(s.operand),vt(s.operand)&&!Rs(s.operand)&&!Q2(s.operand)&&(s.transformFlags|=268435456),s}function up(n,o){return n.operand!==o?G(Pi(o,n.operator),n):n}function ls(n,o,s){const _=F(227),v=Sd(o),I=v.kind;return _.left=i().parenthesizeLeftSideOfBinary(I,n),_.operatorToken=v,_.right=i().parenthesizeRightSideOfBinary(I,_.left,s),_.transformFlags|=Y(_.left)|Y(_.operatorToken)|Y(_.right),I===61?_.transformFlags|=32:I===64?ns(_.left)?_.transformFlags|=5248|ru(_.left):ea(_.left)&&(_.transformFlags|=5120|ru(_.left)):I===43||I===68?_.transformFlags|=512:Gv(I)&&(_.transformFlags|=16),I===103&&si(_.left)&&(_.transformFlags|=536870912),_.jsDoc=void 0,_}function ru(n){return eg(n)?65536:0}function lp(n,o,s,_){return n.left!==o||n.operatorToken!==s||n.right!==_?G(ls(o,s,_),n):n}function iu(n,o,s,_,v){const I=x(228);return I.condition=i().parenthesizeConditionOfConditionalExpression(n),I.questionToken=o??Le(58),I.whenTrue=i().parenthesizeBranchOfConditionalExpression(s),I.colonToken=_??Le(59),I.whenFalse=i().parenthesizeBranchOfConditionalExpression(v),I.transformFlags|=Y(I.condition)|Y(I.questionToken)|Y(I.whenTrue)|Y(I.colonToken)|Y(I.whenFalse),I.flowNodeWhenFalse=void 0,I.flowNodeWhenTrue=void 0,I}function ou(n,o,s,_,v,I){return n.condition!==o||n.questionToken!==s||n.whenTrue!==_||n.colonToken!==v||n.whenFalse!==I?G(iu(o,s,_,v,I),n):n}function su(n,o){const s=x(229);return s.head=n,s.templateSpans=U(o),s.transformFlags|=Y(s.head)|Fe(s.templateSpans)|1024,s}function Dr(n,o,s){return n.head!==o||n.templateSpans!==s?G(su(o,s),n):n}function fo(n,o,s,_=0){N.assert(!(_&-7177),"Unsupported template flags.");let v;if(s!==void 0&&s!==o&&(v=ik(n,s),typeof v=="object"))return N.fail("Invalid raw text");if(o===void 0){if(v===void 0)return N.fail("Arguments 'text' and 'rawText' may not both be undefined.");o=v}else v!==void 0&&N.assert(o===v,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");return o}function au(n){let o=1024;return n&&(o|=128),o}function _p(n,o,s,_){const v=ge(n);return v.text=o,v.rawText=s,v.templateFlags=_&7176,v.transformFlags=au(v.templateFlags),v}function Ii(n,o,s,_){const v=F(n);return v.text=o,v.rawText=s,v.templateFlags=_&7176,v.transformFlags=au(v.templateFlags),v}function Ai(n,o,s,_){return n===15?Ii(n,o,s,_):_p(n,o,s,_)}function cu(n,o,s){return n=fo(16,n,o,s),Ai(16,n,o,s)}function _s(n,o,s){return n=fo(16,n,o,s),Ai(17,n,o,s)}function _a(n,o,s){return n=fo(16,n,o,s),Ai(18,n,o,s)}function fp(n,o,s){return n=fo(16,n,o,s),Ii(15,n,o,s)}function fa(n,o){N.assert(!n||!!o,"A `YieldExpression` with an asteriskToken must have an expression.");const s=x(230);return s.expression=o&&i().parenthesizeExpressionForDisallowedComma(o),s.asteriskToken=n,s.transformFlags|=Y(s.expression)|Y(s.asteriskToken)|1024|128|1048576,s}function pp(n,o,s){return n.expression!==s||n.asteriskToken!==o?G(fa(o,s),n):n}function uu(n){const o=x(231);return o.expression=i().parenthesizeExpressionForDisallowedComma(n),o.transformFlags|=Y(o.expression)|1024|32768,o}function dp(n,o){return n.expression!==o?G(uu(o),n):n}function lu(n,o,s,_,v){const I=F(232);return I.modifiers=Ge(n),I.name=Ct(o),I.typeParameters=Ge(s),I.heritageClauses=Ge(_),I.members=U(v),I.transformFlags|=Fe(I.modifiers)|kr(I.name)|Fe(I.typeParameters)|Fe(I.heritageClauses)|Fe(I.members)|(I.typeParameters?1:0)|1024,I.jsDoc=void 0,I}function pa(n,o,s,_,v,I){return n.modifiers!==o||n.name!==s||n.typeParameters!==_||n.heritageClauses!==v||n.members!==I?G(lu(o,s,_,v,I),n):n}function da(){return x(233)}function _u(n,o){const s=x(234);return s.expression=i().parenthesizeLeftSideOfAccess(n,!1),s.typeArguments=o&&i().parenthesizeTypeArguments(o),s.transformFlags|=Y(s.expression)|Fe(s.typeArguments)|1024,s}function fu(n,o,s){return n.expression!==o||n.typeArguments!==s?G(_u(o,s),n):n}function Gn(n,o){const s=x(235);return s.expression=n,s.type=o,s.transformFlags|=Y(s.expression)|Y(s.type)|1,s}function fs(n,o,s){return n.expression!==o||n.type!==s?G(Gn(o,s),n):n}function pu(n){const o=x(236);return o.expression=i().parenthesizeLeftSideOfAccess(n,!1),o.transformFlags|=Y(o.expression)|1,o}function du(n,o){return C7(n)?pr(n,o):n.expression!==o?G(pu(o),n):n}function ma(n,o){const s=x(239);return s.expression=n,s.type=o,s.transformFlags|=Y(s.expression)|Y(s.type)|1,s}function mu(n,o,s){return n.expression!==o||n.type!==s?G(ma(o,s),n):n}function ha(n){const o=x(236);return o.flags|=64,o.expression=i().parenthesizeLeftSideOfAccess(n,!0),o.transformFlags|=Y(o.expression)|1,o}function pr(n,o){return N.assert(!!(n.flags&64),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."),n.expression!==o?G(ha(o),n):n}function hu(n,o){const s=x(237);switch(s.keywordToken=n,s.name=o,s.transformFlags|=Y(s.name),n){case 105:s.transformFlags|=1024;break;case 102:s.transformFlags|=32;break;default:return N.assertNever(n)}return s.flowNode=void 0,s}function ga(n,o){return n.name!==o?G(hu(n.keywordToken,o),n):n}function Sr(n,o){const s=x(240);return s.expression=n,s.literal=o,s.transformFlags|=Y(s.expression)|Y(s.literal)|1024,s}function ps(n,o,s){return n.expression!==o||n.literal!==s?G(Sr(o,s),n):n}function gu(){const n=x(241);return n.transformFlags|=1024,n}function mi(n,o){const s=x(242);return s.statements=U(n),s.multiLine=o,s.transformFlags|=Fe(s.statements),s.jsDoc=void 0,s.locals=void 0,s.nextContainer=void 0,s}function mp(n,o){return n.statements!==o?G(mi(o,n.multiLine),n):n}function ya(n,o){const s=x(244);return s.modifiers=Ge(n),s.declarationList=Vt(o)?Ea(o):o,s.transformFlags|=Fe(s.modifiers)|Y(s.declarationList),yr(s.modifiers)&128&&(s.transformFlags=1),s.jsDoc=void 0,s.flowNode=void 0,s}function yu(n,o,s){return n.modifiers!==o||n.declarationList!==s?G(ya(o,s),n):n}function vu(){const n=x(243);return n.jsDoc=void 0,n}function po(n){const o=x(245);return o.expression=i().parenthesizeExpressionOfExpressionStatement(n),o.transformFlags|=Y(o.expression),o.jsDoc=void 0,o.flowNode=void 0,o}function ku(n,o){return n.expression!==o?G(po(o),n):n}function bu(n,o,s){const _=x(246);return _.expression=n,_.thenStatement=xr(o),_.elseStatement=xr(s),_.transformFlags|=Y(_.expression)|Y(_.thenStatement)|Y(_.elseStatement),_.jsDoc=void 0,_.flowNode=void 0,_}function Tu(n,o,s,_){return n.expression!==o||n.thenStatement!==s||n.elseStatement!==_?G(bu(o,s,_),n):n}function Cu(n,o){const s=x(247);return s.statement=xr(n),s.expression=o,s.transformFlags|=Y(s.statement)|Y(s.expression),s.jsDoc=void 0,s.flowNode=void 0,s}function Eu(n,o,s){return n.statement!==o||n.expression!==s?G(Cu(o,s),n):n}function wu(n,o){const s=x(248);return s.expression=n,s.statement=xr(o),s.transformFlags|=Y(s.expression)|Y(s.statement),s.jsDoc=void 0,s.flowNode=void 0,s}function hp(n,o,s){return n.expression!==o||n.statement!==s?G(wu(o,s),n):n}function Du(n,o,s,_){const v=x(249);return v.initializer=n,v.condition=o,v.incrementor=s,v.statement=xr(_),v.transformFlags|=Y(v.initializer)|Y(v.condition)|Y(v.incrementor)|Y(v.statement),v.jsDoc=void 0,v.locals=void 0,v.nextContainer=void 0,v.flowNode=void 0,v}function Su(n,o,s,_,v){return n.initializer!==o||n.condition!==s||n.incrementor!==_||n.statement!==v?G(Du(o,s,_,v),n):n}function va(n,o,s){const _=x(250);return _.initializer=n,_.expression=o,_.statement=xr(s),_.transformFlags|=Y(_.initializer)|Y(_.expression)|Y(_.statement),_.jsDoc=void 0,_.locals=void 0,_.nextContainer=void 0,_.flowNode=void 0,_}function gp(n,o,s,_){return n.initializer!==o||n.expression!==s||n.statement!==_?G(va(o,s,_),n):n}function xu(n,o,s,_){const v=x(251);return v.awaitModifier=n,v.initializer=o,v.expression=i().parenthesizeExpressionForDisallowedComma(s),v.statement=xr(_),v.transformFlags|=Y(v.awaitModifier)|Y(v.initializer)|Y(v.expression)|Y(v.statement)|1024,n&&(v.transformFlags|=128),v.jsDoc=void 0,v.locals=void 0,v.nextContainer=void 0,v.flowNode=void 0,v}function yp(n,o,s,_,v){return n.awaitModifier!==o||n.initializer!==s||n.expression!==_||n.statement!==v?G(xu(o,s,_,v),n):n}function Pu(n){const o=x(252);return o.label=Ct(n),o.transformFlags|=Y(o.label)|4194304,o.jsDoc=void 0,o.flowNode=void 0,o}function vp(n,o){return n.label!==o?G(Pu(o),n):n}function ka(n){const o=x(253);return o.label=Ct(n),o.transformFlags|=Y(o.label)|4194304,o.jsDoc=void 0,o.flowNode=void 0,o}function Iu(n,o){return n.label!==o?G(ka(o),n):n}function ba(n){const o=x(254);return o.expression=n,o.transformFlags|=Y(o.expression)|128|4194304,o.jsDoc=void 0,o.flowNode=void 0,o}function kp(n,o){return n.expression!==o?G(ba(o),n):n}function Ta(n,o){const s=x(255);return s.expression=n,s.statement=xr(o),s.transformFlags|=Y(s.expression)|Y(s.statement),s.jsDoc=void 0,s.flowNode=void 0,s}function Au(n,o,s){return n.expression!==o||n.statement!==s?G(Ta(o,s),n):n}function Ca(n,o){const s=x(256);return s.expression=i().parenthesizeExpressionForDisallowedComma(n),s.caseBlock=o,s.transformFlags|=Y(s.expression)|Y(s.caseBlock),s.jsDoc=void 0,s.flowNode=void 0,s.possiblyExhaustive=!1,s}function Oi(n,o,s){return n.expression!==o||n.caseBlock!==s?G(Ca(o,s),n):n}function Ou(n,o){const s=x(257);return s.label=Ct(n),s.statement=xr(o),s.transformFlags|=Y(s.label)|Y(s.statement),s.jsDoc=void 0,s.flowNode=void 0,s}function Lu(n,o,s){return n.label!==o||n.statement!==s?G(Ou(o,s),n):n}function Nu(n){const o=x(258);return o.expression=n,o.transformFlags|=Y(o.expression),o.jsDoc=void 0,o.flowNode=void 0,o}function bp(n,o){return n.expression!==o?G(Nu(o),n):n}function Ju(n,o,s){const _=x(259);return _.tryBlock=n,_.catchClause=o,_.finallyBlock=s,_.transformFlags|=Y(_.tryBlock)|Y(_.catchClause)|Y(_.finallyBlock),_.jsDoc=void 0,_.flowNode=void 0,_}function Tp(n,o,s,_){return n.tryBlock!==o||n.catchClause!==s||n.finallyBlock!==_?G(Ju(o,s,_),n):n}function ju(){const n=x(260);return n.jsDoc=void 0,n.flowNode=void 0,n}function ds(n,o,s,_){const v=F(261);return v.name=Ct(n),v.exclamationToken=o,v.type=s,v.initializer=wo(_),v.transformFlags|=kr(v.name)|Y(v.initializer)|(v.exclamationToken??v.type?1:0),v.jsDoc=void 0,v}function Mu(n,o,s,_,v){return n.name!==o||n.type!==_||n.exclamationToken!==s||n.initializer!==v?G(ds(o,s,_,v),n):n}function Ea(n,o=0){const s=x(262);return s.flags|=o&7,s.declarations=U(n),s.transformFlags|=Fe(s.declarations)|4194304,o&7&&(s.transformFlags|=263168),o&4&&(s.transformFlags|=4),s}function Cp(n,o){return n.declarations!==o?G(Ea(o,n.flags),n):n}function Bu(n,o,s,_,v,I,X){const Ee=F(263);if(Ee.modifiers=Ge(n),Ee.asteriskToken=o,Ee.name=Ct(s),Ee.typeParameters=Ge(_),Ee.parameters=U(v),Ee.type=I,Ee.body=X,!Ee.body||yr(Ee.modifiers)&128)Ee.transformFlags=1;else{const ct=yr(Ee.modifiers)&1024,an=!!Ee.asteriskToken,Ur=ct&&an;Ee.transformFlags=Fe(Ee.modifiers)|Y(Ee.asteriskToken)|kr(Ee.name)|Fe(Ee.typeParameters)|Fe(Ee.parameters)|Y(Ee.type)|Y(Ee.body)&-67108865|(Ur?128:ct?256:an?2048:0)|(Ee.typeParameters||Ee.type?1:0)|4194304}return Ee.typeArguments=void 0,Ee.jsDoc=void 0,Ee.locals=void 0,Ee.nextContainer=void 0,Ee.endFlowNode=void 0,Ee.returnFlowNode=void 0,Ee}function wa(n,o,s,_,v,I,X,Ee){return n.modifiers!==o||n.asteriskToken!==s||n.name!==_||n.typeParameters!==v||n.parameters!==I||n.type!==X||n.body!==Ee?Ep(Bu(o,s,_,v,I,X,Ee),n):n}function Ep(n,o){return n!==o&&n.modifiers===o.modifiers&&(n.modifiers=o.modifiers),te(n,o)}function Ru(n,o,s,_,v){const I=F(264);return I.modifiers=Ge(n),I.name=Ct(o),I.typeParameters=Ge(s),I.heritageClauses=Ge(_),I.members=U(v),yr(I.modifiers)&128?I.transformFlags=1:(I.transformFlags|=Fe(I.modifiers)|kr(I.name)|Fe(I.typeParameters)|Fe(I.heritageClauses)|Fe(I.members)|(I.typeParameters?1:0)|1024,I.transformFlags&8192&&(I.transformFlags|=1)),I.jsDoc=void 0,I}function ms(n,o,s,_,v,I){return n.modifiers!==o||n.name!==s||n.typeParameters!==_||n.heritageClauses!==v||n.members!==I?G(Ru(o,s,_,v,I),n):n}function Uu(n,o,s,_,v){const I=F(265);return I.modifiers=Ge(n),I.name=Ct(o),I.typeParameters=Ge(s),I.heritageClauses=Ge(_),I.members=U(v),I.transformFlags=1,I.jsDoc=void 0,I}function Fu(n,o,s,_,v,I){return n.modifiers!==o||n.name!==s||n.typeParameters!==_||n.heritageClauses!==v||n.members!==I?G(Uu(o,s,_,v,I),n):n}function At(n,o,s,_){const v=F(266);return v.modifiers=Ge(n),v.name=Ct(o),v.typeParameters=Ge(s),v.type=_,v.transformFlags=1,v.jsDoc=void 0,v.locals=void 0,v.nextContainer=void 0,v}function Qr(n,o,s,_,v){return n.modifiers!==o||n.name!==s||n.typeParameters!==_||n.type!==v?G(At(o,s,_,v),n):n}function Da(n,o,s){const _=F(267);return _.modifiers=Ge(n),_.name=Ct(o),_.members=U(s),_.transformFlags|=Fe(_.modifiers)|Y(_.name)|Fe(_.members)|1,_.transformFlags&=-67108865,_.jsDoc=void 0,_}function Xr(n,o,s,_){return n.modifiers!==o||n.name!==s||n.members!==_?G(Da(o,s,_),n):n}function Vu(n,o,s,_=0){const v=F(268);return v.modifiers=Ge(n),v.flags|=_&2088,v.name=o,v.body=s,yr(v.modifiers)&128?v.transformFlags=1:v.transformFlags|=Fe(v.modifiers)|Y(v.name)|Y(v.body)|1,v.transformFlags&=-67108865,v.jsDoc=void 0,v.locals=void 0,v.nextContainer=void 0,v}function Xt(n,o,s,_){return n.modifiers!==o||n.name!==s||n.body!==_?G(Vu(o,s,_,n.flags),n):n}function Yr(n){const o=x(269);return o.statements=U(n),o.transformFlags|=Fe(o.statements),o.jsDoc=void 0,o}function gn(n,o){return n.statements!==o?G(Yr(o),n):n}function Wu(n){const o=x(270);return o.clauses=U(n),o.transformFlags|=Fe(o.clauses),o.locals=void 0,o.nextContainer=void 0,o}function wp(n,o){return n.clauses!==o?G(Wu(o),n):n}function zu(n){const o=F(271);return o.name=Ct(n),o.transformFlags|=zs(o.name)|1,o.modifiers=void 0,o.jsDoc=void 0,o}function qu(n,o){return n.name!==o?Dp(zu(o),n):n}function Dp(n,o){return n!==o&&(n.modifiers=o.modifiers),G(n,o)}function Hu(n,o,s,_){const v=F(272);return v.modifiers=Ge(n),v.name=Ct(s),v.isTypeOnly=o,v.moduleReference=_,v.transformFlags|=Fe(v.modifiers)|zs(v.name)|Y(v.moduleReference),W2(v.moduleReference)||(v.transformFlags|=1),v.transformFlags&=-67108865,v.jsDoc=void 0,v}function Gu(n,o,s,_,v){return n.modifiers!==o||n.isTypeOnly!==s||n.name!==_||n.moduleReference!==v?G(Hu(o,s,_,v),n):n}function $u(n,o,s,_){const v=x(273);return v.modifiers=Ge(n),v.importClause=o,v.moduleSpecifier=s,v.attributes=v.assertClause=_,v.transformFlags|=Y(v.importClause)|Y(v.moduleSpecifier),v.transformFlags&=-67108865,v.jsDoc=void 0,v}function Qu(n,o,s,_,v){return n.modifiers!==o||n.importClause!==s||n.moduleSpecifier!==_||n.attributes!==v?G($u(o,s,_,v),n):n}function Xu(n,o,s){const _=F(274);return typeof n=="boolean"&&(n=n?156:void 0),_.isTypeOnly=n===156,_.phaseModifier=n,_.name=o,_.namedBindings=s,_.transformFlags|=Y(_.name)|Y(_.namedBindings),n===156&&(_.transformFlags|=1),_.transformFlags&=-67108865,_}function Yu(n,o,s,_){return typeof o=="boolean"&&(o=o?156:void 0),n.phaseModifier!==o||n.name!==s||n.namedBindings!==_?G(Xu(o,s,_),n):n}function Sa(n,o){const s=x(301);return s.elements=U(n),s.multiLine=o,s.token=132,s.transformFlags|=4,s}function Sp(n,o,s){return n.elements!==o||n.multiLine!==s?G(Sa(o,s),n):n}function mo(n,o){const s=x(302);return s.name=n,s.value=o,s.transformFlags|=4,s}function Zu(n,o,s){return n.name!==o||n.value!==s?G(mo(o,s),n):n}function xa(n,o){const s=x(303);return s.assertClause=n,s.multiLine=o,s}function Ku(n,o,s){return n.assertClause!==o||n.multiLine!==s?G(xa(o,s),n):n}function el(n,o,s){const _=x(301);return _.token=s??118,_.elements=U(n),_.multiLine=o,_.transformFlags|=4,_}function Pa(n,o,s){return n.elements!==o||n.multiLine!==s?G(el(o,s,n.token),n):n}function tl(n,o){const s=x(302);return s.name=n,s.value=o,s.transformFlags|=4,s}function nl(n,o,s){return n.name!==o||n.value!==s?G(tl(o,s),n):n}function rl(n){const o=F(275);return o.name=n,o.transformFlags|=Y(o.name),o.transformFlags&=-67108865,o}function xp(n,o){return n.name!==o?G(rl(o),n):n}function il(n){const o=F(281);return o.name=n,o.transformFlags|=Y(o.name)|32,o.transformFlags&=-67108865,o}function Pp(n,o){return n.name!==o?G(il(o),n):n}function ol(n){const o=x(276);return o.elements=U(n),o.transformFlags|=Fe(o.elements),o.transformFlags&=-67108865,o}function sl(n,o){return n.elements!==o?G(ol(o),n):n}function Zr(n,o,s){const _=F(277);return _.isTypeOnly=n,_.propertyName=o,_.name=s,_.transformFlags|=Y(_.propertyName)|Y(_.name),_.transformFlags&=-67108865,_}function Ip(n,o,s,_){return n.isTypeOnly!==o||n.propertyName!==s||n.name!==_?G(Zr(o,s,_),n):n}function hs(n,o,s){const _=F(278);return _.modifiers=Ge(n),_.isExportEquals=o,_.expression=o?i().parenthesizeRightSideOfBinary(64,void 0,s):i().parenthesizeExpressionOfExportDefault(s),_.transformFlags|=Fe(_.modifiers)|Y(_.expression),_.transformFlags&=-67108865,_.jsDoc=void 0,_}function ho(n,o,s){return n.modifiers!==o||n.expression!==s?G(hs(o,n.isExportEquals,s),n):n}function gs(n,o,s,_,v){const I=F(279);return I.modifiers=Ge(n),I.isTypeOnly=o,I.exportClause=s,I.moduleSpecifier=_,I.attributes=I.assertClause=v,I.transformFlags|=Fe(I.modifiers)|Y(I.exportClause)|Y(I.moduleSpecifier),I.transformFlags&=-67108865,I.jsDoc=void 0,I}function al(n,o,s,_,v,I){return n.modifiers!==o||n.isTypeOnly!==s||n.exportClause!==_||n.moduleSpecifier!==v||n.attributes!==I?go(gs(o,s,_,v,I),n):n}function go(n,o){return n!==o&&n.modifiers===o.modifiers&&(n.modifiers=o.modifiers),G(n,o)}function Ia(n){const o=x(280);return o.elements=U(n),o.transformFlags|=Fe(o.elements),o.transformFlags&=-67108865,o}function Ap(n,o){return n.elements!==o?G(Ia(o),n):n}function ys(n,o,s){const _=x(282);return _.isTypeOnly=n,_.propertyName=Ct(o),_.name=Ct(s),_.transformFlags|=Y(_.propertyName)|Y(_.name),_.transformFlags&=-67108865,_.jsDoc=void 0,_}function Op(n,o,s,_){return n.isTypeOnly!==o||n.propertyName!==s||n.name!==_?G(ys(o,s,_),n):n}function Lp(){const n=F(283);return n.jsDoc=void 0,n}function Aa(n){const o=x(284);return o.expression=n,o.transformFlags|=Y(o.expression),o.transformFlags&=-67108865,o}function Np(n,o){return n.expression!==o?G(Aa(o),n):n}function cl(n){return x(n)}function ul(n,o,s=!1){const _=Oa(n,s?o&&i().parenthesizeNonArrayTypeOfPostfixType(o):o);return _.postfix=s,_}function Oa(n,o){const s=x(n);return s.type=o,s}function Jp(n,o,s){return o.type!==s?G(ul(n,s,o.postfix),o):o}function jp(n,o,s){return o.type!==s?G(Oa(n,s),o):o}function ll(n,o){const s=F(318);return s.parameters=Ge(n),s.type=o,s.transformFlags=Fe(s.parameters)|(s.type?1:0),s.jsDoc=void 0,s.locals=void 0,s.nextContainer=void 0,s.typeArguments=void 0,s}function Mp(n,o,s){return n.parameters!==o||n.type!==s?G(ll(o,s),n):n}function _l(n,o=!1){const s=F(323);return s.jsDocPropertyTags=Ge(n),s.isArrayType=o,s}function Bp(n,o,s){return n.jsDocPropertyTags!==o||n.isArrayType!==s?G(_l(o,s),n):n}function fl(n){const o=x(310);return o.type=n,o}function La(n,o){return n.type!==o?G(fl(o),n):n}function pl(n,o,s){const _=F(324);return _.typeParameters=Ge(n),_.parameters=U(o),_.type=s,_.jsDoc=void 0,_.locals=void 0,_.nextContainer=void 0,_}function Rp(n,o,s,_){return n.typeParameters!==o||n.parameters!==s||n.type!==_?G(pl(o,s,_),n):n}function Bn(n){const o=K_(n.kind);return n.tagName.escapedText===qi(o)?n.tagName:se(o)}function Kn(n,o,s){const _=x(n);return _.tagName=o,_.comment=s,_}function hi(n,o,s){const _=F(n);return _.tagName=o,_.comment=s,_}function Na(n,o,s,_){const v=Kn(346,n??se("template"),_);return v.constraint=o,v.typeParameters=U(s),v}function dl(n,o=Bn(n),s,_,v){return n.tagName!==o||n.constraint!==s||n.typeParameters!==_||n.comment!==v?G(Na(o,s,_,v),n):n}function vs(n,o,s,_){const v=hi(347,n??se("typedef"),_);return v.typeExpression=o,v.fullName=s,v.name=Y2(s),v.locals=void 0,v.nextContainer=void 0,v}function Up(n,o=Bn(n),s,_,v){return n.tagName!==o||n.typeExpression!==s||n.fullName!==_||n.comment!==v?G(vs(o,s,_,v),n):n}function Ja(n,o,s,_,v,I){const X=hi(342,n??se("param"),I);return X.typeExpression=_,X.name=o,X.isNameFirst=!!v,X.isBracketed=s,X}function Fp(n,o=Bn(n),s,_,v,I,X){return n.tagName!==o||n.name!==s||n.isBracketed!==_||n.typeExpression!==v||n.isNameFirst!==I||n.comment!==X?G(Ja(o,s,_,v,I,X),n):n}function ml(n,o,s,_,v,I){const X=hi(349,n??se("prop"),I);return X.typeExpression=_,X.name=o,X.isNameFirst=!!v,X.isBracketed=s,X}function hl(n,o=Bn(n),s,_,v,I,X){return n.tagName!==o||n.name!==s||n.isBracketed!==_||n.typeExpression!==v||n.isNameFirst!==I||n.comment!==X?G(ml(o,s,_,v,I,X),n):n}function gl(n,o,s,_){const v=hi(339,n??se("callback"),_);return v.typeExpression=o,v.fullName=s,v.name=Y2(s),v.locals=void 0,v.nextContainer=void 0,v}function yl(n,o=Bn(n),s,_,v){return n.tagName!==o||n.typeExpression!==s||n.fullName!==_||n.comment!==v?G(gl(o,s,_,v),n):n}function vl(n,o,s){const _=Kn(340,n??se("overload"),s);return _.typeExpression=o,_}function ja(n,o=Bn(n),s,_){return n.tagName!==o||n.typeExpression!==s||n.comment!==_?G(vl(o,s,_),n):n}function Ma(n,o,s){const _=Kn(329,n??se("augments"),s);return _.class=o,_}function yo(n,o=Bn(n),s,_){return n.tagName!==o||n.class!==s||n.comment!==_?G(Ma(o,s,_),n):n}function kl(n,o,s){const _=Kn(330,n??se("implements"),s);return _.class=o,_}function gi(n,o,s){const _=Kn(348,n??se("see"),s);return _.name=o,_}function ks(n,o,s,_){return n.tagName!==o||n.name!==s||n.comment!==_?G(gi(o,s,_),n):n}function bl(n){const o=x(311);return o.name=n,o}function Vp(n,o){return n.name!==o?G(bl(o),n):n}function Tl(n,o){const s=x(312);return s.left=n,s.right=o,s.transformFlags|=Y(s.left)|Y(s.right),s}function Wp(n,o,s){return n.left!==o||n.right!==s?G(Tl(o,s),n):n}function Cl(n,o){const s=x(325);return s.name=n,s.text=o,s}function El(n,o,s){return n.name!==o?G(Cl(o,s),n):n}function wl(n,o){const s=x(326);return s.name=n,s.text=o,s}function zp(n,o,s){return n.name!==o?G(wl(o,s),n):n}function Dl(n,o){const s=x(327);return s.name=n,s.text=o,s}function qp(n,o,s){return n.name!==o?G(Dl(o,s),n):n}function Hp(n,o=Bn(n),s,_){return n.tagName!==o||n.class!==s||n.comment!==_?G(kl(o,s,_),n):n}function Sl(n,o,s){return Kn(n,o??se(K_(n)),s)}function Gp(n,o,s=Bn(o),_){return o.tagName!==s||o.comment!==_?G(Sl(n,s,_),o):o}function xl(n,o,s,_){const v=Kn(n,o??se(K_(n)),_);return v.typeExpression=s,v}function $p(n,o,s=Bn(o),_,v){return o.tagName!==s||o.typeExpression!==_||o.comment!==v?G(xl(n,s,_,v),o):o}function Pl(n,o){return Kn(328,n,o)}function Qp(n,o,s){return n.tagName!==o||n.comment!==s?G(Pl(o,s),n):n}function Il(n,o,s){const _=hi(341,n??se(K_(341)),s);return _.typeExpression=o,_.locals=void 0,_.nextContainer=void 0,_}function Ba(n,o=Bn(n),s,_){return n.tagName!==o||n.typeExpression!==s||n.comment!==_?G(Il(o,s,_),n):n}function Al(n,o,s,_,v){const I=Kn(352,n??se("import"),v);return I.importClause=o,I.moduleSpecifier=s,I.attributes=_,I.comment=v,I}function Ol(n,o,s,_,v,I){return n.tagName!==o||n.comment!==I||n.importClause!==s||n.moduleSpecifier!==_||n.attributes!==v?G(Al(o,s,_,v,I),n):n}function Ra(n){const o=x(322);return o.text=n,o}function Xp(n,o){return n.text!==o?G(Ra(o),n):n}function vo(n,o){const s=x(321);return s.comment=n,s.tags=Ge(o),s}function Ll(n,o,s){return n.comment!==o||n.tags!==s?G(vo(o,s),n):n}function Nl(n,o,s){const _=x(285);return _.openingElement=n,_.children=U(o),_.closingElement=s,_.transformFlags|=Y(_.openingElement)|Fe(_.children)|Y(_.closingElement)|2,_}function Yp(n,o,s,_){return n.openingElement!==o||n.children!==s||n.closingElement!==_?G(Nl(o,s,_),n):n}function Jl(n,o,s){const _=x(286);return _.tagName=n,_.typeArguments=Ge(o),_.attributes=s,_.transformFlags|=Y(_.tagName)|Fe(_.typeArguments)|Y(_.attributes)|2,_.typeArguments&&(_.transformFlags|=1),_}function Zp(n,o,s,_){return n.tagName!==o||n.typeArguments!==s||n.attributes!==_?G(Jl(o,s,_),n):n}function bs(n,o,s){const _=x(287);return _.tagName=n,_.typeArguments=Ge(o),_.attributes=s,_.transformFlags|=Y(_.tagName)|Fe(_.typeArguments)|Y(_.attributes)|2,o&&(_.transformFlags|=1),_}function jl(n,o,s,_){return n.tagName!==o||n.typeArguments!==s||n.attributes!==_?G(bs(o,s,_),n):n}function Ua(n){const o=x(288);return o.tagName=n,o.transformFlags|=Y(o.tagName)|2,o}function Ts(n,o){return n.tagName!==o?G(Ua(o),n):n}function En(n,o,s){const _=x(289);return _.openingFragment=n,_.children=U(o),_.closingFragment=s,_.transformFlags|=Y(_.openingFragment)|Fe(_.children)|Y(_.closingFragment)|2,_}function Ml(n,o,s,_){return n.openingFragment!==o||n.children!==s||n.closingFragment!==_?G(En(o,s,_),n):n}function ko(n,o){const s=x(12);return s.text=n,s.containsOnlyTriviaWhiteSpaces=!!o,s.transformFlags|=2,s}function Kp(n,o,s){return n.text!==o||n.containsOnlyTriviaWhiteSpaces!==s?G(ko(o,s),n):n}function Bl(){const n=x(290);return n.transformFlags|=2,n}function Rl(){const n=x(291);return n.transformFlags|=2,n}function Ul(n,o){const s=F(292);return s.name=n,s.initializer=o,s.transformFlags|=Y(s.name)|Y(s.initializer)|2,s}function ed(n,o,s){return n.name!==o||n.initializer!==s?G(Ul(o,s),n):n}function bo(n){const o=F(293);return o.properties=U(n),o.transformFlags|=Fe(o.properties)|2,o}function td(n,o){return n.properties!==o?G(bo(o),n):n}function Fl(n){const o=x(294);return o.expression=n,o.transformFlags|=Y(o.expression)|2,o}function nd(n,o){return n.expression!==o?G(Fl(o),n):n}function Vl(n,o){const s=x(295);return s.dotDotDotToken=n,s.expression=o,s.transformFlags|=Y(s.dotDotDotToken)|Y(s.expression)|2,s}function Fa(n,o){return n.expression!==o?G(Vl(n.dotDotDotToken,o),n):n}function Li(n,o){const s=x(296);return s.namespace=n,s.name=o,s.transformFlags|=Y(s.namespace)|Y(s.name)|2,s}function rd(n,o,s){return n.namespace!==o||n.name!==s?G(Li(o,s),n):n}function Cs(n,o){const s=x(297);return s.expression=i().parenthesizeExpressionForDisallowedComma(n),s.statements=U(o),s.transformFlags|=Y(s.expression)|Fe(s.statements),s.jsDoc=void 0,s}function Wl(n,o,s){return n.expression!==o||n.statements!==s?G(Cs(o,s),n):n}function zl(n){const o=x(298);return o.statements=U(n),o.transformFlags=Fe(o.statements),o}function Ni(n,o){return n.statements!==o?G(zl(o),n):n}function Va(n,o){const s=x(299);switch(s.token=n,s.types=U(o),s.transformFlags|=Fe(s.types),n){case 96:s.transformFlags|=1024;break;case 119:s.transformFlags|=1;break;default:return N.assertNever(n)}return s}function id(n,o){return n.types!==o?G(Va(n.token,o),n):n}function ql(n,o){const s=x(300);return s.variableDeclaration=er(n),s.block=o,s.transformFlags|=Y(s.variableDeclaration)|Y(s.block)|(n?0:64),s.locals=void 0,s.nextContainer=void 0,s}function Hl(n,o,s){return n.variableDeclaration!==o||n.block!==s?G(ql(o,s),n):n}function Es(n,o){const s=F(304);return s.name=Ct(n),s.initializer=i().parenthesizeExpressionForDisallowedComma(o),s.transformFlags|=kr(s.name)|Y(s.initializer),s.modifiers=void 0,s.questionToken=void 0,s.exclamationToken=void 0,s.jsDoc=void 0,s}function Wa(n,o,s){return n.name!==o||n.initializer!==s?Ji(Es(o,s),n):n}function Ji(n,o){return n!==o&&(n.modifiers=o.modifiers,n.questionToken=o.questionToken,n.exclamationToken=o.exclamationToken),G(n,o)}function Gl(n,o){const s=F(305);return s.name=Ct(n),s.objectAssignmentInitializer=o&&i().parenthesizeExpressionForDisallowedComma(o),s.transformFlags|=zs(s.name)|Y(s.objectAssignmentInitializer)|1024,s.equalsToken=void 0,s.modifiers=void 0,s.questionToken=void 0,s.exclamationToken=void 0,s.jsDoc=void 0,s}function od(n,o,s){return n.name!==o||n.objectAssignmentInitializer!==s?sd(Gl(o,s),n):n}function sd(n,o){return n!==o&&(n.modifiers=o.modifiers,n.questionToken=o.questionToken,n.exclamationToken=o.exclamationToken,n.equalsToken=o.equalsToken),G(n,o)}function $l(n){const o=F(306);return o.expression=i().parenthesizeExpressionForDisallowedComma(n),o.transformFlags|=Y(o.expression)|128|65536,o.jsDoc=void 0,o}function Ql(n,o){return n.expression!==o?G($l(o),n):n}function za(n,o){const s=F(307);return s.name=Ct(n),s.initializer=o&&i().parenthesizeExpressionForDisallowedComma(o),s.transformFlags|=Y(s.name)|Y(s.initializer)|1,s.jsDoc=void 0,s}function dr(n,o,s){return n.name!==o||n.initializer!==s?G(za(o,s),n):n}function Xl(n,o,s){const _=t.createBaseSourceFileNode(308);return _.statements=U(n),_.endOfFileToken=o,_.flags|=s,_.text="",_.fileName="",_.path="",_.resolvedPath="",_.originalFileName="",_.languageVersion=12,_.languageVariant=0,_.scriptKind=0,_.isDeclarationFile=!1,_.hasNoDefaultLib=!1,_.transformFlags|=Fe(_.statements)|Y(_.endOfFileToken),_.locals=void 0,_.nextContainer=void 0,_.endFlowNode=void 0,_.nodeCount=0,_.identifierCount=0,_.symbolCount=0,_.parseDiagnostics=void 0,_.bindDiagnostics=void 0,_.bindSuggestionDiagnostics=void 0,_.lineMap=void 0,_.externalModuleIndicator=void 0,_.setExternalModuleIndicator=void 0,_.pragmas=void 0,_.checkJsDirective=void 0,_.referencedFiles=void 0,_.typeReferenceDirectives=void 0,_.libReferenceDirectives=void 0,_.amdDependencies=void 0,_.commentDirectives=void 0,_.identifiers=void 0,_.packageJsonLocations=void 0,_.packageJsonScope=void 0,_.imports=void 0,_.moduleAugmentations=void 0,_.ambientModuleNames=void 0,_.classifiableNames=void 0,_.impliedNodeFormat=void 0,_}function Yl(n){const o=Object.create(n.redirectTarget);return Object.defineProperties(o,{id:{get(){return this.redirectInfo.redirectTarget.id},set(s){this.redirectInfo.redirectTarget.id=s}},symbol:{get(){return this.redirectInfo.redirectTarget.symbol},set(s){this.redirectInfo.redirectTarget.symbol=s}}}),o.redirectInfo=n,o}function ad(n){const o=Yl(n.redirectInfo);return o.flags|=n.flags&-17,o.fileName=n.fileName,o.path=n.path,o.resolvedPath=n.resolvedPath,o.originalFileName=n.originalFileName,o.packageJsonLocations=n.packageJsonLocations,o.packageJsonScope=n.packageJsonScope,o.emitNode=void 0,o}function cd(n){const o=t.createBaseSourceFileNode(308);o.flags|=n.flags&-17;for(const s in n)if(!(Rt(o,s)||!Rt(n,s))){if(s==="emitNode"){o.emitNode=void 0;continue}o[s]=n[s]}return o}function qa(n){const o=n.redirectInfo?ad(n):cd(n);return r(o,n),o}function Ha(n,o,s,_,v,I,X){const Ee=qa(n);return Ee.statements=U(o),Ee.isDeclarationFile=s,Ee.referencedFiles=_,Ee.typeReferenceDirectives=v,Ee.hasNoDefaultLib=I,Ee.libReferenceDirectives=X,Ee.transformFlags=Fe(Ee.statements)|Y(Ee.endOfFileToken),Ee}function ud(n,o,s=n.isDeclarationFile,_=n.referencedFiles,v=n.typeReferenceDirectives,I=!1,X=n.libReferenceDirectives){return n.statements!==o||n.isDeclarationFile!==s||n.referencedFiles!==_||n.typeReferenceDirectives!==v||n.libReferenceDirectives!==X?G(Ha(n,o,s,_,v,!1,X),n):n}function Zl(n){const o=x(309);return o.sourceFiles=n,o.syntheticFileReferences=void 0,o.syntheticTypeReferences=void 0,o.syntheticLibReferences=void 0,o}function Kl(n,o){return n.sourceFiles!==o?G(Zl(o),n):n}function ld(n,o=!1,s){const _=x(238);return _.type=n,_.isSpread=o,_.tupleNameSource=s,_}function _d(n){const o=x(353);return o._children=n,o}function ws(n){const o=x(354);return o.original=n,Et(o,n),o}function Ga(n,o){const s=x(356);return s.expression=n,s.original=o,s.transformFlags|=Y(s.expression)|1,Et(s,o),s}function e_(n,o){return n.expression!==o?G(Ga(o,n.original),n):n}function fd(){return x(355)}function pd(n){if(Fs(n)&&!uc(n)&&!n.original&&!n.emitNode&&!n.id){if(V2(n))return n.elements;if(ci(n)&&yk(n.operatorToken))return[n.left,n.right]}return n}function $a(n){const o=x(357);return o.elements=U(Z3(n,pd)),o.transformFlags|=Fe(o.elements),o}function dd(n,o){return n.elements!==o?G($a(o),n):n}function Qa(n,o){const s=x(358);return s.expression=n,s.thisArg=o,s.transformFlags|=Y(s.expression)|Y(s.thisArg),s}function t_(n,o,s){return n.expression!==o||n.thisArg!==s?G(Qa(o,s),n):n}function n_(n){const o=De(n.escapedText);return o.flags|=n.flags&-17,o.transformFlags=n.transformFlags,r(o,n),tf(o,{...n.emitNode.autoGenerate}),o}function md(n){const o=De(n.escapedText);o.flags|=n.flags&-17,o.jsDoc=n.jsDoc,o.flowNode=n.flowNode,o.symbol=n.symbol,o.transformFlags=n.transformFlags,r(o,n);const s=mk(n);return s&&dk(o,s),o}function hd(n){const o=_t(n.escapedText);return o.flags|=n.flags&-17,o.transformFlags=n.transformFlags,r(o,n),tf(o,{...n.emitNode.autoGenerate}),o}function r_(n){const o=_t(n.escapedText);return o.flags|=n.flags&-17,o.transformFlags=n.transformFlags,r(o,n),o}function Ds(n){if(n===void 0)return n;if(a0(n))return qa(n);if(Rs(n))return n_(n);if(vt(n))return md(n);if(Eh(n))return hd(n);if(si(n))return r_(n);const o=o1(n.kind)?t.createBaseNode(n.kind):t.createBaseTokenNode(n.kind);o.flags|=n.flags&-17,o.transformFlags=n.transformFlags,r(o,n);for(const s in n)Rt(o,s)||!Rt(n,s)||(o[s]=n[s]);return o}function gd(n,o,s){return _o(ca(void 0,void 0,void 0,void 0,o?[o]:[],void 0,mi(n,!0)),void 0,s?[s]:[])}function yd(n,o,s){return _o(ua(void 0,void 0,o?[o]:[],void 0,void 0,mi(n,!0)),void 0,s?[s]:[])}function To(){return la(J("0"))}function i_(n){return hs(void 0,!1,n)}function o_(n){return gs(void 0,!1,Ia([ys(!1,void 0,n)]))}function vd(n,o){return o==="null"?A.createStrictEquality(n,Se()):o==="undefined"?A.createStrictEquality(n,To()):A.createStrictEquality(us(n),Z(o))}function Xa(n,o){return o==="null"?A.createStrictInequality(n,Se()):o==="undefined"?A.createStrictInequality(n,To()):A.createStrictInequality(us(n),Z(o))}function yi(n,o,s){return Th(n)?oa(uo(n,void 0,o),void 0,void 0,s):_o(jr(n,o),void 0,s)}function kd(n,o,s){return yi(n,"bind",[o,...s])}function bd(n,o,s){return yi(n,"call",[o,...s])}function Td(n,o,s){return yi(n,"apply",[o,s])}function Co(n,o,s){return yi(se(n),o,s)}function Cd(n,o){return yi(n,"slice",o===void 0?[]:[Kr(o)])}function Eo(n,o){return yi(n,"concat",o)}function Ed(n,o,s){return Co("Object","defineProperty",[n,Kr(o),s])}function Ya(n,o){return Co("Object","getOwnPropertyDescriptor",[n,Kr(o)])}function ji(n,o,s){return Co("Reflect","get",s?[n,o,s]:[n,o])}function s_(n,o,s,_){return Co("Reflect","set",_?[n,o,s,_]:[n,o,s])}function Mi(n,o,s){return s?(n.push(Es(o,s)),!0):!1}function wd(n,o){const s=[];Mi(s,"enumerable",Kr(n.enumerable)),Mi(s,"configurable",Kr(n.configurable));let _=Mi(s,"writable",Kr(n.writable));_=Mi(s,"value",n.value)||_;let v=Mi(s,"get",n.get);return v=Mi(s,"set",n.set)||v,N.assert(!(_&&v),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),co(s,!o)}function a_(n,o){switch(n.kind){case 218:return Yc(n,o);case 217:return Xc(n,n.type,o);case 235:return fs(n,o,n.type);case 239:return mu(n,o,n.type);case 236:return du(n,o);case 234:return fu(n,o,n.typeArguments);case 356:return e_(n,o)}}function Dd(n){return Bc(n)&&Fs(n)&&Fs(uk(n))&&Fs(lk(n))&&!Pt(_k(n))&&!Pt(fk(n))}function c_(n,o,s=63){return n&&X2(n,s)&&!Dd(n)?a_(n,c_(n.expression,o)):o}function u_(n,o,s){if(!o)return n;const _=Lu(o,o.label,n0(o.statement)?u_(n,o.statement):n);return s&&s(o),_}function Za(n,o){const s=h1(n);switch(s.kind){case 80:return o;case 110:case 9:case 10:case 11:return!1;case 210:return s.elements.length!==0;case 211:return s.properties.length>0;default:return!0}}function l_(n,o,s,_=!1){const v=V1(n,63);let I,X;return zh(v)?(I=ue(),X=v):M1(v)?(I=ue(),X=s!==void 0&&s<2?Et(se("_super"),v):v):Us(v)&8192?(I=To(),X=i().parenthesizeLeftSideOfAccess(v,!1)):ai(v)?Za(v.expression,_)?(I=Ae(o),X=jr(Et(A.createAssignment(I,v.expression),v.expression),v.name),Et(X,v)):(I=v.expression,X=v):rs(v)?Za(v.expression,_)?(I=Ae(o),X=lo(Et(A.createAssignment(I,v.expression),v.expression),v.argumentExpression),Et(X,v)):(I=v.expression,X=v):(I=To(),X=i().parenthesizeLeftSideOfAccess(n,!1)),{target:X,thisArg:I}}function __(n,o){return jr(aa(co([$(void 0,"value",[lr(void 0,void 0,n,void 0,void 0,void 0)],mi([po(o)]))])),"value")}function u(n){return n.length>10?$a(n):c8(n,A.createComma)}function h(n,o,s,_=0,v){const I=v?n&&r1(n):yh(n);if(I&&vt(I)&&!Rs(I)){const X=N1(Et(Ds(I),I),I.parent);return _|=Us(I),s||(_|=96),o||(_|=3072),_&&ef(X,_),X}return kt(n)}function k(n,o,s){return h(n,o,s,98304)}function w(n,o,s,_){return h(n,o,s,32768,_)}function P(n,o,s){return h(n,o,s,16384)}function R(n,o,s){return h(n,o,s)}function re(n,o,s,_){const v=jr(n,Fs(o)?o:Ds(o));Et(v,o);let I=0;return _||(I|=96),s||(I|=3072),I&&ef(v,I),v}function me(n,o,s,_){return n&&F_(o,32)?re(n,h(o),s,_):P(o,s,_)}function ae(n,o,s,_){const v=nt(n,o,0,s);return et(n,o,v,_)}function ce(n){return es(n.expression)&&n.expression.text==="use strict"}function ke(){return eb(po(Z("use strict")))}function nt(n,o,s=0,_){N.assert(o.length===0,"Prologue directives should be at the first statement in the target statements array");let v=!1;const I=n.length;for(;s<I;){const X=n[s];if(B_(X))ce(X)&&(v=!0),o.push(X);else break;s++}return _&&!v&&o.push(ke()),s}function et(n,o,s,_,v=p8){const I=n.length;for(;s!==void 0&&s<I;){const X=n[s];if(Us(X)&2097152&&v(X))Fn(o,_?Z5(X,_,Mm):X);else break;s++}return s}function He(n){return Yk(n)?n:Et(U([ke(),...n]),n)}function wn(n){return N.assert(bi(n,M7),"Cannot lift nodes to a Block."),h0(n)||mi(n)}function sn(n,o,s){let _=s;for(;_<n.length&&o(n[_]);)_++;return _}function Br(n,o){if(!Pt(o))return n;const s=sn(n,B_,0),_=sn(n,Fh,s),v=sn(n,Vh,_),I=sn(o,B_,0),X=sn(o,Fh,I),Ee=sn(o,Vh,X),ct=sn(o,_1,Ee);N.assert(ct===o.length,"Expected declarations to be valid standard or custom prologues");const an=Gi(n)?n.slice():n;if(ct>Ee&&an.splice(v,0,...o.slice(Ee,ct)),Ee>X&&an.splice(_,0,...o.slice(X,Ee)),X>I&&an.splice(s,0,...o.slice(I,X)),I>0)if(s===0)an.splice(0,0,...o.slice(0,I));else{const Ur=new Map;for(let tr=0;tr<s;tr++){const Do=n[tr];Ur.set(Do.expression.text,!0)}for(let tr=I-1;tr>=0;tr--){const Do=o[tr];Ur.has(Do.expression.text)||an.unshift(Do)}}return Gi(n)?Et(U(an,n.hasTrailingComma),n):n}function Rr(n,o){let s;return typeof o=="number"?s=pt(o):s=o,Of(n)?Xn(n,s,n.name,n.constraint,n.default):Zs(n)?_r(n,s,n.dotDotDotToken,n.name,n.questionToken,n.type,n.initializer):B1(n)?lt(n,s,n.typeParameters,n.parameters,n.type):Rm(n)?ht(n,s,n.name,n.questionToken,n.type):Nc(n)?q(n,s,n.name,n.questionToken??n.exclamationToken,n.type,n.initializer):Um(n)?we(n,s,n.name,n.questionToken,n.typeParameters,n.parameters,n.type):Lf(n)?mt(n,s,n.asteriskToken,n.name,n.questionToken,n.typeParameters,n.parameters,n.type,n.body):Nf(n)?ui(n,s,n.parameters,n.body):Jc(n)?Cr(n,s,n.name,n.parameters,n.type,n.body):Ks(n)?ie(n,s,n.name,n.parameters,n.body):Jf(n)?Tt(n,s,n.parameters,n.type):Bf(n)?Zc(n,s,n.asteriskToken,n.name,n.typeParameters,n.parameters,n.type,n.body):Rf(n)?Kc(n,s,n.typeParameters,n.parameters,n.type,n.equalsGreaterThanToken,n.body):R1(n)?pa(n,s,n.name,n.typeParameters,n.heritageClauses,n.members):Rc(n)?yu(n,s,n.declarationList):Vf(n)?wa(n,s,n.asteriskToken,n.name,n.typeParameters,n.parameters,n.type,n.body):Wf(n)?ms(n,s,n.name,n.typeParameters,n.heritageClauses,n.members):zf(n)?Fu(n,s,n.name,n.typeParameters,n.heritageClauses,n.members):r0(n)?Qr(n,s,n.name,n.typeParameters,n.type):i0(n)?Xr(n,s,n.name,n.members):qf(n)?Xt(n,s,n.name,n.body):Hf(n)?Gu(n,s,n.isTypeOnly,n.name,n.moduleReference):Gf(n)?Qu(n,s,n.importClause,n.moduleSpecifier,n.attributes):$f(n)?ho(n,s,n.expression):Qf(n)?al(n,s,n.isTypeOnly,n.exportClause,n.moduleSpecifier,n.attributes):N.assertNever(n)}function mr(n,o){return Zs(n)?_r(n,o,n.dotDotDotToken,n.name,n.questionToken,n.type,n.initializer):Nc(n)?q(n,o,n.name,n.questionToken??n.exclamationToken,n.type,n.initializer):Lf(n)?mt(n,o,n.asteriskToken,n.name,n.questionToken,n.typeParameters,n.parameters,n.type,n.body):Jc(n)?Cr(n,o,n.name,n.parameters,n.type,n.body):Ks(n)?ie(n,o,n.name,n.parameters,n.body):R1(n)?pa(n,o,n.name,n.typeParameters,n.heritageClauses,n.members):Wf(n)?ms(n,o,n.name,n.typeParameters,n.heritageClauses,n.members):N.assertNever(n)}function vi(n,o){switch(n.kind){case 178:return Cr(n,n.modifiers,o,n.parameters,n.type,n.body);case 179:return ie(n,n.modifiers,o,n.parameters,n.body);case 175:return mt(n,n.modifiers,n.asteriskToken,o,n.questionToken,n.typeParameters,n.parameters,n.type,n.body);case 174:return we(n,n.modifiers,o,n.questionToken,n.typeParameters,n.parameters,n.type);case 173:return q(n,n.modifiers,o,n.questionToken??n.exclamationToken,n.type,n.initializer);case 172:return ht(n,n.modifiers,o,n.questionToken,n.type);case 304:return Wa(n,o,n.initializer)}}function Ge(n){return n?U(n):void 0}function Ct(n){return typeof n=="string"?se(n):n}function Kr(n){return typeof n=="string"?Z(n):typeof n=="number"?J(n):typeof n=="boolean"?n?Te():Xe():n}function wo(n){return n&&i().parenthesizeExpressionForDisallowedComma(n)}function Sd(n){return typeof n=="number"?Le(n):n}function xr(n){return n&&Ik(n)?Et(r(vu(),n),n):n}function er(n){return typeof n=="string"||n&&!Ff(n)?ds(n,void 0,void 0,void 0):n}function G(n,o){return n!==o&&(r(n,o),Et(n,o)),n}}function K_(e){switch(e){case 345:return"type";case 343:return"returns";case 344:return"this";case 341:return"enum";case 331:return"author";case 333:return"class";case 334:return"public";case 335:return"private";case 336:return"protected";case 337:return"readonly";case 338:return"override";case 346:return"template";case 347:return"typedef";case 342:return"param";case 349:return"prop";case 339:return"callback";case 340:return"overload";case 329:return"augments";case 330:return"implements";case 352:return"import";default:return N.fail(`Unsupported kind: ${N.formatSyntaxKind(e)}`)}}var ur,A2={};function ik(e,t){switch(ur||(ur=Ko(99,!1,0)),e){case 15:ur.setText("`"+t+"`");break;case 16:ur.setText("`"+t+"${");break;case 17:ur.setText("}"+t+"${");break;case 18:ur.setText("}"+t+"`");break}let r=ur.scan();if(r===20&&(r=ur.reScanTemplateToken(!1)),ur.isUnterminated())return ur.setText(void 0),A2;let i;switch(r){case 15:case 16:case 17:case 18:i=ur.getTokenValue();break}return i===void 0||ur.scan()!==1?(ur.setText(void 0),A2):(ur.setText(void 0),i)}function kr(e){return e&&vt(e)?zs(e):Y(e)}function zs(e){return Y(e)&-67108865}function ok(e,t){return t|e.transformFlags&134234112}function Y(e){if(!e)return 0;const t=e.transformFlags&~sk(e.kind);return o7(e)&&wh(e.name)?ok(e.name,t):t}function Fe(e){return e?e.transformFlags:0}function O2(e){let t=0;for(const r of e)t|=Y(r);e.transformFlags=t}function sk(e){if(e>=183&&e<=206)return-2;switch(e){case 214:case 215:case 210:return-2147450880;case 268:return-1941676032;case 170:return-2147483648;case 220:return-2072174592;case 219:case 263:return-1937940480;case 262:return-2146893824;case 264:case 232:return-2147344384;case 177:return-1937948672;case 173:return-2013249536;case 175:case 178:case 179:return-2005057536;case 133:case 150:case 163:case 146:case 154:case 151:case 136:case 155:case 116:case 169:case 172:case 174:case 180:case 181:case 182:case 265:case 266:return-2;case 211:return-2147278848;case 300:return-2147418112;case 207:case 208:return-2147450880;case 217:case 239:case 235:case 356:case 218:case 108:return-2147483648;case 212:case 213:return-2147483648;default:return-2147483648}}function oi(e,t){if(e.original!==t&&(e.original=t,t)){const r=t.emitNode;r&&(e.emitNode=ak(r,e.emitNode))}return e}function ak(e,t){const{flags:r,internalFlags:i,leadingComments:c,trailingComments:l,commentRange:p,sourceMapRange:g,tokenSourceMapRanges:a,constantValue:b,helpers:d,startsOnNewLine:E,snippetElement:T,classThis:C,assignedName:S}=e;if(t||(t={}),r&&(t.flags=r),i&&(t.internalFlags=i&-9),c&&(t.leadingComments=fn(c.slice(),t.leadingComments)),l&&(t.trailingComments=fn(l.slice(),t.trailingComments)),p&&(t.commentRange=p),g&&(t.sourceMapRange=g),a&&(t.tokenSourceMapRanges=ck(a,t.tokenSourceMapRanges)),b!==void 0&&(t.constantValue=b),d)for(const j of d)t.helpers=i8(t.helpers,j);return E!==void 0&&(t.startsOnNewLine=E),T!==void 0&&(t.snippetElement=T),C&&(t.classThis=C),S&&(t.assignedName=S),t}function ck(e,t){t||(t=[]);for(const r in e)t[r]=e[r];return t}function bc(e){if(e.emitNode)N.assert(!(e.emitNode.internalFlags&8),"Invalid attempt to mutate an immutable node.");else{if(uc(e)){if(e.kind===308)return e.emitNode={annotatedNodes:[e]};const t=zr(hh(zr(e)))??N.fail("Could not determine parsed source file.");bc(t).annotatedNodes.push(e)}e.emitNode={}}return e.emitNode}function ef(e,t){return bc(e).flags=t,e}function uk(e){var t;return((t=e.emitNode)==null?void 0:t.sourceMapRange)??e}function L2(e){var t;return(t=e.emitNode)==null?void 0:t.startsOnNewLine}function J1(e,t){return bc(e).startsOnNewLine=t,e}function lk(e){var t;return((t=e.emitNode)==null?void 0:t.commentRange)??e}function _k(e){var t;return(t=e.emitNode)==null?void 0:t.leadingComments}function fk(e){var t;return(t=e.emitNode)==null?void 0:t.trailingComments}function pk(e){var t;return(t=e.emitNode)==null?void 0:t.snippetElement}function dk(e,t){return bc(e).identifierTypeArguments=t,e}function mk(e){var t;return(t=e.emitNode)==null?void 0:t.identifierTypeArguments}function tf(e,t){return bc(e).autoGenerate=t,e}function oo(e){return e.kind===9}function Bm(e){return e.kind===10}function es(e){return e.kind===11}function hk(e){return e.kind===12}function w4(e){return e.kind===14}function gk(e){return e.kind===15}function yk(e){return e.kind===28}function N2(e){return e.kind===54}function J2(e){return e.kind===58}function vt(e){return e.kind===80}function si(e){return e.kind===81}function j1(e){return e.kind===95}function j2(e){return e.kind===90}function nf(e){return e.kind===134}function M1(e){return e.kind===108}function vk(e){return e.kind===102}function D4(e){return e.kind===167}function Af(e){return e.kind===168}function Of(e){return e.kind===169}function Zs(e){return e.kind===170}function Rm(e){return e.kind===172}function Nc(e){return e.kind===173}function Um(e){return e.kind===174}function Lf(e){return e.kind===175}function S4(e){return e.kind===176}function Nf(e){return e.kind===177}function Jc(e){return e.kind===178}function Ks(e){return e.kind===179}function kk(e){return e.kind===180}function bk(e){return e.kind===181}function Jf(e){return e.kind===182}function Tk(e){return e.kind===183}function M2(e){return e.kind===184}function jc(e){return e.kind===185}function B1(e){return e.kind===186}function Ck(e){return e.kind===187}function Fm(e){return e.kind===188}function Ek(e){return e.kind===189}function Vm(e){return e.kind===190}function jf(e){return e.kind===203}function Wm(e){return e.kind===191}function zm(e){return e.kind===192}function B2(e){return e.kind===193}function R2(e){return e.kind===194}function U2(e){return e.kind===195}function F2(e){return e.kind===196}function wk(e){return e.kind===197}function Dk(e){return e.kind===198}function Mf(e){return e.kind===199}function Sk(e){return e.kind===200}function qm(e){return e.kind===201}function Hm(e){return e.kind===202}function Gm(e){return e.kind===206}function x4(e){return e.kind===205}function P4(e){return e.kind===204}function $m(e){return e.kind===207}function Qm(e){return e.kind===208}function ts(e){return e.kind===209}function ea(e){return e.kind===210}function ns(e){return e.kind===211}function ai(e){return e.kind===212}function rs(e){return e.kind===213}function Mc(e){return e.kind===214}function I4(e){return e.kind===215}function Xm(e){return e.kind===216}function A4(e){return e.kind===217}function Bc(e){return e.kind===218}function Bf(e){return e.kind===219}function Rf(e){return e.kind===220}function O4(e){return e.kind===221}function xk(e){return e.kind===223}function L4(e){return e.kind===224}function Ym(e){return e.kind===225}function N4(e){return e.kind===226}function ci(e){return e.kind===227}function J4(e){return e.kind===230}function Zm(e){return e.kind===231}function R1(e){return e.kind===232}function Km(e){return e.kind===233}function Pk(e){return e.kind===234}function j4(e){return e.kind===235}function M4(e){return e.kind===239}function ta(e){return e.kind===236}function e0(e){return e.kind===237}function V2(e){return e.kind===357}function Uf(e){return e.kind===242}function Rc(e){return e.kind===244}function B4(e){return e.kind===243}function t0(e){return e.kind===245}function R4(e){return e.kind===246}function U4(e){return e.kind===249}function F4(e){return e.kind===250}function V4(e){return e.kind===251}function W4(e){return e.kind===252}function z4(e){return e.kind===253}function q4(e){return e.kind===254}function H4(e){return e.kind===255}function G4(e){return e.kind===256}function n0(e){return e.kind===257}function $4(e){return e.kind===258}function Ff(e){return e.kind===261}function Q4(e){return e.kind===262}function Vf(e){return e.kind===263}function Wf(e){return e.kind===264}function zf(e){return e.kind===265}function r0(e){return e.kind===266}function i0(e){return e.kind===267}function qf(e){return e.kind===268}function X4(e){return e.kind===269}function Y4(e){return e.kind===270}function Hf(e){return e.kind===272}function Gf(e){return e.kind===273}function Z4(e){return e.kind===274}function K4(e){return e.kind===302}function e3(e){return e.kind===275}function t3(e){return e.kind===281}function n3(e){return e.kind===276}function r3(e){return e.kind===277}function $f(e){return e.kind===278}function Qf(e){return e.kind===279}function o0(e){return e.kind===280}function Ik(e){return e.kind===354}function W2(e){return e.kind===284}function i3(e){return e.kind===285}function o3(e){return e.kind===286}function Xf(e){return e.kind===287}function s3(e){return e.kind===288}function a3(e){return e.kind===289}function Ak(e){return e.kind===290}function c3(e){return e.kind===292}function u3(e){return e.kind===293}function l3(e){return e.kind===295}function z2(e){return e.kind===296}function s0(e){return e.kind===298}function _3(e){return e.kind===300}function Yf(e){return e.kind===304}function f3(e){return e.kind===305}function p3(e){return e.kind===306}function d3(e){return e.kind===307}function a0(e){return e.kind===308}function Ok(e){return e.kind===310}function q2(e){return e.kind===315}function Lk(e){return e.kind===318}function U1(e){return e.kind===321}function Nk(e){return e.kind===323}function Jk(e){return e.kind===324}function jk(e){return e.kind===329}function Mk(e){return e.kind===334}function Bk(e){return e.kind===335}function Rk(e){return e.kind===336}function Uk(e){return e.kind===337}function Fk(e){return e.kind===338}function Vk(e){return e.kind===340}function Wk(e){return e.kind===332}function H2(e){return e.kind===342}function zk(e){return e.kind===343}function F1(e){return e.kind===345}function qk(e){return e.kind===346}function Hk(e){return e.kind===330}function Gk(e){return e.kind===351}var $o=new WeakMap;function G2(e,t){var r;const i=e.kind;return o1(i)?i===353?e._children:(r=$o.get(t))==null?void 0:r.get(e):tt}function $k(e,t,r){e.kind===353&&N.fail("Should not need to re-set the children of a SyntaxList.");let i=$o.get(t);return i===void 0&&(i=new WeakMap,$o.set(t,i)),i.set(e,r),r}function $2(e,t){var r;e.kind===353&&N.fail("Did not expect to unset the children of a SyntaxList."),(r=$o.get(t))==null||r.delete(e)}function Qk(e,t){const r=$o.get(e);r!==void 0&&($o.delete(e),$o.set(t,r))}function Q2(e){return(Us(e)&32768)!==0}function Xk(e){return es(e.expression)&&e.expression.text==="use strict"}function Yk(e){for(const t of e)if(B_(t)){if(Xk(t))return t}else break}function Zk(e){return e.kind===227&&e.operatorToken.kind===28}function rf(e){return Zk(e)||V2(e)}function Kk(e){return Bc(e)&&Wo(e)&&!!v7(e)}function X2(e,t=63){switch(e.kind){case 218:return t&-2147483648&&Kk(e)?!1:(t&1)!==0;case 217:case 235:return(t&2)!==0;case 239:return(t&34)!==0;case 234:return(t&16)!==0;case 236:return(t&4)!==0;case 356:return(t&8)!==0}return!1}function V1(e,t=63){for(;X2(e,t);)e=e.expression;return e}function eb(e){return J1(e,!0)}function Tc(e){if(L7(e))return e.name;if(Dh(e)){switch(e.kind){case 304:return Tc(e.initializer);case 305:return e.name;case 306:return Tc(e.expression)}return}return V_(e,!0)?Tc(e.left):Zm(e)?Tc(e.expression):e}function tb(e){switch(e.kind){case 207:case 208:case 210:return e.elements;case 211:return e.properties}}function Y2(e){if(e){let t=e;for(;;){if(vt(t)||!t.body)return vt(t)?t:t.name;t=t.body}}}var Z2;(e=>{function t(d,E,T,C,S,j,L){const A=E>0?S[E-1]:void 0;return N.assertEqual(T[E],t),S[E]=d.onEnter(C[E],A,L),T[E]=g(d,t),E}e.enter=t;function r(d,E,T,C,S,j,L){N.assertEqual(T[E],r),N.assertIsDefined(d.onLeft),T[E]=g(d,r);const A=d.onLeft(C[E].left,S[E],C[E]);return A?(b(E,C,A),a(E,T,C,S,A)):E}e.left=r;function i(d,E,T,C,S,j,L){return N.assertEqual(T[E],i),N.assertIsDefined(d.onOperator),T[E]=g(d,i),d.onOperator(C[E].operatorToken,S[E],C[E]),E}e.operator=i;function c(d,E,T,C,S,j,L){N.assertEqual(T[E],c),N.assertIsDefined(d.onRight),T[E]=g(d,c);const A=d.onRight(C[E].right,S[E],C[E]);return A?(b(E,C,A),a(E,T,C,S,A)):E}e.right=c;function l(d,E,T,C,S,j,L){N.assertEqual(T[E],l),T[E]=g(d,l);const A=d.onExit(C[E],S[E]);if(E>0){if(E--,d.foldState){const U=T[E]===l?"right":"left";S[E]=d.foldState(S[E],A,U)}}else j.value=A;return E}e.exit=l;function p(d,E,T,C,S,j,L){return N.assertEqual(T[E],p),E}e.done=p;function g(d,E){switch(E){case t:if(d.onLeft)return r;case r:if(d.onOperator)return i;case i:if(d.onRight)return c;case c:return l;case l:return p;case p:return p;default:N.fail("Invalid state")}}e.nextState=g;function a(d,E,T,C,S){return d++,E[d]=t,T[d]=S,C[d]=void 0,d}function b(d,E,T){if(N.shouldAssert(2))for(;d>=0;)N.assert(E[d]!==T,"Circular traversal detected."),d--}})(Z2||(Z2={}));function K2(e,t){return typeof e=="object"?W1(!1,e.prefix,e.node,e.suffix,t):typeof e=="string"?e.length>0&&e.charCodeAt(0)===35?e.slice(1):e:""}function nb(e,t){return typeof e=="string"?e:rb(e,N.checkDefined(t))}function rb(e,t){return Eh(e)?t(e).slice(1):Rs(e)?t(e):si(e)?e.escapedText.slice(1):Vn(e)}function W1(e,t,r,i,c){return t=K2(t,c),i=K2(i,c),r=nb(r,c),`${e?"#":""}${t}${r}${i}`}function eg(e){if(e.transformFlags&65536)return!0;if(e.transformFlags&128)for(const t of tb(e)){const r=Tc(t);if(r&&O7(r)&&(r.transformFlags&65536||r.transformFlags&128&&eg(r)))return!0}return!1}function Et(e,t){return t?Zi(e,t.pos,t.end):e}function Zf(e){const t=e.kind;return t===169||t===170||t===172||t===173||t===174||t===175||t===177||t===178||t===179||t===182||t===186||t===219||t===220||t===232||t===244||t===263||t===264||t===265||t===266||t===267||t===268||t===272||t===273||t===278||t===279}function O(e,t){return t&&e(t)}function fe(e,t,r){if(r){if(t)return t(r);for(const i of r){const c=e(i);if(c)return c}}}function ib(e,t){return e.charCodeAt(t+1)===42&&e.charCodeAt(t+2)===42&&e.charCodeAt(t+3)!==47}function ob(e){return qt(e.statements,sb)||ab(e)}function sb(e){return Zf(e)&&cb(e,95)||Hf(e)&&W2(e.moduleReference)||Gf(e)||$f(e)||Qf(e)?e:void 0}function ab(e){return e.flags&8388608?tg(e):void 0}function tg(e){return ub(e)?e:kn(e,tg)}function cb(e,t){return Pt(e.modifiers,r=>r.kind===t)}function ub(e){return e0(e)&&e.keywordToken===102&&e.name.escapedText==="meta"}var lb={167:function(t,r,i){return O(r,t.left)||O(r,t.right)},169:function(t,r,i){return fe(r,i,t.modifiers)||O(r,t.name)||O(r,t.constraint)||O(r,t.default)||O(r,t.expression)},305:function(t,r,i){return fe(r,i,t.modifiers)||O(r,t.name)||O(r,t.questionToken)||O(r,t.exclamationToken)||O(r,t.equalsToken)||O(r,t.objectAssignmentInitializer)},306:function(t,r,i){return O(r,t.expression)},170:function(t,r,i){return fe(r,i,t.modifiers)||O(r,t.dotDotDotToken)||O(r,t.name)||O(r,t.questionToken)||O(r,t.type)||O(r,t.initializer)},173:function(t,r,i){return fe(r,i,t.modifiers)||O(r,t.name)||O(r,t.questionToken)||O(r,t.exclamationToken)||O(r,t.type)||O(r,t.initializer)},172:function(t,r,i){return fe(r,i,t.modifiers)||O(r,t.name)||O(r,t.questionToken)||O(r,t.type)||O(r,t.initializer)},304:function(t,r,i){return fe(r,i,t.modifiers)||O(r,t.name)||O(r,t.questionToken)||O(r,t.exclamationToken)||O(r,t.initializer)},261:function(t,r,i){return O(r,t.name)||O(r,t.exclamationToken)||O(r,t.type)||O(r,t.initializer)},209:function(t,r,i){return O(r,t.dotDotDotToken)||O(r,t.propertyName)||O(r,t.name)||O(r,t.initializer)},182:function(t,r,i){return fe(r,i,t.modifiers)||fe(r,i,t.typeParameters)||fe(r,i,t.parameters)||O(r,t.type)},186:function(t,r,i){return fe(r,i,t.modifiers)||fe(r,i,t.typeParameters)||fe(r,i,t.parameters)||O(r,t.type)},185:function(t,r,i){return fe(r,i,t.modifiers)||fe(r,i,t.typeParameters)||fe(r,i,t.parameters)||O(r,t.type)},180:ng,181:ng,175:function(t,r,i){return fe(r,i,t.modifiers)||O(r,t.asteriskToken)||O(r,t.name)||O(r,t.questionToken)||O(r,t.exclamationToken)||fe(r,i,t.typeParameters)||fe(r,i,t.parameters)||O(r,t.type)||O(r,t.body)},174:function(t,r,i){return fe(r,i,t.modifiers)||O(r,t.name)||O(r,t.questionToken)||fe(r,i,t.typeParameters)||fe(r,i,t.parameters)||O(r,t.type)},177:function(t,r,i){return fe(r,i,t.modifiers)||O(r,t.name)||fe(r,i,t.typeParameters)||fe(r,i,t.parameters)||O(r,t.type)||O(r,t.body)},178:function(t,r,i){return fe(r,i,t.modifiers)||O(r,t.name)||fe(r,i,t.typeParameters)||fe(r,i,t.parameters)||O(r,t.type)||O(r,t.body)},179:function(t,r,i){return fe(r,i,t.modifiers)||O(r,t.name)||fe(r,i,t.typeParameters)||fe(r,i,t.parameters)||O(r,t.type)||O(r,t.body)},263:function(t,r,i){return fe(r,i,t.modifiers)||O(r,t.asteriskToken)||O(r,t.name)||fe(r,i,t.typeParameters)||fe(r,i,t.parameters)||O(r,t.type)||O(r,t.body)},219:function(t,r,i){return fe(r,i,t.modifiers)||O(r,t.asteriskToken)||O(r,t.name)||fe(r,i,t.typeParameters)||fe(r,i,t.parameters)||O(r,t.type)||O(r,t.body)},220:function(t,r,i){return fe(r,i,t.modifiers)||fe(r,i,t.typeParameters)||fe(r,i,t.parameters)||O(r,t.type)||O(r,t.equalsGreaterThanToken)||O(r,t.body)},176:function(t,r,i){return fe(r,i,t.modifiers)||O(r,t.body)},184:function(t,r,i){return O(r,t.typeName)||fe(r,i,t.typeArguments)},183:function(t,r,i){return O(r,t.assertsModifier)||O(r,t.parameterName)||O(r,t.type)},187:function(t,r,i){return O(r,t.exprName)||fe(r,i,t.typeArguments)},188:function(t,r,i){return fe(r,i,t.members)},189:function(t,r,i){return O(r,t.elementType)},190:function(t,r,i){return fe(r,i,t.elements)},193:rg,194:rg,195:function(t,r,i){return O(r,t.checkType)||O(r,t.extendsType)||O(r,t.trueType)||O(r,t.falseType)},196:function(t,r,i){return O(r,t.typeParameter)},206:function(t,r,i){return O(r,t.argument)||O(r,t.attributes)||O(r,t.qualifier)||fe(r,i,t.typeArguments)},303:function(t,r,i){return O(r,t.assertClause)},197:ig,199:ig,200:function(t,r,i){return O(r,t.objectType)||O(r,t.indexType)},201:function(t,r,i){return O(r,t.readonlyToken)||O(r,t.typeParameter)||O(r,t.nameType)||O(r,t.questionToken)||O(r,t.type)||fe(r,i,t.members)},202:function(t,r,i){return O(r,t.literal)},203:function(t,r,i){return O(r,t.dotDotDotToken)||O(r,t.name)||O(r,t.questionToken)||O(r,t.type)},207:og,208:og,210:function(t,r,i){return fe(r,i,t.elements)},211:function(t,r,i){return fe(r,i,t.properties)},212:function(t,r,i){return O(r,t.expression)||O(r,t.questionDotToken)||O(r,t.name)},213:function(t,r,i){return O(r,t.expression)||O(r,t.questionDotToken)||O(r,t.argumentExpression)},214:sg,215:sg,216:function(t,r,i){return O(r,t.tag)||O(r,t.questionDotToken)||fe(r,i,t.typeArguments)||O(r,t.template)},217:function(t,r,i){return O(r,t.type)||O(r,t.expression)},218:function(t,r,i){return O(r,t.expression)},221:function(t,r,i){return O(r,t.expression)},222:function(t,r,i){return O(r,t.expression)},223:function(t,r,i){return O(r,t.expression)},225:function(t,r,i){return O(r,t.operand)},230:function(t,r,i){return O(r,t.asteriskToken)||O(r,t.expression)},224:function(t,r,i){return O(r,t.expression)},226:function(t,r,i){return O(r,t.operand)},227:function(t,r,i){return O(r,t.left)||O(r,t.operatorToken)||O(r,t.right)},235:function(t,r,i){return O(r,t.expression)||O(r,t.type)},236:function(t,r,i){return O(r,t.expression)},239:function(t,r,i){return O(r,t.expression)||O(r,t.type)},237:function(t,r,i){return O(r,t.name)},228:function(t,r,i){return O(r,t.condition)||O(r,t.questionToken)||O(r,t.whenTrue)||O(r,t.colonToken)||O(r,t.whenFalse)},231:function(t,r,i){return O(r,t.expression)},242:ag,269:ag,308:function(t,r,i){return fe(r,i,t.statements)||O(r,t.endOfFileToken)},244:function(t,r,i){return fe(r,i,t.modifiers)||O(r,t.declarationList)},262:function(t,r,i){return fe(r,i,t.declarations)},245:function(t,r,i){return O(r,t.expression)},246:function(t,r,i){return O(r,t.expression)||O(r,t.thenStatement)||O(r,t.elseStatement)},247:function(t,r,i){return O(r,t.statement)||O(r,t.expression)},248:function(t,r,i){return O(r,t.expression)||O(r,t.statement)},249:function(t,r,i){return O(r,t.initializer)||O(r,t.condition)||O(r,t.incrementor)||O(r,t.statement)},250:function(t,r,i){return O(r,t.initializer)||O(r,t.expression)||O(r,t.statement)},251:function(t,r,i){return O(r,t.awaitModifier)||O(r,t.initializer)||O(r,t.expression)||O(r,t.statement)},252:cg,253:cg,254:function(t,r,i){return O(r,t.expression)},255:function(t,r,i){return O(r,t.expression)||O(r,t.statement)},256:function(t,r,i){return O(r,t.expression)||O(r,t.caseBlock)},270:function(t,r,i){return fe(r,i,t.clauses)},297:function(t,r,i){return O(r,t.expression)||fe(r,i,t.statements)},298:function(t,r,i){return fe(r,i,t.statements)},257:function(t,r,i){return O(r,t.label)||O(r,t.statement)},258:function(t,r,i){return O(r,t.expression)},259:function(t,r,i){return O(r,t.tryBlock)||O(r,t.catchClause)||O(r,t.finallyBlock)},300:function(t,r,i){return O(r,t.variableDeclaration)||O(r,t.block)},171:function(t,r,i){return O(r,t.expression)},264:ug,232:ug,265:function(t,r,i){return fe(r,i,t.modifiers)||O(r,t.name)||fe(r,i,t.typeParameters)||fe(r,i,t.heritageClauses)||fe(r,i,t.members)},266:function(t,r,i){return fe(r,i,t.modifiers)||O(r,t.name)||fe(r,i,t.typeParameters)||O(r,t.type)},267:function(t,r,i){return fe(r,i,t.modifiers)||O(r,t.name)||fe(r,i,t.members)},307:function(t,r,i){return O(r,t.name)||O(r,t.initializer)},268:function(t,r,i){return fe(r,i,t.modifiers)||O(r,t.name)||O(r,t.body)},272:function(t,r,i){return fe(r,i,t.modifiers)||O(r,t.name)||O(r,t.moduleReference)},273:function(t,r,i){return fe(r,i,t.modifiers)||O(r,t.importClause)||O(r,t.moduleSpecifier)||O(r,t.attributes)},274:function(t,r,i){return O(r,t.name)||O(r,t.namedBindings)},301:function(t,r,i){return fe(r,i,t.elements)},302:function(t,r,i){return O(r,t.name)||O(r,t.value)},271:function(t,r,i){return fe(r,i,t.modifiers)||O(r,t.name)},275:function(t,r,i){return O(r,t.name)},281:function(t,r,i){return O(r,t.name)},276:lg,280:lg,279:function(t,r,i){return fe(r,i,t.modifiers)||O(r,t.exportClause)||O(r,t.moduleSpecifier)||O(r,t.attributes)},277:_g,282:_g,278:function(t,r,i){return fe(r,i,t.modifiers)||O(r,t.expression)},229:function(t,r,i){return O(r,t.head)||fe(r,i,t.templateSpans)},240:function(t,r,i){return O(r,t.expression)||O(r,t.literal)},204:function(t,r,i){return O(r,t.head)||fe(r,i,t.templateSpans)},205:function(t,r,i){return O(r,t.type)||O(r,t.literal)},168:function(t,r,i){return O(r,t.expression)},299:function(t,r,i){return fe(r,i,t.types)},234:function(t,r,i){return O(r,t.expression)||fe(r,i,t.typeArguments)},284:function(t,r,i){return O(r,t.expression)},283:function(t,r,i){return fe(r,i,t.modifiers)},357:function(t,r,i){return fe(r,i,t.elements)},285:function(t,r,i){return O(r,t.openingElement)||fe(r,i,t.children)||O(r,t.closingElement)},289:function(t,r,i){return O(r,t.openingFragment)||fe(r,i,t.children)||O(r,t.closingFragment)},286:fg,287:fg,293:function(t,r,i){return fe(r,i,t.properties)},292:function(t,r,i){return O(r,t.name)||O(r,t.initializer)},294:function(t,r,i){return O(r,t.expression)},295:function(t,r,i){return O(r,t.dotDotDotToken)||O(r,t.expression)},288:function(t,r,i){return O(r,t.tagName)},296:function(t,r,i){return O(r,t.namespace)||O(r,t.name)},191:Qo,192:Qo,310:Qo,316:Qo,315:Qo,317:Qo,319:Qo,318:function(t,r,i){return fe(r,i,t.parameters)||O(r,t.type)},321:function(t,r,i){return(typeof t.comment=="string"?void 0:fe(r,i,t.comment))||fe(r,i,t.tags)},348:function(t,r,i){return O(r,t.tagName)||O(r,t.name)||(typeof t.comment=="string"?void 0:fe(r,i,t.comment))},311:function(t,r,i){return O(r,t.name)},312:function(t,r,i){return O(r,t.left)||O(r,t.right)},342:pg,349:pg,331:function(t,r,i){return O(r,t.tagName)||(typeof t.comment=="string"?void 0:fe(r,i,t.comment))},330:function(t,r,i){return O(r,t.tagName)||O(r,t.class)||(typeof t.comment=="string"?void 0:fe(r,i,t.comment))},329:function(t,r,i){return O(r,t.tagName)||O(r,t.class)||(typeof t.comment=="string"?void 0:fe(r,i,t.comment))},346:function(t,r,i){return O(r,t.tagName)||O(r,t.constraint)||fe(r,i,t.typeParameters)||(typeof t.comment=="string"?void 0:fe(r,i,t.comment))},347:function(t,r,i){return O(r,t.tagName)||(t.typeExpression&&t.typeExpression.kind===310?O(r,t.typeExpression)||O(r,t.fullName)||(typeof t.comment=="string"?void 0:fe(r,i,t.comment)):O(r,t.fullName)||O(r,t.typeExpression)||(typeof t.comment=="string"?void 0:fe(r,i,t.comment)))},339:function(t,r,i){return O(r,t.tagName)||O(r,t.fullName)||O(r,t.typeExpression)||(typeof t.comment=="string"?void 0:fe(r,i,t.comment))},343:Xo,345:Xo,344:Xo,341:Xo,351:Xo,350:Xo,340:Xo,324:function(t,r,i){return qt(t.typeParameters,r)||qt(t.parameters,r)||O(r,t.type)},325:z1,326:z1,327:z1,323:function(t,r,i){return qt(t.jsDocPropertyTags,r)},328:Ki,333:Ki,334:Ki,335:Ki,336:Ki,337:Ki,332:Ki,338:Ki,352:_b,356:fb};function ng(e,t,r){return fe(t,r,e.typeParameters)||fe(t,r,e.parameters)||O(t,e.type)}function rg(e,t,r){return fe(t,r,e.types)}function ig(e,t,r){return O(t,e.type)}function og(e,t,r){return fe(t,r,e.elements)}function sg(e,t,r){return O(t,e.expression)||O(t,e.questionDotToken)||fe(t,r,e.typeArguments)||fe(t,r,e.arguments)}function ag(e,t,r){return fe(t,r,e.statements)}function cg(e,t,r){return O(t,e.label)}function ug(e,t,r){return fe(t,r,e.modifiers)||O(t,e.name)||fe(t,r,e.typeParameters)||fe(t,r,e.heritageClauses)||fe(t,r,e.members)}function lg(e,t,r){return fe(t,r,e.elements)}function _g(e,t,r){return O(t,e.propertyName)||O(t,e.name)}function fg(e,t,r){return O(t,e.tagName)||fe(t,r,e.typeArguments)||O(t,e.attributes)}function Qo(e,t,r){return O(t,e.type)}function pg(e,t,r){return O(t,e.tagName)||(e.isNameFirst?O(t,e.name)||O(t,e.typeExpression):O(t,e.typeExpression)||O(t,e.name))||(typeof e.comment=="string"?void 0:fe(t,r,e.comment))}function Xo(e,t,r){return O(t,e.tagName)||O(t,e.typeExpression)||(typeof e.comment=="string"?void 0:fe(t,r,e.comment))}function z1(e,t,r){return O(t,e.name)}function Ki(e,t,r){return O(t,e.tagName)||(typeof e.comment=="string"?void 0:fe(t,r,e.comment))}function _b(e,t,r){return O(t,e.tagName)||O(t,e.importClause)||O(t,e.moduleSpecifier)||O(t,e.attributes)||(typeof e.comment=="string"?void 0:fe(t,r,e.comment))}function fb(e,t,r){return O(t,e.expression)}function kn(e,t,r){if(e===void 0||e.kind<=166)return;const i=lb[e.kind];return i===void 0?void 0:i(e,t,r)}function dg(e,t,r){const i=mg(e),c=[];for(;c.length<i.length;)c.push(e);for(;i.length!==0;){const l=i.pop(),p=c.pop();if(Vt(l)){if(r){const g=r(l,p);if(g){if(g==="skip")continue;return g}}for(let g=l.length-1;g>=0;--g)i.push(l[g]),c.push(p)}else{const g=t(l,p);if(g){if(g==="skip")continue;return g}if(l.kind>=167)for(const a of mg(l))i.push(a),c.push(l)}}}function mg(e){const t=[];return kn(e,r,r),t;function r(i){t.unshift(i)}}function hg(e){e.externalModuleIndicator=ob(e)}function m3(e,t,r,i=!1,c){var l,p;(l=Vr)==null||l.push(Vr.Phase.Parse,"createSourceFile",{path:e},!0),un("beforeParse");let g;const{languageVersion:a,setExternalModuleIndicator:b,impliedNodeFormat:d,jsDocParsingMode:E}=typeof r=="object"?r:{languageVersion:r};if(a===100)g=eo.parseSourceFile(e,t,a,void 0,i,6,nr,E);else{const T=d===void 0?b:C=>(C.impliedNodeFormat=d,(b||hg)(C));g=eo.parseSourceFile(e,t,a,void 0,i,c,T,E)}return un("afterParse"),ni("Parse","beforeParse","afterParse"),(p=Vr)==null||p.pop(),g}function q1(e,t){return eo.parseJsonText(e,t)}function pb(e){return e.externalModuleIndicator!==void 0}function db(e,t,r,i=!1){const c=of.updateSourceFile(e,t,r,i);return c.flags|=e.flags&12582912,c}var eo;(e=>{var t=Ko(99,!0),r=40960,i,c,l,p,g;function a(u){return Xe++,u}var b={createBaseSourceFileNode:u=>a(new g(u,0,0)),createBaseIdentifierNode:u=>a(new l(u,0,0)),createBasePrivateIdentifierNode:u=>a(new p(u,0,0)),createBaseTokenNode:u=>a(new c(u,0,0)),createBaseNode:u=>a(new i(u,0,0))},d=rk(11,b),{createNodeArray:E,createNumericLiteral:T,createStringLiteral:C,createLiteralLikeNode:S,createIdentifier:j,createPrivateIdentifier:L,createToken:A,createArrayLiteralExpression:U,createObjectLiteralExpression:x,createPropertyAccessExpression:F,createPropertyAccessChain:te,createElementAccessExpression:J,createElementAccessChain:V,createCallExpression:D,createCallChain:Z,createNewExpression:he,createParenthesizedExpression:pe,createBlock:be,createVariableStatement:De,createExpressionStatement:ye,createIfStatement:se,createWhileStatement:Ae,createForStatement:Ue,createForOfStatement:Pe,createVariableDeclaration:kt,createVariableDeclarationList:_t}=d,ve,Je,Ie,M,ge,Le,qe,ue,Se,Te,Xe,xe,pt,Ke,gt,it,wt=!0,$t=!1;function Xn(u,h,k,w,P=!1,R,re,me=0){var ae;if(R=T2(u,R),R===6){const ke=_r(u,h,k,w,P);return uf(ke,(ae=ke.statements[0])==null?void 0:ae.expression,ke.parseDiagnostics,!1,void 0),ke.referencedFiles=tt,ke.typeReferenceDirectives=tt,ke.libReferenceDirectives=tt,ke.amdDependencies=tt,ke.hasNoDefaultLib=!1,ke.pragmas=G3,ke}bn(u,h,k,w,R,me);const ce=Lr(k,P,R,re||hg,me);return jn(),ce}e.parseSourceFile=Xn;function lr(u,h){bn("",u,h,void 0,1,0),Q();const k=di(!0),w=m()===1&&!qe.length;return jn(),w?k:void 0}e.parseIsolatedEntityName=lr;function _r(u,h,k=2,w,P=!1){bn(u,h,k,w,6,0),Je=it,Q();const R=z();let re,me;if(m()===1)re=en([],R,R),me=Tn();else{let ke;for(;m()!==1;){let He;switch(m()){case 23:He=yl();break;case 112:case 97:case 106:He=Tn();break;case 41:K(()=>Q()===9&&Q()!==59)?He=nl():He=ja();break;case 9:case 11:if(K(()=>Q()!==59)){He=Dr();break}default:He=ja();break}ke&&Vt(ke)?ke.push(He):ke?ke=[ke,He]:(ke=He,m()!==1&&Ve(f.Unexpected_token))}const nt=Vt(ke)?B(U(ke),R):N.checkDefined(ke),et=ye(nt);B(et,R),re=en([et],R),me=wr(1,f.Unexpected_token)}const ae=de(u,2,6,!1,re,me,Je,nr);P&&q(ae),ae.nodeCount=Xe,ae.identifierCount=pt,ae.identifiers=xe,ae.parseDiagnostics=Ho(qe,ae),ue&&(ae.jsDocDiagnostics=Ho(ue,ae));const ce=ae;return jn(),ce}e.parseJsonText=_r;function bn(u,h,k,w,P,R){switch(i=ar.getNodeConstructor(),c=ar.getTokenConstructor(),l=ar.getIdentifierConstructor(),p=ar.getPrivateIdentifierConstructor(),g=ar.getSourceFileConstructor(),ve=Mt(u),Ie=h,M=k,Se=w,ge=P,Le=f2(P),qe=[],Ke=0,xe=new Map,pt=0,Xe=0,Je=0,wt=!0,ge){case 1:case 2:it=524288;break;case 6:it=134742016;break;default:it=0;break}$t=!1,t.setText(Ie),t.setOnError(Di),t.setScriptTarget(M),t.setLanguageVariant(Le),t.setScriptKind(ge),t.setJSDocParsingMode(R)}function jn(){t.clearCommentDirectives(),t.setText(""),t.setOnError(void 0),t.setScriptKind(0),t.setJSDocParsingMode(0),Ie=void 0,M=void 0,Se=void 0,ge=void 0,Le=void 0,Je=0,qe=void 0,ue=void 0,Ke=0,xe=void 0,gt=void 0,wt=!0}function Lr(u,h,k,w,P){const R=Yo(ve);R&&(it|=33554432),Je=it,Q();const re=Zn(0,En);N.assert(m()===1);const me=ot(),ae=We(Tn(),me),ce=de(ve,u,k,R,re,ae,Je,w);return vb(ce,Ie),kb(ce,ke),ce.commentDirectives=t.getCommentDirectives(),ce.nodeCount=Xe,ce.identifierCount=pt,ce.identifiers=xe,ce.parseDiagnostics=Ho(qe,ce),ce.jsDocParsingMode=P,ue&&(ce.jsDocDiagnostics=Ho(ue,ce)),h&&q(ce),ce;function ke(nt,et,He){qe.push(Vs(ve,Ie,nt,et,He))}}let ht=!1;function We(u,h){if(!h)return u;N.assert(!u.jsDoc);const k=Od(ev(u,Ie),w=>__.parseJSDocComment(u,w.pos,w.end-w.pos));return k.length&&(u.jsDoc=k),ht&&(ht=!1,u.flags|=536870912),u}function Hr(u){const h=Se,k=of.createSyntaxCursor(u);Se={currentNode:ke};const w=[],P=qe;qe=[];let R=0,re=ae(u.statements,0);for(;re!==-1;){const nt=u.statements[R],et=u.statements[re];fn(w,u.statements,R,re),R=ce(u.statements,re);const He=Ri(P,sn=>sn.start>=nt.pos),wn=He>=0?Ri(P,sn=>sn.start>=et.pos,He):-1;He>=0&&fn(qe,P,He,wn>=0?wn:void 0),zn(()=>{const sn=it;for(it|=65536,t.resetTokenState(et.pos),Q();m()!==1;){const Br=t.getTokenFullStart(),Rr=sa(0,En);if(w.push(Rr),Br===t.getTokenFullStart()&&Q(),R>=0){const mr=u.statements[R];if(Rr.end===mr.pos)break;Rr.end>mr.pos&&(R=ce(u.statements,R+1))}}it=sn},2),re=R>=0?ae(u.statements,R):-1}if(R>=0){const nt=u.statements[R];fn(w,u.statements,R);const et=Ri(P,He=>He.start>=nt.pos);et>=0&&fn(qe,P,et)}return Se=h,d.updateSourceFile(u,Et(E(w),u.statements));function me(nt){return!(nt.flags&65536)&&!!(nt.transformFlags&67108864)}function ae(nt,et){for(let He=et;He<nt.length;He++)if(me(nt[He]))return He;return-1}function ce(nt,et){for(let He=et;He<nt.length;He++)if(!me(nt[He]))return He;return-1}function ke(nt){const et=k.currentNode(nt);return wt&&et&&me(et)&&H1(et),et}}function q(u){q9(u,!0)}e.fixupParentReferences=q;function de(u,h,k,w,P,R,re,me){let ae=d.createSourceFile(P,R,re);if(I2(ae,0,Ie.length),ce(ae),!w&&pb(ae)&&ae.transformFlags&67108864){const ke=ae;ae=Hr(ae),ke!==ae&&ce(ae)}return ae;function ce(ke){ke.text=Ie,ke.bindDiagnostics=[],ke.bindSuggestionDiagnostics=void 0,ke.languageVersion=h,ke.fileName=u,ke.languageVariant=f2(k),ke.isDeclarationFile=w,ke.scriptKind=k,me(ke),ke.setExternalModuleIndicator=me}}function we(u,h){u?it|=h:it&=~h}function je(u){we(u,8192)}function mt(u){we(u,16384)}function bt(u){we(u,32768)}function It(u){we(u,65536)}function nn(u,h){const k=u&it;if(k){we(!1,k);const w=h();return we(!0,k),w}return h()}function Wt(u,h){const k=u&~it;if(k){we(!0,k);const w=h();return we(!1,k),w}return h()}function Lt(u){return nn(8192,u)}function ui(u){return Wt(8192,u)}function Gr(u){return nn(131072,u)}function fr(u){return Wt(131072,u)}function Cr(u){return Wt(16384,u)}function so(u){return Wt(32768,u)}function $(u){return Wt(65536,u)}function ie(u){return nn(65536,u)}function oe(u){return Wt(81920,u)}function Me(u){return nn(81920,u)}function Be(u){return(it&u)!==0}function Re(){return Be(16384)}function Oe(){return Be(8192)}function ft(){return Be(131072)}function Tt(){return Be(32768)}function dt(){return Be(65536)}function Ve(u,...h){return St(t.getTokenStart(),t.getTokenEnd(),u,...h)}function Yn(u,h,k,...w){const P=Ui(qe);let R;return(!P||u!==P.start)&&(R=Vs(ve,Ie,u,h,k,...w),qe.push(R)),$t=!0,R}function St(u,h,k,...w){return Yn(u,h-u,k,...w)}function Wn(u,h,...k){St(u.pos,u.end,h,...k)}function Di(u,h,k){Yn(t.getTokenEnd(),h,u,k)}function z(){return t.getTokenFullStart()}function ot(){return t.hasPrecedingJSDocComment()}function m(){return Te}function Qe(){return Te=t.scan()}function Ye(u){return Q(),u()}function Q(){return zo(Te)&&(t.hasUnicodeEscape()||t.hasExtendedUnicodeEscape())&&St(t.getTokenStart(),t.getTokenEnd(),f.Keywords_cannot_contain_escape_characters),Qe()}function st(){return Te=t.scanJsDocToken()}function Mn(u){return Te=t.scanJSDocCommentTextToken(u)}function lt(){return Te=t.reScanGreaterToken()}function yt(){return Te=t.reScanSlashToken()}function rn(u){return Te=t.reScanTemplateToken(u)}function Qt(){return Te=t.reScanLessThanToken()}function on(){return Te=t.reScanHashToken()}function hn(){return Te=t.scanJsxIdentifier()}function Er(){return Te=t.scanJsxToken()}function ao(){return Te=t.scanJsxAttributeValue()}function zn(u,h){const k=Te,w=qe.length,P=$t,R=it,re=h!==0?t.lookAhead(u):t.tryScan(u);return N.assert(R===it),(!re||h!==0)&&(Te=k,h!==2&&(qe.length=w),$t=P),re}function K(u){return zn(u,1)}function Ce(u){return zn(u,0)}function at(){return m()===80?!0:m()>118}function Ne(){return m()===80?!0:m()===127&&Re()||m()===135&&dt()?!1:m()>118}function H(u,h,k=!0){return m()===u?(k&&Q(),!0):(h?Ve(h):Ve(f._0_expected,xn(u)),!1)}const Bt=Object.keys(Xd).filter(u=>u.length>2);function zt(u){if(Xm(u)){St(yn(Ie,u.template.pos),u.template.end,f.Module_declaration_names_may_only_use_or_quoted_strings);return}const h=vt(u)?Vn(u):void 0;if(!h||!$y(h,M)){Ve(f._0_expected,xn(27));return}const k=yn(Ie,u.pos);switch(h){case"const":case"let":case"var":St(k,u.end,f.Variable_declaration_not_allowed_at_this_location);return;case"declare":return;case"interface":ln(f.Interface_name_cannot_be_0,f.Interface_must_be_given_a_name,19);return;case"is":St(k,t.getTokenStart(),f.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case"module":case"namespace":ln(f.Namespace_name_cannot_be_0,f.Namespace_must_be_given_a_name,19);return;case"type":ln(f.Type_alias_name_cannot_be_0,f.Type_alias_must_be_given_a_name,64);return}const w=Os(h,Bt,Ot)??qn(h);if(w){St(k,u.end,f.Unknown_keyword_or_identifier_Did_you_mean_0,w);return}m()!==0&&St(k,u.end,f.Unexpected_keyword_or_identifier)}function ln(u,h,k){m()===k?Ve(h):Ve(u,t.getTokenValue())}function qn(u){for(const h of Bt)if(u.length>h.length+2&&Zt(u,h))return`${h} ${u.slice(h.length)}`}function Kf(u,h,k){if(m()===60&&!t.hasPrecedingLineBreak()){Ve(f.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(m()===21){Ve(f.Cannot_start_a_function_call_in_a_type_annotation),Q();return}if(h&&!Nr()){k?Ve(f._0_expected,xn(27)):Ve(f.Expected_for_property_initializer);return}if(!is()){if(k){Ve(f._0_expected,xn(27));return}zt(u)}}function Uc(u){return m()===u?(st(),!0):(N.assert(y1(u)),Ve(f._0_expected,xn(u)),!1)}function li(u,h,k,w){if(m()===h){Q();return}const P=Ve(f._0_expected,xn(h));k&&P&&Y_(P,Vs(ve,Ie,w,1,f.The_parser_expected_to_find_a_1_to_match_the_0_token_here,xn(u),xn(h)))}function Ze(u){return m()===u?(Q(),!0):!1}function jt(u){if(m()===u)return Tn()}function ep(u){if(m()===u)return np()}function wr(u,h,k){return jt(u)||Cn(u,!1,h||f._0_expected,k||xn(u))}function tp(u){const h=ep(u);return h||(N.assert(y1(u)),Cn(u,!1,f._0_expected,xn(u)))}function Tn(){const u=z(),h=m();return Q(),B(A(h),u)}function np(){const u=z(),h=m();return st(),B(A(h),u)}function Nr(){return m()===27?!0:m()===20||m()===1||t.hasPrecedingLineBreak()}function is(){return Nr()?(m()===27&&Q(),!0):!1}function An(){return is()||H(27)}function en(u,h,k,w){const P=E(u,w);return Zi(P,h,k??t.getTokenFullStart()),P}function B(u,h,k){return Zi(u,h,k??t.getTokenFullStart()),it&&(u.flags|=it),$t&&($t=!1,u.flags|=262144),u}function Cn(u,h,k,...w){h?Yn(t.getTokenFullStart(),0,k,...w):k&&Ve(k,...w);const P=z(),R=u===80?j("",void 0):Ch(u)?d.createTemplateLiteralLikeNode(u,"","",void 0):u===9?T("",void 0):u===11?C("",void 0):u===283?d.createMissingDeclaration():A(u);return B(R,P)}function _i(u){let h=xe.get(u);return h===void 0&&xe.set(u,h=u),h}function Jr(u,h,k){if(u){pt++;const me=t.hasPrecedingJSDocLeadingAsterisks()?t.getTokenStart():z(),ae=m(),ce=_i(t.getTokenValue()),ke=t.hasExtendedUnicodeEscape();return Qe(),B(j(ce,ae,ke),me)}if(m()===81)return Ve(k||f.Private_identifiers_are_not_allowed_outside_class_bodies),Jr(!0);if(m()===0&&t.tryScan(()=>t.reScanInvalidIdentifier()===80))return Jr(!0);pt++;const w=m()===1,P=t.isReservedWord(),R=t.getTokenText(),re=P?f.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:f.Identifier_expected;return Cn(80,w,h||re,R)}function na(u){return Jr(at(),void 0,u)}function Ft(u,h){return Jr(Ne(),u,h)}function _n(u){return Jr(Gt(m()),u)}function Si(){return(t.hasUnicodeEscape()||t.hasExtendedUnicodeEscape())&&Ve(f.Unicode_escape_sequence_cannot_appear_here),Jr(Gt(m()))}function $r(){return Gt(m())||m()===11||m()===9||m()===10}function Fc(){return Gt(m())||m()===11}function rp(u){if(m()===11||m()===9||m()===10){const h=Dr();return h.text=_i(h.text),h}return u&&m()===23?ip():m()===81?os():_n()}function fi(){return rp(!0)}function ip(){const u=z();H(23);const h=Lt(Xt);return H(24),B(d.createComputedPropertyName(h),u)}function os(){const u=z(),h=L(_i(t.getTokenValue()));return Q(),B(h,u)}function xi(u){return m()===u&&Ce(Vc)}function ra(){return Q(),t.hasPrecedingLineBreak()?!1:jr()}function Vc(){switch(m()){case 87:return Q()===94;case 95:return Q(),m()===90?K(uo):m()===156?K(op):co();case 90:return uo();case 126:return Q(),jr();case 139:case 153:return Q(),sp();default:return ra()}}function co(){return m()===60||m()!==42&&m()!==130&&m()!==19&&jr()}function op(){return Q(),co()}function Wc(){return Ei(m())&&Ce(Vc)}function jr(){return m()===23||m()===19||m()===42||m()===26||$r()}function sp(){return m()===23||$r()}function uo(){return Q(),m()===86||m()===100||m()===120||m()===60||m()===128&&K(Al)||m()===134&&K(Ol)}function ss(u,h){if(cs(u))return!0;switch(u){case 0:case 1:case 3:return!(m()===27&&h)&&Ll();case 2:return m()===84||m()===90;case 4:return K(vu);case 5:return K(Gl)||m()===27&&!h;case 6:return m()===23||$r();case 12:switch(m()){case 23:case 42:case 26:case 25:return!0;default:return $r()}case 18:return $r();case 9:return m()===23||m()===26||$r();case 24:return Fc();case 7:return m()===19?K(zc):h?Ne()&&!ia():Da()&&!ia();case 8:return Fa();case 10:return m()===28||m()===26||Fa();case 19:return m()===103||m()===87||Ne();case 15:switch(m()){case 28:case 25:return!0}case 11:return m()===26||Xr();case 16:return fs(!1);case 17:return fs(!0);case 20:case 21:return m()===28||Oi();case 22:return Ga();case 23:return m()===161&&K(Rl)?!1:m()===11?!0:Gt(m());case 13:return Gt(m())||m()===19;case 14:return!0;case 25:return!0;case 26:return N.fail("ParsingContext.Count used as a context");default:N.assertNever(u,"Non-exhaustive case in 'isListElement'.")}}function zc(){if(N.assert(m()===19),Q()===20){const u=Q();return u===28||u===19||u===96||u===119}return!0}function lo(){return Q(),Ne()}function ap(){return Q(),Gt(m())}function qc(){return Q(),Dy(m())}function ia(){return m()===119||m()===96?K(Hc):!1}function Hc(){return Q(),Xr()}function _o(){return Q(),Oi()}function as(u){if(m()===1)return!0;switch(u){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return m()===20;case 3:return m()===20||m()===84||m()===90;case 7:return m()===19||m()===96||m()===119;case 8:return oa();case 19:return m()===32||m()===21||m()===19||m()===96||m()===119;case 11:return m()===22||m()===27;case 15:case 21:case 10:return m()===24;case 17:case 16:case 18:return m()===22||m()===24;case 20:return m()!==28;case 22:return m()===19||m()===20;case 13:return m()===32||m()===44;case 14:return m()===30&&K(gd);default:return!1}}function oa(){return!!(Nr()||Zu(m())||m()===39)}function Gc(){N.assert(Ke,"Missing parsing context");for(let u=0;u<26;u++)if(Ke&1<<u&&(ss(u,!0)||as(u)))return!0;return!1}function Zn(u,h){const k=Ke;Ke|=1<<u;const w=[],P=z();for(;!as(u);){if(ss(u,!1)){w.push(sa(u,h));continue}if(tu(u))break}return Ke=k,en(w,P)}function sa(u,h){const k=cs(u);return k?$c(k):h()}function cs(u,h){var k;if(!Se||!Qc(u)||$t)return;const w=Se.currentNode(h??t.getTokenFullStart());if(!(Qi(w)||hb(w)||Mh(w)||(w.flags&101441536)!==it)&&Xc(w,u))return m1(w)&&((k=w.jsDoc)!=null&&k.jsDocCache)&&(w.jsDoc.jsDocCache=void 0),w}function $c(u){return t.resetTokenState(u.end),Q(),u}function Qc(u){switch(u){case 5:case 2:case 0:case 1:case 3:case 6:case 4:case 8:case 17:case 16:return!0}return!1}function Xc(u,h){switch(h){case 5:return aa(u);case 2:return Yc(u);case 0:case 1:case 3:return ca(u);case 6:return Zc(u);case 4:return ua(u);case 8:return Kc(u);case 17:case 16:return eu(u)}return!1}function aa(u){if(u)switch(u.kind){case 177:case 182:case 178:case 179:case 173:case 241:return!0;case 175:const h=u;return!(h.name.kind===80&&h.name.escapedText==="constructor")}return!1}function Yc(u){if(u)switch(u.kind){case 297:case 298:return!0}return!1}function ca(u){if(u)switch(u.kind){case 263:case 244:case 242:case 246:case 245:case 258:case 254:case 256:case 253:case 252:case 250:case 251:case 249:case 248:case 255:case 243:case 259:case 257:case 247:case 260:case 273:case 272:case 279:case 278:case 268:case 264:case 265:case 267:case 266:return!0}return!1}function Zc(u){return u.kind===307}function ua(u){if(u)switch(u.kind){case 181:case 174:case 182:case 172:case 180:return!0}return!1}function Kc(u){return u.kind!==261?!1:u.initializer===void 0}function eu(u){return u.kind!==170?!1:u.initializer===void 0}function tu(u){return us(u),Gc()?!0:(Q(),!1)}function us(u){switch(u){case 0:return m()===90?Ve(f._0_expected,xn(95)):Ve(f.Declaration_or_statement_expected);case 1:return Ve(f.Declaration_or_statement_expected);case 2:return Ve(f.case_or_default_expected);case 3:return Ve(f.Statement_expected);case 18:case 4:return Ve(f.Property_or_signature_expected);case 5:return Ve(f.Unexpected_token_A_constructor_method_accessor_or_property_was_expected);case 6:return Ve(f.Enum_member_expected);case 7:return Ve(f.Expression_expected);case 8:return zo(m())?Ve(f._0_is_not_allowed_as_a_variable_declaration_name,xn(m())):Ve(f.Variable_declaration_expected);case 9:return Ve(f.Property_destructuring_pattern_expected);case 10:return Ve(f.Array_element_destructuring_pattern_expected);case 11:return Ve(f.Argument_expression_expected);case 12:return Ve(f.Property_assignment_expected);case 15:return Ve(f.Expression_or_comma_expected);case 17:return Ve(f.Parameter_declaration_expected);case 16:return zo(m())?Ve(f._0_is_not_allowed_as_a_parameter_name,xn(m())):Ve(f.Parameter_declaration_expected);case 19:return Ve(f.Type_parameter_declaration_expected);case 20:return Ve(f.Type_argument_expected);case 21:return Ve(f.Type_expected);case 22:return Ve(f.Unexpected_token_expected);case 23:return m()===161?Ve(f._0_expected,"}"):Ve(f.Identifier_expected);case 13:return Ve(f.Identifier_expected);case 14:return Ve(f.Identifier_expected);case 24:return Ve(f.Identifier_or_string_literal_expected);case 25:return Ve(f.Identifier_expected);case 26:return N.fail("ParsingContext.Count used as a context");default:N.assertNever(u)}}function Hn(u,h,k){const w=Ke;Ke|=1<<u;const P=[],R=z();let re=-1;for(;;){if(ss(u,!1)){const me=t.getTokenFullStart(),ae=sa(u,h);if(!ae){Ke=w;return}if(P.push(ae),re=t.getTokenStart(),Ze(28))continue;if(re=-1,as(u))break;H(28,la(u)),k&&m()===27&&!t.hasPrecedingLineBreak()&&Q(),me===t.getTokenFullStart()&&Q();continue}if(as(u)||tu(u))break}return Ke=w,en(P,R,void 0,re>=0)}function la(u){return u===6?f.An_enum_member_name_must_be_followed_by_a_or:void 0}function Mr(){const u=en([],z());return u.isMissingList=!0,u}function nu(u){return!!u.isMissingList}function pi(u,h,k,w){if(H(k)){const P=Hn(u,h);return H(w),P}return Mr()}function di(u,h){const k=z();let w=u?_n(h):Ft(h);for(;Ze(25)&&m()!==30;)w=B(d.createQualifiedName(w,Pi(u,!1,!0)),k);return w}function cp(u,h){return B(d.createQualifiedName(u,h),u.pos)}function Pi(u,h,k){if(t.hasPrecedingLineBreak()&&Gt(m())&&K(Ba))return Cn(80,!0,f.Identifier_expected);if(m()===81){const w=os();return h?w:Cn(80,!0,f.Identifier_expected)}return u?k?_n():Si():Ft()}function up(u){const h=z(),k=[];let w;do w=su(u),k.push(w);while(w.literal.kind===17);return en(k,h)}function ls(u){const h=z();return B(d.createTemplateExpression(fo(u),up(u)),h)}function ru(){const u=z();return B(d.createTemplateLiteralType(fo(!1),lp()),u)}function lp(){const u=z(),h=[];let k;do k=iu(),h.push(k);while(k.literal.kind===17);return en(h,u)}function iu(){const u=z();return B(d.createTemplateLiteralTypeSpan(At(),ou(!1)),u)}function ou(u){return m()===20?(rn(u),au()):wr(18,f._0_expected,xn(20))}function su(u){const h=z();return B(d.createTemplateSpan(Lt(Xt),ou(u)),h)}function Dr(){return Ii(m())}function fo(u){!u&&t.getTokenFlags()&26656&&rn(!1);const h=Ii(m());return N.assert(h.kind===16,"Template head has wrong token kind"),h}function au(){const u=Ii(m());return N.assert(u.kind===17||u.kind===18,"Template fragment has wrong token kind"),u}function _p(u){const h=u===15||u===18,k=t.getTokenText();return k.substring(1,k.length-(t.isUnterminated()?0:h?1:2))}function Ii(u){const h=z(),k=Ch(u)?d.createTemplateLiteralLikeNode(u,t.getTokenValue(),_p(u),t.getTokenFlags()&7176):u===9?T(t.getTokenValue(),t.getNumericLiteralFlags()):u===11?C(t.getTokenValue(),void 0,t.hasExtendedUnicodeEscape()):N_(u)?S(u,t.getTokenValue()):N.fail();return t.hasExtendedUnicodeEscape()&&(k.hasExtendedUnicodeEscape=!0),t.isUnterminated()&&(k.isUnterminated=!0),Q(),B(k,h)}function Ai(){return di(!0,f.Type_expected)}function cu(){if(!t.hasPrecedingLineBreak()&&Qt()===30)return pi(20,At,30,32)}function _s(){const u=z();return B(d.createTypeReferenceNode(Ai(),cu()),u)}function _a(u){switch(u.kind){case 184:return Qi(u.typeName);case 185:case 186:{const{parameters:h,type:k}=u;return nu(h)||_a(k)}case 197:return _a(u.type);default:return!1}}function fp(u){return Q(),B(d.createTypePredicateNode(void 0,u,At()),u.pos)}function fa(){const u=z();return Q(),B(d.createThisTypeNode(),u)}function pp(){const u=z();return Q(),B(d.createJSDocAllType(),u)}function uu(){const u=z();return Q(),B(d.createJSDocNonNullableType(Ca(),!1),u)}function dp(){const u=z();return Q(),m()===28||m()===20||m()===22||m()===32||m()===64||m()===52?B(d.createJSDocUnknownType(),u):B(d.createJSDocNullableType(At(),!1),u)}function lu(){const u=z(),h=ot();if(Ce(r_)){const k=Sr(36),w=pr(59,!1);return We(B(d.createJSDocFunctionType(k,w),u),h)}return B(d.createTypeReferenceNode(_n(),void 0),u)}function pa(){const u=z();let h;return(m()===110||m()===105)&&(h=_n(),H(59)),B(d.createParameterDeclaration(void 0,void 0,h,void 0,da(),void 0),u)}function da(){t.setSkipJsDocLeadingAsterisks(!0);const u=z();if(Ze(144)){const w=d.createJSDocNamepathType(void 0);e:for(;;)switch(m()){case 20:case 1:case 28:case 5:break e;default:st()}return t.setSkipJsDocLeadingAsterisks(!1),B(w,u)}const h=Ze(26);let k=ms();return t.setSkipJsDocLeadingAsterisks(!1),h&&(k=B(d.createJSDocVariadicType(k),u)),m()===64?(Q(),B(d.createJSDocOptionalType(k),u)):k}function _u(){const u=z();H(114);const h=di(!0),k=t.hasPrecedingLineBreak()?void 0:ws();return B(d.createTypeQueryNode(h,k),u)}function fu(){const u=z(),h=dr(!1,!0),k=Ft();let w,P;Ze(96)&&(Oi()||!Xr()?w=At():P=sl());const R=Ze(64)?At():void 0,re=d.createTypeParameterDeclaration(h,k,w,R);return re.expression=P,B(re,u)}function Gn(){if(m()===30)return pi(19,fu,30,32)}function fs(u){return m()===26||Fa()||Ei(m())||m()===60||Oi(!u)}function pu(u){const h=Li(f.Private_identifiers_cannot_be_used_as_parameters);return z7(h)===0&&!Pt(u)&&Ei(m())&&Q(),h}function du(){return at()||m()===23||m()===19}function ma(u){return ha(u)}function mu(u){return ha(u,!1)}function ha(u,h=!0){const k=z(),w=ot(),P=u?$(()=>dr(!0)):ie(()=>dr(!0));if(m()===110){const ae=d.createParameterDeclaration(P,void 0,Jr(!0),void 0,Qr(),void 0),ce=Ld(P);return ce&&Wn(ce,f.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters),We(B(ae,k),w)}const R=wt;wt=!1;const re=jt(26);if(!h&&!du())return;const me=We(B(d.createParameterDeclaration(P,re,pu(P),jt(58),Qr(),Yr()),k),w);return wt=R,me}function pr(u,h){if(hu(u,h))return Gr(ms)}function hu(u,h){return u===39?(H(u),!0):Ze(59)?!0:h&&m()===39?(Ve(f._0_expected,xn(59)),Q(),!0):!1}function ga(u,h){const k=Re(),w=dt();mt(!!(u&1)),It(!!(u&2));const P=u&32?Hn(17,pa):Hn(16,()=>h?ma(w):mu(w));return mt(k),It(w),P}function Sr(u){if(!H(21))return Mr();const h=ga(u,!0);return H(22),h}function ps(){Ze(28)||An()}function gu(u){const h=z(),k=ot();u===181&&H(105);const w=Gn(),P=Sr(4),R=pr(59,!0);ps();const re=u===180?d.createCallSignature(w,P,R):d.createConstructSignature(w,P,R);return We(B(re,h),k)}function mi(){return m()===23&&K(mp)}function mp(){if(Q(),m()===26||m()===24)return!0;if(Ei(m())){if(Q(),Ne())return!0}else if(Ne())Q();else return!1;return m()===59||m()===28?!0:m()!==58?!1:(Q(),m()===59||m()===28||m()===24)}function ya(u,h,k){const w=pi(16,()=>ma(!1),23,24),P=Qr();ps();const R=d.createIndexSignature(k,w,P);return We(B(R,u),h)}function yu(u,h,k){const w=fi(),P=jt(58);let R;if(m()===21||m()===30){const re=Gn(),me=Sr(4),ae=pr(59,!0);R=d.createMethodSignature(k,w,P,re,me,ae)}else{const re=Qr();R=d.createPropertySignature(k,w,P,re),m()===64&&(R.initializer=Yr())}return ps(),We(B(R,u),h)}function vu(){if(m()===21||m()===30||m()===139||m()===153)return!0;let u=!1;for(;Ei(m());)u=!0,Q();return m()===23?!0:($r()&&(u=!0,Q()),u?m()===21||m()===30||m()===58||m()===59||m()===28||Nr():!1)}function po(){if(m()===21||m()===30)return gu(180);if(m()===105&&K(ku))return gu(181);const u=z(),h=ot(),k=dr(!1);return xi(139)?Ji(u,h,k,178,4):xi(153)?Ji(u,h,k,179,4):mi()?ya(u,h,k):yu(u,h,k)}function ku(){return Q(),m()===21||m()===30}function bu(){return Q()===25}function Tu(){switch(Q()){case 21:case 30:case 25:return!0}return!1}function Cu(){const u=z();return B(d.createTypeLiteralNode(Eu()),u)}function Eu(){let u;return H(19)?(u=Zn(4,po),H(20)):u=Mr(),u}function wu(){return Q(),m()===40||m()===41?Q()===148:(m()===148&&Q(),m()===23&&lo()&&Q()===103)}function hp(){const u=z(),h=_n();H(103);const k=At();return B(d.createTypeParameterDeclaration(void 0,h,k,void 0),u)}function Du(){const u=z();H(19);let h;(m()===148||m()===40||m()===41)&&(h=Tn(),h.kind!==148&&H(148)),H(23);const k=hp(),w=Ze(130)?At():void 0;H(24);let P;(m()===58||m()===40||m()===41)&&(P=Tn(),P.kind!==58&&H(58));const R=Qr();An();const re=Zn(4,po);return H(20),B(d.createMappedTypeNode(h,k,w,P,R,re),u)}function Su(){const u=z();if(Ze(26))return B(d.createRestTypeNode(At()),u);const h=At();if(q2(h)&&h.pos===h.type.pos){const k=d.createOptionalTypeNode(h.type);return Et(k,h),k.flags=h.flags,k}return h}function va(){return Q()===59||m()===58&&Q()===59}function gp(){return m()===26?Gt(Q())&&va():Gt(m())&&va()}function xu(){if(K(gp)){const u=z(),h=ot(),k=jt(26),w=_n(),P=jt(58);H(59);const R=Su(),re=d.createNamedTupleMember(k,w,P,R);return We(B(re,u),h)}return Su()}function yp(){const u=z();return B(d.createTupleTypeNode(pi(21,xu,23,24)),u)}function Pu(){const u=z();H(21);const h=At();return H(22),B(d.createParenthesizedType(h),u)}function vp(){let u;if(m()===128){const h=z();Q();const k=B(A(128),h);u=en([k],h)}return u}function ka(){const u=z(),h=ot(),k=vp(),w=Ze(105);N.assert(!k||w,"Per isStartOfFunctionOrConstructorType, a function type cannot have modifiers.");const P=Gn(),R=Sr(4),re=pr(39,!1),me=w?d.createConstructorTypeNode(k,P,R,re):d.createFunctionTypeNode(P,R,re);return We(B(me,u),h)}function Iu(){const u=Tn();return m()===25?void 0:u}function ba(u){const h=z();u&&Q();let k=m()===112||m()===97||m()===106?Tn():Ii(m());return u&&(k=B(d.createPrefixUnaryExpression(41,k),h)),B(d.createLiteralTypeNode(k),h)}function kp(){return Q(),m()===102}function Ta(){Je|=4194304;const u=z(),h=Ze(114);H(102),H(21);const k=At();let w;if(Ze(28)){const re=t.getTokenStart();H(19);const me=m();if(me===118||me===132?Q():Ve(f._0_expected,xn(118)),H(59),w=Xa(me,!0),Ze(28),!H(20)){const ae=Ui(qe);ae&&ae.code===f._0_expected.code&&Y_(ae,Vs(ve,Ie,re,1,f.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}}H(22);const P=Ze(25)?Ai():void 0,R=cu();return B(d.createImportTypeNode(k,w,P,R,h),u)}function Au(){return Q(),m()===9||m()===10}function Ca(){switch(m()){case 133:case 159:case 154:case 150:case 163:case 155:case 136:case 157:case 146:case 151:return Ce(Iu)||_s();case 67:t.reScanAsteriskEqualsToken();case 42:return pp();case 61:t.reScanQuestionToken();case 58:return dp();case 100:return lu();case 54:return uu();case 15:case 11:case 9:case 10:case 112:case 97:case 106:return ba();case 41:return K(Au)?ba(!0):_s();case 116:return Tn();case 110:{const u=fa();return m()===142&&!t.hasPrecedingLineBreak()?fp(u):u}case 114:return K(kp)?Ta():_u();case 19:return K(wu)?Du():Cu();case 23:return yp();case 21:return Pu();case 102:return Ta();case 131:return K(Ba)?Fu():_s();case 16:return ru();default:return _s()}}function Oi(u){switch(m()){case 133:case 159:case 154:case 150:case 163:case 136:case 148:case 155:case 158:case 116:case 157:case 106:case 110:case 114:case 146:case 19:case 23:case 30:case 52:case 51:case 105:case 11:case 9:case 10:case 112:case 97:case 151:case 42:case 58:case 54:case 26:case 140:case 102:case 131:case 15:case 16:return!0;case 100:return!u;case 41:return!u&&K(Au);case 21:return!u&&K(Ou);default:return Ne()}}function Ou(){return Q(),m()===22||fs(!1)||Oi()}function Lu(){const u=z();let h=Ca();for(;!t.hasPrecedingLineBreak();)switch(m()){case 54:Q(),h=B(d.createJSDocNonNullableType(h,!0),u);break;case 58:if(K(_o))return h;Q(),h=B(d.createJSDocNullableType(h,!0),u);break;case 23:if(H(23),Oi()){const k=At();H(24),h=B(d.createIndexedAccessTypeNode(h,k),u)}else H(24),h=B(d.createArrayTypeNode(h),u);break;default:return h}return h}function Nu(u){const h=z();return H(u),B(d.createTypeOperatorNode(u,ju()),h)}function bp(){if(Ze(96)){const u=fr(At);if(ft()||m()!==58)return u}}function Ju(){const u=z(),h=Ft(),k=Ce(bp),w=d.createTypeParameterDeclaration(void 0,h,k);return B(w,u)}function Tp(){const u=z();return H(140),B(d.createInferTypeNode(Ju()),u)}function ju(){const u=m();switch(u){case 143:case 158:case 148:return Nu(u);case 140:return Tp()}return Gr(Lu)}function ds(u){if(wa()){const h=ka();let k;return jc(h)?k=u?f.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:f.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:k=u?f.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:f.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type,Wn(h,k),h}}function Mu(u,h,k){const w=z(),P=u===52,R=Ze(u);let re=R&&ds(P)||h();if(m()===u||R){const me=[re];for(;Ze(u);)me.push(ds(P)||h());re=B(k(en(me,w)),w)}return re}function Ea(){return Mu(51,ju,d.createIntersectionTypeNode)}function Cp(){return Mu(52,Ea,d.createUnionTypeNode)}function Bu(){return Q(),m()===105}function wa(){return m()===30||m()===21&&K(Ru)?!0:m()===105||m()===128&&K(Bu)}function Ep(){if(Ei(m())&&dr(!1),Ne()||m()===110)return Q(),!0;if(m()===23||m()===19){const u=qe.length;return Li(),u===qe.length}return!1}function Ru(){return Q(),!!(m()===22||m()===26||Ep()&&(m()===59||m()===28||m()===58||m()===64||m()===22&&(Q(),m()===39)))}function ms(){const u=z(),h=Ne()&&Ce(Uu),k=At();return h?B(d.createTypePredicateNode(void 0,h,k),u):k}function Uu(){const u=Ft();if(m()===142&&!t.hasPrecedingLineBreak())return Q(),u}function Fu(){const u=z(),h=wr(131),k=m()===110?fa():Ft(),w=Ze(142)?At():void 0;return B(d.createTypePredicateNode(h,k,w),u)}function At(){if(it&81920)return nn(81920,At);if(wa())return ka();const u=z(),h=Cp();if(!ft()&&!t.hasPrecedingLineBreak()&&Ze(96)){const k=fr(At);H(58);const w=Gr(At);H(59);const P=Gr(At);return B(d.createConditionalTypeNode(h,k,w,P),u)}return h}function Qr(){return Ze(59)?At():void 0}function Da(){switch(m()){case 110:case 108:case 106:case 112:case 97:case 9:case 10:case 11:case 15:case 16:case 21:case 23:case 19:case 100:case 86:case 105:case 44:case 69:case 80:return!0;case 102:return K(Tu);default:return Ne()}}function Xr(){if(Da())return!0;switch(m()){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 46:case 47:case 30:case 135:case 127:case 81:case 60:return!0;default:return Ku()?!0:Ne()}}function Vu(){return m()!==19&&m()!==100&&m()!==86&&m()!==60&&Xr()}function Xt(){const u=Tt();u&&bt(!1);const h=z();let k=gn(!0),w;for(;w=jt(28);)k=Pa(k,w,gn(!0),h);return u&&bt(!0),k}function Yr(){return Ze(64)?gn(!0):void 0}function gn(u){if(Wu())return zu();const h=Dp(u)||Qu(u);if(h)return h;const k=z(),w=ot(),P=mo(0);return P.kind===80&&m()===39?qu(k,P,u,w,void 0):$i(P)&&i2(lt())?Pa(P,Tn(),gn(u),k):Sp(P,k,u)}function Wu(){return m()===127?Re()?!0:K(Ra):!1}function wp(){return Q(),!t.hasPrecedingLineBreak()&&Ne()}function zu(){const u=z();return Q(),!t.hasPrecedingLineBreak()&&(m()===42||Xr())?B(d.createYieldExpression(jt(42),gn(!0)),u):B(d.createYieldExpression(void 0,void 0),u)}function qu(u,h,k,w,P){N.assert(m()===39,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");const R=d.createParameterDeclaration(void 0,void 0,h,void 0,void 0,void 0);B(R,h.pos);const re=en([R],R.pos,R.end),me=wr(39),ae=Sa(!!P,k),ce=d.createArrowFunction(P,void 0,re,void 0,me,ae);return We(B(ce,u),w)}function Dp(u){const h=Hu();if(h!==0)return h===1?Yu(!0,!0):Ce(()=>$u(u))}function Hu(){return m()===21||m()===30||m()===134?K(Gu):m()===39?1:0}function Gu(){if(m()===134&&(Q(),t.hasPrecedingLineBreak()||m()!==21&&m()!==30))return 0;const u=m(),h=Q();if(u===21){if(h===22)switch(Q()){case 39:case 59:case 19:return 1;default:return 0}if(h===23||h===19)return 2;if(h===26)return 1;if(Ei(h)&&h!==134&&K(lo))return Q()===130?0:1;if(!Ne()&&h!==110)return 0;switch(Q()){case 59:return 1;case 58:return Q(),m()===59||m()===28||m()===64||m()===22?1:0;case 28:case 64:case 22:return 2}return 0}else return N.assert(u===30),!Ne()&&m()!==87?0:Le===1?K(()=>{Ze(87);const w=Q();if(w===96)switch(Q()){case 64:case 32:case 44:return!1;default:return!0}else if(w===28||w===64)return!0;return!1})?1:0:2}function $u(u){const h=t.getTokenStart();if(gt?.has(h))return;const k=Yu(!1,u);return k||(gt||(gt=new Set)).add(h),k}function Qu(u){if(m()===134&&K(Xu)===1){const h=z(),k=ot(),w=Xl(),P=mo(0);return qu(h,P,u,k,w)}}function Xu(){if(m()===134){if(Q(),t.hasPrecedingLineBreak()||m()===39)return 0;const u=mo(0);if(!t.hasPrecedingLineBreak()&&u.kind===80&&m()===39)return 1}return 0}function Yu(u,h){const k=z(),w=ot(),P=Xl(),R=Pt(P,nf)?2:0,re=Gn();let me;if(H(21)){if(u)me=ga(R,u);else{const Br=ga(R,u);if(!Br)return;me=Br}if(!H(22)&&!u)return}else{if(!u)return;me=Mr()}const ae=m()===59,ce=pr(59,!1);if(ce&&!u&&_a(ce))return;let ke=ce;for(;ke?.kind===197;)ke=ke.type;const nt=ke&&Lk(ke);if(!u&&m()!==39&&(nt||m()!==19))return;const et=m(),He=wr(39),wn=et===39||et===19?Sa(Pt(P,nf),h):Ft();if(!h&&ae&&m()!==59)return;const sn=d.createArrowFunction(P,re,me,ce,He,wn);return We(B(sn,k),w)}function Sa(u,h){if(m()===19)return ks(u?2:0);if(m()!==27&&m()!==100&&m()!==86&&Ll()&&!Vu())return ks(16|(u?2:0));const k=Re();mt(!1);const w=wt;wt=!1;const P=u?$(()=>gn(h)):ie(()=>gn(h));return wt=w,mt(k),P}function Sp(u,h,k){const w=jt(58);if(!w)return u;let P;return B(d.createConditionalExpression(u,w,nn(r,()=>gn(!1)),P=wr(59),u1(P)?gn(k):Cn(80,!1,f._0_expected,xn(59))),h)}function mo(u){const h=z(),k=sl();return xa(u,k,h)}function Zu(u){return u===103||u===165}function xa(u,h,k){for(;;){lt();const w=U_(m());if(!(m()===43?w>=u:w>u)||m()===103&&Oe())break;if(m()===130||m()===152){if(t.hasPrecedingLineBreak())break;{const R=m();Q(),h=R===152?el(h,At()):tl(h,At())}}else h=Pa(h,Tn(),mo(w),k)}return h}function Ku(){return Oe()&&m()===103?!1:U_(m())>0}function el(u,h){return B(d.createSatisfiesExpression(u,h),u.pos)}function Pa(u,h,k,w){return B(d.createBinaryExpression(u,h,k),w)}function tl(u,h){return B(d.createAsExpression(u,h),u.pos)}function nl(){const u=z();return B(d.createPrefixUnaryExpression(m(),Ye(Zr)),u)}function rl(){const u=z();return B(d.createDeleteExpression(Ye(Zr)),u)}function xp(){const u=z();return B(d.createTypeOfExpression(Ye(Zr)),u)}function il(){const u=z();return B(d.createVoidExpression(Ye(Zr)),u)}function Pp(){return m()===135?dt()?!0:K(Ra):!1}function ol(){const u=z();return B(d.createAwaitExpression(Ye(Zr)),u)}function sl(){if(Ip()){const k=z(),w=hs();return m()===43?xa(U_(m()),w,k):w}const u=m(),h=Zr();if(m()===43){const k=yn(Ie,h.pos),{end:w}=h;h.kind===217?St(k,w,f.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):(N.assert(y1(u)),St(k,w,f.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,xn(u)))}return h}function Zr(){switch(m()){case 40:case 41:case 55:case 54:return nl();case 91:return rl();case 114:return xp();case 116:return il();case 30:return Le===1?go(!0,void 0,void 0,!0):_l();case 135:if(Pp())return ol();default:return hs()}}function Ip(){switch(m()){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 135:return!1;case 30:if(Le!==1)return!1;default:return!0}}function hs(){if(m()===46||m()===47){const h=z();return B(d.createPrefixUnaryExpression(m(),Ye(ho)),h)}else if(Le===1&&m()===30&&K(qc))return go(!0);const u=ho();if(N.assert($i(u)),(m()===46||m()===47)&&!t.hasPrecedingLineBreak()){const h=m();return Q(),B(d.createPostfixUnaryExpression(u,h),u.pos)}return u}function ho(){const u=z();let h;return m()===102?K(ku)?(Je|=4194304,h=Tn()):K(bu)?(Q(),Q(),h=B(d.createMetaProperty(102,_n()),u),h.name.escapedText==="defer"?(m()===21||m()===30)&&(Je|=4194304):Je|=8388608):h=gs():h=m()===108?al():gs(),Na(u,h)}function gs(){const u=z(),h=Ja();return Bn(u,h,!0)}function al(){const u=z();let h=Tn();if(m()===30){const k=z(),w=Ce(vs);w!==void 0&&(St(k,z(),f.super_may_not_use_type_arguments),Kn()||(h=d.createExpressionWithTypeArguments(h,w)))}return m()===21||m()===25||m()===23?h:(wr(25,f.super_must_be_followed_by_an_argument_list_or_member_access),B(F(h,Pi(!0,!0,!0)),u))}function go(u,h,k,w=!1){const P=z(),R=Lp(u);let re;if(R.kind===287){let me=ys(R),ae;const ce=me[me.length-1];if(ce?.kind===285&&!to(ce.openingElement.tagName,ce.closingElement.tagName)&&to(R.tagName,ce.closingElement.tagName)){const ke=ce.children.end,nt=B(d.createJsxElement(ce.openingElement,ce.children,B(d.createJsxClosingElement(B(j(""),ke,ke)),ke,ke)),ce.openingElement.pos,ke);me=en([...me.slice(0,me.length-1),nt],me.pos,ke),ae=ce.closingElement}else ae=ll(R,u),to(R.tagName,ae.tagName)||(k&&Xf(k)&&to(ae.tagName,k.tagName)?Wn(R.tagName,f.JSX_element_0_has_no_corresponding_closing_tag,_c(Ie,R.tagName)):Wn(ae.tagName,f.Expected_corresponding_JSX_closing_tag_for_0,_c(Ie,R.tagName)));re=B(d.createJsxElement(R,me,ae),P)}else R.kind===290?re=B(d.createJsxFragment(R,ys(R),Mp(u)),P):(N.assert(R.kind===286),re=R);if(!w&&u&&m()===30){const me=typeof h>"u"?re.pos:h,ae=Ce(()=>go(!0,me));if(ae){const ce=Cn(28,!1);return I2(ce,ae.pos,0),St(yn(Ie,me),ae.end,f.JSX_expressions_must_have_one_parent_element),B(d.createBinaryExpression(re,ce,ae),P)}}return re}function Ia(){const u=z(),h=d.createJsxText(t.getTokenValue(),Te===13);return Te=t.scanJsxToken(),B(h,u)}function Ap(u,h){switch(h){case 1:if(Ak(u))Wn(u,f.JSX_fragment_has_no_corresponding_closing_tag);else{const k=u.tagName,w=Math.min(yn(Ie,k.pos),k.end);St(w,k.end,f.JSX_element_0_has_no_corresponding_closing_tag,_c(Ie,u.tagName))}return;case 31:case 7:return;case 12:case 13:return Ia();case 19:return cl(!1);case 30:return go(!1,void 0,u);default:return N.assertNever(h)}}function ys(u){const h=[],k=z(),w=Ke;for(Ke|=16384;;){const P=Ap(u,Te=t.reScanJsxToken());if(!P||(h.push(P),Xf(u)&&P?.kind===285&&!to(P.openingElement.tagName,P.closingElement.tagName)&&to(u.tagName,P.closingElement.tagName)))break}return Ke=w,en(h,k)}function Op(){const u=z();return B(d.createJsxAttributes(Zn(13,ul)),u)}function Lp(u){const h=z();if(H(30),m()===32)return Er(),B(d.createJsxOpeningFragment(),h);const k=Aa(),w=(it&524288)===0?ws():void 0,P=Op();let R;return m()===32?(Er(),R=d.createJsxOpeningElement(k,w,P)):(H(44),H(32,void 0,!1)&&(u?Q():Er()),R=d.createJsxSelfClosingElement(k,w,P)),B(R,h)}function Aa(){const u=z(),h=Np();if(z2(h))return h;let k=h;for(;Ze(25);)k=B(F(k,Pi(!0,!1,!1)),u);return k}function Np(){const u=z();hn();const h=m()===110,k=Si();return Ze(59)?(hn(),B(d.createJsxNamespacedName(k,Si()),u)):h?B(d.createToken(110),u):k}function cl(u){const h=z();if(!H(19))return;let k,w;return m()!==20&&(u||(k=jt(26)),w=Xt()),u?H(20):H(20,void 0,!1)&&Er(),B(d.createJsxExpression(k,w),h)}function ul(){if(m()===19)return jp();const u=z();return B(d.createJsxAttribute(Jp(),Oa()),u)}function Oa(){if(m()===64){if(ao()===11)return Dr();if(m()===19)return cl(!0);if(m()===30)return go(!0);Ve(f.or_JSX_element_expected)}}function Jp(){const u=z();hn();const h=Si();return Ze(59)?(hn(),B(d.createJsxNamespacedName(h,Si()),u)):h}function jp(){const u=z();H(19),H(26);const h=Xt();return H(20),B(d.createJsxSpreadAttribute(h),u)}function ll(u,h){const k=z();H(31);const w=Aa();return H(32,void 0,!1)&&(h||!to(u.tagName,w)?Q():Er()),B(d.createJsxClosingElement(w),k)}function Mp(u){const h=z();return H(31),H(32,f.Expected_corresponding_closing_tag_for_JSX_fragment,!1)&&(u?Q():Er()),B(d.createJsxJsxClosingFragment(),h)}function _l(){N.assert(Le!==1,"Type assertions should never be parsed in JSX; they should be parsed as comparisons or JSX elements/fragments.");const u=z();H(30);const h=At();H(32);const k=Zr();return B(d.createTypeAssertion(h,k),u)}function Bp(){return Q(),Gt(m())||m()===23||Kn()}function fl(){return m()===29&&K(Bp)}function La(u){if(u.flags&64)return!0;if(ta(u)){let h=u.expression;for(;ta(h)&&!(h.flags&64);)h=h.expression;if(h.flags&64){for(;ta(u);)u.flags|=64,u=u.expression;return!0}}return!1}function pl(u,h,k){const w=Pi(!0,!0,!0),P=k||La(h),R=P?te(h,k,w):F(h,w);if(P&&si(R.name)&&Wn(R.name,f.An_optional_chain_cannot_contain_private_identifiers),Pk(h)&&h.typeArguments){const re=h.typeArguments.pos-1,me=yn(Ie,h.typeArguments.end)+1;St(re,me,f.An_instantiation_expression_cannot_be_followed_by_a_property_access)}return B(R,u)}function Rp(u,h,k){let w;if(m()===24)w=Cn(80,!0,f.An_element_access_expression_should_take_an_argument);else{const R=Lt(Xt);qo(R)&&(R.text=_i(R.text)),w=R}H(24);const P=k||La(h)?V(h,k,w):J(h,w);return B(P,u)}function Bn(u,h,k){for(;;){let w,P=!1;if(k&&fl()?(w=wr(29),P=Gt(m())):P=Ze(25),P){h=pl(u,h,w);continue}if((w||!Tt())&&Ze(23)){h=Rp(u,h,w);continue}if(Kn()){h=!w&&h.kind===234?hi(u,h.expression,w,h.typeArguments):hi(u,h,w,void 0);continue}if(!w){if(m()===54&&!t.hasPrecedingLineBreak()){Q(),h=B(d.createNonNullExpression(h),u);continue}const R=Ce(vs);if(R){h=B(d.createExpressionWithTypeArguments(h,R),u);continue}}return h}}function Kn(){return m()===15||m()===16}function hi(u,h,k,w){const P=d.createTaggedTemplateExpression(h,w,m()===15?(rn(!0),Dr()):ls(!0));return(k||h.flags&64)&&(P.flags|=64),P.questionDotToken=k,B(P,u)}function Na(u,h){for(;;){h=Bn(u,h,!0);let k;const w=jt(29);if(w&&(k=Ce(vs),Kn())){h=hi(u,h,w,k);continue}if(k||m()===21){!w&&h.kind===234&&(k=h.typeArguments,h=h.expression);const P=dl(),R=w||La(h)?Z(h,w,k,P):D(h,k,P);h=B(R,u);continue}if(w){const P=Cn(80,!1,f.Identifier_expected);h=B(te(h,w,P),u)}break}return h}function dl(){H(21);const u=Hn(11,gl);return H(22),u}function vs(){if((it&524288)!==0||Qt()!==30)return;Q();const u=Hn(20,At);if(lt()===32)return Q(),u&&Up()?u:void 0}function Up(){switch(m()){case 21:case 15:case 16:return!0;case 30:case 32:case 40:case 41:return!1}return t.hasPrecedingLineBreak()||Ku()||!Xr()}function Ja(){switch(m()){case 15:t.getTokenFlags()&26656&&rn(!1);case 9:case 10:case 11:return Dr();case 110:case 108:case 106:case 112:case 97:return Tn();case 21:return Fp();case 23:return yl();case 19:return ja();case 134:if(!K(Ol))break;return Ma();case 60:return ad();case 86:return cd();case 100:return Ma();case 105:return kl();case 44:case 69:if(yt()===14)return Dr();break;case 16:return ls(!1);case 81:return os()}return Ft(f.Expression_expected)}function Fp(){const u=z(),h=ot();H(21);const k=Lt(Xt);return H(22),We(B(pe(k),u),h)}function ml(){const u=z();H(26);const h=gn(!0);return B(d.createSpreadElement(h),u)}function hl(){return m()===26?ml():m()===28?B(d.createOmittedExpression(),z()):gn(!0)}function gl(){return nn(r,hl)}function yl(){const u=z(),h=t.getTokenStart(),k=H(23),w=t.hasPrecedingLineBreak(),P=Hn(15,hl);return li(23,24,k,h),B(U(P,w),u)}function vl(){const u=z(),h=ot();if(jt(26)){const ke=gn(!0);return We(B(d.createSpreadAssignment(ke),u),h)}const k=dr(!0);if(xi(139))return Ji(u,h,k,178,0);if(xi(153))return Ji(u,h,k,179,0);const w=jt(42),P=Ne(),R=fi(),re=jt(58),me=jt(54);if(w||m()===21||m()===30)return Hl(u,h,k,w,R,re,me);let ae;if(P&&m()!==59){const ke=jt(64),nt=ke?Lt(()=>gn(!0)):void 0;ae=d.createShorthandPropertyAssignment(R,nt),ae.equalsToken=ke}else{H(59);const ke=Lt(()=>gn(!0));ae=d.createPropertyAssignment(R,ke)}return ae.modifiers=k,ae.questionToken=re,ae.exclamationToken=me,We(B(ae,u),h)}function ja(){const u=z(),h=t.getTokenStart(),k=H(19),w=t.hasPrecedingLineBreak(),P=Hn(12,vl,!0);return li(19,20,k,h),B(x(P,w),u)}function Ma(){const u=Tt();bt(!1);const h=z(),k=ot(),w=dr(!1);H(100);const P=jt(42),R=P?1:0,re=Pt(w,nf)?2:0,me=R&&re?oe(yo):R?Cr(yo):re?$(yo):yo(),ae=Gn(),ce=Sr(R|re),ke=pr(59,!1),nt=ks(R|re);bt(u);const et=d.createFunctionExpression(w,P,me,ae,ce,ke,nt);return We(B(et,h),k)}function yo(){return at()?na():void 0}function kl(){const u=z();if(H(105),Ze(25)){const R=_n();return B(d.createMetaProperty(105,R),u)}const h=z();let k=Bn(h,Ja(),!1),w;k.kind===234&&(w=k.typeArguments,k=k.expression),m()===29&&Ve(f.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0,_c(Ie,k));const P=m()===21?dl():void 0;return B(he(k,w,P),u)}function gi(u,h){const k=z(),w=ot(),P=t.getTokenStart(),R=H(19,h);if(R||u){const re=t.hasPrecedingLineBreak(),me=Zn(1,En);li(19,20,R,P);const ae=We(B(be(me,re),k),w);return m()===64&&(Ve(f.Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_whole_assignment_in_parentheses),Q()),ae}else{const re=Mr();return We(B(be(re,void 0),k),w)}}function ks(u,h){const k=Re();mt(!!(u&1));const w=dt();It(!!(u&2));const P=wt;wt=!1;const R=Tt();R&&bt(!1);const re=gi(!!(u&16),h);return R&&bt(!0),wt=P,mt(k),It(w),re}function bl(){const u=z(),h=ot();return H(27),We(B(d.createEmptyStatement(),u),h)}function Vp(){const u=z(),h=ot();H(101);const k=t.getTokenStart(),w=H(21),P=Lt(Xt);li(21,22,w,k);const R=En(),re=Ze(93)?En():void 0;return We(B(se(P,R,re),u),h)}function Tl(){const u=z(),h=ot();H(92);const k=En();H(117);const w=t.getTokenStart(),P=H(21),R=Lt(Xt);return li(21,22,P,w),Ze(27),We(B(d.createDoStatement(k,R),u),h)}function Wp(){const u=z(),h=ot();H(117);const k=t.getTokenStart(),w=H(21),P=Lt(Xt);li(21,22,w,k);const R=En();return We(B(Ae(P,R),u),h)}function Cl(){const u=z(),h=ot();H(99);const k=jt(135);H(21);let w;m()!==27&&(m()===115||m()===121||m()===87||m()===160&&K(Jl)||m()===135&&K(Ua)?w=Wl(!0):w=ui(Xt));let P;if(k?H(165):Ze(165)){const R=Lt(()=>gn(!0));H(22),P=Pe(k,w,R,En())}else if(Ze(103)){const R=Lt(Xt);H(22),P=d.createForInStatement(w,R,En())}else{H(27);const R=m()!==27&&m()!==22?Lt(Xt):void 0;H(27);const re=m()!==22?Lt(Xt):void 0;H(22),P=Ue(w,R,re,En())}return We(B(P,u),h)}function El(u){const h=z(),k=ot();H(u===253?83:88);const w=Nr()?void 0:Ft();An();const P=u===253?d.createBreakStatement(w):d.createContinueStatement(w);return We(B(P,h),k)}function wl(){const u=z(),h=ot();H(107);const k=Nr()?void 0:Lt(Xt);return An(),We(B(d.createReturnStatement(k),u),h)}function zp(){const u=z(),h=ot();H(118);const k=t.getTokenStart(),w=H(21),P=Lt(Xt);li(21,22,w,k);const R=Wt(67108864,En);return We(B(d.createWithStatement(P,R),u),h)}function Dl(){const u=z(),h=ot();H(84);const k=Lt(Xt);H(59);const w=Zn(3,En);return We(B(d.createCaseClause(k,w),u),h)}function qp(){const u=z();H(90),H(59);const h=Zn(3,En);return B(d.createDefaultClause(h),u)}function Hp(){return m()===84?Dl():qp()}function Sl(){const u=z();H(19);const h=Zn(2,Hp);return H(20),B(d.createCaseBlock(h),u)}function Gp(){const u=z(),h=ot();H(109),H(21);const k=Lt(Xt);H(22);const w=Sl();return We(B(d.createSwitchStatement(k,w),u),h)}function xl(){const u=z(),h=ot();H(111);let k=t.hasPrecedingLineBreak()?void 0:Lt(Xt);return k===void 0&&(pt++,k=B(j(""),z())),is()||zt(k),We(B(d.createThrowStatement(k),u),h)}function $p(){const u=z(),h=ot();H(113);const k=gi(!1),w=m()===85?Pl():void 0;let P;return(!w||m()===98)&&(H(98,f.catch_or_finally_expected),P=gi(!1)),We(B(d.createTryStatement(k,w,P),u),h)}function Pl(){const u=z();H(85);let h;Ze(21)?(h=Cs(),H(22)):h=void 0;const k=gi(!1);return B(d.createCatchClause(h,k),u)}function Qp(){const u=z(),h=ot();return H(89),An(),We(B(d.createDebuggerStatement(),u),h)}function Il(){const u=z();let h=ot(),k;const w=m()===21,P=Lt(Xt);return vt(P)&&Ze(59)?k=d.createLabeledStatement(P,En()):(is()||zt(P),k=ye(P),w&&(h=!1)),We(B(k,u),h)}function Ba(){return Q(),Gt(m())&&!t.hasPrecedingLineBreak()}function Al(){return Q(),m()===86&&!t.hasPrecedingLineBreak()}function Ol(){return Q(),m()===100&&!t.hasPrecedingLineBreak()}function Ra(){return Q(),(Gt(m())||m()===9||m()===10||m()===11)&&!t.hasPrecedingLineBreak()}function Xp(){for(;;)switch(m()){case 115:case 121:case 87:case 100:case 86:case 94:return!0;case 160:return jl();case 135:return Ts();case 120:case 156:case 166:return wp();case 144:case 145:return ed();case 128:case 129:case 134:case 138:case 123:case 124:case 125:case 148:const u=m();if(Q(),t.hasPrecedingLineBreak())return!1;if(u===138&&m()===156)return!0;continue;case 162:return Q(),m()===19||m()===80||m()===95;case 102:return Q(),m()===166||m()===11||m()===42||m()===19||Gt(m());case 95:let h=Q();if(h===156&&(h=K(Q)),h===64||h===42||h===19||h===90||h===130||h===60)return!0;continue;case 126:Q();continue;default:return!1}}function vo(){return K(Xp)}function Ll(){switch(m()){case 60:case 27:case 19:case 115:case 121:case 160:case 100:case 86:case 94:case 101:case 92:case 117:case 99:case 88:case 83:case 107:case 118:case 109:case 111:case 113:case 89:case 85:case 98:return!0;case 102:return vo()||K(Tu);case 87:case 95:return vo();case 134:case 138:case 120:case 144:case 145:case 156:case 162:case 166:return!0;case 129:case 125:case 123:case 124:case 126:case 148:return vo()||!K(Ba);default:return Xr()}}function Nl(){return Q(),at()||m()===19||m()===23}function Yp(){return K(Nl)}function Jl(){return bs(!0)}function Zp(){return Q(),m()===64||m()===27||m()===59}function bs(u){return Q(),u&&m()===165?K(Zp):(at()||m()===19)&&!t.hasPrecedingLineBreak()}function jl(){return K(bs)}function Ua(u){return Q()===160?bs(u):!1}function Ts(){return K(Ua)}function En(){switch(m()){case 27:return bl();case 19:return gi(!1);case 115:return Ni(z(),ot(),void 0);case 121:if(Yp())return Ni(z(),ot(),void 0);break;case 135:if(Ts())return Ni(z(),ot(),void 0);break;case 160:if(jl())return Ni(z(),ot(),void 0);break;case 100:return Va(z(),ot(),void 0);case 86:return qa(z(),ot(),void 0);case 101:return Vp();case 92:return Tl();case 117:return Wp();case 99:return Cl();case 88:return El(252);case 83:return El(253);case 107:return wl();case 118:return zp();case 109:return Gp();case 111:return xl();case 113:case 85:case 98:return $p();case 89:return Qp();case 60:return ko();case 134:case 120:case 156:case 144:case 145:case 138:case 87:case 94:case 95:case 102:case 123:case 124:case 125:case 128:case 129:case 126:case 148:case 162:if(vo())return ko();break}return Il()}function Ml(u){return u.kind===138}function ko(){const u=z(),h=ot(),k=dr(!0);if(Pt(k,Ml)){const P=Kp(u);if(P)return P;for(const R of k)R.flags|=33554432;return Wt(33554432,()=>Bl(u,h,k))}else return Bl(u,h,k)}function Kp(u){return Wt(33554432,()=>{const h=cs(Ke,u);if(h)return $c(h)})}function Bl(u,h,k){switch(m()){case 115:case 121:case 87:case 160:return Ni(u,h,k);case 135:if(!Ts())break;return Ni(u,h,k);case 100:return Va(u,h,k);case 86:return qa(u,h,k);case 120:return fd(u,h,k);case 156:return pd(u,h,k);case 94:return dd(u,h,k);case 162:case 144:case 145:return md(u,h,k);case 102:return To(u,h,k);case 95:switch(Q(),m()){case 90:case 64:return u_(u,h,k);case 130:return yd(u,h,k);default:return c_(u,h,k)}}if(k){const w=Cn(283,!0,f.Declaration_expected);return L1(w,u),w.modifiers=k,w}}function Rl(){return Q()===11}function Ul(){return Q(),m()===161||m()===64}function ed(){return Q(),!t.hasPrecedingLineBreak()&&(Ne()||m()===11)}function bo(u,h){if(m()!==19){if(u&4){ps();return}if(Nr()){An();return}}return ks(u,h)}function td(){const u=z();if(m()===28)return B(d.createOmittedExpression(),u);const h=jt(26),k=Li(),w=Yr();return B(d.createBindingElement(h,void 0,k,w),u)}function Fl(){const u=z(),h=jt(26),k=at();let w=fi(),P;k&&m()!==59?(P=w,w=void 0):(H(59),P=Li());const R=Yr();return B(d.createBindingElement(h,w,P,R),u)}function nd(){const u=z();H(19);const h=Lt(()=>Hn(9,Fl));return H(20),B(d.createObjectBindingPattern(h),u)}function Vl(){const u=z();H(23);const h=Lt(()=>Hn(10,td));return H(24),B(d.createArrayBindingPattern(h),u)}function Fa(){return m()===19||m()===23||m()===81||at()}function Li(u){return m()===23?Vl():m()===19?nd():na(u)}function rd(){return Cs(!0)}function Cs(u){const h=z(),k=ot(),w=Li(f.Private_identifiers_are_not_allowed_in_variable_declarations);let P;u&&w.kind===80&&m()===54&&!t.hasPrecedingLineBreak()&&(P=Tn());const R=Qr(),re=Zu(m())?void 0:Yr(),me=kt(w,P,R,re);return We(B(me,h),k)}function Wl(u){const h=z();let k=0;switch(m()){case 115:break;case 121:k|=1;break;case 87:k|=2;break;case 160:k|=4;break;case 135:if(!Ts())break;k|=6,Q();break;default:N.fail()}Q();let w;if(m()===165&&K(zl))w=Mr();else{const P=Oe();je(u),w=Hn(8,u?Cs:rd),je(P)}return B(_t(w,k),h)}function zl(){return lo()&&Q()===22}function Ni(u,h,k){const w=Wl(!1);An();const P=De(k,w);return We(B(P,u),h)}function Va(u,h,k){const w=dt(),P=yr(k);H(100);const R=jt(42),re=P&2048?yo():na(),me=R?1:0,ae=P&1024?2:0,ce=Gn();P&32&&It(!0);const ke=Sr(me|ae),nt=pr(59,!1),et=bo(me|ae,f.or_expected);It(w);const He=d.createFunctionDeclaration(k,R,re,ce,ke,nt,et);return We(B(He,u),h)}function id(){if(m()===137)return H(137);if(m()===11&&K(Q)===21)return Ce(()=>{const u=Dr();return u.text==="constructor"?u:void 0})}function ql(u,h,k){return Ce(()=>{if(id()){const w=Gn(),P=Sr(0),R=pr(59,!1),re=bo(0,f.or_expected),me=d.createConstructorDeclaration(k,P,re);return me.typeParameters=w,me.type=R,We(B(me,u),h)}})}function Hl(u,h,k,w,P,R,re,me){const ae=w?1:0,ce=Pt(k,nf)?2:0,ke=Gn(),nt=Sr(ae|ce),et=pr(59,!1),He=bo(ae|ce,me),wn=d.createMethodDeclaration(k,w,P,R,ke,nt,et,He);return wn.exclamationToken=re,We(B(wn,u),h)}function Es(u,h,k,w,P){const R=!P&&!t.hasPrecedingLineBreak()?jt(54):void 0,re=Qr(),me=nn(90112,Yr);Kf(w,re,me);const ae=d.createPropertyDeclaration(k,w,P||R,re,me);return We(B(ae,u),h)}function Wa(u,h,k){const w=jt(42),P=fi(),R=jt(58);return w||m()===21||m()===30?Hl(u,h,k,w,P,R,void 0,f.or_expected):Es(u,h,k,P,R)}function Ji(u,h,k,w,P){const R=fi(),re=Gn(),me=Sr(0),ae=pr(59,!1),ce=bo(P),ke=w===178?d.createGetAccessorDeclaration(k,R,me,ae,ce):d.createSetAccessorDeclaration(k,R,me,ce);return ke.typeParameters=re,Ks(ke)&&(ke.type=ae),We(B(ke,u),h)}function Gl(){let u;if(m()===60)return!0;for(;Ei(m());){if(u=m(),D7(u))return!0;Q()}if(m()===42||($r()&&(u=m(),Q()),m()===23))return!0;if(u!==void 0){if(!zo(u)||u===153||u===139)return!0;switch(m()){case 21:case 30:case 54:case 59:case 64:case 58:return!0;default:return Nr()}}return!1}function od(u,h,k){wr(126);const w=sd(),P=We(B(d.createClassStaticBlockDeclaration(w),u),h);return P.modifiers=k,P}function sd(){const u=Re(),h=dt();mt(!1),It(!0);const k=gi(!1);return mt(u),It(h),k}function $l(){if(dt()&&m()===135){const u=z(),h=Ft(f.Expression_expected);Q();const k=Bn(u,h,!0);return Na(u,k)}return ho()}function Ql(){const u=z();if(!Ze(60))return;const h=so($l);return B(d.createDecorator(h),u)}function za(u,h,k){const w=z(),P=m();if(m()===87&&h){if(!Ce(ra))return}else{if(k&&m()===126&&K(Ds))return;if(u&&m()===126)return;if(!Wc())return}return B(A(P),w)}function dr(u,h,k){const w=z();let P,R,re,me=!1,ae=!1,ce=!1;if(u&&m()===60)for(;R=Ql();)P=Fn(P,R);for(;re=za(me,h,k);)re.kind===126&&(me=!0),P=Fn(P,re),ae=!0;if(ae&&u&&m()===60)for(;R=Ql();)P=Fn(P,R),ce=!0;if(ce)for(;re=za(me,h,k);)re.kind===126&&(me=!0),P=Fn(P,re);return P&&en(P,w)}function Xl(){let u;if(m()===134){const h=z();Q();const k=B(A(134),h);u=en([k],h)}return u}function Yl(){const u=z(),h=ot();if(m()===27)return Q(),We(B(d.createSemicolonClassElement(),u),h);const k=dr(!0,!0,!0);if(m()===126&&K(Ds))return od(u,h,k);if(xi(139))return Ji(u,h,k,178,0);if(xi(153))return Ji(u,h,k,179,0);if(m()===137||m()===11){const w=ql(u,h,k);if(w)return w}if(mi())return ya(u,h,k);if(Gt(m())||m()===11||m()===9||m()===10||m()===42||m()===23)if(Pt(k,Ml)){for(const P of k)P.flags|=33554432;return Wt(33554432,()=>Wa(u,h,k))}else return Wa(u,h,k);if(k){const w=Cn(80,!0,f.Declaration_expected);return Es(u,h,k,w,void 0)}return N.fail("Should not have attempted to parse class member declaration.")}function ad(){const u=z(),h=ot(),k=dr(!0);if(m()===86)return Ha(u,h,k,232);const w=Cn(283,!0,f.Expression_expected);return L1(w,u),w.modifiers=k,w}function cd(){return Ha(z(),ot(),void 0,232)}function qa(u,h,k){return Ha(u,h,k,264)}function Ha(u,h,k,w){const P=dt();H(86);const R=ud(),re=Gn();Pt(k,j1)&&It(!0);const me=Kl();let ae;H(19)?(ae=e_(),H(20)):ae=Mr(),It(P);const ce=w===264?d.createClassDeclaration(k,R,re,me,ae):d.createClassExpression(k,R,re,me,ae);return We(B(ce,u),h)}function ud(){return at()&&!Zl()?Jr(at()):void 0}function Zl(){return m()===119&&K(ap)}function Kl(){if(Ga())return Zn(22,ld)}function ld(){const u=z(),h=m();N.assert(h===96||h===119),Q();const k=Hn(7,_d);return B(d.createHeritageClause(h,k),u)}function _d(){const u=z(),h=ho();if(h.kind===234)return h;const k=ws();return B(d.createExpressionWithTypeArguments(h,k),u)}function ws(){return m()===30?pi(20,At,30,32):void 0}function Ga(){return m()===96||m()===119}function e_(){return Zn(5,Yl)}function fd(u,h,k){H(120);const w=Ft(),P=Gn(),R=Kl(),re=Eu(),me=d.createInterfaceDeclaration(k,w,P,R,re);return We(B(me,u),h)}function pd(u,h,k){H(156),t.hasPrecedingLineBreak()&&Ve(f.Line_break_not_permitted_here);const w=Ft(),P=Gn();H(64);const R=m()===141&&Ce(Iu)||At();An();const re=d.createTypeAliasDeclaration(k,w,P,R);return We(B(re,u),h)}function $a(){const u=z(),h=ot(),k=fi(),w=Lt(Yr);return We(B(d.createEnumMember(k,w),u),h)}function dd(u,h,k){H(94);const w=Ft();let P;H(19)?(P=Me(()=>Hn(6,$a)),H(20)):P=Mr();const R=d.createEnumDeclaration(k,w,P);return We(B(R,u),h)}function Qa(){const u=z();let h;return H(19)?(h=Zn(1,En),H(20)):h=Mr(),B(d.createModuleBlock(h),u)}function t_(u,h,k,w){const P=w&32,R=w&8?_n():Ft(),re=Ze(25)?t_(z(),!1,void 0,8|P):Qa(),me=d.createModuleDeclaration(k,R,re,w);return We(B(me,u),h)}function n_(u,h,k){let w=0,P;m()===162?(P=Ft(),w|=2048):(P=Dr(),P.text=_i(P.text));let R;m()===19?R=Qa():An();const re=d.createModuleDeclaration(k,P,R,w);return We(B(re,u),h)}function md(u,h,k){let w=0;if(m()===162)return n_(u,h,k);if(Ze(145))w|=32;else if(H(144),m()===11)return n_(u,h,k);return t_(u,h,k,w)}function hd(){return m()===149&&K(r_)}function r_(){return Q()===21}function Ds(){return Q()===19}function gd(){return Q()===44}function yd(u,h,k){H(130),H(145);const w=Ft();An();const P=d.createNamespaceExportDeclaration(w);return P.modifiers=k,We(B(P,u),h)}function To(u,h,k){H(102);const w=t.getTokenFullStart();let P;Ne()&&(P=Ft());let R;if(P?.escapedText==="type"&&(m()!==161||Ne()&&K(Ul))&&(Ne()||yi())?(R=156,P=Ne()?Ft():void 0):P?.escapedText==="defer"&&(m()===161?!K(Rl):m()!==28&&m()!==64)&&(R=166,P=Ne()?Ft():void 0),P&&!kd()&&R!==166)return bd(u,h,k,P,R===156);const re=i_(P,w,R,void 0),me=Eo(),ae=o_();An();const ce=d.createImportDeclaration(k,re,me,ae);return We(B(ce,u),h)}function i_(u,h,k,w=!1){let P;return(u||m()===42||m()===19)&&(P=Td(u,h,k,w),H(161)),P}function o_(){const u=m();if(u===118||u===132&&!t.hasPrecedingLineBreak())return Xa(u)}function vd(){const u=z(),h=Gt(m())?_n():Ii(11);H(59);const k=gn(!0);return B(d.createImportAttribute(h,k),u)}function Xa(u,h){const k=z();h||H(u);const w=t.getTokenStart();if(H(19)){const P=t.hasPrecedingLineBreak(),R=Hn(24,vd,!0);if(!H(20)){const re=Ui(qe);re&&re.code===f._0_expected.code&&Y_(re,Vs(ve,Ie,w,1,f.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return B(d.createImportAttributes(R,P,u),k)}else{const P=en([],z(),void 0,!1);return B(d.createImportAttributes(P,!1,u),k)}}function yi(){return m()===42||m()===19}function kd(){return m()===28||m()===161}function bd(u,h,k,w,P){H(64);const R=Co();An();const re=d.createImportEqualsDeclaration(k,P,w,R);return We(B(re,u),h)}function Td(u,h,k,w){let P;return(!u||Ze(28))&&(w&&t.setSkipJsDocLeadingAsterisks(!0),m()===42?P=Ed():P=s_(276),w&&t.setSkipJsDocLeadingAsterisks(!1)),B(d.createImportClause(k,u,P),h)}function Co(){return hd()?Cd():di(!1)}function Cd(){const u=z();H(149),H(21);const h=Eo();return H(22),B(d.createExternalModuleReference(h),u)}function Eo(){if(m()===11){const u=Dr();return u.text=_i(u.text),u}else return Xt()}function Ed(){const u=z();H(42),H(130);const h=Ft();return B(d.createNamespaceImport(h),u)}function Ya(){return Gt(m())||m()===11}function ji(u){return m()===11?Dr():u()}function s_(u){const h=z(),k=u===276?d.createNamedImports(pi(23,wd,19,20)):d.createNamedExports(pi(23,Mi,19,20));return B(k,h)}function Mi(){const u=ot();return We(a_(282),u)}function wd(){return a_(277)}function a_(u){const h=z();let k=zo(m())&&!Ne(),w=t.getTokenStart(),P=t.getTokenEnd(),R=!1,re,me=!0,ae=ji(_n);if(ae.kind===80&&ae.escapedText==="type")if(m()===130){const nt=_n();if(m()===130){const et=_n();Ya()?(R=!0,re=nt,ae=ji(ke),me=!1):(re=ae,ae=et,me=!1)}else Ya()?(re=ae,me=!1,ae=ji(ke)):(R=!0,ae=nt)}else Ya()&&(R=!0,ae=ji(ke));me&&m()===130&&(re=ae,H(130),ae=ji(ke)),u===277&&(ae.kind!==80?(St(yn(Ie,ae.pos),ae.end,f.Identifier_expected),ae=Zi(Cn(80,!1),ae.pos,ae.pos)):k&&St(w,P,f.Identifier_expected));const ce=u===277?d.createImportSpecifier(R,re,ae):d.createExportSpecifier(R,re,ae);return B(ce,h);function ke(){return k=zo(m())&&!Ne(),w=t.getTokenStart(),P=t.getTokenEnd(),_n()}}function Dd(u){return B(d.createNamespaceExport(ji(_n)),u)}function c_(u,h,k){const w=dt();It(!0);let P,R,re;const me=Ze(156),ae=z();Ze(42)?(Ze(130)&&(P=Dd(ae)),H(161),R=Eo()):(P=s_(280),(m()===161||m()===11&&!t.hasPrecedingLineBreak())&&(H(161),R=Eo()));const ce=m();R&&(ce===118||ce===132)&&!t.hasPrecedingLineBreak()&&(re=Xa(ce)),An(),It(w);const ke=d.createExportDeclaration(k,me,P,R,re);return We(B(ke,u),h)}function u_(u,h,k){const w=dt();It(!0);let P;Ze(64)?P=!0:H(90);const R=gn(!0);An(),It(w);const re=d.createExportAssignment(k,P,R);return We(B(re,u),h)}let Za;(u=>{u[u.SourceElements=0]="SourceElements",u[u.BlockStatements=1]="BlockStatements",u[u.SwitchClauses=2]="SwitchClauses",u[u.SwitchClauseStatements=3]="SwitchClauseStatements",u[u.TypeMembers=4]="TypeMembers",u[u.ClassMembers=5]="ClassMembers",u[u.EnumMembers=6]="EnumMembers",u[u.HeritageClauseElement=7]="HeritageClauseElement",u[u.VariableDeclarations=8]="VariableDeclarations",u[u.ObjectBindingElements=9]="ObjectBindingElements",u[u.ArrayBindingElements=10]="ArrayBindingElements",u[u.ArgumentExpressions=11]="ArgumentExpressions",u[u.ObjectLiteralMembers=12]="ObjectLiteralMembers",u[u.JsxAttributes=13]="JsxAttributes",u[u.JsxChildren=14]="JsxChildren",u[u.ArrayLiteralMembers=15]="ArrayLiteralMembers",u[u.Parameters=16]="Parameters",u[u.JSDocParameters=17]="JSDocParameters",u[u.RestProperties=18]="RestProperties",u[u.TypeParameters=19]="TypeParameters",u[u.TypeArguments=20]="TypeArguments",u[u.TupleElementTypes=21]="TupleElementTypes",u[u.HeritageClauses=22]="HeritageClauses",u[u.ImportOrExportSpecifiers=23]="ImportOrExportSpecifiers",u[u.ImportAttributes=24]="ImportAttributes",u[u.JSDocComment=25]="JSDocComment",u[u.Count=26]="Count"})(Za||(Za={}));let l_;(u=>{u[u.False=0]="False",u[u.True=1]="True",u[u.Unknown=2]="Unknown"})(l_||(l_={}));let __;(u=>{function h(ce,ke,nt){bn("file.js",ce,99,void 0,1,0),t.setText(ce,ke,nt),Te=t.scan();const et=k(),He=de("file.js",99,1,!1,[],A(1),0,nr),wn=Ho(qe,He);return ue&&(He.jsDocDiagnostics=Ho(ue,He)),jn(),et?{jsDocTypeExpression:et,diagnostics:wn}:void 0}u.parseJSDocTypeExpressionForTests=h;function k(ce){const ke=z(),nt=(ce?Ze:H)(19),et=Wt(16777216,da);(!ce||nt)&&Uc(20);const He=d.createJSDocTypeExpression(et);return q(He),B(He,ke)}u.parseJSDocTypeExpression=k;function w(){const ce=z(),ke=Ze(19),nt=z();let et=di(!1);for(;m()===81;)on(),st(),et=B(d.createJSDocMemberName(et,Ft()),nt);ke&&Uc(20);const He=d.createJSDocNameReference(et);return q(He),B(He,ce)}u.parseJSDocNameReference=w;function P(ce,ke,nt){bn("",ce,99,void 0,1,0);const et=Wt(16777216,()=>ae(ke,nt)),wn=Ho(qe,{languageVariant:0,text:ce});return jn(),et?{jsDoc:et,diagnostics:wn}:void 0}u.parseIsolatedJSDocComment=P;function R(ce,ke,nt){const et=Te,He=qe.length,wn=$t,sn=Wt(16777216,()=>ae(ke,nt));return N1(sn,ce),it&524288&&(ue||(ue=[]),fn(ue,qe,He)),Te=et,qe.length=He,$t=wn,sn}u.parseJSDocComment=R;let re;(ce=>{ce[ce.BeginningOfLine=0]="BeginningOfLine",ce[ce.SawAsterisk=1]="SawAsterisk",ce[ce.SavingComments=2]="SavingComments",ce[ce.SavingBackticks=3]="SavingBackticks"})(re||(re={}));let me;(ce=>{ce[ce.Property=1]="Property",ce[ce.Parameter=2]="Parameter",ce[ce.CallbackParameter=4]="CallbackParameter"})(me||(me={}));function ae(ce=0,ke){const nt=Ie,et=ke===void 0?nt.length:ce+ke;if(ke=et-ce,N.assert(ce>=0),N.assert(ce<=et),N.assert(et<=nt.length),!ib(nt,ce))return;let He,wn,sn,Br,Rr,mr=[];const vi=[],Ge=Ke;Ke|=1<<25;const Ct=t.scanRange(ce+3,ke-5,Kr);return Ke=Ge,Ct;function Kr(){let W=1,ee,ne=ce-(nt.lastIndexOf(`
38
+ `,ce)+1)+4;function le(rt){ee||(ee=ne),mr.push(rt),ne+=rt.length}for(st();xo(5););xo(4)&&(W=0,ne=0);e:for(;;){switch(m()){case 60:Sd(mr),Rr||(Rr=z()),ct(n(ne)),W=0,ee=void 0;break;case 4:mr.push(t.getTokenText()),W=0,ne=0;break;case 42:const rt=t.getTokenText();W===1?(W=2,le(rt)):(N.assert(W===0),W=1,ne+=rt.length);break;case 5:N.assert(W!==2,"whitespace shouldn't come from the scanner while saving top-level comment text");const Nt=t.getTokenText();ee!==void 0&&ne+Nt.length>ee&&mr.push(Nt.slice(ee-ne)),ne+=Nt.length;break;case 1:break e;case 82:W=2,le(t.getTokenValue());break;case 19:W=2;const $n=t.getTokenFullStart(),Rn=t.getTokenEnd()-1,On=_(Rn);if(On){Br||wo(mr),vi.push(B(d.createJSDocText(mr.join("")),Br??ce,$n)),vi.push(On),mr=[],Br=t.getTokenEnd();break}default:W=2,le(t.getTokenText());break}W===2?Mn(!1):st()}const _e=mr.join("").trimEnd();vi.length&&_e.length&&vi.push(B(d.createJSDocText(_e),Br??ce,Rr)),vi.length&&He&&N.assertIsDefined(Rr,"having parsed tags implies that the end of the comment span should be set");const $e=He&&en(He,wn,sn);return B(d.createJSDocComment(vi.length?en(vi,ce,Rr):_e.length?_e:void 0,$e),ce,et)}function wo(W){for(;W.length&&(W[0]===`
39
+ `||W[0]==="\r");)W.shift()}function Sd(W){for(;W.length;){const ee=W[W.length-1].trimEnd();if(ee==="")W.pop();else if(ee.length<W[W.length-1].length){W[W.length-1]=ee;break}else break}}function xr(){for(;;){if(st(),m()===1)return!0;if(!(m()===5||m()===4))return!1}}function er(){if(!((m()===5||m()===4)&&K(xr)))for(;m()===5||m()===4;)st()}function G(){if((m()===5||m()===4)&&K(xr))return"";let W=t.hasPrecedingLineBreak(),ee=!1,ne="";for(;W&&m()===42||m()===5||m()===4;)ne+=t.getTokenText(),m()===4?(W=!0,ee=!0,ne=""):m()===42&&(W=!1),st();return ee?ne:""}function n(W){N.assert(m()===60);const ee=t.getTokenStart();st();const ne=Bi(void 0),le=G();let _e;switch(ne.escapedText){case"author":_e=k3(ee,ne,W,le);break;case"implements":_e=T3(ee,ne,W,le);break;case"augments":case"extends":_e=C3(ee,ne,W,le);break;case"class":case"constructor":_e=So(ee,d.createJSDocClassTag,ne,W,le);break;case"public":_e=So(ee,d.createJSDocPublicTag,ne,W,le);break;case"private":_e=So(ee,d.createJSDocPrivateTag,ne,W,le);break;case"protected":_e=So(ee,d.createJSDocProtectedTag,ne,W,le);break;case"readonly":_e=So(ee,d.createJSDocReadonlyTag,ne,W,le);break;case"override":_e=So(ee,d.createJSDocOverrideTag,ne,W,le);break;case"deprecated":ht=!0,_e=So(ee,d.createJSDocDeprecatedTag,ne,W,le);break;case"this":_e=_0(ee,ne,W,le);break;case"enum":_e=S3(ee,ne,W,le);break;case"arg":case"argument":case"param":return Do(ee,ne,2,W);case"return":case"returns":_e=g3(ee,ne,W,le);break;case"template":_e=p0(ee,ne,W,le);break;case"type":_e=u0(ee,ne,W,le);break;case"typedef":_e=x3(ee,ne,W,le);break;case"callback":_e=I3(ee,ne,W,le);break;case"overload":_e=A3(ee,ne,W,le);break;case"satisfies":_e=E3(ee,ne,W,le);break;case"see":_e=y3(ee,ne,W,le);break;case"exception":case"throws":_e=v3(ee,ne,W,le);break;case"import":_e=w3(ee,ne,W,le);break;default:_e=Ee(ee,ne,W,le);break}return _e}function o(W,ee,ne,le){return le||(ne+=ee-W),s(ne,le.slice(ne))}function s(W,ee){const ne=z();let le=[];const _e=[];let $e,rt=0,Nt;function $n(Pr){Nt||(Nt=W),le.push(Pr),W+=Pr.length}ee!==void 0&&(ee!==""&&$n(ee),rt=1);let Rn=m();e:for(;;){switch(Rn){case 4:rt=0,le.push(t.getTokenText()),W=0;break;case 60:t.resetTokenState(t.getTokenEnd()-1);break e;case 1:break e;case 5:N.assert(rt!==2&&rt!==3,"whitespace shouldn't come from the scanner while saving comment text");const Pr=t.getTokenText();Nt!==void 0&&W+Pr.length>Nt&&(le.push(Pr.slice(Nt-W)),rt=2),W+=Pr.length;break;case 19:rt=2;const f_=t.getTokenFullStart(),Ss=t.getTokenEnd()-1,p_=_(Ss);p_?(_e.push(B(d.createJSDocText(le.join("")),$e??ne,f_)),_e.push(p_),le=[],$e=t.getTokenEnd()):$n(t.getTokenText());break;case 62:rt===3?rt=2:rt=3,$n(t.getTokenText());break;case 82:rt!==3&&(rt=2),$n(t.getTokenValue());break;case 42:if(rt===0){rt=1,W+=1;break}default:rt!==3&&(rt=2),$n(t.getTokenText());break}rt===2||rt===3?Rn=Mn(rt===3):Rn=st()}wo(le);const On=le.join("").trimEnd();if(_e.length)return On.length&&_e.push(B(d.createJSDocText(On),$e??ne)),en(_e,ne,t.getTokenEnd());if(On.length)return On}function _(W){const ee=Ce(I);if(!ee)return;st(),er();const ne=v(),le=[];for(;m()!==20&&m()!==4&&m()!==1;)le.push(t.getTokenText()),st();const _e=ee==="link"?d.createJSDocLink:ee==="linkcode"?d.createJSDocLinkCode:d.createJSDocLinkPlain;return B(_e(ne,le.join("")),W,t.getTokenEnd())}function v(){if(Gt(m())){const W=z();let ee=_n();for(;Ze(25);)ee=B(d.createQualifiedName(ee,m()===81?Cn(80,!1):_n()),W);for(;m()===81;)on(),st(),ee=B(d.createJSDocMemberName(ee,Ft()),W);return ee}}function I(){if(G(),m()===19&&st()===60&&Gt(st())){const W=t.getTokenValue();if(X(W))return W}}function X(W){return W==="link"||W==="linkcode"||W==="linkplain"}function Ee(W,ee,ne,le){return B(d.createJSDocUnknownTag(ee,o(W,z(),ne,le)),W)}function ct(W){W&&(He?He.push(W):(He=[W],wn=W.pos),sn=W.end)}function an(){return G(),m()===19?k():void 0}function Ur(){const W=xo(23);W&&er();const ee=xo(62),ne=M3();return ee&&tp(62),W&&(er(),jt(64)&&Xt(),H(24)),{name:ne,isBracketed:W}}function tr(W){switch(W.kind){case 151:return!0;case 189:return tr(W.elementType);default:return M2(W)&&vt(W.typeName)&&W.typeName.escapedText==="Object"&&!W.typeArguments}}function Do(W,ee,ne,le){let _e=an(),$e=!_e;G();const{name:rt,isBracketed:Nt}=Ur(),$n=G();$e&&!K(I)&&(_e=an());const Rn=o(W,z(),le,$n),On=h3(_e,rt,ne,le);On&&(_e=On,$e=!0);const Pr=ne===1?d.createJSDocPropertyTag(ee,rt,Nt,_e,$e,Rn):d.createJSDocParameterTag(ee,rt,Nt,_e,$e,Rn);return B(Pr,W)}function h3(W,ee,ne,le){if(W&&tr(W.type)){const _e=z();let $e,rt;for(;$e=Ce(()=>Pd(ne,le,ee));)$e.kind===342||$e.kind===349?rt=Fn(rt,$e):$e.kind===346&&Wn($e.tagName,f.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);if(rt){const Nt=B(d.createJSDocTypeLiteral(rt,W.type.kind===189),_e);return B(d.createJSDocTypeExpression(Nt),_e)}}}function g3(W,ee,ne,le){Pt(He,zk)&&St(ee.pos,t.getTokenStart(),f._0_tag_already_specified,Fo(ee.escapedText));const _e=an();return B(d.createJSDocReturnTag(ee,_e,o(W,z(),ne,le)),W)}function u0(W,ee,ne,le){Pt(He,F1)&&St(ee.pos,t.getTokenStart(),f._0_tag_already_specified,Fo(ee.escapedText));const _e=k(!0),$e=ne!==void 0&&le!==void 0?o(W,z(),ne,le):void 0;return B(d.createJSDocTypeTag(ee,_e,$e),W)}function y3(W,ee,ne,le){const $e=m()===23||K(()=>st()===60&&Gt(st())&&X(t.getTokenValue()))?void 0:w(),rt=ne!==void 0&&le!==void 0?o(W,z(),ne,le):void 0;return B(d.createJSDocSeeTag(ee,$e,rt),W)}function v3(W,ee,ne,le){const _e=an(),$e=o(W,z(),ne,le);return B(d.createJSDocThrowsTag(ee,_e,$e),W)}function k3(W,ee,ne,le){const _e=z(),$e=b3();let rt=t.getTokenFullStart();const Nt=o(W,rt,ne,le);Nt||(rt=t.getTokenFullStart());const $n=typeof Nt!="string"?en(d_([B($e,_e,rt)],Nt),_e):$e.text+Nt;return B(d.createJSDocAuthorTag(ee,$n),W)}function b3(){const W=[];let ee=!1,ne=t.getToken();for(;ne!==1&&ne!==4;){if(ne===30)ee=!0;else{if(ne===60&&!ee)break;if(ne===32&&ee){W.push(t.getTokenText()),t.resetTokenState(t.getTokenEnd());break}}W.push(t.getTokenText()),ne=st()}return d.createJSDocText(W.join(""))}function T3(W,ee,ne,le){const _e=l0();return B(d.createJSDocImplementsTag(ee,_e,o(W,z(),ne,le)),W)}function C3(W,ee,ne,le){const _e=l0();return B(d.createJSDocAugmentsTag(ee,_e,o(W,z(),ne,le)),W)}function E3(W,ee,ne,le){const _e=k(!1),$e=ne!==void 0&&le!==void 0?o(W,z(),ne,le):void 0;return B(d.createJSDocSatisfiesTag(ee,_e,$e),W)}function w3(W,ee,ne,le){const _e=t.getTokenFullStart();let $e;Ne()&&($e=Ft());const rt=i_($e,_e,156,!0),Nt=Eo(),$n=o_(),Rn=ne!==void 0&&le!==void 0?o(W,z(),ne,le):void 0;return B(d.createJSDocImportTag(ee,rt,Nt,$n,Rn),W)}function l0(){const W=Ze(19),ee=z(),ne=D3();t.setSkipJsDocLeadingAsterisks(!0);const le=ws();t.setSkipJsDocLeadingAsterisks(!1);const _e=d.createExpressionWithTypeArguments(ne,le),$e=B(_e,ee);return W&&(er(),H(20)),$e}function D3(){const W=z();let ee=Bi();for(;Ze(25);){const ne=Bi();ee=B(F(ee,ne),W)}return ee}function So(W,ee,ne,le,_e){return B(ee(ne,o(W,z(),le,_e)),W)}function _0(W,ee,ne,le){const _e=k(!0);return er(),B(d.createJSDocThisTag(ee,_e,o(W,z(),ne,le)),W)}function S3(W,ee,ne,le){const _e=k(!0);return er(),B(d.createJSDocEnumTag(ee,_e,o(W,z(),ne,le)),W)}function x3(W,ee,ne,le){let _e=an();G();const $e=xd();er();let rt=s(ne),Nt;if(!_e||tr(_e.type)){let Rn,On,Pr,f_=!1;for(;(Rn=Ce(()=>L3(ne)))&&Rn.kind!==346;)if(f_=!0,Rn.kind===345)if(On){const Ss=Ve(f.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);Ss&&Y_(Ss,Vs(ve,Ie,0,0,f.The_tag_was_first_specified_here));break}else On=Rn;else Pr=Fn(Pr,Rn);if(f_){const Ss=_e&&_e.type.kind===189,p_=d.createJSDocTypeLiteral(Pr,Ss);_e=On&&On.typeExpression&&!tr(On.typeExpression.type)?On.typeExpression:B(p_,W),Nt=_e.end}}Nt=Nt||rt!==void 0?z():($e??_e??ee).end,rt||(rt=o(W,Nt,ne,le));const $n=d.createJSDocTypedefTag(ee,_e,$e,rt);return B($n,W,Nt)}function xd(W){const ee=t.getTokenStart();if(!Gt(m()))return;const ne=Bi();if(Ze(25)){const le=xd(!0),_e=d.createModuleDeclaration(void 0,ne,le,W?8:void 0);return B(_e,ee)}return W&&(ne.flags|=4096),ne}function P3(W){const ee=z();let ne,le;for(;ne=Ce(()=>Pd(4,W));){if(ne.kind===346){Wn(ne.tagName,f.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);break}le=Fn(le,ne)}return en(le||[],ee)}function f0(W,ee){const ne=P3(ee),le=Ce(()=>{if(xo(60)){const _e=n(ee);if(_e&&_e.kind===343)return _e}});return B(d.createJSDocSignature(void 0,ne,le),W)}function I3(W,ee,ne,le){const _e=xd();er();let $e=s(ne);const rt=f0(W,ne);$e||($e=o(W,z(),ne,le));const Nt=$e!==void 0?z():rt.end;return B(d.createJSDocCallbackTag(ee,rt,_e,$e),W,Nt)}function A3(W,ee,ne,le){er();let _e=s(ne);const $e=f0(W,ne);_e||(_e=o(W,z(),ne,le));const rt=_e!==void 0?z():$e.end;return B(d.createJSDocOverloadTag(ee,$e,_e),W,rt)}function O3(W,ee){for(;!vt(W)||!vt(ee);)if(!vt(W)&&!vt(ee)&&W.right.escapedText===ee.right.escapedText)W=W.left,ee=ee.left;else return!1;return W.escapedText===ee.escapedText}function L3(W){return Pd(1,W)}function Pd(W,ee,ne){let le=!0,_e=!1;for(;;)switch(st()){case 60:if(le){const $e=N3(W,ee);return $e&&($e.kind===342||$e.kind===349)&&ne&&(vt($e.name)||!O3(ne,$e.name.left))?!1:$e}_e=!1;break;case 4:le=!0,_e=!1;break;case 42:_e&&(le=!1),_e=!0;break;case 80:le=!1;break;case 1:return!1}}function N3(W,ee){N.assert(m()===60);const ne=t.getTokenFullStart();st();const le=Bi(),_e=G();let $e;switch(le.escapedText){case"type":return W===1&&u0(ne,le);case"prop":case"property":$e=1;break;case"arg":case"argument":case"param":$e=6;break;case"template":return p0(ne,le,ee,_e);case"this":return _0(ne,le,ee,_e);default:return!1}return W&$e?Do(ne,le,W,ee):!1}function J3(){const W=z(),ee=xo(23);ee&&er();const ne=dr(!1,!0),le=Bi(f.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);let _e;if(ee&&(er(),H(64),_e=Wt(16777216,da),H(24)),!Qi(le))return B(d.createTypeParameterDeclaration(ne,le,void 0,_e),W)}function j3(){const W=z(),ee=[];do{er();const ne=J3();ne!==void 0&&ee.push(ne),G()}while(xo(28));return en(ee,W)}function p0(W,ee,ne,le){const _e=m()===19?k():void 0,$e=j3();return B(d.createJSDocTemplateTag(ee,_e,$e,o(W,z(),ne,le)),W)}function xo(W){return m()===W?(st(),!0):!1}function M3(){let W=Bi();for(Ze(23)&&H(24);Ze(25);){const ee=Bi();Ze(23)&&H(24),W=cp(W,ee)}return W}function Bi(W){if(!Gt(m()))return Cn(80,!W,W||f.Identifier_expected);pt++;const ee=t.getTokenStart(),ne=t.getTokenEnd(),le=m(),_e=_i(t.getTokenValue()),$e=B(j(_e,le),ee,ne);return st(),$e}}})(__=e.JSDocParser||(e.JSDocParser={}))})(eo||(eo={}));var gg=new WeakSet;function mb(e){gg.has(e)&&N.fail("Source file has already been incrementally parsed"),gg.add(e)}var yg=new WeakSet;function hb(e){return yg.has(e)}function H1(e){yg.add(e)}var of;(e=>{function t(C,S,j,L){if(L=L||N.shouldAssert(2),d(C,S,j,L),Ky(j))return C;if(C.statements.length===0)return eo.parseSourceFile(C.fileName,S,C.languageVersion,void 0,!0,C.scriptKind,C.setExternalModuleIndicator,C.jsDocParsingMode);mb(C),eo.fixupParentReferences(C);const A=C.text,U=E(C),x=a(C,j);d(C,S,x,L),N.assert(x.span.start<=j.span.start),N.assert(ii(x.span)===ii(j.span)),N.assert(ii(cc(x))===ii(cc(j)));const F=cc(x).length-x.span.length;g(C,x.span.start,ii(x.span),ii(cc(x)),F,A,S,L);const te=eo.parseSourceFile(C.fileName,S,C.languageVersion,U,!0,C.scriptKind,C.setExternalModuleIndicator,C.jsDocParsingMode);return te.commentDirectives=r(C.commentDirectives,te.commentDirectives,x.span.start,ii(x.span),F,A,S,L),te.impliedNodeFormat=C.impliedNodeFormat,Qk(C,te),te}e.updateSourceFile=t;function r(C,S,j,L,A,U,x,F){if(!C)return S;let te,J=!1;for(const D of C){const{range:Z,type:he}=D;if(Z.end<j)te=Fn(te,D);else if(Z.pos>L){V();const pe={range:{pos:Z.pos+A,end:Z.end+A},type:he};te=Fn(te,pe),F&&N.assert(U.substring(Z.pos,Z.end)===x.substring(pe.range.pos,pe.range.end))}}return V(),te;function V(){J||(J=!0,te?S&&te.push(...S):te=S)}}function i(C,S,j,L,A,U,x){j?te(C):F(C);return;function F(J){let V="";if(x&&c(J)&&(V=A.substring(J.pos,J.end)),$2(J,S),Zi(J,J.pos+L,J.end+L),x&&c(J)&&N.assert(V===U.substring(J.pos,J.end)),kn(J,F,te),Vo(J))for(const D of J.jsDoc)F(D);p(J,x)}function te(J){Zi(J,J.pos+L,J.end+L);for(const V of J)F(V)}}function c(C){switch(C.kind){case 11:case 9:case 80:return!0}return!1}function l(C,S,j,L,A){N.assert(C.end>=S,"Adjusting an element that was entirely before the change range"),N.assert(C.pos<=j,"Adjusting an element that was entirely after the change range"),N.assert(C.pos<=C.end);const U=Math.min(C.pos,L),x=C.end>=j?C.end+A:Math.min(C.end,L);if(N.assert(U<=x),C.parent){const F=C.parent;N.assertGreaterThanOrEqual(U,F.pos),N.assertLessThanOrEqual(x,F.end)}Zi(C,U,x)}function p(C,S){if(S){let j=C.pos;const L=A=>{N.assert(A.pos>=j),j=A.end};if(Vo(C))for(const A of C.jsDoc)L(A);kn(C,L),N.assert(j<=C.end)}}function g(C,S,j,L,A,U,x,F){te(C);return;function te(V){if(N.assert(V.pos<=V.end),V.pos>j){i(V,C,!1,A,U,x,F);return}const D=V.end;if(D>=S){if(H1(V),$2(V,C),l(V,S,j,L,A),kn(V,te,J),Vo(V))for(const Z of V.jsDoc)te(Z);p(V,F);return}N.assert(D<S)}function J(V){if(N.assert(V.pos<=V.end),V.pos>j){i(V,C,!0,A,U,x,F);return}const D=V.end;if(D>=S){H1(V),l(V,S,j,L,A);for(const Z of V)te(Z);return}N.assert(D<S)}}function a(C,S){let L=S.span.start;for(let x=0;L>0&&x<=1;x++){const F=b(C,L);N.assert(F.pos<=L);const te=F.pos;L=Math.max(0,te-1)}const A=Bs(L,ii(S.span)),U=S.newLength+(S.span.start-L);return e7(A,U)}function b(C,S){let j=C,L;if(kn(C,U),L){const x=A(L);x.pos>j.pos&&(j=x)}return j;function A(x){for(;;){const F=e9(x);if(F)x=F;else return x}}function U(x){if(!Qi(x))if(x.pos<=S){if(x.pos>=j.pos&&(j=x),S<x.end)return kn(x,U),!0;N.assert(x.end<=S),L=x}else return N.assert(x.pos>S),!0}}function d(C,S,j,L){const A=C.text;if(j&&(N.assert(A.length-j.span.length+j.newLength===S.length),L||N.shouldAssert(3))){const U=A.substr(0,j.span.start),x=S.substr(0,j.span.start);N.assert(U===x);const F=A.substring(ii(j.span),A.length),te=S.substring(ii(cc(j)),S.length);N.assert(F===te)}}function E(C){let S=C.statements,j=0;N.assert(j<S.length);let L=S[j],A=-1;return{currentNode(x){return x!==A&&(L&&L.end===x&&j<S.length-1&&(j++,L=S[j]),(!L||L.pos!==x)&&U(x)),A=x,N.assert(!L||L.pos===x),L}};function U(x){S=void 0,j=-1,L=void 0,kn(C,F,te);return;function F(J){return x>=J.pos&&x<J.end?(kn(J,F,te),!0):!1}function te(J){if(x>=J.pos&&x<J.end)for(let V=0;V<J.length;V++){const D=J[V];if(D){if(D.pos===x)return S=J,j=V,L=D,!0;if(D.pos<x&&x<D.end)return kn(D,F,te),!0}}return!1}}}e.createSyntaxCursor=E;let T;(C=>{C[C.Value=-1]="Value"})(T||(T={}))})(of||(of={}));function Yo(e){return gb(e)!==void 0}function gb(e){const t=E_(e,E2,!1);if(t)return t;if(tn(e,".ts")){const r=ri(e),i=r.lastIndexOf(".d.");if(i>=0)return r.substring(i)}}function yb(e,t,r,i){if(e){if(e==="import")return 99;if(e==="require")return 1;i(t,r-t,f.resolution_mode_should_be_either_require_or_import)}}function vb(e,t){const r=[];for(const i of t1(t,0)||tt){const c=t.substring(i.pos,i.end);Eb(r,i,c)}e.pragmas=new Map;for(const i of r){if(e.pragmas.has(i.name)){const c=e.pragmas.get(i.name);c instanceof Array?c.push(i.args):e.pragmas.set(i.name,[c,i.args]);continue}e.pragmas.set(i.name,i.args)}}function kb(e,t){e.checkJsDirective=void 0,e.referencedFiles=[],e.typeReferenceDirectives=[],e.libReferenceDirectives=[],e.amdDependencies=[],e.pragmas.forEach((r,i)=>{switch(i){case"reference":{const c=e.referencedFiles,l=e.typeReferenceDirectives,p=e.libReferenceDirectives;qt(Jd(r),g=>{const{types:a,lib:b,path:d,["resolution-mode"]:E,preserve:T}=g.arguments,C=T==="true"?!0:void 0;if(g.arguments["no-default-lib"]!=="true")if(a){const S=yb(E,a.pos,a.end,t);l.push({pos:a.pos,end:a.end,fileName:a.value,...S?{resolutionMode:S}:{},...C?{preserve:C}:{}})}else b?p.push({pos:b.pos,end:b.end,fileName:b.value,...C?{preserve:C}:{}}):d?c.push({pos:d.pos,end:d.end,fileName:d.value,...C?{preserve:C}:{}}):t(g.range.pos,g.range.end-g.range.pos,f.Invalid_reference_directive_syntax)});break}case"amd-dependency":{e.amdDependencies=Ir(Jd(r),c=>({name:c.arguments.name,path:c.arguments.path}));break}case"amd-module":{if(r instanceof Array)for(const c of r)e.moduleName&&t(c.range.pos,c.range.end-c.range.pos,f.An_AMD_module_cannot_have_multiple_name_assignments),e.moduleName=c.arguments.name;else e.moduleName=r.arguments.name;break}case"ts-nocheck":case"ts-check":{qt(Jd(r),c=>{(!e.checkJsDirective||c.range.pos>e.checkJsDirective.pos)&&(e.checkJsDirective={enabled:i==="ts-check",end:c.range.end,pos:c.range.pos})});break}case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:N.fail("Unhandled pragma kind")}})}var G1=new Map;function bb(e){if(G1.has(e))return G1.get(e);const t=new RegExp(`(\\s${e}\\s*=\\s*)(?:(?:'([^']*)')|(?:"([^"]*)"))`,"im");return G1.set(e,t),t}var Tb=/^\/\/\/\s*<(\S+)\s.*?\/>/m,Cb=/^\/\/\/?\s*@([^\s:]+)((?:[^\S\r\n]|:).*)?$/m;function Eb(e,t,r){const i=t.kind===2&&Tb.exec(r);if(i){const l=i[1].toLowerCase(),p=U0[l];if(!p||!(p.kind&1))return;if(p.args){const g={};for(const a of p.args){const d=bb(a.name).exec(r);if(!d&&!a.optional)return;if(d){const E=d[2]||d[3];if(a.captureSpan){const T=t.pos+d.index+d[1].length+1;g[a.name]={value:E,pos:T,end:T+E.length}}else g[a.name]=E}}e.push({name:l,args:{arguments:g,range:t}})}else e.push({name:l,args:{arguments:{},range:t}});return}const c=t.kind===2&&Cb.exec(r);if(c)return vg(e,t,2,c);if(t.kind===3){const l=/@(\S+)(\s+(?:\S.*)?)?$/gm;let p;for(;p=l.exec(r);)vg(e,t,4,p)}}function vg(e,t,r,i){if(!i)return;const c=i[1].toLowerCase(),l=U0[c];if(!l||!(l.kind&r))return;const p=i[2],g=wb(l,p);g!=="fail"&&e.push({name:c,args:{arguments:g,range:t}})}function wb(e,t){if(!t)return{};if(!e.args)return{};const r=t.trim().split(/\s+/),i={};for(let c=0;c<e.args.length;c++){const l=e.args[c];if(!r[c]&&!l.optional)return"fail";if(l.captureSpan)return N.fail("Capture spans not yet implemented for non-xml pragmas");i[l.name]=r[c]}return i}function to(e,t){return e.kind!==t.kind?!1:e.kind===80?e.escapedText===t.escapedText:e.kind===110?!0:e.kind===296?e.namespace.escapedText===t.namespace.escapedText&&e.name.escapedText===t.name.escapedText:e.name.escapedText===t.name.escapedText&&to(e.expression,t.expression)}var $1={name:"compileOnSave",type:"boolean",defaultValueDescription:!1},Db=new Map(Object.entries({preserve:1,"react-native":3,"react-jsx":4,"react-jsxdev":5,react:2})),Sb=[["es5","lib.es5.d.ts"],["es6","lib.es2015.d.ts"],["es2015","lib.es2015.d.ts"],["es7","lib.es2016.d.ts"],["es2016","lib.es2016.d.ts"],["es2017","lib.es2017.d.ts"],["es2018","lib.es2018.d.ts"],["es2019","lib.es2019.d.ts"],["es2020","lib.es2020.d.ts"],["es2021","lib.es2021.d.ts"],["es2022","lib.es2022.d.ts"],["es2023","lib.es2023.d.ts"],["es2024","lib.es2024.d.ts"],["es2025","lib.es2025.d.ts"],["esnext","lib.esnext.d.ts"],["dom","lib.dom.d.ts"],["dom.iterable","lib.dom.iterable.d.ts"],["dom.asynciterable","lib.dom.asynciterable.d.ts"],["webworker","lib.webworker.d.ts"],["webworker.importscripts","lib.webworker.importscripts.d.ts"],["webworker.iterable","lib.webworker.iterable.d.ts"],["webworker.asynciterable","lib.webworker.asynciterable.d.ts"],["scripthost","lib.scripthost.d.ts"],["es2015.core","lib.es2015.core.d.ts"],["es2015.collection","lib.es2015.collection.d.ts"],["es2015.generator","lib.es2015.generator.d.ts"],["es2015.iterable","lib.es2015.iterable.d.ts"],["es2015.promise","lib.es2015.promise.d.ts"],["es2015.proxy","lib.es2015.proxy.d.ts"],["es2015.reflect","lib.es2015.reflect.d.ts"],["es2015.symbol","lib.es2015.symbol.d.ts"],["es2015.symbol.wellknown","lib.es2015.symbol.wellknown.d.ts"],["es2016.array.include","lib.es2016.array.include.d.ts"],["es2016.intl","lib.es2016.intl.d.ts"],["es2017.arraybuffer","lib.es2017.arraybuffer.d.ts"],["es2017.date","lib.es2017.date.d.ts"],["es2017.object","lib.es2017.object.d.ts"],["es2017.sharedmemory","lib.es2017.sharedmemory.d.ts"],["es2017.string","lib.es2017.string.d.ts"],["es2017.intl","lib.es2017.intl.d.ts"],["es2017.typedarrays","lib.es2017.typedarrays.d.ts"],["es2018.asyncgenerator","lib.es2018.asyncgenerator.d.ts"],["es2018.asynciterable","lib.es2018.asynciterable.d.ts"],["es2018.intl","lib.es2018.intl.d.ts"],["es2018.promise","lib.es2018.promise.d.ts"],["es2018.regexp","lib.es2018.regexp.d.ts"],["es2019.array","lib.es2019.array.d.ts"],["es2019.object","lib.es2019.object.d.ts"],["es2019.string","lib.es2019.string.d.ts"],["es2019.symbol","lib.es2019.symbol.d.ts"],["es2019.intl","lib.es2019.intl.d.ts"],["es2020.bigint","lib.es2020.bigint.d.ts"],["es2020.date","lib.es2020.date.d.ts"],["es2020.promise","lib.es2020.promise.d.ts"],["es2020.sharedmemory","lib.es2020.sharedmemory.d.ts"],["es2020.string","lib.es2020.string.d.ts"],["es2020.symbol.wellknown","lib.es2020.symbol.wellknown.d.ts"],["es2020.intl","lib.es2020.intl.d.ts"],["es2020.number","lib.es2020.number.d.ts"],["es2021.promise","lib.es2021.promise.d.ts"],["es2021.string","lib.es2021.string.d.ts"],["es2021.weakref","lib.es2021.weakref.d.ts"],["es2021.intl","lib.es2021.intl.d.ts"],["es2022.array","lib.es2022.array.d.ts"],["es2022.error","lib.es2022.error.d.ts"],["es2022.intl","lib.es2022.intl.d.ts"],["es2022.object","lib.es2022.object.d.ts"],["es2022.string","lib.es2022.string.d.ts"],["es2022.regexp","lib.es2022.regexp.d.ts"],["es2023.array","lib.es2023.array.d.ts"],["es2023.collection","lib.es2023.collection.d.ts"],["es2023.intl","lib.es2023.intl.d.ts"],["es2024.arraybuffer","lib.es2024.arraybuffer.d.ts"],["es2024.collection","lib.es2024.collection.d.ts"],["es2024.object","lib.es2024.object.d.ts"],["es2024.promise","lib.es2024.promise.d.ts"],["es2024.regexp","lib.es2024.regexp.d.ts"],["es2024.sharedmemory","lib.es2024.sharedmemory.d.ts"],["es2024.string","lib.es2024.string.d.ts"],["es2025.collection","lib.es2025.collection.d.ts"],["es2025.float16","lib.es2025.float16.d.ts"],["es2025.intl","lib.es2025.intl.d.ts"],["es2025.iterator","lib.es2025.iterator.d.ts"],["es2025.promise","lib.es2025.promise.d.ts"],["es2025.regexp","lib.es2025.regexp.d.ts"],["esnext.asynciterable","lib.es2018.asynciterable.d.ts"],["esnext.symbol","lib.es2019.symbol.d.ts"],["esnext.bigint","lib.es2020.bigint.d.ts"],["esnext.weakref","lib.es2021.weakref.d.ts"],["esnext.object","lib.es2024.object.d.ts"],["esnext.regexp","lib.es2024.regexp.d.ts"],["esnext.string","lib.es2024.string.d.ts"],["esnext.float16","lib.es2025.float16.d.ts"],["esnext.iterator","lib.es2025.iterator.d.ts"],["esnext.promise","lib.es2025.promise.d.ts"],["esnext.array","lib.esnext.array.d.ts"],["esnext.collection","lib.esnext.collection.d.ts"],["esnext.date","lib.esnext.date.d.ts"],["esnext.decorators","lib.esnext.decorators.d.ts"],["esnext.disposable","lib.esnext.disposable.d.ts"],["esnext.error","lib.esnext.error.d.ts"],["esnext.intl","lib.esnext.intl.d.ts"],["esnext.sharedmemory","lib.esnext.sharedmemory.d.ts"],["esnext.temporal","lib.esnext.temporal.d.ts"],["esnext.typedarrays","lib.esnext.typedarrays.d.ts"],["decorators","lib.decorators.d.ts"],["decorators.legacy","lib.decorators.legacy.d.ts"]],xb=new Map(Sb),sf=[{name:"watchFile",type:new Map(Object.entries({fixedpollinginterval:0,prioritypollinginterval:1,dynamicprioritypolling:2,fixedchunksizepolling:3,usefsevents:4,usefseventsonparentdirectory:5})),category:f.Watch_and_Build_Modes,description:f.Specify_how_the_TypeScript_watch_mode_works,defaultValueDescription:4},{name:"watchDirectory",type:new Map(Object.entries({usefsevents:0,fixedpollinginterval:1,dynamicprioritypolling:2,fixedchunksizepolling:3})),category:f.Watch_and_Build_Modes,description:f.Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality,defaultValueDescription:0},{name:"fallbackPolling",type:new Map(Object.entries({fixedinterval:0,priorityinterval:1,dynamicpriority:2,fixedchunksize:3})),category:f.Watch_and_Build_Modes,description:f.Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers,defaultValueDescription:1},{name:"synchronousWatchDirectory",type:"boolean",category:f.Watch_and_Build_Modes,description:f.Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively,defaultValueDescription:!1},{name:"excludeDirectories",type:"list",element:{name:"excludeDirectory",type:"string",isFilePath:!0,extraValidation:K1},allowConfigDirTemplateSubstitution:!0,category:f.Watch_and_Build_Modes,description:f.Remove_a_list_of_directories_from_the_watch_process},{name:"excludeFiles",type:"list",element:{name:"excludeFile",type:"string",isFilePath:!0,extraValidation:K1},allowConfigDirTemplateSubstitution:!0,category:f.Watch_and_Build_Modes,description:f.Remove_a_list_of_files_from_the_watch_mode_s_processing}],kg=[{name:"help",shortName:"h",type:"boolean",showInSimplifiedHelpView:!0,isCommandLineOnly:!0,category:f.Command_line_Options,description:f.Print_this_message,defaultValueDescription:!1},{name:"help",shortName:"?",type:"boolean",isCommandLineOnly:!0,category:f.Command_line_Options,defaultValueDescription:!1},{name:"watch",shortName:"w",type:"boolean",showInSimplifiedHelpView:!0,isCommandLineOnly:!0,category:f.Command_line_Options,description:f.Watch_input_files,defaultValueDescription:!1},{name:"preserveWatchOutput",type:"boolean",showInSimplifiedHelpView:!1,category:f.Output_Formatting,description:f.Disable_wiping_the_console_in_watch_mode,defaultValueDescription:!1},{name:"listFiles",type:"boolean",category:f.Compiler_Diagnostics,description:f.Print_all_of_the_files_read_during_the_compilation,defaultValueDescription:!1},{name:"explainFiles",type:"boolean",category:f.Compiler_Diagnostics,description:f.Print_files_read_during_the_compilation_including_why_it_was_included,defaultValueDescription:!1},{name:"listEmittedFiles",type:"boolean",category:f.Compiler_Diagnostics,description:f.Print_the_names_of_emitted_files_after_a_compilation,defaultValueDescription:!1},{name:"pretty",type:"boolean",showInSimplifiedHelpView:!0,category:f.Output_Formatting,description:f.Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read,defaultValueDescription:!0},{name:"traceResolution",type:"boolean",category:f.Compiler_Diagnostics,description:f.Log_paths_used_during_the_moduleResolution_process,defaultValueDescription:!1},{name:"diagnostics",type:"boolean",category:f.Compiler_Diagnostics,description:f.Output_compiler_performance_information_after_building,defaultValueDescription:!1},{name:"extendedDiagnostics",type:"boolean",category:f.Compiler_Diagnostics,description:f.Output_more_detailed_compiler_performance_information_after_building,defaultValueDescription:!1},{name:"generateCpuProfile",type:"string",isFilePath:!0,paramType:f.FILE_OR_DIRECTORY,category:f.Compiler_Diagnostics,description:f.Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging,defaultValueDescription:"profile.cpuprofile"},{name:"generateTrace",type:"string",isFilePath:!0,paramType:f.DIRECTORY,category:f.Compiler_Diagnostics,description:f.Generates_an_event_trace_and_a_list_of_types},{name:"incremental",shortName:"i",type:"boolean",category:f.Projects,description:f.Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects,transpileOptionValue:void 0,defaultValueDescription:f.false_unless_composite_is_set},{name:"declaration",shortName:"d",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:f.Emit,transpileOptionValue:void 0,description:f.Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project,defaultValueDescription:f.false_unless_composite_is_set},{name:"declarationMap",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:f.Emit,defaultValueDescription:!1,description:f.Create_sourcemaps_for_d_ts_files},{name:"emitDeclarationOnly",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:f.Emit,description:f.Only_output_d_ts_files_and_not_JavaScript_files,transpileOptionValue:void 0,defaultValueDescription:!1},{name:"sourceMap",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:f.Emit,defaultValueDescription:!1,description:f.Create_source_map_files_for_emitted_JavaScript_files},{name:"inlineSourceMap",type:"boolean",affectsBuildInfo:!0,category:f.Emit,description:f.Include_sourcemap_files_inside_the_emitted_JavaScript,defaultValueDescription:!1},{name:"noCheck",type:"boolean",showInSimplifiedHelpView:!1,category:f.Compiler_Diagnostics,description:f.Disable_full_type_checking_only_critical_parse_and_emit_errors_will_be_reported,transpileOptionValue:!0,defaultValueDescription:!1},{name:"noEmit",type:"boolean",showInSimplifiedHelpView:!0,category:f.Emit,description:f.Disable_emitting_files_from_a_compilation,transpileOptionValue:void 0,defaultValueDescription:!1},{name:"assumeChangesOnlyAffectDirectDependencies",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:f.Watch_and_Build_Modes,description:f.Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it,defaultValueDescription:!1},{name:"locale",type:"string",category:f.Command_line_Options,isCommandLineOnly:!0,description:f.Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit,defaultValueDescription:f.Platform_specific}],bg={name:"target",shortName:"t",type:new Map(Object.entries({es3:0,es5:1,es6:2,es2015:2,es2016:3,es2017:4,es2018:5,es2019:6,es2020:7,es2021:8,es2022:9,es2023:10,es2024:11,es2025:12,esnext:99})),affectsSourceFile:!0,affectsModuleResolution:!0,affectsEmit:!0,affectsBuildInfo:!0,deprecatedKeys:new Set(["es3","es5"]),paramType:f.VERSION,showInSimplifiedHelpView:!0,category:f.Language_and_Environment,description:f.Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations,defaultValueDescription:12},Pb={name:"module",shortName:"m",type:new Map(Object.entries({none:0,commonjs:1,amd:2,system:4,umd:3,es6:5,es2015:5,es2020:6,es2022:7,esnext:99,node16:100,node18:101,node20:102,nodenext:199,preserve:200})),deprecatedKeys:new Set(["none","amd","system","umd"]),affectsSourceFile:!0,affectsModuleResolution:!0,affectsEmit:!0,affectsBuildInfo:!0,paramType:f.KIND,showInSimplifiedHelpView:!0,category:f.Modules,description:f.Specify_what_module_code_is_generated,defaultValueDescription:void 0},Tg=[{name:"all",type:"boolean",showInSimplifiedHelpView:!0,category:f.Command_line_Options,description:f.Show_all_compiler_options,defaultValueDescription:!1},{name:"version",shortName:"v",type:"boolean",showInSimplifiedHelpView:!0,category:f.Command_line_Options,description:f.Print_the_compiler_s_version,defaultValueDescription:!1},{name:"init",type:"boolean",showInSimplifiedHelpView:!0,category:f.Command_line_Options,description:f.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file,defaultValueDescription:!1},{name:"project",shortName:"p",type:"string",isFilePath:!0,showInSimplifiedHelpView:!0,category:f.Command_line_Options,paramType:f.FILE_OR_DIRECTORY,description:f.Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json},{name:"showConfig",type:"boolean",showInSimplifiedHelpView:!0,category:f.Command_line_Options,isCommandLineOnly:!0,description:f.Print_the_final_configuration_instead_of_building,defaultValueDescription:!1},{name:"listFilesOnly",type:"boolean",category:f.Command_line_Options,isCommandLineOnly:!0,description:f.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing,defaultValueDescription:!1},{name:"ignoreConfig",type:"boolean",showInSimplifiedHelpView:!0,category:f.Command_line_Options,isCommandLineOnly:!0,description:f.Ignore_the_tsconfig_found_and_build_with_commandline_options_and_files,defaultValueDescription:!1},bg,Pb,{name:"lib",type:"list",element:{name:"lib",type:xb,defaultValueDescription:void 0},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:f.Language_and_Environment,description:f.Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment,transpileOptionValue:void 0},{name:"allowJs",type:"boolean",allowJsFlag:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:f.JavaScript_Support,description:f.Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJs_option_to_get_errors_from_these_files,defaultValueDescription:f.false_unless_checkJs_is_set},{name:"checkJs",type:"boolean",affectsModuleResolution:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:f.JavaScript_Support,description:f.Enable_error_reporting_in_type_checked_JavaScript_files,defaultValueDescription:!1},{name:"jsx",type:Db,affectsSourceFile:!0,affectsEmit:!0,affectsBuildInfo:!0,affectsModuleResolution:!0,affectsSemanticDiagnostics:!0,paramType:f.KIND,showInSimplifiedHelpView:!0,category:f.Language_and_Environment,description:f.Specify_what_JSX_code_is_generated,defaultValueDescription:void 0},{name:"outFile",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:f.FILE,showInSimplifiedHelpView:!0,category:f.Emit,description:f.Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output,transpileOptionValue:void 0},{name:"outDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:f.DIRECTORY,showInSimplifiedHelpView:!0,category:f.Emit,description:f.Specify_an_output_folder_for_all_emitted_files},{name:"rootDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:f.LOCATION,category:f.Modules,description:f.Specify_the_root_folder_within_your_source_files,defaultValueDescription:f.Computed_from_the_list_of_input_files},{name:"composite",type:"boolean",affectsBuildInfo:!0,isTSConfigOnly:!0,category:f.Projects,transpileOptionValue:void 0,defaultValueDescription:!1,description:f.Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references},{name:"tsBuildInfoFile",type:"string",affectsEmit:!0,affectsBuildInfo:!0,isFilePath:!0,paramType:f.FILE,category:f.Projects,transpileOptionValue:void 0,defaultValueDescription:".tsbuildinfo",description:f.Specify_the_path_to_tsbuildinfo_incremental_compilation_file},{name:"removeComments",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:f.Emit,defaultValueDescription:!1,description:f.Disable_emitting_comments},{name:"importHelpers",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,affectsSourceFile:!0,category:f.Emit,description:f.Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file,defaultValueDescription:!1},{name:"importsNotUsedAsValues",type:new Map(Object.entries({remove:0,preserve:1,error:2})),affectsEmit:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Backwards_Compatibility,description:f.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types,defaultValueDescription:0},{name:"downlevelIteration",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:f.Emit,description:f.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration,defaultValueDescription:!1},{name:"isolatedModules",type:"boolean",category:f.Interop_Constraints,description:f.Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports,transpileOptionValue:!0,defaultValueDescription:!1},{name:"verbatimModuleSyntax",type:"boolean",affectsEmit:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Interop_Constraints,description:f.Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting,defaultValueDescription:!1},{name:"isolatedDeclarations",type:"boolean",category:f.Interop_Constraints,description:f.Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files,defaultValueDescription:!1,affectsBuildInfo:!0,affectsSemanticDiagnostics:!0},{name:"erasableSyntaxOnly",type:"boolean",category:f.Interop_Constraints,description:f.Do_not_allow_runtime_constructs_that_are_not_part_of_ECMAScript,defaultValueDescription:!1,affectsBuildInfo:!0,affectsSemanticDiagnostics:!0},{name:"libReplacement",type:"boolean",affectsProgramStructure:!0,category:f.Language_and_Environment,description:f.Enable_lib_replacement,defaultValueDescription:!1},{name:"strict",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:f.Type_Checking,description:f.Enable_all_strict_type_checking_options,defaultValueDescription:!0},{name:"noImplicitAny",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:f.Type_Checking,description:f.Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type,defaultValueDescription:f.true_unless_strict_is_false},{name:"strictNullChecks",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:f.Type_Checking,description:f.When_type_checking_take_into_account_null_and_undefined,defaultValueDescription:f.true_unless_strict_is_false},{name:"strictFunctionTypes",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:f.Type_Checking,description:f.When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible,defaultValueDescription:f.true_unless_strict_is_false},{name:"strictBindCallApply",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:f.Type_Checking,description:f.Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function,defaultValueDescription:f.true_unless_strict_is_false},{name:"strictPropertyInitialization",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:f.Type_Checking,description:f.Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor,defaultValueDescription:f.true_unless_strict_is_false},{name:"strictBuiltinIteratorReturn",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:f.Type_Checking,description:f.Built_in_iterators_are_instantiated_with_a_TReturn_type_of_undefined_instead_of_any,defaultValueDescription:f.true_unless_strict_is_false},{name:"stableTypeOrdering",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,showInHelp:!1,category:f.Type_Checking,description:f.Ensure_types_are_ordered_stably_and_deterministically_across_compilations,defaultValueDescription:!1},{name:"noImplicitThis",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:f.Type_Checking,description:f.Enable_error_reporting_when_this_is_given_the_type_any,defaultValueDescription:f.true_unless_strict_is_false},{name:"useUnknownInCatchVariables",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:f.Type_Checking,description:f.Default_catch_clause_variables_as_unknown_instead_of_any,defaultValueDescription:f.true_unless_strict_is_false},{name:"alwaysStrict",type:"boolean",affectsSourceFile:!0,affectsEmit:!0,affectsBuildInfo:!0,category:f.Type_Checking,description:f.Ensure_use_strict_is_always_emitted,defaultValueDescription:!0},{name:"noUnusedLocals",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Type_Checking,description:f.Enable_error_reporting_when_local_variables_aren_t_read,defaultValueDescription:!1},{name:"noUnusedParameters",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Type_Checking,description:f.Raise_an_error_when_a_function_parameter_isn_t_read,defaultValueDescription:!1},{name:"exactOptionalPropertyTypes",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Type_Checking,description:f.Interpret_optional_property_types_as_written_rather_than_adding_undefined,defaultValueDescription:!1},{name:"noImplicitReturns",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Type_Checking,description:f.Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function,defaultValueDescription:!1},{name:"noFallthroughCasesInSwitch",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Type_Checking,description:f.Enable_error_reporting_for_fallthrough_cases_in_switch_statements,defaultValueDescription:!1},{name:"noUncheckedIndexedAccess",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Type_Checking,description:f.Add_undefined_to_a_type_when_accessed_using_an_index,defaultValueDescription:!1},{name:"noImplicitOverride",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Type_Checking,description:f.Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier,defaultValueDescription:!1},{name:"noPropertyAccessFromIndexSignature",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!1,category:f.Type_Checking,description:f.Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type,defaultValueDescription:!1},{name:"moduleResolution",type:new Map(Object.entries({node10:2,node:2,classic:1,node16:3,nodenext:99,bundler:100})),deprecatedKeys:new Set(["node","node10","classic"]),affectsSourceFile:!0,affectsModuleResolution:!0,paramType:f.STRATEGY,category:f.Modules,description:f.Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier,defaultValueDescription:f.nodenext_if_module_is_nodenext_node16_if_module_is_node16_or_node18_otherwise_bundler},{name:"baseUrl",type:"string",affectsModuleResolution:!0,isFilePath:!0,category:f.Modules,description:f.Specify_the_base_directory_to_resolve_non_relative_module_names},{name:"paths",type:"object",affectsModuleResolution:!0,allowConfigDirTemplateSubstitution:!0,isTSConfigOnly:!0,category:f.Modules,description:f.Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations,transpileOptionValue:void 0},{name:"rootDirs",type:"list",isTSConfigOnly:!0,element:{name:"rootDirs",type:"string",isFilePath:!0},affectsModuleResolution:!0,allowConfigDirTemplateSubstitution:!0,category:f.Modules,description:f.Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules,transpileOptionValue:void 0,defaultValueDescription:f.Computed_from_the_list_of_input_files},{name:"typeRoots",type:"list",element:{name:"typeRoots",type:"string",isFilePath:!0},affectsModuleResolution:!0,allowConfigDirTemplateSubstitution:!0,category:f.Modules,description:f.Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types},{name:"types",type:"list",element:{name:"types",type:"string"},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:f.Modules,description:f.Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file,transpileOptionValue:void 0},{name:"allowSyntheticDefaultImports",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Interop_Constraints,description:f.Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export,defaultValueDescription:!0},{name:"esModuleInterop",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:f.Interop_Constraints,description:f.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility,defaultValueDescription:!0},{name:"preserveSymlinks",type:"boolean",category:f.Interop_Constraints,description:f.Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node,defaultValueDescription:!1},{name:"allowUmdGlobalAccess",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Modules,description:f.Allow_accessing_UMD_globals_from_modules,defaultValueDescription:!1},{name:"moduleSuffixes",type:"list",element:{name:"suffix",type:"string"},listPreserveFalsyValues:!0,affectsModuleResolution:!0,category:f.Modules,description:f.List_of_file_name_suffixes_to_search_when_resolving_a_module},{name:"allowImportingTsExtensions",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Modules,description:f.Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set,defaultValueDescription:!1,transpileOptionValue:void 0},{name:"rewriteRelativeImportExtensions",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Modules,description:f.Rewrite_ts_tsx_mts_and_cts_file_extensions_in_relative_import_paths_to_their_JavaScript_equivalent_in_output_files,defaultValueDescription:!1},{name:"resolvePackageJsonExports",type:"boolean",affectsModuleResolution:!0,category:f.Modules,description:f.Use_the_package_json_exports_field_when_resolving_package_imports,defaultValueDescription:f.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false},{name:"resolvePackageJsonImports",type:"boolean",affectsModuleResolution:!0,category:f.Modules,description:f.Use_the_package_json_imports_field_when_resolving_imports,defaultValueDescription:f.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false},{name:"customConditions",type:"list",element:{name:"condition",type:"string"},affectsModuleResolution:!0,category:f.Modules,description:f.Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports},{name:"noUncheckedSideEffectImports",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Modules,description:f.Check_side_effect_imports,defaultValueDescription:!0},{name:"sourceRoot",type:"string",affectsEmit:!0,affectsBuildInfo:!0,paramType:f.LOCATION,category:f.Emit,description:f.Specify_the_root_path_for_debuggers_to_find_the_reference_source_code},{name:"mapRoot",type:"string",affectsEmit:!0,affectsBuildInfo:!0,paramType:f.LOCATION,category:f.Emit,description:f.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations},{name:"inlineSources",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:f.Emit,description:f.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript,defaultValueDescription:!1},{name:"experimentalDecorators",type:"boolean",affectsEmit:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Language_and_Environment,description:f.Enable_experimental_support_for_legacy_experimental_decorators,defaultValueDescription:!1},{name:"emitDecoratorMetadata",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:f.Language_and_Environment,description:f.Emit_design_type_metadata_for_decorated_declarations_in_source_files,defaultValueDescription:!1},{name:"jsxFactory",type:"string",category:f.Language_and_Environment,description:f.Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h,defaultValueDescription:"`React.createElement`"},{name:"jsxFragmentFactory",type:"string",category:f.Language_and_Environment,description:f.Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment,defaultValueDescription:"React.Fragment"},{name:"jsxImportSource",type:"string",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,affectsModuleResolution:!0,affectsSourceFile:!0,category:f.Language_and_Environment,description:f.Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk,defaultValueDescription:"react"},{name:"resolveJsonModule",type:"boolean",affectsModuleResolution:!0,category:f.Modules,description:f.Enable_importing_json_files,defaultValueDescription:!1},{name:"allowArbitraryExtensions",type:"boolean",affectsProgramStructure:!0,category:f.Modules,description:f.Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present,defaultValueDescription:!1},{name:"out",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!1,category:f.Backwards_Compatibility,paramType:f.FILE,transpileOptionValue:void 0,description:f.Deprecated_setting_Use_outFile_instead},{name:"reactNamespace",type:"string",affectsEmit:!0,affectsBuildInfo:!0,category:f.Language_and_Environment,description:f.Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit,defaultValueDescription:"`React`"},{name:"skipDefaultLibCheck",type:"boolean",affectsBuildInfo:!0,category:f.Completeness,description:f.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript,defaultValueDescription:!1},{name:"charset",type:"string",category:f.Backwards_Compatibility,description:f.No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files,defaultValueDescription:"utf8"},{name:"emitBOM",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:f.Emit,description:f.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files,defaultValueDescription:!1},{name:"newLine",type:new Map(Object.entries({crlf:0,lf:1})),affectsEmit:!0,affectsBuildInfo:!0,paramType:f.NEWLINE,category:f.Emit,description:f.Set_the_newline_character_for_emitting_files,defaultValueDescription:"lf"},{name:"noErrorTruncation",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Output_Formatting,description:f.Disable_truncating_types_in_error_messages,defaultValueDescription:!1},{name:"noLib",type:"boolean",category:f.Language_and_Environment,affectsProgramStructure:!0,description:f.Disable_including_any_library_files_including_the_default_lib_d_ts,transpileOptionValue:!0,defaultValueDescription:!1},{name:"noResolve",type:"boolean",affectsModuleResolution:!0,category:f.Modules,description:f.Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project,transpileOptionValue:!0,defaultValueDescription:!1},{name:"stripInternal",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:f.Emit,description:f.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments,defaultValueDescription:!1},{name:"disableSizeLimit",type:"boolean",affectsProgramStructure:!0,category:f.Editor_Support,description:f.Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server,defaultValueDescription:!1},{name:"disableSourceOfProjectReferenceRedirect",type:"boolean",isTSConfigOnly:!0,category:f.Projects,description:f.Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects,defaultValueDescription:!1},{name:"disableSolutionSearching",type:"boolean",isTSConfigOnly:!0,category:f.Projects,description:f.Opt_a_project_out_of_multi_project_reference_checking_when_editing,defaultValueDescription:!1},{name:"disableReferencedProjectLoad",type:"boolean",isTSConfigOnly:!0,category:f.Projects,description:f.Reduce_the_number_of_projects_loaded_automatically_by_TypeScript,defaultValueDescription:!1},{name:"noImplicitUseStrict",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Backwards_Compatibility,description:f.Disable_adding_use_strict_directives_in_emitted_JavaScript_files,defaultValueDescription:!1},{name:"noEmitHelpers",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:f.Emit,description:f.Disable_generating_custom_helper_functions_like_extends_in_compiled_output,defaultValueDescription:!1},{name:"noEmitOnError",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:f.Emit,transpileOptionValue:void 0,description:f.Disable_emitting_files_if_any_type_checking_errors_are_reported,defaultValueDescription:!1},{name:"preserveConstEnums",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:f.Emit,description:f.Disable_erasing_const_enum_declarations_in_generated_code,defaultValueDescription:!1},{name:"declarationDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:f.DIRECTORY,category:f.Emit,transpileOptionValue:void 0,description:f.Specify_the_output_directory_for_generated_declaration_files},{name:"skipLibCheck",type:"boolean",affectsBuildInfo:!0,category:f.Completeness,description:f.Skip_type_checking_all_d_ts_files,defaultValueDescription:!1},{name:"allowUnusedLabels",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Type_Checking,description:f.Disable_error_reporting_for_unused_labels,defaultValueDescription:void 0},{name:"allowUnreachableCode",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Type_Checking,description:f.Disable_error_reporting_for_unreachable_code,defaultValueDescription:void 0},{name:"suppressExcessPropertyErrors",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Backwards_Compatibility,description:f.Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals,defaultValueDescription:!1},{name:"suppressImplicitAnyIndexErrors",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Backwards_Compatibility,description:f.Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures,defaultValueDescription:!1},{name:"forceConsistentCasingInFileNames",type:"boolean",affectsModuleResolution:!0,category:f.Interop_Constraints,description:f.Ensure_that_casing_is_correct_in_imports,defaultValueDescription:!0},{name:"maxNodeModuleJsDepth",type:"number",affectsModuleResolution:!0,category:f.JavaScript_Support,description:f.Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs,defaultValueDescription:0},{name:"noStrictGenericChecks",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:f.Backwards_Compatibility,description:f.Disable_strict_checking_of_generic_signatures_in_function_types,defaultValueDescription:!1},{name:"useDefineForClassFields",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:f.Language_and_Environment,description:f.Emit_ECMAScript_standard_compliant_class_fields,defaultValueDescription:f.true_for_ES2022_and_above_including_ESNext},{name:"preserveValueImports",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:f.Backwards_Compatibility,description:f.Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed,defaultValueDescription:!1},{name:"keyofStringsOnly",type:"boolean",category:f.Backwards_Compatibility,description:f.Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option,defaultValueDescription:!1},{name:"plugins",type:"list",isTSConfigOnly:!0,element:{name:"plugin",type:"object"},description:f.Specify_a_list_of_language_service_plugins_to_include,category:f.Editor_Support},{name:"moduleDetection",type:new Map(Object.entries({auto:2,legacy:1,force:3})),affectsSourceFile:!0,affectsModuleResolution:!0,description:f.Control_what_method_is_used_to_detect_module_format_JS_files,category:f.Language_and_Environment,defaultValueDescription:f.auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules},{name:"ignoreDeprecations",type:"string",defaultValueDescription:void 0}],af=[...kg,...Tg],Ib=af.filter(e=>e.allowConfigDirTemplateSubstitution||!e.isCommandLineOnly&&e.isFilePath),Ab=sf.filter(e=>e.allowConfigDirTemplateSubstitution||!e.isCommandLineOnly&&e.isFilePath),Cg={name:"build",type:"boolean",shortName:"b",showInSimplifiedHelpView:!0,category:f.Command_line_Options,description:f.Build_one_or_more_projects_and_their_dependencies_if_out_of_date,defaultValueDescription:!1},Ob=[Cg,{name:"verbose",shortName:"v",category:f.Command_line_Options,description:f.Enable_verbose_logging,type:"boolean",defaultValueDescription:!1},{name:"dry",shortName:"d",category:f.Command_line_Options,description:f.Show_what_would_be_built_or_deleted_if_specified_with_clean,type:"boolean",defaultValueDescription:!1},{name:"force",shortName:"f",category:f.Command_line_Options,description:f.Build_all_projects_including_those_that_appear_to_be_up_to_date,type:"boolean",defaultValueDescription:!1},{name:"clean",category:f.Command_line_Options,description:f.Delete_the_outputs_of_all_projects,type:"boolean",defaultValueDescription:!1},{name:"stopBuildOnErrors",category:f.Command_line_Options,description:f.Skip_building_downstream_projects_on_error_in_upstream_project,type:"boolean",defaultValueDescription:!1}],Lb=[...kg,...Ob],Eg=[{name:"enable",type:"boolean",defaultValueDescription:!1},{name:"include",type:"list",element:{name:"include",type:"string"}},{name:"exclude",type:"list",element:{name:"exclude",type:"string"}},{name:"disableFilenameBasedTypeAcquisition",type:"boolean",defaultValueDescription:!1}];function Q1(e){const t=new Map,r=new Map;return qt(e,i=>{t.set(i.name.toLowerCase(),i),i.shortName&&r.set(i.shortName,i.name)}),{optionsNameMap:t,shortOptionNames:r}}var wg;function Dg(){return wg||(wg=Q1(af))}var Nb={diagnostic:f.Compiler_option_0_may_only_be_used_with_build,getOptionsNameMap:jb};function Jb(e,t){const r=Ps(e.type.keys()),i=(e.deprecatedKeys?r.filter(c=>!e.deprecatedKeys.has(c)):r).map(c=>`'${c}'`).join(", ");return t(f.Argument_for_0_option_must_be_Colon_1,`--${e.name}`,i)}function Sg(e){return e.name}function xg(e,t,r,i,c){var l;const p=(l=t.alternateMode)==null?void 0:l.getOptionsNameMap().optionsNameMap.get(e.toLowerCase());if(p)return Or(c,i,p!==Cg?t.alternateMode.diagnostic:f.Option_build_must_be_the_first_command_line_argument,e);const g=Os(e,t.optionDeclarations,Sg);return g?Or(c,i,t.unknownDidYouMeanDiagnostic,r||e,g.name):Or(c,i,t.unknownOptionDiagnostic,r||e)}var Pg={alternateMode:Nb,getOptionsNameMap:Dg,optionDeclarations:af,unknownOptionDiagnostic:f.Unknown_compiler_option_0,unknownDidYouMeanDiagnostic:f.Unknown_compiler_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:f.Compiler_option_0_expects_an_argument},Ig;function jb(){return Ig||(Ig=Q1(Lb))}function Mb(e,t,r,i,c,l){const p=Ag(e,b=>r.readFile(b));if(!Ht(p)){r.onUnRecoverableConfigFileDiagnostic(p);return}const g=q1(e,p),a=r.getCurrentDirectory();return g.path=Ns(e,a,rr(r.useCaseSensitiveFileNames)),g.resolvedPath=g.path,g.originalFileName=g.fileName,zb(g,r,Jt(Ut(e),a),t,Jt(e,a),void 0,l,i,c)}function Bb(e,t){const r=q1(e,t);return{config:zg(r,r.parseDiagnostics,void 0),error:r.parseDiagnostics.length?r.parseDiagnostics[0]:void 0}}function Rb(e,t){const r=Ag(e,t);return Ht(r)?q1(e,r):{fileName:e,parseDiagnostics:[r]}}function Ag(e,t){let r;try{r=t(e)}catch(i){return vr(f.Cannot_read_file_0_Colon_1,e,i.message)}return r===void 0?vr(f.Cannot_read_file_0,e):r}function cf(e){return h_(e,Sg)}var Og={optionDeclarations:Eg,unknownOptionDiagnostic:f.Unknown_type_acquisition_option_0,unknownDidYouMeanDiagnostic:f.Unknown_type_acquisition_option_0_Did_you_mean_1},Lg;function Ub(){return Lg||(Lg=Q1(sf))}var Ng={getOptionsNameMap:Ub,optionDeclarations:sf,unknownOptionDiagnostic:f.Unknown_watch_option_0,unknownDidYouMeanDiagnostic:f.Unknown_watch_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:f.Watch_option_0_requires_a_value_of_type_1},Jg;function jg(){return Jg||(Jg=cf(af))}var Mg;function Bg(){return Mg||(Mg=cf(sf))}var Rg;function Ug(){return Rg||(Rg=cf(Eg))}var Cc={name:"extends",type:"listOrElement",element:{name:"extends",type:"string"},category:f.File_Management,disallowNullOrUndefined:!0},Fg={name:"compilerOptions",type:"object",elementOptions:jg(),extraKeyDiagnostics:Pg},Vg={name:"watchOptions",type:"object",elementOptions:Bg(),extraKeyDiagnostics:Ng},Wg={name:"typeAcquisition",type:"object",elementOptions:Ug(),extraKeyDiagnostics:Og},X1;function Fb(){return X1===void 0&&(X1={name:void 0,type:"object",elementOptions:cf([Fg,Vg,Wg,Cc,{name:"references",type:"list",element:{name:"references",type:"object"},category:f.Projects},{name:"files",type:"list",element:{name:"files",type:"string"},category:f.File_Management},{name:"include",type:"list",element:{name:"include",type:"string"},category:f.File_Management,defaultValueDescription:f.if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk},{name:"exclude",type:"list",element:{name:"exclude",type:"string"},category:f.File_Management,defaultValueDescription:f.node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified},$1])}),X1}function zg(e,t,r){var i;const c=(i=e.statements[0])==null?void 0:i.expression;if(c&&c.kind!==211){if(t.push(qr(e,c,f.The_root_value_of_a_0_file_must_be_an_object,ri(e.fileName)==="jsconfig.json"?"jsconfig.json":"tsconfig.json")),ea(c)){const l=Ti(c.elements,ns);if(l)return uf(e,l,t,!0,r)}return{}}return uf(e,c,t,!0,r)}function Vb(e,t){var r;return uf(e,(r=e.statements[0])==null?void 0:r.expression,t,!0,void 0)}function uf(e,t,r,i,c){if(!t)return i?{}:void 0;return g(t,c?.rootOptions);function l(b,d){var E;const T=i?{}:void 0;for(const C of b.properties){if(C.kind!==304){r.push(qr(e,C,f.Property_assignment_expected));continue}C.questionToken&&r.push(qr(e,C.questionToken,f.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),a(C.name)||r.push(qr(e,C.name,f.String_literal_with_double_quotes_expected));const S=Q7(C.name)?void 0:Rh(C.name),j=S&&Fo(S),L=j?(E=d?.elementOptions)==null?void 0:E.get(j):void 0,A=g(C.initializer,L);typeof j<"u"&&(i&&(T[j]=A),c?.onPropertySet(j,A,C,d,L))}return T}function p(b,d){if(!i){b.forEach(E=>g(E,d));return}return Un(b.map(E=>g(E,d)),E=>E!==void 0)}function g(b,d){switch(b.kind){case 112:return!0;case 97:return!1;case 106:return null;case 11:return a(b)||r.push(qr(e,b,f.String_literal_with_double_quotes_expected)),b.text;case 9:return Number(b.text);case 225:if(b.operator!==41||b.operand.kind!==9)break;return-Number(b.operand.text);case 211:return l(b,d);case 210:return p(b.elements,d&&d.element)}d?r.push(qr(e,b,f.Compiler_option_0_requires_a_value_of_type_1,d.name,Y1(d))):r.push(qr(e,b,f.Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal))}function a(b){return es(b)&&av(b,e)}}function Y1(e){return e.type==="listOrElement"?`${Y1(e.element)} or Array`:e.type==="list"?"Array":Ht(e.type)?e.type:"string"}function qg(e,t){if(e){if(qs(t))return!e.disallowNullOrUndefined;if(e.type==="list")return Vt(t);if(e.type==="listOrElement")return Vt(t)||qg(e.element,t);const r=Ht(e.type)?e.type:"string";return typeof t===r}return!1}function Hg(e,t){const r={},i=Dg().optionsNameMap;for(const c in e)Rt(e,c)&&(r[c]=Wb(i.get(c.toLowerCase()),e[c],t));return r.configFilePath&&(r.configFilePath=t(r.configFilePath)),r}function Wb(e,t,r){if(e&&!qs(t)){if(e.type==="list"){const i=t;if(e.element.isFilePath&&i.length)return i.map(r)}else if(e.isFilePath)return r(t);N.assert(e.type!=="listOrElement")}return t}function zb(e,t,r,i,c,l,p,g,a){var b,d;(b=Vr)==null||b.push(Vr.Phase.Parse,"parseJsonSourceFileConfigFileContent",{path:e.fileName});const E=Gb(void 0,e,t,r,i,a,c,l,p,g);return(d=Vr)==null||d.pop(),E}function qb(e,t){t&&Object.defineProperty(e,"configFile",{enumerable:!1,writable:!1,value:t})}function qs(e){return e==null}function Gg(e,t){return Ut(Jt(e,t))}var Hb="**/*";function Gb(e,t,r,i,c={},l,p,g=[],a=[],b){N.assert(e===void 0&&t!==void 0||e!==void 0&&t===void 0);const d=[],E=e6(e,t,r,i,p,g,d,b),{raw:T}=E,C=$g(g0(c,E.options||{}),Ib,i),S=$b(l&&E.watchOptions?g0(l,E.watchOptions):E.watchOptions||l,i);C.configFilePath=p&&Nn(p);const j=Mt(p?Gg(p,i):i),L=A();return t&&(t.configFileSpecs=L),qb(C,t),{options:C,watchOptions:S,fileNames:U(j),projectReferences:x(j),typeAcquisition:E.typeAcquisition||_f(),raw:T,errors:d,wildcardDirectories:f5(L,j,r.useCaseSensitiveFileNames),compileOnSave:!!T.compileOnSave};function A(){const D=J("references",_t=>typeof _t=="object","object"),Z=F(te("files"));if(Z){const _t=D==="no-prop"||Vt(D)&&D.length===0,ve=Rt(T,"extends");if(Z.length===0&&_t&&!ve)if(t){const Je=p||"tsconfig.json",Ie=f.The_files_list_in_config_file_0_is_empty,M=Wh(t,"files",Le=>Le.initializer),ge=Or(t,M,Ie,Je);d.push(ge)}else V(f.The_files_list_in_config_file_0_is_empty,p||"tsconfig.json")}let he=F(te("include"));const pe=te("exclude");let be=!1,De=F(pe);if(pe==="no-prop"){const _t=C.outDir,ve=C.declarationDir;(_t||ve)&&(De=Un([_t,ve],Je=>!!Je))}Z===void 0&&he===void 0&&(he=[Hb],be=!0);let ye,se,Ae,Ue;he&&(ye=l6(he,d,!0,t,"include"),Ae=Ec(ye,j)||ye),De&&(se=l6(De,d,!1,t,"exclude"),Ue=Ec(se,j)||se);const Pe=Un(Z,Ht),kt=Ec(Pe,j)||Pe;return{filesSpecs:Z,includeSpecs:he,excludeSpecs:De,validatedFilesSpec:kt,validatedIncludeSpecs:Ae,validatedExcludeSpecs:Ue,validatedFilesSpecBeforeSubstitution:Pe,validatedIncludeSpecsBeforeSubstitution:ye,validatedExcludeSpecsBeforeSubstitution:se,isDefaultIncludeSpec:be}}function U(D){const Z=s6(L,D,C,r,a);return Zg(Z,Kg(T),g)&&d.push(Yg(L,p)),Z}function x(D){let Z;const he=J("references",pe=>typeof pe=="object","object");if(Vt(he))for(const pe of he)typeof pe.path!="string"?V(f.Compiler_option_0_requires_a_value_of_type_1,"reference.path","string"):(Z||(Z=[])).push({path:Jt(pe.path,D),originalPath:pe.path,prepend:pe.prepend,circular:pe.circular});return Z}function F(D){return Vt(D)?D:void 0}function te(D){return J(D,Ht,"string")}function J(D,Z,he){if(Rt(T,D)&&!qs(T[D]))if(Vt(T[D])){const pe=T[D];return!t&&!bi(pe,Z)&&d.push(vr(f.Compiler_option_0_requires_a_value_of_type_1,D,he)),pe}else return V(f.Compiler_option_0_requires_a_value_of_type_1,D,"Array"),"not-array";return"no-prop"}function V(D,...Z){t||d.push(vr(D,...Z))}}function $b(e,t){return $g(e,Ab,t)}function $g(e,t,r){if(!e)return e;let i;for(const l of t)if(e[l.name]!==void 0){const p=e[l.name];switch(l.type){case"string":N.assert(l.isFilePath),lf(p)&&c(l,Xg(p,r));break;case"list":N.assert(l.element.isFilePath);const g=Ec(p,r);g&&c(l,g);break;case"object":N.assert(l.name==="paths");const a=Qb(p,r);a&&c(l,a);break;default:N.fail("option type not supported")}}return i||e;function c(l,p){(i??(i=Is({},e)))[l.name]=p}}var Qg="${configDir}";function lf(e){return Ht(e)&&Zt(e,Qg,!0)}function Xg(e,t){return Jt(e.replace(Qg,"./"),t)}function Ec(e,t){if(!e)return e;let r;return e.forEach((i,c)=>{lf(i)&&((r??(r=e.slice()))[c]=Xg(i,t))}),r}function Qb(e,t){let r;return Po(e).forEach(c=>{if(!Vt(e[c]))return;const l=Ec(e[c],t);l&&((r??(r=Is({},e)))[c]=l)}),r}function Xb(e){return e.code===f.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2.code}function Yg({includeSpecs:e,excludeSpecs:t},r){return vr(f.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2,r||"tsconfig.json",JSON.stringify(e||[]),JSON.stringify(t||[]))}function Zg(e,t,r){return e.length===0&&t&&(!r||r.length===0)}function Yb(e){return!e.fileNames.length&&Rt(e.raw,"references")}function Kg(e){return!Rt(e,"files")&&!Rt(e,"references")}function Zb(e,t,r,i,c){const l=i.length;return Zg(e,c)?i.push(Yg(r,t)):Y3(i,p=>!Xb(p)),l!==i.length}function Kb(e){return!!e.options}function e6(e,t,r,i,c,l,p,g){var a;i=Nn(i);const b=Jt(c||"",i);if(l.includes(b))return p.push(vr(f.Circularity_detected_while_resolving_configuration_Colon_0,[...l,b].join(" -> "))),{raw:e||Vb(t,p)};const d=e?e5(e,r,i,c,p):t5(t,r,i,c,p);if((a=d.options)!=null&&a.paths&&(d.options.pathsBasePath=i),d.extendedConfigPath){l=l.concat([b]);const C={options:{}};Ht(d.extendedConfigPath)?E(C,d.extendedConfigPath):d.extendedConfigPath.forEach(S=>E(C,S)),C.include&&(d.raw.include=C.include),C.exclude&&(d.raw.exclude=C.exclude),C.files&&(d.raw.files=C.files),d.raw.compileOnSave===void 0&&C.compileOnSave&&(d.raw.compileOnSave=C.compileOnSave),t&&C.extendedSourceFiles&&(t.extendedSourceFiles=Ps(C.extendedSourceFiles.keys())),d.options=Is(C.options,d.options),d.watchOptions=d.watchOptions&&C.watchOptions?T(C,d.watchOptions):d.watchOptions||C.watchOptions}return d;function E(C,S){const j=n5(t,S,r,l,p,g,C);if(j&&Kb(j)){const L=j.raw;let A;const U=x=>{d.raw[x]||L[x]&&(C[x]=Ir(L[x],F=>lf(F)||Fi(F)?F:ut(A||(A=Qd(Ut(S),i,rr(r.useCaseSensitiveFileNames))),F)))};U("include"),U("exclude"),U("files"),L.compileOnSave!==void 0&&(C.compileOnSave=L.compileOnSave),Is(C.options,j.options),C.watchOptions=C.watchOptions&&j.watchOptions?T(C,j.watchOptions):C.watchOptions||j.watchOptions}}function T(C,S){return C.watchOptionsCopied?Is(C.watchOptions,S):(C.watchOptionsCopied=!0,Is({},C.watchOptions,S))}}function e5(e,t,r,i,c){Rt(e,"excludes")&&c.push(vr(f.Unknown_option_excludes_Did_you_mean_exclude));const l=i5(e.compilerOptions,r,c,i),p=o5(e.typeAcquisition,r,c,i),g=s5(e.watchOptions,r,c);e.compileOnSave=r5(e,r,c);const a=e.extends||e.extends===""?t6(e.extends,t,r,i,c):void 0;return{raw:e,options:l,watchOptions:g,typeAcquisition:p,extendedConfigPath:a}}function t6(e,t,r,i,c,l,p,g){let a;const b=i?Gg(i,r):r;if(Ht(e))a=n6(e,t,b,c,p,g);else if(Vt(e)){a=[];for(let d=0;d<e.length;d++){const E=e[d];Ht(E)?a=Fn(a,n6(E,t,b,c,p?.elements[d],g)):Zo(Cc.element,e,r,c,l,p?.elements[d],g)}}else Zo(Cc,e,r,c,l,p,g);return a}function t5(e,t,r,i,c){const l=r6(i);let p,g,a,b;const d=Fb(),E=zg(e,c,{rootOptions:d,onPropertySet:T});return p||(p=_f(i)),b&&E&&E.compilerOptions===void 0&&c.push(qr(e,b[0],f._0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file,Rh(b[0]))),{raw:E,options:l,watchOptions:g,typeAcquisition:p,extendedConfigPath:a};function T(C,S,j,L,A){if(A&&A!==Cc&&(S=Zo(A,S,r,c,j,j.initializer,e)),L?.name)if(A){let U;L===Fg?U=l:L===Vg?U=g??(g={}):L===Wg?U=p??(p=_f(i)):N.fail("Unknown option"),U[A.name]=S}else C&&L?.extraKeyDiagnostics&&(L.elementOptions?c.push(xg(C,L.extraKeyDiagnostics,void 0,j.name,e)):c.push(qr(e,j.name,L.extraKeyDiagnostics.unknownOptionDiagnostic,C)));else L===d&&(A===Cc?a=t6(S,t,r,i,c,j,j.initializer,e):A||(C==="excludes"&&c.push(qr(e,j.name,f.Unknown_option_excludes_Did_you_mean_exclude)),Ti(Tg,U=>U.name===C)&&(b=Fn(b,j.name))))}}function n6(e,t,r,i,c,l){if(e=Nn(e),Fi(e)||Zt(e,"./")||Zt(e,"../")){let g=Jt(e,r);if(!t.fileExists(g)&&!pn(g,".json")&&(g=`${g}.json`,!t.fileExists(g))){i.push(Or(l,c,f.File_0_not_found,e));return}return g}const p=L5(e,ut(r,"tsconfig.json"),t);if(p.resolvedModule)return p.resolvedModule.resolvedFileName;e===""?i.push(Or(l,c,f.Compiler_option_0_cannot_be_given_an_empty_string,"extends")):i.push(Or(l,c,f.File_0_not_found,e))}function n5(e,t,r,i,c,l,p){const g=r.useCaseSensitiveFileNames?t:jd(t);let a,b,d;if(l&&(a=l.get(g))?{extendedResult:b,extendedConfig:d}=a:(b=Rb(t,E=>r.readFile(E)),b.parseDiagnostics.length||(d=e6(void 0,b,r,Ut(t),ri(t),i,c,l)),l&&l.set(g,{extendedResult:b,extendedConfig:d})),e&&((p.extendedSourceFiles??(p.extendedSourceFiles=new Set)).add(b.fileName),b.extendedSourceFiles))for(const E of b.extendedSourceFiles)p.extendedSourceFiles.add(E);if(b.parseDiagnostics.length){c.push(...b.parseDiagnostics);return}return d}function r5(e,t,r){if(!Rt(e,$1.name))return!1;const i=Zo($1,e.compileOnSave,t,r);return typeof i=="boolean"&&i}function r6(e){return e&&ri(e)==="jsconfig.json"?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{}}function i5(e,t,r,i){const c=r6(i);return Z1(jg(),e,t,c,Pg,r),i&&(c.configFilePath=Nn(i)),c}function _f(e){return{enable:!!e&&ri(e)==="jsconfig.json",include:[],exclude:[]}}function o5(e,t,r,i){const c=_f(i);return Z1(Ug(),e,t,c,Og,r),c}function s5(e,t,r){return Z1(Bg(),e,t,void 0,Ng,r)}function Z1(e,t,r,i,c,l){if(t){for(const p in t){const g=e.get(p);g?(i||(i={}))[g.name]=Zo(g,t[p],r,l):l.push(xg(p,c))}return i}}function Or(e,t,r,...i){return e&&t?qr(e,t,r,...i):vr(r,...i)}function Zo(e,t,r,i,c,l,p){if(e.isCommandLineOnly){i.push(Or(p,c?.name,f.Option_0_can_only_be_specified_on_command_line,e.name));return}if(qg(e,t)){const g=e.type;if(g==="list"&&Vt(t))return o6(e,t,r,i,c,l,p);if(g==="listOrElement")return Vt(t)?o6(e,t,r,i,c,l,p):Zo(e.element,t,r,i,c,l,p);if(!Ht(e.type))return c5(e,t,i,l,p);const a=i6(e,t,i,l,p);return qs(a)?a:a5(e,r,a)}else i.push(Or(p,l,f.Compiler_option_0_requires_a_value_of_type_1,e.name,Y1(e)))}function a5(e,t,r){return e.isFilePath&&(r=Nn(r),r=lf(r)?r:Jt(r,t),r===""&&(r=".")),r}function i6(e,t,r,i,c){var l;if(qs(t))return;const p=(l=e.extraValidation)==null?void 0:l.call(e,t);if(!p)return t;r.push(Or(c,i,...p))}function c5(e,t,r,i,c){if(qs(t))return;const l=t.toLowerCase(),p=e.type.get(l);if(p!==void 0)return i6(e,p,r,i,c);r.push(Jb(e,(g,...a)=>Or(c,i,g,...a)))}function o6(e,t,r,i,c,l,p){return Un(Ir(t,(g,a)=>Zo(e.element,g,r,i,c,l?.elements[a],p)),g=>e.listPreserveFalsyValues?!0:!!g)}var u5=/(?:^|\/)\*\*\/?$/,l5=/^[^*?]*(?=\/[^/]*[*?])/;function s6(e,t,r,i,c=tt){t=Mt(t);const l=rr(i.useCaseSensitiveFileNames),p=new Map,g=new Map,a=new Map,{validatedFilesSpec:b,validatedIncludeSpecs:d,validatedExcludeSpecs:E}=e,T=w2(r,c),C=D2(r,T);if(b)for(const A of b){const U=Jt(A,t);p.set(l(U),U)}let S;if(d&&d.length>0)for(const A of i.readDirectory(t,tc(C),E,d,void 0)){if(tn(A,".json")){if(!S){const F=d.filter(J=>pn(J,".json")),te=Ir(P1(F,t,"files"),J=>`^${J}$`);S=te?te.map(J=>Ws(J,i.useCaseSensitiveFileNames)):tt}if(Ri(S,F=>F.test(A))!==-1){const F=l(A);!p.has(F)&&!a.has(F)&&a.set(F,A)}continue}if(d5(A,p,g,T,l))continue;m5(A,g,T,l);const U=l(A);!p.has(U)&&!g.has(U)&&g.set(U,A)}const j=Ps(p.values()),L=Ps(g.values());return j.concat(L,Ps(a.values()))}function _5(e,t,r,i,c){const{validatedFilesSpec:l,validatedIncludeSpecs:p,validatedExcludeSpecs:g}=t;if(!ki(p)||!ki(g))return!1;r=Mt(r);const a=rr(i);if(l){for(const b of l)if(a(Jt(b,r))===e)return!1}return u6(e,g,i,c,r)}function a6(e){const t=Zt(e,"**/")?0:e.indexOf("/**/");return t===-1?!1:(pn(e,"/..")?e.length:e.lastIndexOf("/../"))>t}function c6(e,t,r,i){return u6(e,Un(t,c=>!a6(c)),r,i)}function u6(e,t,r,i,c){const l=yc(t,ut(Mt(i),c),"exclude"),p=l&&Ws(l,r);return p?p.test(e)?!0:!$d(e)&&p.test(Wi(e)):!1}function l6(e,t,r,i,c){return e.filter(p=>{if(!Ht(p))return!1;const g=K1(p,r);return g!==void 0&&t.push(l(...g)),g===void 0});function l(p,g){const a=ov(i,c,g);return Or(i,a,p,g)}}function K1(e,t){if(N.assert(typeof e=="string"),t&&u5.test(e))return[f.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,e];if(a6(e))return[f.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,e]}function f5({validatedIncludeSpecs:e,validatedExcludeSpecs:t},r,i){const c=yc(t,r,"exclude"),l=c&&new RegExp(c,i?"":"i"),p={},g=new Map;if(e!==void 0){const a=[];for(const b of e){const d=Mt(ut(r,b));if(l&&l.test(d))continue;const E=p5(d,i);if(E){const{key:T,path:C,flags:S}=E,j=g.get(T),L=j!==void 0?p[j]:void 0;(L===void 0||L<S)&&(p[j!==void 0?j:C]=S,j===void 0&&g.set(T,C),S===1&&a.push(T))}}for(const b in p)if(Rt(p,b))for(const d of a){const E=em(b,i);E!==d&&Js(d,E,r,!i)&&delete p[b]}}return p}function em(e,t){return t?e:jd(e)}function p5(e,t){const r=l5.exec(e);if(r){const i=e.indexOf("?"),c=e.indexOf("*"),l=e.lastIndexOf(Dt);return{key:em(r[0],t),path:r[0],flags:i!==-1&&i<l||c!==-1&&c<l?1:0}}if(k2(e.substring(e.lastIndexOf(Dt)+1))){const i=Vi(e);return{key:em(i,t),path:i,flags:1}}}function d5(e,t,r,i,c){const l=qt(i,p=>Sn(e,p)?p:void 0);if(!l)return!1;for(const p of l){if(tn(e,p)&&(p!==".ts"||!tn(e,".d.ts")))return!1;const g=c(X_(e,p));if(t.has(g)||r.has(g)){if(p===".d.ts"&&(tn(e,".js")||tn(e,".jsx")))continue;return!0}}return!1}function m5(e,t,r,i){const c=qt(r,l=>Sn(e,l)?l:void 0);if(c)for(let l=c.length-1;l>=0;l--){const p=c[l];if(tn(e,p))return;const g=i(X_(e,p));t.delete(g)}}function ze(e,t,...r){e.trace(f9(t,...r))}function h5(e,t){return!!e.traceResolution&&t.trace!==void 0}function no(e,t,r){let i;if(t&&e){const c=e.contents.packageJsonContent;typeof c.name=="string"&&typeof c.version=="string"&&(i={name:c.name,subModuleName:t.path.slice(e.packageDirectory.length+Dt.length),version:c.version,peerDependencies:J5(e,r)})}return t&&{path:t.path,extension:t.ext,packageId:i,resolvedUsingTsExtension:t.resolvedUsingTsExtension}}function tm(e){return no(void 0,e,void 0)}function _6(e){if(e)return N.assert(e.packageId===void 0),{path:e.path,ext:e.extension,resolvedUsingTsExtension:e.resolvedUsingTsExtension}}function wc(e){const t=[];return e&1&&t.push("TypeScript"),e&2&&t.push("JavaScript"),e&4&&t.push("Declaration"),e&8&&t.push("JSON"),t.join(", ")}function g5(e,t,r,i,c,l,p,g,a){if(!p.resultFromCache&&!p.compilerOptions.preserveSymlinks&&t&&r&&!t.originalPath&&!A_(e)){const{resolvedFileName:b,originalPath:d}=w5(t.path,p.host,p.traceEnabled);d&&(t={...t,path:b,originalPath:d})}return y5(t,r,i,c,l,p.resultFromCache,g,a)}function y5(e,t,r,i,c,l,p,g){return l?p?.isReadonly?{...l,failedLookupLocations:rm(l.failedLookupLocations,r),affectingLocations:rm(l.affectingLocations,i),resolutionDiagnostics:rm(l.resolutionDiagnostics,c)}:(l.failedLookupLocations=nm(l.failedLookupLocations,r),l.affectingLocations=nm(l.affectingLocations,i),l.resolutionDiagnostics=nm(l.resolutionDiagnostics,c),l):{resolvedModule:e&&{resolvedFileName:e.path,originalPath:e.originalPath===!0?void 0:e.originalPath,extension:e.extension,isExternalLibraryImport:t,packageId:e.packageId,resolvedUsingTsExtension:!!e.resolvedUsingTsExtension},failedLookupLocations:ff(r),affectingLocations:ff(i),resolutionDiagnostics:ff(c),alternateResult:g}}function ff(e){return e.length?e:void 0}function nm(e,t){return t?.length?e?.length?(e.push(...t),e):t:e}function rm(e,t){return e?.length?t.length?[...e,...t]:e.slice():ff(t)}function im(e,t,r,i){if(!Rt(e,t)){i.traceEnabled&&ze(i.host,f.package_json_does_not_have_a_0_field,t);return}const c=e[t];if(typeof c!==r||c===null){i.traceEnabled&&ze(i.host,f.Expected_type_of_0_field_in_package_json_to_be_1_got_2,t,r,c===null?"null":typeof c);return}return c}function pf(e,t,r,i){const c=im(e,t,"string",i);if(c===void 0)return;if(!c){i.traceEnabled&&ze(i.host,f.package_json_had_a_falsy_0_field,t);return}const l=Mt(ut(r,c));return i.traceEnabled&&ze(i.host,f.package_json_has_0_field_1_that_references_2,t,c,l),l}function v5(e,t,r){return pf(e,"typings",t,r)||pf(e,"types",t,r)}function k5(e,t,r){return pf(e,"tsconfig",t,r)}function b5(e,t,r){return pf(e,"main",t,r)}function T5(e,t){const r=im(e,"typesVersions","object",t);if(r!==void 0)return t.traceEnabled&&ze(t.host,f.package_json_has_a_typesVersions_field_with_version_specific_path_mappings),r}function C5(e,t){const r=T5(e,t);if(r===void 0)return;if(t.traceEnabled)for(const p in r)Rt(r,p)&&!Fd.tryParse(p)&&ze(t.host,f.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range,p);const i=E5(r);if(!i){t.traceEnabled&&ze(t.host,f.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0,H3);return}const{version:c,paths:l}=i;if(typeof l!="object"){t.traceEnabled&&ze(t.host,f.Expected_type_of_0_field_in_package_json_to_be_1_got_2,`typesVersions['${c}']`,"object",typeof l);return}return i}var om;function E5(e){om||(om=new v_(wi));for(const t in e){if(!Rt(e,t))continue;const r=Fd.tryParse(t);if(r!==void 0&&r.test(om))return{version:t,paths:e[t]}}}function f6(e,t,r){const i=typeof r.useCaseSensitiveFileNames=="function"?r.useCaseSensitiveFileNames():r.useCaseSensitiveFileNames;return th(e,t,!i)===0}function w5(e,t,r){const i=m6(e,t,r),c=f6(e,i,t);return{resolvedFileName:c?e:i,originalPath:c?void 0:e}}function D5(e,t,r){const i=pn(e,"/node_modules/@types")||pn(e,"/node_modules/@types/")?I6(t,r):t;return ut(e,i)}function p6(e,t){const r=p2(e);if(t===void 0){if(r===100)t=99;else if(r===2)return[]}const i=t===99?["import"]:["require"];return e.noDtsResolution||i.push("types"),r!==100&&i.push("node"),d_(i,e.customConditions)}function d6(e){return!!e?.contents}function S5(e,t,r,i,c){const l=x5(e,t,i,c);return l?l.value:A_(t)?P5(e,t,r,i,c):I5(e,t,i,c)}function x5(e,t,r,i){const{baseUrl:c,paths:l}=i.compilerOptions;if(l&&!Gd(t)){i.traceEnabled&&(c&&ze(i.host,f.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,c,t),ze(i.host,f.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0,t));const p=jv(i.compilerOptions,i.host),g=O1(l);return _m(e,t,p,l,g,r,!1,i)}}function P5(e,t,r,i,c){if(!c.compilerOptions.rootDirs)return;c.traceEnabled&&ze(c.host,f.rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0,t);const l=Mt(ut(r,t));let p,g;for(const a of c.compilerOptions.rootDirs){let b=Mt(a);pn(b,Dt)||(b+=Dt);const d=Zt(l,b)&&(g===void 0||g.length<b.length);c.traceEnabled&&ze(c.host,f.Checking_if_0_is_the_longest_matching_prefix_for_1_2,b,l,d),d&&(g=b,p=a)}if(g){c.traceEnabled&&ze(c.host,f.Longest_matching_prefix_for_0_is_1,l,g);const a=l.substr(g.length);c.traceEnabled&&ze(c.host,f.Loading_0_from_the_root_dir_1_candidate_location_2,a,g,l);const b=i(e,l,!or(r,c.host),c);if(b)return b;c.traceEnabled&&ze(c.host,f.Trying_other_entries_in_rootDirs);for(const d of c.compilerOptions.rootDirs){if(d===p)continue;const E=ut(Mt(d),a);c.traceEnabled&&ze(c.host,f.Loading_0_from_the_root_dir_1_candidate_location_2,a,d,E);const T=Ut(E),C=i(e,E,!or(T,c.host),c);if(C)return C}c.traceEnabled&&ze(c.host,f.Module_resolution_using_rootDirs_has_failed)}}function I5(e,t,r,i){const{baseUrl:c}=i.compilerOptions;if(!c)return;i.traceEnabled&&ze(i.host,f.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,c,t);const l=Mt(ut(c,t));return i.traceEnabled&&ze(i.host,f.Resolving_module_name_0_relative_to_base_url_1_2,t,c,l),r(e,l,!or(Ut(l),i.host),i)}function A5(e,t,r){const{resolvedModule:i,failedLookupLocations:c}=O5(e,t,r);if(!i)throw new Error(`Could not resolve JS module '${e}' starting at '${t}'. Looked in: ${c?.join(", ")}`);return i.resolvedFileName}function O5(e,t,r){return sm(0,e,t,{moduleResolution:2,allowJs:!0},r,void 0,2,!1,void 0,void 0)}function L5(e,t,r){return sm(94,e,Ut(t),{moduleResolution:99},r,void 0,8,!0,void 0,void 0)}function sm(e,t,r,i,c,l,p,g,a,b){var d,E,T,C,S;const j=h5(i,c),L=[],A=[],U=p2(i);b??(b=p6(i,U===100||U===2?void 0:e&32?99:1));const x=[],F={compilerOptions:i,host:c,traceEnabled:j,failedLookupLocations:L,affectingLocations:A,packageJsonInfoCache:l,features:e,conditions:b??tt,requestContainingDirectory:r,reportDiagnostic:D=>{x.push(D)},isConfigLookup:g,candidateIsFromPackageJsonField:!1,resolvedPackageDirectory:!1};j&&D1(U)&&ze(c,f.Resolving_in_0_mode_with_conditions_1,e&32?"ESM":"CJS",F.conditions.map(D=>`'${D}'`).join(", "));let te;if(U===2){const D=p&5,Z=p&-6;te=D&&V(D,F)||Z&&V(Z,F)||void 0}else te=V(p,F);let J;if(F.resolvedPackageDirectory&&!g&&!A_(t)){const D=te?.value&&p&5&&!w6(5,te.value.resolved.extension);if((d=te?.value)!=null&&d.isExternalLibraryImport&&D&&e&8&&b?.includes("import")){br(F,f.Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update);const Z={...F,features:F.features&-9,reportDiagnostic:nr},he=V(p&5,Z);(E=he?.value)!=null&&E.isExternalLibraryImport&&(J=he.value.resolved.path)}else if((!te?.value||D)&&U===2){br(F,f.Resolution_of_non_relative_name_failed_trying_with_moduleResolution_bundler_to_see_if_project_may_need_configuration_update);const Z={...F.compilerOptions,moduleResolution:100},he={...F,compilerOptions:Z,features:94,conditions:p6(Z),reportDiagnostic:nr},pe=V(p&5,he);(T=pe?.value)!=null&&T.isExternalLibraryImport&&(J=pe.value.resolved.path)}}return g5(t,(C=te?.value)==null?void 0:C.resolved,(S=te?.value)==null?void 0:S.isExternalLibraryImport,L,A,x,F,l,J);function V(D,Z){const pe=S5(D,t,r,(be,De,ye,se)=>am(be,De,ye,se,!0),Z);if(pe)return mn({resolved:pe,isExternalLibraryImport:h6(pe.path)});if(A_(t)){const{path:be,parts:De}=N5(r,t),ye=am(D,be,!1,Z,!0);return ye&&mn({resolved:ye,isExternalLibraryImport:Ka(De,"node_modules")})}else{if(e&2&&Zt(t,"#")){const De=F5(D,t,r,Z,l,a);if(De)return De.value&&{value:{resolved:De.value,isExternalLibraryImport:!1}}}if(e&4){const De=U5(D,t,r,Z,l,a);if(De)return De.value&&{value:{resolved:De.value,isExternalLibraryImport:!1}}}if(t.includes(":")){j&&ze(c,f.Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1,t,wc(D));return}j&&ze(c,f.Loading_module_0_from_node_modules_folder_target_file_types_Colon_1,t,wc(D));let be=q5(D,t,r,Z,l,a);return D&4&&(be??(be=Y5(t,Z))),be&&{value:be.value&&{resolved:be.value,isExternalLibraryImport:!0}}}}}function N5(e,t){const r=ut(e,t),i=ir(r),c=Ui(i);return{path:c==="."||c===".."?Wi(Mt(r)):Mt(r),parts:i}}function m6(e,t,r){if(!t.realpath)return e;const i=Mt(t.realpath(e));return r&&ze(t,f.Resolving_real_path_for_0_result_1,e,i),i}function am(e,t,r,i,c){if(i.traceEnabled&&ze(i.host,f.Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1,t,wc(e)),!C_(t)){if(!r){const p=Ut(t);or(p,i.host)||(i.traceEnabled&&ze(i.host,f.Directory_0_does_not_exist_skipping_all_lookups_in_it,p),r=!0)}const l=Hs(e,t,r,i);if(l){const p=c?g6(l.path):void 0,g=p?ro(p,!1,i):void 0;return no(g,l,i)}}if(r||or(t,i.host)||(i.traceEnabled&&ze(i.host,f.Directory_0_does_not_exist_skipping_all_lookups_in_it,t),r=!0),!(i.features&32))return T6(e,t,r,i,c)}var cm="/node_modules/";function h6(e){return e.includes(cm)}function g6(e,t){const r=Mt(e),i=r.lastIndexOf(cm);if(i===-1)return;const c=i+cm.length;let l=y6(r,c,t);return r.charCodeAt(c)===64&&(l=y6(r,l,t)),r.slice(0,l)}function y6(e,t,r){const i=e.indexOf(Dt,t+1);return i===-1?r?e.length:t:i}function Hs(e,t,r,i){const c=v6(e,t,r,i);if(c)return c;if(!(i.features&32)){const l=k6(t,e,"",r,i);if(l)return l}}function v6(e,t,r,i){if(!ri(t).includes("."))return;let l=vc(t);l===t&&(l=t.substring(0,t.lastIndexOf(".")));const p=t.substring(l.length);return i.traceEnabled&&ze(i.host,f.File_name_0_has_a_1_extension_stripping_it,t,p),k6(l,e,p,r,i)}function um(e,t,r,i,c){if(e&1&&Sn(t,J9)||e&4&&Sn(t,E2)){const l=df(t,i,c),p=Xv(t);return l!==void 0?{path:t,ext:p,resolvedUsingTsExtension:r?!pn(r,p):void 0}:void 0}return c.isConfigLookup&&e===8&&tn(t,".json")?df(t,i,c)!==void 0?{path:t,ext:".json",resolvedUsingTsExtension:void 0}:void 0:v6(e,t,i,c)}function k6(e,t,r,i,c){if(!i){const p=Ut(e);p&&(i=!or(p,c.host))}switch(r){case".mjs":case".mts":case".d.mts":return t&1&&l(".mts",r===".mts"||r===".d.mts")||t&4&&l(".d.mts",r===".mts"||r===".d.mts")||t&2&&l(".mjs")||void 0;case".cjs":case".cts":case".d.cts":return t&1&&l(".cts",r===".cts"||r===".d.cts")||t&4&&l(".d.cts",r===".cts"||r===".d.cts")||t&2&&l(".cjs")||void 0;case".json":return t&4&&l(".d.json.ts")||t&8&&l(".json")||void 0;case".tsx":case".jsx":return t&1&&(l(".tsx",r===".tsx")||l(".ts",r===".tsx"))||t&4&&l(".d.ts",r===".tsx")||t&2&&(l(".jsx")||l(".js"))||void 0;case".ts":case".d.ts":case".js":case"":return t&1&&(l(".ts",r===".ts"||r===".d.ts")||l(".tsx",r===".ts"||r===".d.ts"))||t&4&&l(".d.ts",r===".ts"||r===".d.ts")||t&2&&(l(".js")||l(".jsx"))||c.isConfigLookup&&l(".json")||void 0;default:return t&4&&!Yo(e+r)&&l(`.d${r}.ts`)||void 0}function l(p,g){const a=df(e+p,i,c);return a===void 0?void 0:{path:a,ext:p,resolvedUsingTsExtension:!c.candidateIsFromPackageJsonField&&g}}}function df(e,t,r){var i;if(!((i=r.compilerOptions.moduleSuffixes)!=null&&i.length))return b6(e,t,r);const c=P2(e)??"",l=c?S2(e,c):e;return qt(r.compilerOptions.moduleSuffixes,p=>b6(l+p+c,t,r))}function b6(e,t,r){var i;if(!t){if(r.host.fileExists(e))return r.traceEnabled&&ze(r.host,f.File_0_exists_use_it_as_a_name_resolution_result,e),e;r.traceEnabled&&ze(r.host,f.File_0_does_not_exist,e)}(i=r.failedLookupLocations)==null||i.push(e)}function T6(e,t,r,i,c=!0){const l=c?ro(t,r,i):void 0;return no(l,lm(e,t,r,i,l),i)}function C6(e,t){return x6(t.host,e,r=>ro(r,!1,t))}function E6(e,t){return e.contents.versionPaths===void 0&&(e.contents.versionPaths=C5(e.contents.packageJsonContent,t)||!1),e.contents.versionPaths||void 0}function J5(e,t){return e.contents.peerDependencies===void 0&&(e.contents.peerDependencies=j5(e,t)||!1),e.contents.peerDependencies||void 0}function j5(e,t){const r=im(e.contents.packageJsonContent,"peerDependencies","object",t);if(r===void 0)return;t.traceEnabled&&ze(t.host,f.package_json_has_a_peerDependencies_field);const i=m6(e.packageDirectory,t.host,t.traceEnabled),c=i.substring(0,i.lastIndexOf("node_modules")+12)+Dt;let l="";for(const p in r)if(Rt(r,p)){const g=ro(c+p,!1,t);if(g){const a=g.contents.packageJsonContent.version;l+=`+${p}@${a}`,t.traceEnabled&&ze(t.host,f.Found_peerDependency_0_with_1_version,p,a)}else t.traceEnabled&&ze(t.host,f.Failed_to_find_peerDependency_0,p)}return l}function ro(e,t,r){var i,c,l,p,g,a;const{host:b,traceEnabled:d}=r,E=ut(e,"package.json");if(t){(i=r.failedLookupLocations)==null||i.push(E);return}const T=(c=r.packageJsonInfoCache)==null?void 0:c.getPackageJsonInfo(E);if(T!==void 0){if(d6(T))return d&&ze(b,f.File_0_exists_according_to_earlier_cached_lookups,E),(l=r.affectingLocations)==null||l.push(E),T.packageDirectory===e?T:{packageDirectory:e,contents:T.contents};T.directoryExists&&d&&ze(b,f.File_0_does_not_exist_according_to_earlier_cached_lookups,E),(p=r.failedLookupLocations)==null||p.push(E);return}const C=or(e,b);if(C&&b.fileExists(E)){const S=Yv(E,b);d&&ze(b,f.Found_package_json_at_0,E);const j={packageDirectory:e,contents:{packageJsonContent:S,versionPaths:void 0,resolvedEntrypoints:void 0,peerDependencies:void 0}};return r.packageJsonInfoCache&&!r.packageJsonInfoCache.isReadonly&&r.packageJsonInfoCache.setPackageJsonInfo(E,j),(g=r.affectingLocations)==null||g.push(E),j}else C&&d&&ze(b,f.File_0_does_not_exist,E),r.packageJsonInfoCache&&!r.packageJsonInfoCache.isReadonly&&r.packageJsonInfoCache.setPackageJsonInfo(E,{packageDirectory:e,directoryExists:C}),(a=r.failedLookupLocations)==null||a.push(E)}function lm(e,t,r,i,c){const l=c&&E6(c,i);let p;c&&f6(c?.packageDirectory,t,i.host)&&(i.isConfigLookup?p=k5(c.contents.packageJsonContent,c.packageDirectory,i):p=e&4&&v5(c.contents.packageJsonContent,c.packageDirectory,i)||e&7&&b5(c.contents.packageJsonContent,c.packageDirectory,i)||void 0);const g=(T,C,S,j)=>{const L=um(T,C,void 0,S,j);if(L)return tm(L);const A=T===4?5:T,U=j.features,x=j.candidateIsFromPackageJsonField;j.candidateIsFromPackageJsonField=!0,c?.contents.packageJsonContent.type!=="module"&&(j.features&=-33);const F=am(A,C,S,j,!1);return j.features=U,j.candidateIsFromPackageJsonField=x,F},a=p?!or(Ut(p),i.host):void 0,b=r||!or(t,i.host),d=ut(t,i.isConfigLookup?"tsconfig":"index");if(l&&(!p||Js(t,p))){const T=S_(t,p||d,!1);i.traceEnabled&&ze(i.host,f.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,l.version,wi,T);const C=O1(l.paths),S=_m(e,T,t,l.paths,C,g,a||b,i);if(S)return _6(S.value)}const E=p&&_6(g(e,p,a,i));if(E)return E;if(!(i.features&32))return Hs(e,d,b,i)}function w6(e,t){return e&2&&(t===".js"||t===".jsx"||t===".mjs"||t===".cjs")||e&1&&(t===".ts"||t===".tsx"||t===".mts"||t===".cts")||e&4&&(t===".d.ts"||t===".d.mts"||t===".d.cts")||e&8&&t===".json"||!1}function M5(e){let t=e.indexOf(Dt);return e[0]==="@"&&(t=e.indexOf(Dt,t+1)),t===-1?{packageName:e,rest:""}:{packageName:e.slice(0,t),rest:e.slice(t+1)}}function B5(e){return bi(Po(e),t=>Zt(t,"."))}function R5(e){return!Pt(Po(e),t=>Zt(t,"."))}function U5(e,t,r,i,c,l){var p,g;const a=Jt(r,(g=(p=i.host).getCurrentDirectory)==null?void 0:g.call(p)),b=C6(a,i);if(!b||!b.contents.packageJsonContent.exports||typeof b.contents.packageJsonContent.name!="string")return;const d=ir(t),E=ir(b.contents.packageJsonContent.name);if(!bi(E,(L,A)=>d[A]===L))return;const T=d.slice(E.length),C=ki(T)?`.${Dt}${T.join(Dt)}`:".";if(w1(i.compilerOptions)&&!h6(r))return mf(b,e,C,i,c,l);const S=e&5,j=e&-6;return mf(b,S,C,i,c,l)||mf(b,j,C,i,c,l)}function mf(e,t,r,i,c,l){if(e.contents.packageJsonContent.exports){if(r==="."){let p;if(typeof e.contents.packageJsonContent.exports=="string"||Array.isArray(e.contents.packageJsonContent.exports)||typeof e.contents.packageJsonContent.exports=="object"&&R5(e.contents.packageJsonContent.exports)?p=e.contents.packageJsonContent.exports:Rt(e.contents.packageJsonContent.exports,".")&&(p=e.contents.packageJsonContent.exports["."]),p)return S6(t,i,c,l,r,e,!1)(p,"",!1,".")}else if(B5(e.contents.packageJsonContent.exports)){if(typeof e.contents.packageJsonContent.exports!="object")return i.traceEnabled&&ze(i.host,f.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,r,e.packageDirectory),mn(void 0);const p=D6(t,i,c,l,r,e.contents.packageJsonContent.exports,e,!1);if(p)return p}return i.traceEnabled&&ze(i.host,f.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,r,e.packageDirectory),mn(void 0)}}function F5(e,t,r,i,c,l){var p,g;if(t==="#"||Zt(t,"#/")&&!(i.features&64))return i.traceEnabled&&ze(i.host,f.Invalid_import_specifier_0_has_no_possible_resolutions,t),mn(void 0);const a=Jt(r,(g=(p=i.host).getCurrentDirectory)==null?void 0:g.call(p)),b=C6(a,i);if(!b)return i.traceEnabled&&ze(i.host,f.Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve,a),mn(void 0);if(!b.contents.packageJsonContent.imports)return i.traceEnabled&&ze(i.host,f.package_json_scope_0_has_no_imports_defined,b.packageDirectory),mn(void 0);const d=D6(e,i,c,l,t,b.contents.packageJsonContent.imports,b,!0);return d||(i.traceEnabled&&ze(i.host,f.Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1,t,b.packageDirectory),mn(void 0))}function V5(e,t){const r=e.indexOf("*"),i=t.indexOf("*"),c=r===-1?e.length:r+1,l=i===-1?t.length:i+1;return c>l?-1:l>c||r===-1?1:i===-1||e.length>t.length?-1:t.length>e.length?1:0}function D6(e,t,r,i,c,l,p,g){const a=S6(e,t,r,i,c,p,g);if(!pn(c,Dt)&&!c.includes("*")&&Rt(l,c)){const E=l[c];return a(E,"",!1,c)}const b=nc(Un(Po(l),E=>W5(E)||pn(E,"/")),V5);for(const E of b)if(t.features&16&&d(E,c)){const T=l[E],C=E.indexOf("*"),S=c.substring(E.substring(0,C).length,c.length-(E.length-1-C));return a(T,S,!0,E)}else if(pn(E,"*")&&Zt(c,E.substring(0,E.length-1))){const T=l[E],C=c.substring(E.length-1);return a(T,C,!0,E)}else if(Zt(c,E)){const T=l[E],C=c.substring(E.length);return a(T,C,!1,E)}function d(E,T){if(pn(E,"*"))return!1;const C=E.indexOf("*");return C===-1?!1:Zt(T,E.substring(0,C))&&pn(T,E.substring(C+1))}}function W5(e){const t=e.indexOf("*");return t!==-1&&t===e.lastIndexOf("*")}function S6(e,t,r,i,c,l,p){return g;function g(a,b,d,E){var T,C;if(typeof a=="string"){if(!d&&b.length>0&&!pn(a,"/"))return t.traceEnabled&&ze(t.host,f.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,l.packageDirectory,c),mn(void 0);if(!Zt(a,"./")){if(p&&!Zt(a,"../")&&!Zt(a,"/")&&!Fi(a)){const V=d?a.replace(/\*/g,b):a+b;br(t,f.Using_0_subpath_1_with_target_2,"imports",E,V),br(t,f.Resolving_module_0_from_1,V,l.packageDirectory+"/");const D=sm(t.features,V,l.packageDirectory+"/",t.compilerOptions,t.host,r,e,!1,i,t.conditions);return(T=t.failedLookupLocations)==null||T.push(...D.failedLookupLocations??tt),(C=t.affectingLocations)==null||C.push(...D.affectingLocations??tt),mn(D.resolvedModule?{path:D.resolvedModule.resolvedFileName,extension:D.resolvedModule.extension,packageId:D.resolvedModule.packageId,originalPath:D.resolvedModule.originalPath,resolvedUsingTsExtension:D.resolvedModule.resolvedUsingTsExtension}:void 0)}return t.traceEnabled&&ze(t.host,f.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,l.packageDirectory,c),mn(void 0)}const U=(Gd(a)?ir(a).slice(1):ir(a)).slice(1);if(U.includes("..")||U.includes(".")||U.includes("node_modules"))return t.traceEnabled&&ze(t.host,f.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,l.packageDirectory,c),mn(void 0);const x=ut(l.packageDirectory,a),F=ir(b);if(F.includes("..")||F.includes(".")||F.includes("node_modules"))return t.traceEnabled&&ze(t.host,f.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,l.packageDirectory,c),mn(void 0);t.traceEnabled&&ze(t.host,f.Using_0_subpath_1_with_target_2,p?"imports":"exports",E,d?a.replace(/\*/g,b):a+b);const te=S(d?x.replace(/\*/g,b):x+b),J=L(te,b,ut(l.packageDirectory,"package.json"),p);return J||mn(no(l,um(e,te,a,!1,t),t))}else if(typeof a=="object"&&a!==null)if(Array.isArray(a)){if(!ki(a))return t.traceEnabled&&ze(t.host,f.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,l.packageDirectory,c),mn(void 0);for(const A of a){const U=g(A,b,d,E);if(U)return U}}else{br(t,f.Entering_conditional_exports);for(const A of Po(a))if(A==="default"||t.conditions.includes(A)||z5(t.conditions,A)){br(t,f.Matched_0_condition_1,p?"imports":"exports",A);const U=a[A],x=g(U,b,d,E);if(x)return x.value&&br(t,f.Resolved_under_condition_0,A),br(t,f.Exiting_conditional_exports),x;br(t,f.Failed_to_resolve_under_condition_0,A)}else br(t,f.Saw_non_matching_condition_0,A);br(t,f.Exiting_conditional_exports);return}else if(a===null)return t.traceEnabled&&ze(t.host,f.package_json_scope_0_explicitly_maps_specifier_1_to_null,l.packageDirectory,c),{value:void 0};return t.traceEnabled&&ze(t.host,f.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,l.packageDirectory,c),mn(void 0);function S(A){var U,x;return A===void 0?A:Jt(A,(x=(U=t.host).getCurrentDirectory)==null?void 0:x.call(U))}function j(A,U){return Wi(ut(A,U))}function L(A,U,x,F){var te,J,V,D;if(!t.isConfigLookup&&(t.compilerOptions.declarationDir||t.compilerOptions.outDir)&&!A.includes("/node_modules/")&&(!t.compilerOptions.configFile||Js(l.packageDirectory,S(t.compilerOptions.configFile.fileName),!hf(t)))){const he=Lv({useCaseSensitiveFileNames:()=>hf(t)}),pe=[];if(t.compilerOptions.rootDir||t.compilerOptions.configFilePath){const be=S(fm(t.compilerOptions,()=>[],((J=(te=t.host).getCurrentDirectory)==null?void 0:J.call(te))||"",he));pe.push(be)}else if(t.requestContainingDirectory){const be=S(ut(t.requestContainingDirectory,"index.ts")),De=S(fm(t.compilerOptions,()=>[be,S(x)],((D=(V=t.host).getCurrentDirectory)==null?void 0:D.call(V))||"",he));pe.push(De);let ye=Wi(De);for(;ye&&ye.length>1;){const se=ir(ye);se.pop();const Ae=w_(se);pe.unshift(Ae),ye=Wi(Ae)}}pe.length>1&&t.reportDiagnostic(vr(F?f.The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:f.The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate,U===""?".":U,x));for(const be of pe){const De=Z(be);for(const ye of De)if(Js(ye,A,!hf(t))){const se=A.slice(ye.length+1),Ae=ut(be,se),Ue=[".mjs",".cjs",".js",".json",".d.mts",".d.cts",".d.ts"];for(const Pe of Ue)if(tn(Ae,Pe)){const kt=Jv(Ae);for(const _t of kt){if(!w6(e,_t))continue;const ve=eh(Ae,_t,Pe,!hf(t));if(t.host.fileExists(ve))return mn(no(l,um(e,ve,void 0,!1,t),t))}}}}}return;function Z(he){var pe,be;const De=t.compilerOptions.configFile?((be=(pe=t.host).getCurrentDirectory)==null?void 0:be.call(pe))||"":he,ye=[];return t.compilerOptions.declarationDir&&ye.push(S(j(De,t.compilerOptions.declarationDir))),t.compilerOptions.outDir&&t.compilerOptions.outDir!==t.compilerOptions.declarationDir&&ye.push(S(j(De,t.compilerOptions.outDir))),ye}}}}function z5(e,t){if(!e.includes("types")||!Zt(t,"types@"))return!1;const r=Fd.tryParse(t.substring(6));return r?r.test(wi):!1}function q5(e,t,r,i,c,l){return H5(e,t,r,i,!1,c,l)}function H5(e,t,r,i,c,l,p){const g=i.features===0?void 0:i.features&32||i.conditions.includes("import")?99:1,a=e&5,b=e&-6;if(a){br(i,f.Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0,wc(a));const E=d(a);if(E)return E}if(b&&!c)return br(i,f.Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0,wc(b)),d(b);function d(E){return x6(i.host,Nn(r),T=>{if(ri(T)!=="node_modules"){const C=X5(l,t,g,T,p,i);return C||mn(G5(E,t,T,i,c,l,p))}})}}function x6(e,t,r){var i;const c=(i=e?.getGlobalTypingsCacheLocation)==null?void 0:i.call(e);return wy(t,l=>{const p=r(l);if(p!==void 0)return p;if(l===c)return!1})||void 0}function G5(e,t,r,i,c,l,p){const g=ut(r,"node_modules"),a=or(g,i.host);if(!a&&i.traceEnabled&&ze(i.host,f.Directory_0_does_not_exist_skipping_all_lookups_in_it,g),!c){const b=P6(e,t,g,a,i,l,p);if(b)return b}if(e&4){const b=ut(g,"@types");let d=a;return a&&!or(b,i.host)&&(i.traceEnabled&&ze(i.host,f.Directory_0_does_not_exist_skipping_all_lookups_in_it,b),d=!1),P6(4,I6(t,i),b,d,i,l,p)}}function P6(e,t,r,i,c,l,p){var g,a;const b=Mt(ut(r,t)),{packageName:d,rest:E}=M5(t),T=ut(r,d);let C,S=ro(b,!i,c);if(E!==""&&S&&(!(c.features&8)||!Rt(((g=C=ro(T,!i,c))==null?void 0:g.contents.packageJsonContent)??tt,"exports"))){const A=Hs(e,b,!i,c);if(A)return tm(A);const U=lm(e,b,!i,c,S);return no(S,U,c)}const j=(A,U,x,F)=>{let te=(E||!(F.features&32))&&Hs(A,U,x,F)||lm(A,U,x,F,S);return!te&&!E&&S&&(S.contents.packageJsonContent.exports===void 0||S.contents.packageJsonContent.exports===null)&&F.features&32&&(te=Hs(A,ut(U,"index.js"),x,F)),no(S,te,F)};if(E!==""&&(S=C??ro(T,!i,c)),S&&(c.resolvedPackageDirectory=!0),S&&S.contents.packageJsonContent.exports&&c.features&8)return(a=mf(S,e,ut(".",E),c,l,p))==null?void 0:a.value;const L=E!==""&&S?E6(S,c):void 0;if(L){c.traceEnabled&&ze(c.host,f.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,L.version,wi,E);const A=i&&or(T,c.host),U=O1(L.paths),x=_m(e,E,T,L.paths,U,j,!A,c);if(x)return x.value}return j(e,b,!i,c)}function _m(e,t,r,i,c,l,p,g){const a=F9(c,t);if(a){const b=Ht(a)?void 0:E8(a,t),d=Ht(a)?a:C8(a);return g.traceEnabled&&ze(g.host,f.Module_name_0_matched_pattern_1,t,d),{value:qt(i[d],T=>{const C=b?Y9(T,b):T,S=Mt(ut(r,C));g.traceEnabled&&ze(g.host,f.Trying_substitution_0_candidate_module_location_Colon_1,T,C);const j=P2(T);if(j!==void 0){const L=df(S,p,g);if(L!==void 0)return tm({path:L,ext:j,resolvedUsingTsExtension:void 0})}return l(e,S,p||!or(Ut(S),g.host),g)})}}}var $5="__";function I6(e,t){const r=Q5(e);return t.traceEnabled&&r!==e&&ze(t.host,f.Scoped_package_detected_looking_in_0,r),r}function Q5(e){if(Zt(e,"@")){const t=e.replace(Dt,$5);if(t!==e)return t.slice(1)}return e}function X5(e,t,r,i,c,l){const p=e&&e.getFromNonRelativeNameCache(t,r,i,c);if(p)return l.traceEnabled&&ze(l.host,f.Resolution_for_module_0_was_found_in_cache_from_location_1,t,i),l.resultFromCache=p,{value:p.resolvedModule&&{path:p.resolvedModule.resolvedFileName,originalPath:p.resolvedModule.originalPath||!0,extension:p.resolvedModule.extension,packageId:p.resolvedModule.packageId,resolvedUsingTsExtension:p.resolvedModule.resolvedUsingTsExtension}}}function Y5(e,t){if(t.compilerOptions.typeRoots)for(const r of t.compilerOptions.typeRoots){const i=D5(r,e,t),c=or(r,t.host);!c&&t.traceEnabled&&ze(t.host,f.Directory_0_does_not_exist_skipping_all_lookups_in_it,r);const l=Hs(4,i,!c,t);if(l){const g=g6(l.path),a=g?ro(g,!1,t):void 0;return mn(no(a,l,t))}const p=T6(4,i,!c,t);if(p)return mn(p)}}function mn(e){return e!==void 0?{value:e}:void 0}function br(e,t,...r){e.traceEnabled&&ze(e.host,t,...r)}function hf(e){return e.host.useCaseSensitiveFileNames?typeof e.host.useCaseSensitiveFileNames=="boolean"?e.host.useCaseSensitiveFileNames:e.host.useCaseSensitiveFileNames():!0}var A6=1,O6=(e=>(e[e.None=0]="None",e[e.TypeofEQString=1]="TypeofEQString",e[e.TypeofEQNumber=2]="TypeofEQNumber",e[e.TypeofEQBigInt=4]="TypeofEQBigInt",e[e.TypeofEQBoolean=8]="TypeofEQBoolean",e[e.TypeofEQSymbol=16]="TypeofEQSymbol",e[e.TypeofEQObject=32]="TypeofEQObject",e[e.TypeofEQFunction=64]="TypeofEQFunction",e[e.TypeofEQHostObject=128]="TypeofEQHostObject",e[e.TypeofNEString=256]="TypeofNEString",e[e.TypeofNENumber=512]="TypeofNENumber",e[e.TypeofNEBigInt=1024]="TypeofNEBigInt",e[e.TypeofNEBoolean=2048]="TypeofNEBoolean",e[e.TypeofNESymbol=4096]="TypeofNESymbol",e[e.TypeofNEObject=8192]="TypeofNEObject",e[e.TypeofNEFunction=16384]="TypeofNEFunction",e[e.TypeofNEHostObject=32768]="TypeofNEHostObject",e[e.EQUndefined=65536]="EQUndefined",e[e.EQNull=131072]="EQNull",e[e.EQUndefinedOrNull=262144]="EQUndefinedOrNull",e[e.NEUndefined=524288]="NEUndefined",e[e.NENull=1048576]="NENull",e[e.NEUndefinedOrNull=2097152]="NEUndefinedOrNull",e[e.Truthy=4194304]="Truthy",e[e.Falsy=8388608]="Falsy",e[e.IsUndefined=16777216]="IsUndefined",e[e.IsNull=33554432]="IsNull",e[e.IsUndefinedOrNull=50331648]="IsUndefinedOrNull",e[e.All=134217727]="All",e[e.BaseStringStrictFacts=3735041]="BaseStringStrictFacts",e[e.BaseStringFacts=12582401]="BaseStringFacts",e[e.StringStrictFacts=16317953]="StringStrictFacts",e[e.StringFacts=16776705]="StringFacts",e[e.EmptyStringStrictFacts=12123649]="EmptyStringStrictFacts",e[e.EmptyStringFacts=12582401]="EmptyStringFacts",e[e.NonEmptyStringStrictFacts=7929345]="NonEmptyStringStrictFacts",e[e.NonEmptyStringFacts=16776705]="NonEmptyStringFacts",e[e.BaseNumberStrictFacts=3734786]="BaseNumberStrictFacts",e[e.BaseNumberFacts=12582146]="BaseNumberFacts",e[e.NumberStrictFacts=16317698]="NumberStrictFacts",e[e.NumberFacts=16776450]="NumberFacts",e[e.ZeroNumberStrictFacts=12123394]="ZeroNumberStrictFacts",e[e.ZeroNumberFacts=12582146]="ZeroNumberFacts",e[e.NonZeroNumberStrictFacts=7929090]="NonZeroNumberStrictFacts",e[e.NonZeroNumberFacts=16776450]="NonZeroNumberFacts",e[e.BaseBigIntStrictFacts=3734276]="BaseBigIntStrictFacts",e[e.BaseBigIntFacts=12581636]="BaseBigIntFacts",e[e.BigIntStrictFacts=16317188]="BigIntStrictFacts",e[e.BigIntFacts=16775940]="BigIntFacts",e[e.ZeroBigIntStrictFacts=12122884]="ZeroBigIntStrictFacts",e[e.ZeroBigIntFacts=12581636]="ZeroBigIntFacts",e[e.NonZeroBigIntStrictFacts=7928580]="NonZeroBigIntStrictFacts",e[e.NonZeroBigIntFacts=16775940]="NonZeroBigIntFacts",e[e.BaseBooleanStrictFacts=3733256]="BaseBooleanStrictFacts",e[e.BaseBooleanFacts=12580616]="BaseBooleanFacts",e[e.BooleanStrictFacts=16316168]="BooleanStrictFacts",e[e.BooleanFacts=16774920]="BooleanFacts",e[e.FalseStrictFacts=12121864]="FalseStrictFacts",e[e.FalseFacts=12580616]="FalseFacts",e[e.TrueStrictFacts=7927560]="TrueStrictFacts",e[e.TrueFacts=16774920]="TrueFacts",e[e.SymbolStrictFacts=7925520]="SymbolStrictFacts",e[e.SymbolFacts=16772880]="SymbolFacts",e[e.ObjectStrictFacts=7888800]="ObjectStrictFacts",e[e.ObjectFacts=16736160]="ObjectFacts",e[e.FunctionStrictFacts=7880640]="FunctionStrictFacts",e[e.FunctionFacts=16728e3]="FunctionFacts",e[e.VoidFacts=9830144]="VoidFacts",e[e.UndefinedFacts=26607360]="UndefinedFacts",e[e.NullFacts=42917664]="NullFacts",e[e.EmptyObjectStrictFacts=83427327]="EmptyObjectStrictFacts",e[e.EmptyObjectFacts=83886079]="EmptyObjectFacts",e[e.UnknownFacts=83886079]="UnknownFacts",e[e.AllTypeofNE=556800]="AllTypeofNE",e[e.OrFactsMask=8256]="OrFactsMask",e[e.AndFactsMask=134209471]="AndFactsMask",e))(O6||{}),L6=(e=>(e[e.Normal=0]="Normal",e[e.Contextual=1]="Contextual",e[e.Inferential=2]="Inferential",e[e.SkipContextSensitive=4]="SkipContextSensitive",e[e.SkipGenericFunctions=8]="SkipGenericFunctions",e[e.IsForSignatureHelp=16]="IsForSignatureHelp",e[e.RestBindingElement=32]="RestBindingElement",e[e.TypeOnly=64]="TypeOnly",e))(L6||{}),N6=(e=>(e[e.None=0]="None",e[e.BivariantCallback=1]="BivariantCallback",e[e.StrictCallback=2]="StrictCallback",e[e.IgnoreReturnTypes=4]="IgnoreReturnTypes",e[e.StrictArity=8]="StrictArity",e[e.StrictTopSignature=16]="StrictTopSignature",e[e.Callback=3]="Callback",e))(N6||{});function J6(e){return e.id||(e.id=A6,A6++),e.id}function Z5(e,t,r,i){if(e===void 0)return e;const c=t(e);let l;if(c!==void 0)return Vt(c)?l=(i||K5)(c):l=c,N.assertNode(l,r),l}function K5(e){return N.assert(e.length<=1,"Too many nodes written to output."),h0(e)}var eT=/\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,tT=/^\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,nT=/^\s*(\/\/[@#] .*)?$/;function rT(e){return tn(e,".tsbuildinfo")}function Dc(e){const t=e.configFilePath;if(!iT(e))return;if(e.tsBuildInfoFile)return e.tsBuildInfoFile;const r=e.outFile;let i;if(r)i=vc(r);else{if(!t)return;const c=vc(t);i=e.outDir?e.rootDir?oc(e.outDir,S_(e.rootDir,c,!0)):ut(e.outDir,ri(c)):c}return i+".tsbuildinfo"}function iT(e){return G_(e)||!!e.tscBuild}function j6(e,t){const r=e.outFile,i=e.emitDeclarationOnly?void 0:r,c=i&&oT(i,e),l=t||Go(e)?vc(r)+".d.ts":void 0,p=l&&T9(e)?l+".map":void 0;return{jsFilePath:i,sourceMapFilePath:c,declarationFilePath:l,declarationMapPath:p}}function oT(e,t){return t.sourceMap&&!t.inlineSourceMap?e+".map":void 0}function sT(e,t){return tn(e,".json")?".json":t.jsx===1&&Sn(e,[".jsx",".tsx"])?".jsx":Sn(e,[".mts",".mjs"])?".mjs":Sn(e,[".cts",".cjs"])?".cjs":".js"}function M6(e,t,r,i){return r?oc(r,S_(i(),e,t)):e}function B6(e,t,r,i=()=>gf(t,r)){return aT(e,t.options,r,i)}function aT(e,t,r,i){return X_(M6(e,r,t.declarationDir||t.outDir,i),Nv(e))}function R6(e,t,r,i=()=>gf(t,r)){if(t.options.emitDeclarationOnly)return;const c=tn(e,".json"),l=cT(e,t.options,r,i);return!c||th(e,l,N.checkDefined(t.options.configFilePath),r)!==0?l:void 0}function cT(e,t,r,i){return X_(M6(e,r,t.outDir,i),sT(e,t))}function uT(){let e;return{addOutput:t,getOutputs:r};function t(i){i&&(e||(e=[])).push(i)}function r(){return e||tt}}function lT(e,t){const{jsFilePath:r,sourceMapFilePath:i,declarationFilePath:c,declarationMapPath:l}=j6(e.options,!1);t(r),t(i),t(c),t(l)}function _T(e,t,r,i,c){if(Yo(t))return;const l=R6(t,e,r,c);if(i(l),!tn(t,".json")&&(l&&e.options.sourceMap&&i(`${l}.map`),Go(e.options))){const p=B6(t,e,r,c);i(p),e.options.declarationMap&&i(`${p}.map`)}}function fm(e,t,r,i,c){let l;return e.rootDir?(l=Jt(e.rootDir,r),c?.(e.rootDir)):e.configFilePath?(l=Ut(Nn(e.configFilePath)),c?.(l)):l=mT(t(),r,i),l&&l[l.length-1]!==Dt&&(l+=Dt),l}function gf({options:e,fileNames:t},r){return fm(e,()=>Un(t,i=>!(e.noEmitForJsFiles&&Sn(i,C2))&&!Yo(i)),Ut(Nn(N.checkDefined(e.configFilePath))),rr(!r))}function U6(e,t){const{addOutput:r,getOutputs:i}=uT();if(e.options.outFile)lT(e,r);else{const c=rc(()=>gf(e,t));for(const l of e.fileNames)_T(e,l,t,r,c)}return r(Dc(e.options)),i()}function F6(e,t){if(e.options.outFile){const{jsFilePath:c,declarationFilePath:l}=j6(e.options,!1);return N.checkDefined(c||l,`project ${e.options.configFilePath} expected to have at least one output`)}const r=rc(()=>gf(e,t));for(const c of e.fileNames){if(Yo(c))continue;const l=R6(c,e,t,r);if(l)return l;if(!tn(c,".json")&&Go(e.options))return B6(c,e,t,r)}const i=Dc(e.options);return i||N.fail(`project ${e.options.configFilePath} expected to have at least one output`)}function V6(e,t){return o2(e,t)}function fT(e,t,r,i,c){var l;const p=h_(((l=t?.configFile)==null?void 0:l.extendedSourceFiles)||tt,c);r.forEach((g,a)=>{p.has(a)||(g.projects.delete(e),g.close())}),p.forEach((g,a)=>{const b=r.get(a);b?b.projects.add(e):r.set(a,{projects:new Set([e]),watcher:i(g,a),close:()=>{const d=r.get(a);!d||d.projects.size!==0||(d.watcher.close(),r.delete(a))}})})}function pT(e,t,r){t?T1(e,new Map(Object.entries(t)),{createNewValue:i,onDeleteValue:Gs,onExistingValue:c}):Kv(e,Gs);function i(l,p){return{watcher:r(l,p),flags:p}}function c(l,p,g){l.flags!==p&&(l.watcher.close(),e.set(g,i(g,p)))}}function dT({watchedDirPath:e,fileOrDirectory:t,fileOrDirectoryPath:r,configFileName:i,options:c,program:l,extraFileExtensions:p,currentDirectory:g,useCaseSensitiveFileNames:a,writeLog:b,toPath:d,getScriptKind:E}){const T=OT(r);if(!T)return b(`Project: ${i} Detected ignored path: ${t}`),!0;if(r=T,r===e)return!1;if($d(r)&&!(M9(t,c,p)||A()))return b(`Project: ${i} Detected file add/remove of non supported extension: ${t}`),!0;if(_5(t,c.configFile.configFileSpecs,Jt(Ut(i),g),a,g))return b(`Project: ${i} Detected excluded file: ${t}`),!0;if(!l||c.outFile||c.outDir)return!1;if(Yo(r)){if(c.declarationDir)return!1}else if(!Sn(r,C2))return!1;const C=vc(r),S=Vt(l)?void 0:z6(l)?l.getProgramOrUndefined():l,j=!S&&!Vt(l)?l:void 0;if(L(C+".ts")||L(C+".tsx"))return b(`Project: ${i} Detected output file: ${t}`),!0;return!1;function L(U){return S?!!S.getSourceFileByPath(U):j?j.state.fileInfos.has(U):!!Ti(l,x=>d(x)===U)}function A(){if(!E)return!1;switch(E(t)){case 3:case 4:case 7:case 5:return!0;case 1:case 2:return w1(c);case 6:return d2(c);case 0:return!1}}}function yf(e){const t=e?.fallbackPolling;return{watchFile:t!==void 0?t:1}}function Gs(e){e.watcher.close()}function mT(e,t,r){let i;return qt(e,l=>{const p=Z0(l,t);if(p.pop(),!i){i=p;return}const g=Math.min(i.length,p.length);for(let a=0;a<g;a++)if(r(i[a])!==r(p[a])){if(a===0)return!0;i.length=a;break}p.length<i.length&&(i.length=p.length)})?"":i?w_(i):t}function hT(e,t,r){const i=e.readFile,c=e.fileExists,l=e.directoryExists,p=e.createDirectory,g=e.writeFile,a=new Map,b=new Map,d=new Map,E=new Map,T=j=>{const L=t(j),A=a.get(L);return A!==void 0?A!==!1?A:void 0:C(L,j)},C=(j,L)=>{const A=i.call(e,L);return a.set(j,A!==void 0?A:!1),A};e.readFile=j=>{const L=t(j),A=a.get(L);return A!==void 0?A!==!1?A:void 0:!tn(j,".json")&&!rT(j)?i.call(e,j):C(L,j)};const S=r?(j,L,A,U)=>{const x=t(j),F=typeof L=="object"?L.impliedNodeFormat:void 0,te=E.get(F),J=te?.get(x);if(J)return J;const V=r(j,L,A,U);return V&&(Yo(j)||tn(j,".json"))&&E.set(F,(te||new Map).set(x,V)),V}:void 0;return e.fileExists=j=>{const L=t(j),A=b.get(L);if(A!==void 0)return A;const U=c.call(e,j);return b.set(L,!!U),U},g&&(e.writeFile=(j,L,...A)=>{const U=t(j);b.delete(U);const x=a.get(U);x!==void 0&&x!==L?(a.delete(U),E.forEach(F=>F.delete(U))):S&&E.forEach(F=>{const te=F.get(U);te&&te.text!==L&&F.delete(U)}),g.call(e,j,L,...A)}),l&&(e.directoryExists=j=>{const L=t(j),A=d.get(L);if(A!==void 0)return A;const U=l.call(e,j);return d.set(L,!!U),U},p&&(e.createDirectory=j=>{const L=t(j);d.delete(L),p.call(e,j)})),{originalReadFile:i,originalFileExists:c,originalDirectoryExists:l,originalCreateDirectory:p,originalWriteFile:g,getSourceFileWithCache:S,readFileWithCache:T}}function c0(e,t,r=0){if(Ht(e))return e;if(e===void 0)return"";let i="";if(r){i+=t;for(let c=0;c<r;c++)i+=" "}if(i+=e.messageText,r++,e.next)for(const c of e.next)i+=c0(c,t,r);return i}function gT(e){switch(e?.kind){case 3:case 4:case 5:case 7:return!0;default:return!1}}function pm(e){return e.pos!==void 0}function yT(e,t){var r,i,c,l;const p=N.checkDefined(e.getSourceFileByPath(t.file)),{kind:g,index:a}=t;let b,d,E;switch(g){case 3:const T=bT(p,a);if(E=(i=(r=e.getResolvedModuleFromModuleSpecifier(T,p))==null?void 0:r.resolvedModule)==null?void 0:i.packageId,T.pos===-1)return{file:p,packageId:E,text:T.text};b=yn(p.text,T.pos),d=T.end;break;case 4:({pos:b,end:d}=p.referencedFiles[a]);break;case 5:({pos:b,end:d}=p.typeReferenceDirectives[a]),E=(l=(c=e.getResolvedTypeReferenceDirectiveFromTypeReferenceDirective(p.typeReferenceDirectives[a],p))==null?void 0:c.resolvedTypeReferenceDirective)==null?void 0:l.packageId;break;case 7:({pos:b,end:d}=p.libReferenceDirectives[a]);break;default:return N.assertNever(g)}return{file:p,pos:b,end:d,packageId:E}}function $s(e){return e.options.configFile?[...e.options.configFile.parseDiagnostics,...e.errors]:e.errors}function vT(e,t){var r,i;const c=b9(t);if(100<=c&&c<=199)return e.impliedNodeFormat;if(e.impliedNodeFormat===1&&(((r=e.packageJsonScope)==null?void 0:r.contents.packageJsonContent.type)==="commonjs"||Sn(e.fileName,[".cjs",".cts"])))return 1;if(e.impliedNodeFormat===99&&(((i=e.packageJsonScope)==null?void 0:i.contents.packageJsonContent.type)==="module"||Sn(e.fileName,[".mjs",".mts"])))return 99}function kT(e){return q6(e.path)}function bT({imports:e,moduleAugmentations:t},r){if(r<e.length)return e[r];let i=e.length;for(const c of t)if(c.kind===11){if(r===i)return c;i++}N.fail("should never ask for module name at index higher than possible module name")}var TT;function vf(e){let t=1;return e.sourceMap&&(t=t|2),e.inlineSourceMap&&(t=t|4),Go(e)&&(t=t|24),e.declarationMap&&(t=t|32),e.emitDeclarationOnly&&(t=t&56),t}function CT(e,t){const r=t&&(As(t)?t:vf(t)),i=As(e)?e:vf(e);if(r===i)return 0;if(!r||!i)return i;const c=r^i;let l=0;return c&7&&(l=i&7),c&8&&(l=l|i&8),c&48&&(l=l|i&48),l}function ET(e,t,r,i){let c=CT(e,t);return r&&(c=c&56),i&&(c=c&8),c}function wT(e){var t;return!!((t=e.options)!=null&&t.outFile)}function kf(e){return!!e.fileNames}function DT(e){return!kf(e)&&!!e.root}function ST(e){return Ht(e)?{version:e,signature:e,affectsGlobalScope:void 0,impliedFormat:void 0}:Ht(e.signature)?e:{version:e.version,signature:e.signature===!1?void 0:e.version,affectsGlobalScope:e.affectsGlobalScope,impliedFormat:e.impliedFormat}}function xT(e,t){return As(e)?t:e[1]||24}function PT(e,t){return e||vf(t||{})}function IT(e,t,r){var i,c,l,p;const g=Ut(Jt(t,r.getCurrentDirectory())),a=rr(r.useCaseSensitiveFileNames());let b;const d=(i=e.fileNames)==null?void 0:i.map(j);let E;const T=e.latestChangedDtsFile?L(e.latestChangedDtsFile):void 0,C=new Map,S=new Set(Ir(e.changeFileSet,A));if(wT(e))e.fileInfos.forEach((J,V)=>{const D=A(V+1);C.set(D,Ht(J)?{version:J,signature:void 0,affectsGlobalScope:void 0,impliedFormat:void 0}:J)}),b={fileInfos:C,compilerOptions:e.options?Hg(e.options,L):{},semanticDiagnosticsPerFile:F(e.semanticDiagnosticsPerFile),emitDiagnosticsPerFile:te(e.emitDiagnosticsPerFile),hasReusableDiagnostic:!0,changedFilesSet:S,latestChangedDtsFile:T,outSignature:e.outSignature,programEmitPending:e.pendingEmit===void 0?void 0:PT(e.pendingEmit,e.options),hasErrors:e.errors,checkPending:e.checkPending};else{E=(c=e.fileIdsList)==null?void 0:c.map(D=>new Set(D.map(A)));const J=(l=e.options)!=null&&l.composite&&!e.options.outFile?new Map:void 0;e.fileInfos.forEach((D,Z)=>{const he=A(Z+1),pe=ST(D);C.set(he,pe),J&&pe.signature&&J.set(he,pe.signature)}),(p=e.emitSignatures)==null||p.forEach(D=>{if(As(D))J.delete(A(D));else{const Z=A(D[0]);J.set(Z,!Ht(D[1])&&!D[1].length?[J.get(Z)]:D[1])}});const V=e.affectedFilesPendingEmit?vf(e.options||{}):void 0;b={fileInfos:C,compilerOptions:e.options?Hg(e.options,L):{},referencedMap:x(e.referencedMap,e.options??{}),semanticDiagnosticsPerFile:F(e.semanticDiagnosticsPerFile),emitDiagnosticsPerFile:te(e.emitDiagnosticsPerFile),hasReusableDiagnostic:!0,changedFilesSet:S,affectedFilesPendingEmit:e.affectedFilesPendingEmit&&h_(e.affectedFilesPendingEmit,D=>A(As(D)?D:D[0]),D=>xT(D,V)),latestChangedDtsFile:T,emitSignatures:J?.size?J:void 0,hasErrors:e.errors,checkPending:e.checkPending}}return{state:b,getProgram:Yt,getProgramOrUndefined:d8,releaseProgram:nr,getCompilerOptions:()=>b.compilerOptions,getSourceFile:Yt,getSourceFiles:Yt,getOptionsDiagnostics:Yt,getGlobalDiagnostics:Yt,getConfigFileParsingDiagnostics:Yt,getSyntacticDiagnostics:Yt,getDeclarationDiagnostics:Yt,getSemanticDiagnostics:Yt,emit:Yt,getAllDependencies:Yt,getCurrentDirectory:Yt,emitNextAffectedFile:Yt,getSemanticDiagnosticsOfNextAffectedFile:Yt,emitBuildInfo:Yt,close:nr,hasChangedEmitSignature:f8};function j(J){return Ns(J,g,a)}function L(J){return Jt(J,g)}function A(J){return d[J-1]}function U(J){return E[J-1]}function x(J,V){const D=TT.createReferencedMap(V);return!D||!J||J.forEach(([Z,he])=>D.set(A(Z),U(he))),D}function F(J){const V=new Map(K3(C.keys(),D=>S.has(D)?void 0:[D,tt]));return J?.forEach(D=>{As(D)?V.delete(A(D)):V.set(A(D[0]),D[1])}),V}function te(J){return J&&h_(J,V=>A(V[0]),V=>V[1])}}function W6(e,t,r){const i=Ut(Jt(t,r.getCurrentDirectory())),c=rr(r.useCaseSensitiveFileNames()),l=new Map;let p=0;const g=new Map,a=new Map(e.resolvedRoot);return e.fileInfos.forEach((d,E)=>{const T=Ns(e.fileNames[E],i,c),C=Ht(d)?d:d.version;if(l.set(T,C),p<e.root.length){const S=e.root[p],j=E+1;Vt(S)?S[0]<=j&&j<=S[1]&&(b(j,T),S[1]===j&&p++):S===j&&(b(j,T),p++)}}),{fileInfos:l,roots:g};function b(d,E){const T=a.get(d);T?g.set(Ns(e.fileNames[T-1],i,c),E):g.set(E,void 0)}}function AT(e,t,r){if(!DT(e))return;const i=Ut(Jt(t,r.getCurrentDirectory())),c=rr(r.useCaseSensitiveFileNames());return e.root.map(l=>Ns(l,i,c))}function OT(e){return pn(e,"/node_modules/.staging")?y8(e,"/.staging"):Pt(q0,t=>e.includes(t))?void 0:e}function dm(e){return X3(e,t=>t.category===1)}function mm(e){return Un(e,r=>r.category===1).map(r=>{if(r.file!==void 0)return`${r.file.fileName}`}).map(r=>{if(r===void 0)return;const i=Ti(e,c=>c.file!==void 0&&c.file.fileName===r);if(i!==void 0){const{line:c}=Bo(i.file,i.start);return{fileName:r,line:c+1}}})}function LT(e){return e===1?f.Found_1_error_Watching_for_file_changes:f.Found_0_errors_Watching_for_file_changes}function z6(e){return!!e.state}function NT(e,t){const r=e.getCompilerOptions();r.explainFiles?JT(z6(e)?e.getProgram():e,t):(r.listFiles||r.listFilesOnly)&&qt(e.getSourceFiles(),i=>{t(i.fileName)})}function JT(e,t){var r,i;const c=e.getFileIncludeReasons(),l=p=>Qd(p,e.getCurrentDirectory(),e.getCanonicalFileName);for(const p of e.getSourceFiles())t(`${io(p,l)}`),(r=c.get(p.path))==null||r.forEach(g=>t(` ${RT(e,g,l).messageText}`)),(i=jT(p,e.getCompilerOptionsForFile(p),l))==null||i.forEach(g=>t(` ${g.messageText}`))}function jT(e,t,r){var i;let c;if(e.path!==e.resolvedPath&&(c??(c=[])).push(cr(void 0,f.File_is_output_of_project_reference_source_0,io(e.originalFileName,r))),e.redirectInfo&&(c??(c=[])).push(cr(void 0,f.File_redirects_to_file_0,io(e.redirectInfo.redirectTarget,r))),Z7(e))switch(vT(e,t)){case 99:e.packageJsonScope&&(c??(c=[])).push(cr(void 0,f.File_is_ECMAScript_module_because_0_has_field_type_with_value_module,io(xs(e.packageJsonLocations),r)));break;case 1:e.packageJsonScope?(c??(c=[])).push(cr(void 0,e.packageJsonScope.contents.packageJsonContent.type?f.File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module:f.File_is_CommonJS_module_because_0_does_not_have_field_type,io(xs(e.packageJsonLocations),r))):(i=e.packageJsonLocations)!=null&&i.length&&(c??(c=[])).push(cr(void 0,f.File_is_CommonJS_module_because_package_json_was_not_found));break}return c}function MT(e,t){var r;const i=e.getCompilerOptions().configFile;if(!((r=i?.configFileSpecs)!=null&&r.validatedFilesSpec))return;const c=e.getCanonicalFileName(t),l=Ut(Jt(i.fileName,e.getCurrentDirectory())),p=Ri(i.configFileSpecs.validatedFilesSpec,g=>e.getCanonicalFileName(Jt(g,l))===c);return p!==-1?i.configFileSpecs.validatedFilesSpecBeforeSubstitution[p]:void 0}function BT(e,t){var r,i;const c=e.getCompilerOptions().configFile;if(!((r=c?.configFileSpecs)!=null&&r.validatedIncludeSpecs))return;if(c.configFileSpecs.isDefaultIncludeSpec)return!0;const l=tn(t,".json"),p=Ut(Jt(c.fileName,e.getCurrentDirectory())),g=e.useCaseSensitiveFileNames(),a=Ri((i=c?.configFileSpecs)==null?void 0:i.validatedIncludeSpecs,b=>{if(l&&!pn(b,".json"))return!1;const d=w9(b,p,"files");return!!d&&Ws(`(?:${d})$`,g).test(t)});return a!==-1?c.configFileSpecs.validatedIncludeSpecsBeforeSubstitution[a]:void 0}function RT(e,t,r){var i,c;const l=e.getCompilerOptions();if(gT(t)){const p=yT(e,t),g=pm(p)?p.file.text.substring(p.pos,p.end):`"${p.text}"`;let a;switch(N.assert(pm(p)||t.kind===3,"Only synthetic references are imports"),t.kind){case 3:pm(p)?a=p.packageId?f.Imported_via_0_from_file_1_with_packageId_2:f.Imported_via_0_from_file_1:p.text===V7?a=p.packageId?f.Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:f.Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:a=p.packageId?f.Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:f.Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions;break;case 4:N.assert(!p.packageId),a=f.Referenced_via_0_from_file_1;break;case 5:a=p.packageId?f.Type_library_referenced_via_0_from_file_1_with_packageId_2:f.Type_library_referenced_via_0_from_file_1;break;case 7:N.assert(!p.packageId),a=f.Library_referenced_via_0_from_file_1;break;default:N.assertNever(t)}return cr(void 0,a,g,io(p.file,r),p.packageId&&c1(p.packageId))}switch(t.kind){case 0:if(!((i=l.configFile)!=null&&i.configFileSpecs))return cr(void 0,f.Root_file_specified_for_compilation);const p=Jt(e.getRootFileNames()[t.index],e.getCurrentDirectory());if(MT(e,p))return cr(void 0,f.Part_of_files_list_in_tsconfig_json);const a=BT(e,p);return Ht(a)?cr(void 0,f.Matched_by_include_pattern_0_in_1,a,io(l.configFile,r)):cr(void 0,a?f.Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk:f.Root_file_specified_for_compilation);case 1:case 2:const b=t.kind===2,d=N.checkDefined((c=e.getResolvedProjectReferences())==null?void 0:c[t.index]);return cr(void 0,l.outFile?b?f.Output_from_referenced_project_0_included_because_1_specified:f.Source_from_referenced_project_0_included_because_1_specified:b?f.Output_from_referenced_project_0_included_because_module_is_specified_as_none:f.Source_from_referenced_project_0_included_because_module_is_specified_as_none,io(d.sourceFile.fileName,r),l.outFile?"--outFile":"--out");case 8:{const E=v9(l)?t.packageId?[f.Entry_point_for_implicit_type_library_0_with_packageId_1,t.typeReference,c1(t.packageId)]:[f.Entry_point_for_implicit_type_library_0,t.typeReference]:t.packageId?[f.Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1,t.typeReference,c1(t.packageId)]:[f.Entry_point_of_type_library_0_specified_in_compilerOptions,t.typeReference];return cr(void 0,...E)}case 6:{if(t.index!==void 0)return cr(void 0,f.Library_0_specified_in_compilerOptions,l.lib[t.index]);const E=m2(k9(l)),T=E?[f.Default_library_for_target_0,E]:[f.Default_library];return cr(void 0,...T)}default:N.assertNever(t)}}function io(e,t){const r=Ht(e)?e:e.fileName;return t?t(r):r}function UT(e,t,r,i,c,l,p,g){const a=e.getCompilerOptions(),b=e.getConfigFileParsingDiagnostics().slice(),d=b.length;fn(b,e.getSyntacticDiagnostics(void 0,l)),b.length===d&&(fn(b,e.getOptionsDiagnostics(l)),a.listFilesOnly||(fn(b,e.getGlobalDiagnostics(l)),b.length===d&&fn(b,e.getSemanticDiagnostics(void 0,l)),a.noEmit&&Go(a)&&b.length===d&&fn(b,e.getDeclarationDiagnostics(void 0,l))));const E=a.listFilesOnly?{emitSkipped:!0,diagnostics:tt}:e.emit(void 0,c,l,p,g);fn(b,E.diagnostics);const T=Yy(b);if(T.forEach(t),r){const C=e.getCurrentDirectory();qt(E.emittedFiles,S=>{const j=Jt(S,C);r(`TSFILE: ${j}`)}),NT(e,r)}return i&&i(dm(T),mm(T)),{emitResult:E,diagnostics:T}}var Sc={ConfigFile:"Config file",ExtendedConfigFile:"Extended config file",SourceFile:"Source file",MissingFile:"Missing file",WildcardDirectory:"Wild card directory",FailedLookupLocations:"Failed Lookup Locations",AffectingFileLocation:"File location affecting resolution",TypeRoots:"Type roots",ConfigFileOfReferencedProject:"Config file of referened project",ExtendedConfigOfReferencedProject:"Extended config file of referenced project",WildcardDirectoryOfReferencedProject:"Wild card directory of referenced project",PackageJson:"package.json file",ClosedScriptInfo:"Closed Script info",ConfigFileForInferredRoot:"Config file for the inferred project root",NodeModules:"node_modules for closed script infos and package.jsons affecting module specifier cache",MissingSourceMapFile:"Missing source map file",NoopConfigFileForInferredRoot:"Noop Config file for the inferred project root",MissingGeneratedFile:"Missing generated file",NodeModulesForModuleSpecifierCache:"node_modules for module specifier cache invalidation",TypingInstallerLocationFile:"File location for typing installer",TypingInstallerLocationDirectory:"Directory location for typing installer"};function FT(e,t){if(t.match(eT)){let r=t.length,i=r;for(let c=r-1;c>=0;c--){const l=t.charCodeAt(c);switch(l){case 10:c&&t.charCodeAt(c-1)===13&&c--;case 13:break;default:if(l<127||!Jn(l)){i=c;continue}break}const p=t.substring(i,r);if(p.match(tT)){t=t.substring(0,i);break}else if(!p.match(nT))break;r=i}}return(e.createHash||F0)(t)}function VT(e,t){const r=Dc(e);if(!r)return;let i;if(t.getBuildInfo)i=t.getBuildInfo(r,e.configFilePath);else{const c=t.readFile(r);if(!c)return;i=V6(r,c)}if(!(!i||i.version!==wi||!kf(i)))return IT(i,r,t)}function q6(e){return tn(e,".json")?e:ut(e,"tsconfig.json")}var WT=new Date(-864e13);function zT(e,t,r){const i=e.get(t);let c;return i||(c=r(),e.set(t,c)),i||c}function hm(e,t){return zT(e,t,()=>new Map)}function bf(e){return e.now?e.now():new Date}function Qs(e){return!!e&&!!e.buildOrder}function gm(e){return Qs(e)?e.buildOrder:e}function In(e,t){return Ns(t,e.compilerHost.getCurrentDirectory(),e.compilerHost.getCanonicalFileName)}function Tr(e,t){const{resolvedConfigFilePaths:r}=e,i=r.get(t);if(i!==void 0)return i;const c=In(e,t);return r.set(t,c),c}function H6(e){return!!e.options}function qT(e,t){const r=e.configFileCache.get(t);return r&&H6(r)?r:void 0}function xc(e,t,r){const{configFileCache:i}=e,c=i.get(r);if(c)return H6(c)?c:void 0;un("SolutionBuilder::beforeConfigFileParsing");let l;const{parseConfigFileHost:p,baseCompilerOptions:g,baseWatchOptions:a,extendedConfigCache:b,host:d}=e;let E;return d.getParsedCommandLine?(E=d.getParsedCommandLine(t),E||(l=vr(f.File_0_not_found,t))):(p.onUnRecoverableConfigFileDiagnostic=T=>l=T,E=Mb(t,g,p,b,a),p.onUnRecoverableConfigFileDiagnostic=nr),i.set(r,E||l),un("SolutionBuilder::afterConfigFileParsing"),ni("SolutionBuilder::Config file parsing","SolutionBuilder::beforeConfigFileParsing","SolutionBuilder::afterConfigFileParsing"),E}function Pc(e,t){return q6(oc(e.compilerHost.getCurrentDirectory(),t))}function G6(e,t){const r=new Map,i=new Map,c=[];let l,p;for(const a of t)g(a);return p?{buildOrder:l||tt,circularDiagnostics:p}:l||tt;function g(a,b){const d=Tr(e,a);if(i.has(d))return;if(r.has(d)){b||(p||(p=[])).push(vr(f.Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0,c.join(`\r
40
+ `)));return}r.set(d,!0),c.push(a);const E=xc(e,a,d);if(E&&E.projectReferences)for(const T of E.projectReferences){const C=Pc(e,T.path);g(C,b||T.circular)}c.pop(),i.set(d,!0),(l||(l=[])).push(a)}}function ym(e){return e.buildOrder||HT(e)}function HT(e){const t=G6(e,e.rootNames.map(c=>Pc(e,c)));e.resolvedConfigFilePaths.clear();const r=new Set(gm(t).map(c=>Tr(e,c))),i={onDeleteValue:nr};return sr(e.configFileCache,r,i),sr(e.projectStatus,r,i),sr(e.builderPrograms,r,i),sr(e.diagnostics,r,i),sr(e.projectPendingBuild,r,i),sr(e.projectErrorsReported,r,i),sr(e.buildInfoCache,r,i),sr(e.outputTimeStamps,r,i),sr(e.lastCachedPackageJsonLookups,r,i),e.watch&&(sr(e.allWatchedConfigFiles,r,{onDeleteValue:Xi}),e.allWatchedExtendedConfigFiles.forEach(c=>{c.projects.forEach(l=>{r.has(l)||c.projects.delete(l)}),c.close()}),sr(e.allWatchedWildcardDirectories,r,{onDeleteValue:c=>c.forEach(Gs)}),sr(e.allWatchedInputFiles,r,{onDeleteValue:c=>c.forEach(Xi)}),sr(e.allWatchedPackageJsonFiles,r,{onDeleteValue:c=>c.forEach(Xi)})),e.buildOrder=t}function GT(e,t,r){const i=t&&Pc(e,t),c=ym(e);if(Qs(c))return c;if(i){const p=Tr(e,i);if(Ri(c,a=>Tr(e,a)===p)===-1)return}const l=i?G6(e,[i]):c;return N.assert(!Qs(l)),N.assert(!r||i!==void 0),N.assert(!r||l[l.length-1]===i),r?l.slice(0,l.length-1):l}function $6(e){e.cache&&vm(e);const{compilerHost:t,host:r}=e,i=e.readFileWithCache,c=t.getSourceFile,{originalReadFile:l,originalFileExists:p,originalDirectoryExists:g,originalCreateDirectory:a,originalWriteFile:b,getSourceFileWithCache:d,readFileWithCache:E}=hT(r,T=>In(e,T),(...T)=>c.call(t,...T));e.readFileWithCache=E,t.getSourceFile=d,e.cache={originalReadFile:l,originalFileExists:p,originalDirectoryExists:g,originalCreateDirectory:a,originalWriteFile:b,originalReadFileWithCache:i,originalGetSourceFile:c}}function vm(e){if(!e.cache)return;const{cache:t,host:r,compilerHost:i,extendedConfigCache:c,moduleResolutionCache:l,typeReferenceDirectiveResolutionCache:p,libraryResolutionCache:g}=e;r.readFile=t.originalReadFile,r.fileExists=t.originalFileExists,r.directoryExists=t.originalDirectoryExists,r.createDirectory=t.originalCreateDirectory,r.writeFile=t.originalWriteFile,i.getSourceFile=t.originalGetSourceFile,e.readFileWithCache=t.originalReadFileWithCache,c.clear(),l?.clear(),p?.clear(),g?.clear(),e.cache=void 0}function Q6(e,t){e.projectStatus.delete(t),e.diagnostics.delete(t)}function X6({projectPendingBuild:e},t,r){const i=e.get(t);(i===void 0||i<r)&&e.set(t,r)}function $T(e,t){if(!e.allProjectBuildPending)return;e.allProjectBuildPending=!1,e.options.watch&&Em(e,f.Starting_compilation_in_watch_mode),$6(e),gm(ym(e)).forEach(i=>e.projectPendingBuild.set(Tr(e,i),0)),t&&t.throwIfCancellationRequested()}function Y6(e,t){return e.projectPendingBuild.delete(t),e.diagnostics.has(t)?1:0}function QT(e,t,r,i,c){let l=!0;return{kind:1,project:t,projectPath:r,buildOrder:c,getCompilerOptions:()=>i.options,getCurrentDirectory:()=>e.compilerHost.getCurrentDirectory(),updateOutputFileStatmps:()=>{i4(e,i,r),l=!1},done:()=>(l&&i4(e,i,r),un("SolutionBuilder::Timestamps only updates"),Y6(e,r))}}function XT(e,t,r,i,c,l,p){let g=0,a,b;return{kind:0,project:t,projectPath:r,buildOrder:p,getCompilerOptions:()=>c.options,getCurrentDirectory:()=>e.compilerHost.getCurrentDirectory(),getBuilderProgram:()=>E(Ot),getProgram:()=>E(L=>L.getProgramOrUndefined()),getSourceFile:L=>E(A=>A.getSourceFile(L)),getSourceFiles:()=>T(L=>L.getSourceFiles()),getOptionsDiagnostics:L=>T(A=>A.getOptionsDiagnostics(L)),getGlobalDiagnostics:L=>T(A=>A.getGlobalDiagnostics(L)),getConfigFileParsingDiagnostics:()=>T(L=>L.getConfigFileParsingDiagnostics()),getSyntacticDiagnostics:(L,A)=>T(U=>U.getSyntacticDiagnostics(L,A)),getAllDependencies:L=>T(A=>A.getAllDependencies(L)),getSemanticDiagnostics:(L,A)=>T(U=>U.getSemanticDiagnostics(L,A)),getSemanticDiagnosticsOfNextAffectedFile:(L,A)=>E(U=>U.getSemanticDiagnosticsOfNextAffectedFile&&U.getSemanticDiagnosticsOfNextAffectedFile(L,A)),emit:(L,A,U,x,F)=>L||x?E(te=>{var J,V;return te.emit(L,A,U,x,F||((V=(J=e.host).getCustomTransformers)==null?void 0:V.call(J,t)))}):(j(0,U),S(A,U,F)),done:d};function d(L,A,U){return j(3,L,A,U),un("SolutionBuilder::Projects built"),Y6(e,r)}function E(L){return j(0),a&&L(a)}function T(L){return E(L)||tt}function C(){var L,A,U;if(N.assert(a===void 0),e.options.dry){Kt(e,f.A_non_dry_build_would_build_project_0,t),b=1,g=2;return}if(e.options.verbose&&Kt(e,f.Building_project_0,t),c.fileNames.length===0){Xs(e,r,$s(c)),b=0,g=2;return}const{host:x,compilerHost:F}=e;if(e.projectCompilerOptions=c.options,(L=e.moduleResolutionCache)==null||L.update(c.options),(A=e.typeReferenceDirectiveResolutionCache)==null||A.update(c.options),a=x.createProgram(c.fileNames,c.options,F,YT(e,r,c),$s(c),c.projectReferences),e.watch){const te=(U=e.moduleResolutionCache)==null?void 0:U.getPackageJsonInfoCache().getInternalMap();e.lastCachedPackageJsonLookups.set(r,te&&new Set(Ps(te.values(),J=>e.host.realpath&&(d6(J)||J.directoryExists)?e.host.realpath(ut(J.packageDirectory,"package.json")):ut(J.packageDirectory,"package.json")))),e.builderPrograms.set(r,a)}g++}function S(L,A,U){var x,F,te;N.assertIsDefined(a),N.assert(g===1);const{host:J,compilerHost:V}=e,D=new Map,Z=a.getCompilerOptions(),he=G_(Z);let pe,be;const{emitResult:De,diagnostics:ye}=UT(a,se=>J.reportDiagnostic(se),e.write,void 0,(se,Ae,Ue,Pe,kt,_t)=>{var ve;const Je=In(e,se);if(D.set(In(e,se),se),_t?.buildInfo){be||(be=bf(e.host));const M=(ve=a.hasChangedEmitSignature)==null?void 0:ve.call(a),ge=Ef(e,se,r);ge?(ge.buildInfo=_t.buildInfo,ge.modifiedTime=be,M&&(ge.latestChangedDtsTime=be)):e.buildInfoCache.set(r,{path:In(e,se),buildInfo:_t.buildInfo,modifiedTime:be,latestChangedDtsTime:M?be:void 0})}const Ie=_t?.differsOnlyInMap?Jo(e.host,se):void 0;(L||V.writeFile)(se,Ae,Ue,Pe,kt,_t),_t?.differsOnlyInMap?e.host.setModifiedTime(se,Ie):!he&&e.watch&&(pe||(pe=km(e,r))).set(Je,be||(be=bf(e.host)))},A,void 0,U||((F=(x=e.host).getCustomTransformers)==null?void 0:F.call(x,t)));return(!Z.noEmitOnError||!ye.length)&&(D.size||l.type!==8)&&r4(e,c,r,f.Updating_unchanged_output_timestamps_of_project_0,D),e.projectErrorsReported.set(r,!0),b=(te=a.hasChangedEmitSignature)!=null&&te.call(a)?0:2,ye.length?(e.diagnostics.set(r,ye),e.projectStatus.set(r,{type:0,reason:"it had errors"}),b|=4):(e.diagnostics.delete(r),e.projectStatus.set(r,{type:1,oldestOutputFileName:o8(D.values())??F6(c,!J.useCaseSensitiveFileNames())})),ZT(e,a),g=2,De}function j(L,A,U,x){for(;g<=L&&g<3;){const F=g;switch(g){case 0:C();break;case 1:S(U,A,x);break;case 2:rC(e,t,r,i,c,p,N.checkDefined(b)),g++;break;default:}N.assert(g>F)}}}function Z6(e,t,r){if(!e.projectPendingBuild.size||Qs(t))return;const{options:i,projectPendingBuild:c}=e;for(let l=0;l<t.length;l++){const p=t[l],g=Tr(e,p),a=e.projectPendingBuild.get(g);if(a===void 0)continue;r&&(r=!1,l4(e,t));const b=xc(e,p,g);if(!b){uC(e,g),c.delete(g);continue}a===2?(s4(e,p,g,b),a4(e,g,b),c4(e,p,g,b),Tm(e,p,g,b),Cm(e,p,g,b)):a===1&&(b.fileNames=s6(b.options.configFile.configFileSpecs,Ut(p),b.options,e.parseConfigFileHost),Zb(b.fileNames,p,b.options.configFile.configFileSpecs,b.errors,Kg(b.raw)),Tm(e,p,g,b),Cm(e,p,g,b));const d=n4(e,b,g);if(!i.force){if(d.type===1){wf(e,p,d),Xs(e,g,$s(b)),c.delete(g),i.dry&&Kt(e,f.Project_0_is_up_to_date,p);continue}if(d.type===2||d.type===15)return Xs(e,g,$s(b)),{kind:1,status:d,project:p,projectPath:g,projectIndex:l,config:b}}if(d.type===12){wf(e,p,d),Xs(e,g,$s(b)),c.delete(g),i.verbose&&Kt(e,d.upstreamProjectBlocked?f.Skipping_build_of_project_0_because_its_dependency_1_was_not_built:f.Skipping_build_of_project_0_because_its_dependency_1_has_errors,p,d.upstreamProjectName);continue}if(d.type===16){wf(e,p,d),Xs(e,g,$s(b)),c.delete(g);continue}return{kind:0,status:d,project:p,projectPath:g,projectIndex:l,config:b}}}function K6(e,t,r){return wf(e,t.project,t.status),t.kind!==1?XT(e,t.project,t.projectPath,t.projectIndex,t.config,t.status,r):QT(e,t.project,t.projectPath,t.config,r)}function e4(e,t,r){const i=Z6(e,t,r);return i&&K6(e,i,t)}function YT({options:e,builderPrograms:t,compilerHost:r},i,c){if(e.force)return;const l=t.get(i);return l||VT(c.options,r)}function ZT(e,t){t&&(e.host.afterProgramEmitAndDiagnostics&&e.host.afterProgramEmitAndDiagnostics(t),t.releaseProgram()),e.projectCompilerOptions=e.baseCompilerOptions}function Tf(e){return!!e.watcher}function t4(e,t){const r=In(e,t),i=e.filesWatched.get(r);if(e.watch&&i){if(!Tf(i))return i;if(i.modifiedTime)return i.modifiedTime}const c=Jo(e.host,t);return e.watch&&(i?i.modifiedTime=c:e.filesWatched.set(r,c)),c}function Cf(e,t,r,i,c,l,p){const g=In(e,t),a=e.filesWatched.get(g);if(a&&Tf(a))a.callbacks.push(r);else{const b=e.watchFile(t,(d,E,T)=>{const C=N.checkDefined(e.filesWatched.get(g));N.assert(Tf(C)),C.modifiedTime=T,C.callbacks.forEach(S=>S(d,E,T))},i,c,l,p);e.filesWatched.set(g,{callbacks:[r],watcher:b,modifiedTime:a})}return{close:()=>{const b=N.checkDefined(e.filesWatched.get(g));N.assert(Tf(b)),b.callbacks.length===1?(e.filesWatched.delete(g),Gs(b)):y_(b.callbacks,r)}}}function km(e,t){if(!e.watch)return;let r=e.outputTimeStamps.get(t);return r||e.outputTimeStamps.set(t,r=new Map),r}function Ef(e,t,r){const i=In(e,t),c=e.buildInfoCache.get(r);return c?.path===i?c:void 0}function KT(e,t,r,i){const c=In(e,t),l=e.buildInfoCache.get(r);if(l!==void 0&&l.path===c)return l.buildInfo||void 0;const p=e.readFileWithCache(t),g=p?V6(t,p):void 0;return e.buildInfoCache.set(r,{path:c,buildInfo:g||!1,modifiedTime:i||dn}),g}function bm(e,t,r,i){const c=t4(e,t);if(r<c)return{type:5,outOfDateOutputFileName:i,newerInputFileName:t}}function eC(e,t,r){var i,c,l,p,g;if(Yb(t))return{type:16};let a;const b=!!e.options.force;if(t.projectReferences){e.projectStatus.set(r,{type:13});for(const ye of t.projectReferences){const se=kT(ye),Ae=Tr(e,se),Ue=xc(e,se,Ae),Pe=n4(e,Ue,Ae);if(!(Pe.type===13||Pe.type===16)){if(e.options.stopBuildOnErrors&&(Pe.type===0||Pe.type===12))return{type:12,upstreamProjectName:ye.path,upstreamProjectBlocked:Pe.type===12};b||(a||(a=[])).push({ref:ye,refStatus:Pe,resolvedRefPath:Ae,resolvedConfig:Ue})}}}if(b)return{type:17};const{host:d}=e,E=Dc(t.options),T=G_(t.options);let C=Ef(e,E,r);const S=C?.modifiedTime||Jo(d,E);if(S===dn)return C||e.buildInfoCache.set(r,{path:In(e,E),buildInfo:!1,modifiedTime:S}),{type:3,missingOutputFileName:E};const j=KT(e,E,r,S);if(!j)return{type:4,fileName:E};const L=T&&kf(j)?j:void 0;if((L||!T)&&j.version!==wi)return{type:14,version:j.version};if(!t.options.noCheck&&(j.errors||j.checkPending))return{type:8,buildInfoFile:E};if(L){if(!t.options.noCheck&&((i=L.changeFileSet)!=null&&i.length||(c=L.semanticDiagnosticsPerFile)!=null&&c.length||Go(t.options)&&((l=L.emitDiagnosticsPerFile)!=null&&l.length)))return{type:8,buildInfoFile:E};if(!t.options.noEmit&&((p=L.changeFileSet)!=null&&p.length||(g=L.affectedFilesPendingEmit)!=null&&g.length||L.pendingEmit!==void 0))return{type:7,buildInfoFile:E};if((!t.options.noEmit||t.options.noEmit&&Go(t.options))&&ET(t.options,L.options||{},void 0,!!t.options.noEmit))return{type:9,buildInfoFile:E}}let A=S,U=E,x,F=WT,te=!1;const J=new Set;let V;for(const ye of t.fileNames){const se=t4(e,ye);if(se===dn)return{type:0,reason:`${ye} does not exist`};const Ae=In(e,ye);if(S<se){let Ue,Pe;if(L){V||(V=W6(L,E,d));const kt=V.roots.get(Ae);Ue=V.fileInfos.get(kt??Ae);const _t=Ue?e.readFileWithCache(kt??ye):void 0;Pe=_t!==void 0?FT(d,_t):void 0,Ue&&Ue===Pe&&(te=!0)}if(!Ue||Ue!==Pe)return{type:5,outOfDateOutputFileName:E,newerInputFileName:ye}}se>F&&(x=ye,F=se),J.add(Ae)}let D;if(L?(V||(V=W6(L,E,d)),D=jh(V.roots,(ye,se)=>J.has(se)?void 0:se)):D=qt(AT(j,E,d),ye=>J.has(ye)?void 0:ye),D)return{type:10,buildInfoFile:E,inputFile:D};if(!T){const ye=U6(t,!d.useCaseSensitiveFileNames()),se=km(e,r);for(const Ae of ye){if(Ae===E)continue;const Ue=In(e,Ae);let Pe=se?.get(Ue);if(Pe||(Pe=Jo(e.host,Ae),se?.set(Ue,Pe)),Pe===dn)return{type:3,missingOutputFileName:Ae};if(Pe<F)return{type:5,outOfDateOutputFileName:Ae,newerInputFileName:x};Pe<A&&(A=Pe,U=Ae)}}let Z=!1;if(a)for(const{ref:ye,refStatus:se,resolvedConfig:Ae,resolvedRefPath:Ue}of a){if(se.newestInputFileTime&&se.newestInputFileTime<=A)continue;if(tC(e,C??(C=e.buildInfoCache.get(r)),Ue))return{type:6,outOfDateOutputFileName:E,newerProjectName:ye.path};const Pe=nC(e,Ae.options,Ue);if(Pe&&Pe<=A){Z=!0;continue}return N.assert(U!==void 0,"Should have an oldest output filename here"),{type:6,outOfDateOutputFileName:U,newerProjectName:ye.path}}const he=bm(e,t.options.configFilePath,A,U);if(he)return he;const pe=qt(t.options.configFile.extendedSourceFiles||tt,ye=>bm(e,ye,A,U));if(pe)return pe;const be=e.lastCachedPackageJsonLookups.get(r),De=be&&W7(be,ye=>bm(e,ye,A,U));return De||{type:Z?2:te?15:1,newestInputFileTime:F,newestInputFileName:x,oldestOutputFileName:U}}function tC(e,t,r){return e.buildInfoCache.get(r).path===t.path}function n4(e,t,r){if(t===void 0)return{type:0,reason:"config file deleted mid-build"};const i=e.projectStatus.get(r);if(i!==void 0)return i;un("SolutionBuilder::beforeUpToDateCheck");const c=eC(e,t,r);return un("SolutionBuilder::afterUpToDateCheck"),ni("SolutionBuilder::Up-to-date check","SolutionBuilder::beforeUpToDateCheck","SolutionBuilder::afterUpToDateCheck"),e.projectStatus.set(r,c),c}function r4(e,t,r,i,c){if(t.options.noEmit)return;let l;const p=Dc(t.options),g=G_(t.options);if(p&&g){c?.has(In(e,p))||(e.options.verbose&&Kt(e,i,t.options.configFilePath),e.host.setModifiedTime(p,l=bf(e.host)),Ef(e,p,r).modifiedTime=l),e.outputTimeStamps.delete(r);return}const{host:a}=e,b=U6(t,!a.useCaseSensitiveFileNames()),d=km(e,r),E=d?new Set:void 0;if(!c||b.length!==c.size){let T=!!e.options.verbose;for(const C of b){const S=In(e,C);c?.has(S)||(T&&(T=!1,Kt(e,i,t.options.configFilePath)),a.setModifiedTime(C,l||(l=bf(e.host))),C===p?Ef(e,p,r).modifiedTime=l:d&&(d.set(S,l),E.add(S)))}}d?.forEach((T,C)=>{!c?.has(C)&&!E.has(C)&&d.delete(C)})}function nC(e,t,r){if(!t.composite)return;const i=N.checkDefined(e.buildInfoCache.get(r));if(i.latestChangedDtsTime!==void 0)return i.latestChangedDtsTime||void 0;const c=i.buildInfo&&kf(i.buildInfo)&&i.buildInfo.latestChangedDtsFile?e.host.getModifiedTime(Jt(i.buildInfo.latestChangedDtsFile,Ut(i.path))):void 0;return i.latestChangedDtsTime=c||!1,c}function i4(e,t,r){if(e.options.dry)return Kt(e,f.A_non_dry_build_would_update_timestamps_for_output_of_project_0,t.options.configFilePath);r4(e,t,r,f.Updating_output_timestamps_of_project_0),e.projectStatus.set(r,{type:1,oldestOutputFileName:F6(t,!e.host.useCaseSensitiveFileNames())})}function rC(e,t,r,i,c,l,p){if(!(e.options.stopBuildOnErrors&&p&4)&&c.options.composite)for(let g=i+1;g<l.length;g++){const a=l[g],b=Tr(e,a);if(e.projectPendingBuild.has(b))continue;const d=xc(e,a,b);if(!(!d||!d.projectReferences))for(const E of d.projectReferences){const T=Pc(e,E.path);if(Tr(e,T)!==r)continue;const C=e.projectStatus.get(b);if(C)switch(C.type){case 1:if(p&2){C.type=2;break}case 15:case 2:p&2||e.projectStatus.set(b,{type:6,outOfDateOutputFileName:C.oldestOutputFileName,newerProjectName:t});break;case 12:Tr(e,Pc(e,C.upstreamProjectName))===r&&Q6(e,b);break}X6(e,b,0);break}}}function DC(e,t,r,i,c,l){un("SolutionBuilder::beforeBuild");const p=iC(e,t,r,i,c,l);return un("SolutionBuilder::afterBuild"),ni("SolutionBuilder::Build","SolutionBuilder::beforeBuild","SolutionBuilder::afterBuild"),p}function iC(e,t,r,i,c,l){const p=GT(e,t,l);if(!p)return 3;$T(e,r);let g=!0,a=0;for(;;){const b=e4(e,p,g);if(!b)break;g=!1,b.done(r,i,c?.(b.project)),e.diagnostics.has(b.projectPath)||a++}return vm(e),u4(e,p),cC(e,p),Qs(p)?4:p.some(b=>e.diagnostics.has(Tr(e,b)))?a?2:1:0}function oC(e,t,r){e.host.getParsedCommandLine&&r===1&&(r=2),r===2&&(e.configFileCache.delete(t),e.buildOrder=void 0),e.needsSummary=!0,Q6(e,t),X6(e,t,r),$6(e)}function Ic(e,t,r){e.reportFileChangeDetected=!0,oC(e,t,r),o4(e,250,!0)}function o4(e,t,r){const{hostWithWatch:i}=e;!i.setTimeout||!i.clearTimeout||(e.timerToBuildInvalidatedProject&&i.clearTimeout(e.timerToBuildInvalidatedProject),e.timerToBuildInvalidatedProject=i.setTimeout(sC,t,"timerToBuildInvalidatedProject",e,r))}function sC(e,t,r){un("SolutionBuilder::beforeBuild");const i=aC(t,r);un("SolutionBuilder::afterBuild"),ni("SolutionBuilder::Build","SolutionBuilder::beforeBuild","SolutionBuilder::afterBuild"),i&&u4(t,i)}function aC(e,t){e.timerToBuildInvalidatedProject=void 0,e.reportFileChangeDetected&&(e.reportFileChangeDetected=!1,e.projectErrorsReported.clear(),Em(e,f.File_change_detected_Starting_incremental_compilation));let r=0;const i=ym(e),c=e4(e,i,!1);if(c)for(c.done(),r++;e.projectPendingBuild.size;){if(e.timerToBuildInvalidatedProject)return;const l=Z6(e,i,!1);if(!l)break;if(l.kind!==1&&(t||r===5)){o4(e,100,!1);return}K6(e,l,i).done(),l.kind!==1&&r++}return vm(e),i}function s4(e,t,r,i){!e.watch||e.allWatchedConfigFiles.has(r)||e.allWatchedConfigFiles.set(r,Cf(e,t,()=>Ic(e,r,2),2e3,i?.watchOptions,Sc.ConfigFile,t))}function a4(e,t,r){fT(t,r?.options,e.allWatchedExtendedConfigFiles,(i,c)=>Cf(e,i,()=>{var l;return(l=e.allWatchedExtendedConfigFiles.get(c))==null?void 0:l.projects.forEach(p=>Ic(e,p,2))},2e3,r?.watchOptions,Sc.ExtendedConfigFile),i=>In(e,i))}function c4(e,t,r,i){e.watch&&pT(hm(e.allWatchedWildcardDirectories,r),i.wildcardDirectories,(c,l)=>e.watchDirectory(c,p=>{var g;dT({watchedDirPath:In(e,c),fileOrDirectory:p,fileOrDirectoryPath:In(e,p),configFileName:t,currentDirectory:e.compilerHost.getCurrentDirectory(),options:i.options,program:e.builderPrograms.get(r)||((g=qT(e,r))==null?void 0:g.fileNames),useCaseSensitiveFileNames:e.parseConfigFileHost.useCaseSensitiveFileNames,writeLog:a=>e.writeLog(a),toPath:a=>In(e,a)})||Ic(e,r,1)},l,i?.watchOptions,Sc.WildcardDirectory,t))}function Tm(e,t,r,i){e.watch&&T1(hm(e.allWatchedInputFiles,r),new Set(i.fileNames),{createNewValue:c=>Cf(e,c,()=>Ic(e,r,0),250,i?.watchOptions,Sc.SourceFile,t),onDeleteValue:Xi})}function Cm(e,t,r,i){!e.watch||!e.lastCachedPackageJsonLookups||T1(hm(e.allWatchedPackageJsonFiles,r),e.lastCachedPackageJsonLookups.get(r),{createNewValue:c=>Cf(e,c,()=>Ic(e,r,0),2e3,i?.watchOptions,Sc.PackageJson,t),onDeleteValue:Xi})}function cC(e,t){if(e.watchAllProjectsPending){un("SolutionBuilder::beforeWatcherCreation"),e.watchAllProjectsPending=!1;for(const r of gm(t)){const i=Tr(e,r),c=xc(e,r,i);s4(e,r,i,c),a4(e,i,c),c&&(c4(e,r,i,c),Tm(e,r,i,c),Cm(e,r,i,c))}un("SolutionBuilder::afterWatcherCreation"),ni("SolutionBuilder::Watcher creation","SolutionBuilder::beforeWatcherCreation","SolutionBuilder::afterWatcherCreation")}}function xt(e,t){return Qd(t,e.compilerHost.getCurrentDirectory(),e.compilerHost.getCanonicalFileName)}function Kt(e,t,...r){e.host.reportSolutionBuilderStatus(vr(t,...r))}function Em(e,t,...r){var i,c;(c=(i=e.hostWithWatch).onWatchStatusChange)==null||c.call(i,vr(t,...r),e.host.getNewLine(),e.baseCompilerOptions)}function wm({host:e},t){t.forEach(r=>e.reportDiagnostic(r))}function Xs(e,t,r){wm(e,r),e.projectErrorsReported.set(t,!0),r.length&&e.diagnostics.set(t,r)}function uC(e,t){Xs(e,t,[e.configFileCache.get(t)])}function u4(e,t){if(!e.needsSummary)return;e.needsSummary=!1;const r=e.watch||!!e.host.reportErrorSummary,{diagnostics:i}=e;let c=0,l=[];Qs(t)?(l4(e,t.buildOrder),wm(e,t.circularDiagnostics),r&&(c+=dm(t.circularDiagnostics)),r&&(l=[...l,...mm(t.circularDiagnostics)])):(t.forEach(p=>{const g=Tr(e,p);e.projectErrorsReported.has(g)||wm(e,i.get(g)||tt)}),r&&i.forEach(p=>c+=dm(p)),r&&i.forEach(p=>[...l,...mm(p)])),e.watch?Em(e,LT(c),c):e.host.reportErrorSummary&&e.host.reportErrorSummary(c,l)}function l4(e,t){e.options.verbose&&Kt(e,f.Projects_in_this_build_Colon_0,t.map(r=>`\r
41
+ * `+xt(e,r)).join(""))}function lC(e,t,r){switch(r.type){case 5:return Kt(e,f.Project_0_is_out_of_date_because_output_1_is_older_than_input_2,xt(e,t),xt(e,r.outOfDateOutputFileName),xt(e,r.newerInputFileName));case 6:return Kt(e,f.Project_0_is_out_of_date_because_output_1_is_older_than_input_2,xt(e,t),xt(e,r.outOfDateOutputFileName),xt(e,r.newerProjectName));case 3:return Kt(e,f.Project_0_is_out_of_date_because_output_file_1_does_not_exist,xt(e,t),xt(e,r.missingOutputFileName));case 4:return Kt(e,f.Project_0_is_out_of_date_because_there_was_error_reading_file_1,xt(e,t),xt(e,r.fileName));case 7:return Kt(e,f.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted,xt(e,t),xt(e,r.buildInfoFile));case 8:return Kt(e,f.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_program_needs_to_report_errors,xt(e,t),xt(e,r.buildInfoFile));case 9:return Kt(e,f.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions,xt(e,t),xt(e,r.buildInfoFile));case 10:return Kt(e,f.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more,xt(e,t),xt(e,r.buildInfoFile),xt(e,r.inputFile));case 1:if(r.newestInputFileTime!==void 0)return Kt(e,f.Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2,xt(e,t),xt(e,r.newestInputFileName||""),xt(e,r.oldestOutputFileName||""));break;case 2:return Kt(e,f.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies,xt(e,t));case 15:return Kt(e,f.Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files,xt(e,t));case 11:return Kt(e,f.Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date,xt(e,t),xt(e,r.upstreamProjectName));case 12:return Kt(e,r.upstreamProjectBlocked?f.Project_0_can_t_be_built_because_its_dependency_1_was_not_built:f.Project_0_can_t_be_built_because_its_dependency_1_has_errors,xt(e,t),xt(e,r.upstreamProjectName));case 0:return Kt(e,f.Project_0_is_out_of_date_because_1,xt(e,t),r.reason);case 14:return Kt(e,f.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2,xt(e,t),r.version,wi);case 17:return Kt(e,f.Project_0_is_being_forcibly_rebuilt,xt(e,t));case 16:case 13:break;default:}}function wf(e,t,r){e.options.verbose&&lC(e,t,r)}var _4=(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[e.link=22]="link",e[e.linkName=23]="linkName",e[e.linkText=24]="linkText",e))(_4||{}),Ac=Ko(99,!0);function _C(e){return e.kind===168?qo(e.expression)?e.expression.text:void 0:si(e)?Vn(e):Qh(e)}function fC(e,t){return{text:e,kind:_4[t]}}function pC(){return fC(`
42
+ `,6)}function SC(e,t){return T2(e,t.getScriptKind&&t.getScriptKind(e))}function f4(e,t,r,i){const c=o1(e)?new Dm(e,t,r):e===80?new d4(80,t,r):e===81?new m4(81,t,r):new p4(e,t,r);return c.parent=i,c.flags=i.flags&101441536,c}var Dm=class{constructor(e,t,r){this.pos=t,this.end=r,this.kind=e,this.id=0,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.emitNode=void 0}assertHasRealPosition(e){N.assert(!kc(this.pos)&&!kc(this.end),e||"Node must have a real position for this operation")}getSourceFile(){return zr(this)}getStart(e,t){return this.assertHasRealPosition(),M_(this,e,t)}getFullStart(){return this.assertHasRealPosition(),this.pos}getEnd(){return this.assertHasRealPosition(),this.end}getWidth(e){return this.assertHasRealPosition(),this.getEnd()-this.getStart(e)}getFullWidth(){return this.assertHasRealPosition(),this.end-this.pos}getLeadingTriviaWidth(e){return this.assertHasRealPosition(),this.getStart(e)-this.pos}getFullText(e){return this.assertHasRealPosition(),(e||this.getSourceFile()).text.substring(this.pos,this.end)}getText(e){return this.assertHasRealPosition(),e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())}getChildCount(e){return this.getChildren(e).length}getChildAt(e,t){return this.getChildren(t)[e]}getChildren(e=zr(this)){return this.assertHasRealPosition("Node without a real position cannot be scanned and thus has no token nodes - use forEachChild and collect the result if that's fine"),G2(this,e)??$k(this,e,dC(this,e))}getFirstToken(e){this.assertHasRealPosition();const t=this.getChildren(e);if(!t.length)return;const r=Ti(t,i=>i.kind<310||i.kind>352);return r.kind<167?r:r.getFirstToken(e)}getLastToken(e){this.assertHasRealPosition();const t=this.getChildren(e),r=Ui(t);if(r)return r.kind<167?r:r.getLastToken(e)}forEachChild(e,t){return kn(this,e,t)}};function dC(e,t){const r=[];if(B7(e))return e.forEachChild(p=>{r.push(p)}),r;Ac.setText((t||e.getSourceFile()).text);let i=e.pos;const c=p=>{Oc(r,i,p.pos,e),r.push(p),i=p.end},l=p=>{Oc(r,i,p.pos,e),r.push(mC(p,e)),i=p.end};return qt(e.jsDoc,c),i=e.pos,e.forEachChild(c,l),Oc(r,i,e.end,e),Ac.setText(void 0),r}function Oc(e,t,r,i){for(Ac.resetTokenState(t);t<r;){const c=Ac.scan(),l=Ac.getTokenEnd();if(l<=r){if(c===80){if(G9(i))continue;N.fail(`Did not expect ${N.formatSyntaxKind(i.kind)} to have an Identifier in its trivia`)}e.push(f4(c,t,l,i))}if(t=l,c===1)break}}function mC(e,t){const r=f4(353,e.pos,e.end,t),i=[];let c=e.pos;for(const l of e)Oc(i,c,l.pos,t),i.push(l),c=l.end;return Oc(i,c,e.end,t),r._children=i,r}var Sm=class{constructor(e,t,r){this.pos=t,this.end=r,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.emitNode=void 0}getSourceFile(){return zr(this)}getStart(e,t){return M_(this,e,t)}getFullStart(){return this.pos}getEnd(){return this.end}getWidth(e){return this.getEnd()-this.getStart(e)}getFullWidth(){return this.end-this.pos}getLeadingTriviaWidth(e){return this.getStart(e)-this.pos}getFullText(e){return(e||this.getSourceFile()).text.substring(this.pos,this.end)}getText(e){return e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())}getChildCount(){return this.getChildren().length}getChildAt(e){return this.getChildren()[e]}getChildren(){return this.kind===1&&this.jsDoc||tt}getFirstToken(){}getLastToken(){}forEachChild(){}},hC=class{constructor(e,t){this.flags=e,this.escapedName=t,this.declarations=void 0,this.valueDeclaration=void 0,this.id=0,this.mergeId=0,this.parent=void 0,this.members=void 0,this.exports=void 0,this.exportSymbol=void 0,this.constEnumOnlyModule=void 0,this.isReferenced=void 0,this.lastAssignmentPos=void 0,this.links=void 0}getFlags(){return this.flags}get name(){return n1(this)}getEscapedName(){return this.escapedName}getName(){return this.name}getDeclarations(){return this.declarations}getDocumentationComment(e){if(!this.documentationComment)if(this.documentationComment=tt,!this.declarations&&Jh(this)&&this.links.target&&Jh(this.links.target)&&this.links.target.links.tupleLabelDeclaration){const t=this.links.target.links.tupleLabelDeclaration;this.documentationComment=Lc([t],e)}else this.documentationComment=Lc(this.declarations,e);return this.documentationComment}getContextualDocumentationComment(e,t){if(e){if(j_(e)&&(this.contextualGetAccessorDocumentationComment||(this.contextualGetAccessorDocumentationComment=tt,this.contextualGetAccessorDocumentationComment=Lc(Un(this.declarations,j_),t)),ki(this.contextualGetAccessorDocumentationComment)))return this.contextualGetAccessorDocumentationComment;if(J_(e)&&(this.contextualSetAccessorDocumentationComment||(this.contextualSetAccessorDocumentationComment=tt,this.contextualSetAccessorDocumentationComment=Lc(Un(this.declarations,J_),t)),ki(this.contextualSetAccessorDocumentationComment)))return this.contextualSetAccessorDocumentationComment}return this.getDocumentationComment(t)}getJsDocTags(e){return this.tags===void 0&&(this.tags=tt,this.tags=Df(this.declarations,e)),this.tags}getContextualJsDocTags(e,t){if(e){if(j_(e)&&(this.contextualGetAccessorTags||(this.contextualGetAccessorTags=tt,this.contextualGetAccessorTags=Df(Un(this.declarations,j_),t)),ki(this.contextualGetAccessorTags)))return this.contextualGetAccessorTags;if(J_(e)&&(this.contextualSetAccessorTags||(this.contextualSetAccessorTags=tt,this.contextualSetAccessorTags=Df(Un(this.declarations,J_),t)),ki(this.contextualSetAccessorTags)))return this.contextualSetAccessorTags}return this.getJsDocTags(t)}},p4=class extends Sm{constructor(e,t,r){super(e,t,r)}},d4=class extends Sm{constructor(e,t,r){super(e,t,r)}get text(){return Vn(this)}},m4=class extends Sm{constructor(e,t,r){super(e,t,r)}get text(){return Vn(this)}},gC=class{constructor(e,t){this.flags=t,this.checker=e}getFlags(){return this.flags}getSymbol(){return this.symbol}getProperties(){return this.checker.getPropertiesOfType(this)}getProperty(e){return this.checker.getPropertyOfType(this,e)}getApparentProperties(){return this.checker.getAugmentedPropertiesOfType(this)}getCallSignatures(){return this.checker.getSignaturesOfType(this,0)}getConstructSignatures(){return this.checker.getSignaturesOfType(this,1)}getStringIndexType(){return this.checker.getIndexTypeOfType(this,0)}getNumberIndexType(){return this.checker.getIndexTypeOfType(this,1)}getBaseTypes(){return this.isClassOrInterface()?this.checker.getBaseTypes(this):void 0}isNullableType(){return this.checker.isNullableType(this)}getNonNullableType(){return this.checker.getNonNullableType(this)}getNonOptionalType(){return this.checker.getNonOptionalType(this)}getConstraint(){return this.checker.getBaseConstraintOfType(this)}getDefault(){return this.checker.getDefaultFromTypeParameter(this)}isUnion(){return!!(this.flags&134217728)}isIntersection(){return!!(this.flags&268435456)}isUnionOrIntersection(){return!!(this.flags&402653184)}isLiteral(){return!!(this.flags&7168)}isStringLiteral(){return!!(this.flags&1024)}isNumberLiteral(){return!!(this.flags&2048)}isTypeParameter(){return!!(this.flags&524288)}isClassOrInterface(){return!!(C1(this)&3)}isClass(){return!!(C1(this)&1)}isIndexType(){return!!(this.flags&2097152)}get typeArguments(){if(C1(this)&4)return this.checker.getTypeArguments(this)}},yC=class{constructor(e,t){this.flags=t,this.checker=e}getDeclaration(){return this.declaration}getTypeParameters(){return this.typeParameters}getParameters(){return this.parameters}getReturnType(){return this.checker.getReturnTypeOfSignature(this)}getTypeParameterAtPosition(e){const t=this.checker.getParameterType(this,e);if(t.isIndexType()&&H9(t.type)){const r=t.type.getConstraint();if(r)return this.checker.getIndexType(r)}return t}getDocumentationComment(){return this.documentationComment||(this.documentationComment=Lc(Rd(this.declaration),this.checker))}getJsDocTags(){return this.jsDocTags||(this.jsDocTags=Df(Rd(this.declaration),this.checker))}};function h4(e){return bh(e).some(t=>t.tagName.text==="inheritDoc"||t.tagName.text==="inheritdoc")}function Df(e,t){if(!e)return tt;let r=y4.getJsDocTagsFromDeclarations(e,t);if(t&&(r.length===0||e.some(h4))){const i=new Set;for(const c of e){const l=g4(t,c,p=>{var g;if(!i.has(p))return i.add(p),c.kind===178||c.kind===179?p.getContextualJsDocTags(c,t):((g=p.declarations)==null?void 0:g.length)===1?p.getJsDocTags(t):void 0});l&&(r=[...l,...r])}}return r}function Lc(e,t){if(!e)return tt;let r=y4.getJsDocCommentsFromDeclarations(e,t);if(t&&(r.length===0||e.some(h4))){const i=new Set;for(const c of e){const l=g4(t,c,p=>{if(!i.has(p))return i.add(p),c.kind===178||c.kind===179?p.getContextualDocumentationComment(c,t):p.getDocumentationComment(t)});l&&(r=r.length===0?l.slice():l.concat(pC(),r))}}return r}function g4(e,t,r){var i;const c=((i=t.parent)==null?void 0:i.kind)===177?t.parent.parent:t.parent;if(!c)return;const l=Uv(t);return $3(wv(c),p=>{const g=e.getTypeAtLocation(p),a=l&&g.symbol?e.getTypeOfSymbol(g.symbol):g,b=e.getPropertyOfType(a,t.symbol.name);return b?r(b):void 0})}var vC=class extends Dm{constructor(e,t,r){super(e,t,r)}update(e,t){return db(this,e,t)}getLineAndCharacterOfPosition(e){return Bo(this,e)}getLineStarts(){return P_(this)}getPositionOfLineAndCharacter(e,t,r){return Fy(P_(this),e,t,this.text,r)}getLineEndOfPosition(e){const{line:t}=this.getLineAndCharacterOfPosition(e),r=this.getLineStarts();let i;t+1>=r.length&&(i=this.getEnd()),i||(i=r[t+1]-1);const c=this.getFullText();return c[i]===`
43
+ `&&c[i-1]==="\r"?i-1:i}getNamedDeclarations(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations}computeNamedDeclarations(){const e=Nd();return this.forEachChild(c),e;function t(l){const p=i(l);p&&e.add(p,l)}function r(l){let p=e.get(l);return p||e.set(l,p=[]),p}function i(l){const p=r1(l);return p&&(Af(p)&&ai(p.expression)?p.expression.name.text:wh(p)?_C(p):void 0)}function c(l){switch(l.kind){case 263:case 219:case 175:case 174:const p=l,g=i(p);if(g){const d=r(g),E=Ui(d);E&&p.parent===E.parent&&p.symbol===E.symbol?p.body&&!E.body&&(d[d.length-1]=p):d.push(p)}kn(l,c);break;case 264:case 232:case 265:case 266:case 267:case 268:case 272:case 282:case 277:case 274:case 275:case 178:case 179:case 188:t(l),kn(l,c);break;case 170:if(!F_(l,31))break;case 261:case 209:{const d=l;if(Sh(d.name)){kn(d.name,c);break}d.initializer&&c(d.initializer)}case 307:case 173:case 172:t(l);break;case 279:const a=l;a.exportClause&&(o0(a.exportClause)?qt(a.exportClause.elements,c):c(a.exportClause.name));break;case 273:const b=l.importClause;b&&(b.name&&t(b.name),b.namedBindings&&(b.namedBindings.kind===275?t(b.namedBindings):qt(b.namedBindings.elements,c)));break;case 227:f1(l)!==0&&t(l);default:kn(l,c)}}}},kC=class{constructor(e,t,r){this.fileName=e,this.text=t,this.skipTrivia=r||(i=>i)}getLineAndCharacterOfPosition(e){return Bo(this,e)}};function bC(){return{getNodeConstructor:()=>Dm,getTokenConstructor:()=>p4,getIdentifierConstructor:()=>d4,getPrivateIdentifierConstructor:()=>m4,getSourceFileConstructor:()=>vC,getSymbolConstructor:()=>hC,getTypeConstructor:()=>gC,getSignatureConstructor:()=>yC,getSourceMapSourceConstructor:()=>kC}}u9(bC());var y4={};0&&(module.exports={LanguageVariant,ModifierFlags,NodeFlags,ScriptKind,ScriptTarget,SyntaxKind,TokenFlags,canHaveModifiers,createScanner,createSourceFile,flattenDiagnosticMessageText,forEachChild,getCombinedModifierFlags,getModifiers,isAccessor,isArrayBindingPattern,isArrayLiteralExpression,isArrowFunction,isAsExpression,isAwaitExpression,isBigIntLiteral,isBinaryExpression,isBindingElement,isBlock,isBreakStatement,isCallExpression,isCaseBlock,isCaseOrDefaultClause,isCatchClause,isClassDeclaration,isClassLike,isClassStaticBlockDeclaration,isComputedPropertyName,isConstructorDeclaration,isContinueStatement,isDefaultClause,isDeleteExpression,isElementAccessExpression,isEmptyStatement,isEnumDeclaration,isEnumMember,isExportAssignment,isExportDeclaration,isExpressionStatement,isForInOrOfStatement,isForInStatement,isForOfStatement,isForStatement,isFunctionDeclaration,isFunctionExpression,isFunctionLike,isFunctionTypeNode,isGetAccessorDeclaration,isIdentifier,isIfStatement,isImportAttribute,isImportClause,isImportDeclaration,isImportEqualsDeclaration,isImportSpecifier,isImportTypeNode,isIndexSignatureDeclaration,isInterfaceDeclaration,isIterationStatement,isJsxAttribute,isJsxAttributes,isJsxClosingElement,isJsxElement,isJsxExpression,isJsxFragment,isJsxOpeningElement,isJsxSelfClosingElement,isLabeledStatement,isLiteralTypeNode,isMappedTypeNode,isMetaProperty,isMethodDeclaration,isMethodSignature,isModuleBlock,isModuleDeclaration,isNamedExports,isNamedImports,isNamedTupleMember,isNamespaceExport,isNamespaceImport,isNewExpression,isNonNullExpression,isNumericLiteral,isObjectBindingPattern,isObjectLiteralExpression,isOmittedExpression,isOptionalChain,isOptionalTypeNode,isParameter,isParenthesizedExpression,isPostfixUnaryExpression,isPrefixUnaryExpression,isPrivateIdentifier,isPropertyAccessExpression,isPropertyAssignment,isPropertyDeclaration,isPropertySignature,isQualifiedName,isRegularExpressionLiteral,isRestTypeNode,isReturnStatement,isSatisfiesExpression,isSetAccessorDeclaration,isShorthandPropertyAssignment,isSourceFile,isSpreadAssignment,isSpreadElement,isStatement,isStringLiteral,isSwitchStatement,isTaggedTemplateExpression,isTemplateLiteralTypeNode,isTemplateLiteralTypeSpan,isThrowStatement,isTupleTypeNode,isTypeAliasDeclaration,isTypeAssertionExpression,isTypeLiteralNode,isTypeNode,isTypeOperatorNode,isTypeParameterDeclaration,isVariableDeclaration,isVariableDeclarationList,isVariableStatement,isWithStatement,isYieldExpression,stringToToken,version});